/* ================================================================
   HEADSEAS — Premium Boat Builder
   Naval Grey Theme — Hybrid: dark header/footer/heroes/CTAs,
   white content sections, steel-grey accents
   ================================================================ */

/* ── CSS Custom Properties ────────────────────────────────────── */
:root {
    /* ── DARK BACKGROUNDS (header, footer, heroes, CTAs) ── */
    --color-bg-primary:     #0B1E38;   /* Deep ocean navy */
    --color-bg-secondary:   #142D52;   /* Cards on dark, nav bg */
    --color-bg-elevated:    #1A3560;   /* Hover states on dark */
    --color-bg-overlay:     #0A1628;   /* Darkest — hero overlays, footer */

    /* ── LIGHT BACKGROUNDS (content sections) ── */
    --color-light-bg:       #FFFFFF;   /* Main content background */
    --color-light-bg-alt:   #F7F8FA;   /* Alternate content sections */
    --color-light-bg-card:  #FFFFFF;   /* Cards on light sections */
    --color-light-border:   #E2E5EA;   /* Borders on light sections */
    --color-light-divider:  #EEF0F3;   /* Dividers on light sections */

    /* ── LIGHT SECTION TEXT ── */
    --color-light-text:         #1A2332;   /* Primary text on light bg */
    --color-light-text-secondary: #4A5568; /* Secondary text on light bg */
    --color-light-text-muted:    #8899A6;  /* Muted text on light bg */

    /* ── ACCENT / GREY ── */
    --color-accent:         #6B7280;   /* PRIMARY grey — buttons, borders, icons */
    --color-accent-light:   #9CA3AF;   /* Highlight text, italic headings, hover state */
    --color-accent-bright:  #D1D5DB;   /* Brightest grey — logo accent, active nav */
    --color-accent-muted:   #4B5563;   /* Subtle grey — dividers, underlines */
    --color-accent-glow:    rgba(156, 163, 175, 0.12); /* Grey glow for shadows/halos */

    /* ── TEXT (dark sections) ── */
    --color-text-primary:   #F2EDE3;   /* Main body text on dark — warm white */
    --color-text-secondary: #C4BAA8;   /* Subheadings on dark */
    --color-text-muted:     #6B7280;   /* Placeholders, disabled */
    --color-text-inverse:   #0B1E38;   /* Text ON filled buttons */

    /* ── BORDERS & LINES (dark sections) ── */
    --color-border:         rgba(156, 163, 175, 0.18); /* Subtle grey borders */
    --color-border-strong:  rgba(156, 163, 175, 0.45); /* Hover borders */
    --color-divider:        rgba(242, 237, 227, 0.07); /* Section dividers */

    /* ── FUNCTIONAL ── */
    --color-success:        #4A7C5E;   /* Form success — muted teal */
    --color-error:          #8B3A3A;   /* Error states — deep red */
    --color-focus:          #9CA3AF;   /* Focus rings — matches accent */

    /* Legacy aliases */
    --navy-950: #0A1628;
    --navy-900: #0B1E38;
    --navy-800: #142D52;
    --navy-700: #1A3560;

    --steel-200: #D1D5DB;
    --steel-300: #9CA3AF;
    --steel-400: #6B7280;
    --steel-500: #4B5563;

    /* Semantic shortcuts */
    --bg:         var(--color-light-bg);
    --bg-muted:   var(--color-light-bg-alt);
    --text:       var(--color-light-text);
    --text-muted: var(--color-light-text-secondary);
    --accent:     var(--color-accent);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-py: 6rem;
    --container-px: 1.5rem;
    --container-max: 1200px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-light-text);
    background-color: var(--color-light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout: flex column so footer sticks to bottom */
.site-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.site-main {
    flex: 1;
}

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

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

ul {
    list-style: none;
}

/* ── Utility ──────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.text-gradient-grey {
    background: linear-gradient(135deg, var(--color-accent-bright), var(--color-accent-light), var(--color-accent-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Keep old class name as alias */
.text-gradient-gold {
    background: linear-gradient(135deg, var(--color-accent-bright), var(--color-accent-light), var(--color-accent-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Animations ───────────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s var(--ease) both;
}
.animate-fade-in-up {
    animation: fadeInUp 0.8s var(--ease) both;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-align: center;
    letter-spacing: 0.02em;
}

/* Grey filled button on DARK sections — text is warm white */
.btn-hero {
    background: var(--color-accent);
    color: var(--color-text-primary);
    border-color: var(--color-accent);
}
.btn-hero:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--color-accent-glow);
}

/* Outline button on DARK sections — grey border + grey text */
.btn-hero-outline {
    background: transparent;
    color: var(--color-accent-light);
    border-color: var(--color-border-strong);
}
.btn-hero-outline:hover {
    border-color: var(--color-accent-light);
    background: rgba(156, 163, 175, 0.08);
    transform: translateY(-2px);
}

/* Primary button for LIGHT sections */
.btn-primary {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    border-color: var(--color-bg-primary);
}
.btn-primary:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.25);
}

