/* Generated by scripts/build.mjs — edit brand/tokens.css and site/styles/*.css */
/* BioSenses brand tokens.
   Source of truth: "[BioSenses] Brand identity" guideline (SharePoint: 3. Marketing/03 Brand Marketing/Brand Kit).
   Supporting text/UI colours come from the BioSenses brand kit in Moda. Do not add colours that are in neither. */
:root {
  /* Brand colours (guideline p.9) */
  --bs-teal: #17BCB8;          /* Vitality Cyan */
  --bs-blue: #0074FF;          /* Command Azure */
  --bs-lavender: #B7C7F7;      /* Serene Pulse */
  --bs-cyan-soft: #7ABFD4;     /* logo background variant (p.8) */
  --bs-sand-surface: #EDE1D6;  /* Human Essence */
  --bs-flow: linear-gradient(90deg, #17BCB8 0%, #B7C7F7 50%, #0074FF 100%); /* Etheric Flow */
  /* Text and UI colours (Moda kit) */
  --bs-teal-display: #129693;  /* teal for headings 24px+; passes contrast on white */
  --bs-teal-deep: #0D6E6B;     /* buttons, small teal text */
  --bs-link: #005DCC;
  --bs-teal-tint: #E9F9F8;
  --bs-ivory: #F8F3F0;         /* patient pages: warm section background (Holter templates brief) */
  --bs-cta-yellow: #FFD84D;    /* patient pages only: booking buttons (Holter templates brief) */
  --bs-white: #FFFFFF;
  --bs-navy: #0B2545;
  --bs-ink: #202020;
  --bs-body: #545454;
  --bs-muted: #666666;
  --bs-hairline: #CDDADE;
  --bs-critical: #C0362C;
  --bs-warning: #9A5200;
  /* Typography (guideline p.11) */
  --bs-font-head: "Bricolage Grotesque", "Montserrat", system-ui, sans-serif; /* highlight font */
  --bs-font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;  /* body font */
  --bs-radius: 16px;
  --bs-radius-sm: 10px;
}

/* Header + footer. Loaded by new pages (inside site.css) and by the old pages (chrome.css via the partials).
   Every rule is namespaced .bs- and sets its own values, because the old pages also load styles.css. */
.bs-skip { position: absolute; left: -9999px; top: 0; background: var(--bs-white); color: var(--bs-ink); padding: 10px 16px; z-index: 1100; font: 600 15px/1.4 var(--bs-font); }
.bs-skip:focus { left: 8px; top: 8px; outline: 2px solid var(--bs-link); }

.bs-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(205,218,222,.7); font: 400 16px/1.4 var(--bs-font); color: var(--bs-ink); }
.bs-header--fixed { position: fixed; left: 0; right: 0; }
.bs-header *, .bs-footer * { box-sizing: border-box; }
.bs-header a, .bs-footer a { text-decoration: none; }
.bs-header ul, .bs-footer ul { list-style: none; margin: 0; padding: 0; }
.bs-header__in { max-width: 1184px; height: 72px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 20px; }
.bs-logo { display: block; flex: none; }
.bs-header .bs-logo img { display: block; height: 30px; width: auto; max-width: none; }

.bs-nav { display: none; margin-left: auto; }
.bs-nav > ul { display: flex; align-items: center; gap: 2px; }
.bs-nav > ul > li { position: relative; }
.bs-nav a, .bs-nav__btn { display: block; padding: 10px 11px; color: var(--bs-ink); font: 500 15px/1.3 var(--bs-font); background: none; border: 0; border-radius: var(--bs-radius-sm); cursor: pointer; white-space: nowrap; }
.bs-nav a:hover, .bs-nav__btn:hover, .bs-nav li:focus-within > .bs-nav__btn { color: var(--bs-teal-deep); }
.bs-nav a[aria-current="page"], .bs-nav__btn[data-current] { color: var(--bs-teal-deep); box-shadow: inset 0 -2px 0 var(--bs-teal); border-radius: 0; }
.bs-nav__btn::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.bs-nav__sub { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--bs-white); border: 1px solid var(--bs-hairline); border-radius: var(--bs-radius); padding: 8px !important; box-shadow: 0 12px 32px rgba(11,37,69,.10); }
.bs-nav li:hover > .bs-nav__sub, .bs-nav li:focus-within > .bs-nav__sub { display: block; }
.bs-nav__sub a { font-weight: 500; padding: 9px 12px; white-space: normal; }
.bs-nav__sub a:hover { background: var(--bs-teal-tint); }

.bs-header .bs-lang { display: flex; flex: none; padding: 0; background: none; margin-left: auto; border: 1px solid var(--bs-hairline); border-radius: 999px; overflow: hidden; }

.bs-header .bs-lang a, .bs-header .bs-lang button { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 7px 10px; font: 600 13px/1.2 var(--bs-font); color: var(--bs-muted); background: var(--bs-white); border: 0; border-radius: 0; text-align: center; cursor: pointer; box-shadow: none; }
.bs-header .bs-lang a[aria-current="true"], .bs-header .bs-lang button.active { background: var(--bs-teal-deep) !important; color: var(--bs-white) !important; }

