/* =========================================================================
   Servo Power Solution — design system (light premium · trust-blue)
   Layered on Bootstrap 5. Tokens in :root; components below.
   ========================================================================= */

:root {
    /* Brand */
    --blue:        #0b4f93;   /* primary industrial blue   */
    --blue-700:    #093f76;
    --blue-900:    #06294d;   /* deep navy for dark bands   */
    --blue-050:    #e9f1fa;   /* light wash                 */
    --accent:      #ffb609;   /* amber CTA                  */
    --accent-600:  #e6a200;
    --accent-ink:  #2a1d00;   /* readable text on amber     */

    /* Neutrals */
    --ink:         #122031;   /* headings                   */
    --body:        #46566c;   /* body text                  */
    --muted:       #6b7a8f;
    --bg:          #ffffff;
    --surface:     #f4f7fb;
    --surface-2:   #eaf0f7;
    --line:        #dbe4ef;
    --white:       #ffffff;

    /* Feedback */
    --ok:          #1d8a52;
    --ok-bg:       #e7f6ee;
    --err:         #c0392b;
    --err-bg:      #fdeceb;

    /* Type */
    --font-display: 'Sora', system-ui, sans-serif;
    --font-body:    'IBM Plex Sans', system-ui, sans-serif;
    --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

    /* Shape */
    --r-sm: 8px;
    --r:    14px;
    --r-lg: 20px;
    --shadow-sm: 0 2px 10px rgba(12, 39, 73, .06);
    --shadow:    0 14px 40px rgba(12, 39, 73, .10);
    --shadow-lg: 0 30px 70px rgba(12, 39, 73, .16);
    --ring: 0 0 0 3px rgba(11, 79, 147, .28);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--font-body);
    color: var(--body);
    background: var(--bg);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-700); }

img { max-width: 100%; height: auto; }
.container { max-width: 1180px; }

/* Accessible focus */
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }

.skip-link {
    position: fixed; top: -100px; left: 16px; z-index: 2000;
    background: var(--ink); color: #fff; padding: .65rem 1.1rem;
    border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 600;
    transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* Selection */
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Buttons ---------- */
.btn {
    --bs-btn-font-family: var(--font-display);
    font-weight: 600;
    border-radius: var(--r-sm);
    padding: .8rem 1.5rem;
    letter-spacing: .01em;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1.05rem; }

.btn-accent {
    background: var(--accent); color: var(--accent-ink);
    border: 2px solid var(--accent);
    box-shadow: 0 8px 22px rgba(255, 182, 9, .35);
}
.btn-accent:hover, .btn-accent:focus {
    background: var(--accent-600); border-color: var(--accent-600);
    color: var(--accent-ink); box-shadow: 0 12px 28px rgba(255, 182, 9, .45);
}
.btn-primary-ink {
    background: var(--blue); color: #fff; border: 2px solid var(--blue);
}
.btn-primary-ink:hover, .btn-primary-ink:focus { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

.btn-outline-ink {
    background: transparent; color: var(--ink); border: 2px solid var(--line);
}
.btn-outline-ink:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-050); }

.btn-outline-light {
    background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--blue-900);
    color: rgba(255,255,255,.82);
    font-size: .85rem;
    padding: .5rem 0;
}
.topbar-tagline { letter-spacing: .02em; }
.topbar-contact a, .topbar-hours { color: rgba(255,255,255,.82); font-weight: 500; }
.topbar-contact a:hover { color: var(--accent); }
.topbar-contact i { color: var(--accent); margin-right: .25rem; }

