/* ==========================================================================
   Tradimed - components
   ========================================================================== */

/* ---------------------------------------------------------------- scroll progress */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}

/* ---------------------------------------------------------------- top bar */
.topbar { background: var(--navy); color: var(--muted-on-dark); font-size: var(--fs-xs); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 40px; }
.topbar__info { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); align-items: center; }
.topbar__info li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.topbar__info svg { width: 14px; height: 14px; color: var(--green); }
.topbar a { color: var(--muted-on-dark); }
.topbar a:hover { color: #fff; }
.topbar__social { display: inline-flex; align-items: center; gap: var(--sp-2); }
.topbar__social svg { width: 14px; height: 14px; }
@media (max-width: 760px) { .topbar__addr, .topbar__social { display: none !important; } .topbar__inner { justify-content: center; } }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease-out), border-color .35s, background-color .35s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11, 29, 51, .35); border-bottom-color: var(--line); background: rgba(255, 255, 255, .94); }
.header__inner { display: flex; align-items: center; gap: var(--sp-6); height: var(--header-h); transition: height .35s var(--ease-out); }
.site-header.is-scrolled .header__inner { height: 64px; }
.brand { flex: none; display: block; }
.brand img { height: 46px; width: auto; transition: height .35s var(--ease-out); }
.site-header.is-scrolled .brand img { height: 40px; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav__list a {
  position: relative; display: block; padding: 10px 14px; border-radius: var(--pill);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--ink);
  transition: color .2s, background-color .2s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__list a:hover { color: var(--blue-600); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--blue-600); }
.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: var(--sp-2); }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); transition: all .25s var(--ease-out);
}
.icon-btn:hover { border-color: var(--blue); color: var(--blue-600); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
.header__wa { display: none; }
@media (min-width: 1180px) { .header__wa { display: inline-flex; } }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .2s, top .35s var(--ease-out);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  /* backdrop-filter would become the containing block of the fixed off-canvas nav */
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-block; }
  .header__actions { margin-left: auto; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 150; margin: 0;
    background: var(--navy); padding: calc(var(--header-h) + 8px) var(--sp-6) var(--sp-8);
    transform: translateX(100%); visibility: hidden;
    transition: transform .5s var(--ease-out), visibility 0s linear .5s; overflow-y: auto;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease-out); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__list li { opacity: 0; transform: translateX(24px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms + 120ms); }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav__list a { color: #fff; font-size: var(--fs-lg); padding: 14px 16px; border-radius: var(--radius); }
  .nav__list a::after { display: none; }
  .nav__list a:hover, .nav__list a[aria-current="page"] { background: rgba(255,255,255,.08); color: var(--green); }
  .nav__cta { display: grid; gap: var(--sp-3); margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid rgba(255,255,255,.12); }
  .nav-toggle { position: relative; z-index: 160; }
  .nav-open .nav-toggle { background: var(--navy); border-color: rgba(255,255,255,.2); }
  .nav-open .nav-toggle span::before, .nav-open .nav-toggle span::after { background: #fff; }
}
.nav-backdrop {
  position: fixed; inset: 0; z-index: 99; /* below .site-header (100), whose stacking context holds the nav */ background: rgba(11, 29, 51, .55); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s linear .4s;
}
.nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity .4s; }
.nav-open { overflow: hidden; }

