/* ============================================
   HORIZON WINDOWS - Main Stylesheet
   ============================================ */

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

:root {
    /* ── Carpathian palette — gold anchor, forest soul ── */
    --color-bg: #f6f7f4;
    --color-surface: #ededea;
    --color-surface-2: #e3e4e0;
    --color-border: rgba(26,23,20,0.09);
    --color-text: #1a1714;
    --color-text-secondary: #4a4540;
    --color-text-muted: #8a8480;
    --color-accent: #c8a97e;
    --color-accent-light: #e0c9a6;
    --color-accent-dark: #a07d52;
    --color-accent-slate: #3d4e5c;
    --color-accent-forest: #4a6741;
    --color-dark: #1a1714;
    --color-success: #4ade80;
    --color-white: #ffffff;
    --color-light-bg: #ededea;
    --color-light-surface: #f6f7f4;
    --font-primary: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1320px;
    --nav-height: 96px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* --- Preloader --- */
#preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--color-bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-text {
    display: block; font-size: 2rem; font-weight: 700; letter-spacing: 0.3em;
    color: var(--color-text); margin-top: 1.5rem;
}
.preloader-subtext {
    display: block; font-size: 0.85rem; font-weight: 400; letter-spacing: 0.55em;
    color: var(--color-accent); margin-top: 0.35rem; text-align: center;
}
.preloader-line {
    width: 60px; height: 2px; background: rgba(0,0,0,0.12); margin: 0 auto;
    position: relative; overflow: hidden; border-radius: 2px;
}
.preloader-line::after {
    content: ''; position: absolute; left: -100%; top: 0; width: 100%; height: 100%;
    background: var(--color-accent);
    animation: preloaderSlide 1.2s ease-in-out infinite;
}
@keyframes preloaderSlide { 0% { left: -100%; } 100% { left: 100%; } }


/* --- Navigation --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 2rem; height: var(--nav-height);
    display: flex; align-items: center;
    background: #ffffff;
    box-shadow: 0 1px 0 var(--color-border);
    transition: box-shadow 0.4s;
}
.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-container {
    max-width: var(--max-width); margin: 0 auto; width: 100%;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }

/* ── Nav brand: logo mark + wordmark ── */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-brand-img {
    display: block;
    height: 80px;
    width: 80px;
    object-fit: contain;
}