.bs-menu { flex: none; }
.bs-menu > summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 42px; padding: 9px 16px; border: 1px solid var(--bs-hairline); border-radius: 999px; background: var(--bs-white); font: 600 14px/1.2 var(--bs-font); color: var(--bs-ink); }
.bs-menu > summary::-webkit-details-marker { display: none; }
.bs-menu[open] > summary { background: var(--bs-teal-deep); border-color: var(--bs-teal-deep); color: var(--bs-white); }
.bs-menu__panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; background: var(--bs-white); border-bottom: 1px solid var(--bs-hairline); padding: 4px 20px 28px; }
.bs-menu__panel a { display: block; padding: 13px 0; color: var(--bs-ink); font: 500 17px/1.3 var(--bs-font); border-top: 1px solid var(--bs-hairline); }
.bs-menu__panel > ul > li:first-child > a { border-top: 0; }
.bs-menu__group { padding: 14px 0 2px; border-top: 1px solid var(--bs-hairline); font: 600 14px/1.3 var(--bs-font); color: var(--bs-muted); }
.bs-menu__panel li li a { border-top: 0; padding: 9px 0 9px 14px; font-weight: 400; font-size: 16px; }

.bs-header a:focus-visible, .bs-header button:focus-visible, .bs-header summary:focus-visible, .bs-footer a:focus-visible { outline: 2px solid var(--bs-link); outline-offset: 2px; }

@media (min-width: 1000px) {
  .bs-nav { display: block; }
  .bs-header .bs-lang { margin-left: 8px; }
  .bs-menu { display: none; }
  .bs-header__in { padding: 0 32px; }
}

.bs-footer { background: var(--bs-navy); border-top: 5px solid transparent; border-image: var(--bs-flow) 1; color: rgba(255,255,255,.84); font: 400 15px/1.55 var(--bs-font); margin: 0; }
.bs-footer__in { max-width: 1184px; margin: 0 auto; padding: 48px 20px 28px; }
.bs-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.bs-footer h2 { margin: 0 0 10px; padding: 0; font: 700 16px/1.3 var(--bs-font-head); letter-spacing: 0; text-transform: none; color: var(--bs-white) !important; }
.bs-footer li { margin: 0; }
.bs-footer li a { display: inline-block; padding: 7px 0; color: rgba(255,255,255,.84); font-size: 15px; }
.bs-footer a:hover { color: var(--bs-white); text-decoration: underline; }
.bs-footer__co { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 14px 40px; }
.bs-footer p { margin: 0; padding: 0; color: rgba(255,255,255,.84); font: 400 14px/1.55 var(--bs-font); }
.bs-footer p strong { color: var(--bs-white); font-weight: 600; }
.bs-footer__tel { margin-top: 10px !important; }
.bs-footer__tel a { color: var(--bs-white); text-decoration: underline; }
.bs-footer__end { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; color: rgba(255,255,255,.7); }
@media (min-width: 800px) {
  .bs-footer__in { padding: 56px 32px 28px; }
  .bs-footer__cols { grid-template-columns: repeat(4, 1fr); }
  .bs-footer__co { grid-template-columns: 1.1fr 1fr 1fr 1fr; }
}

/* Menu fit: tighten on small desktops. Loaded by old and new pages alike. */
@media (min-width: 769px) and (max-width: 1160px) { .navbar .nav-cta { display: none; } }
@media (min-width: 769px) and (max-width: 900px) {
  .navbar .container { gap: 10px; padding-inline: 16px; }
  .navbar .nav-link { padding: 8px 9px; font-size: .8rem; }
}

