/* ============================================================
   Healtek website draft — shared stylesheet
   Draft v3 — 2026-07-28 — visual refresh against healtek_GUIDELINES v1.0
   ------------------------------------------------------------
   PLACEHOLDERS / TODO:
   - Font: brand typeface is Aktiv Grotesk (licensed, Dalton Maag).
     "Inter" is loaded as a visual stand-in only — swap before launch.
   - Logo icon is a stand-in; replace with approved artwork.
   ============================================================ */

:root {
  /* Guideline palette (healtek_GUIDELINES v1.0) */
  --ink:   #030F11;   /* primary ink */
  --sky:   #AFC4C9;   /* light steel */
  --cream: #EFEEE6;   /* paper */

  /* Guideline secondary / accents */
  --sky-soft:  #DBE5E7;
  --steel:     #7995A0;
  --teal:      #7FAEAF;
  --deep:      #27485A;
  --sand:      #D4CEC3;

  --ink-70:    rgba(3, 15, 17, 0.72);
  --ink-50:    rgba(3, 15, 17, 0.52);
  --line:      rgba(3, 15, 17, 0.10);
  --line-dark: rgba(219, 229, 231, 0.16);
  --cream-70:  rgba(219, 229, 231, 0.72);

  --font: "Aktiv Grotesk", "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 1160px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography (guidelines p.28) ---------- */
h1, .h1 {
  font-weight: 500;          /* Medium — display weight per refreshed spec */
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  text-wrap: balance;
}
h2, .h2 {
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.022em;
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
}
h3 { font-weight: 500; font-size: 1.22rem; line-height: 1.22; }
p.lead { font-size: 1.25rem; line-height: 1.45; color: var(--ink-70); max-width: 46ch; text-wrap: pretty; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-50);
  margin-bottom: 18px;
}
.on-dark .eyebrow { color: var(--steel); }
.on-sky .eyebrow { color: var(--deep); }

a { color: inherit; }

/* ---------- Header / nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239, 238, 230, 0.90);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--maxw); margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.logo svg { display: block; }

nav.main { display: flex; gap: 26px; align-items: center; }
nav.main a { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--ink-70); }
nav.main a:hover, nav.main a.active { color: var(--ink); }
/* ---------- Language menu ----------
   Built on <details>/<summary> so it opens, closes and takes keyboard
   input with no JavaScript. assets/nav.js adds outside-click + Escape. */
