/* ============================================
   WILLY'S DRIVE-IN — STYLESHEET
   Emerald Green + Cream | Confident Corporate
   ============================================ */

/* --- Custom Properties --- */
:root {
    --color-emerald-50:  #ecfdf5;
    --color-emerald-100: #d1fae5;
    --color-emerald-200: #a7f3d0;
    --color-emerald-300: #6ee7b7;
    --color-emerald-400: #34d399;
    --color-emerald-500: #10b981;
    --color-emerald-600: #059669;
    --color-emerald-700: #047857;
    --color-emerald-800: #065f46;
    --color-emerald-900: #064e3b;
    --color-emerald-950: #022c22;
    
    --color-cream-50:  #fefdf8;
    --color-cream-100: #fef9e8;
    --color-cream-200: #fdf3d6;
    --color-cream-300: #fce8b0;
    --color-cream-400: #f5d47e;
    --color-cream-500: #eab308;
    
    --color-neutral-50:  #fafafa;
    --color-neutral-100: #f4f4f5;
    --color-neutral-200: #e4e4e7;
    --color-neutral-300: #d4d4d8;
    --color-neutral-400: #a1a1aa;
    --color-neutral-500: #71717a;
    --color-neutral-600: #52525b;
    --color-neutral-700: #3f3f46;
    --color-neutral-800: #27272a;
    --color-neutral-900: #18181b;
    --color-neutral-950: #09090b;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-neutral-800);
    background-color: var(--color-cream-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

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

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2.5rem;
    }
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--color-neutral-900);
}

.text-highlight {
    color: var(--color-emerald-700);
}

/* --- Section Shared --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-emerald-700);
    background: var(--color-emerald-50);
    border: 1px solid var(--color-emerald-200);
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-neutral-900);
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--color-neutral-600);
    max-width: 560px;
    line-height: 1.7;
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: 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-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-emerald-700);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3);
}

.btn-primary:hover {
    background: var(--color-emerald-800);
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.35);
    transform: translateY(-1px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.btn-white {
    background: #ffffff;
    color: var(--color-emerald-800);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    background: var(--color-cream-50);
    transform: translateY(-1px);
    box-shadow: var(--shadow-xl);
}

.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-neutral-200);
    transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-neutral-900);
}

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

.logo-accent {
    color: var(--color-emerald-700);
}

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-neutral-600);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-emerald-700);
    background: var(--color-emerald-50);
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--color-emerald-700) !important;
    font-weight: 600 !important;
    background: var(--color-emerald-50) !important;
    border: 1px solid var(--color-emerald-200);
    border-radius: var(--radius-sm);
    margin-left: 0.5rem;
}

.nav-phone:hover {
    background: var(--color-emerald-100) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

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

.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 (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100dvh;
        background: var(--color-cream-50);
        flex-direction: column;
        align-items: stretch;
        padding: 6rem 1.5rem 2rem;
        gap: 0.25rem;
        box-shadow: -8px 0 30px rgba(0,0,0,0.12);
        transform: translateX(100%);
        transition: transform var(--transition-slow);
        z-index: 999;
    }
    
    .nav-links.open {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.0625rem;
        padding: 0.875rem 1rem;
        border-radius: var(--radius-sm);
    }
    
    .nav-phone {
        margin-left: 0;
        justify-content: center;
        margin-top: 0.5rem;
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    background: var(--color-emerald-900);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(5, 150, 105, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(4, 120, 87, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.hero-bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }
}

/* Main Hero Card */
.hero-main-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

@media (min-width: 768px) {
    .hero-main-card {
        padding: 3.5rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-emerald-200);
    background: rgba(110, 231, 183, 0.12);
    border: 1px solid rgba(110, 231, 183, 0.25);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: clamp(1.75rem, 4vw, 2.625rem);
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.hero-headline .text-highlight {
    color: var(--color-emerald-300);
}

.hero-subheadline {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

/* Floating Stat Cards */
.hero-float-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .hero-float-cards {
        position: relative;
        height: 100%;
        min-height: 400px;
    }
    
    .float-card--1 {
        position: absolute;
        top: 0;
        right: 0;
        width: 220px;
    }
    
    .float-card--2 {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: -1rem;
        width: 220px;
    }
    
    .float-card--3 {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 220px;
    }
}

.float-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--transition-base), background var(--transition-base);
}

