/* ============================================
   Bronx Driving Academy — Stylesheet
   Forest Green + Off-White | Confident Corporate
   ============================================ */

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

:root {
    --green-950: #0a1f14;
    --green-900: #0f2d1c;
    --green-800: #1a3c2a;
    --green-700: #234d36;
    --green-600: #2d6144;
    --green-500: #377a54;
    --green-400: #4a9c6e;
    --green-300: #6fb88e;
    --green-200: #a3d4b5;
    --green-100: #d1ecd9;
    --green-50:  #eaf5ee;

    --gold-500:  #c9a84c;
    --gold-400:  #d4b85e;
    --gold-300:  #e0cc7a;

    --white:     #ffffff;
    --off-white: #f7f5f0;
    --cream:     #f0ece4;
    --stone-100: #e8e4dc;
    --stone-200: #d4cfc5;
    --stone-300: #b8b0a4;
    --stone-400: #8a8278;
    --stone-500: #6b645c;
    --stone-600: #4a453f;
    --stone-700: #2e2a26;
    --stone-800: #1a1714;
    --stone-900: #0f0d0b;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm:  0 1px 3px rgba(10,31,20,0.08), 0 1px 2px rgba(10,31,20,0.06);
    --shadow-md:  0 4px 12px rgba(10,31,20,0.10), 0 2px 4px rgba(10,31,20,0.06);
    --shadow-lg:  0 12px 32px rgba(10,31,20,0.14), 0 4px 10px rgba(10,31,20,0.08);
    --shadow-xl:  0 20px 48px rgba(10,31,20,0.18), 0 8px 16px rgba(10,31,20,0.10);

    --transition-fast:  0.2s ease;
    --transition-base:  0.3s ease;
    --transition-slow:  0.5s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--stone-700);
    background: var(--off-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

.sr-only-focusable:focus {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    background: var(--green-800);
    color: var(--white);
    font-weight: 600;
    border-radius: 0 0 var(--radius-sm) 0;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Section Headings ---------- */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    background: var(--green-50);
    border: 1px solid var(--green-200);
    padding: 0.4rem 0.875rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-500);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--stone-800);
    margin-bottom: 1rem;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--stone-500);
    max-width: 640px;
    line-height: 1.7;
}

.section-header--centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    margin-bottom: 3.5rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.8125rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-700);
    color: var(--white);
    border: 2px solid var(--green-700);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--green-800);
    border-color: var(--green-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--green-700);
    border: 2px solid var(--green-300);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--green-50);
    border-color: var(--green-500);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

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

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247,245,240,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stone-200);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(247,245,240,0.97);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--stone-800);
}

.nav-logo-icon {
    color: var(--green-700);
}

.nav-logo-text {
    display: none;
}

@media (min-width: 640px) {
    .nav-logo-text {
        display: block;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--stone-600);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--green-700);
    background: var(--green-50);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green-700);
    background: var(--green-50);
    border: 1.5px solid var(--green-200);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background: var(--green-700);
    color: var(--white);
    border-color: var(--green-700);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--stone-700);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0.25rem;
    }

    .nav-links a {
        display: block;
        padding: 0.875rem 1rem;
        font-size: 1.0625rem;
    }

    .nav-cta {
        justify-content: center;
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(10,31,20,0.5);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-base);
    }

    .mobile-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--green-900);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,31,20,0.92) 0%,
        rgba(26,60,42,0.85) 40%,
        rgba(45,97,68,0.70) 100%
    );
}

.hero-grid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
    width: 100%;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-200);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.75rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-400);
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255,255,255,0.80);
    max-width: 560px;
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Services ---------- */
.services {
    padding: 6rem 0;
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--green-300);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-50);
    border: 1px solid var(--green-200);
    border-radius: var(--radius-md);
    color: var(--green-700);
    margin-bottom: 1.25rem;
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--stone-800);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-card-desc {
    font-size: 0.9375rem;
    color: var(--stone-500);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.service-card-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--stone-600);
}

.service-card-features li::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green-400);
    margin-top: 0.5rem;
}

/* ---------- Why Us ---------- */
.why-us {
    padding: 6rem 0;
    background: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.why-us-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/18;
}

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

