/* ============================================
   FAYETTE COUNTRY STORE — STYLESHEET
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --white: #ffffff;
    --black: #000000;

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s 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(--slate-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

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

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

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

:focus-visible {
    outline: 3px solid var(--teal-400);
    outline-offset: 2px;
    border-radius: 4px;
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.938rem;
    letter-spacing: 0.01em;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background: var(--teal-600);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    background: var(--teal-700);
    box-shadow: 0 6px 24px rgba(13, 148, 136, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--teal-700);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--teal-600);
    color: var(--white);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}

.btn-nav:hover {
    background: var(--teal-700);
}

.btn-full {
    width: 100%;
}

.btn-map {
    margin-top: 16px;
    font-size: 0.875rem;
    padding: 12px 24px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: all var(--transition-base);
    padding: 16px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    transition: color var(--transition-fast);
    flex-shrink: 0;
}

.header.scrolled .logo {
    color: var(--teal-700);
}

.logo-icon {
    color: var(--teal-600);
    flex-shrink: 0;
}

.header.scrolled .logo-icon {
    color: var(--teal-600);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.125rem;
    line-height: 1.2;
    white-space: nowrap;
}

.logo--footer {
    color: var(--teal-600) !important;
}

.logo--footer .logo-icon {
    color: var(--teal-600);
}

/* --- Navigation --- */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    color: var(--white);
    transition: background var(--transition-fast);
    flex-shrink: 0;
}

.header.scrolled .nav-toggle {
    color: var(--slate-700);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .nav-toggle:hover {
    background: var(--slate-100);
}

.nav-toggle svg {
    transition: transform var(--transition-base);
}

.nav-toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
}

.nav ul {
    display: none;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.nav ul.is-open {
    display: flex;
}

.nav ul li a {
    display: block;
    padding: 12px 16px;
    color: var(--slate-700);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav ul li a:hover {
    background: var(--teal-50);
    color: var(--teal-700);
}

.nav-toggle + .nav ul {
    border-top: 1px solid var(--slate-100);
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
    
    .nav ul {
        flex-direction: row;
        align-items: center;
        position: static;
        background: transparent;
        padding: 0;
        box-shadow: none;
        border: none;
        gap: 4px;
        border-radius: 0;
    }
    
    .nav ul li a {
        padding: 10px 16px;
        font-size: 0.938rem;
        color: rgba(255, 255, 255, 0.85);
    }
    
    .header:not(.scrolled) .nav ul li a {
        color: rgba(255, 255, 255, 0.85);
    }
    
    .header.scrolled .nav ul li a {
        color: var(--slate-600);
    }
    
    .nav ul li a:hover {
        background: rgba(255, 255, 255, 0.12);
        color: var(--white);
    }
    
    .header.scrolled .nav ul li a:hover {
        background: var(--slate-100);
        color: var(--teal-700);
    }
    
    .header:not(.scrolled) .nav ul li a:hover {
        background: rgba(255, 255, 255, 0.12);
        color: var(--white);
    }
    
    .btn-nav {
        background: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.4);
        color: var(--white) !important;
    }
    
    .btn-nav:hover {
        background: var(--white) !important;
        color: var(--teal-700) !important;
    }
    
    .header.scrolled .btn-nav {
        background: var(--teal-600) !important;
        border-color: transparent !important;
        color: var(--white) !important;
    }
    
    .header.scrolled .btn-nav:hover {
        background: var(--teal-700) !important;
    }
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        135deg,
        rgba(4, 47, 46, 0.82) 0%,
        rgba(13, 148, 136, 0.65) 50%,
        rgba(30, 41, 59, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 400;
    line-height: 1.08;
}

.hero-accent {
    font-style: italic;
    color: var(--teal-200);
}

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

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.938rem;
}

.hero-info-item svg {
    color: var(--teal-300);
    flex-shrink: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    animation: scrollBounce 2s ease-in-out infinite;
    transition: color var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--white);
}

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