/* footer logo (inline, smaller) */
.logo-textblock { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-img--footer { height: 80px; width: 80px; object-fit: contain; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { height: 80px; width: auto; display: block; }
.logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem; font-weight: 700; letter-spacing: 0.01em;
    color: var(--color-text); hyphens: none; white-space: nowrap;
    line-height: 1.1;
}
.logo-sub {
    font-family: var(--font-display);
    font-size: 0.85rem; font-weight: 400; letter-spacing: 0.06em;
    color: var(--color-accent); margin-top: 3px;
    hyphens: none; white-space: nowrap;
    line-height: 1.1;
}
.nav-links { display: flex; gap: 2rem; }
.nav-link {
    font-size: 0.85rem; font-weight: 500; color: var(--color-text-secondary);
    letter-spacing: 0.02em; transition: color var(--transition);
    position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px;
    background: var(--color-accent); transition: width var(--transition);
}
.nav-link:hover { color: var(--color-text); }
.nav-link:hover::after { width: 100%; }
.nav-partner {
    color: var(--color-accent) !important;
    opacity: 0.75;
    font-size: 0.8rem !important;
    border: 1px solid rgba(200,169,126,0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    transition: all var(--transition);
}
.nav-partner:hover { opacity: 1; border-color: var(--color-accent); background: rgba(200,169,126,0.06); }
.nav-partner::after { display: none; }
.nav-cta {
    padding: 0.6rem 1.5rem; font-size: 0.85rem; font-weight: 600;
    background: var(--color-accent); color: var(--color-text);
    border-radius: var(--radius-sm); transition: all var(--transition);
}
.nav-cta:hover { background: var(--color-accent-light); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span {
    width: 24px; height: 2px; background: var(--color-text);
    transition: all var(--transition); border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed; inset: 0; z-index: 999; background: rgba(10,10,10,0.98);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.4s;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu-inner { text-align: center; }
.mobile-link {
    display: block; font-size: 2rem; font-weight: 300; padding: 0.75rem 0;
    color: var(--color-text-secondary); transition: color var(--transition);
}
.mobile-link:hover { color: var(--color-accent); }
.mobile-cta {
    display: inline-block; margin-top: 2rem; padding: 1rem 2.5rem;
    background: var(--color-accent); color: var(--color-text);
    font-size: 1rem; font-weight: 600; border-radius: var(--radius-sm);
}

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 2rem; font-size: 0.9rem; font-weight: 600;
    border-radius: var(--radius-sm); transition: all var(--transition);
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--color-accent-forest); color: #ffffff;
}
.btn-primary:hover { background: #3a5232; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(74,103,65,0.35); }
.btn-ghost {
    border: 1.5px solid var(--color-border); color: var(--color-text);
}
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-slate {
    background: var(--color-accent-slate); color: #ffffff;
    border-radius: var(--radius-sm);
}
.btn-slate:hover { background: #2e3d4a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,78,92,0.3); }
.btn-forest {
    background: var(--color-accent-forest); color: #ffffff;
    border-radius: var(--radius-sm);
}
.btn-forest:hover { background: #3a5232; transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn-dark { background: var(--color-dark); color: #ffffff; }
.btn-hero-solid {
    display: inline-flex; align-items: center;
    padding: 0.85rem 2.2rem; font-size: 0.82rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    background: var(--color-text); color: #ffffff;
    border-radius: 2px; transition: all var(--transition);
}
.btn-hero-solid:hover { background: var(--color-accent); color: var(--color-text); transform: translateY(-2px); }
.btn-hero-outline {
    display: inline-flex; align-items: center;
    padding: 0.85rem 2.2rem; font-size: 0.82rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    background: var(--color-text); color: #ffffff;
    border: 1.5px solid var(--color-text);
    border-radius: 2px; transition: all var(--transition);
}
.btn-hero-outline:hover { background: var(--color-accent); color: var(--color-text); border-color: var(--color-accent); transform: translateY(-2px); }

/* --- Hero --- */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    overflow: hidden;
    color: #ffffff;
}
.hero .title-accent { color: var(--color-accent); }
.hero .stat-num { color: var(--color-accent); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-video, .hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.10) 100%);
    z-index: 1;
}
.hero-video, .hero-bg img {
    filter: brightness(1.12) contrast(1.06) saturate(1.1);
}
.hero-gradient { display: none; }
.hero-content {
    position: relative; z-index: 2; max-width: var(--max-width);
    margin: 0 auto; padding: 0 2rem;
    text-align: left;
    display: flex; flex-direction: column; align-items: flex-start;
}
.hero-badge {
    display: none;
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent-light);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
    font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700; line-height: 1.15; margin-bottom: 1.75rem;
    letter-spacing: -0.01em; max-width: 520px;
}
.title-line { display: block; }
.title-accent { color: var(--color-accent); font-style: italic; }
.hero-desc {
    display: none;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-start; }
.hero-stats {
    position: absolute; bottom: 2.5rem; left: 2.5rem; z-index: 3;
    display: flex; gap: 2rem; align-items: center;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.6);
    padding: 1.1rem 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
@media (max-width: 768px) { .hero-stats { display: none; } }
.stat { text-align: left; }
.stat-num { font-size: 2rem; font-weight: 700; color: var(--color-accent); }
.stat-unit { font-size: 0.85rem; font-weight: 400; color: var(--color-text-secondary); margin-left: 0.25rem; }
.stat-label { display: block; font-size: 0.75rem; color: var(--color-text-secondary); margin-top: 0.25rem; letter-spacing: 0.03em; }
.stat-divider { width: 1px; height: 40px; background: rgba(0,0,0,0.12); }

.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.75rem; z-index: 2;
}
.hero-scroll span { font-size: 0.7rem; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-line {
    width: 1px; height: 48px; background: rgba(255,255,255,0.15); position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 50%;
    background: var(--color-accent);
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -50%; } 100% { top: 100%; } }

/* --- Section Headers --- */
.section-header {
    text-align: center; max-width: 680px; margin: 0 auto 4rem;
    padding-top: 6rem;
}
.section-header.light .section-title, .section-header.light .section-desc { color: #ffffff; }
.section-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: #ffffff; margin-bottom: 1rem;
    padding: 0.4rem 1rem; border: 1px solid transparent;
    border-radius: 100px; background: var(--color-accent-forest);
}
.section-title {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400; line-height: 1.15; margin-bottom: 1rem;
}
.section-desc {
    font-size: 1.05rem; color: var(--color-text-secondary); line-height: 1.7;
}

/* --- Our Story Section --- */
.ourstory-section {
    background: var(--color-bg);
    padding: 7rem 2rem 0;
}
.ourstory-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--color-border);
}
.ourstory-main { display: flex; flex-direction: column; gap: 1.5rem; }
.ourstory-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400; line-height: 1.15;
    color: var(--color-text);
}
.ourstory-body { display: flex; flex-direction: column; gap: 1.1rem; }
.ourstory-body p {
    font-size: 1rem; color: var(--color-text-secondary);
    line-height: 1.8;
}
.ourstory-note {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.78rem; color: var(--color-text-muted);
    font-style: italic; margin-top: 0.5rem;
}
.ourstory-note svg { color: var(--color-accent); flex-shrink: 0; }