.why-us-image-accent {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, var(--green-800), transparent);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.why-us-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.why-us-lead {
    font-size: 1.0625rem;
    color: var(--stone-500);
    line-height: 1.75;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.why-us-feature {
    display: flex;
    gap: 1rem;
}

.why-us-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-50);
    border: 1px solid var(--green-200);
    border-radius: var(--radius-sm);
    color: var(--green-700);
}

.why-us-feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.why-us-feature-text strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--stone-800);
}

.why-us-feature-text span {
    font-size: 0.875rem;
    color: var(--stone-500);
    line-height: 1.6;
}

/* ---------- Programs ---------- */
.programs {
    padding: 6rem 0;
    background: var(--cream);
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.program-card {
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
}

.program-card:hover {
    border-color: var(--green-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.program-card-header {
    margin-bottom: 1rem;
}

.program-card-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3125rem 0.75rem;
    border-radius: 100px;
    background: var(--green-100);
    color: var(--green-700);
    margin-bottom: 0.875rem;
}

.program-card-tag--secondary {
    background: var(--stone-100);
    color: var(--stone-600);
}

.program-card-tag--accent {
    background: rgba(201,168,76,0.15);
    color: var(--gold-500);
}

.program-card-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--stone-800);
    line-height: 1.25;
}

.program-card-desc {
    font-size: 0.9375rem;
    color: var(--stone-500);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.program-card-includes {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1.75rem;
}

.program-card-includes li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--stone-600);
}

.program-card-includes li svg {
    color: var(--green-500);
    flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 6rem 0;
    background: var(--off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--green-200);
    box-shadow: var(--shadow-md);
}

.testimonial-card-quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--green-200);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.testimonial-card-text {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.75;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-card-footer {
    margin-top: auto;
}

.testimonial-card-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.testimonial-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green-700);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-card-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--stone-800);
}

.testimonial-card-location {
    font-size: 0.8125rem;
    color: var(--stone-400);
}

/* ---------- CTA ---------- */
.cta {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

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

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,31,20,0.93) 0%,
        rgba(26,60,42,0.88) 60%,
        rgba(45,97,68,0.80) 100%
    );
}

.cta .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 2.25rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ---------- Contact ---------- */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-lead {
    font-size: 1.0625rem;
    color: var(--stone-500);
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 0.5rem;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.contact-detail-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-600);
}

.contact-detail dd {
    font-size: 1rem;
    color: var(--stone-700);
    line-height: 1.6;
}

.contact-detail dd a {
    color: var(--green-700);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact-detail dd a:hover {
    color: var(--green-500);
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--green-700);
    padding: 0.625rem 1.25rem;
    border: 1.5px solid var(--green-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.map-link:hover {
    background: var(--green-50);
    border-color: var(--green-500);
}

/* ---------- Contact Form ---------- */
.contact-form-wrapper {
    background: var(--off-white);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stone-800);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--stone-600);
    margin-bottom: 0.375rem;
    letter-spacing: 0.03em;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--stone-800);
    background: var(--white);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:hover {
    border-color: var(--stone-300);
}

.form-input:focus {
    border-color: var(--green-400);
    box-shadow: 0 0 0 3px rgba(74,156,110,0.15);
}

.form-input::placeholder {
    color: var(--stone-300);
}

.form-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 24 24' fill='none' stroke='%236b645c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

.form-success {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.form-success svg {
    color: var(--green-500);
}

.form-success-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stone-800);
}

.form-success-text {
    font-size: 0.9375rem;
    color: var(--stone-500);
    line-height: 1.65;
    max-width: 360px;
}

.form-success-text a {
    color: var(--green-600);
    font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--stone-900);
    color: rgba(255,255,255,0.6);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo-icon {
    color: var(--green-400);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.50);
}

.footer-nav-title,
.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.60);
    transition: color var(--transition-fast);
}

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

.footer-address {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.footer-phone a {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--green-300);
    transition: color var(--transition-fast);
}

.footer-phone a:hover {
    color: var(--green-200);
}

.footer-hours {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.40);
    margin-top: 0.75rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-copyright,
.footer-legal {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.30);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ---------- Focus visible ---------- */
:focus-visible {
    outline: 2px solid var(--green-500);
    outline-offset: 2px;
}
