/**
 * ============================================================================
 * THE GUT CONNECTION® — DESIGN SYSTEM v1.1
 * ============================================================================
 * Source of truth: page-tgc-v1-solutions.php
 * Covers: Reset, Variables, Typography, Header, Mobile Menu, Buttons,
 *         Hero base, Footer, Scroll Animations, Responsive Breakpoints
 *
 * USAGE: Enqueue via functions.php. Each page template only needs CSS
 *        for its own unique sections (cards, grids, page-specific layouts).
 *
 * DO NOT duplicate these styles in individual templates.
 *
 * FIXES in v1.1:
 * - .btn-primary base color corrected to terracotta (was incorrectly gold)
 * - .btn-primary / .btn-secondary full-width mobile rule removed from global
 *   scope — only hero-cta and final-cta-content .btn-primary handle their own
 *   widths contextually
 * - .hero-subtitle mobile floor raised to 18px (was dropping to 16px)
 * - .logo mobile size corrected to 20px (was too small at 16px)
 * - .section-container max-width corrected to 1200px (was 1100px)
 * ============================================================================
 */


/* ==========================================================================
   RESET & CSS VARIABLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sage-rich: #3d5a3a;
    --sage-dark: #2d4438;
    --sage-light: #8faa8b;
    --stone: #fcfaf7;
    --terracotta: #e07a5f;
    --terracotta-dark: #d66f52;
    --gold: #c9a961;
    --text-primary: #2d2d2d;
    --text-secondary: #666666;
    --border-light: #e8e4df;
    --background-light: #f5f2ee;
}


/* ==========================================================================
   BASE TYPOGRAPHY & BODY
   ========================================================================== */
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--stone);
    line-height: 1.6;
    font-size: 18px;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

a, button {
    touch-action: manipulation;
}


/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sage-rich);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-to-content:focus {
    top: 0;
}


/* ==========================================================================
   SAFE AREA INSETS (iPhone X+ notch/home indicator)
   ========================================================================== */
@supports (padding: env(safe-area-inset-top)) {
    header {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    footer {
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
    }
    .mobile-menu-overlay {
        padding-top: calc(80px + env(safe-area-inset-top));
    }
    .hero-scroll-hint {
        bottom: calc(1.5rem + env(safe-area-inset-bottom));
    }
}


/* ==========================================================================
   SHARED LAYOUT CONTAINERS
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--sage-rich);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}


/* ==========================================================================
   EYEBROW LABELS
   ========================================================================== */
.eyebrow {
    color: var(--terracotta);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
    font-family: 'Lato', sans-serif;
}


/* ==========================================================================
   HEADER
   ========================================================================== */
header {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--sage-rich);
    text-decoration: none;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu {
    background: var(--stone);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
    display: block;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-item:hover {
    background: rgba(201, 169, 97, 0.12);
    color: var(--text-primary);
}

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: -24px;
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 32px;
    border-radius: 12px;
    z-index: 1000;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    min-width: 500px;
}

.has-dropdown:hover .dropdown {
    display: grid;
}

.dropdown-column h4,
.dropdown-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-family: 'Lato', sans-serif;
}

.dropdown-column a {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dropdown-column a:hover {
    color: var(--sage-rich);
}

.header-cta-button {
    background: var(--sage-rich);
    color: white !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-cta-button:hover,
.header-cta-button:focus,
.header-cta-button:active,
a.header-cta-button:hover,
a.header-cta-button:focus,
a.header-cta-button:active {
    background: var(--sage-dark) !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(61, 90, 58, 0.3);
}

.header-cta-button i {
    font-size: 12px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--sage-rich);
    cursor: pointer;
    padding: 10px;
}


/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    overflow-y: auto;
    padding: 80px 40px 40px;
}

.mobile-menu-overlay.active {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-primary);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.mobile-menu-close:hover {
    background: rgba(0,0,0,0.05);
}

.mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-items li {
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu-items a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-menu-items a:hover {
    color: var(--sage-rich) !important;
}

.mobile-menu-items .has-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary) !important;
}

.mobile-menu-items .submenu-toggle {
    color: var(--text-primary) !important;
}

.mobile-menu-items .has-submenu > a i {
    transition: transform 0.3s ease;
}

.mobile-menu-items .submenu {
    display: none;
    padding-left: 20px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.mobile-menu-items .submenu.active {
    display: block;
}

.mobile-menu-items .submenu a {
    font-size: 18px;
    font-weight: 400;
    padding: 12px 0;
    color: var(--text-secondary) !important;
    border-bottom: none;
}

.mobile-cta {
    margin-top: 32px;
}

.mobile-cta a {
    display: block;
    background: var(--sage-rich);
    color: white !important;
    padding: 16px 24px;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-cta a:hover,
.mobile-cta a:focus,
.mobile-cta a:active {
    background: var(--sage-dark) !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 90, 58, 0.3);
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--sage-rich) 0%, var(--sage-dark) 100%);
    padding: 100px 20px 120px;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 169, 97, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-section .eyebrow {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

.hero-section h1 {
    font-size: 56px;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

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

.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 48px;
}

.hero-subtitle strong {
    color: white;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ==========================================================================
   HERO CTA BUTTON
   ========================================================================== */
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--terracotta);
    color: white !important;
    padding: clamp(1rem, 2vw + 0.3rem, 1.25rem) clamp(2rem, 4vw, 3rem);
    border-radius: 50px;
    font-size: clamp(1rem, 2vw + 0.1rem, 1.125rem);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    box-shadow: 0 4px 16px rgba(224, 122, 95, 0.25);
    white-space: nowrap;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(224, 122, 95, 0.35);
    background: var(--terracotta-dark) !important;
    color: white !important;
    text-decoration: none !important;
}

