/* ============================================================================================
   EBM Pools — design system. One set of rules for every block on the page. Loaded last.

   FONTS      Geologica: headings and numbers (prices). Onest: everything else. Nothing else.
   TYPE       role          size  weight  line   tracking   use
              h1            56    650     1.04   -0.03em    hero headline only
              h2            40    650     1.10   -0.025em   section titles
              subhead       26    600     1.15   -0.02em    block titles inside a section, form titles
              title         20    600     1.25   -0.01em    card / list item / strip titles
              lead          18    400     1.60    0         the explanation under a section title
              body          16    400     1.60    0         all running text, inputs, buttons (600)
              small         14    400/500 1.50    0         secondary text, chips, captions, tabs
              caption       12    600     1.00   +0.14em    UPPERCASE labels ("ЧТО ВХОДИТ", "ВЗНОС")
              numbers       56/44/40, Geologica 700, tabular figures, -0.035em
   SPACING    8-point grid: 8 · 16 · 24 · 32 · 48 · 64; between sections 112 (72 on narrow screens)
   SHAPE      buttons 48 high, radius 12; cards radius 20; chips fully round
   TEXT       lines up to ~60 characters; secondary text differs by colour, not by size
   ============================================================================================ */
:root {
  --t-cap: 12px; --t-sm: 14px; --t-body: 16px; --t-lead: 18px; --t-title: 20px; --t-sub: 26px;
  --t-h2: clamp(32px, 2.8vw, 40px); --t-h1: clamp(40px, 3.6vw, 56px);
  --w-head: 650; --w-sub: 600;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px; --sec: clamp(72px, 7vw, 112px);
  --r-btn: 12px; --r-card: 20px;
}
.num { font-family: var(--f-display); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }

/* --- section rhythm and headers --- */
.sec { padding: var(--sec) var(--pad); }
.kick { font: 600 var(--t-cap)/1 var(--f-body); letter-spacing: .14em; margin: 0 0 var(--s2); }
.h2 { font: var(--w-head) var(--t-h2)/1.1 var(--f-display); letter-spacing: -.025em; max-width: 20ch; }
.lead { font: 400 var(--t-lead)/1.6 var(--f-body); max-width: 56ch; }
/* a section header is one grid: title on the left, its explanation on the right, sitting on the same baseline */
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--s6); margin-bottom: var(--s6); }
.head .lead { max-width: 44ch; }

/* --- hero --- */
h1 .big { font-size: calc(var(--t-h1) * var(--shrink, 1)); font-weight: var(--w-head); line-height: 1.04; letter-spacing: -.03em; }
h1 .kw { font-size: var(--t-cap); letter-spacing: .14em; }
.sub { font-size: calc(var(--t-lead) * (.7 + var(--shrink, 1) * .3)); line-height: 1.55; font-weight: 400; }
.quote { padding: calc(20px * var(--shrink, 1)) var(--s3) var(--s2); border-radius: var(--r-card); gap: calc(16px * var(--shrink, 1)); }
.q-mo { font-size: calc(44px * var(--shrink, 1)); letter-spacing: -.035em; }
.q-mo small { font-size: var(--t-body); }
.q-l, .q-down > span, .q-size > span { font-size: var(--t-cap); }
.q-sum { font-size: var(--t-sm); }
.q-more, .q-note { font-size: var(--t-cap); }
.quote .cta-hot { height: calc(48px * (.75 + var(--shrink, 1) * .25)); }

/* --- buttons: one height, one type size --- */
.cta-hot { height: 48px; padding: 0 var(--s3); border-radius: var(--r-btn); font: 600 var(--t-body)/1 var(--f-body); gap: var(--s1); }
.cta-ghost { height: 48px; padding: 0 20px; border-radius: var(--r-btn); font: 600 var(--t-body)/1 var(--f-body); }
.cta-hot svg, .cta-ghost svg { width: 18px; height: 18px; }

/* --- what you get --- */
.inc { gap: var(--s6); }
.inc-list { gap: 0; }
.inc-list li { padding: 14px var(--s2) 14px 56px; font: 400 15px/1.5 var(--f-body); border-radius: 14px; }
.inc-list b { font: var(--w-sub) 17px/1.3 var(--f-display); margin-bottom: 2px; }
.dot { width: 32px; height: 32px; margin: -16px 0 0 -16px; font-size: 13px; }
.inc-tabs button { font-size: var(--t-sm); padding: 8px 12px; }
.pr { gap: var(--s2); margin-top: var(--s8); }
.pr-card { padding: var(--s3); border-radius: var(--r-card); }
.pr-l { font-size: var(--t-cap); }
.pr-card b { font-size: 40px; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.pr-s { font-size: var(--t-sm); line-height: 1.5; }

/* --- deck and finish showcase --- */
.mx { margin-top: var(--s8); }
.mx-h { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--s6); margin-bottom: var(--s3); }
.mx-h .kick { margin-bottom: 12px; }
.mx-h h3 { font: var(--w-head) var(--t-sub)/1.15 var(--f-display); letter-spacing: -.02em; margin: 0; }
.mx-h > p { font: 400 var(--t-body)/1.6 var(--f-body); max-width: 44ch; margin: 0; }
.mx-strip { height: min(70vh, 600px); }
.mx-v { font: var(--w-sub) 17px/1 var(--f-display); bottom: var(--s3); }
.mx-info { padding: var(--s4); max-width: 500px; }
.mx-info b { font: var(--w-head) 32px/1.05 var(--f-display); letter-spacing: -.025em; }
.mx-info em { font: 600 13px/1 var(--f-body); padding: 6px 10px; margin-top: 12px; }
.mx-info p { font: 400 var(--t-body)/1.55 var(--f-body); margin: var(--s2) 0 12px; }
.mx-info li { font: 500 13px/1 var(--f-body); padding: 7px 11px; }
.mx-s img { width: 56px; height: 56px; }
.mx-s small { font-size: var(--t-cap); }
.mx-pick { height: 44px; padding: 0 var(--s3); font: 600 15px/1 var(--f-body); border-radius: var(--r-btn); margin-top: var(--s3); }