/* ── Header / Nav (DARK) ─────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11, 30, 56, 0.80);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
    border-bottom: 1px solid var(--color-divider);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem var(--container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
}
.nav-logo-img {
    height: 25px;
    width: auto;
    display: block;
}

/* Desktop nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-accent);
    letter-spacing: 0.04em;
    transition: color 0.25s var(--ease);
}
.nav-link:hover,
.nav-link--active {
    color: var(--color-accent-bright);
}

/* Nav CTA button */
.btn-nav-cta {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    background: var(--color-accent);
    color: var(--color-text-primary);
    border: 2px solid var(--color-accent);
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease);
}
.btn-nav-cta:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--color-accent-glow);
}

/* ── Hamburger Toggle (mobile only) ──────────────────────────── */
.nav-toggle {
    display: none; /* hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    width: 36px;
    height: 36px;
    position: relative;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s var(--ease);
}
.nav-toggle-icon {
    top: 50%;
    transform: translate(-50%, -50%);
}
.nav-toggle-icon::before {
    content: '';
    top: -7px;
    left: 0;
    transform: none;
}
.nav-toggle-icon::after {
    content: '';
    top: 7px;
    left: 0;
    transform: none;
}

/* Animate to X when open */
.nav-open .nav-toggle-icon {
    background: transparent;
}
.nav-open .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-open .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ── Mobile Nav Overlay (DARK) ───────────────────────────────── */
.mobile-nav {
    display: none;
    background: rgba(10, 22, 40, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 2rem 0;
}

.nav-open .mobile-nav {
    display: block;
    animation: fadeIn 0.25s var(--ease);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--color-accent);
    letter-spacing: 0.04em;
    transition: color 0.25s var(--ease);
}
.mobile-nav-link:hover,
.mobile-nav-link--active {
    color: var(--color-accent-bright);
}

/* ── Hero Section (DARK) ─────────────────────────────────────── */

/* Outer wrapper — light bg behind the card's bottom half */
.hero-section {
    background: var(--color-light-bg);
}

/* Image band — 80 % viewport, no flex centering (text is in the card) */
.hero {
    position: relative;
    height: 80vh;
    min-height: 32rem;          /* safety floor on short screens */
    overflow: hidden;
    background: var(--color-bg-overlay);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Subtle overlay — lighter than before since text has its own card */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.20) 0%,
        rgba(10, 22, 40, 0.35) 60%,
        rgba(10, 22, 40, 0.55) 100%
    );
}

/* Card positioning wrapper — negative margin pulls card up into image */
.hero-card-wrap {
    position: relative;
    z-index: 2;
    margin-top: -10rem;
    padding-bottom: 3rem;       /* breathing room before next section */
}

/* The floating glass card — Apple-style frosted glassmorphism */
.hero-card {
    background: rgba(11, 30, 56, 0.62);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3.5rem 4rem;
    margin: 0 auto;
    text-align: center;
    box-shadow:
        0 24px 64px rgba(10, 22, 40, 0.30),
        0 4px 16px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.hero-tagline {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.70);
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-description {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    max-width: 34rem;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Button overrides inside the glass card for maximum contrast */
.hero-card .btn-hero {
    background: #FFFFFF;
    color: var(--color-bg-primary);
    border-color: #FFFFFF;
}
.hero-card .btn-hero:hover {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.18);
}

.hero-card .btn-hero-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.35);
}
.hero-card .btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.60);
}

/* ── Models Carousel (DARK) ─────────────────────────────────── */
.models-carousel {
    background: var(--color-bg-overlay);
    padding: 3.5rem 0 4rem;
    overflow: hidden;
}

/* ─ Tabs row ─ */
.carousel-tabs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 2.5rem;
}
.carousel-tabs-wrap::-webkit-scrollbar { display: none; }

.carousel-tabs {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 1rem;
    padding: 0 var(--container-px);
    min-width: max-content;
    margin: 0 auto;
}

.carousel-tab {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem 0.75rem;
    white-space: nowrap;
    transition: color 0.3s var(--ease), font-size 0.3s var(--ease), transform 0.3s var(--ease);
    position: relative;
}

.carousel-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--color-accent-bright);
    border-radius: 1px;
    transition: transform 0.3s var(--ease);
}

.carousel-tab:hover {
    color: var(--color-accent-light);
}

.carousel-tab--active {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.carousel-tab--active::after {
    transform: translateX(-50%) scaleX(1);
}

/* ─ Track (horizontally scrollable) ─ */
.carousel-track-wrap {
    overflow: visible;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Center first/last slide: 50vw minus half the slide width */
    padding: 2rem calc(50vw - 220px) 5rem;
    align-items: center;
}
.carousel-track::-webkit-scrollbar { display: none; }

/* ─ Individual slide ─ */
.carousel-slide {
    flex: 0 0 440px;
    scroll-snap-align: center;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
    opacity: 0.40;
    transform: scale(0.80) translateY(50px);   /* pushed well below the active */
}

.carousel-slide:hover {
    opacity: 0.60;
}

/* The "active" slide — bigger, raised, fully visible */
.carousel-slide--active {
    opacity: 1;
    transform: scale(1.08) translateY(0);
    z-index: 2;
}

.carousel-slide-img {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.carousel-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}
.carousel-slide:hover .carousel-slide-img img {
    transform: scale(1.04);
}

.carousel-slide-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-elevated));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.carousel-slide-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.25rem 1rem;
    background: linear-gradient(transparent, rgba(10, 22, 40, 0.85));
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    pointer-events: none;
}