/* ---------- Navbar ---------- */
.site-nav {
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(140%) blur(8px);
    position: sticky; top: 0; z-index: 1030;
    padding: .65rem 0;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease, padding .25s ease;
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); padding: .35rem 0; }
.navbar-brand img { display: block; width: auto; height: 46px; }
.site-nav .nav-link {
    font-family: var(--font-display);
    font-weight: 600; color: var(--ink);
    padding: .5rem .95rem; border-radius: var(--r-sm);
    position: relative;
}
.site-nav .nav-link:hover { color: var(--blue); }
.site-nav .nav-link.active { color: var(--blue); }
.site-nav .nav-link.active::after {
    content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .25rem;
    height: 2px; background: var(--accent); border-radius: 2px;
}
.site-nav .dropdown-menu {
    border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--shadow); padding: .4rem; margin-top: .6rem;
}
.site-nav .dropdown-item {
    font-family: var(--font-display); font-weight: 500; color: var(--ink);
    border-radius: var(--r-sm); padding: .55rem .85rem;
}
.site-nav .dropdown-item:hover, .site-nav .dropdown-item.active {
    background: var(--blue-050); color: var(--blue);
}
.navbar-toggler { border: 1px solid var(--line); padding: .35rem .55rem; }
.navbar-toggler:focus { box-shadow: var(--ring); }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--surface { background: var(--surface); }
.section--ink { background: var(--blue-900); color: rgba(255,255,255,.85); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
    margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section--ink .eyebrow { color: var(--accent); }

.section-title {
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    margin-bottom: 1rem;
}
.section--ink .section-title { color: #fff; }
.section-intro { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.section-head--center { text-align: center; }
.section-head--center .section-intro { margin-inline: auto; }

/* ---------- Three.js canvases ---------- */
.hero-canvas, .banner-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none; display: block;
}
.is-zoomable { cursor: zoom-in; }

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1100px 520px at 88% -8%, rgba(11,79,147,.10), transparent 60%),
        linear-gradient(180deg, #fbfcfe 0%, var(--surface) 100%);
    padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px),
                      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(70% 60% at 70% 30%, #000 30%, transparent 75%);
            mask-image: radial-gradient(70% 60% at 70% 30%, #000 30%, transparent 75%);
    opacity: .5; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-title {
    font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; line-height: 1.05;
    color: var(--ink); margin-bottom: 1.1rem;
}
.hero-title .accent { color: var(--blue); position: relative; white-space: nowrap; }
.hero-title .accent::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .22em;
    background: var(--accent); opacity: .55; z-index: -1; border-radius: 3px;
}
.hero-lede { font-size: 1.2rem; color: var(--body); max-width: 52ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; list-style: none; padding: 0; margin: 0; }
.hero-trust li { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--ink); }
.hero-trust i { color: var(--blue); font-size: 1.2rem; }

.hero-figure { position: relative; }
.hero-figure img {
    width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
    object-fit: cover; aspect-ratio: 4 / 3;
}
.hero-badge {
    position: absolute; left: -18px; bottom: 26px;
    background: #fff; border-radius: var(--r); box-shadow: var(--shadow);
    padding: 1rem 1.2rem; display: flex; align-items: center; gap: .9rem;
    border: 1px solid var(--line);
}
.hero-badge .num { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--blue); line-height: 1; }
.hero-badge .lbl { font-size: .85rem; color: var(--muted); line-height: 1.25; }

/* ---------- Hero carousel ---------- */
.hero-carousel { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface-2); }
.hero-slide { display: block; position: relative; }
.hero-carousel .carousel-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.hero-slide__cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: 2.2rem 1.3rem 1.1rem; color: #fff;
    font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
    background: linear-gradient(0deg, rgba(6,41,77,.9), rgba(6,41,77,0));
}
.hero-slide__cap .more { font-size: .9rem; color: var(--accent); display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.hero-slide__cap .more i { transition: transform .2s ease; }
.hero-slide:hover .more i { transform: translateX(4px); }
.hero-carousel .carousel-indicators { margin: 0 0 .7rem; }
.hero-carousel .carousel-indicators [data-bs-target] { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.6); opacity: 1; }
.hero-carousel .carousel-indicators .active { background: var(--accent); width: 22px; border-radius: 5px; }
.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { width: 14%; opacity: 0; transition: opacity .2s ease; }
.hero-carousel:hover .carousel-control-prev, .hero-carousel:hover .carousel-control-next, .hero-carousel:focus-within .carousel-control-prev, .hero-carousel:focus-within .carousel-control-next { opacity: 1; }
.hero-carousel .carousel-control-prev-icon, .hero-carousel .carousel-control-next-icon {
    background-color: rgba(6,41,77,.65); border-radius: 50%; width: 42px; height: 42px; background-size: 45%;
}
@media (max-width: 991.98px) {
    .hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { opacity: .9; width: 18%; }
}

