/* ===========================================
   Baron Construction & Remodeling - Brand Styles
   =========================================== */

/* Custom Font */
@font-face {
    font-family: 'FF Ernestine';
    src: url('fonts/ErnestineWeb-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FF Ernestine';
    src: url('fonts/ErnestineWeb-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FF Ernestine';
    src: url('fonts/ErnestineWeb-Demibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FF Ernestine';
    src: url('fonts/ErnestineWeb-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables - Baron Brand Colors */
:root {
    /* Brand Colors */
    --primary-red: #ad1c1c;
    --primary-red-dark: #750606;
    --primary-red-light: #e50914;
    --text-dark: #221f1f;
    --text-gray: #57514f;
    --bg-cream: #F4F6F4;
    --white: #ffffff;
    --black: #000000;
    --border-color: #e6e6e6;
    
    /* Typography */
    --font-heading: 'FF Ernestine', 'Georgia', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-button: 'Poppins', sans-serif;
    --font-serif: 'Old Standard TT', serif;
    
    /* Spacing */
    --header-height: 70px;
    --section-padding: 100px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
    text-transform: capitalize;
}

h1 {
    font-size: clamp(48px, 8vw, 104px);
    line-height: 1.1;
}

h2 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.3;
}

h3 {
    font-size: clamp(20px, 3vw, 24px);
    line-height: 1.3;
}

h4 {
    font-size: 20px;
    line-height: 1.2;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-red-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    font-family: var(--font-button);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid transparent;
    border-radius: 24px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-outline:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary-red);
}

.btn-white:hover {
    background-color: var(--bg-cream);
    border-color: var(--bg-cream);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-red);
}

.btn-full {
    width: 100%;
}

/* ========================
   HEADER
   ======================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: all var(--transition-normal);
}

#header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.logo img {
    height: 45px;
    width: auto;
    transition: all var(--transition-fast);
}

#header.scrolled .logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--white);
    font-weight: 500;
    transition: color var(--transition-fast);
}

#header.scrolled .main-nav a {
    color: var(--text-dark);
}

.main-nav a:hover {
    color: var(--primary-red);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
}

#header.scrolled .phone-link {
    color: var(--primary-red);
}

.phone-link:hover {
    color: var(--primary-red-light);
}

.header-cta .btn {
    padding: 12px 24px;
    font-size: 12px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: all var(--transition-fast);
}

#header.scrolled .mobile-toggle span {
    background-color: var(--text-dark);
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.hero-text {
    color: var(--white);
}

.tagline {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 20px;
}

.badge-item img {
    height: 50px;
    width: auto;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge-text .rating {
    color: #ffc107;
    font-size: 18px;
    letter-spacing: 2px;
}

.badge-text span:last-child {
    font-size: 14px;
    opacity: 0.9;
}

/* Hero Form */
.hero-form-wrapper {
    position: relative;
}

.hero-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-form h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 8px;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: #fafafa;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background-color: var(--white);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2357514f' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 16px;
    margin-bottom: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--white);
    opacity: 0.7;
    font-size: 12px;
    letter-spacing: 1px;
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================
   SECTION STYLES
   ======================== */
.section-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 12px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
}

.section-header.center p {
    margin: 0 auto;
}

/* ========================
   SERVICES SECTION
   ======================== */
.services {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    padding: 40px;
    background: var(--bg-cream);
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--primary-red);
    margin-bottom: 16px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 20px;
}

.service-price {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: 4px;
    display: inline-block;
}

.service-link {
    font-family: var(--font-button);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-red);
}

.service-link:hover {
    color: var(--primary-red-dark);
}

/* ========================
   ABOUT SECTION
   ======================== */