/* ── Section Common (LIGHT) ──────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-tagline {
    font-family: var(--font-body);
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-light-text);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Tagline variant for DARK sections */
.section-tagline--light {
    color: var(--color-accent-bright);
}

/* ── Features Section (WHITE) ────────────────────────────────── */
.features {
    padding: 0 0 var(--section-py);
    background: var(--color-light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.features-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(107, 114, 128, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--color-accent);
    transition: background 0.3s var(--ease);
}
.feature-card:hover .feature-icon {
    background: rgba(107, 114, 128, 0.15);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-light-text);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-light-text-secondary);
    line-height: 1.65;
}

/* ── What Makes HEADSEAS Different (LIGHT ALT) ────────────────── */
.difference {
    padding: var(--section-py) 0;
    background: var(--color-light-bg-alt);
}

.difference-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    align-items: center;
}

.difference-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.12);
}

.difference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.difference-image-placeholder {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--color-light-bg-alt), var(--color-light-border));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light-text-secondary);
}

/* Thin gold decorative line */
.difference-rule {
    display: block;
    width: 3rem;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-accent-bright), var(--color-accent-light));
    margin-bottom: 1.5rem;
}

.difference-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.8vw, 2.75rem);
    font-weight: 700;
    color: var(--color-light-text);
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.difference-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-light-text-secondary);
    line-height: 1.8;
}

/* ── Featured Models Section (LIGHT ALT) ─────────────────────── */
.featured-models {
    padding: var(--section-py) 0;
    background: var(--color-light-bg-alt);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.model-card {
    background: var(--color-light-bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-light-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.model-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--color-accent);
}

.model-image-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.model-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.model-card:hover .model-image-wrap img {
    transform: scale(1.05);
}

.model-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-light-bg-alt), var(--color-light-border));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light-text-muted);
}

.model-info {
    padding: 1.5rem;
}
.model-category {
    font-family: var(--font-body);
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}
.model-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-light-text);
    margin-bottom: 0.25rem;
}
.model-length {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-light-text-secondary);
}

/* ── CTA Section (DARK) ──────────────────────────────────────── */
.cta-section {
    padding: var(--section-py) 0;
    background: linear-gradient(135deg, var(--color-bg-overlay) 0%, var(--color-bg-secondary) 100%);
    color: var(--color-text-primary);
}

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

.cta-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.cta-description {
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    max-width: 38rem;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* ── Footer (DARK) ───────────────────────────────────────────── */
.site-footer {
    background: var(--color-bg-overlay);
    color: var(--color-text-secondary);
}

.footer-inner {
    padding-top: 4rem;
    padding-bottom: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

/* Footer columns */
.footer-col--brand {
    grid-column: span 1;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-logo-img {
    height: 25px;
    width: auto;
    display: block;
}

.footer-about {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent-bright);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-links a {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    transition: color 0.25s var(--ease);
}
.footer-links a:hover {
    color: var(--color-accent-bright);
}

.footer-links--plain {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-links--plain li {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* Contact list with icons */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}
.footer-contact svg {
    flex-shrink: 0;
    color: var(--color-accent-light);
    margin-top: 2px;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid var(--color-divider);
    margin-top: 3rem;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ── Models Page — Hero (DARK) ───────────────────────────────── */
.models-hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--color-bg-overlay) 0%, var(--color-bg-secondary) 100%);
    color: var(--color-text-primary);
    text-align: center;
}

.models-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.models-hero-desc {
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    font-size: 1.15rem;
    max-width: 38rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Models Page — Boat Articles (WHITE) ─────────────────────── */
.models-list {
    padding: var(--section-py) 0;
    background: var(--color-light-bg);
}

.models-list-inner {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.boat-article {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .boat-article {
        flex-direction: row;
    }
    .boat-article--reverse {
        flex-direction: row-reverse;
    }
}

.boat-article-image {
    flex: 0 0 50%;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .boat-article-image {
        max-width: 50%;
    }
}

.boat-image-wrap {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    border: 1px solid var(--color-light-border);
}

.boat-image-wrap img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}

.boat-article:hover .boat-image-wrap img {
    transform: scale(1.03);
}

.boat-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--color-light-bg-alt), var(--color-light-border));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light-text-muted);
}

.boat-article-content {
    flex: 1;
}

.boat-category {
    font-family: var(--font-body);
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.boat-name {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-light-text);
    margin-bottom: 1rem;
}

