/* ========================================
   Lucy's Place — Harrisburg
   Fresh & Airy Café/Bar Website
   ======================================== */

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

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    
    --cream-50: #fefdf8;
    --cream-100: #fdf9f0;
    --cream-200: #faf3e0;
    --cream-300: #f5e8c8;
    
    --sand: #f5f0e8;
    --sand-light: #faf7f2;
    
    --text-primary: #1a2e28;
    --text-secondary: #3d5a52;
    --text-muted: #6b8a80;
    --text-light: #f5f0e8;
    
    --white: #ffffff;
    --black: #0a0f0d;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 1px 3px rgba(10, 15, 13, 0.06), 0 1px 2px rgba(10, 15, 13, 0.04);
    --shadow-md: 0 4px 16px rgba(10, 15, 13, 0.08), 0 2px 6px rgba(10, 15, 13, 0.04);
    --shadow-lg: 0 12px 40px rgba(10, 15, 13, 0.1), 0 4px 12px rgba(10, 15, 13, 0.05);
    --shadow-xl: 0 24px 60px rgba(10, 15, 13, 0.12);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

@media (min-width: 1200px) {
    .container {
        padding: 0 48px;
    }
}

/* ---------- Utility ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--emerald-700);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 500;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 16px;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-600);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: var(--emerald-700);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-primary);
    border: 1.5px solid var(--emerald-200);
}

.btn-secondary:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-400);
    transform: translateY(-2px);
}

/* ---------- Section Tags & Titles ---------- */
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    color: var(--emerald-600);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(16, 185, 129, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-500);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--emerald-600);
}

.nav-links a::after:hover {
    width: 100%;
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 101;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

/* Mobile Nav */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(254, 253, 248, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 99;
}

.nav-links.mobile-open a {
    font-size: 1.25rem;
    color: var(--text-primary);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--emerald-50) 0%,
        var(--cream-100) 25%,
        var(--emerald-100) 50%,
        var(--cream-200) 75%,
        var(--emerald-50) 100%
    );
    background-size: 400% 400%;
    animation: heroGradient 16s ease infinite;
}

@keyframes heroGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(16, 185, 129, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(110, 231, 183, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 20%, rgba(245, 232, 200, 0.6) 0%, transparent 60%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    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='%23059669' fill-opacity='1'%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-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-700);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--emerald-600);
    position: relative;
}

.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--emerald-300);
    border-radius: 2px;
    opacity: 0.5;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.badge svg {
    width: 16px;
    height: 16px;
    color: var(--emerald-500);
    flex-shrink: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

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

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--emerald-400), transparent);
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -16px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-50);
}

.about-img-secondary img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
}

.accent-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald-200), var(--emerald-400));
    opacity: 0.3;
}

.accent-dot {
    position: absolute;
    top: 60px;
    left: 70px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--emerald-500);
}

.about-content {
    padding: 16px 0;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--emerald-100);
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--emerald-600);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    background: var(--emerald-100);
    align-self: stretch;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
    
    .about-img-main img {
        height: 500px;
    }
    
    .about-img-secondary img {
        width: 240px;
        height: 240px;
    }
}

/* ---------- Menu ---------- */
.menu {
    padding: 100px 0;
    background: var(--white);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--sand-light);
    border: 1.5px solid transparent;
    transition: all var(--transition);
}

.menu-tab:hover {
    color: var(--emerald-600);
    background: var(--emerald-50);
}

.menu-tab.active {
    color: var(--white);
    background: var(--emerald-600);
    border-color: var(--emerald-600);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.menu-panel {
    display: none;
}

.menu-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.menu-item {
    padding: 24px;
    background: var(--sand-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-200);
    transition: all var(--transition);
}

.menu-item:hover {
    background: var(--white);
    border-color: var(--emerald-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.menu-item-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.menu-item-desc {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--emerald-600);
    background: var(--emerald-50);
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
}

.menu-item-body p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.menu-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

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

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

/* ---------- Gallery ---------- */
.gallery {
    padding: 100px 0;
    background: var(--sand-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 48px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 13, 0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
}

.gallery-item--tall img {
    height: 560px;
}

.gallery-item--wide {
    grid-column: 1 / -1;
}

.gallery-item--wide img {
    height: 320px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: 280px 280px;
    }
    
    .gallery-item--tall {
        grid-column: 1 / 5;
        grid-row: 1 / 3;
    }
    
    .gallery-item--tall img {
        height: 100%;
    }
    
    .gallery-item:nth-child(2) {
        grid-column: 5 / 9;
    }
    
    .gallery-item:nth-child(3) {
        grid-column: 9 / 13;
    }
    
    .gallery-item--wide {
        grid-column: 1 / 9;
    }
    
    .gallery-item:nth-child(5) {
        grid-column: 9 / 13;
    }
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 100px 0;
    background: var(--cream-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--emerald-100);
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--emerald-200);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-quote svg {
    width: 40px;
    height: 40px;
    color: var(--emerald-300);
}

.testimonial-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerald-700);
    letter-spacing: 0.02em;
}

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

/* ---------- Visit ---------- */
.visit {
    padding: 100px 0;
    background: var(--white);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

.visit-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 40px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.visit-detail {
    display: flex;
    gap: 16px;
}

.visit-detail-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    color: var(--emerald-600);
}

.visit-detail-icon svg {
    width: 22px;
    height: 22px;
}

.visit-detail h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.visit-detail p,
.visit-detail a {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.visit-detail a:hover {
    color: var(--emerald-600);
}

.visit-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.visit-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

@media (min-width: 768px) {
    .visit-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

/* ---------- Newsletter ---------- */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-600) 50%, var(--emerald-800) 100%);
}

.newsletter-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
}

.newsletter-content .section-title {
    color: var(--white);
}

.newsletter-content .section-title em {
    color: var(--emerald-200);
}

.newsletter-text {
    font-size: 1.0625rem;
    color: var(--emerald-100);
    max-width: 480px;
}

.newsletter-form {
    width: 100%;
    max-width: 480px;
}

.input-group {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 6px;
    transition: all var(--transition);
}

.input-group:focus-within {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 0.9375rem;
    color: var(--white);
    font-family: var(--font-body);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-group .btn {
    padding: 12px 24px;
    background: var(--white);
    color: var(--emerald-700);
    box-shadow: none;
    flex-shrink: 0;
}

.input-group .btn:hover {
    background: var(--emerald-50);
    transform: none;
}

.newsletter-privacy {
    font-size: 0.8125rem;
    color: var(--emerald-200);
    margin-top: 12px;
}

.newsletter-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.9375rem;
}

.newsletter-success svg {
    width: 20px;
    height: 20px;
    color: var(--emerald-300);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .newsletter-inner {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

/* ---------- Footer ---------- */
.footer {
    padding: 64px 0 32px;
    background: var(--text-primary);
    color: var(--text-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-400);
    margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-contact li {
    font-size: 0.9375rem;
    color: var(--text-muted);
    transition: color var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

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

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--emerald-500);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ---------- Scroll Animations (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .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; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