.hero-cta i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.hero-cta:hover i {
    transform: translateX(4px);
}


/* ==========================================================================
   SCROLL HINT
   ========================================================================== */
.hero-scroll-hint {
    position: absolute;
    bottom: clamp(1.25rem, 3vw, 2.5rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    outline: none;
    z-index: 10;
}

.hero-scroll-hint:hover { opacity: 0.8; }
.hero-scroll-hint:focus { opacity: 1; }

.hero-scroll-hint:focus .scroll-line {
    background: rgba(201, 169, 97, 0.3);
}

.hero-scroll-hint span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0% { top: -100%; }
    100% { top: 100%; }
}


/* ==========================================================================
   SHARED BUTTON STYLES
   — btn-primary is terracotta by default.
   — Pages that need gold (e.g. final CTA on dark bg) override via context.
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--terracotta);
    color: white !important;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(224, 122, 95, 0.25);
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(224, 122, 95, 0.35);
    background: var(--terracotta-dark) !important;
    color: white !important;
    text-decoration: none !important;
}

.btn-primary:active { transform: scale(0.98); }

.btn-primary i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-primary:hover i { transform: translateX(4px); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white !important;
    padding: 16px 40px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.4);
    font-family: 'Lato', sans-serif;
    white-space: nowrap;
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
    color: white !important;
    text-decoration: none !important;
}


/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
    padding: 120px 20px;
    background: linear-gradient(135deg, var(--sage-dark) 0%, #1e3025 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 50%, rgba(143, 170, 139, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 50%, rgba(201, 169, 97, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-size: 48px;
    color: white;
    line-height: 1.15;
    margin-bottom: 16px;
}

.final-cta-content h2 em {
    font-style: italic;
    color: var(--gold);
}

.final-cta-content > p {
    font-size: 19px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 48px;
}

/* Gold override for btn-primary on dark CTA background */
.final-cta-content .btn-primary {
    background: var(--gold);
    color: var(--sage-dark) !important;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.3);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.final-cta-content .btn-primary:hover {
    background: white !important;
    color: var(--sage-dark) !important;
    box-shadow: 0 8px 32px rgba(201, 169, 97, 0.35);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    flex-wrap: wrap;
}

.cta-link {
    color: rgba(255,255,255,0.85);
    font-family: 'Lato', sans-serif;
    font-size: 0.9375rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: color 0.2s, border-color 0.2s;
}

.cta-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--sage-dark);
    color: white;
    padding: 50px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 50px;
}

.footer-column h3 {
    color: var(--gold);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li { margin-bottom: 12px; }

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--gold);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon i { line-height: 1; }

.social-icon:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer-tagline {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-top: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 16px;
    opacity: 0.8;
    margin: 0;
}

.footer-trademarks {
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.5;
}


/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.hero-fade {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.8s ease forwards;
}

.hero-fade-1 { animation-delay: 0.2s; }
.hero-fade-2 { animation-delay: 0.4s; }
.hero-fade-3 { animation-delay: 0.6s; }
.hero-fade-4 { animation-delay: 0.8s; }

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


/* ==========================================================================
   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;
}


/* ==========================================================================
   RESPONSIVE: TABLET (968px and below)
   ========================================================================== */
@media (max-width: 968px) {
    .hero-section h1 { font-size: 42px; }
    .section-header h2 { font-size: 36px; }
}


/* ==========================================================================
   RESPONSIVE: MOBILE (768px and below)
   ========================================================================== */
@media (max-width: 768px) {
    .header-right { display: none; }

    .header-content {
        gap: 8px;
        padding: 0 16px;
    }

    .mobile-menu-toggle {
        display: block;
        padding: 8px 12px;
        margin-right: 0;
    }

    /* Logo: 20px minimum — was incorrectly 16px */
    .logo {
        font-size: 20px;
        letter-spacing: 0.5px;
    }

    .logo sup { font-size: 11px; }

    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 1rem 1rem 5.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-section .hero-container { width: 100%; }

    .hero-section h1 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
        line-height: 1.2;
    }

    .hero-section .eyebrow {
        font-size: 0.6875rem;
        margin-bottom: 1.25rem;
        letter-spacing: 1.5px;
    }

    /* hero-subtitle: 18px floor enforced — was dropping to 16px */
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    /* Hero CTA: full-width scoped to hero context only */
    .hero-cta {
        width: 100%;
        max-width: 340px;
        font-size: 16px;
        min-height: 50px;
        padding: 16px 32px;
        border-radius: 50px !important;
    }

    .hero-scroll-hint {
        display: flex !important;
        position: fixed;
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
    }

    .hero-scroll-hint span {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .scroll-line { height: 30px; }

    /* NOTE: .btn-primary and .btn-secondary are NOT forced full-width here.
       Individual page templates control their own button widths in context.
       Only hero-cta and final-cta-content .btn-primary get width treatment. */

    .section-header h2 { font-size: 30px; }

    .final-cta-section { padding: 64px 20px; }

    .final-cta-content h2 { font-size: 32px; }

    .final-cta-content > p {
        font-size: 18px;
        margin-bottom: 36px;
    }

    .final-cta-content .btn-primary {
        width: 100%;
        max-width: 340px;
        padding: 16px 36px;
        font-size: 16px;
        min-height: 50px;
        border-radius: 50px !important;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-column { text-align: center; }
    .footer-social { justify-content: center; }
}


/* ==========================================================================
   RESPONSIVE: SMALL MOBILE (480px and below)
   ========================================================================== */
@media (max-width: 480px) {
    .hero-section h1 { font-size: 28px; }
    /* hero-subtitle stays at 18px — no reduction below framework minimum */
    .hero-subtitle { font-size: 18px; }
    .section-header h2 { font-size: 26px; }
    .final-cta-content h2 { font-size: 26px; }
}


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