.boat-description {
    font-family: var(--font-body);
    color: var(--color-light-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.boat-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.boat-spec-badge {
    font-family: var(--font-body);
    font-size: 0.85rem;
    background: var(--color-light-bg-alt);
    color: var(--color-light-text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--color-light-border);
}

.models-empty {
    text-align: center;
    color: var(--color-light-text-secondary);
    font-size: 1.1rem;
    padding: 4rem 0;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .difference-grid {
        gap: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    .footer-col--brand {
        grid-column: span 2;
    }

    /* Carousel tablet */
    .carousel-slide {
        flex: 0 0 360px;
        transform: scale(0.80) translateY(40px);
    }
    .carousel-slide--active {
        transform: scale(1.06) translateY(0);
    }
    .carousel-track {
        padding: 2rem calc(50vw - 180px) 4.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 4rem;
    }

    /* Show hamburger, hide desktop links */
    .nav-toggle {
        display: block;
    }
    .nav-links {
        display: none;
    }

    /* Header gets solid bg on mobile */
    .site-header {
        background: rgba(11, 30, 56, 0.95);
    }

    .features-grid,
    .features-grid--3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .difference-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .difference-image {
        border-radius: 12px;
    }

    .difference-heading {
        font-size: 1.5rem;
    }

    .difference-text {
        font-size: 0.95rem;
    }

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

    .hero {
        height: 65vh;
        min-height: 24rem;
    }

    .hero-card-wrap {
        margin-top: -8rem;
        padding-bottom: 2rem;
    }

    .hero-card {
        padding: 2rem 1.5rem;
        border-radius: 14px;
    }

    /* Carousel mobile */
    .models-carousel {
        padding: 2.5rem 0 3rem;
    }

    .carousel-tabs {
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .carousel-tab {
        font-size: 0.95rem;
    }
    .carousel-tab--active {
        font-size: 1.3rem;
    }

    .carousel-track {
        gap: 0.75rem;
        padding: 1.5rem calc(50vw - 125px) 3.5rem;
    }

    .carousel-slide {
        flex: 0 0 250px;
        transform: scale(0.82) translateY(30px);
    }
    .carousel-slide--active {
        transform: scale(1.04) translateY(0);
    }

    .carousel-slide-label {
        font-size: 1.15rem;
        padding: 2rem 1rem 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-contact li {
        justify-content: center;
    }

    /* Models page mobile */
    .models-hero {
        padding: 8rem 0 3rem;
    }
    .boat-article,
    .boat-article--reverse {
        flex-direction: column;
    }
    .boat-article-image {
        max-width: 100%;
    }
    .boat-specs {
        justify-content: center;
    }
}

/* ================================================================
   BOAT DETAIL PAGE
   Inspired by regulatormarine.com — adapted for HEADSEAS theme
   ================================================================ */

/* ── Detail Hero (DARK) ──────────────────────────────────────── */
.detail-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg-overlay);
}

.detail-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.30) 0%,
        rgba(10, 22, 40, 0.50) 40%,
        rgba(10, 22, 40, 0.90) 100%
    );
}

.detail-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-bottom: 4rem;
    padding-top: 8rem;
}

.detail-hero-category {
    font-family: var(--font-body);
    color: var(--color-accent-bright);
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.detail-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.detail-hero-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--color-accent-light);
    margin-bottom: 2rem;
}

/* Hero key stats bar */
.detail-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.detail-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
}

.detail-hero-stat-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: 0.25rem;
}

.detail-hero-stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-text-primary);
}

.detail-hero-stat-divider {
    width: 1px;
    height: 3rem;
    background: var(--color-border);
}

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

/* ── Detail Overview (WHITE) ─────────────────────────────────── */
.detail-overview {
    padding: var(--section-py) 0;
    background: var(--color-light-bg);
}

.detail-overview-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .detail-overview-grid {
        flex-direction: row;
        gap: 4rem;
    }
}

.detail-overview-text {
    flex: 1;
}

.detail-overview-text .section-heading {
    margin-bottom: 1.5rem;
}

.detail-overview-body {
    font-family: var(--font-body);
    color: var(--color-light-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.detail-overview-body p {
    margin-bottom: 1rem;
}

.detail-overview-image {
    flex: 0 0 45%;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .detail-overview-image {
        max-width: 45%;
    }
}

.detail-overview-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    border: 1px solid var(--color-light-border);
}

/* ── Detail Quick Stats (DARK) ───────────────────────────────── */
.detail-specs {
    padding: var(--section-py) 0;
    background: linear-gradient(135deg, var(--color-bg-overlay) 0%, var(--color-bg-secondary) 100%);
    color: var(--color-text-primary);
}

.detail-specs-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text-primary);
}

.detail-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.detail-spec-card {
    background: rgba(242, 237, 227, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.detail-spec-card:hover {
    background: rgba(242, 237, 227, 0.08);
    border-color: var(--color-border-strong);
    transform: translateY(-3px);
}

.detail-spec-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: 0.5rem;
}

.detail-spec-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

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

@media (max-width: 768px) {
    .detail-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .detail-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Detail Feature Highlights (LIGHT ALT) ───────────────────── */
.detail-features {
    padding: var(--section-py) 0;
    background: var(--color-light-bg-alt);
}

.detail-features-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.detail-feature {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .detail-feature {
        flex-direction: row;
    }
    .detail-feature--reverse {
        flex-direction: row-reverse;
    }
}

.detail-feature-image {
    flex: 0 0 50%;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .detail-feature-image {
        max-width: 50%;
    }
}

.detail-feature-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-light-border);
    transition: transform 0.5s var(--ease);
}

.detail-feature:hover .detail-feature-image img {
    transform: scale(1.02);
}

.detail-feature-content {
    flex: 1;
}

.detail-feature-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-light-text);
    margin-bottom: 1rem;
}