/* --- strips between sections --- */
.back { margin-top: var(--s6); padding: 20px var(--s3) 20px 20px; border-radius: var(--r-card); gap: var(--s3); }
.back-l { gap: 20px; }
.back-pic { width: 136px; height: 84px; border-radius: 12px; }
.back b { font: var(--w-sub) var(--t-title)/1.25 var(--f-display); letter-spacing: -.01em; }
.cfg { gap: var(--s1); margin-top: 10px; }
.cfg-chips { gap: 6px; }
.cfg-chips span { font: 500 13px/1 var(--f-body); padding: 6px 10px; }
.cfg-price b { font: 700 var(--t-title)/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cfg-price span { font-size: var(--t-sm); }
.cfg-price small { font-size: var(--t-cap); }

/* --- gallery, 90 days --- */
.gal figcaption { font: 500 var(--t-sm)/1.3 var(--f-body); }
.tl2-card { width: 360px; padding: var(--s3); }
.tl2-n b { font-size: 36px; }
.tl2-card h3 { font: var(--w-sub) var(--t-title)/1.25 var(--f-display); margin: 12px 0 8px; }
.tl2-card p { font: 400 15px/1.55 var(--f-body); }
.tl2-stops button { font-size: var(--t-sm); }

/* --- financing --- */
.ticks li { font: 400 var(--t-body)/1.5 var(--f-body); }
.calc { padding: var(--s4); border-radius: 24px; }
.calc-l { font-size: var(--t-cap); }
.calc-out b { font-size: 56px; letter-spacing: -.035em; }
.calc-s { font-size: var(--t-sm); }
.calc label { font-size: 15px; }
.calc output { font-size: var(--t-body); }
.calc-term, .calc-term .seg button { font-size: 15px; }
.calc-note { font-size: var(--t-cap); }
.calc-cfg { padding: var(--s2) 20px; }
.calc-cfg .cfg-price b { font-size: 18px; }

/* --- why, reviews, area, faq --- */
.stat b { font-size: 28px; }
.stat { font-size: 13px; }
.feats b { font: var(--w-sub) 17px/1.3 var(--f-display); }
.feats > div { font: 400 15px/1.55 var(--f-body); }
.gbadge b { font-size: 20px; }
.gbadge small { font-size: 13px; }
.rv .nm { font-size: 15px; }
.rv blockquote { font: 400 15px/1.6 var(--f-body); }
.cities span { font: 500 var(--t-sm)/1 var(--f-body); }
.addr { font-size: 15px; }
.faq summary { font: var(--w-sub) 18px/1.35 var(--f-display); }
.faq details p { font: 400 var(--t-body)/1.65 var(--f-body); max-width: 62ch; }

/* --- final section and forms --- */
.mine { padding: 20px var(--s3); border-radius: var(--r-card); }
.mine .cfg-price b { font-size: 24px; }
.tel { font-size: 22px; }
.form { padding: var(--s4); border-radius: 24px; gap: var(--s2); }
.form label { font: 600 var(--t-cap)/1 var(--f-body); gap: var(--s1); }
.form input, .form select { font: 400 var(--t-body)/1.2 var(--f-body); padding: 14px var(--s2); border-radius: var(--r-btn); }
.lead3 h3, .modal .form h3 { font: var(--w-head) var(--t-sub)/1.15 var(--f-display); letter-spacing: -.02em; }
.lead3 p.sub2, .modal .form p.sub2 { font: 400 15px/1.5 var(--f-body); }
.lead3 .q, .l3-n { font-size: var(--t-cap); }
.pick button { font: 500 var(--t-sm)/1 var(--f-body); padding: 11px 14px; border-radius: 10px; }
.ways button { padding: var(--s2); border-radius: 14px; grid-template-columns: 40px 1fr; }
.ways button svg { width: 40px; height: 40px; padding: 10px; }
.ways button b { font: 600 var(--t-body)/1.3 var(--f-body); }
.ways button span { font: 400 13px/1.45 var(--f-body); }
#lead .lead3 { min-height: 0; }

/* --- popup --- */
.modal .form { padding: var(--s4); }
.modal-side .mq2-mo b { font-size: 36px; }

/* --- sticky bar: one compact row --- */
.hook { gap: var(--s2); padding: 8px; border-radius: 18px; }
.hook-pic.mini { width: 96px; height: 56px; border-radius: 10px; }
.hook-t { gap: 4px; padding-right: 4px; }
.hook-t small { font: 500 var(--t-cap)/1 var(--f-body); letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.6); max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hook-t > b { font: 600 var(--t-body)/1 var(--f-body); letter-spacing: 0; }
.hook-t > b i { font-weight: 700; }
.hook-g { justify-self: start; padding: 3px 8px; border-radius: 999px; font: 500 11px/1.3 var(--f-body) !important; background: rgba(255,95,162,.18); color: #FFB3D4; }
.hook-g b { font: 600 11px/1.3 var(--f-body) !important; color: #fff; letter-spacing: 0; }
.hook-b { height: 40px; padding: 0 14px; border-radius: 10px; font: 600 var(--t-sm)/1 var(--f-body); gap: 6px; }
.hook-b svg { width: 16px; height: 16px; }
.hook .cta-hot { height: 40px; padding: 0 16px; border-radius: 10px; font-size: var(--t-sm); }

/* --- footer --- */
.foot { font-size: var(--t-sm); }
.foot b { font-size: var(--t-body); }

/* --- leftovers of older rules snapped to the scale: caption 12 · meta 13 · small 14 --- */
.inc-list em, .mine-l, .modal-side small, .tl2-n span, .q-down > span, .mq-down > span, .pl-r .cap { font-size: var(--t-cap) !important; }
.lang button, .rv .dt, .rv footer, .mine-g, .modal-g, .pick button small, .lmap-legend, .lmap-city { font-size: 13px !important; }
.pill, .top .pill, .real, .cities span, .calc-s, .inc-tabs button { font-size: var(--t-sm) !important; }
.brand { font-size: 17px; }
.seg button, .modal-side .seg button, .pl .chips button, .pl-r em, .ms .chips button { font-size: 13px !important; }
.calc-cfg-h a, .mine-edit, .mq-sum { font-size: var(--t-sm) !important; }
.inc-list b { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 4px 8px; }

/* ============================================================================================
   FLUID SCALE (replaces the fixed sizes above). Sizes grow smoothly with the window:
   laptop ~1200 px → large screen 1600 px. Same roles, same rules, just tuned for the screen people actually use.
              1200 → 1600
   caption    11 → 12        small   13 → 14       text (descriptions) 14 → 15     body 15 → 16
   lead       16 → 17        title   16 → 18       subhead 22 → 25                 h2  32 → 38      h1 46 → 54
   buttons    44 → 48 high   section padding 72 → 104
   ============================================================================================ */
:root {
  --t-cap: clamp(11px, 8px + .25vw, 12px);
  --t-sm: clamp(13px, 10px + .25vw, 14px);
  --t-text: clamp(14px, 11px + .25vw, 15px);
  --t-body: clamp(15px, 12px + .25vw, 16px);
  --t-lead: clamp(16px, 13px + .25vw, 17px);
  --t-title: clamp(16px, 10px + .5vw, 18px);
  --t-sub: clamp(22px, 13px + .75vw, 25px);
  --t-h2: clamp(30px, 14px + 1.5vw, 38px);
  --t-h1: clamp(40px, 22px + 2vw, 54px);
  --b-h: clamp(44px, 32px + 1vw, 48px);
  --sec: clamp(64px, 6.5vw, 104px);
}
.cta-hot, .cta-ghost, .back .cta-ghost { height: var(--b-h); font-size: var(--t-body); }
.head { margin-bottom: clamp(32px, 3vw, 48px); }
.lead { font-size: var(--t-lead); }

/* descriptions everywhere use "text", item titles use "body" semibold */
.inc-list li { font: 400 var(--t-text)/1.5 var(--f-body); padding: 11px 14px 11px 50px; }
.inc-list b { font: 600 var(--t-body)/1.3 var(--f-display); }
.inc-list li::before { width: 26px; height: 26px; font-size: 12px; left: 12px; }
.dot { width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: 12px; }
.inc-tabs { left: 12px; top: 12px; }
.inc-tabs button { font-size: var(--t-sm) !important; padding: 7px 11px; }
.pr-card b { font-size: clamp(32px, 14px + 1.5vw, 40px); }
.tl2-card p, .feats > div, .rv blockquote, .ways button span { font-size: var(--t-text); }
.feats b, .ways button b, .tl2-card h3 { font-size: var(--t-title); }
.faq summary { font-size: var(--t-title); }
.faq details p, .mx-info p, .ticks li { font-size: var(--t-body); }
.mx-info b { font-size: clamp(26px, 14px + 1vw, 32px); }
.calc-out b { font-size: clamp(44px, 20px + 2vw, 56px); }
.q-mo { font-size: calc(clamp(36px, 18px + 1.5vw, 44px) * var(--shrink, 1)); }
.back b { font-size: var(--t-title); }
.back-pic { width: clamp(112px, 64px + 4vw, 136px); height: clamp(70px, 40px + 2.5vw, 84px); }
.cfg-price b { font-size: var(--t-title); }
.form input, .form select { font-size: var(--t-body); padding: 12px 14px; }
.lead3 h3, .modal .form h3 { font-size: var(--t-sub); }
.stat b { font-size: clamp(24px, 12px + 1vw, 28px); }

/* sticky bar: smaller on laptops */
.hook-pic.mini { width: 84px; height: 50px; }
.hook-t > b { font-size: var(--t-body); }
.hook-b, .hook .cta-hot { height: 38px; font-size: var(--t-sm); }

/* what you get: a compact list — every item is one line, only the active one (hovered dot or row) opens its description */
.inc-list li { padding: 9px 14px 9px 50px; cursor: pointer; transition: background .25s ease, box-shadow .25s ease; }
.inc-list li > span[lang] { display: block; max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; transition: max-height .35s ease, opacity .25s ease, margin-top .35s ease; }
.inc-list li.on > span[lang] { max-height: 90px; opacity: 1; margin-top: 4px; }
html[data-base="ru"] .inc-list li > span[lang="en"], html[data-base="en"] .inc-list li > span[lang="ru"] { display: none !important; }
.inc-list li::before { top: 9px; }
.mx-h { max-width: min(1240px, calc(100vw - 2 * var(--pad))); }

/* price card on narrow laptops: the down-payment switch goes under the price instead of overflowing */
.quote { container-type: inline-size; }
.q-l { white-space: nowrap; }
.q-note { white-space: normal; }
@container (max-width: 400px) {
  .q-top { flex-direction: column; align-items: stretch; gap: 10px; }
  .q-r { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .q-more:empty { display: none; }
}

/* ============================================================================================
   FLUID SCALE v2 — one step calmer on laptops (Egor, 18.11: "still large").
              1200 → 1600 px
   small 12.5 → 13.5   text 13.5 → 14.5   body 14.5 → 15.5   lead 15 → 16.5   title 15 → 17
   subhead 20 → 24     h2 28 → 36         h1 38 → 52         buttons 42 → 48
   ============================================================================================ */
:root {
  --t-sm: clamp(12.5px, 9.5px + .25vw, 13.5px);
  --t-text: clamp(13.5px, 10.5px + .25vw, 14.5px);
  --t-body: clamp(14.5px, 11.5px + .25vw, 15.5px);
  --t-lead: clamp(15px, 10.5px + .375vw, 16.5px);
  --t-title: clamp(15px, 9px + .5vw, 17px);
  --t-sub: clamp(20px, 8px + 1vw, 24px);
  --t-h2: clamp(28px, 4px + 2vw, 36px);
  --t-h1: clamp(38px, 4px + 3vw, 52px);
  --b-h: clamp(42px, 24px + 1.5vw, 48px);
}
/* what you get: the picture steps back, the list gets room */
.inc { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 3vw, 48px); }
.inc-list b { font-size: var(--t-body); }
.inc-x { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .25s ease; }
.inc-list li.on .inc-x { max-height: 120px; opacity: 1; }
.inc-x button { all: unset; cursor: pointer; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(22,38,43,.18); font: 500 var(--t-sm)/1 var(--f-body); color: var(--ink); background: #fff; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.inc-x button:hover { border-color: #0A7480; }
.inc-x button[aria-pressed="true"], .inc-add.on { background: #0A7480; border-color: #0A7480; color: #fff; }
.inc-x button[aria-pressed="true"]::before { content: "✓ "; }
.inc-add { font-weight: 600 !important; }
/* deck / finish details: lighter overlay */
.mx-strip { height: min(64vh, 540px); }
.mx-info { padding: clamp(20px, 2vw, 28px); max-width: 440px; }
.mx-info b { font-size: clamp(22px, 10px + 1vw, 28px); }
.mx-info em { font-size: 12px; padding: 5px 9px; margin-top: 10px; }
.mx-info p { font-size: var(--t-text); line-height: 1.5; margin: 12px 0 10px; }
.mx-info li { font: 500 12px/1 var(--f-body); padding: 6px 10px; }
.mx-pick { height: 38px; padding: 0 16px; font-size: var(--t-sm); margin-top: 16px; border-radius: 10px; }
.mx-s img { width: 46px; height: 46px; border-radius: 10px; }
/* price summary: one compact row instead of three big cards */
.pr2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 40px); margin-top: clamp(40px, 4vw, 56px); padding: 18px 20px 18px 24px; border-radius: var(--r-card); background: #fff; box-shadow: 0 12px 30px rgba(22,38,43,.07); border: 1px solid rgba(22,38,43,.07); }
.pr2-me small { display: block; font: 600 var(--t-cap)/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.pr2-me .cfg { margin-top: 10px; }
.pr2-me .cfg-chips span { background: rgba(10,116,128,.08); color: #0A5C66; }
.pr2-me .cfg-price b { font-size: clamp(22px, 10px + 1vw, 26px); color: var(--ink); }
.pr2-me .cfg-price i { color: #0A7480; }
.pr2-ref { margin: 0; padding: 0 0 0 clamp(20px, 3vw, 40px); list-style: none; display: grid; gap: 8px; border-left: 1px solid rgba(22,38,43,.1); }
.pr2-ref li { display: flex; justify-content: space-between; gap: 12px; font: 400 var(--t-text)/1.3 var(--f-body); color: var(--ink-soft); }
.pr2-ref b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.pr2 .cta-hot { white-space: nowrap; }

/* ============================================================================================
   ONE "YOUR POOL" FORMAT everywhere (sticky bar, strips, final block, price row, calculator, thank-you):
   1) price — the main line;  2) what is in it — a small description line;  3) the gift — a small gift card.
   ============================================================================================ */
.ps-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.ps-price b { font: 700 var(--t-title)/1.1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ps-price span { font: 400 var(--t-text)/1.3 var(--f-body); opacity: .8; }
.ps-price i { font-style: normal; font-weight: 700; color: #39E0D2; opacity: 1; }
.ps-parts { margin-top: 4px; font: 400 var(--t-sm)/1.45 var(--f-body); opacity: .62; }
.ps-parts em { font-style: normal; }
.cfg { margin-top: 6px; gap: 0; }
.pr2-me .ps-price i, .calc-cfg .ps-price i, .l3-cfg .ps-price i { color: #0A7480; }
.calc-cfg .ps-price i { color: #39E0D2; }
.mine .ps-price b { font-size: clamp(22px, 10px + 1vw, 26px); color: #39E0D2; }
.pr2-me .ps-price b { font-size: clamp(20px, 8px + 1vw, 24px); }
.pr2-me .ps-parts { color: var(--ink); }

/* gift card: the float itself, a small "gift" label, its name */
.gc { display: inline-flex !important; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 12px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,140,190,.35); justify-self: start; width: max-content; font: inherit !important; color: inherit; }
.gc[hidden] { display: none !important; }
.gc-pic { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #FFD1E6, #FF8FC0); display: grid; place-items: center; flex: none; overflow: hidden; }
.gc-pic img { width: 26px; height: 26px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,.2)); }
.gc-t { display: grid; gap: 2px; line-height: 1.1; }
.gc-t small { display: flex; align-items: center; gap: 4px; font: 600 10px/1 var(--f-body) !important; letter-spacing: .12em; text-transform: uppercase; color: #FF8FC0 !important; }
.gc-t small svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gc-t b { font: 600 var(--t-sm)/1.1 var(--f-body) !important; color: inherit !important; letter-spacing: 0 !important; }
.mine-g.gc, .hook-g.gc, .modal-g.gc { background: rgba(255,255,255,.08); color: #fff; }

/* sticky bar: price first, parts under it, the gift card to the right */
.hook-t { display: grid; grid-template-columns: auto auto; column-gap: 14px; row-gap: 3px; align-items: center; }
.hook-t > b { order: 1; grid-column: 1; }
.hook-t > small { order: 2; grid-column: 1; max-width: 300px; font-size: var(--t-cap); opacity: .75; }
.hook-t > .hook-g { order: 3; grid-column: 2; grid-row: 1 / 3; }

/* small pool pictures fill their frame: the crop is the pool with the spa, nothing around it */
.back-pic { width: clamp(132px, 80px + 4.5vw, 160px); height: auto; aspect-ratio: 1480 / 705; }
.hook-pic.mini { width: 100px; height: auto; aspect-ratio: 1480 / 705; }

/* why EBM: no badges over the photo; the numbers are one quiet row; benefits are a compact list with small icons */
.why-pic .stat { display: none; }
.why-stats { display: flex; margin: clamp(20px, 2vw, 28px) 0 clamp(24px, 2.5vw, 36px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-stats .ws { flex: 1; padding: 14px 16px; display: grid; gap: 4px; font: 400 var(--t-sm)/1.3 var(--f-body); color: var(--ink-soft); }
.why-stats .ws + .ws { border-left: 1px solid var(--line); }
.why-stats .ws:first-child { padding-left: 0; }
.why-stats .ws b { font: 700 clamp(22px, 10px + 1vw, 26px)/1 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.feats { grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.feats > div { display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; row-gap: 4px; align-content: start; padding: 0; background: none; box-shadow: none; font: 400 var(--t-text)/1.5 var(--f-body); color: var(--ink-soft); }
.feats > div svg { grid-row: 1 / 3; width: 20px; height: 20px; padding: 0; margin-top: 1px; background: none; border-radius: 0; box-shadow: none; stroke: #0A7480; }
.feats > div b { grid-column: 2; font: 600 var(--t-body)/1.3 var(--f-display); color: var(--ink); margin: 0; }
.feats > div > span { grid-column: 2; }

/* strips between sections: a slim, light line — picture, caption, price, parts; a text link and one compact button */
.back { margin-top: clamp(32px, 3vw, 48px); padding: 10px 10px 10px 10px; gap: 20px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(22,38,43,.04), 0 10px 30px rgba(22,38,43,.06); border: 1px solid rgba(22,38,43,.07); }
.alt .back { background: #FBFAF6; }
.dark .back { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.1); box-shadow: none; }
.back-l { gap: 16px; min-width: 0; }
.back-pic { width: clamp(112px, 64px + 4vw, 136px); border-radius: 10px; }
.back b { font: 600 var(--t-cap)/1 var(--f-body) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.dark .back b { color: rgba(255,255,255,.6); }
.back .cfg { margin-top: 8px; }
.back .ps-price b { font: 700 var(--t-title)/1 var(--f-display) !important; letter-spacing: -.02em !important; text-transform: none !important; color: var(--ink) !important; }
.dark .back .ps-price b { color: #fff !important; }
.back .ps-price i { color: #0A7480; } .dark .back .ps-price i { color: #39E0D2; }
.back-r { gap: 6px; align-items: center; }
.back .cta-ghost { height: 40px; padding: 0 12px; border: 0; background: none; color: var(--ink-soft); font: 600 var(--t-sm)/1 var(--f-body); }
.back .cta-ghost:hover { background: rgba(10,116,128,.07); color: #0A7480; }
.dark .back .cta-ghost { color: rgba(255,255,255,.75); } .dark .back .cta-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.back .cta-hot { height: 40px; padding: 0 16px; border-radius: 10px; font: 600 var(--t-sm)/1 var(--f-body); background: linear-gradient(180deg, #14A2B1, #0A7480); color: #fff; box-shadow: none; }
.dark .back .cta-hot { background: linear-gradient(180deg, #5BF0E2, #2FD3C4); color: #06222A; }
.back .cta-hot svg, .back .cta-ghost svg { width: 16px; height: 16px; }

/* FAQ: quiet two-column layout, small summaries, thin dividers, small plus */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq > div:first-child { position: sticky; top: 96px; }
.faq-note { margin: 16px 0 12px; font: 400 var(--t-text)/1.55 var(--f-body); color: var(--ink-soft); max-width: 32ch; }
.faq-tel { font: 600 var(--t-body)/1 var(--f-body) !important; color: #0A7480; text-decoration: none; }
.faq-tel svg { display: none; }
.faq details { border-bottom: 1px solid var(--line); padding: 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { padding: 16px 40px 16px 0; font: 600 var(--t-body)/1.4 var(--f-display) !important; position: relative; }
.faq summary::after { width: 24px !important; height: 24px !important; font-size: 15px !important; right: 0; top: 50%; margin-top: -12px; }
.faq details p { margin: -4px 0 16px; padding-right: 40px; font: 400 var(--t-text)/1.6 var(--f-body) !important; color: var(--ink-soft); max-width: 62ch; }


/* footer: the same footer as the main EBM site (css/style.css), scoped to this page */
.pool-footer {
    background: #091a2a;
    padding: 24px 48px 14px;
    color: white;
}
.pool-footer .footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    max-width: 1100px;
    margin: 0 auto;
}
.pool-footer .footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    text-decoration: none;
}
.pool-footer .footer-brand .logo-img {
    height: 30px;
    width: auto;
    border-radius: 50%;
}
.pool-footer .footer-brand .logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pool-footer .footer-brand .logo-text .brand {
    color: white;
    font-size: 13.5px;
    font-weight: 700;
}
.pool-footer .footer-brand .logo-text .tagline {
    color: rgba(255,255,255,0.5);
    font-size: 10px;
}
.pool-footer .footer-brand p {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
}
.pool-footer .footer-col h4 {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.35);
}
.pool-footer .footer-col a {
    display: flex;
    flex-direction: column;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 12.5px;
    margin-bottom: 5px;
    transition: color 0.2s;
}
.pool-footer .footer-col a:hover { color: #7FF3E7; }
.pool-footer .footer-col a.footer-nav-extra { display: none; }
.pool-footer .footer-contact-item {
    position: relative;
    margin-bottom: 8px;
}
.pool-footer .footer-contact-item svg {
    position: absolute;
    left: -22px;
    top: 1px;
    width: 13px;
    height: 13px;
    stroke: #39E0D2;
    fill: none;
}
.pool-footer .footer-contact-item a,
.pool-footer .footer-contact-item span {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 12.5px;
    line-height: 1.4;
}
.pool-footer .footer-contact-item a:hover { color: #7FF3E7; }
.pool-footer .footer-social { display: flex; gap: 12px; margin-top: 14px; }
.pool-footer .footer-social a {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5);
    transition: all 0.2s ease;
}
.pool-footer .footer-social a:hover { background: rgba(255,255,255,0.15); color: #fff; transform: translateY(-2px); }
.pool-footer .footer-social svg { width: 16px; height: 16px; }
.pool-footer .footer-bottom {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    font-size: 10px;
    color: rgba(255,255,255,0.2);
    max-width: 1100px;
    margin: 14px auto 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.pool-footer .footer-bottom span:first-child {
    grid-column: 1;
}
.pool-footer .footer-bottom span:last-child {
    grid-column: 4;
}

.pool-footer { font-family: var(--f-body); padding: 40px clamp(18px, 5.2vw, 88px) 18px; }
.pool-footer .footer-content, .pool-footer .footer-bottom { max-width: 1240px; }
.pool-footer .footer-contact-item { padding-left: 22px; }
.pool-footer .footer-contact-item svg { left: 0; }
.pool-footer .footer-col a { display: block; }

/* final block: the same "your pool" order — label, price, parts, gift, change */
.mine { display: grid; gap: 10px; }
.mine .mine-l { order: 1; } .mine .cfg { order: 2; margin-top: 0; } .mine .mine-g { order: 3; } .mine .mine-edit { order: 4; }
.hook-t > small { max-width: 240px; }
.pool-footer .footer-content { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 28px; }
.pool-footer .footer-bottom { grid-template-columns: 1fr auto auto; }
.pool-footer .footer-bottom span:last-child { grid-column: auto; }
.final .tel { font-size: var(--t-title); }

/* ============================================================================================
   FLUID SCALE v3 (final, measured at Chrome zoom 100%; the earlier "too big" was the browser at 125%).
              1200 → 1700 px
   caption 11 → 12 · small 13 → 14 · text 14 → 15 · body 15 → 16 · lead 16 → 18 · title 16 → 18
   subhead 22 → 26 · h2 30 → 40 · h1 40 → 56 · buttons 44 → 48
   ============================================================================================ */
:root {
  --t-cap: clamp(11px, 8.6px + .2vw, 12px);
  --t-sm: clamp(13px, 10.6px + .2vw, 14px);
  --t-text: clamp(14px, 11.6px + .2vw, 15px);
  --t-body: clamp(15px, 12.6px + .2vw, 16px);
  --t-lead: clamp(16px, 11.2px + .4vw, 18px);
  --t-title: clamp(16px, 11.2px + .4vw, 18px);
  --t-sub: clamp(22px, 12.4px + .8vw, 26px);
  --t-h2: clamp(30px, 6px + 2vw, 40px);
  --t-h1: clamp(40px, 1.6px + 3.2vw, 56px);
  --b-h: clamp(44px, 34.4px + .8vw, 48px);
}
/* the plaque under the pool lives in picture coordinates: keep its own sizes, the page-wide snapping must not touch it */
.dui .seg button { font-size: 18px !important; }
.dui .chips button { font-size: 17px !important; }

/* the plaque under the pool starts at the pool's left edge; with the spa on it slides right to make room for the spa */
.dui { left: 1018px; transition: left .5s cubic-bezier(.2,.8,.2,1), color .8s ease; }
.hero.has-spa .dui { left: 1240px; }
.tip { left: 1018px; transition: left .5s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
.hero.has-spa .tip { left: 1240px; }

/* less air: sections closer, header gaps smaller (rule: 8-grid, sections 56 → 88) */
:root { --sec: clamp(56px, 5vw, 88px); }
.head { margin-bottom: clamp(28px, 2.5vw, 40px); }
.mx { margin-top: clamp(40px, 4vw, 56px); }
.area { gap: clamp(32px, 4vw, 64px); align-items: center; }
.area .map iframe { height: clamp(360px, 30vw, 460px); }
.cities { margin-top: 20px; }

/* showcase header: title, hint and — right next to the choice — your pool with its price, updated at once */
.mx-h { grid-template-columns: auto minmax(0, 1fr) auto; }
.mx-h > p { justify-self: start; }
.mx-me { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 14px; background: #fff; border: 1px solid rgba(22,38,43,.08); box-shadow: 0 8px 24px rgba(22,38,43,.06); }
.mx-pic { position: relative; overflow: hidden; width: 112px; aspect-ratio: 1480 / 705; border-radius: 9px; flex: none; }
.mx-me .cfg { margin: 0; }
.mx-me .ps-price b { font-size: var(--t-title); color: var(--ink); }
.mx-me .ps-price i { color: #0A7480; }
.mx-me .ps-parts { max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }

/* gift in the sticky bar: one short line with the float, no box */
.hook .gc { background: none !important; box-shadow: none; padding: 0; gap: 6px; }
.hook .gc-pic { width: 26px; height: 26px; border-radius: 8px; }
.hook .gc-pic img { width: 22px; height: 22px; }
.hook .gc-t small { display: none; }
.hook .gc-t b { font-size: var(--t-sm) !important; white-space: nowrap; }
html[lang="ru"] .hook .gc-t b::after { content: " в подарок"; font-weight: 400; color: #FF9ECB; }
html[lang="en"] .hook .gc-t b::before { content: "Free "; font-weight: 400; color: #FF9ECB; }

/* FAQ: compact picture under the note; the plus sits on the question's line */
.faq-pic { display: block; margin: 24px 0 0; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; max-width: 420px; }
.faq summary { padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::after { position: static !important; margin: 0 !important; flex: none; }
.faq details p { padding-right: 40px; }

/* final block: the same "your pool" component as the strips and the sticky bar — picture, label, price, parts, gift, change */
.mine { display: grid; grid-template-columns: clamp(120px, 70px + 4vw, 150px) minmax(0, 1fr); column-gap: 16px; row-gap: 6px; align-items: start; max-width: 520px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mine .mine-pic { grid-column: 1; grid-row: 1 / 6; position: relative; overflow: hidden; width: 100%; aspect-ratio: 1480 / 705; border-radius: 10px; align-self: center; }
.mine > :not(.mine-pic) { grid-column: 2; }
.mine .mine-l { font-size: var(--t-cap) !important; color: rgba(255,255,255,.6); }
.mine .ps-price b { font-size: var(--t-title) !important; color: #fff !important; }
.mine .ps-parts { color: #fff; }
.mine .gc { background: none; box-shadow: none; padding: 0; gap: 6px; }
.mine .gc-pic { width: 24px; height: 24px; border-radius: 7px; } .mine .gc-pic img { width: 20px; height: 20px; }
.mine .gc-t small { display: none; }
.mine .gc-t b { font-size: var(--t-sm) !important; white-space: nowrap; }
html[lang="ru"] .mine .gc-t b::after { content: " в подарок"; font-weight: 400; color: #FF9ECB; }
html[lang="en"] .mine .gc-t b::before { content: "Free "; font-weight: 400; color: #FF9ECB; }
.mine .mine-edit { font-size: var(--t-sm) !important; border: 0; padding: 0; color: #39E0D2; }
.final .tel { margin-top: 20px; font: 600 var(--t-body)/1 var(--f-body) !important; gap: 8px; }
.final .tel svg { width: 18px; height: 18px; }
.pool-footer .footer-social a { display: flex; align-items: center; justify-content: center; margin: 0; }
.pool-footer .footer-bottom a { color: inherit; text-decoration: none; }
.pool-footer .footer-bottom a:hover { color: rgba(255,255,255,.6); }
.pool-footer .footer-bottom { font-size: 11px; color: rgba(255,255,255,.35); }

/* popup options: instead of small pictograms — a clear "+" when off and "✓" when on */
.pl .chips button svg, .ms .chips button svg { display: none; }
.pl .chips button::before, .ms .chips button::before { content: "+"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; font: 700 12px/1 var(--f-body); opacity: .7; box-sizing: border-box; }
.pl .chips button[aria-pressed="true"]::before, .ms .chips button[aria-pressed="true"]::before { content: "✓"; border-color: transparent; background: #06222A; color: #39E0D2; opacity: 1; font-size: 10px; }

/* form: errors under the field, city hint, back + next row, radio on the two ways */
.lead3 label { position: relative; }
.lead3 label.bad input { border-color: #D9534F !important; box-shadow: 0 0 0 3px rgba(217,83,79,.12); }
.l3-err { grid-column: 1 / -1; font: 500 12px/1.3 var(--f-body); font-style: normal; color: #C2413D; letter-spacing: 0; text-transform: none; }
.l3-err:empty, .l3-hint:empty { display: none; }
.l3-hint { grid-column: 1 / -1; font: 500 12px/1.3 var(--f-body); font-style: normal; color: #0A7480; letter-spacing: 0; text-transform: none; }
.l3-hint.far { color: #B26A00; }
.lead3 input::placeholder { color: rgba(22,38,43,.3); }
.l3-nav { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: stretch; }
.l3-back { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(22,38,43,.14); font: 600 var(--t-text)/1 var(--f-body); color: rgba(22,38,43,.7); }
.l3-back:hover { border-color: rgba(10,116,128,.5); color: #0A7480; }
.l3-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ways button { grid-template-columns: 40px 1fr 20px !important; }
.ways button svg { grid-row: 1 / 3; }
.l3-radio { grid-column: 3; grid-row: 1 / 3; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(22,38,43,.25); box-sizing: border-box; }
.ways button.on .l3-radio { border: 6px solid #0A7480; }
.l3-nav .cta-hot { margin: 0 !important; }
/* popup gift: the same one-line "Розовая утка в подарок" on a dark glass pill */
.modal-g.gc, .mp .modal-g.gc { background: rgba(6,20,28,.62) !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: none; padding: 4px 12px 4px 4px; gap: 7px; border-radius: 12px; }
.modal-g.gc .gc-pic { width: 26px; height: 26px; border-radius: 8px; } .modal-g.gc .gc-pic img { width: 22px; height: 22px; }
.modal-g.gc .gc-t small { display: none; }
.modal-g.gc .gc-t b { font-size: var(--t-sm) !important; color: #fff; white-space: nowrap; }
html[lang="ru"] .modal-g.gc .gc-t b::after { content: " в подарок"; font-weight: 400; color: #FF9ECB; }
html[lang="en"] .modal-g.gc .gc-t b::before { content: "Free "; font-weight: 400; color: #FF9ECB; }
.lead3 input::-webkit-calendar-picker-indicator { display: none !important; opacity: 0; }


/* "What's included": no jumping (height reserved in JS) and the hovered item's dot clearly lights up on the picture */
.inc-list { align-content: start; }
.inc-list.measure li, .inc-list.measure li > span[lang], .inc-list.measure .inc-x { transition: none !important; }
.inc .dot { transition: left .5s cubic-bezier(.2,.8,.2,1), top .5s cubic-bezier(.2,.8,.2,1), transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease; }
.inc .dot.on, .inc .dot:hover { transform: scale(1.3); background: #39E0D2 !important; color: #06222A !important; box-shadow: 0 0 0 5px rgba(57,224,210,.35), 0 6px 18px rgba(6,34,42,.35); z-index: 3; }
.inc .dot.on::before { background: #39E0D2 !important; }
.inc:has(.dot.on) .dot:not(.on) { opacity: .55; }

/* gift: the duck seen from the side with a small gift badge, no pink box */
.gc-pic, .hook .gc-pic, .mine .gc-pic, .modal-g.gc .gc-pic { position: relative; width: 34px !important; height: 34px !important; background: none !important; border-radius: 0 !important; overflow: visible !important; }
.gc-pic img, .hook .gc-pic img, .mine .gc-pic img, .modal-g.gc .gc-pic img { width: 34px !important; height: 34px !important; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.gc-badge { position: absolute; right: -4px; bottom: -2px; width: 16px; height: 16px; padding: 2.5px; box-sizing: border-box; border-radius: 50%; background: #FF4F9A; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 0 0 2px #0b121c; }
.pr2 .gc-badge, .l3-cfg .gc-badge, .calc-cfg .gc-badge { box-shadow: 0 0 0 2px #fff; }


/* list height is fixed by JS; half-open items during a switch overflow instead of pushing the page */
.inc-list { overflow: visible; }

/* hero price card: the row under the price wraps instead of pushing the card wider */
.quote > * { min-width: 0; }
.q-r { flex-wrap: wrap; row-gap: 6px; column-gap: 12px; }
.q-more { flex-basis: 100%; white-space: normal; }
.quote .cta-hot { width: 100%; box-sizing: border-box; }

/* sticky bar: just "+" and the duck with the gift badge, no words */
.hook .gc-t { display: none !important; }
.hook .gc::before { content: "+"; font: 600 var(--t-title)/1 var(--f-body); color: rgba(255,255,255,.6); margin-right: 2px; }


/* live Google map */
.gmap { position: absolute; inset: 0; background: #f2f1ec; }
.map { position: relative; }
.gmap-fb { position: absolute; inset: 0; }
.cities span { cursor: pointer; }
.cities span.on { background: var(--teal, #0A7480); color: #fff; }

/* footer: "where we build" in two columns, the credit line */
.pool-footer .footer-cities { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 28px; align-content: start; }
.pool-footer .footer-cities h4 { grid-column: 1 / -1; }
.pool-footer .footer-bottom { align-items: center; }
.kz { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(255,255,255,.4) !important; text-decoration: none; white-space: nowrap; }
.kzl { display: inline-flex; align-items: center; font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 800; font-size: 11.5px; letter-spacing: .02em; color: rgba(255,255,255,.55); transition: color .25s; }
.kzl i { display: inline-block; width: .86em; height: .86em; border-radius: 50%; margin: 0 .03em; background: rgba(255,255,255,.55); transition: background .25s; }
.kzl .d { width: .3em; height: .3em; margin: 0 0 .18em .08em; align-self: flex-end; }
.kz:hover .kzl { color: #fff; }
.kz:hover .kzl .o1 { background: #d4066a; } .kz:hover .kzl .o2 { background: #0dd304; } .kz:hover .kzl .d { background: #c8e61e; }


/* gift word in Spanish, Portuguese and Ukrainian */
html[lang="uk"] :is(.hook, .mine, .modal-g.gc) .gc-t b::after { content: " у подарунок"; font-weight: 400; color: #FF9ECB; }
html[lang="es"] :is(.hook, .mine, .modal-g.gc) .gc-t b::after { content: " de regalo"; font-weight: 400; color: #FF9ECB; }
html[lang="pt"] :is(.hook, .mine, .modal-g.gc) .gc-t b::after { content: " de presente"; font-weight: 400; color: #FF9ECB; }

/* language switcher: one small pill with the current language, the list opens under it */
.lang-sw { position: relative; padding: 0 !important; }
.lang-cur { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; font: 600 13px/1 var(--f-body); color: var(--ink); }
.lang-cur svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; opacity: .7; }
.lang-cur b { font-weight: 600; letter-spacing: .02em; }
.lang-cur .chev { width: 14px; height: 14px; stroke-width: 2.2; opacity: .55; margin-left: -2px; transition: transform .2s ease; }
.lang-sw.open .lang-cur .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; display: grid; min-width: 168px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(16,30,36,.18), 0 0 0 1px rgba(22,38,43,.06);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.lang-sw.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button { all: unset; cursor: pointer; padding: 10px 12px; border-radius: 10px; font: 500 14px/1 var(--f-body); color: #16262B !important; background: none !important; }
.lang-menu button:hover { background: rgba(10,116,128,.08) !important; }
.lang-menu button[aria-pressed="true"] { font-weight: 700; color: #0A7480 !important; }
.lang-menu button[aria-pressed="true"]::after { content: " ✓"; }
.pool-footer .footer-bottom { display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 28px; }
.pool-footer .footer-bottom .kz { order: 9; margin-left: auto; }

/* language pill: same height as the phone pill, icon, code and arrow on one centre line */
.top .lang-sw { height: 38px; padding: 0 !important; align-items: center; }
.top .lang-sw .lang-cur { display: inline-flex !important; align-items: center; gap: 6px; height: 38px; min-height: 0; min-width: 0; padding: 0 12px 0 13px !important; line-height: 1; border-radius: 999px; background: none !important; color: var(--ink) !important; }
.top .lang-sw .lang-cur b { display: block; font: 600 13px/1 var(--f-body); letter-spacing: .02em; }
.top .lang-sw .lang-cur svg { display: block; flex: none; }
.top .lang-sw .lang-cur .chev { margin-left: -1px; }

/* phone-only gift chip on the picture */
span.m-gift { display: none !important; }
