/* ==========================================================================
   Omni Prime LLC — Design System
   Palette: White / Green (#16A34A) / Orange (#F97316)
   ========================================================================== */

:root {
    --white: #ffffff;
    --green: #16a34a;
    --green-600: #15803d;
    --green-400: #22c55e;
    --orange: #f97316;
    --orange-400: #fb923c;

    --bg: #f7f9fb;
    --bg-soft: #eef2f6;
    --ink: #0f172a;
    --ink-soft: #475569;
    --ink-faint: #94a3b8;
    --line: rgba(15, 23, 42, 0.08);

    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.7);
    --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 14px 40px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.16);
    --shadow-green: 0 18px 40px rgba(22, 163, 74, 0.28);
    --shadow-orange: 0 18px 40px rgba(249, 115, 22, 0.28);

    --grad-brand: linear-gradient(120deg, var(--green) 0%, var(--green-400) 45%, var(--orange) 100%);
    --grad-soft: linear-gradient(135deg, rgba(22, 163, 74, 0.10), rgba(249, 115, 22, 0.10));

    --radius: 22px;
    --radius-sm: 14px;
    --radius-lg: 32px;
    --container: 1180px;
    --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Ambient animated background blobs */
.bg-orbs { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-orbs span {
    position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5;
    animation: float-orb 18s var(--ease) infinite;
}
.bg-orbs span:nth-child(1) { width: 420px; height: 420px; background: rgba(22,163,74,0.35); top: -120px; left: -80px; }
.bg-orbs span:nth-child(2) { width: 380px; height: 380px; background: rgba(249,115,22,0.30); top: 30%; right: -120px; animation-delay: -6s; }
.bg-orbs span:nth-child(3) { width: 320px; height: 320px; background: rgba(34,197,94,0.25); bottom: -100px; left: 30%; animation-delay: -12s; }
@keyframes float-orb {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(30px,-40px) scale(1.12); }
}

/* Cursor canvas */
#cursor-canvas { position: fixed; inset: 0; z-index: 9998; pointer-events: none; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Layout helpers */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section--tight { padding: 70px 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--green-600); background: rgba(22,163,74,0.10);
    padding: 7px 16px; border-radius: 100px; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px; }
.section-lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 620px; }
.text-grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; font-size: 0.98rem; padding: 14px 28px; border-radius: 100px;
    border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-green); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(22,163,74,0.4); }
.btn-ghost { background: var(--glass-bg); color: var(--ink); border-color: var(--line); backdrop-filter: blur(10px); }
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(22,163,74,0.4); }
.btn-orange { background: linear-gradient(120deg, var(--orange), var(--orange-400)); color: #fff; box-shadow: var(--shadow-orange); }
.btn-orange:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(249,115,22,0.4); }
.btn-block { width: 100%; }
/* Ripple */
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,0.5); animation: ripple 0.6s linear; pointer-events: none; }
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }

/* Glass card */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* ===== Header ===== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: all 0.35s var(--ease);
}
.site-header .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    margin: 16px auto; max-width: var(--container);
    padding: 12px 22px; border-radius: 100px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
}
.site-header.scrolled .nav-inner { box-shadow: var(--shadow-md); background: rgba(255,255,255,0.85); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.12rem; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-name { line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
    padding: 9px 16px; border-radius: 100px; font-weight: 600; font-size: 0.96rem; color: var(--ink-soft);
    transition: all 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(15,23,42,0.05); }
.nav-links a.active { color: var(--green-600); background: rgba(22,163,74,0.10); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: 0.3s var(--ease); }

/* ===== Hero ===== */
.hero { padding: 180px 0 90px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.1rem); margin-bottom: 22px; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 1.7rem; font-weight: 800; }
.hero-trust span { font-size: 0.85rem; color: var(--ink-faint); }