/* ---------- Stat band ---------- */
.stat-band { background: var(--blue-900); color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--accent); line-height: 1; }
.stat .lbl { color: rgba(255,255,255,.78); font-size: .95rem; margin-top: .5rem; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.product-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    overflow: hidden; display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c8d6e8; }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__tag {
    position: absolute; top: .8rem; left: .8rem;
    background: rgba(6,41,77,.85); color: #fff; font-family: var(--font-mono);
    font-size: .72rem; letter-spacing: .05em; text-transform: uppercase;
    padding: .3rem .6rem; border-radius: 100px; backdrop-filter: blur(3px);
}
.product-card__body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card__title { font-size: 1.2rem; margin-bottom: .5rem; }
.product-card__title a { color: var(--ink); }
.product-card__title a:hover { color: var(--blue); }
.product-card__text { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.product-card__link {
    margin-top: auto; font-family: var(--font-display); font-weight: 600; color: var(--blue);
    display: inline-flex; align-items: center; gap: .4rem;
}
.product-card__link i { transition: transform .2s ease; }
.product-card:hover .product-card__link i { transform: translateX(4px); }

/* ---------- Feature / why cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.feature {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 1.6rem; display: flex; gap: 1.1rem; box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
    flex: 0 0 auto; width: 54px; height: 54px; border-radius: 14px;
    display: grid; place-items: center; font-size: 1.5rem;
    background: var(--blue-050); color: var(--blue);
}
.feature h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.feature p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Brand marquee ---------- */
.brand-strip { overflow: hidden; }
.brand-track {
    display: flex; gap: 3rem; align-items: center; width: max-content;
    animation: marquee 52s linear infinite;
}
.brand-track:hover { animation-play-state: paused; }
.brand-track img { height: 38px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .2s, opacity .2s; }
.brand-track img:hover { filter: grayscale(0); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .brand-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
    position: relative; background: var(--blue-900); color: #fff;
    padding: clamp(2.6rem, 5vw, 4rem) 0; overflow: hidden;
}
.page-banner::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 40px 40px; opacity: .7;
}
.page-banner::after {
    content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,182,9,.22), transparent 70%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .6rem; }
.breadcrumb-bar { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); margin: 0; }
.breadcrumb-bar .breadcrumb-item, .breadcrumb-bar a { color: rgba(255,255,255,.78); font-size: .92rem; }
.breadcrumb-bar a:hover { color: var(--accent); }
.breadcrumb-bar .active { color: #fff; }

/* ---------- Product detail ---------- */
.pd-figure {
    position: relative;
    border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); background: var(--surface-2);
}
.pd-figure img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.pd-thumbs { display: flex; gap: .6rem; margin-top: .7rem; }
.pd-thumbs img { width: 84px; height: 64px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); }

.pd-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.pd-lede { color: var(--body); font-size: 1.08rem; }
.pd-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.pd-chips li {
    font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
    background: var(--blue-050); color: var(--blue-700);
    padding: .35rem .7rem; border-radius: 100px;
}