@media (max-width: 767px) {
    .hero-content {
        padding: 100px 0 60px;
    }
    
    .hero-info {
        gap: 20px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
}

/* --- Section Shared --- */
.section {
    padding: 96px 0;
}

.section--alt {
    background: var(--slate-50);
}

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

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    color: var(--slate-900);
}

.section-subtitle {
    font-size: 1.063rem;
    color: var(--slate-500);
    line-height: 1.7;
}

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

.about-images {
    position: relative;
    max-width: 520px;
}

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

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

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

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

.about-img-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 80px;
    height: 80px;
    background: var(--teal-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    max-width: 520px;
}

.about-text {
    font-size: 1.063rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--slate-200);
}

.stat {
    display: flex;
    flex-direction: column;
}

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

.stat-label {
    font-size: 0.813rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

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

/* --- Menu --- */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
}

.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.menu-card-img {
    position: relative;
    overflow: hidden;
}

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

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

.menu-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--teal-600);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.menu-card-body {
    padding: 24px;
}

.menu-card-body h3 {
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.menu-card-body p {
    font-size: 0.938rem;
    color: var(--slate-500);
    line-height: 1.7;
}

.menu-note {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    font-size: 0.938rem;
    color: var(--teal-800);
}

.menu-note svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

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

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

/* --- Features --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--teal-600);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.938rem;
    color: var(--slate-500);
    line-height: 1.7;
}

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

/* --- Gallery Strip --- */
.gallery-strip {
    overflow: hidden;
    padding: 0;
    background: var(--slate-100);
}

.gallery-scroll {
    display: flex;
    gap: 16px;
    padding: 0 24px;
    animation: galleryScroll 40s linear infinite;
}

.gallery-scroll:hover {
    animation-play-state: paused;
}

.gallery-item {
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-item img {
    width: 320px;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

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

@keyframes galleryScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-320px * 5 - 16px * 5)); }
}

@media (max-width: 767px) {
    .gallery-item img {
        width: 260px;
        height: 195px;
    }
    
    @keyframes galleryScroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-260px * 5 - 16px * 5)); }
    }
}

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

.visit-text {
    font-size: 1.063rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

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

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

.visit-detail-label {
    display: block;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-400);
    margin-bottom: 2px;
}

.visit-detail-value {
    display: block;
    font-size: 1rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.visit-detail-value a {
    color: var(--teal-700);
    transition: color var(--transition-fast);
}

.visit-detail-value a:hover {
    color: var(--teal-500);
    text-decoration: underline;
}

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

.map-placeholder {
    background: linear-gradient(135deg, var(--teal-100) 0%, var(--slate-100) 100%);
    padding: 64px 40px;
    text-align: center;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.map-placeholder svg {
    color: var(--teal-600);
    opacity: 0.6;
}

.map-placeholder p {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.6;
}

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

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

.contact-text {
    font-size: 1.063rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-top: 16px;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 8px;
}

.optional {
    font-weight: 400;
    color: var(--slate-400);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--slate-800);
    background: var(--slate-50);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-400);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    color: var(--teal-800);
    font-size: 0.938rem;
    font-weight: 500;
}

.form-success svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

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

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

/* --- Footer --- */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 72px 0 0;
}

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

.footer-brand p {
    margin-top: 16px;
    font-size: 0.938rem;
    line-height: 1.7;
    color: var(--slate-400);
    max-width: 300px;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-300);
    margin-bottom: 20px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav ul li a {
    color: var(--slate-400);
    font-size: 0.938rem;
    transition: color var(--transition-fast);
}

.footer-nav ul li a:hover {
    color: var(--teal-400);
}

.footer-contact address {
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-contact p {
    font-size: 0.938rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--slate-400);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--teal-400);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 0.813rem;
    color: var(--slate-500);
}

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

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--teal-600);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition-base);
    z-index: 50;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--teal-700);
    transform: translateY(-2px);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
    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; }