.ourstory-facts { display: flex; flex-direction: column; gap: 0; }
.ourstory-fact {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--color-border);
}
.ourstory-fact:first-child { padding-top: 0; }
.ourstory-origin {
    font-size: 0.68rem; font-weight: 800; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--color-accent);
    margin-bottom: 0.35rem;
}
.ourstory-fact-title {
    font-size: 1rem; font-weight: 700;
    color: var(--color-text); margin-bottom: 0.5rem;
}
.ourstory-fact-desc {
    font-size: 0.85rem; color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Journey strip */
.ourstory-journey {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex; align-items: flex-start;
    padding: 3rem 0 4rem;
    gap: 0;
}
.journey-stop {
    display: flex; flex-direction: column; align-items: center;
    gap: 0.6rem; flex: 0 0 auto;
    min-width: 120px; text-align: center;
}
.journey-code {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
    border-radius: 50%;
}
.journey-name {
    font-size: 0.72rem; color: var(--color-text-secondary);
    line-height: 1.5; font-weight: 500;
}
.journey-line {
    flex: 1; height: 1px;
    background: linear-gradient(to right, var(--color-accent), rgba(200,169,126,0.3));
    margin-top: 24px;
    min-width: 40px;
}

@media (max-width: 900px) {
    .ourstory-container { grid-template-columns: 1fr; gap: 3rem; }
    .ourstory-journey { overflow-x: auto; padding-bottom: 2rem; }
}

/* --- Story Scroll Section --- */
.story-section { position: relative; }
.story-panel {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    justify-content: center; overflow: hidden; padding: 4rem 2rem;
    color: #ffffff;
}
.story-panel .story-tag { color: var(--color-accent-light); }
.story-panel .metric-value { color: #ffffff; }
.story-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    transform: scale(1.05); transition: transform 1s;
}
.story-bg.dark { background: linear-gradient(135deg, #0a0a0a, #1a1a2e); }
.story-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.4) 100%);
}
.story-overlay.light {
    background: linear-gradient(to right, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.3) 100%);
}
.story-content {
    position: relative; z-index: 2; max-width: 600px;
}
.story-content.centered { max-width: 1100px; text-align: center; }
.story-tag {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--color-accent); margin-bottom: 1rem;
    display: block;
}
.story-title {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400; line-height: 1.2; margin-bottom: 1.5rem;
}
.story-text {
    font-size: 1.1rem; color: rgba(255,255,255,0.7); line-height: 1.8;
}
.story-metrics {
    display: flex; gap: 3rem; margin-top: 3rem; flex-wrap: wrap;
}
.metric { text-align: center; }
.metric-value {
    display: block; font-size: 2.5rem; font-weight: 700; color: var(--color-accent);
    font-family: var(--font-display);
}
.metric-label { font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* --- Light Story Panel (white background variant) --- */
.story-panel--light {
    background: #f5f3ef !important;
    color: var(--color-text) !important;
    min-height: auto;
    padding: 6rem 2rem;
}
.story-panel--light .story-tag { color: var(--color-accent) !important; }
.story-panel--light .story-title { color: var(--color-text); }
.story-panel--light .story-text { color: var(--color-text-secondary); }

/* --- Science Inside: Two-Technology Grid --- */
.sci-panel {
    padding: 6rem 2rem; min-height: auto;
    background: #f5f3ef !important; /* override dark story-panel */
    color: var(--color-text) !important;
}
.sci-panel .story-bg { display: none; } /* hide dark bg layer */
.sci-panel .story-tag { color: var(--color-accent) !important; }
.sci-panel .story-title { color: var(--color-text); }
.sci-panel .story-text { color: var(--color-text-secondary); }
.sci-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    text-align: left;
}
.sci-card {
    background: #faf8f5;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.sci-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(200,169,126,0.12);
    border-color: rgba(200,169,126,0.25);
}
.sci-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
}
.sci-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.sci-card:hover .sci-card-image img { transform: scale(1.04); }
.sci-card-image--placeholder .sci-placeholder-label {
    display: none;
    position: absolute; inset: 0;
    align-items: center; justify-content: center;
    font-size: 0.8rem; color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em; text-align: center; padding: 1rem;
}
.sci-card-image.sci-img-missing img { display: none; }
.sci-card-image.sci-img-missing .sci-placeholder-label {
    display: flex;
    background: linear-gradient(135deg, rgba(200,169,126,0.08), rgba(13,48,96,0.15));
    color: var(--color-text-muted);
}

.sci-card-body { padding: 1.75rem 2rem 2rem; }
.sci-card-tag {
    display: inline-block;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--color-accent);
    margin-bottom: 0.6rem;
}
.sci-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 400;
    color: var(--color-text); margin-bottom: 0.85rem; line-height: 1.2;
}
.sci-card-desc {
    font-size: 0.92rem; color: var(--color-text-secondary);
    line-height: 1.7; margin-bottom: 1.25rem;
}
.sci-features {
    list-style: none; display: flex; flex-direction: column; gap: 0.6rem;
}
.sci-features li {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-size: 0.85rem; color: var(--color-text-secondary);
    line-height: 1.4;
}
.sci-features li svg {
    flex-shrink: 0; margin-top: 2px;
    color: var(--color-accent);
}
@media (max-width: 768px) {
    .sci-grid { grid-template-columns: 1fr; }
    .sci-panel { padding: 4rem 1.5rem; }
}