/* New template pages. Follows the BioSenses brand identity guideline:
   white pages, teal headings in Bricolage Grotesque, Montserrat body text, soft rounded frames,
   and the brand gradient (Etheric Flow) used sparingly: behind the page head and as thin accent strips. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body.bs {
  margin: 0; color: var(--bs-body); font: 400 16px/1.65 var(--bs-font);
  background-color: var(--bs-white);
  background-image:
    radial-gradient(44% 62% at 94% -10%, rgba(0, 116, 255, .20) 0, rgba(0, 116, 255, 0) 70%),
    radial-gradient(40% 58% at 66% -14%, rgba(23, 188, 184, .24) 0, rgba(23, 188, 184, 0) 70%),
    radial-gradient(30% 44% at 104% 34%, rgba(183, 199, 247, .38) 0, rgba(183, 199, 247, 0) 70%);
  background-repeat: no-repeat; background-size: 100% 640px;
}
.bs h1, .bs h2, .bs h3 { margin: 0; font-family: var(--bs-font-head); text-wrap: balance; }
.bs h1 { font-size: 32px; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; color: var(--bs-teal-display); }
.bs h2 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; color: var(--bs-teal-display); }
.bs h3 { font-size: 18px; line-height: 1.35; font-weight: 600; color: var(--bs-ink); }
.bs p { margin: 0 0 14px; max-width: 70ch; }
.bs p:last-child { margin-bottom: 0; }
.bs main a { color: var(--bs-link); text-underline-offset: 3px; }
.bs main a:hover { text-decoration-thickness: 2px; }
.bs img { display: block; max-width: 100%; height: auto; }
.bs :focus-visible { outline: 2px solid var(--bs-blue); outline-offset: 2px; }
.bs ul, .bs ol { margin: 0; padding: 0; }
.wrap { max-width: 1184px; margin: 0 auto; padding: 0 20px; }
.lead { font-size: 18px; line-height: 1.55; font-weight: 500; color: var(--bs-ink); }
.meta { font-size: 14px; line-height: 1.5; color: var(--bs-muted); }

/* Missing-content marker */
mark.todo { background: var(--bs-sand-surface); color: var(--bs-warning); border: 1px dashed var(--bs-warning); border-radius: 6px; padding: 0 .4em; font-size: .9em; font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Breadcrumbs */
.crumbs { padding: 20px 0 0; font-size: 14px; color: var(--bs-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--bs-hairline); }
.bs main .crumbs a { color: var(--bs-muted); }

/* Page head */
.head { padding: 24px 0 40px; }
.head h1 { margin-bottom: 16px; }
.head__fig { margin-top: 24px; }
.head__shot { margin-top: 28px; }

/* Section: heading in the margin, content beside it */
.sheet { border-top: 1px solid rgba(205, 218, 222, .75); padding: 36px 0 40px; }
.sheet__label { margin-bottom: 18px; }
.sheet__label p { margin-top: 8px; font-size: 15px; color: var(--bs-muted); }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border: 1.5px solid var(--bs-teal-deep); border-radius: 999px; background: var(--bs-teal-deep); color: var(--bs-white) !important; font: 600 16px/1.25 var(--bs-font); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn:hover { background: var(--bs-navy); border-color: var(--bs-navy); }
.btn--line { background: transparent; color: var(--bs-teal-deep) !important; }
.btn--line:hover { background: var(--bs-teal-tint); border-color: var(--bs-teal-deep); }
.btn--full { display: block; width: 100%; }

/* Images and missing-image frames */
.img { display: block; width: 100%; height: auto; border: 1px solid rgba(205, 218, 222, .9); border-radius: var(--bs-radius); background: var(--bs-white); }
.img.ph--wide { aspect-ratio: 16 / 9; object-fit: cover; }
.img.ph--page { max-width: 420px; }
.img--square { aspect-ratio: 1 !important; object-fit: cover; max-width: 520px; }
.img--contain, .row__img .img { aspect-ratio: 4 / 3; object-fit: contain; padding: 8px; }
.gallery__main .img { aspect-ratio: 1; padding: 20px; }
.gallery__thumbs .img { aspect-ratio: 1; border: 0; padding: 4px; border-radius: 10px; }
.head__shot .img { aspect-ratio: auto; box-shadow: 0 18px 48px rgba(11, 37, 69, .12); }
.ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; background: var(--bs-white); border: 1.5px dashed var(--bs-warning); border-radius: var(--bs-radius); aspect-ratio: 4 / 3; font-size: 14px; line-height: 1.4; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--page { aspect-ratio: 210 / 297; max-width: 420px; }
.ph--thumb { aspect-ratio: 1; padding: 4px; font-size: 11px; border-radius: 10px; }
.ph mark.todo { border: 0; background: none; }
figure { margin: 0; }
figcaption { margin-top: 10px; font-size: 14px; color: var(--bs-muted); }

/* Price slip */
.slip { position: relative; overflow: hidden; background: var(--bs-white); border: 1px solid rgba(205, 218, 222, .9); border-radius: var(--bs-radius); padding: 28px 24px 24px; box-shadow: 0 18px 48px rgba(11, 37, 69, .10); }
.slip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--bs-flow); }
.slip__label { font-size: 14px; font-weight: 600; color: var(--bs-muted); margin: 0 0 4px; }
.slip__price { font: 700 30px/1.15 var(--bs-font-head); color: var(--bs-blue); margin: 0 0 8px; letter-spacing: -0.01em; }
.slip__price mark.todo { font: 500 15px/1.4 var(--bs-font); }
.slip__flag { display: inline-block; margin: 0 0 10px !important; padding: 2px 9px; border: 1px dashed var(--bs-warning); border-radius: 999px; background: var(--bs-sand-surface); color: var(--bs-warning); font-size: 13px; font-weight: 500; }
.slip__inc { font-size: 15px; margin-bottom: 16px !important; }
.slip__list { margin-bottom: 18px !important; }
.slip__note { margin-top: 12px !important; font-size: 14px; color: var(--bs-muted); }

/* Fixed booking bar (mobile, patient page) */
.bookbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bs-white); border-top: 1px solid var(--bs-hairline); box-shadow: 0 -8px 24px rgba(11, 37, 69, .08); }
.bookbar[hidden] { display: none; }
.bookbar__price { flex: 1; min-width: 0; margin: 0 !important; font-size: 13px; line-height: 1.3; color: var(--bs-muted); }
.bookbar__price strong { display: block; color: var(--bs-blue); font: 700 17px/1.3 var(--bs-font-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bookbar .btn { flex: none; padding: 11px 20px; }
body.has-bookbar { padding-bottom: 72px; }

/* Numbered steps on a rail (real sequences only) */
.steps { list-style: none; position: relative; counter-reset: step; }
.steps::before, .steps::after { content: ""; position: absolute; left: 17px; top: 10px; bottom: 10px; width: 2px; background: var(--bs-teal-tint); }
.steps::after { background: var(--bs-teal); bottom: auto; height: var(--fill, 0px); transition: height .2s linear; }
.steps > li { position: relative; counter-increment: step; padding: 2px 0 28px 56px; }
.steps > li:last-child { padding-bottom: 0; }
.steps > li::before { content: counter(step); position: absolute; z-index: 1; left: 0; top: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--bs-teal-tint); border-radius: 12px; font: 700 16px/1 var(--bs-font-head); color: var(--bs-teal-deep); font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s; }
.steps > li.is-done::before { background: var(--bs-teal-deep); color: var(--bs-white); }
.steps h3 { margin-bottom: 4px; }
.steps .list { margin-top: 8px !important; }

/* Text blocks */
.list { list-style: none; margin: 4px 0 14px !important; }
.list li { position: relative; padding: 5px 0 5px 26px; max-width: 70ch; }
.list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 14px; background: url(/assets/site/mark.png) center / contain no-repeat; }
.list--tight li { padding: 3px 0 3px 24px; font-size: 15px; }
.list--tight li::before { top: 8px; width: 12px; height: 12px; }
.sub { margin: 24px 0 8px !important; color: var(--bs-teal-deep) !important; }
.sheet__body > .sub:first-child { margin-top: 0 !important; }
.split { display: grid; gap: 24px; }