.detail-feature-desc {
    font-family: var(--font-body);
    color: var(--color-light-text-secondary);
    font-size: 1rem;
    line-height: 1.75;
}

/* ── Detail Photo Gallery (WHITE) ────────────────────────────── */
.detail-gallery {
    padding: var(--section-py) 0;
    background: var(--color-light-bg);
}

/* Desktop: masonry-style varied grid */
.detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 0.75rem;
}

.detail-gallery-item--hero {
    grid-column: span 2;
    grid-row: span 2;
}

/* Alternate large tiles for visual variety */
.detail-gallery-item:nth-child(4) {
    grid-column: span 2;
}
.detail-gallery-item:nth-child(5) {
    grid-row: span 2;
}

.detail-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.detail-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}

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

.detail-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(10, 22, 40, 0.85));
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Tablet: 3-col grid */
@media (max-width: 1024px) {
    .detail-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }
    .detail-gallery-item:nth-child(4) {
        grid-column: span 1;
    }
    .detail-gallery-item:nth-child(5) {
        grid-row: span 1;
    }
}

/* Mobile: horizontal carousel */
@media (max-width: 768px) {
    .detail-gallery-grid {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.5rem;
    }
    .detail-gallery-grid::-webkit-scrollbar { display: none; }
    .detail-gallery-item,
    .detail-gallery-item--hero {
        flex: 0 0 78vw;
        scroll-snap-align: start;
        aspect-ratio: 4 / 3;
        grid-column: auto;
        grid-row: auto;
    }
    .detail-gallery-item:nth-child(4),
    .detail-gallery-item:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
    }
}

/* ── Detail Standards & Options — Tabs (LIGHT ALT) ───────────── */
.detail-standards {
    padding: var(--section-py) 0;
    background: var(--color-light-bg-alt);
}

.detail-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.detail-tab {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    border: 2px solid var(--color-light-border);
    background: var(--color-light-bg-card);
    color: var(--color-light-text-secondary);
    cursor: pointer;
    transition: all 0.25s var(--ease);
    letter-spacing: 0.02em;
}

.detail-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-light-text);
}

.detail-tab--active {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    border-color: var(--color-bg-primary);
}

.detail-tab--active:hover {
    color: var(--color-text-primary);
}

.detail-tab-panel {
    display: none;
}

.detail-tab-panel--active {
    display: block;
    animation: fadeIn 0.3s var(--ease);
}

.detail-tab-content {
    background: var(--color-light-bg-card);
    border-radius: 10px;
    padding: 2.5rem;
    border: 1px solid var(--color-light-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Mobile: underline-style tabs */
@media (max-width: 768px) {
    .detail-tabs {
        gap: 0;
        margin-bottom: 1.5rem;
        flex-wrap: nowrap;
        border-bottom: 2px solid var(--color-light-border);
    }
    .detail-tab {
        flex: 1;
        border: none;
        border-radius: 0;
        background: transparent;
        padding: 0.85rem 0.5rem;
        font-size: 0.9rem;
        text-align: center;
        color: var(--color-light-text-secondary);
        position: relative;
    }
    .detail-tab::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--color-accent);
        transform: scaleX(0);
        transition: transform 0.25s var(--ease);
    }
    .detail-tab--active {
        background: transparent;
        color: var(--color-light-text);
        border: none;
    }
    .detail-tab--active::after {
        transform: scaleX(1);
    }
    .detail-tab:hover {
        color: var(--color-light-text);
        border-color: transparent;
    }
    .detail-tab-content {
        border-radius: 8px;
        padding: 1.5rem 1.25rem;
    }
}

.detail-tab-content.rich-text ul,
.detail-tab-content.rich-text ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.detail-tab-content.rich-text li {
    font-family: var(--font-body);
    color: var(--color-light-text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    list-style: disc;
    padding-left: 0.25rem;
}

.detail-tab-content.rich-text h3,
.detail-tab-content.rich-text h4 {
    font-family: var(--font-display);
    color: var(--color-light-text);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.detail-tab-content.rich-text p {
    font-family: var(--font-body);
    color: var(--color-light-text-secondary);
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* ── Detail CTA Section (DARK) ───────────────────────────────── */
.detail-cta {
    padding: var(--section-py) 0;
    background: linear-gradient(135deg, var(--color-bg-overlay) 0%, var(--color-bg-secondary) 100%);
    color: var(--color-text-primary);
}

.detail-cta-inner {
    text-align: center;
}

.detail-cta-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.detail-cta-desc {
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    max-width: 38rem;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

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

/* ── Back to Fleet Link (LIGHT ALT) ──────────────────────────── */
.detail-back {
    background: var(--color-light-bg-alt);
}

.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-light-text-secondary);
    transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.detail-back-link:hover {
    color: var(--color-accent);
    gap: 0.75rem;
}

.detail-back-link svg {
    transition: transform 0.25s var(--ease);
}

.detail-back-link:hover svg {
    transform: translateX(-3px);
}

/* ── Detail Page Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
    .detail-hero {
        min-height: 70vh;
    }

    .detail-hero-content {
        padding-bottom: 2.5rem;
        padding-top: 6rem;
    }

    .detail-hero-stat {
        padding: 0 1rem;
    }

    .detail-hero-stat-divider {
        height: 2.5rem;
    }

    .detail-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .detail-hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .detail-overview-grid {
        flex-direction: column;
    }

    .detail-overview-image {
        max-width: 100%;
    }

    .detail-feature,
    .detail-feature--reverse {
        flex-direction: column;
    }

    .detail-feature-image {
        max-width: 100%;
    }

    .detail-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .detail-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */

/* ── About Hero (DARK) ───────────────────────────────────────── */
.about-hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--color-bg-overlay) 0%, var(--color-bg-secondary) 100%);
    color: var(--color-text-primary);
    text-align: center;
}