/* Hero visual — floating glass stack */
.hero-visual { position: relative; height: 460px; }
.float-card {
    position: absolute; padding: 18px 20px; display: flex; align-items: center; gap: 14px;
    border-radius: var(--radius); background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px); box-shadow: var(--shadow-md); animation: floaty 6s var(--ease) infinite;
}
.float-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card strong { font-size: 0.98rem; display: block; }
.float-card small { color: var(--ink-faint); font-size: 0.8rem; }
.fc-main { inset: 30px 40px auto auto; width: 270px; flex-direction: column; align-items: flex-start; padding: 26px; animation-delay: -1s; }
.fc-main .ring { width: 100%; height: 8px; border-radius: 8px; background: var(--bg-soft); overflow: hidden; margin-top: 8px; }
.fc-main .ring i { display: block; height: 100%; width: 78%; background: var(--grad-brand); border-radius: 8px; }
.fc-1 { top: 0; left: 0; animation-delay: -2s; }
.fc-2 { bottom: 60px; left: 20px; animation-delay: -3.5s; }
.fc-3 { bottom: 0; right: 30px; animation-delay: -0.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ===== Grids / Cards ===== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    padding: 30px; border-radius: var(--radius); background: var(--glass-bg);
    border: 1px solid var(--glass-border); backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    position: relative; overflow: hidden;
}
.card::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--grad-brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card:hover::after { opacity: 1; }
.card .icon {
    width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
    background: var(--grad-soft); color: var(--green-600); margin-bottom: 18px; transition: 0.4s var(--ease);
}
.card .icon svg { width: 26px; height: 26px; }
.card:hover .icon { background: var(--grad-brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }

/* About split */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-points { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; }
.about-points .tick { width: 26px; height: 26px; border-radius: 8px; background: rgba(22,163,74,0.12); color: var(--green-600); display: grid; place-items: center; flex: none; }
.about-points .tick svg { width: 15px; height: 15px; }
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-visual .stat-box { padding: 26px; text-align: center; }
.about-visual .stat-box:nth-child(odd) { transform: translateY(18px); }
.about-visual .stat-box .v { font-size: 2.2rem; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-visual .stat-box .l { color: var(--ink-soft); font-size: 0.9rem; }

/* Expertise pills */
.expertise-wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 14px; }
.pill {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 100px;
    background: var(--glass-bg); border: 1px solid var(--glass-border); font-weight: 600;
    box-shadow: var(--shadow-sm); transition: 0.35s var(--ease); font-size: 1rem;
}
.pill::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--grad-brand); }
.pill:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(249,115,22,0.4); }

/* Timeline (approach) */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tl-item { position: relative; padding: 28px; }
.tl-item .step { font-size: 2rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--green); opacity: 0.55; }
.tl-item h3 { margin: 8px 0 7px; font-size: 1.1rem; }
.tl-item p { color: var(--ink-soft); font-size: 0.92rem; }
.tl-item .dot { position: absolute; top: 28px; right: 28px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(249,115,22,0.15); }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { text-align: center; padding: 36px 20px; }
.stat-card .v { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card .l { color: var(--ink-soft); font-weight: 600; margin-top: 6px; }

/* CTA banner */
.cta-banner {
    border-radius: var(--radius-lg); padding: 60px; text-align: center; position: relative; overflow: hidden;
    background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-green);
}
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-banner p { opacity: 0.92; max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-banner .btn-ghost { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-banner .btn-light { background: #fff; color: var(--green-600); }

/* ===== Forms ===== */
.form-card { padding: 38px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.field input, .field textarea, .field select {
    font-family: inherit; font-size: 1rem; padding: 13px 16px; border-radius: var(--radius-sm);
    border: 1px solid var(--line); background: rgba(255,255,255,0.7); color: var(--ink);
    transition: 0.25s var(--ease); width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,0.12); background: #fff;
}
.field .err { color: #dc2626; font-size: 0.84rem; margin-top: 6px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert-success {
    display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm);
    background: rgba(22,163,74,0.10); border: 1px solid rgba(22,163,74,0.3); color: var(--green-600); margin-bottom: 22px;
}
.alert-success svg { width: 22px; height: 22px; flex: none; }
.form-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.form-note svg { width: 15px; height: 15px; flex: none; }

/* ===== Products ===== */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 44px; }
.product:nth-child(even) .product-media { order: 2; }
.product-badge { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); background: rgba(249,115,22,0.12); padding: 6px 14px; border-radius: 100px; margin-bottom: 14px; }
.product h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.product .tagline { color: var(--green-600); font-weight: 600; margin-bottom: 12px; }
.product p.desc { color: var(--ink-soft); margin-bottom: 22px; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.feature-list li { display: flex; gap: 9px; align-items: center; font-size: 0.93rem; }
.feature-list .tick { color: var(--green); flex: none; }
.feature-list .tick svg { width: 17px; height: 17px; }
.product-media { position: relative; height: 360px; border-radius: var(--radius-lg); display: grid; place-items: center; overflow: hidden; background: var(--grad-soft); border: 1px solid var(--glass-border); }
.product-media .big-icon { width: 130px; height: 130px; border-radius: 32px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-green); animation: floaty 6s var(--ease) infinite; }
.product-media .big-icon svg { width: 64px; height: 64px; }
.product-media.has-gallery { background: none; border: none; overflow: visible; height: auto; min-height: 380px; }