/* Sidebar product nav */
.pd-aside {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    padding: 1.4rem; position: sticky; top: 96px;
}
.pd-aside h2 { font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--accent); display: inline-block; }
.pd-aside ul { list-style: none; padding: 0; margin: 0; }
.pd-aside li + li { margin-top: .3rem; }
.pd-aside a {
    display: flex; align-items: center; justify-content: space-between;
    padding: .65rem .85rem; border-radius: var(--r-sm); color: var(--ink);
    font-family: var(--font-display); font-weight: 500; background: #fff;
    border: 1px solid var(--line); transition: all .2s ease;
}
.pd-aside a::after { content: "\F285"; font-family: "bootstrap-icons"; color: var(--muted); font-size: .8rem; }
.pd-aside a:hover { border-color: var(--blue); color: var(--blue); transform: translateX(3px); }
.pd-aside a.current { background: var(--blue); color: #fff; border-color: var(--blue); }
.pd-aside a.current::after { color: var(--accent); }

.pd-help {
    margin-top: 1rem; background: var(--blue-900); color: #fff; border-radius: var(--r); padding: 1.3rem;
}
.pd-help h3 { color: #fff; font-size: 1.05rem; }
.pd-help p { color: rgba(255,255,255,.78); font-size: .9rem; margin-bottom: .9rem; }

/* ---------- Spec tabs ---------- */
.spec-tabs.nav-tabs { border-bottom: 2px solid var(--line); gap: .25rem; }
.spec-tabs .nav-link {
    font-family: var(--font-display); font-weight: 600; color: var(--muted);
    border: none; border-bottom: 3px solid transparent; border-radius: 0;
    padding: .8rem 1.1rem; margin-bottom: -2px;
}
.spec-tabs .nav-link:hover { color: var(--blue); }
.spec-tabs .nav-link.active { color: var(--blue); border-bottom-color: var(--accent); background: transparent; }
.spec-panel { padding-top: 1.6rem; }
.spec-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 2rem; }
.spec-list li { position: relative; padding-left: 1.6rem; color: var(--body); }
.spec-list li::before {
    content: "\F26E"; font-family: "bootstrap-icons"; color: var(--blue);
    position: absolute; left: 0; top: .05rem; font-weight: 700;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.spec-table th, .spec-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { background: var(--surface); color: var(--ink); font-family: var(--font-display); }
.spec-table tbody th { font-weight: 600; color: var(--ink); width: 42%; font-family: var(--font-body); }
.spec-table td { font-family: var(--font-mono); color: var(--body); }
.spec-table tr:hover td, .spec-table tr:hover th { background: var(--blue-050); }

/* ---------- Gallery ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.2rem; padding: 0; list-style: none; }
.filter-pills button {
    font-family: var(--font-display); font-weight: 600; font-size: .9rem;
    background: #fff; color: var(--ink); border: 1px solid var(--line);
    padding: .5rem 1.1rem; border-radius: 100px; cursor: pointer; transition: all .2s ease;
}
.filter-pills button:hover { border-color: var(--blue); color: var(--blue); }
.filter-pills button.active { background: var(--blue); color: #fff; border-color: var(--blue); }

.masonry { columns: 3; column-gap: 1.1rem; }
.masonry .gitem { break-inside: avoid; margin-bottom: 1.1rem; }
.gitem-inner { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gitem-inner img { width: 100%; display: block; transition: transform .5s ease; }
.gitem-inner:hover img { transform: scale(1.05); }
.gitem-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1rem; gap: .4rem; opacity: 0; transition: opacity .3s ease;
    background: linear-gradient(0deg, rgba(6,41,77,.82), rgba(6,41,77,0) 65%);
}
.gitem-inner:hover .gitem-overlay, .gitem-inner:focus-within .gitem-overlay { opacity: 1; }
.gitem-overlay h3 { color: #fff; font-size: 1rem; margin: 0; }
.gitem-zoom {
    position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; background: var(--accent); color: var(--accent-ink);
    border: none; cursor: pointer; transform: scale(.7); opacity: 0; transition: all .3s ease;
}
.gitem-inner:hover .gitem-zoom, .gitem-inner:focus-within .gitem-zoom { transform: scale(1); opacity: 1; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 2100; display: none;
    background: rgba(6,16,30,.92); align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox-close {
    position: absolute; top: 1.2rem; right: 1.4rem; width: 48px; height: 48px; border-radius: 50%;
    background: #fff; color: var(--ink); border: none; font-size: 1.3rem; cursor: pointer; z-index: 2;
}
.lightbox-close:hover { background: var(--accent); color: var(--accent-ink); }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.45rem;
    display: grid; place-items: center; transition: background .2s ease, transform .2s ease;
}
.lightbox-prev { left: 1.4rem; }
.lightbox-next { right: 1.4rem; }
.lightbox-nav:hover { background: var(--accent); color: var(--accent-ink); }
.lightbox-nav:active { transform: translateY(-50%) scale(.92); }
.lightbox-counter {
    position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); z-index: 2;
    background: rgba(6,16,30,.72); color: #fff; font-family: var(--font-mono);
    font-size: .85rem; padding: .35rem .85rem; border-radius: 100px;
}
@media (max-width: 575.98px) {
    .lightbox-nav { width: 44px; height: 44px; font-size: 1.2rem; }
    .lightbox-prev { left: .5rem; } .lightbox-next { right: .5rem; }
}

/* ---------- Contact ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.form-label { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: .35rem; }
.form-label .req { color: var(--err); }
.form-control, .form-select {
    border: 1px solid var(--line); border-radius: var(--r-sm); padding: .75rem .9rem;
    font-size: 1rem; color: var(--ink); background: var(--surface);
}
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: var(--ring); background: #fff; }
.form-control::placeholder { color: #9aa8b9; }
.form-note { font-size: .85rem; color: var(--muted); }
.alert-msg { margin-top: .5rem; font-weight: 600; border-radius: var(--r-sm); padding: 0; }
.alert-msg.show { padding: .8rem 1rem; }
.alert-msg.ok { background: var(--ok-bg); color: var(--ok); }
.alert-msg.err { background: var(--err-bg); color: var(--err); }

.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; height: 100%; }
.info-card h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.info-card h3 i { color: var(--blue); }
.info-row { display: flex; gap: .6rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.info-row:last-child { border-bottom: none; }
.info-row i { color: var(--blue); margin-top: .2rem; }
.map-embed { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); line-height: 0; }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.2); }

/* ---------- FAQ accordion ---------- */
.faq-accordion .accordion-item {
    border: 1px solid var(--line); border-radius: var(--r) !important;
    margin-bottom: .8rem; overflow: hidden; background: #fff;
}
.faq-accordion .accordion-button {
    font-family: var(--font-display); font-weight: 600; color: var(--ink);
    font-size: 1.05rem; padding: 1.1rem 1.2rem; background: #fff;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--blue); background: var(--blue-050); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: var(--ring); border-color: var(--blue); }
.faq-accordion .accordion-button::after {
    width: 1.1rem; height: 1.1rem; background-size: 1.1rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='%230b4f93' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
.faq-accordion .accordion-body { color: var(--body); padding: 0 1.2rem 1.2rem; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.industry {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem;
    box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.industry__icon { font-size: 1.8rem; color: var(--blue); margin-bottom: .7rem; display: inline-block; }
.industry h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.industry p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 991.98px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .industry-grid { grid-template-columns: 1fr; } }

/* ---------- reCAPTCHA + modal ---------- */
.grecaptcha-badge { visibility: hidden !important; }   /* attribution shown via .recaptcha-note instead */
.recaptcha-note { font-size: .78rem; color: var(--muted); margin: .7rem 0 0; }
.recaptcha-note a { color: var(--blue); text-decoration: underline; }
.modal-content { border: 0; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.modal-header { border-bottom: 1px solid var(--line); padding: 1.1rem 1.3rem; }
.modal-title { font-family: var(--font-display); color: var(--ink); }
.modal-title i { color: var(--blue); }
.modal-body { padding: 1.3rem; }

/* ---------- CTA band ---------- */
.cta-band {
    background:
        radial-gradient(700px 300px at 12% 0%, rgba(255,182,9,.16), transparent 60%),
        var(--blue);
    color: #fff;
}
.cta-band .cta-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    padding: clamp(2.2rem, 5vw, 3.4rem) 0;
}
.cta-title { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.cta-sub { color: rgba(255,255,255,.85); max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0a2138; color: rgba(255,255,255,.72); padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.footer-logo { background: #fff; padding: .5rem .7rem; border-radius: var(--r-sm); margin-bottom: 1.1rem; }
.footer-about { font-size: .95rem; max-width: 38ch; margin-bottom: 1.2rem; }
.footer-title { color: #fff; font-family: var(--font-display); letter-spacing: .02em; margin-bottom: 1.1rem; }
.footer-links li, .footer-contact li { margin-bottom: .55rem; font-size: .95rem; }
.footer-links a { color: rgba(255,255,255,.72); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: var(--accent); }
.footer-contact i { color: var(--accent); margin-right: .35rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: #fff; transition: all .2s ease;
}
.footer-social a:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding: 1.2rem 0; font-size: .88rem; }
.footer-made { color: rgba(255,255,255,.5); }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; right: 1.2rem; bottom: 5.5rem; z-index: 1040;
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: var(--blue); color: #fff; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- WhatsApp quick action ---------- */
.wa-float {
    position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 1045;
    display: inline-flex; align-items: center; flex-direction: row-reverse; gap: .55rem;
    background: #25d366; color: #fff; border-radius: 100px;
    padding: .8rem .85rem; box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
    font-family: var(--font-display); font-weight: 600; font-size: .95rem;
    text-decoration: none;
}
.wa-float:hover, .wa-float:focus-visible { background: #1ebe5d; color: #fff; }
.wa-float i { font-size: 1.55rem; line-height: 1; }
.wa-float .wa-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s ease; }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 160px; }
.wa-float::before {
    content: ""; position: absolute; inset: 0; border-radius: 100px; z-index: -1;
    animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
@media (max-width: 575.98px) {
    .wa-float { right: .9rem; bottom: .9rem; padding: .75rem .8rem; }
    .wa-float .wa-label { display: none; }
}

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
/* Hidden only when JS is active; without JS everything stays visible. */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .product-card, .feature, .gitem-inner img, .product-card__media img { transition: none; }
}

/* ---------- Prose ---------- */
.prose p { margin-bottom: 1rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.lead-blue { color: var(--blue); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
    .masonry { columns: 2; }
    .site-nav .navbar-nav { padding: .8rem 0; gap: .15rem; }
    .site-nav .nav-link.active::after { display: none; }
    .pd-aside { position: static; margin-top: 1.5rem; }
    .hero-badge { left: 12px; }
}
@media (max-width: 575.98px) {
    body { font-size: 1rem; }
    .product-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .spec-list { grid-template-columns: 1fr; }
    .masonry { columns: 1; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .cta-band .cta-inner { flex-direction: column; align-items: flex-start; }
    .hero-figure { margin-top: 2rem; }
}