/* Index rows (devices, articles) */
.rows { list-style: none; border-top: 1px solid rgba(205, 218, 222, .75); }
.rows > li { border-bottom: 1px solid rgba(205, 218, 222, .75); }
.rows > li[hidden] { display: none; }
.row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 20px 0; align-items: start; }
.row--noimg { grid-template-columns: minmax(0, 1fr) !important; }
.row__img .ph { aspect-ratio: 4 / 3; padding: 6px; font-size: 11px; }
.row h3 a { color: var(--bs-ink) !important; text-decoration: none; }
.row h3 a:hover { color: var(--bs-teal-deep) !important; text-decoration: underline; }
.row__meta { font-size: 14px; color: var(--bs-muted); margin-bottom: 4px !important; }
.row__desc { font-size: 15px; margin-top: 6px !important; }
.row__go { grid-column: 2; font-size: 15px; font-weight: 600; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; }
.tags li { padding: 3px 12px; border-radius: 999px; background: var(--bs-teal-tint); font-size: 13px; font-weight: 600; color: var(--bs-teal-deep); }

/* Filter */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; }
.filter__label { font-size: 14px; font-weight: 600; color: var(--bs-muted); margin-right: 4px; }
.filter button { padding: 9px 18px; border: 1.5px solid var(--bs-hairline); border-radius: 999px; background: var(--bs-white); color: var(--bs-ink); font: 500 15px/1.2 var(--bs-font); cursor: pointer; }
.filter button:hover { border-color: var(--bs-teal); }
.filter button[aria-pressed="true"] { background: var(--bs-teal-deep); border-color: var(--bs-teal-deep); color: var(--bs-white); }
.filter__count { margin-left: auto; font-size: 14px; color: var(--bs-muted); }
.group { margin-top: 40px; }
.group h2 { margin-bottom: 6px; }
.group__note { font-size: 15px; color: var(--bs-muted); margin-bottom: 14px !important; }
.empty { padding: 18px 0; font-size: 15px; color: var(--bs-muted); border-bottom: 1px solid rgba(205, 218, 222, .75); }

/* FAQ */
.faq { border-top: 1px solid rgba(205, 218, 222, .75); }
.faq details { border-bottom: 1px solid rgba(205, 218, 222, .75); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 44px 18px 0; font: 600 17px/1.4 var(--bs-font-head); color: var(--bs-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bs-teal-tint); color: var(--bs-teal-deep); font: 500 22px/1 var(--bs-font); }
.faq details[open] summary { color: var(--bs-teal-deep); }
.faq details[open] summary::after { content: "–"; background: var(--bs-teal-deep); color: var(--bs-white); }
.faq__a { padding: 0 0 20px; }

/* Tables */
.tbl-scroll { overflow-x: auto; border: 1px solid rgba(205, 218, 222, .9); border-radius: var(--bs-radius); background: var(--bs-white); }
.tbl-scroll + p, .tbl-scroll + .sub { margin-top: 18px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl caption { text-align: left; padding: 14px 18px; font-size: 14px; color: var(--bs-muted); border-bottom: 1px solid rgba(205, 218, 222, .75); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 13px 18px; border-top: 1px solid rgba(205, 218, 222, .6); }
.tbl thead th { border-top: 0; font-size: 14px; font-weight: 600; color: var(--bs-teal-deep); background: var(--bs-teal-tint); }
.tbl tbody tr:first-child th, .tbl tbody tr:first-child td { border-top: 0; }
.tbl tbody th { font-weight: 600; color: var(--bs-ink); width: 34%; }
.tbl--plain tbody th { width: 38%; }
.tbl .src { font-size: 13px; color: var(--bs-muted); }
/* who-does-what table: stacked on mobile, a real table on desktop */
.roles { width: 100%; border-collapse: collapse; }
.roles thead { display: none; }
.roles tr { display: block; padding: 18px 0; border-top: 1px solid rgba(205, 218, 222, .75); }
.roles th, .roles td { display: block; text-align: left; padding: 0; }
.roles tbody th { font: 700 18px/1.3 var(--bs-font-head); color: var(--bs-teal-deep); margin-bottom: 8px; }
.roles td { padding: 8px 0 8px 14px; border-left: 3px solid var(--bs-teal-tint); margin-top: 6px; font-size: 15px; }
.roles td::before { content: attr(data-role); display: block; font-size: 13px; font-weight: 600; color: var(--bs-muted); }

/* Panels */
.note { background: var(--bs-sand-surface); border-radius: var(--bs-radius); padding: 20px 22px; font-size: 15px; line-height: 1.6; color: var(--bs-ink); }
.note strong { display: block; margin-bottom: 4px; font-family: var(--bs-font-head); font-size: 16px; }
.note p { max-width: none; }
.shots { display: grid; gap: 24px; }

/* Forms */
.form { background: var(--bs-white); border: 1px solid rgba(205, 218, 222, .9); border-radius: var(--bs-radius); padding: 24px; max-width: 620px; box-shadow: 0 18px 48px rgba(11, 37, 69, .08); }
.form__row { margin-bottom: 16px; }
.form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--bs-ink); }
.form .opt { font-weight: 400; color: var(--bs-muted); }
.form input, .form select, .form textarea { display: block; width: 100%; padding: 12px 14px; border: 1.5px solid var(--bs-hairline); border-radius: var(--bs-radius-sm); background: var(--bs-white); color: var(--bs-ink); font: 400 16px/1.4 var(--bs-font); }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--bs-teal); }
.form textarea { min-height: 96px; resize: vertical; }
.form [aria-invalid="true"] { border-color: var(--bs-critical); }
.form__err { margin-top: 5px; font-size: 14px; color: var(--bs-critical); }
.form__hp { position: absolute; left: -9999px; }
.form__consent { font-size: 13px; color: var(--bs-muted); margin: 4px 0 16px !important; }
.form__status { margin-top: 12px; font-size: 15px; color: var(--bs-critical); }
.form__done { background: var(--bs-teal-tint); border: 1.5px solid var(--bs-teal); border-radius: var(--bs-radius); padding: 24px; max-width: 620px; color: var(--bs-ink); }
.form__done h3 { margin-bottom: 6px; color: var(--bs-teal-deep); }
.formgrid { display: grid; gap: 24px; }