.about-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.about-hero-desc {
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    font-size: 1.15rem;
    max-width: 38rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Story Section (WHITE) ───────────────────────────────────── */
.about-story {
    padding: var(--section-py) 0;
    background: var(--color-light-bg);
}

.about-story-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-story-grid {
        flex-direction: row;
        gap: 4rem;
    }
}

.about-story-image {
    width: 100%;
}

@media (min-width: 1024px) {
    .about-story-image {
        width: 50%;
        flex-shrink: 0;
    }
}

.about-story-image img {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    border: 1px solid var(--color-light-border);
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* ── Differentiator Section (dark glass, full container width) ──── */
.about-differentiator {
    padding: 3.5rem 0;
    background: var(--color-light-bg-alt);
}

.about-differentiator .about-glass-card {
    background: rgba(11, 30, 56, 0.62);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3.5rem 4rem;
    text-align: center;
    box-shadow:
        0 24px 64px rgba(10, 22, 40, 0.30),
        0 4px 16px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.about-glass-heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.about-glass-heading .text-gradient-gold {
    background: linear-gradient(135deg, var(--color-accent-bright), var(--color-accent-light), var(--color-accent-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-glass-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin: 0 auto;
    max-width: 44rem;
}

@media (max-width: 768px) {
    .about-differentiator {
        padding: 2rem 0;
    }
    .about-differentiator .about-glass-card {
        padding: 2.5rem 1.5rem;
        border-radius: 14px;
    }
    .about-glass-heading {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }
    .about-glass-text {
        font-size: 0.95rem;
    }
}

.about-story-text {
    flex: 1;
}

.about-story-heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-light-text);
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.about-story-body {
    font-family: var(--font-body);
    color: var(--color-light-text-secondary);
    font-size: 1rem;
    line-height: 1.75;
}

.about-story-body p {
    margin-bottom: 1rem;
}

/* ── Stats Section (LIGHT ALT) ───────────────────────────────── */
.about-stats {
    padding: var(--section-py) 0;
    background: var(--color-light-bg-alt);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

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

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

.about-stat-icon {
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
}

.about-stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-light-text);
    line-height: 1.1;
}

.about-stat-label {
    font-family: var(--font-body);
    color: var(--color-light-text-secondary);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* ── Values Section (WHITE) ──────────────────────────────────── */
.about-values {
    padding: var(--section-py) 0;
    background: var(--color-light-bg);
}

.about-values-inner {
    max-width: 48rem;
    margin: 0 auto;
}

.about-values-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-light-text);
    text-align: center;
    margin-bottom: 3rem;
}

.about-values-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-value-card {
    border-left: 4px solid var(--color-accent);
    padding-left: 1.5rem;
}

.about-value-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-light-text);
    margin-bottom: 0.5rem;
}

.about-value-desc {
    font-family: var(--font-body);
    color: var(--color-light-text-secondary);
    line-height: 1.7;
}

/* About responsive */
@media (max-width: 768px) {
    .about-hero {
        padding: 8rem 0 3rem;
    }
    .about-story-grid {
        flex-direction: column;
    }
    .about-story-image {
        width: 100%;
    }
}


/* ================================================================
   CONTACT PAGE
   ================================================================ */

/* ── Contact Hero (DARK) ─────────────────────────────────────── */
.contact-hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--color-bg-overlay) 0%, var(--color-bg-secondary) 100%);
    color: var(--color-text-primary);
    text-align: center;
}

.contact-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.contact-hero-desc {
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    font-size: 1.15rem;
    max-width: 38rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Contact Main Grid (WHITE) ───────────────────────────────── */
.contact-main {
    padding: var(--section-py) 0;
    background: var(--color-light-bg);
}

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

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

/* ── Sidebar ─────────────────────────────────────────────────── */
.contact-sidebar-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-light-text);
    margin-bottom: 2rem;
}

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

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(107, 114, 128, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
}

.contact-info-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-light-text);
    margin-bottom: 0.15rem;
}

.contact-info-detail {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-light-text-secondary);
    line-height: 1.6;
}

/* ── Contact Form ────────────────────────────────────────────── */
.contact-form-card {
    background: var(--color-light-bg-card);
    border-radius: 10px;
    border: 1px solid var(--color-light-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
}

@media (min-width: 768px) {
    .contact-form-card {
        padding: 3rem;
    }
}

.contact-form-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-light-text);
    margin-bottom: 0.25rem;
}