/* Cross section animation */
.cross-section-container {
    display: flex; gap: 4rem; align-items: center; margin-top: 3rem;
    justify-content: center; flex-wrap: wrap;
}
.cross-section {
    width: 300px; height: 400px; background: var(--color-surface);
    border-radius: var(--radius-md); border: 1px solid var(--color-border);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.cs-frame {
    width: 200px; height: 300px; border: 12px solid #666;
    border-radius: 4px; position: relative;
    background: linear-gradient(180deg, rgba(200,169,126,0.1), transparent);
}
.cs-chamber {
    position: absolute; left: -12px; width: 12px; height: 33.33%;
    border-right: 2px solid #888;
}
.cs-chamber:nth-child(1) { top: 0; background: rgba(100,100,100,0.3); }
.cs-chamber:nth-child(2) { top: 33.33%; background: rgba(200,169,126,0.2); }
.cs-chamber:nth-child(3) { top: 66.66%; background: rgba(100,100,100,0.3); }
.cs-glass {
    position: absolute; inset: 8px; display: flex; gap: 6px;
    align-items: stretch;
}
.cs-pane { flex: 0 0 3px; background: rgba(135,206,235,0.4); border-radius: 1px; }
.cs-gap { flex: 1; background: rgba(135,206,235,0.05); }
.cs-specs { display: flex; flex-direction: column; gap: 1.5rem; text-align: left; }
.cs-spec {
    display: flex; gap: 1rem; align-items: flex-start;
    opacity: 0; transform: translateX(20px);
    animation: fadeInSpec 0.6s forwards;
}
.cs-spec:nth-child(1) { animation-delay: 0.2s; }
.cs-spec:nth-child(2) { animation-delay: 0.4s; }
.cs-spec:nth-child(3) { animation-delay: 0.6s; }
@keyframes fadeInSpec { to { opacity: 1; transform: translateX(0); } }
.spec-icon { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.cs-spec h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.cs-spec p { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.6; }

/* --- Products Section --- */
.products-section {
    background: var(--color-light-bg); color: var(--color-text);
    padding-bottom: 6rem;
}

/* Under-construction placeholder */
.under-construction-block {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center;
    padding: 5rem 2rem 4rem;
    gap: 1rem;
}
.uc-icon { opacity: 0.6; margin-bottom: 0.5rem; }
.uc-label {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--color-accent);
}
.uc-title {
    font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700;
    color: var(--color-text); margin: 0;
}
.uc-desc {
    font-size: 0.95rem; color: var(--color-text-secondary);
    max-width: 420px; line-height: 1.7; margin: 0;
}
/* section-tag uses forest green globally */
.products-section .section-title { color: var(--color-text); }
.products-section .section-desc { color: var(--color-text-secondary); }

.product-filters {
    display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 3rem;
    flex-wrap: wrap; padding: 0 2rem;
}
.filter-btn {
    padding: 0.6rem 1.5rem; font-size: 0.85rem; font-weight: 500;
    border: 1.5px solid #ddd; border-radius: 100px; color: #666;
    transition: all var(--transition); background: transparent;
}
.filter-btn:hover { border-color: var(--color-accent-dark); color: var(--color-accent-dark); }
.filter-btn.active { background: var(--color-bg); color: var(--color-text); border-color: var(--color-text); }

.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
}
.product-card {
    background: var(--color-light-surface); border-radius: var(--radius-lg);
    overflow: hidden; transition: all var(--transition-slow);
    border: 1px solid #e8e4de;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,0.1); }
.card-image {
    position: relative; height: 240px; overflow: hidden;
}
.card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover .card-image img { transform: scale(1.05); }
.card-badge {
    position: absolute; top: 1rem; left: 1rem; padding: 0.35rem 0.8rem;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em;
    background: var(--color-accent); color: var(--color-text);
    border-radius: 100px; text-transform: uppercase;
}
.card-badge.best-seller { background: #2563eb; color: white; }
.card-content { padding: 1.5rem; }
.card-tag { font-size: 0.7rem; font-weight: 600; color: var(--color-accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.card-content h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-text); margin-bottom: 0.5rem; }
.card-content p { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.6; margin-bottom: 1rem; }
.card-specs { display: flex; gap: 1.5rem; margin-bottom: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }
.spec-item { text-align: center; }
.spec-val { display: block; font-size: 1.2rem; font-weight: 700; color: var(--color-text); }
.spec-unit { font-size: 0.65rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.card-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.85rem; font-weight: 600; color: var(--color-accent);
    transition: all var(--transition);
}
.card-btn:hover { gap: 0.8rem; color: var(--color-accent-dark); }

/* --- 3D Explorer --- */
.explorer-section {
    background: var(--color-bg); padding-bottom: 6rem;
}
.explorer-container {
    max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
    display: grid; grid-template-columns: 380px 1fr; gap: 2rem;
    min-height: 600px;
}
.explorer-controls {
    display: flex; flex-direction: column; gap: 1.5rem;
}
.explorer-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.explorer-tab {
    padding: 0.5rem 1rem; font-size: 0.8rem; font-weight: 500;
    border: 1px solid var(--color-border); border-radius: 100px;
    color: var(--color-text-secondary); transition: all var(--transition);
}
.explorer-tab:hover { border-color: var(--color-accent); color: var(--color-accent); }
.explorer-tab.active { background: var(--color-accent); color: var(--color-text); border-color: var(--color-accent); }
.option-group { margin-bottom: 1rem; }
.option-group label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 0.5rem; }
.color-swatches { display: flex; gap: 0.5rem; }
.swatch {
    width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent;
    transition: all var(--transition); position: relative;
}
.swatch.active { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(200,169,126,0.3); }
.color-swatches.large .swatch { width: 40px; height: 40px; }
.explorer-select {
    width: 100%; padding: 0.6rem 1rem; background: var(--color-surface);
    border: 1px solid var(--color-border); border-radius: var(--radius-sm);
    color: var(--color-text); font-size: 0.9rem;
}
.view-btns { display: flex; gap: 0.5rem; }
.view-btn {
    padding: 0.4rem 0.8rem; font-size: 0.75rem; font-weight: 500;
    border: 1px solid var(--color-border); border-radius: var(--radius-sm);
    color: var(--color-text-secondary); transition: all var(--transition);
}
.view-btn.active { background: var(--color-surface-2); color: var(--color-text); border-color: var(--color-accent); }
.explorer-info { margin-top: auto; }
.explorer-info h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.explorer-info p { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.6; margin-bottom: 1rem; }
.explorer-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.e-spec { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--color-border); }
.e-label { font-size: 0.8rem; color: var(--color-text-muted); }
.e-val { font-size: 0.8rem; font-weight: 600; color: var(--color-accent); }
.explorer-viewport {
    background: var(--color-surface); border-radius: var(--radius-lg);
    border: 1px solid var(--color-border); position: relative; overflow: hidden;
    min-height: 500px;
}
#explorerCanvas { width: 100%; height: 100%; display: block; }
.explorer-hint {
    position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
    background: rgba(10,10,10,0.8); border-radius: 100px;
    font-size: 0.75rem; color: var(--color-text-muted);
}
.explorer-hint svg { color: var(--color-accent); }