/* Document and service lists */
.docs { list-style: none; border-top: 1px solid rgba(205, 218, 222, .75); margin-top: 14px !important; }
.docs li { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: baseline; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(205, 218, 222, .75); }
.docs strong { display: block; color: var(--bs-ink); font: 600 16px/1.4 var(--bs-font-head); }
.docs span { display: block; font-size: 15px; color: var(--bs-muted); max-width: 60ch; }
.docs a { font-size: 15px; font-weight: 600; white-space: nowrap; }
.refs { margin: 0 !important; padding-left: 20px !important; font-size: 14px; line-height: 1.55; color: var(--bs-muted); }
.refs li { padding: 3px 0; max-width: 80ch; overflow-wrap: anywhere; }

/* Device detail */
.prod { display: grid; gap: 28px; padding: 24px 0 40px; }
.gallery__thumbs { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px !important; }
.gallery__thumbs button { display: block; width: 100%; padding: 0; border: 1.5px solid rgba(205, 218, 222, .9); border-radius: 12px; background: var(--bs-white); cursor: pointer; overflow: hidden; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--bs-teal); box-shadow: 0 0 0 1px var(--bs-teal); }
.gallery__thumbs .ph { border: 0; }
.prod__info h1 { margin: 4px 0 14px; }
.prod__measures { margin: 22px 0 24px; padding: 18px 20px; border-radius: var(--bs-radius); background: var(--bs-teal-tint); }
.prod__measures h2 { font-size: 15px; color: var(--bs-teal-deep); margin-bottom: 6px; }
.prod__measures ul { list-style: none; }
.prod__measures li { padding: 7px 0; border-top: 1px solid rgba(13, 110, 107, .14); color: var(--bs-ink); font-size: 15px; }
.prod__measures li:first-child { border-top: 0; }
.tabs { position: sticky; top: 72px; z-index: 800; background: rgba(255, 255, 255, .97); border-top: 1px solid rgba(205, 218, 222, .75); border-bottom: 1px solid rgba(205, 218, 222, .75); }
.tabs ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; }
.bs main .tabs a { display: block; padding: 15px 14px; font-size: 15px; font-weight: 600; color: var(--bs-ink); text-decoration: none; white-space: nowrap; }
.bs main .tabs a:hover { color: var(--bs-teal-deep); box-shadow: inset 0 -2px 0 var(--bs-teal); }
.tabs + .wrap > .sheet:first-child { border-top: 0; }

/* Article */
.art__head { padding: 24px 0 32px; }
.art__head h1 { margin: 10px 0 16px; max-width: 20em; }
.art__head .lead { max-width: 60ch; margin-bottom: 16px; }
.art__by { font-size: 14px; color: var(--bs-ink); }
.art__by span { display: block; }
.art__by b { font-weight: 600; }
.art__hero { margin-top: 24px; }
.art { border-top: 1px solid rgba(205, 218, 222, .75); padding: 32px 0 48px; }
.toc { margin-bottom: 28px; padding: 18px 20px; background: var(--bs-teal-tint); border-radius: var(--bs-radius); }
.toc h2 { font-size: 15px; color: var(--bs-teal-deep); margin-bottom: 6px; }
.toc ol { list-style: none; }
.toc li { padding: 4px 0; font-size: 15px; }
.art__body { max-width: 70ch; }
.art__body h2 { margin: 36px 0 12px; }
.art__body h2:first-child { margin-top: 0; }
.art__body .refs { margin-top: 8px !important; }
.art__cta { margin-top: 36px; }
.art__cta .btn { margin-top: 12px; }
.sample { display: inline-block; margin-bottom: 8px; }