/* ===== 3D rotational gallery ===== */
.gallery3d {
    --card-w: 340px;          /* uniform device-frame width  */
    --card-h: 290px;          /* uniform device-frame height */
    --radius: 420px;          /* computed by JS */
    --step: 45deg;            /* set by JS = 360 / count     */
    position: relative; width: 100%;
    display: flex; flex-direction: column; align-items: center;
    padding: 10px 0 4px;
}
.gallery3d__viewport {
    position: relative; width: 100%; height: calc(var(--card-h) + 70px);
    overflow: hidden;
}
.gallery3d__stage { position: absolute; inset: 0; }
.gallery3d__cell {
    position: absolute; top: 50%; left: 50%; margin: 0;
    width: var(--card-w); height: var(--card-h);
    /* JS sets the full per-cell transform (coverflow); this is the fallback. */
    transform: translate(-50%, -50%);
    transition: transform 0.7s var(--ease), opacity 0.6s var(--ease), filter 0.6s var(--ease), box-shadow 0.6s var(--ease);
    border-radius: 18px; overflow: hidden;
    padding: 9px;
    background: linear-gradient(160deg, #1e293b, #0f172a);
    box-shadow: var(--shadow-lg);
    opacity: 1; filter: saturate(0.8) brightness(0.85);
    cursor: pointer;
}
/* Before JS runs (or if it fails): show only the first card, centered. */
.gallery3d:not(.is-ready) .gallery3d__cell { opacity: 0; z-index: 1; }
.gallery3d:not(.is-ready) .gallery3d__cell:first-child { opacity: 1; z-index: 2; filter: none; }
.gallery3d.dragging .gallery3d__cell { transition: opacity 0.3s var(--ease); }
.gallery3d__cell img {
    display: block; width: 100%; height: 100%; max-width: none;
    object-fit: contain; border-radius: 10px; user-select: none;
}
.gallery3d__cell.is-active {
    opacity: 1; filter: none;
    box-shadow: 0 36px 80px rgba(15, 23, 42, 0.32);
    cursor: default;
}
.gallery3d__cell.is-active::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: inset 0 0 0 2px rgba(22, 163, 74, 0.55);
}

.gallery3d__nav {
    position: absolute; top: calc(var(--card-h) / 2 + 5px); z-index: 5;
    width: 46px; height: 46px; border-radius: 50%; transform: translateY(-50%);
    display: grid; place-items: center; cursor: pointer;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px); box-shadow: var(--shadow-md); color: var(--ink);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.gallery3d__nav svg { width: 22px; height: 22px; }
.gallery3d__nav:hover { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-green); }
.gallery3d__nav.prev { left: 2px; }
.gallery3d__nav.next { right: 2px; }
.gallery3d__nav.prev:hover { transform: translateY(-50%) translateX(-2px); }
.gallery3d__nav.next:hover { transform: translateY(-50%) translateX(2px); }

.gallery3d__dots { display: flex; gap: 9px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.gallery3d__dot {
    width: 9px; height: 9px; border-radius: 50%; padding: 0; cursor: pointer;
    background: rgba(15, 23, 42, 0.18); border: none; transition: 0.3s var(--ease);
}
.gallery3d__dot.is-active { background: var(--grad-brand); width: 26px; border-radius: 100px; }

@media (max-width: 1100px) { .gallery3d { --card-w: 300px; --card-h: 260px; } }
@media (max-width: 980px)  { .gallery3d { --card-w: 360px; --card-h: 300px; } }
@media (max-width: 600px)  { .gallery3d { --card-w: 280px; --card-h: 240px; } .gallery3d__nav { width: 40px; height: 40px; } }
@media (max-width: 400px)  { .gallery3d { --card-w: 232px; --card-h: 210px; } }
.benefit-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.benefit-tags span { font-size: 0.82rem; padding: 7px 13px; border-radius: 100px; background: rgba(15,23,42,0.05); color: var(--ink-soft); }

/* Contact info cards */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; }
.info-list { display: grid; gap: 16px; margin-bottom: 24px; }
.info-item { display: flex; gap: 16px; align-items: center; padding: 20px 22px; }
.info-item .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--grad-soft); color: var(--green-600); display: grid; place-items: center; flex: none; }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item .l { font-size: 0.8rem; color: var(--ink-faint); }
.info-item .v { font-weight: 700; }
.map-embed { height: 240px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); position: relative; background: var(--bg-soft); display: grid; place-items: center; text-align: center; color: var(--ink-faint); }
.map-embed svg { width: 40px; height: 40px; margin-bottom: 8px; }