.lang-menu { position: relative; padding-left: 14px; border-left: 1px solid var(--line); }
.lang-menu > summary {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px; cursor: pointer;
  color: var(--ink-70); list-style: none; -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary::marker { content: ""; }
.lang-menu > summary:hover { color: var(--ink); background: rgba(3, 15, 17, 0.06); }
.lang-menu[open] > summary { color: var(--ink); background: rgba(3, 15, 17, 0.06); }
.lang-menu > summary svg { width: 19px; height: 19px; display: block; }

.lang-list {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  margin: 0; padding: 6px; list-style: none; min-width: 170px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 14px 32px -14px rgba(3, 15, 17, 0.3);
}
.lang-list li { margin: 0; }
.lang-list a, .lang-list span {
  display: block; padding: 9px 12px; border-radius: 9px;
  font-size: 0.94rem; font-weight: 500; line-height: 1.3;
  color: var(--ink-70); text-decoration: none;
}
.lang-list a:hover { background: var(--sky-soft); color: var(--ink); }
.lang-list [aria-current="true"] { color: var(--ink); font-weight: 600; }

/* Narrow screens: the nav wraps, so anchor the panel to the left edge of the
   trigger instead — right-aligning it can push past the viewport. */
@media (max-width: 520px) {
  .lang-list { right: auto; left: -6px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.98rem;
  padding: 15px 28px; border-radius: 999px; transition: background 0.15s ease, transform 0.12s ease;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--deep); }
.btn-sky     { background: var(--sky); color: var(--ink); }
.btn-sky:hover { background: var(--steel); }
.btn-ghost   { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: rgba(3, 15, 17, 0.06); }
.on-dark .btn-ghost, .cta-band .btn-ghost { border-color: rgba(239, 238, 230, 0.8); color: var(--cream); }
.on-dark .btn-ghost:hover, .cta-band .btn-ghost:hover { background: rgba(239, 238, 230, 0.12); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 72px 0; }
.on-dark { background: var(--ink); color: var(--cream); }
.on-dark p.lead, .on-dark .muted { color: var(--cream-70); }
.on-sky { background: linear-gradient(160deg, var(--sky-soft) 0%, var(--sky) 100%); }
.muted { color: var(--ink-70); }
.small { font-size: 0.88rem; }
section h2 + p.lead, .wrap h2 + p.lead { margin-top: 26px; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0; background: linear-gradient(180deg, var(--sky-soft) 0%, var(--cream) 78%); }
.hero .head { max-width: 900px; }
.hero .head h1 { margin: 0; }
.hero .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; margin-top: 48px; }
.hero .intro { display: flex; flex-direction: column; gap: 32px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .cta-block { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---------- Offer/landing hero (e.g. Installed Base Accelerator) ----------
   Modifier on .hero for offer pages. The headline is a full-width statement in
   .head above the grid (same split as the home hero), so it gets the large
   display scale back; the grid below carries lead + CTAs beside the mock card.
   When the page also carries a .hero-stage band, padding drops to the
   hero-home pattern so the gradient stage sits flush at the section's foot. */
.hero-offer { padding: 76px 0 0; }
.hero-offer .head h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); max-width: 16ch; }
.hero-offer .grid { align-items: start; margin-top: 40px; padding-bottom: 56px; }

/* ---------- Home hero v2: split headline + product stage ----------
   Modifier on .hero so other pages' heroes are unaffected. */
.hero-home { padding: 76px 0 0; background: var(--cream); }
.hero-home .head-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: stretch; }
.hero-home .head-grid h1 { margin: 0; font-size: clamp(2.5rem, 5.1vw, 4.25rem); }
.hero-home .aside { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.hero-home .aside p.lead { margin: 0; }
.hero-home .cta-block { gap: 12px; }
.hero-home .ctas { gap: 12px; }
.hero-home .ctas .btn { font-size: 0.94rem; padding: 13px 24px; }
.hero-home .working { display: flex; align-items: center; gap: 14px 36px; flex-wrap: wrap; padding-top: 30px; }
.hero-home .working .eyebrow { margin: 0 12px 0 0; }
.hero-home .working .namestrip { margin-top: 0; }

/* Product stage: gradient band carrying the screenshot carousel */
.hero-stage { margin-top: 60px; padding: 64px 24px 52px; background: linear-gradient(120deg, var(--deep) 0%, var(--steel) 70%, var(--sky) 100%); }
.hero-stage .stage { position: relative; max-width: 1120px; margin: 0 auto; }
.shots { position: relative; aspect-ratio: 1.442; width: 100%; }
.shots .shot { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; opacity: 0; transition: opacity 0.9s ease; }
.shots .shot.on { opacity: 1; }
.shots img { width: 100%; max-height: 100%; object-fit: contain; }

.stage-card { position: absolute; left: -14px; bottom: 36px; width: 300px; background: #fff; border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 24px 60px rgba(3, 15, 17, 0.3); }
.stage-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.stage-card strong { font-size: 0.95rem; }
.stage-card p { margin: 0; font-size: 0.82rem; line-height: 1.45; color: var(--ink-70); }
.stage-card .tag { background: var(--teal); color: var(--ink); font-size: 0.69rem; font-weight: 700; letter-spacing: 0.05em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }

.stage-foot { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 16px; }
.stage-foot .cap { font-size: 0.88rem; font-weight: 600; color: var(--cream); }
.dots { display: flex; gap: 8px; }
.dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgba(239, 238, 230, 0.30); transition: background 0.3s ease; }
.dots button[aria-selected="true"] { background: var(--cream); }
.dots button:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .shots .shot { transition: none; }
}
@media (max-width: 900px) {
  .hero-home { padding-top: 56px; }
  .hero-home .head-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stage { margin-top: 44px; padding: 36px 16px 32px; }
  .stage-card { position: static; width: auto; margin-top: 20px; box-shadow: 0 12px 30px rgba(3, 15, 17, 0.2); }
  .stage-foot { justify-content: space-between; }
}