/* Small controls and states */
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.chip { display: inline-block; padding: 2px 11px; border-radius: 999px; background: var(--bs-teal-tint); color: var(--bs-teal-deep); font-size: 13px; font-weight: 600; }
.chip--warn { background: var(--bs-sand-surface); color: var(--bs-warning); }
.row__meta, .art__head .row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.linkbtn { padding: 0; border: 0; background: none; color: var(--bs-link); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.form__help { margin: 6px 0 0 !important; font-size: 13px; color: var(--bs-muted); }
.bs main a, .filter button, .gallery__thumbs button, .form input, .form select, .form textarea { transition: color .15s, background-color .15s, border-color .15s; }
.row__go { justify-self: start; }
body.has-bookbar { scroll-padding-bottom: 96px; }
html:has(body.has-bookbar) { scroll-padding-bottom: 96px; }
/* comfortable touch targets on small screens */
@media (max-width: 899px) {
  .filter button { min-height: 44px; }
  .bs main .tabs a { min-height: 48px; display: flex; align-items: center; }
  .faq summary { min-height: 56px; }
}

/* Coming soon */
.soon { padding: 64px 0 88px; max-width: 640px; }
.soon h1 { margin-bottom: 16px; }
.soon .btn { margin: 12px 8px 0 0; }

@media (min-width: 600px) {
  .row { grid-template-columns: 180px minmax(0, 1fr) auto; gap: 24px; }
  .row__go { grid-column: auto; align-self: center; white-space: nowrap; }
  .shots { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 36px; align-items: start; }
}
@media (min-width: 900px) {
  .wrap { padding: 0 32px; }
  body.bs { background-size: 100% 720px; }
  .bs h1 { font-size: 48px; }
  .bs h2 { font-size: 28px; }
  .bs h3 { font-size: 19px; }
  .lead { font-size: 20px; }
  .slip__price { font-size: 36px; }
  .head { padding: 28px 0 64px; }
  .head--lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
  .head__shot { margin-top: 0; }
  .head--split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 64px; align-items: start; }
  .head__top { grid-column: 1; grid-row: 1; }
  .head__rest { grid-column: 1; grid-row: 2; }
  .head--split .slip { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 96px; }
  .head__fig { margin-top: 32px; max-width: 560px; }
  .sheet { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding: 56px 0 64px; }
  .sheet__label { margin: 0; }
  .sheet__label > * { position: sticky; top: 96px; }
  .sheet__label p { position: static; }
  .bookbar { display: none !important; }
  body.has-bookbar { padding-bottom: 0; }
  .formgrid { grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 40px; align-items: start; }
  .prod { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; padding: 28px 0 64px; }
  .art__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
  .toc { position: sticky; top: 96px; margin: 0; }
  .roles { border: 1px solid rgba(205, 218, 222, .9); border-radius: var(--bs-radius); border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--bs-white); }
  .roles thead { display: table-header-group; }
  .roles tr { display: table-row; padding: 0; }
  .roles th, .roles td { display: table-cell; padding: 16px 18px; border-top: 1px solid rgba(205, 218, 222, .6); border-left: 0; margin: 0; vertical-align: top; }
  .roles thead th { border-top: 0; background: var(--bs-teal-tint); font: 600 14px/1.4 var(--bs-font); color: var(--bs-teal-deep); }
  .roles tbody th { font-size: 16px; width: 22%; margin: 0; }
  .roles td { border-left: 1px solid rgba(205, 218, 222, .6); }
  .roles td::before { display: none; }
}

/* ---------- Landing pages: key messages in bands ---------- */
.hero { padding: 0 0 48px; }
.hero h1 { margin: 22px 0 16px; font-size: 38px; }
.hero__grid { display: grid; gap: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 14px; }
.hero__fig .img { box-shadow: 0 24px 60px rgba(11, 37, 69, .16); border: 0; }
.pricechip { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; width: fit-content; max-width: 100%; margin-top: 22px; padding: 14px 20px 14px 24px; border-radius: var(--bs-radius); background: var(--bs-white); border: 1px solid rgba(205, 218, 222, .9); box-shadow: 0 12px 32px rgba(11, 37, 69, .08); }
.pricechip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, #17BCB8, #B7C7F7 50%, #0074FF); }
.pricechip__label { width: 100%; font-size: 13px; font-weight: 600; color: var(--bs-muted); }
.pricechip__value { font: 700 28px/1.2 var(--bs-font-head); color: var(--bs-blue); letter-spacing: -0.01em; }
.hero--center { text-align: center; }
.hero--center .crumbs ol { justify-content: center; }
.hero--center h1 { max-width: 15em; margin-left: auto; margin-right: auto; }
.hero--center .lead { max-width: 46ch; margin-left: auto; margin-right: auto; }
.hero--flow { background: linear-gradient(180deg, rgba(23, 188, 184, .18) 0%, rgba(183, 199, 247, .30) 55%, rgba(255, 255, 255, 0) 100%); padding-bottom: 8px; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 24px !important; }
.bs main .hero__points a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 18px; border-radius: 999px; background: var(--bs-white); border: 1px solid rgba(205, 218, 222, .9); color: var(--bs-ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.bs main .hero__points a::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--bs-teal); }
.bs main .hero__points a:hover { border-color: var(--bs-teal); color: var(--bs-teal-deep); }
.hero__product { margin: 36px auto 0; max-width: 980px; }
.hero__product img { width: 100%; height: auto; }