/* ===== Legal pages ===== */
.legal { padding: 150px 0 90px; }
.legal .prose { max-width: 760px; margin: 0 auto; }
.legal .prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal .prose .updated { color: var(--ink-faint); margin-bottom: 36px; }
.legal .prose h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.legal .prose p, .legal .prose li { color: var(--ink-soft); margin-bottom: 12px; }
.legal .prose ul { padding-left: 22px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 70px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-logo {
    display: inline-block; background: #fff; padding: 16px 20px; border-radius: 16px;
    margin-bottom: 18px; box-shadow: var(--shadow-md); line-height: 0;
}
.footer-logo img { width: clamp(150px, 16vw, 196px); height: auto; display: block; }
.site-footer p { color: #94a3b8; font-size: 0.94rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a { display: block; color: #94a3b8; padding: 6px 0; font-size: 0.94rem; transition: 0.25s var(--ease); }
.footer-col a:hover { color: var(--green-400); transform: translateX(4px); }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: 0.3s var(--ease); }
.socials a:hover { background: var(--grad-brand); transform: translateY(-3px); }
.socials a svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.88rem; color: #94a3b8; }
.footer-bottom a:hover { color: var(--green-400); }

/* ===== Cookie banner ===== */
.cookie-banner {
    position: fixed; bottom: 22px; left: 22px; right: 22px; z-index: 1200; max-width: 520px; margin: 0 auto;
    padding: 22px 24px; border-radius: var(--radius); background: rgba(255,255,255,0.92);
    border: 1px solid var(--glass-border); backdrop-filter: blur(18px); box-shadow: var(--shadow-lg);
    transform: translateY(140%); transition: transform 0.5s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h4 { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 1.05rem; }
.cookie-banner h4 svg { width: 20px; height: 20px; color: var(--orange); }
.cookie-banner p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 16px; }
.cookie-banner p a { color: var(--green-600); font-weight: 600; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 20px; font-size: 0.9rem; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .brand-logo { height: 38px; }
}
@media (max-width: 980px) {
    .hero-grid, .about-grid, .contact-grid, .product { grid-template-columns: 1fr; }
    .hero-visual { height: 380px; }
    .product:nth-child(even) .product-media { order: 0; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: repeat(2, 1fr); }
    .stats-band { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute; top: 78px; left: 16px; right: 16px;
        background: rgba(255,255,255,0.95); padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
        backdrop-filter: blur(18px); align-items: stretch;
    }
    .nav-links.open a { padding: 12px 16px; }
    .section { padding: 70px 0; }
    .hero { padding: 140px 0 60px; }
    .form-row { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
    .grid-4, .grid-3, .grid-2, .timeline, .stats-band, .footer-grid, .about-visual { grid-template-columns: 1fr; }
    .cta-banner { padding: 40px 24px; }
    .product, .form-card { padding: 26px; }
    .footer-bottom { flex-direction: column; }
    /* Footer becomes single column → center the logo panel */
    .footer-logo { display: block; width: fit-content; margin-inline: auto; }
    .site-footer p { margin-inline: auto; text-align: center; }
    .socials { justify-content: center; }
    .footer-col { text-align: center; }
}
@media (max-width: 600px) {
    /* Free up space in the bar: the mobile menu already contains the Contact link */
    .nav-cta .btn-primary { display: none; }
    .brand-logo { height: 34px; }
    .site-header .nav-inner { padding: 10px 16px; margin: 12px auto; }
}
@media (max-width: 400px) {
    /* Tightest phones: keep just the logo mark in the bar */
    .brand-name { display: none; }
    .brand-logo { height: 36px; }
    .container { padding: 0 18px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    #cursor-canvas { display: none; }
}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid rgba(22,163,74,0.5); outline-offset: 2px;
}
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 2000; background: #fff; padding: 10px 18px; border-radius: 10px; box-shadow: var(--shadow-md); }
.skip-link:focus { left: 16px; }
