/* ================================================
   GARAGE GLOW-UP — Main Stylesheet
   Design: Warm luxury meets approachable modern
   Target: Facebook Moms in affluent Peoria suburbs
   Mobile-first responsive design
   ================================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Primary: warm sage green — clean, fresh, nature-inspired */
    --primary: #4a7c59;
    --primary-light: #6a9e78;
    --primary-dark: #356344;
    --primary-pale: #e8f0ea;

    /* Accent: warm gold — premium, cash-deal energy */
    --accent: #c8973e;
    --accent-light: #e5c882;
    --accent-pale: #fdf6e8;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #faf9f7;
    --cream: #f5f2ed;
    --warm-gray: #e8e4de;
    --gray-400: #a09a90;
    --gray-600: #6b6560;
    --gray-800: #3d3830;
    --charcoal: #2a2520;

    /* Functional */
    --success: #4a7c59;
    --danger: #c75a3a;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --font-accent: 'Outfit', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(42,37,32,0.06), 0 1px 2px rgba(42,37,32,0.04);
    --shadow-md: 0 4px 12px rgba(42,37,32,0.08), 0 2px 4px rgba(42,37,32,0.04);
    --shadow-lg: 0 12px 40px rgba(42,37,32,0.12), 0 4px 12px rgba(42,37,32,0.06);
    --shadow-xl: 0 20px 60px rgba(42,37,32,0.15), 0 8px 20px rgba(42,37,32,0.08);

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-800);
    background: var(--off-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}

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

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: var(--space-3xl) 0;
}

/* ---------- Section Headers ---------- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-pale);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    color: var(--charcoal);
    line-height: 1.15;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    text-decoration: none;
    line-height: 1.2;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(74,124,89,0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(74,124,89,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--warm-gray);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-deal {
    background: var(--white);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.btn-deal:hover {
    background: var(--accent-pale);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(250,249,247,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(232,228,222,0.6);
    box-shadow: var(--shadow-sm);
}

/* Nav colors before scroll (on dark hero) */
.navbar .logo-text { color: var(--white); transition: color 0.4s; }
.navbar .logo-icon { color: var(--accent-light); transition: color 0.4s; }
.navbar .nav-toggle span { background: var(--white); transition: background 0.4s; }

/* Nav colors after scroll (on light bg) */
.navbar.scrolled .logo-text { color: var(--charcoal); }
.navbar.scrolled .logo-icon { color: var(--primary); }
.navbar.scrolled .logo-highlight { color: var(--primary); }
.navbar.scrolled .nav-toggle span { background: var(--charcoal); }

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.4rem;
    color: var(--primary);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--charcoal);
}

.logo-highlight {
    color: var(--primary);
}

/* Mobile nav toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Nav links — mobile drawer */
.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 100px 2rem 2rem;
    gap: 0.25rem;
    transition: right 0.4s var(--ease-out);
    box-shadow: -8px 0 30px rgba(0,0,0,0.1);
    z-index: 999;
}
.nav-links.open {
    right: 0;
}
.nav-links a {
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--gray-800);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--warm-gray);
    display: block;
}
.nav-links a:hover { color: var(--primary); }

.nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--radius-md) !important;
    border-bottom: none !important;
    text-align: center;
    font-weight: 600 !important;
}
.nav-cta:hover {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 1.25rem 80px;
    background: url('../images/hero-bg.jpg') center center / cover no-repeat;
    overflow: hidden;
}
@media (max-width: 768px) {
    .hero {
        background-image: url('../images/hero-bg-mobile.jpg');
        background-position: center top;
    }
}

/* Dark overlay for text readability */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at center 60%, rgba(20,18,15,0.65) 0%, rgba(20,18,15,0.45) 50%, rgba(20,18,15,0.55) 100%);
    z-index: 0;
}

/* Hero content sits above overlay */

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 7vw, 3.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.text-strike {
    text-decoration: line-through;
    text-decoration-color: var(--danger);
    text-decoration-thickness: 3px;
    opacity: 0.65;
}

.text-glow {
    color: var(--accent-light);
    position: relative;
}
.text-glow::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent-light);
    border-radius: 4px;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.hero-cta-group {
    display: flex;
    flex-direction: row;
    gap: var(--space-lg);
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
}
@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
        gap: var(--space-md);
    }
}

.hero-text-link {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    padding-bottom: 2px;
    transition: all 0.3s var(--ease-out);
}
.hero-text-link:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