.contact-form-desc {
    font-family: var(--font-body);
    color: var(--color-light-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row--half {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .form-row--half {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-light-text);
    margin-bottom: 0.4rem;
}

.form-input {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--color-light-border);
    border-radius: 6px;
    background: var(--color-light-bg);
    color: var(--color-light-text);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-input::placeholder {
    color: var(--color-light-text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 7rem;
}

.form-error {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-error);
    margin-top: 0.3rem;
}

.contact-submit-btn {
    align-self: flex-start;
}

@media (max-width: 640px) {
    .contact-submit-btn {
        width: 100%;
    }
}

/* Success / error alert */
.contact-alert {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.contact-alert--success {
    background: rgba(74, 124, 94, 0.10);
    border: 1px solid rgba(74, 124, 94, 0.3);
    color: #3a7a54;
}

.contact-alert--error {
    background: rgba(139, 58, 58, 0.10);
    border: 1px solid rgba(139, 58, 58, 0.3);
    color: #8B3A3A;
}

/* Contact responsive */
@media (max-width: 768px) {
    .contact-hero {
        padding: 8rem 0 3rem;
    }
}


/* ================================================================
   EXPRESS INTEREST PAGE
   ================================================================ */

/* ── Interest Hero (DARK) ───────────────────────────────────────── */
.interest-hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--color-bg-overlay) 0%, var(--color-bg-secondary) 100%);
    color: var(--color-text-primary);
    text-align: center;
}

.interest-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.interest-hero-desc {
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    font-size: 1.15rem;
    max-width: 38rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Interest Form Section (WHITE) ──────────────────────────────── */
.interest-form-section {
    padding: var(--section-py) 0;
    background: var(--color-light-bg);
}

.interest-form-card {
    background: var(--color-light-bg-card);
    border-radius: 12px;
    border: 1px solid var(--color-light-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
    max-width: 44rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .interest-form-card {
        padding: 3rem 3.5rem;
    }
}

.interest-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ── Radio group — styled as clickable cards ────────────────────── */
.interest-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.interest-radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1.5px solid var(--color-light-border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
    background: var(--color-light-bg);
}

.interest-radio-option:hover {
    border-color: var(--color-accent);
    background: rgba(107, 114, 128, 0.03);
}

.interest-radio-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid var(--color-light-border);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s var(--ease);
}

.interest-radio-option input[type="radio"]:checked {
    border-color: var(--color-accent);
}

.interest-radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.5rem;
    height: 0.5rem;
    background: var(--color-accent);
    border-radius: 50%;
}

/* Highlight entire card when selected */
.interest-radio-option:has(input:checked) {
    border-color: var(--color-accent);
    background: rgba(107, 114, 128, 0.04);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.interest-radio-label {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-light-text);
    font-weight: 500;
}

/* ── Discount banner ────────────────────────────────────────────── */
.interest-discount-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(180, 140, 60, 0.08), rgba(180, 140, 60, 0.15));
    border: 1px solid rgba(180, 140, 60, 0.3);
    color: var(--color-accent-bright, #b48c3c);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    animation: slideDown 0.35s var(--ease);
}

.interest-discount-banner svg {
    flex-shrink: 0;
    color: var(--color-accent-bright, #b48c3c);
}

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

/* ── Submit button ──────────────────────────────────────────────── */
.interest-submit-btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .interest-submit-btn {
        width: 100%;
    }
}

/* ── Read-only form input (locked fields) ───────────────────────── */
.form-input[readonly] {
    background: var(--color-light-bg-alt);
    color: var(--color-light-text);
    cursor: not-allowed;
    opacity: 0.85;
    font-weight: 600;
}

/* ── Contact unified grid (form + sidebar) ──────────────────────── */
.contact-unified-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

.contact-unified-grid .interest-form-card {
    max-width: none;
}

/* ── Interest responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
    .interest-hero {
        padding: 8rem 0 3rem;
    }
    .interest-form-card {
        padding: 1.75rem 1.25rem;
    }
}


/* ================================================================
   404 NOT FOUND PAGE
   ================================================================ */
.notfound {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light-bg-alt);
    padding: 2rem;
}

.notfound-inner {
    text-align: center;
    max-width: 28rem;
}

.notfound-code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 12vw, 8rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-bg-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.notfound-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-light-text);
    margin-bottom: 1rem;
}

.notfound-desc {
    font-family: var(--font-body);
    color: var(--color-light-text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}


/* ================================================================
   BLOG PAGES
   ================================================================ */

/* ── Blog Hero — Index Page (DARK) ───────────────────────────── */
.blog-hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--color-bg-overlay) 0%, var(--color-bg-secondary) 100%);
    color: var(--color-text-primary);
    text-align: center;
}

.blog-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.blog-hero-desc {
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    font-size: 1.15rem;
    max-width: 38rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Blog Listing Grid (WHITE) ───────────────────────────────── */
.blog-listing {
    padding: var(--section-py) 0;
    background: var(--color-light-bg);
}

/* Magazine-style grid: featured (2-col span), medium, and standard cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ── Base card ─────────────────────────────────────────────────── */
.blog-card {
    background: var(--color-light-bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-light-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--color-accent);
}

.blog-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.blog-card-image-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-card-image-wrap img {
    transform: scale(1.05);
}

.blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-light-bg-alt), var(--color-light-border));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light-text-muted);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-light-text-muted);
}