/* ---------- Cards & grids ---------- */
.cards { display: grid; gap: 20px; margin-top: 44px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-70); font-size: 0.97rem; }
.on-dark .card { background: rgba(219, 229, 231, 0.05); border-color: var(--line-dark); }
.on-dark .card p { color: var(--cream-70); }
.card .num {
  display: inline-block; font-weight: 700; color: var(--ink);
  background: var(--sky); border-radius: 8px; padding: 2px 10px; font-size: 0.85rem; margin-bottom: 14px;
}
/* Kicker label above a card heading — same treatment as .flow .step .k */
.card .k { display: block; color: var(--teal); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.card.feature { background: linear-gradient(140deg, var(--sky-soft), var(--sand)); border-color: transparent; }

/* Human-equivalent tail line inside a card: what a person could manage without help.
   Separated by a hairline so it reads as a footnote, not as more body copy. */
.card .hours {
  margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line);
  font-size: 0.88rem; line-height: 1.5; font-style: italic; color: var(--ink-70);
}
.on-dark .card .hours { border-top-color: var(--line-dark); color: var(--cream-70); }

/* Stat card: the figure IS the heading, so let it carry the weight. */
.card.stat h3 {
  font-size: 2.05rem; font-weight: 600; line-height: 1.04;
  letter-spacing: -0.022em; margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) { .card.stat h3 { font-size: 1.8rem; } }

/* A .card.feature keeps its light gradient even inside an .on-dark section,
   so its text must stay ink — otherwise .on-dark's cream rules make it
   cream-on-cream and unreadable. */
.on-dark .card.feature { background: linear-gradient(140deg, var(--sky-soft), var(--sand)); border-color: transparent; }
.on-dark .card.feature h3 { color: var(--ink); }
.on-dark .card.feature p { color: var(--ink-70); }

/* Closing emphasis line under a card grid (states the pattern behind the cards) */
.section-note { margin-top: 36px; font-size: 1.15rem; line-height: 1.5; max-width: 56ch; color: var(--ink-70); }
.on-dark .section-note { color: rgba(219, 229, 231, 0.85); }
.on-dark .section-note strong { color: var(--cream); }