.band { padding: 56px 0; }
.band--tint { background: var(--bs-teal-tint); }
.band--navy { background: var(--bs-navy); color: rgba(255, 255, 255, .86); padding: 48px 0; }
.band--line { border-top: 1px solid rgba(205, 218, 222, .75); padding: 40px 0 64px; }
.band__h { margin-bottom: 14px !important; }
.bs .big { font-size: 30px; line-height: 1.15; margin-bottom: 14px; }
.keys { list-style: none; display: grid; gap: 28px; }
.keys li { padding-top: 18px; border-top: 3px solid var(--bs-teal); }
.bs .keys h2 { color: var(--bs-white); font-size: 24px; margin-bottom: 8px; }
.keys p { color: rgba(255, 255, 255, .86); max-width: 34ch; }
.stepcards { list-style: none; counter-reset: sc; display: grid; gap: 14px; margin-top: 28px !important; }
.stepcards li { counter-increment: sc; background: var(--bs-white); border-radius: var(--bs-radius); padding: 22px; }
.stepcards li::before { content: counter(sc); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 12px; background: var(--bs-teal-deep); color: var(--bs-white); font: 700 16px/1 var(--bs-font-head); }
.stepcards h3 { margin-bottom: 6px; }
.stepcards p { font-size: 15px; }
.more { margin-top: 18px; }
.more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 20px; border: 1.5px solid var(--bs-teal-deep); border-radius: 999px; color: var(--bs-teal-deep); font-weight: 600; font-size: 15px; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "+"; font-size: 18px; line-height: 1; }
.more[open] > summary { background: var(--bs-teal-deep); color: var(--bs-white); }
.more[open] > summary::after { content: "–"; }
.more__body { margin-top: 16px; }
.band__body { margin-top: 28px; }
.hero__fig--shot .img { aspect-ratio: auto; }
.img--shot { box-shadow: 0 18px 48px rgba(11, 37, 69, .10); }
.band--tint .roles tr:first-child { border-top: 0; }
.duo { display: grid; gap: 44px; }
.feature figure { margin-bottom: 22px; padding: 18px; border-radius: 20px; background: var(--bs-white); border: 1px solid rgba(205, 218, 222, .9); }
.feature .img { border: 0; padding: 0; aspect-ratio: 4 / 3; object-fit: contain; }
.bs .feature h2 { margin-bottom: 10px; }

/* Devices catalogue: filters in a side column on desktop */
.catalog { padding: 24px 0 72px; }
.catalog .group:first-of-type { margin-top: 12px; }