.hero-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-align: center;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.trust-stars {
    color: var(--accent-light);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ========== DEAL BANNER ========== */
.deal-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 40%, #4a6a3a 70%, #6b7d3e 100%);
    padding: var(--space-lg) 0;
    overflow: hidden;
    position: relative;
}
.deal-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(200,151,62,0.25) 0%, transparent 60%);
    pointer-events: none;
}

.deal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
}

.deal-icon {
    font-size: 1.5rem;
}

.deal-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.deal-highlight {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
}

.deal-detail {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}
.deal-detail strong {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.step-card {
    position: relative;
    background: var(--off-white);
    border: 1px solid var(--warm-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.4s var(--ease-out);
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 24px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--white);
    background: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-pale);
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.step-icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: var(--space-xs);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========== BEFORE / AFTER SLIDER ========== */
.transformation {
    background: var(--cream);
}

.transform-showcase {
    margin-bottom: var(--space-2xl);
}
.transform-showcase:last-child {
    margin-bottom: 0;
}

.transform-label {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--charcoal);
    text-align: center;
    margin-bottom: var(--space-md);
}

.ba-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    cursor: ew-resize;
    touch-action: none;
    aspect-ratio: 16 / 10;
}

.ba-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-before {
    z-index: 2;
    width: 50%;
    clip-path: inset(0 0 0 0);
}

.ba-tag {
    position: absolute;
    top: 16px;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    z-index: 5;
}

.ba-tag-before {
    left: 16px;
    background: rgba(199,90,58,0.9);
    color: var(--white);
}

.ba-tag-after {
    right: 16px;
    background: rgba(74,124,89,0.9);
    color: var(--white);
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-handle-line {
    flex: 1;
    width: 3px;
    background: var(--white);
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.ba-handle-circle {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    flex-shrink: 0;
}

.ba-handle-icon {
    width: 20px;
    height: 20px;
    color: var(--charcoal);
}

/* ---------- Swipe / Drag Hint ---------- */
.swipe-hint {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    justify-content: center;
    margin-bottom: 8px;
    animation: hintBounce 2s ease-in-out infinite, hintFadeOut 8s ease forwards;
    pointer-events: none;
}
.swipe-hint-text {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--primary);
    opacity: 0.85;
    letter-spacing: 0.01em;
}
.swipe-hint-arrow {
    width: 44px;
    height: 28px;
    color: var(--primary);
    opacity: 0.7;
    flex-shrink: 0;
}

@keyframes hintBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes hintFadeOut {
    0%, 70% { opacity: 1; }
    100% { opacity: 0; }
}

/* ========== PRICING ========== */
.pricing {
    background: var(--white);
}

.pricing-card-wrapper {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: linear-gradient(145deg, var(--off-white) 0%, var(--white) 100%);
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-lg);
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.pricing-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--charcoal);
    text-align: center;
    margin-bottom: var(--space-xs);
}

.pricing-desc {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.pricing-amount {
    text-align: center;
    margin-bottom: var(--space-md);
}

.price-original {
    font-family: var(--font-accent);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-400);
    text-decoration: line-through;
    text-decoration-color: var(--danger);
    text-decoration-thickness: 2.5px;
    margin-right: 0.75rem;
}

.price-cash {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.price-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-top: 0.3rem;
}

.pricing-savings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent-pale);
    color: var(--accent);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-lg);
}

.savings-icon {
    width: 18px;
    height: 18px;
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0;
    font-size: 0.95rem;
    color: var(--gray-800);
    border-bottom: 1px solid var(--warm-gray);
}
.pricing-features li:last-child {
    border-bottom: none;
}