/* Single-card price/offer block: headline + terms beside one nowrap CTA */
.offer-card { padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.offer-card .copy { flex: 1 1 420px; }
.offer-card h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.offer-card p { margin-top: 16px; font-size: 1.05rem; color: var(--ink-70); max-width: 52ch; }
.offer-card .btn { white-space: nowrap; }

/* ---------- Device mock / portal panel ---------- */
.portal-mock {
  background: linear-gradient(150deg, #FFFFFF 0%, #E9EFF0 100%);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 26px; box-shadow: 0 28px 70px rgba(3, 15, 17, 0.14);
}
.portal-mock .device-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.portal-mock .device-head strong { font-size: 0.98rem; }
.portal-mock .tag { background: var(--teal); color: var(--ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; padding: 3px 10px; border-radius: 999px; }
.portal-mock ul { list-style: none; }
.portal-mock li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.portal-mock li:last-child { border-bottom: none; }
.portal-mock li span:last-child { color: var(--ink-70); }

/* ---------- Flow diagram ---------- */
.flow { display: flex; gap: 0; align-items: stretch; margin-top: 48px; flex-wrap: wrap; }
.flow .step { flex: 1 1 0; min-width: 150px; padding: 22px 18px; border-left: 1px solid var(--line-dark); }
.flow .step:first-child { border-left: none; padding-left: 0; }
.flow .step:last-child { padding-right: 0; }
.flow .step .k { color: var(--teal); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.flow .step strong { display: block; margin-bottom: 8px; font-size: 1.1rem; font-weight: 500; }
.flow .step p { font-size: 0.88rem; color: var(--cream-70); }

/* ---------- Logo / referral strip ---------- */
.namestrip { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; margin-top: 28px; }
.namestrip span { font-weight: 600; font-size: 1.02rem; color: var(--ink-50); letter-spacing: 0.01em; }

/* ---------- Customer logo (success stories) ---------- */
.story-logo { display: inline-flex; align-items: center; margin-bottom: 22px; }
.story-logo img { display: block; height: 44px; width: auto; }
.story-logo.sm { margin-bottom: 16px; }
.story-logo.sm img { height: 30px; }

/* ---------- Story illustration + inline partner logo ---------- */
.story-fig { margin: 30px 0; }
.story-fig img { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.story-fig figcaption { margin-top: 10px; text-align: center; font-size: 0.9rem; color: var(--ink-50); }
.story-inline-logo { display: block; height: 34px; width: auto; margin: 4px 0 10px; }
.story-card h3 { font-size: 1.65rem; line-height: 1.15; letter-spacing: -0.012em; }

/* ---------- Responsive video ---------- */
.video-frame { position: relative; width: 100%; max-width: 920px; aspect-ratio: 16 / 9; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- QR block ---------- */
.qr-panel { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; margin-top: 40px; color: var(--ink); }
.qr-panel img, .qr-panel object { width: 100%; height: auto; border-radius: 8px; }
.qr-panel h3 { font-size: 1.5rem; line-height: 1.18; letter-spacing: -0.01em; margin-bottom: 12px; }
/* The panel is a white surface even inside a dark/sky band — keep its text and
   ghost buttons dark, overriding the light-on-dark .cta-band/.on-dark rules. */
.cta-band .qr-panel .muted, .on-dark .qr-panel .muted { color: var(--ink-70); }
.cta-band .qr-panel .btn-ghost, .on-dark .qr-panel .btn-ghost { border-color: var(--ink); color: var(--ink); }
.cta-band .qr-panel .btn-ghost:hover, .on-dark .qr-panel .btn-ghost:hover { background: rgba(3, 15, 17, 0.06); }

/* ---------- Tables ---------- */
table.tiers { width: 100%; border-collapse: collapse; margin-top: 40px; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.tiers th, table.tiers td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 0.95rem; vertical-align: top; }
table.tiers th { background: var(--ink); color: var(--cream); font-weight: 600; }
table.tiers td:first-child { font-weight: 600; }
table.tiers.demo th, table.tiers.demo td { padding: 12px 14px; font-size: 0.85rem; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.pill-ok { background: rgba(31, 122, 90, 0.12); color: #1f7a5a; }
.pill-warn { background: rgba(154, 106, 0, 0.14); color: #9a6a00; }

/* "Watch / live video" badge */
.live-tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 8px; border-radius: 999px; background: var(--deep); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; vertical-align: middle; }
.live-tag svg { width: 8px; height: 8px; fill: currentColor; display: block; }

/* Vertical YouTube Short embed */
.video-short { margin: 30px auto; max-width: 330px; }
.video-short .frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-short .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-short figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--ink-50); text-align: center; }

/* ---------- Article cards (insights) ---------- */
.article-card { display: block; text-decoration: none; }
.article-card .date { font-size: 0.8rem; color: var(--ink-50); margin-bottom: 10px; display: block; }
.article-card:hover { border-color: var(--steel); }
.prose { max-width: 70ch; }
.prose p { margin-bottom: 18px; color: var(--ink-70); }
.prose h2 { font-size: 1.5rem; margin: 36px 0 14px; font-weight: 500; letter-spacing: -0.01em; }
.prose blockquote { border-left: 3px solid var(--steel); padding-left: 18px; font-size: 1.15rem; margin: 26px 0; }

/* ---------- Lead form ---------- */
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; margin-top: 44px; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.lead-form .row.single { grid-template-columns: 1fr; }
.lead-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-70); }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid rgba(3, 15, 17, 0.12); border-radius: 10px; background: var(--cream);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--steel); background: #fff; }
.lead-form textarea { resize: vertical; min-height: 110px; }
.lead-form .notice { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 10px; background: var(--sky-soft); font-size: 0.92rem; }
.lead-form .notice.show { display: block; }
.lead-form .notice.ok  { background: #DCEFE4; color: #143C2A; }
.lead-form .notice.err { background: #F4DDDD; color: #5A1A1A; }
.lead-form button[disabled] { opacity: 0.55; cursor: progress; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; background: linear-gradient(120deg, var(--deep) 0%, var(--steel) 60%, var(--sky) 100%); color: var(--cream); padding: 88px 0; }
.cta-band h2 { max-width: 22ch; margin: 0 auto 18px; }
.cta-band .muted { color: rgba(239, 238, 230, 0.85); }
.cta-band .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: var(--cream-70); padding: 64px 0 40px; font-size: 0.9rem; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
footer.site a { color: var(--cream-70); text-decoration: none; }
footer.site a:hover { color: #DBE5E7; }
footer.site h4 { color: #DBE5E7; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; }
footer.site .fine { border-top: 1px solid var(--line-dark); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .grid, .qr-panel { grid-template-columns: 1fr; gap: 40px; }
  .cards.c2, .cards.c3, .cards.c4 { grid-template-columns: 1fr 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  nav.main { gap: 16px; }
  nav.main a.hide-m { display: none; }
}
/* Below ~760px the logo + links + language switch + CTA pill can no longer
   share one row (they overflowed to ~441px on a 375px screen). Wrap the bar
   into two rows instead of hiding navigation: logo on top, full nav beneath.
   This also brings back the .hide-m links that the 900px rule removes. */
@media (max-width: 760px) {
  header.site .bar { flex-wrap: wrap; row-gap: 10px; padding: 12px 16px; }
  nav.main { flex-basis: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 8px 14px; }
  nav.main a { font-size: 0.9rem; }
  nav.main a.hide-m { display: inline; }
  nav.main a.lang { padding-left: 12px; }
  nav.main .btn { padding: 10px 18px; font-size: 0.88rem; }
}

@media (max-width: 580px) {
  .cards.c2, .cards.c3, .cards.c4 { grid-template-columns: 1fr; }
  .lead-form .row { grid-template-columns: 1fr; }
  .flow .step { flex: 1 1 100%; border-left: none; border-top: 1px solid var(--line-dark); padding: 22px 0; }
  .offer-card { padding: 28px; }
  footer.site .cols { grid-template-columns: 1fr; }
  footer.site .fine { gap: 8px; }
}

/* ---------- Pull quote with portrait ---------- */
.quote-feature { display: flex; gap: 22px; align-items: center; margin: 28px 0; padding: 24px 26px; background: var(--sky-soft); border-radius: var(--radius); }
.quote-feature img { flex: 0 0 auto; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; }
.quote-feature blockquote { margin: 0; border: 0; padding: 0; font-size: 1.25rem; font-weight: 500; line-height: 1.4; }
.quote-feature .cite { display: block; margin-top: 12px; font-size: 0.95rem; font-weight: 400; color: var(--ink-50); }
@media (max-width: 560px) { .quote-feature { flex-direction: column; text-align: center; } }