/* ---------------------------------------------------------------- search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 300; display: grid; align-items: start; justify-items: center;
  padding: clamp(64px, 12vh, 140px) var(--gutter) var(--sp-6);
  background: rgba(11, 29, 51, .6); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.search-panel {
  width: min(680px, 100%); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  transform: translateY(-16px) scale(.98); transition: transform .4s var(--ease-out);
}
.search-overlay.is-open .search-panel { transform: none; }
.search-field { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--line); }
.search-field svg { width: 20px; height: 20px; color: var(--blue-600); flex: none; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: var(--fs-lg); padding: 8px 0; background: transparent; }
.search-field kbd { font-family: var(--font-body); font-size: var(--fs-xs); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
.search-results { list-style: none; max-height: min(60vh, 460px); overflow-y: auto; padding: var(--sp-2); }
.search-results a { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-3); border-radius: var(--radius); color: var(--ink); }
.search-results a:hover, .search-results a.is-active { background: var(--blue-50); }
.search-results img { width: 52px; height: 52px; object-fit: contain; background: var(--surface); border-radius: 10px; flex: none; }
.search-results strong { display: block; font-family: var(--font-display); font-size: var(--fs-sm); }
.search-results span { font-size: var(--fs-xs); color: var(--muted); }
.search-empty { padding: var(--sp-8) var(--sp-5); text-align: center; color: var(--muted); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------- hero (home) */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #d6e6f5;
  background: radial-gradient(1200px 600px at 85% 10%, rgba(32,123,189,.45), transparent 60%),
              radial-gradient(800px 500px at 0% 100%, rgba(107,180,76,.18), transparent 60%),
              linear-gradient(160deg, #081628 0%, var(--navy) 45%, #0d2747 100%);
  /* fills the first screen: viewport minus top bar + sticky header (svh = stable on mobile browsers) */
  min-height: calc(100vh - var(--chrome-h));
  min-height: calc(100svh - var(--chrome-h));
  display: flex; align-items: center;
  padding: clamp(20px, 4.5vh, 64px) 0 clamp(48px, 9vh, 100px);
}
.hero > .container { width: 100%; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; mix-blend-mode: screen; transform: scale(1.08); animation: heroDrift 24s var(--ease-in-out) infinite alternate; }
@keyframes heroDrift { to { transform: scale(1.18) translate3d(-2%, -1%, 0); } }
/* generated photo-style hero: shown at full strength, darkened on the left where the headline sits */
.hero__bg--photo img { opacity: .9; mix-blend-mode: normal; object-position: 70% center; }
.hero__bg--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,40,.94) 0%, rgba(8,22,40,.82) 38%, rgba(8,22,40,.35) 70%, rgba(8,22,40,.15) 100%), linear-gradient(0deg, rgba(8,22,40,.7), transparent 40%); }
@media (max-width: 1023px) { .hero__bg--photo::after { background: linear-gradient(180deg, rgba(8,22,40,.78), rgba(8,22,40,.9)); } }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,40,.9) 0%, rgba(8,22,40,.6) 50%, rgba(8,22,40,.2) 100%); }
@media (max-width: 760px) { .page-hero__bg::after { background: rgba(8,22,40,.75); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero__grid { display: grid; gap: clamp(16px, 3vh, 56px); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.3fr .7fr; } }
/* type scales with viewport height too, so the whole hero fits short laptop screens */
.hero h1 { color: #fff; margin-bottom: clamp(8px, 2.2vh, 22px); max-width: 17ch; font-size: clamp(2rem, min(4.6vw, 6.2vh), 4.4rem); }
.hero__lead { font-size: clamp(.875rem, .5rem + .95vh, 1.0625rem); line-height: 1.6; color: #c3d6ea; max-width: 70ch; margin-bottom: clamp(12px, 3vh, 30px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--sp-2); padding: 6px 14px 6px 6px; margin-bottom: clamp(10px, 2.4vh, 22px);
  border-radius: var(--pill); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: var(--fs-xs); font-weight: 600; color: #e6f1fb; backdrop-filter: blur(6px);
}
.hero__badge b { background: var(--green); color: var(--ink); border-radius: var(--pill); padding: 3px 10px; font-weight: 700; }
.hero__badge-short { display: none; }
@media (max-width: 600px) { .hero__badge-long { display: none; } .hero__badge-short { display: inline; } }
.hero-signup { max-width: 560px; margin-top: clamp(12px, 3.2vh, 36px); }
.hero .btn--lg { min-height: clamp(44px, 6.2vh, 56px); padding-block: 10px; }
.form-status:empty { display: none; }
.hero__signup-label { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: var(--sp-3); }

.hero__visual { position: relative; width: 100%; max-width: 420px; justify-self: end; }
.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(28px, 4.5vh, 48px); z-index: 2; width: 24px; height: 38px; margin-left: -12px;
  border: 2px solid rgba(255,255,255,.5); border-radius: 14px; transition: border-color .3s;
}
.hero__scroll::before { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--green); animation: scrollCue 1.8s var(--ease-in-out) infinite; }
.hero__scroll:hover { border-color: #fff; }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 1023px), (max-height: 860px) { .hero__scroll { display: none; } }
.monitor {
  position: relative; border-radius: var(--radius-xl); padding: var(--sp-6);
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.monitor__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); font-size: var(--fs-xs); color: var(--muted-on-dark); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.monitor__live { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.monitor__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(107,180,76,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(107,180,76,0); } 100% { box-shadow: 0 0 0 0 rgba(107,180,76,0); } }
.wave { position: relative; height: 64px; border-top: 1px dashed rgba(255,255,255,.08); overflow: hidden; }
.wave svg { position: absolute; inset: 0; width: 200%; max-width: none; height: 100%; animation: waveScroll var(--speed, 6s) linear infinite; }
.wave path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wave--blue path { stroke: #4fb0f0; filter: drop-shadow(0 0 6px rgba(79,176,240,.6)); }
.wave--green path { stroke: var(--green); filter: drop-shadow(0 0 6px rgba(107,180,76,.6)); }
.wave--white path { stroke: rgba(255,255,255,.75); }
.wave span { position: absolute; left: 0; top: 6px; font-size: 10px; letter-spacing: .1em; color: var(--muted-on-dark); font-weight: 700; z-index: 1; }
@keyframes waveScroll { to { transform: translateX(-50%); } }
.monitor__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-top: var(--sp-5); }
/* compact monitor: traces and stats scale with screen height */
.hero .monitor { background: linear-gradient(160deg, rgba(16,41,74,.72), rgba(8,22,40,.6)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hero .monitor { padding: clamp(14px, 2.4vh, 22px); }
.hero .monitor .wave { height: clamp(30px, 5.4vh, 52px); }
.hero .monitor__head { margin-bottom: clamp(6px, 1.4vh, 14px); }
.hero .monitor__stats { margin-top: clamp(8px, 1.8vh, 16px); }
.hero .monitor__stat { padding: clamp(6px, 1.2vh, 12px) clamp(10px, 1.2vw, 14px); }
.hero .monitor__stat b { font-size: clamp(1.05rem, .6rem + 1.4vh, 1.4rem); line-height: 1.2; }
.monitor__stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: var(--sp-3) var(--sp-4); }
.monitor__stat b { display: block; font-family: var(--font-display); font-size: var(--fs-xl); color: #fff; }
.monitor__stat small { font-size: 11px; color: var(--muted-on-dark); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4);
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  font-size: var(--fs-xs); font-weight: 600; animation: bob 6s var(--ease-in-out) infinite;
}
.float-card img { width: 44px; height: 44px; object-fit: contain; }
.float-card b { display: block; font-family: var(--font-display); font-size: var(--fs-sm); }
.float-card--a { left: -28px; bottom: -32px; }
.float-card--b { right: -18px; top: -26px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 1023px) {
  /* tablet / mobile: the monitor becomes a slim strip under the copy */
  .float-card { display: none; }
  .hero__visual { max-width: 620px; justify-self: stretch; }
  .hero .monitor { padding: 8px 12px; border-radius: var(--radius-lg); }
  .hero .monitor__head { margin-bottom: 2px; font-size: 10px; }
  .hero .monitor .wave { height: clamp(18px, 2.8vh, 30px); }
  .hero .monitor .wave span { top: 1px; font-size: 9px; }
  .hero .monitor__stats { margin-top: 6px; gap: 6px; }
  .hero .monitor__stat { padding: 3px 10px; display: flex; align-items: baseline; gap: 6px; border-radius: 8px; }
  .hero .monitor__stat b { font-size: .95rem; }
}
@media (max-width: 600px) {
  .hero__badge { font-size: 11px; }
  .hero h1 { font-size: clamp(1.75rem, 4.2vh, 2.4rem); }
  /* the long welcome text is clamped on phones so the first screen holds everything; full text stays in the page */
  .hero__lead { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; font-size: .875rem; }
  .hero .btn-row { flex-wrap: nowrap; gap: 8px; }
  .hero .btn-row .btn--lg { flex: 1 1 0; min-height: 44px; padding: 8px 12px; font-size: 13px; white-space: nowrap; }
  .hero__signup-label { display: none; }
  .hero .signup .btn { min-height: 42px; }
}
@media (max-width: 600px) and (max-height: 700px) { .hero { padding: 14px 0 40px; } .hero__lead { -webkit-line-clamp: 3; line-clamp: 3; } .hero .monitor__stats { display: none; } }
.hero__curve { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 90px); color: var(--white); }
.hero__curve svg { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- signup / inline forms */
.signup { display: flex; gap: 6px; padding: 6px; border-radius: var(--pill); background: #fff; box-shadow: var(--shadow); }
.signup input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 var(--sp-5); background: transparent; color: var(--ink); }
.signup input::placeholder { color: var(--muted); }
.signup .btn { flex: none; }
.signup--dark { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.signup--dark input { color: #fff; }
.signup--dark input::placeholder { color: var(--muted-on-dark); }
.form-status { margin-top: var(--sp-3); font-size: var(--fs-sm); min-height: 1.4em; }
.form-status.is-ok { color: var(--green); }
.form-status.is-err { color: #e86a6a; }
.section--stone .form-status.is-err, .contact-form .form-status.is-err { color: #b42318; }
.contact-form .form-status.is-ok { color: #2f7a1d; }

/* ---------------------------------------------------------------- marquee */
.marquee { position: relative; overflow: hidden; padding-block: var(--sp-8); border-bottom: 1px solid var(--line); }
.marquee__label { text-align: center; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-6); }
.marquee__track { display: flex; gap: clamp(40px, 6vw, 88px); width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); font-weight: 800; letter-spacing: -.02em; color: #b4c0d0; white-space: nowrap; transition: color .3s; }
.marquee__item:hover { color: var(--blue-600); }
.marquee__fade { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- category tiles */
.cat-tiles { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, minmax(0, 1fr)); perspective: 1000px; }
@media (min-width: 600px) { .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat-tile {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: var(--sp-2);
  aspect-ratio: 4 / 5; padding: var(--sp-4); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background: linear-gradient(165deg, #2b8ad0 0%, var(--blue) 45%, var(--blue-700) 100%); color: #fff;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  box-shadow: 0 18px 30px -18px rgba(19, 79, 126, .7);
}
.cat-tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 45%);
}
.cat-tile:hover { color: #fff; box-shadow: 0 30px 50px -22px rgba(19, 79, 126, .85); }
.cat-tile:hover::before { opacity: 1; }
.cat-tile img { position: absolute; inset: 10% 10% 30%; width: 80%; height: 60%; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0,0,0,.35)); transition: transform .6s var(--ease-out); transform: translateZ(30px); }
.cat-tile:hover img { transform: translateZ(40px) scale(1.07) translateY(-4px); }
.cat-tile__name { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); letter-spacing: .02em; transform: translateZ(20px); }
.cat-tile__meta { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; transform: translateZ(20px); }
.cat-tile--alt { background: linear-gradient(165deg, #1e3d63, var(--navy-2) 50%, var(--navy) 100%); }

/* ---------------------------------------------------------------- stats band */
.stats { display: grid; gap: var(--sp-6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { position: relative; padding: var(--sp-6) var(--sp-6) var(--sp-6) 0; }
.stat + .stat { padding-left: var(--sp-6); border-left: 1px solid rgba(255,255,255,.12); }
@media (max-width: 899px) { .stat:nth-child(3) { padding-left: 0; border-left: 0; } }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); line-height: 1; color: #fff; letter-spacing: -.03em; }
.stat__num sup { font-size: .45em; color: var(--green); vertical-align: top; margin-left: 2px; }
.stat__label { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--muted-on-dark); }

/* ---------------------------------------------------------------- feature / why-us */
.feature-list { list-style: none; display: grid; gap: var(--sp-4); margin: var(--sp-6) 0 var(--sp-8); }
.feature-list li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.feature-list .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.feature-list .ico svg { width: 22px; height: 22px; }
.feature-list b { display: block; font-family: var(--font-display); color: var(--ink); }
.feature-list span { font-size: var(--fs-sm); color: var(--muted); }
.media-stack { position: relative; }
.media-stack .img-reveal { aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-lg); }
.media-stack .img-reveal img { width: 100%; height: 100%; object-fit: cover; }
.media-badge {
  position: absolute; right: clamp(-12px, -2vw, -24px); bottom: -28px; display: flex; gap: var(--sp-3); align-items: center;
  padding: var(--sp-4) var(--sp-5); background: var(--green); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: bob 7s var(--ease-in-out) infinite;
}
.media-badge svg { width: 32px; height: 32px; }
.media-badge b { display: block; font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.1; }
.media-badge small { font-weight: 600; font-size: var(--fs-xs); }
@media (max-width: 600px) { .media-badge { right: 12px; } }

/* ---------------------------------------------------------------- product cards */
.product-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.product-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden; color: var(--ink);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s, opacity .35s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.product-card__media { position: relative; aspect-ratio: 1; background: linear-gradient(160deg, #fff, var(--surface)); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: var(--sp-4); transition: transform .7s var(--ease-out); }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__tag {
  position: absolute; left: var(--sp-3); top: var(--sp-3); z-index: 1; padding: 4px 10px; border-radius: var(--pill);
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600);
  box-shadow: var(--shadow-sm);
}
.product-card__quick {
  position: absolute; inset: auto var(--sp-3) var(--sp-3) var(--sp-3); z-index: 1; display: flex; justify-content: center;
  padding: 10px; border-radius: var(--pill); background: var(--navy); color: #fff; font-size: var(--fs-xs); font-weight: 700; font-family: var(--font-display);
  transform: translateY(140%); transition: transform .45s var(--ease-out);
}
.product-card:hover .product-card__quick, .product-card:focus-visible .product-card__quick { transform: none; }
.product-card__body { display: flex; flex-direction: column; gap: 6px; padding: var(--sp-4) var(--sp-5) var(--sp-5); flex: 1; }
.product-card__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-base); line-height: 1.3; margin: 0; color: var(--ink); }
.product-card__more { margin-top: auto; padding-top: var(--sp-2); display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 700; color: var(--blue-600); font-family: var(--font-display); }
.product-card__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.product-card:hover .product-card__more svg { transform: translateX(4px); }
.product-card.is-hidden { display: none; }
.product-card.is-entering { animation: cardIn .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ---------------------------------------------------------------- page hero (inner pages) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #cfe0f1;
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 120px);
  background: linear-gradient(135deg, #081628 0%, var(--navy) 40%, var(--blue-700) 100%);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: .75; }
.page-hero__bg img[src*='/banner-neural'] { object-position: center top; }
.page-hero__bg img:not([src*='/banner-neural']) { opacity: 1; object-position: 70% center; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero h1 { color: #fff; font-size: var(--fs-3xl); margin-bottom: var(--sp-4); }
.page-hero p { max-width: 60ch; font-size: var(--fs-md); color: #c3d6ea; margin: 0; }
.page-hero .wave { position: absolute; left: 0; right: 0; bottom: 18px; height: 60px; opacity: .55; border: 0; z-index: -1; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; font-size: var(--fs-xs); font-weight: 600; margin-bottom: var(--sp-5); color: var(--muted-on-dark); }
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb--light { color: var(--muted); }
.breadcrumb--light a { color: var(--blue-600); }

/* ---------------------------------------------------------------- shop / category */
.shop-layout { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 260px 1fr; align-items: start; } }
.shop-side { display: grid; gap: var(--sp-6); }
@media (min-width: 1024px) { .shop-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); }
.side-card h2 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: var(--sp-4); }
.side-cats { list-style: none; display: grid; gap: 4px; }
.side-cats a { display: flex; align-items: center; gap: var(--sp-3); padding: 8px; border-radius: var(--radius); color: var(--ink); font-weight: 600; font-size: var(--fs-sm); transition: background-color .2s, transform .3s var(--ease-out); }
.side-cats a:hover, .side-cats a[aria-current="page"] { background: var(--blue-50); color: var(--blue-600); transform: translateX(3px); }
.side-cats img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.side-cats small { margin-left: auto; font-size: 11px; color: var(--muted); background: var(--stone); border-radius: var(--pill); padding: 2px 9px; }
.side-cta { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: var(--muted-on-dark); border: 0; }
.side-cta h2 { color: var(--green); }
.side-cta p { font-size: var(--fs-sm); }
.side-cta strong { color: #fff; display: block; font-family: var(--font-display); font-size: var(--fs-lg); margin-bottom: var(--sp-2); }

.toolbar { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between; margin-bottom: var(--sp-6); }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--pill); border: 1px solid var(--line);
  background: #fff; font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
  transition: all .25s var(--ease-out);
}
.chip small { font-size: 11px; color: var(--muted); }
.chip:hover { border-color: var(--blue); color: var(--blue-600); }
.chip.is-active, .chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-active small, .chip[aria-current="page"] small, .chip[aria-pressed="true"] small { color: var(--muted-on-dark); }
.filter-search { position: relative; flex: 1 1 240px; max-width: 340px; }
.filter-search input { width: 100%; min-height: 44px; padding: 0 var(--sp-4) 0 42px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.filter-search input:focus { outline: 0; border-color: var(--blue); box-shadow: var(--ring); }
.filter-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.result-count { font-size: var(--fs-sm); color: var(--muted); }
.empty-state { display: none; padding: var(--sp-12) var(--sp-6); text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.empty-state.is-visible { display: block; }

/* ---------------------------------------------------------------- product detail */
.pd { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .pd { grid-template-columns: 1fr 1fr; } }
.pd__media { position: relative; }
@media (min-width: 960px) { .pd__media { position: sticky; top: calc(var(--header-h) + 24px); } }
.pd__frame {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--radius-xl); background: radial-gradient(circle at 30% 20%, #fff, var(--stone)); box-shadow: var(--shadow);
}
.pd__frame img { width: 100%; height: 100%; object-fit: contain; padding: clamp(16px, 3vw, 32px); transition: transform .5s var(--ease-out); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pd__frame:hover img { transform: scale(1.5); }
.pd__zoom-hint { position: absolute; right: var(--sp-4); bottom: var(--sp-4); display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: var(--pill); background: rgba(11,29,51,.8); color: #fff; font-size: 11px; font-weight: 600; pointer-events: none; }
.pd__zoom-hint svg { width: 14px; height: 14px; }
.pd__info h1 { font-size: var(--fs-3xl); margin-bottom: var(--sp-4); }
.pd__cats { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.pd__cats a { padding: 4px 12px; border-radius: var(--pill); background: var(--blue-50); color: var(--blue-600); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; }
.pd__cats a:hover { background: var(--blue); color: #fff; }
.pd__summary { font-size: var(--fs-md); color: var(--muted); line-height: 1.75; margin-bottom: var(--sp-6); }
.pd__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.pd__assure { list-style: none; display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); padding: var(--sp-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.pd__assure li { display: flex; gap: var(--sp-3); align-items: center; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.pd__assure svg { width: 22px; height: 22px; color: var(--green-600); flex: none; }
.pd__meta { margin-top: var(--sp-6); font-size: var(--fs-sm); color: var(--muted); display: grid; gap: var(--sp-2); }
.pd__meta b { color: var(--ink); }
.pd__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pd__tags span { padding: 2px 10px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 12px; }

.pd-body { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1024px) { .pd-body { grid-template-columns: 240px minmax(0, 1fr); } }
.toc { display: none; }
@media (min-width: 1024px) {
  .toc { display: block; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
}
.toc h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: var(--sp-4); }
.toc ol { list-style: none; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px var(--sp-4); margin-left: -2px; border-left: 2px solid transparent; font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--blue-600); border-left-color: var(--blue); font-weight: 600; }
.toc .toc__sub a { padding-left: var(--sp-8); font-size: var(--fs-xs); }

.prose { font-size: var(--fs-md); color: var(--text); max-width: 76ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: var(--fs-2xl); margin: 2.2em 0 .6em; }
.prose h3 { font-size: var(--fs-xl); margin: 1.8em 0 .5em; }
.prose h4 { font-size: var(--fs-lg); margin: 1.5em 0 .4em; }
.prose p { margin-bottom: 1.1em; }
.prose strong { color: var(--ink); }
.prose ol, .prose ul { padding-left: 1.4em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--blue-600); font-weight: 700; }
.prose h2 strong, .prose h3 strong, .prose h4 strong { color: inherit; font-weight: inherit; }

/* ---------------------------------------------------------------- contact */
.info-cards { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.info-card {
  position: relative; padding: var(--sp-8) var(--sp-6); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  text-align: center; overflow: hidden; color: var(--text); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.info-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.info-card:hover::before { transform: scaleX(1); }
.info-card__ico { width: 64px; height: 64px; margin: 0 auto var(--sp-5); display: grid; place-items: center; border-radius: 20px; background: var(--green-50); color: #2f7a1d; transition: transform .5s var(--ease-out), background-color .3s, color .3s; }
.info-card:hover .info-card__ico { transform: rotate(-8deg) scale(1.08); background: var(--green); color: var(--ink); }
.info-card__ico svg { width: 28px; height: 28px; }
.info-card h2 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.info-card p { margin: 0; font-weight: 600; color: var(--ink); }

.contact-wrap { display: grid; gap: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
@media (min-width: 960px) { .contact-wrap { grid-template-columns: 1.05fr .95fr; } }
.contact-form { padding: clamp(28px, 5vw, 56px); }
.contact-form h2 { font-size: var(--fs-2xl); color: var(--blue-600); }
.contact-aside { position: relative; min-height: 320px; isolation: isolate; color: #d6e6f5; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 48px); }
.contact-aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: -2; }
.contact-aside::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,29,51,0) 40%, rgba(11,29,51,.85) 70%, rgba(11,29,51,.95)); }
.contact-aside h3 { color: #fff; }
.contact-aside ul { list-style: none; display: grid; gap: var(--sp-3); margin-top: var(--sp-4); }
.contact-aside li { display: flex; gap: var(--sp-3); align-items: center; }
.contact-aside li svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.contact-aside a { color: #fff; }

.field { position: relative; margin-bottom: var(--sp-5); }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 16px 8px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 15px; font-size: var(--fs-sm); color: var(--muted); pointer-events: none; transition: all .2s var(--ease-out); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: var(--ring); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--blue-600); }
.field-row { display: grid; gap: 0 var(--sp-4); }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--sp-3); }

.map-embed { width: 100%; height: clamp(300px, 40vw, 460px); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); background: var(--stone); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------------------------------------------------------------- CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 72px); display: grid; gap: var(--sp-6); align-items: center;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 55%, var(--blue-600) 100%); color: #cfe0f1;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: #fff; font-size: var(--fs-3xl); margin-bottom: var(--sp-3); }
.cta-band p { margin: 0; font-size: var(--fs-md); }
.cta-band__glow { position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(circle, rgba(107,180,76,.45), transparent 65%); animation: glow 9s var(--ease-in-out) infinite alternate; }
@keyframes glow { to { transform: translate3d(-80px, 60px, 0) scale(1.15); } }
.cta-band .wave { position: absolute; left: 0; right: 0; bottom: 10px; height: 70px; z-index: -1; opacity: .35; border: 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; background: #081628; color: var(--muted-on-dark); font-size: var(--fs-sm); overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(107,180,76,.6), rgba(32,123,189,.6), transparent); }
.footer-offers { display: grid; gap: var(--sp-6); align-items: center; padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(255,255,255,.08); }
@media (min-width: 900px) { .footer-offers { grid-template-columns: 1fr 1fr; } }
.footer-offers h2 { color: #fff; font-size: var(--fs-2xl); margin-bottom: var(--sp-2); }
.footer-offers p { margin: 0; }
.footer-main { display: grid; gap: var(--sp-10); padding-block: clamp(40px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 52px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; margin-bottom: var(--sp-5); }
.footer-brand p { max-width: 36ch; }
.footer-col h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: var(--sp-5); }
.footer-col ul { list-style: none; display: grid; gap: var(--sp-3); }
.footer-col a { color: var(--muted-on-dark); display: inline-flex; align-items: center; gap: var(--sp-2); transition: color .2s, transform .3s var(--ease-out); }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-contact li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }
.footer-contact b { display: block; color: #fff; font-family: var(--font-display); font-size: var(--fs-sm); }
.socials { display: flex; gap: var(--sp-2); margin-top: var(--sp-5); }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; transition: background-color .25s, transform .3s var(--ease-out); }
.socials a:hover { background: var(--blue); transform: translateY(-3px); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; align-items: center; padding-block: var(--sp-6); border-top: 1px solid rgba(255,255,255,.08); font-size: var(--fs-xs); }
.footer-bottom a { color: var(--muted-on-dark); }
.footer-bottom a:hover { color: #fff; }

/* ---------------------------------------------------------------- floating actions */
.wa-float { position: fixed; right: clamp(14px, 2vw, 24px); bottom: clamp(14px, 2vw, 24px); z-index: 90; display: flex; align-items: center; gap: var(--sp-3); }
.wa-float__bubble {
  background: #fff; color: var(--ink); font-size: var(--fs-xs); padding: 8px 14px; border-radius: var(--pill); box-shadow: var(--shadow);
  opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .4s var(--ease-out); pointer-events: none; white-space: nowrap;
}
.wa-float.is-visible .wa-float__bubble { opacity: 1; transform: none; }
.wa-float__btn {
  position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 12px 24px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease-out);
}
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float__btn:hover { transform: scale(1.08) rotate(-6deg); color: #fff; }
.wa-float__btn svg { width: 30px; height: 30px; }
@media (max-width: 600px) { .wa-float__bubble { display: none; } }

.to-top {
  position: fixed; right: clamp(22px, 2vw + 8px, 32px); bottom: calc(clamp(14px, 2vw, 24px) + 72px); z-index: 89;
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease-out), visibility 0s linear .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease-out), background-color .2s; }
.to-top:hover { background: var(--blue); }
.to-top svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: var(--sp-6); background: rgba(8, 22, 40, .92); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.lightbox img { max-height: 86vh; width: auto; max-width: min(1100px, 100%); border-radius: var(--radius-lg); background: #fff; transform: scale(.95); transition: transform .4s var(--ease-out); }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: var(--sp-5); right: var(--sp-5); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox__close svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- error pages */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 18vw, 12rem); line-height: 1; letter-spacing: -.05em; margin-bottom: var(--sp-4); }
.error-page .wave { max-width: 520px; margin: 0 auto var(--sp-8); height: 70px; border: 0; }
.error-page .wave path { stroke: var(--blue); }

/* ---------------------------------------------------------------- misc */
.divider-wave { color: var(--stone); height: 60px; }
.badge-soft { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--pill); background: var(--green-50); color: #2f7a1d; font-size: var(--fs-xs); font-weight: 700; }
.career-perks { list-style: none; display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: var(--sp-8); }
.career-perks li { padding: var(--sp-5); border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.career-perks b { display: block; color: #fff; font-family: var(--font-display); margin-bottom: 4px; }

/* ==========================================================================
   SEO cluster components (landing pages, dropdown nav, FAQ, installations)
   ========================================================================== */

/* top bar: WhatsApp 24/7 first, office line, email */
.topbar__wa b { color: #fff; font-weight: 600; }
@media (max-width: 760px) { .topbar__office, .topbar__mail { display: none !important; } }

/* dropdown navigation */
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: -10px; padding: 0; border: 0; background: none; color: var(--ink); border-radius: 50%; transition: transform .3s var(--ease-out), color .2s; }
.sub-toggle svg { width: 14px; height: 14px; }
.has-sub:hover .sub-toggle, .sub-toggle[aria-expanded="true"] { color: var(--blue-600); }
.subnav {
  list-style: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 120; min-width: 250px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease-out), visibility 0s linear .3s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.subnav a { display: block; padding: 9px 12px !important; border-radius: 10px !important; font-weight: 500 !important; white-space: nowrap; }
.subnav a::after { display: none; }
.subnav a:hover { background: var(--blue-50); }
@media (min-width: 1024px) {
  .has-sub:hover > .subnav, .has-sub:focus-within > .subnav, .has-sub.is-open > .subnav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease-out); }
  .has-sub:hover .sub-toggle { transform: rotate(180deg); }
}
@media (max-width: 1023px) {
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { width: 44px; height: 44px; margin: 0; color: #fff; }
  .sub-toggle[aria-expanded="true"] { transform: rotate(180deg); color: var(--green); }
  .subnav { position: static; width: 100%; min-width: 0; padding: 0 0 6px 12px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub.is-open > .subnav { display: block; }
  .subnav a { color: #cfe0f1 !important; font-size: var(--fs-base) !important; padding: 10px 14px !important; }
  .subnav a:hover { background: rgba(255,255,255,.06); color: #fff !important; }
  .nav__extra { color: var(--muted-on-dark); font-weight: 600; margin-right: 16px; }
}
@media (min-width: 1024px) and (max-width: 1180px) { .nav__list a { padding: 10px 10px; } }
.nav__extra { display: none; }
@media (max-width: 1023px) { .nav__extra { display: inline-block; } }

/* contact details */
.info-card small { display: block; margin-top: 6px; font-size: var(--fs-xs); color: var(--muted); }
.info-card--accent { border-color: #25d366; }
.info-card--accent .info-card__ico { background: #e8f9ef; color: #128c4a; }
.cta-band__office { grid-column: 1 / -1; margin: 0; font-size: var(--fs-sm); color: #cfe0f1; }
.cta-band__office a { color: #fff; font-weight: 600; }
.pd__contact-note { font-size: var(--fs-sm); color: var(--muted); margin: -8px 0 var(--sp-5); }
.pd__also { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.pd__also a { font-weight: 600; }
.pd__also a + a::before { content: "·"; margin-right: 10px; color: var(--muted); }

/* landing pages */
.spoke-chips { margin-bottom: 8px; }
.spoke-chips .chip { font-size: 13px; padding: 7px 14px; }
.landing-body { display: grid; gap: clamp(40px, 6vw, 80px); }
.landing-text { max-width: 860px; }
.feature-row { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: .9fr 1.1fr; }
  .feature-row--flip { grid-template-columns: 1.1fr .9fr; }
  .feature-row--flip .feature-row__media { order: 2; }
}
.feature-row__media .img-reveal { aspect-ratio: 4 / 5; max-height: 560px; box-shadow: var(--shadow-lg); background: var(--stone); }
.feature-row__media .img-reveal img { width: 100%; height: 100%; object-fit: cover; }
.feature-row__text h2, .landing-text h2 { margin-top: 0; }
.gallery { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.gallery figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.gallery figure:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 12px 14px; font-size: var(--fs-sm); color: var(--muted); }
.brand-strip { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: var(--sp-5); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.brand-strip__label { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.brand-chip { padding: 6px 14px; border-radius: var(--pill); background: var(--stone); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); transition: background-color .2s, color .2s; }
a.brand-chip:hover { background: var(--navy); color: #fff; }
.source-card { display: grid; gap: var(--sp-5); align-items: center; margin-top: 24px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--blue-50), #fff); border: 1px solid var(--line); }
@media (min-width: 900px) { .source-card { grid-template-columns: 1fr auto; } }
.source-card h2 { font-size: var(--fs-2xl); margin-bottom: 8px; }
.source-card p { margin: 0; color: var(--muted); }

/* why choose us */
.why { list-style: none; display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.why li { padding: var(--sp-6) var(--sp-5); border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .4s var(--ease-out), background-color .3s; }
.why li:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.why__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: var(--ink); margin-bottom: var(--sp-4); }
.why__ico svg { width: 22px; height: 22px; }
.why b { display: block; color: #fff; font-family: var(--font-display); margin-bottom: 4px; }
.why span:last-child { font-size: var(--fs-sm); color: var(--muted-on-dark); }

/* installations */
.install-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.install-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.install-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.install-card__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.install-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.install-card:hover .install-card__media img { transform: scale(1.05); }
.install-card figcaption { display: grid; gap: 4px; padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.install-card__tag { justify-self: start; padding: 2px 10px; border-radius: var(--pill); background: var(--blue-50); color: var(--blue-600); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.install-card b { font-family: var(--font-display); color: var(--ink); line-height: 1.3; }
.install-card__where { display: inline-flex; gap: 6px; align-items: center; font-size: var(--fs-sm); color: var(--muted); }
.install-card__where svg { width: 15px; height: 15px; color: var(--green-600); flex: none; }

/* FAQ accordion */
.faq { display: grid; gap: var(--sp-3); }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5) var(--sp-6); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: var(--fs-md); line-height: 1.4; }
.faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); transition: background-color .3s, transform .4s var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue-600); border-radius: 2px; transition: transform .3s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--navy); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 var(--sp-6) var(--sp-5); color: var(--text); animation: faqIn .4s var(--ease-out); }
.faq__a p { margin: 0; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* related links */
.related-links { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; padding: var(--sp-5) var(--sp-6); border-radius: var(--radius-lg); border: 1px dashed var(--line); }
.related-links b { font-family: var(--font-display); color: var(--ink); }
.related-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.related-links svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.related-links a:hover svg { transform: translateX(3px); }

/* guides */
.guide-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.guide-card { display: flex; flex-direction: column; border-radius: var(--radius-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--text); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.guide-card__media { aspect-ratio: 16 / 8; overflow: hidden; }
.guide-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.guide-card:hover .guide-card__media img { transform: scale(1.05); }
.guide-card__body { padding: var(--sp-6); }
.guide-card__body h2 { font-size: var(--fs-xl); }
.guide-card__body p { color: var(--muted); }

/* footer: 5 columns on wide screens */
@media (min-width: 1024px) { .footer-main { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.25fr; gap: var(--sp-8); } }
@media (min-width: 700px) and (max-width: 1023px) { .footer-main { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-col li { line-height: 1.35; }
.popular { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; justify-content: center; }
.popular__label { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); color: var(--muted); }
.popular a { padding: 7px 14px; border-radius: var(--pill); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); transition: all .25s var(--ease-out); }
.popular a:hover { border-color: var(--blue); color: var(--blue-600); transform: translateY(-2px); }