/* Device detail */
.gallery { display: flex; flex-direction: column; gap: 10px; }
.gallery__main { order: -1; }
.gallery .gallery__thumbs { margin-top: 0 !important; }
.prod__info .chip { margin-bottom: 10px; }
.bs .prod__sub { font-size: 16px; color: var(--bs-teal-deep); margin: 22px 0 4px; }
.duo--sheet { border-top: 0; padding: 40px 0; }
.duo--sheet h2 { margin-bottom: 14px; }
.specs { margin: 14px 0 0; }
.specs > div { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid rgba(205, 218, 222, .75); }
.specs dt { font-size: 14px; color: var(--bs-muted); }
.specs dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--bs-ink); }
.specs dd small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--bs-muted); overflow-wrap: anywhere; }
.sheet--full { display: block !important; }
.sheet--full > h2 { margin-bottom: 18px; }
.cards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bs main .card { display: block; height: 100%; padding: 14px; border: 1px solid rgba(205, 218, 222, .9); border-radius: var(--bs-radius); background: var(--bs-white); color: var(--bs-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.bs main .card:hover { border-color: var(--bs-teal); box-shadow: 0 12px 32px rgba(11, 37, 69, .10); }
.card__img .img, .card__img .ph { aspect-ratio: 4 / 3; border: 0; padding: 4px; font-size: 11px; }
.card h3 { margin-top: 10px; font-size: 16px; }
.card .meta { font-size: 13px; }

@media (min-width: 600px) { .stepcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .hero { padding-bottom: 72px; }
  .hero h1 { font-size: 56px; margin-top: 28px; }
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
  .hero__fig .img--square { max-width: none; aspect-ratio: 4 / 5 !important; }
  .hero--center h1 { font-size: 60px; }
  .hero__product { margin-top: 48px; }
  .band { padding: 88px 0; }
  .band--navy { padding: 64px 0; }
  .band--line { padding: 56px 0 80px; }
  .band__split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .bs .big { font-size: 40px; }
  .keys { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .bs .keys h2 { font-size: 28px; }
  .stepcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
  .catalog { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 40px; }
  .catalog__side { position: sticky; top: 96px; }
  .filter--side { flex-direction: column; align-items: stretch; gap: 6px; margin: 0; }
  .filter--side .filter__label { margin: 0 0 6px; }
  .filter--side button { text-align: left; border-radius: 12px; padding: 12px 16px; }
  .filter--side .filter__count { margin: 10px 0 0; }
  .gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start; }
  .gallery__main { order: 0; }
  .gallery .gallery__thumbs { grid-template-columns: 1fr; }
  .duo--sheet { padding: 64px 0; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { .bs main .card { transition: none; } }

@media (max-width: 899px) { .hero__points { display: none !important; } .hero__product { margin-top: 24px; } }
@media (max-width: 899px) { .head--split .slip { margin: 24px 0; } }
@media (prefers-reduced-motion: reduce) { .steps::after, .steps > li::before, .btn, .bs main a, .filter button, .gallery__thumbs button, .form input, .form select, .form textarea { transition: none; } html { scroll-behavior: auto; } }
@media print { .bs-header, .bs-footer, .bookbar, .tabs { display: none !important; } body.bs { background-image: none; } }

/* Menu styles for the generated pages. EXTRACTED from styles.css by a script on 2026-11-20 (owner asked to keep the
   old menu design). The old pages get these rules from styles.css itself. If the menu styles in styles.css change, re-extract. */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: #00BBA7;
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid #fff;
  outline-offset: 2px;
}
:root {
  --color-primary:     #0B2545;
  --color-accent:      #00BBA7;
  --color-accent-dk:   #0e9ab3;
  --color-light-bg:    #F5F5F7;   
  --color-white:       #FFFFFF;
  --color-text:        #1D1D1F;   
  --color-text-muted:  #6E6E73;   
  --color-border:      rgba(0,0,0,0.08);
  --color-success:     #34C759;   
  --color-card-bg:     #FFFFFF;

  
  --shadow-xs:  0 1px 3px rgba(0,0,0,0.04);
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md:  0 8px 28px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.11), 0 4px 14px rgba(0,0,0,0.05);
  --shadow-xl:  0 28px 72px rgba(0,0,0,0.13), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-accent: 0 8px 28px rgba(0, 187, 167, 0.30);

  
  --radius-xs:   8px;
  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   28px;
  --radius-xl:   36px;
  --radius-pill: 980px;

  --nav-height:  72px;
  --transition:  0.25s cubic-bezier(.4,0,.2,1);
  --max-width:   1200px;
}
.navbar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
.navbar .btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  box-shadow: 0 4px 16px rgba(0, 187, 167, 0.25);
}
.navbar .btn-primary:hover {
  background: var(--color-accent-dk);
  border-color: var(--color-accent-dk);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.navbar .btn-sm { padding: 9px 22px; font-size: .875rem; }
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 24px rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.06);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-img { height: 36px; width: auto; display: block; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-accent);
  background: rgba(0, 187, 167, 0.08);
}
.nav-link svg { flex-shrink: 0; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition),
              visibility 0s linear 0.18s;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
  padding: 6px;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown, .nav-item.dropdown-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
  transition: opacity var(--transition), transform var(--transition),
              visibility 0s linear 0s;
}
.nav-item.dropdown-open .nav-link svg { transform: rotate(180deg); }
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown-item:hover { background: var(--color-light-bg); color: var(--color-accent); }
.nav-dropdown-item .badge-soon {
  margin-left: auto;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .05em;
  background: #FEF3C7;
  color: #92400E;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.nav-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); flex-shrink: 0; }
.nav-cta { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; }
.i18n-stack {
  display: inline-grid;
  grid-template-columns: max-content;
  justify-items: center;
  vertical-align: top;
}
.i18n-stack > .i18n-text {
  grid-area: 1 / 1;
  white-space: inherit;
  
  opacity: 1;
  visibility: visible;
  transition: opacity .18s ease, visibility 0s linear 0s;
}
.i18n-stack > .i18n-en {
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility 0s linear .18s;
}
.lang-en .i18n-stack > .i18n-vi {
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility 0s linear .18s;
}
.lang-en .i18n-stack > .i18n-en {
  opacity: 1;
  visibility: visible;
  transition: opacity .18s ease, visibility 0s linear 0s;
}
html.lang-switching [data-i18n] {
  opacity: 0;
}
.navbar [data-i18n], html.lang-switching .navbar [data-i18n] {
  opacity: 1;
  transition: none;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(11, 37, 69, 0.06);
  border-radius: var(--radius-pill);
  padding: 3px;
  flex-shrink: 0;
}
.lang-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  min-width: 30px;
  border-radius: var(--radius-pill);
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
}
.lang-btn:hover:not(.active) { color: var(--color-accent); }
.lang-btn.active {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.page-home .navbar:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
@media (max-width: 1024px) {
  .nav-link { padding: 8px 10px; font-size: .82rem; }
}
@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .lang-toggle { margin-left: auto; }
  .lang-btn { padding: 3px 8px; font-size: .68rem; }
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--color-border);
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    z-index: 999;
    align-items: stretch;
  }
  .nav-menu.mobile-open .nav-cta-mobile { display: block; margin-top: 8px; text-align: center; }
  .nav-item { width: 100%; }
  .nav-link { justify-content: space-between; width: 100%; min-height: 44px; }
  .nav-item.has-dropdown::after { display: none; }
  .nav-dropdown {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all;
    box-shadow: none;
    border: none;
    overflow: visible;
    background: var(--color-light-bg);
    border-radius: var(--radius-md);
    display: none;
    width: 100%;
    min-width: unset;
    padding: 4px;
    margin-top: 4px;
    transition: none !important;
  }
  .nav-item.dropdown-open .nav-dropdown { display: block !important; }
  .nav-dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    width: 100%;
    padding: 12px 14px;
    color: var(--color-primary) !important;
    font-size: .95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    background: transparent;
  }
  .navbar .btn { min-height: 44px; }
  .navbar .btn-sm { min-height: 36px; }
}
@media (max-width: 480px) {
  .nav-logo-img { height: 28px; }
}

/* Glue for the generated pages */
body.bs { padding-top: var(--nav-height); }
body.bs .navbar { font-family: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif; line-height: 1.6; }
body.bs .navbar ul { list-style: none; margin: 0; padding: 0; }
body.bs .navbar a { text-decoration: none; }
body.bs .navbar .container { max-width: var(--max-width); margin-inline: auto; padding-inline: 28px; }
body.bs .navbar .nav-logo-img { height: 36px; width: auto; max-width: none; }
body.bs .navbar svg { display: block; width: 14px; height: 14px; }
body.bs main a.lang-btn, body.bs .navbar a.lang-btn { color: inherit; }
body.bs .navbar a.lang-btn { display: inline-flex; align-items: center; }
html { scroll-padding-top: calc(var(--nav-height) + 16px); }