.blog-card-date {
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-author {
    color: var(--color-light-text-muted);
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-light-text);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.blog-card-excerpt {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-light-text-secondary);
    line-height: 1.65;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-read-more {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: gap 0.25s var(--ease);
}

.blog-card:hover .blog-card-read-more {
    color: var(--color-accent-muted);
}

/* ── Featured card — spans full width, side-by-side layout ───── */
.blog-card--featured {
    grid-column: 1 / -1;
    border: 1px solid var(--color-border-strong);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

.blog-card--featured .blog-card-link {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 22rem;
}

.blog-card--featured .blog-card-image-wrap {
    aspect-ratio: auto;
    height: 100%;
}

.blog-card--featured .blog-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card--featured .blog-card-meta {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.blog-card--featured .blog-card-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.blog-card--featured .blog-card-excerpt {
    font-size: 1rem;
    -webkit-line-clamp: 4;
    margin-bottom: 1.5rem;
}

.blog-card--featured .blog-card-read-more {
    font-size: 0.95rem;
}

/* ── Medium cards — span 1.5 cols visually via wider col span ── */
.blog-card--medium {
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.08);
}

.blog-card--medium .blog-card-image-wrap {
    aspect-ratio: 16 / 10;
}

.blog-card--medium .blog-card-content {
    padding: 1.75rem;
}

.blog-card--medium .blog-card-title {
    font-size: 1.35rem;
}

.blog-card--medium .blog-card-excerpt {
    -webkit-line-clamp: 3;
    font-size: 0.92rem;
}

.blog-empty {
    text-align: center;
    color: var(--color-light-text-secondary);
    font-size: 1.1rem;
    padding: 4rem 0;
}

/* ── Blog Pagination ─────────────────────────────────────────── */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-light-divider);
}

.blog-pagination-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-light-text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    border: 1.5px solid var(--color-light-border);
    transition: all 0.25s var(--ease);
}

.blog-pagination-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    background: rgba(107, 114, 128, 0.05);
}

.blog-pagination-info {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-light-text-muted);
}

/* ── Blog Post Detail — Hero (DARK) ──────────────────────────── */
.blog-post-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg-overlay);
}

.blog-post-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.35) 0%,
        rgba(10, 22, 40, 0.55) 40%,
        rgba(10, 22, 40, 0.92) 100%
    );
}

.blog-post-hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 4rem;
    padding-top: 8rem;
    text-align: center;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.blog-post-date {
    color: var(--color-accent-light);
    font-weight: 600;
}

.blog-post-meta-sep {
    color: var(--color-text-muted);
}

.blog-post-author {
    color: var(--color-text-secondary);
}

.blog-post-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.15;
    margin-bottom: 1rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.blog-post-hero-intro {
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    font-size: 1.15rem;
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.blog-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    background: rgba(156, 163, 175, 0.12);
    color: var(--color-accent-light);
    border: 1px solid var(--color-border);
    letter-spacing: 0.02em;
}

/* ── Blog Post Detail — Body (WHITE) ─────────────────────────── */
.blog-post-body-section {
    padding: var(--section-py) 0;
    background: var(--color-light-bg);
}

.blog-post-body {
    max-width: 48rem;
    margin: 0 auto;
    font-family: var(--font-body);
    color: var(--color-light-text-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
}

.blog-post-body p {
    margin-bottom: 1.25rem;
}

.blog-post-body h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-light-text);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-body h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-light-text);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.blog-post-body h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-light-text);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-post-body ul,
.blog-post-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.blog-post-body li {
    list-style: disc;
    padding-left: 0.25rem;
    margin-bottom: 0.4rem;
}

.blog-post-body ol li {
    list-style: decimal;
}

.blog-post-body blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--color-light-bg-alt);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: var(--color-light-text);
}

.blog-post-body img {
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid var(--color-light-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.blog-post-body a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.25s var(--ease);
}

.blog-post-body a:hover {
    color: var(--color-accent-muted);
}

/* ── Back to Blog Link (LIGHT ALT) ──────────────────────────── */
.blog-back {
    background: var(--color-light-bg-alt);
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-light-text-secondary);
    transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.blog-back-link:hover {
    color: var(--color-accent);
    gap: 0.75rem;
}

.blog-back-link svg {
    transition: transform 0.25s var(--ease);
}

.blog-back-link:hover svg {
    transform: translateX(-3px);
}

/* ── Blog Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Featured card stacks vertically on tablet */
    .blog-card--featured .blog-card-link {
        grid-template-columns: 1fr;
    }

    .blog-card--featured .blog-card-image-wrap {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .blog-card--featured .blog-card-content {
        padding: 2rem;
    }

    .blog-card--featured .blog-card-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 8rem 0 3rem;
    }

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

    /* Featured card simplifies on mobile */
    .blog-card--featured .blog-card-content {
        padding: 1.5rem;
    }

    .blog-card--featured .blog-card-title {
        font-size: 1.35rem;
    }

    .blog-card--featured .blog-card-excerpt {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
    }

    .blog-post-hero {
        min-height: 60vh;
    }

    .blog-post-hero-content {
        padding-bottom: 2.5rem;
        padding-top: 6rem;
    }

    .blog-pagination {
        flex-direction: column;
        gap: 0.75rem;
    }
}