.feature-check {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.pricing-fine-print {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: var(--space-md);
    line-height: 1.5;
}

.pricing-fine-print a {
    color: var(--primary);
    text-decoration: underline;
}

/* ========== TESTIMONIALS ========== */
.reviews {
    background: var(--cream);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.review-card {
    background: var(--white);
    border: 1px solid var(--warm-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.35s var(--ease-out);
}
.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.review-stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: var(--space-sm);
}

.review-text {
    font-size: 0.95rem;
    color: var(--gray-800);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: var(--space-md);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-pale);
    color: var(--primary);
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.review-author span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ========== BOOKING SECTION ========== */
.booking {
    background: var(--white);
}

/* Tabs */
.estimate-tabs {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--warm-gray);
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.tab-btn.active {
    border-color: var(--primary);
    background: var(--primary-pale);
    color: var(--primary);
}
.tab-btn:hover:not(.active) {
    border-color: var(--gray-400);
}

.tab-icon {
    width: 20px;
    height: 20px;
}

/* Forms */
.estimate-form-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.estimate-form-wrap.hidden {
    display: none;
}

.form-success.hidden {
    display: none;
}

.estimate-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border: 2px solid var(--warm-gray);
    border-radius: var(--radius-sm);
    background: var(--off-white);
    color: var(--charcoal);
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    -webkit-appearance: none;
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74,124,89,0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Custom date/time picker row */
.datetime-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0.5rem;
}
.datetime-row select {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.8rem 0.75rem;
    border: 2px solid var(--warm-gray);
    border-radius: var(--radius-sm);
    background: var(--off-white);
    color: var(--charcoal);
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a7c59' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
    cursor: pointer;
}
.datetime-row select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74,124,89,0.12);
}

/* File upload zone */
.file-upload-zone {
    position: relative;
    border: 2px dashed var(--warm-gray);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    background: var(--off-white);
}
.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: var(--primary);
    background: var(--primary-pale);
}

.upload-icon {
    width: 40px;
    height: 40px;
    color: var(--gray-400);
    margin-bottom: var(--space-xs);
}

.file-upload-zone p {
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.95rem;
}
.file-upload-zone span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.file-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--warm-gray);
}
.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: var(--space-2xl);
    max-width: 480px;
    margin: 0 auto;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.form-success p {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ========== SERVICE AREA ========== */
.service-area {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-3xl) 0;
}

.area-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.area-text .section-tag {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.area-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-md);
}

.area-text p {
    font-size: 1rem;
    line-height: 1.65;
    opacity: 0.85;
    margin-bottom: var(--space-lg);
}

.area-towns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.town-chip {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.08);
}

/* Contact card */
.contact-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white) !important;
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: opacity 0.3s;
}
.contact-line:hover { opacity: 0.8; }

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.7;
}

.contact-hours {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.contact-hours strong {
    display: block;
    font-size: 0.85rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.6);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: var(--space-lg);
}

.footer-brand .logo-icon { color: var(--primary-light); }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-highlight { color: var(--primary-light); }

.footer-tagline {
    font-size: 0.85rem;
    margin-top: 0.3rem;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem var(--space-md);
}

.footer-links a {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}
.footer-links a:hover {
    color: var(--white);
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--ease-out);
    z-index: 900;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========== SCROLL ANIMATIONS ========== */
.animate-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.7s var(--ease-out) forwards;
}
.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.35s; }
.animate-in:nth-child(4) { animation-delay: 0.45s; }
.animate-in:nth-child(5) { animation-delay: 0.55s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE — TABLET ========== */
@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }

    .deal-content {
        flex-direction: row;
        justify-content: center;
    }

    .hero-trust {
        flex-direction: row;
        gap: 0.6rem;
        max-width: none;
    }
}

/* ========== RESPONSIVE — DESKTOP ========== */
@media (min-width: 960px) {
    .nav-toggle { display: none; }

    .nav-links {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        padding: 0;
        gap: 0;
        box-shadow: none;
        align-items: center;
        flex-wrap: nowrap;
    }

    .nav-links li {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .nav-links a {
        font-size: 0.82rem;
        padding: 0.5rem 0.55rem;
        border-bottom: none;
        white-space: nowrap;
        color: rgba(255,255,255,0.85);
        transition: color 0.4s;
    }
    .navbar.scrolled .nav-links a {
        color: var(--gray-800);
    }
    .navbar.scrolled .nav-links a:hover {
        color: var(--primary);
    }

    .nav-cta {
        margin-top: 0 !important;
        padding: 0.55rem 0.9rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        color: var(--white) !important;
    }
    .navbar.scrolled .nav-cta {
        color: var(--white) !important;
    }

    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }

    .area-content {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* ========== RESPONSIVE — LARGE DESKTOP ========== */
@media (min-width: 1100px) {
    .nav-links a {
        font-size: 0.88rem;
        padding: 0.5rem 0.75rem;
    }

    .nav-cta {
        padding: 0.6rem 1.1rem !important;
        font-size: 0.85rem !important;
    }
}

/* ========== Mobile-specific nav overlay ========== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(42,37,32,0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}
.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}