.float-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.float-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(110, 231, 183, 0.15);
    border-radius: var(--radius-sm);
    color: var(--color-emerald-300);
    margin-bottom: 0.75rem;
}

.float-card-stat {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.float-card-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Hero Image Strip */
.hero-image-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-lg);
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-img:hover img {
    transform: scale(1.04);
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu-section {
    padding: 5.5rem 0;
    background: var(--color-cream-50);
}

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

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

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

.menu-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-neutral-100);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.menu-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.menu-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.06);
}

.menu-card-badge {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-emerald-900);
    background: var(--color-emerald-300);
    padding: 0.3125rem 0.75rem;
    border-radius: 100px;
}

.menu-card-body {
    padding: 1.375rem;
}

.menu-card-title {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--color-neutral-900);
    margin-bottom: 0.5rem;
}

.menu-card-desc {
    font-size: 0.9375rem;
    color: var(--color-neutral-500);
    line-height: 1.65;
}

.menu-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--color-neutral-200);
}

.menu-cta p {
    font-size: 1.0625rem;
    color: var(--color-neutral-600);
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.menu-cta .btn {
    margin: 0 auto;
}

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

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

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

.about-image-col {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -1.5rem;
    right: -1rem;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-cream-100);
    aspect-ratio: 3/2;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content-col .section-title {
    margin-top: 0.5rem;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-neutral-600);
    margin-bottom: 1.25rem;
}

.about-text:last-of-type {
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-neutral-100);
    transition: box-shadow var(--transition-base);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
}

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

.feature-title {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-neutral-800);
    margin-bottom: 0.125rem;
}

.feature-desc {
    font-size: 0.8125rem;
    color: var(--color-neutral-500);
    line-height: 1.5;
}

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

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

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

.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--color-neutral-100);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--color-neutral-600);
    margin-bottom: 1.25rem;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-emerald-100);
    color: var(--color-emerald-800);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-neutral-800);
}

/* ============================================
   LOCATION SECTION
   ============================================ */
.location-section {
    padding: 5.5rem 0;
    background: var(--color-cream-100);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .location-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 3rem;
    }
}

.location-info-col .section-title {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-emerald-50);
    border: 1px solid var(--color-emerald-200);
    border-radius: var(--radius-md);
    color: var(--color-emerald-700);
}

.location-detail-label {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-neutral-500);
    margin-bottom: 0.25rem;
}

.location-detail p {
    font-size: 1rem;
    color: var(--color-neutral-800);
    line-height: 1.6;
}

.location-detail a {
    color: var(--color-emerald-700);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.location-detail a:hover {
    color: var(--color-emerald-600);
    text-decoration: underline;
}

.btn-location {
    display: inline-flex;
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid #ffffff;
    aspect-ratio: 4/3;
}

@media (min-width: 640px) {
    .map-wrapper {
        aspect-ratio: auto;
        height: 100%;
        min-height: 380px;
    }
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 5.5rem 0;
    background: var(--color-emerald-900);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(16, 185, 129, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 10% 20%, rgba(4, 120, 87, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section::before {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M20 20h20v20H20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
    .cta-card {
        padding: 4rem 3rem;
        flex-direction: row;
        text-align: left;
    }
}

.cta-content {
    max-width: 560px;
}

.cta-headline {
    font-size: clamp(1.625rem, 3.5vw, 2.375rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-subheadline {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-neutral-950);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

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

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

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

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

.footer-links li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

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

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

.footer-links svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    text-align: center;
}

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--color-emerald-400);
}

/* ============================================
   SCROLL REVEAL (Progressive Enhancement)
   Only activates with JS and no reduced-motion preference
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion fallback — everything visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