.about {
    padding: var(--section-padding) 0;
    background-color: var(--bg-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-content blockquote {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.about-content blockquote p {
    margin-bottom: 1.2em;
}

.about-content blockquote p:first-child {
    font-family: var(--font-serif);
    font-size: 20px;
    font-style: italic;
    color: var(--text-dark);
}

.founder-signature {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.founder-signature strong {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-dark);
}

.founder-signature span {
    font-size: 14px;
    color: var(--text-gray);
}

/* ========================
   PORTFOLIO SECTION
   ======================== */
.portfolio {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.portfolio-info h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 4px;
}

.portfolio-info p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

.portfolio-cta {
    text-align: center;
}

/* ========================
   TESTIMONIALS SECTION
   ======================== */
.testimonials {
    padding: var(--section-padding) 0;
    background-color: var(--bg-cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.testimonial-card .stars {
    color: #ffc107;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-dark);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-gray);
}

.review-platforms {
    text-align: center;
}

.review-platforms p {
    color: var(--text-gray);
    margin-bottom: 16px;
}

.platform-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.platform-logos img {
    height: 30px;
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.platform-logos img:hover {
    opacity: 1;
}

/* ========================
   CTA BANNER
   ======================== */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========================
   CONTACT SECTION
   ======================== */
.contact {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item svg {
    color: var(--primary-red);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.contact-item a,
.contact-item span {
    color: var(--text-gray);
    font-size: 15px;
}

.contact-item a:hover {
    color: var(--primary-red);
}

.service-area {
    padding: 24px;
    background: var(--bg-cream);
    border-radius: 8px;
}

.service-area strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.service-area p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-cream);
    padding: 50px;
    border-radius: 8px;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-disclaimer {
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
    margin-top: 16px;
    margin-bottom: 0;
}

/* ========================
   FOOTER
   ======================== */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-red);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p,
.footer-contact a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin-bottom: 8px;
}

/* ========================
   MOBILE CTA BAR
   ======================== */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 12px 16px;
}

.mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    font-family: var(--font-button);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 8px;
}

.mobile-cta-phone {
    background: var(--bg-cream);
    color: var(--text-dark);
}

.mobile-cta-estimate {
    background: var(--primary-red);
    color: var(--white);
}

/* ========================
   CHAT WIDGET
   ======================== */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-red);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(173, 28, 28, 0.4);
    transition: all var(--transition-fast);
}

.chat-toggle:hover {
    transform: scale(1.05);
}

.chat-toggle svg {
    fill: var(--white);
}

.chat-toggle .close-icon {
    display: none;
}

.chat-widget.active .chat-toggle .chat-icon {
    display: none;
}

.chat-widget.active .chat-toggle .close-icon {
    display: block;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.chat-widget.active .chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--primary-red);
    color: var(--white);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    padding: 4px;
}

.chat-header strong {
    display: block;
    font-size: 14px;
}

.chat-header span {
    font-size: 12px;
    opacity: 0.9;
}

.chat-body {
    padding: 20px;
}

.chat-message {
    background: var(--bg-cream);
    padding: 16px;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    margin-bottom: 16px;
}

.chat-message p {
    margin: 0;
    font-size: 14px;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-options button {
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
}

.chat-options button:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

/* ========================
   EXIT POPUP
   ======================== */
.exit-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.exit-popup.active {
    display: flex;
}

.exit-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.exit-popup-content {
    position: relative;
    background: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.exit-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-cream);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.exit-popup-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 12px;
}

.exit-popup-content > p {
    color: var(--text-gray);
    margin-bottom: 24px;
}

.exit-popup-content form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exit-popup-content input {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
}

.exit-note {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 16px;
    margin-bottom: 0;
}

/* ========================
   RESPONSIVE STYLES
   ======================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-form-wrapper {
        max-width: 500px;
    }
    
    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .contact-grid {
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .main-nav,
    .header-cta .btn {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-form {
        padding: 30px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mobile-cta-bar {
        display: flex;
        gap: 12px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
    
    .chat-widget {
        bottom: 100px;
        right: 16px;
    }
    
    .chat-window {
        width: calc(100vw - 32px);
        right: -8px;
    }
    
    .footer {
        padding-bottom: 100px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 14px 24px;
        font-size: 12px;
    }
    
    .hero-form h3 {
        font-size: 22px;
    }
    
    .service-card {
        padding: 30px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
}

/* Print Styles */
@media print {
    .mobile-cta-bar,
    .chat-widget,
    .exit-popup,
    #header {
        display: none !important;
    }
}