/* --- Visualizer --- */
.visualizer-section {
    background: var(--color-light-bg); color: var(--color-text);
    padding-bottom: 6rem;
}
/* section-tag uses forest green globally */
.visualizer-section .section-title { color: var(--color-text); }
.visualizer-section .section-desc { color: var(--color-text-secondary); }
.visualizer-container {
    max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
}
.upload-area {
    border: 2px dashed #ccc; border-radius: var(--radius-lg); padding: 4rem 2rem;
    text-align: center; transition: all var(--transition); background: white;
    cursor: pointer;
}
.upload-area:hover { border-color: var(--color-accent-dark); }
.upload-area.drag-over { border-color: var(--color-accent); background: rgba(200,169,126,0.05); }
.upload-icon { color: #bbb; margin-bottom: 1.5rem; }
.upload-area h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-text); margin-bottom: 0.5rem; }
.upload-area p { color: #888; font-size: 0.9rem; margin-bottom: 1.5rem; }
.upload-samples { margin-top: 2rem; }
.upload-samples span { font-size: 0.8rem; color: #999; display: block; margin-bottom: 0.75rem; }
.sample-images { display: flex; gap: 0.75rem; justify-content: center; }
.sample-img {
    width: 80px; height: 60px; border-radius: var(--radius-sm);
    background-size: cover; background-position: center;
    border: 2px solid transparent; transition: all var(--transition); cursor: pointer;
}
.sample-img:hover { border-color: var(--color-accent-dark); transform: scale(1.05); }

.visualizer-editor {
    display: grid; grid-template-columns: 1fr 280px; gap: 2rem;
}
.editor-canvas-wrap {
    background: white; border-radius: var(--radius-lg); overflow: hidden;
    position: relative; min-height: 500px;
}
#vizCanvas { width: 100%; height: 100%; display: block; }
.editor-toolbar {
    position: absolute; top: 1rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.25rem; padding: 0.5rem; background: white;
    border-radius: var(--radius-md); box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.tool-btn {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); color: #666; transition: all var(--transition);
}
.tool-btn:hover { background: #f0f0f0; color: var(--color-text); }
.tool-btn.active { background: var(--color-bg); color: white; }
.tool-separator { width: 1px; background: #e0e0e0; margin: 0.25rem 0.5rem; }
.editor-sidebar {
    background: white; border-radius: var(--radius-lg); padding: 1.5rem;
    border: 1px solid #e8e4de;
}
.editor-sidebar h3 { font-size: 0.9rem; font-weight: 600; color: var(--color-text); margin-bottom: 0.75rem; }
.style-options { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.style-opt {
    flex: 1; padding: 0.75rem; border: 2px solid #e8e4de; border-radius: var(--radius-sm);
    text-align: center; transition: all var(--transition);
}
.style-opt.active { border-color: var(--color-accent-dark); }
.style-opt span { font-size: 0.75rem; color: #666; display: block; margin-top: 0.5rem; }
.style-preview { height: 48px; background: #f0f0f0; border-radius: 4px; }

/* --- Portfolio / Technical --- */
.portfolio-section { background: var(--color-surface); padding-bottom: 6rem; }
.portfolio-container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.comparison-wrapper { overflow-x: auto; margin-bottom: 3rem; }
.comparison-table { min-width: 800px; }
.comparison-table table {
    width: 100%; border-collapse: collapse;
    font-size: 0.9rem;
}
.comparison-table th {
    text-align: left; padding: 1rem; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent);
    border-bottom: 2px solid var(--color-border);
}
.comparison-table td {
    padding: 1rem; color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
}
.comparison-table td.highlight { color: var(--color-accent); font-weight: 700; }
.comparison-table tbody tr:hover { background: rgba(200,169,126,0.05); }
.cert-bar {
    display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
    padding: 2rem; background: var(--color-surface-2); border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}
.cert-item { display: flex; align-items: center; gap: 0.75rem; }
.cert-icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 800; background: rgba(200,169,126,0.15);
    color: var(--color-accent); border-radius: var(--radius-sm);
}
.cert-item span { font-size: 0.85rem; color: var(--color-text-secondary); }

/* --- Why Section --- */
.why-section {
    background: var(--color-bg); padding-bottom: 6rem;
}
.why-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
}
.why-card {
    padding: 2.5rem; background: var(--color-surface);
    border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.why-card:hover { border-color: var(--color-accent); transform: translateY(-4px); }
.why-num { font-size: 3rem; font-weight: 800; color: rgba(200,169,126,0.15); margin-bottom: 1rem; line-height: 1; }
.why-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.75rem; }
.why-card p { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.7; }

/* --- Contact --- */
.contact-section { background: var(--color-light-bg); color: var(--color-text); padding: 6rem 0; }
.contact-container {
    max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; }
/* section-tag uses forest green globally */
.contact-info h2 { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 1rem; color: var(--color-text); }
.contact-info p { color: #666; font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }

.contact-item { display: flex; align-items: center; gap: 0.75rem; color: #555; }
.contact-item svg { color: var(--color-accent-dark); }
.contact-social { margin-top: auto; padding-top: 2.5rem; }
.contact-social-btns { display: flex; gap: 0.75rem; }
.social-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: #faf8f5; border: 1.5px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    text-decoration: none; transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.social-btn--fb:hover { transform: translateY(-3px); border-color: #1877f2; box-shadow: 0 8px 20px rgba(24,119,242,0.2); }
.social-btn--ig:hover { transform: translateY(-3px); border-color: #dd2a7b; box-shadow: 0 8px 20px rgba(221,42,123,0.2); }
.social-btn--pt:hover { transform: translateY(-3px); border-color: #e60023; box-shadow: 0 8px 20px rgba(230,0,35,0.2); }
.social-btn--yt:hover { transform: translateY(-3px); border-color: #ff0000; box-shadow: 0 8px 20px rgba(255,0,0,0.2); }
.contact-form {
    background: white; padding: 2.5rem; border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: #444; margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.75rem 1rem; font-size: 0.9rem;
    border: 1.5px solid #ddd; border-radius: var(--radius-sm);
    background: #fafafa; color: var(--color-text); transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--color-accent-dark);
}

/* --- Footer --- */
/* ── Footer ───────────────────────────────────────────────────── */
.footer {
    background: #1a1714;
    padding: 3.5rem 0 0;
    color: rgba(255,255,255,0.55);
}
.footer a { text-decoration: none; transition: color 0.18s; }
.footer .logo-text { color: #ffffff; }
.footer .logo-sub  { color: var(--color-accent); }

/* Full-width container — no max-width cap, matches Optimedia style */
.footer-container {
    width: 100%;
    padding: 0 5%;
}

/* 4-column product/nav grid — full width, evenly spaced */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--color-accent);
    margin: 0 0 1rem;
}
.footer-col-sub {
    display: block;
    font-size: 0.82rem; font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin: 1.1rem 0 0.35rem;
}
.footer-col a {
    display: block; font-size: 0.86rem;
    color: rgba(255,255,255,0.4);
    padding: 0.2rem 0;
    letter-spacing: 0.01em;
}
.footer-col a:hover { color: #ffffff; }

/* Bottom bar — full width, space-between */
.footer-bottom {
    display: flex; align-items: center;
    gap: 2.5rem; flex-wrap: wrap;
    padding: 1.4rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
/* White strip variant — used only on homepage where full brand/contact row exists */
.footer-bottom--light {
    background: #faf8f5;
    border-top: 1px solid #e0dbd2;
    margin: 0 -5%;
    padding-left: 5%;
    padding-right: 5%;
}
.footer-bottom-brand {
    display: flex; align-items: center; gap: 0.75rem;
    margin-right: auto;
}
.footer-bottom-contact {
    display: flex; flex-direction: column; gap: 0.28rem;
}
.footer-bottom-contact a {
    font-size: 0.82rem; color: var(--color-text-secondary);
}
.footer-bottom-contact a:hover { color: var(--color-accent); }
.footer-bottom-social {
    display: flex; gap: 1.1rem;
}
.footer-bottom-social a {
    color: var(--color-text-muted);
    display: flex; align-items: center;
}
.footer-bottom-social a:hover { color: var(--color-accent); }
.footer-bottom-copy {
    font-size: 0.75rem; color: var(--color-text-muted);
}

@media (max-width: 960px) {
    .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
    .footer-bottom { gap: 1.5rem; }
}
@media (max-width: 540px) {
    .footer-container { padding: 0 1.5rem; }
    .footer-nav { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .footer-bottom-brand { margin-right: 0; }
    .footer-bottom-copy { font-size: 0.7rem; }
}

/* --- Modal --- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.8);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s; backdrop-filter: blur(8px);
    padding: 2rem;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    background: var(--color-surface); border-radius: var(--radius-lg);
    max-width: 800px; width: 100%; max-height: 85vh; overflow-y: auto;
    position: relative; border: 1px solid var(--color-border);
}
.modal-close {
    position: sticky; top: 1rem; float: right; margin-right: 1rem;
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--color-text-secondary); background: var(--color-surface-2);
    border-radius: 50%; z-index: 1; transition: all var(--transition);
}
.modal-close:hover { color: var(--color-text); background: var(--color-border); }
.modal-body { padding: 2.5rem; }
.modal-body h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 0.5rem; }
.modal-body .modal-tag { font-size: 0.75rem; color: var(--color-accent); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 1.5rem; }
.modal-body p { color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.modal-spec-item {
    padding: 1rem; background: var(--color-surface-2); border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}
.modal-spec-item .ms-label { font-size: 0.7rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.modal-spec-item .ms-value { font-size: 1.1rem; font-weight: 600; color: var(--color-accent); margin-top: 0.25rem; }
.modal-features { list-style: none; margin: 1.5rem 0; }
.modal-features li {
    padding: 0.5rem 0; padding-left: 1.5rem; position: relative;
    color: var(--color-text-secondary); font-size: 0.9rem; line-height: 1.6;
}
.modal-features li::before {
    content: ''; position: absolute; left: 0; top: 0.85rem;
    width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent);
}

/* --- B2B Trade Button (Nav) --- */
.nav-b2b-btn {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: transparent;
    transition: all var(--transition);
    margin-left: 0.5rem;
    cursor: pointer;
}
.nav-b2b-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.nav-b2b-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #1a1714;
}
@media (max-width: 1024px) { .nav-b2b-btn { display: none; } }

/* --- B2B Trade Drawer --- */
.b2b-overlay {
    position: fixed; inset: 0; z-index: 1099;
    background: rgba(10,10,10,0.45);
    backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
}
.b2b-overlay.open { opacity: 1; pointer-events: all; }

.b2b-drawer {
    position: fixed; top: 0; right: -440px; width: 400px; height: 100vh;
    background: #faf8f5; z-index: 1100;
    box-shadow: -6px 0 48px rgba(0,0,0,0.14);
    border-left: 1px solid var(--color-border);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}
.b2b-drawer.open { right: 0; }

.b2b-close {
    position: absolute; top: 1.25rem; right: 1.25rem;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; line-height: 1;
    color: var(--color-text-muted); background: var(--color-surface);
    border-radius: 50%; border: none; cursor: pointer;
    transition: all var(--transition);
}
.b2b-close:hover { color: var(--color-text); background: var(--color-surface-2); }

.b2b-drawer-inner { padding: 3.5rem 2rem 2.5rem; display: flex; flex-direction: column; gap: 2rem; min-height: 100%; }

.b2b-header { border-bottom: 1px solid var(--color-border); padding-bottom: 2rem; }
.b2b-eyebrow {
    display: inline-block;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--color-accent);
    margin-bottom: 0.75rem;
}
.b2b-title {
    font-family: var(--font-display);
    font-size: 2.2rem; font-weight: 400; line-height: 1.1;
    color: var(--color-text); margin-bottom: 0.85rem;
}
.b2b-sub {
    font-size: 0.9rem; color: var(--color-text-secondary);
    line-height: 1.65;
}

.b2b-benefits { display: flex; flex-direction: column; gap: 1.35rem; }
.b2b-benefit {
    display: flex; align-items: flex-start; gap: 1rem;
}
.b2b-benefit-icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    color: var(--color-accent);
    border: 1px solid var(--color-border);
}
.b2b-benefit-title {
    font-size: 0.9rem; font-weight: 700; color: var(--color-text);
    margin-bottom: 0.2rem;
}
.b2b-benefit-desc {
    font-size: 0.8rem; color: var(--color-text-secondary); line-height: 1.5;
}

.b2b-cta-block { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }
.b2b-cta-primary {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.95rem 1.5rem;
    background: var(--color-accent); color: var(--color-text);
    font-size: 0.88rem; font-weight: 700;
    border-radius: var(--radius-sm); text-decoration: none;
    transition: all var(--transition);
}
.b2b-cta-primary:hover { background: var(--color-accent-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,169,126,0.3); }
.b2b-cta-secondary {
    display: flex; align-items: center; justify-content: center;
    padding: 0.9rem 1.5rem;
    border: 1.5px solid var(--color-border); color: var(--color-text-secondary);
    font-size: 0.88rem; font-weight: 600;
    border-radius: var(--radius-sm); text-decoration: none;
    transition: all var(--transition);
}
.b2b-cta-secondary:hover { border-color: var(--color-accent); color: var(--color-accent); }

.b2b-footer-note {
    font-size: 0.8rem; color: var(--color-text-muted);
    text-align: center; padding-top: 1rem;
    border-top: 1px solid var(--color-border); margin-top: auto;
}
.b2b-footer-note a { color: var(--color-accent); font-weight: 600; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .explorer-container { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; }
    .visualizer-editor { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: clamp(2.5rem, 8vw, 4rem); }
    .hero-stats { gap: 1.5rem; }
    .stat-divider { display: none; }
    .product-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .story-metrics { gap: 1.5rem; }
    .cross-section-container { flex-direction: column; }
    .modal-specs { grid-template-columns: 1fr; }
    .explorer-specs { grid-template-columns: 1fr; }
    .cert-bar { gap: 1.5rem; }
}

/* ================================================================
   COVERAGE MAP SECTION
================================================================ */
/* ── Coverage Map Section — paused, kept for re-use ────────────
/* ── Coverage Map Section ─────────────────────────────────────── */
.coverage-section {
    padding: 5rem 0 4rem;
    background: var(--color-bg);
}
.coverage-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
}
.coverage-header {
    text-align: center; margin-bottom: 2rem;
}
.coverage-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.2; margin-bottom: 0.75rem;
}
.coverage-header p {
    color: var(--color-text-secondary);
    max-width: 480px; margin: 0 auto; line-height: 1.7;
}

/* Map container — compact, full width, real map inside */
.coverage-map-container {
    position: relative;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
    margin-bottom: 1.25rem;
}
#usa-map-wrap {
    width: 100%;
    height: 100%;
}

/* Floating info card overlaid on the map */
.coverage-float-card {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    width: 210px;
    background: rgba(255,255,255,0.96);
    border-radius: 12px;
    padding: 1.2rem 1.25rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.13);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    min-height: 130px;
}

/* Default state (no hover) */
.cc-default {
    display: flex; flex-direction: column;
    align-items: center; text-align: center; gap: 0.5rem;
}
.cc-default p {
    font-size: 0.82rem; font-weight: 600; margin: 0;
    color: var(--color-text-secondary);
}
.cc-default span { font-size: 0.72rem; color: var(--color-text-muted); }

/* State card (on hover) */
.cc-state {
    display: none; flex-direction: column;
    gap: 0.6rem; width: 100%;
}
.cc-tag {
    display: inline-block;
    font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.22rem 0.6rem; border-radius: 2rem;
    background: rgba(200,169,126,0.12); color: var(--color-accent);
    width: fit-content;
}
.cc-state h3 {
    font-family: var(--font-display);
    font-size: 1.3rem; margin: 0; line-height: 1.15; color: var(--color-text);
}
.cc-state p {
    font-size: 0.76rem; color: var(--color-text-secondary);
    line-height: 1.6; margin: 0;
}
.cc-btn {
    display: inline-block;
    font-size: 0.76rem; font-weight: 700;
    color: var(--color-accent); text-decoration: none;
    letter-spacing: 0.02em; margin-top: 0.2rem;
    transition: opacity 0.18s;
}
.cc-btn:hover { opacity: 0.65; }

/* Pills row */
.coverage-pills {
    display: flex; flex-wrap: wrap; gap: 0.55rem;
    justify-content: center; margin-top: 0.5rem;
}
.cp-pill {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.42rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 2rem;
    font-size: 0.74rem; color: var(--color-text-secondary);
}
.cp-pill svg { color: var(--color-accent); flex-shrink: 0; }

/* Mapbox attribution — keep but make it compact */
.mapboxgl-ctrl-attrib { font-size: 10px !important; }

@media (max-width: 680px) {
    .coverage-map-container { height: 260px; }
    .coverage-float-card {
        top: auto; bottom: 0.8rem; right: 0.8rem;
        width: 180px; padding: 1rem;
    }
}
