/* LOKNA (Pochatok template) — ported from Templates/lokna-template/lokna/boards/*.dc.html (desktop 1440 + the 390 boards).
   The look of the source: everything is a rounded rectangle (cards 28–36, fields and small blocks 18–26, buttons 999),
   white page, light grey blocks, two bright colours used in spots. Headings Wix Madefor Display 600/700, text Onest
   400–600, both self-hosted in fonts/ (no external request of any kind).
   Grid: desktop 1440, 20 px from the edges, content centred, at most 1400. The phone board starts at 900 px and is the
   only breakpoint (901–1100 has no board, only anti-collision rules).
   Colours: SIX base variables come from the palette (template.json palettes / paletteOriginal, injected by render.py as
   html:root{…}); every other shade below is derived from them with color-mix, so a palette never needs more than six.
   Contrast rule from the source spec: on --c-secondary and --c-hint never use --c-muted (grey on them gives ~2.5 : 1) —
   there the small print is the main colour at opacity .8 (.on-bright). */

/* ---------- fonts (self-hosted variable woff2: Onest 400–600, Wix Madefor Display 600–700) ---------- */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/onest-var-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/onest-var-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/onest-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/onest-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(../fonts/wixmadefordisplay-var-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(../fonts/wixmadefordisplay-var-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(../fonts/wixmadefordisplay-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Wix Madefor Display'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(../fonts/wixmadefordisplay-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- colours: 6 base (a palette sets these) + everything else derived ---------- */
:root {
  --c-bg: #FFFFFF;            /* page */
  --c-surface: #F4F3F0;       /* blocks and cards */
  --c-text: #141310;          /* text */
  --c-secondary: #FF6A3D;     /* bright 1: hero, second button, accent card */
  --c-on-secondary: #2B0E04;  /* text on the bright 1 */
  --c-hint: #B49CFF;          /* bright 2: hints and info plates */

  --c-primary: var(--c-text);                                        /* main button */
  --c-on-primary: var(--c-bg);                                       /* text on it */
  --c-muted: color-mix(in srgb, var(--c-text) 68%, var(--c-bg));     /* captions, notes */
  --c-line: color-mix(in srgb, var(--c-text) 12%, var(--c-bg));      /* field borders, dividers */
  --c-dim: color-mix(in srgb, var(--c-text) 22%, var(--c-bg));       /* the «now» dot grid of the map */
  --shadow-s: 0 12px 32px color-mix(in srgb, var(--c-text) 12%, transparent);
  --shadow-l: 0 18px 44px color-mix(in srgb, var(--c-text) 14%, transparent);
  --p-logo-h: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--c-bg); color: var(--c-text);
  font: 400 16px/1.5 'Onest', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Wix Madefor Display', 'Onest', system-ui, sans-serif; margin: 0;
  line-height: 1.06; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
a { color: var(--c-text); text-decoration: none; }
a:hover { color: var(--c-muted); }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
input, textarea, select, button { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 3px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.sec { padding: 76px 0; }
.card { background: var(--c-surface); border-radius: 32px; }
.muted { color: var(--c-muted); }
.on-bright { opacity: .8; }                          /* small print on --c-secondary / --c-hint (contrast rule) */
.lbl { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.lbl--bright { color: inherit; opacity: .75; }
.hint { background: var(--c-hint); color: var(--c-text); border-radius: 20px; padding: 16px 20px; font-size: 14px; line-height: 1.5; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px;
  padding: 0 28px; border-radius: 999px; border: 0; font-size: 16px; font-weight: 600; line-height: 1;
  text-align: center; text-decoration: none; transition: opacity .2s; }
.btn:hover { opacity: .88; color: inherit; }
.btn svg { flex: none; }
.btn-p { background: var(--c-primary); color: var(--c-on-primary); }
.btn-p:hover { color: var(--c-on-primary); }
.btn-s { background: var(--c-secondary); color: var(--c-on-secondary); }
.btn-s:hover { color: var(--c-on-secondary); }
.btn-g { background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-line); }
.btn-g:hover { color: var(--c-text); }
.btn-sm { min-height: 48px; padding: 0 22px; font-size: 15px; }
.btn[disabled], .btn[data-p-disabled] { background: var(--c-line); color: var(--c-muted); cursor: default; opacity: 1; }

.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--c-bg); border: 1px solid var(--c-line); font-size: 15px; }

.f { display: block; font-size: 14px; font-weight: 500; color: var(--c-muted); }
body.menu-open { overflow: hidden; }
input, textarea { width: 100%; font-size: 16px; line-height: 1.4; color: var(--c-text); background: var(--c-bg);
  border: 1px solid var(--c-line); border-radius: 18px; padding: 15px 18px; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--c-muted); opacity: .7; }
/* a wrong field is marked by border weight AND fill, not by colour alone (State-Form-Error) */
input[aria-invalid], textarea[aria-invalid] { border-width: 2px; border-color: var(--c-text); background: var(--c-hint); }
.field { display: flex; flex-direction: column; gap: 8px; }
.err { font-size: 14px; font-weight: 600; color: var(--c-text); }
[data-form-notice] { font-size: 14px; line-height: 1.5; color: var(--c-muted); }

/* ---------- header ---------- */
.hdr { background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.hdr__in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { font-family: 'Wix Madefor Display', 'Onest', sans-serif; font-size: 26px; font-weight: 700;
  letter-spacing: .08em; line-height: 1; }
.logo img.p-logo { height: var(--p-logo-h); width: auto; }
.nav { display: flex; gap: 28px; flex: 999 1 320px; min-width: 0; font-size: 16px; }
.nav a[aria-current="page"] { font-weight: 600; }
.hdr__tools { display: flex; align-items: center; gap: 14px; }
.hdr__phone { font-size: 16px; font-weight: 500; }
.hdr__icons { display: none; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 999px; background: var(--c-bg); border: 1px solid var(--c-line); color: var(--c-text); }
.icon-btn--dark { background: var(--c-primary); color: var(--c-on-primary); border-color: var(--c-primary); }
.icon-btn--soft { background: var(--c-surface); border-color: transparent; }

/* language: a custom dropdown, letters only (source rule: never a native select) */
.langbox { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border-radius: 999px; background: var(--c-bg); border: 1px solid var(--c-line); font-size: 15px; font-weight: 500; }
.lang-btn[aria-expanded="true"] { background: var(--c-surface); font-weight: 600; }
.lang-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-list { position: absolute; top: 52px; left: 0; min-width: 140px; z-index: 6; display: flex; flex-direction: column;
  padding: 6px; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 20px; box-shadow: var(--shadow-s); }
.lang-list[hidden] { display: none; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 48px;
  padding: 0 18px; background: var(--c-bg); border: 0; border-radius: 14px; font-size: 16px; text-align: left; }
.opt:hover { background: var(--c-surface); }
.opt[aria-selected="true"] { font-weight: 600; }

/* phone menu (State-Menu-390) */
.menu { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; background: var(--c-bg); overflow: auto; }
.menu[hidden] { display: none; }
.menu__top { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid var(--c-line); }
.menu__top .logo { font-size: 22px; }
.menu__nav { display: flex; flex-direction: column; gap: 4px; padding: 20px; }
.menu__nav a { font-family: 'Wix Madefor Display', 'Onest', sans-serif; font-size: 30px; font-weight: 600; padding: 10px 0; }
.menu__lang { padding: 0 20px; display: flex; flex-direction: column; gap: 12px; }
.menu__lang-title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.lang-col { display: flex; flex-direction: column; background: var(--c-bg); border: 1px solid var(--c-line);
  border-radius: 20px; overflow: hidden; }
.lang-col .opt { border-radius: 0; border-bottom: 1px solid var(--c-line); }
.lang-col .opt:last-child { border-bottom: 0; }
.menu__foot { margin-top: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--c-line); }
.menu__phone { font-size: 18px; font-weight: 600; }
.menu__hours { font-size: 14px; color: var(--c-muted); }
.menu__soc { display: flex; gap: 16px; flex-wrap: wrap; }
.menu__soc a { font-size: 15px; color: var(--c-muted); }
.menu__foot .btn { width: 100%; }

/* ---------- hero ----------
   One DOM for both boards: the orange plate is the grid's own ::before, so the photo sits NEXT to the text on the
   desktop (board Main) and INSIDE the orange plate, between the text and the buttons, on the phone (board Main-390-a),
   while the hours / address pills stay outside the plate on the phone. */
.hero { padding-top: 40px; }
.hero__in { display: grid; column-gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  grid-template-areas: "card photo" "btns photo" "pills photo"; }
.hero__in::before { content: ''; grid-row: 1 / 4; grid-column: 1; background: var(--c-secondary); border-radius: 36px; }
.hero__card { grid-area: card; position: relative; display: flex; flex-direction: column; gap: 24px;
  padding: 56px 56px 0; color: var(--c-on-secondary); }
.hero__eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.hero__card h1 { font-size: 66px; text-wrap: pretty; }
.hero__text { font-size: 19px; line-height: 1.5; max-width: 560px; opacity: .85; }
.hero__btns { grid-area: btns; position: relative; display: flex; flex-wrap: wrap; gap: 12px; padding: 24px 56px 0; }
.hero__pills { grid-area: pills; position: relative; display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 56px 48px; }
.hero__photo { grid-area: photo; position: relative; min-height: 520px; border-radius: 36px; overflow: hidden;
  background: var(--c-surface); }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- about ---------- */
.about__in { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.about__photo { flex: 1 1 360px; min-width: 0; min-height: 520px; border-radius: 36px; position: relative;
  overflow: hidden; background: var(--c-surface); }
.about__box { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px;
  padding: 48px; background: var(--c-surface); border-radius: 36px; }
.about__box h2 { font-size: 44px; }
.about__box p { font-size: 18px; line-height: 1.6; }
.about__quote { align-self: flex-start; max-width: 100%; font-size: 16px; }

/* ---------- experience ---------- */
.exp { padding-top: 20px; }
.exp__in { display: flex; flex-direction: column; gap: 28px; }
.exp h2 { font-size: 40px; }
.exp__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.exp__card { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 32px;
  background: var(--c-surface); }
.exp__card--hint { background: var(--c-hint); color: var(--c-text); }
.exp__card--sec { background: var(--c-secondary); color: var(--c-on-secondary); }
.exp__value { font-family: 'Wix Madefor Display', 'Onest', sans-serif; font-size: 56px; font-weight: 700; line-height: 1; }
.exp__label { font-size: 16px; }

/* ---------- services (three cards) ---------- */
.svc__in { display: flex; flex-direction: column; gap: 28px; }
.shead { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.shead h2 { font-size: 40px; }
.shead p { font-size: 18px; line-height: 1.5; }
.svc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; border-radius: 36px; overflow: hidden; background: var(--c-surface); }
.svc-card__photo { position: relative; min-height: 280px; border-radius: 0 0 32px 32px; overflow: hidden;
  background: var(--c-surface); }
.svc-card__dur { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; min-height: 34px;
  padding: 0 14px; border-radius: 999px; background: var(--c-bg); color: var(--c-text); font-size: 14px; font-weight: 500; }
.svc-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px; }
.svc-card__body h3 { font-size: 24px; }
.svc-card__teaser { font-size: 16px; line-height: 1.5; }
.svc-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 16px; }
.svc-card__price { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }
.svc__all { display: flex; justify-content: center; padding-top: 12px; }

/* ---------- gallery: one work, before / after ---------- */
.gal__in { display: flex; flex-direction: column; gap: 28px; }
.gal h2 { font-size: 40px; }
.work { display: flex; flex-wrap: wrap; gap: 24px; padding: 28px; border-radius: 36px; background: var(--c-surface); }
.work__photos { display: flex; gap: 16px; flex: 999 1 560px; min-width: 0; }
.work__ph { flex: 1 1 0; min-width: 0; min-height: 400px; border-radius: 26px; background: var(--c-bg);
  position: relative; overflow: hidden; }
.work__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 4px 8px 8px 0; }
.work__tag { display: inline-flex; align-items: center; align-self: flex-start; min-height: 36px; padding: 0 14px;
  border-radius: 999px; background: var(--c-hint); color: var(--c-text); font-size: 14px; }
.work__side h3 { font-size: 30px; }
.work__text { font-size: 17px; line-height: 1.6; }
.work__dur { font-size: 15px; }
.work__side .btn { align-self: flex-start; margin-top: auto; }
.gal__all { display: flex; justify-content: center; }

/* ---------- promos ---------- */
.promos__in { display: flex; flex-direction: column; gap: 28px; }
.promos h2 { font-size: 40px; }
.promos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 20px; }
.promo { display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: 32px; background: var(--c-surface); }
.promo--hint { background: var(--c-hint); color: var(--c-text); }
.promo h3 { font-size: 30px; }
.promo__text { font-size: 17px; line-height: 1.5; }
.promo__note { font-size: 14px; margin-top: auto; }
.promo .btn { align-self: flex-start; margin-top: 12px; }
/* 25.10 (owner: «можливість додавання лише одної» акції): the owner may keep one offer, and the empty card is removed on
   the live site (data-needs). The one that stays must read as a banner made for one, not as a card with a hole beside it:
   it takes the whole row and lays its content out sideways, the button on the right. The phone keeps the stacked card. */
@media (min-width: 901px) {
  .promos__grid:has(> .promo:only-child) > .promo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 40px;
    padding: 40px 44px;
  }
  .promos__grid:has(> .promo:only-child) > .promo > .lbl { grid-column: 1; justify-self: start; }
  .promos__grid:has(> .promo:only-child) > .promo > h3,
  .promos__grid:has(> .promo:only-child) > .promo > .promo__text,
  .promos__grid:has(> .promo:only-child) > .promo > .promo__note { grid-column: 1; }
  .promos__grid:has(> .promo:only-child) > .promo > .promo__note { margin-top: 0; }
  /* the card has at most four text rows (label, title, text, note); «1 / 5» spans them all, and a row that is missing
     stays zero high, so the button is centred against whatever the owner actually filled in. `1 / -1` would NOT do it:
     with implicit rows -1 is the end of the explicit grid, and the button would stick to the first row. */
  .promos__grid:has(> .promo:only-child) > .promo > .btn { grid-column: 2; grid-row: 1 / 5; align-self: center; margin-top: 0; }
}

/* ---------- reviews ---------- */
.rev__in { display: flex; flex-direction: column; gap: 28px; }
.rev h2 { font-size: 40px; }
.rev__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.rev__card { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 32px; background: var(--c-surface); }
.rev__card--hint { background: var(--c-hint); color: var(--c-text); }
.rev__text { font-size: 17px; line-height: 1.6; }
.rev__who { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.rev__name { font-weight: 600; }
.rev__date { font-size: 14px; }

/* ---------- contacts: map + four cards ---------- */
.cont__in { display: flex; flex-direction: column; gap: 28px; }
.cont__head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.cont__maps { display: flex; gap: 12px; flex-wrap: wrap; }
.cont__row { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.cont__mapcol { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
/* the map box: its own drawing is the placeholder; the runtime puts the real Google map on top after the click */
.map { position: relative; height: 420px; border-radius: 36px; overflow: hidden; background: var(--c-surface);
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.map__dots { position: absolute; inset: 0; background-image: radial-gradient(var(--c-dim) 1.6px, transparent 1.6px);
  background-size: 24px 24px; background-position: -6px -6px; opacity: .55; }
.map__blob { position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; transform: translate(-50%, -50%);
  border-radius: 999px; background: var(--c-hint); opacity: .35; }
/* the runtime's own «Показати карту Google» plate sits at the bottom of the box, so the address card keeps clear of it */
.map__card { position: relative; max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-bottom: 120px; padding: 24px; background: var(--c-bg); border-radius: 28px; text-align: center; box-shadow: var(--shadow-l); }
.map__pin { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 999px; background: var(--c-secondary); color: var(--c-on-secondary); }
.map__addr { font-size: 16px; font-weight: 600; line-height: 1.4; }
.map__note { font-size: 15px; line-height: 1.5; }
.map__card .btn { width: 100%; }
.cont__cards { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-self: flex-start; }
.cont-card { display: flex; gap: 14px; align-items: center; height: 96px; padding: 18px 24px; border-radius: 26px;
  background: var(--c-surface); }
.cont-card--hint { background: var(--c-hint); color: var(--c-text); }
.cont-card--sec { background: var(--c-secondary); color: var(--c-on-secondary); }
.cont-card__ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 999px; background: var(--c-bg); color: var(--c-text); }
.cont-card__ico--sec { background: var(--c-secondary); color: var(--c-on-secondary); }
.cont-card__ico--hint { background: var(--c-hint); color: var(--c-text); }
.cont-card__in { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cont-card__label { font-size: 13px; }
.cont-card__val { font-size: 17px; font-weight: 500; line-height: 1.4; }

/* ---------- booking: black block, stepper on the left, light panel on the right ---------- */
.bk { display: flex; flex-wrap: wrap; border-radius: 40px; overflow: hidden; background: var(--c-primary); }
.bk__aside { flex: 0 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding: 40px 32px;
  color: var(--c-on-primary); }
.bk__aside h2 { font-size: 32px; color: var(--c-on-primary); text-wrap: balance; }
.bk__lead { font-size: 16px; line-height: 1.55; opacity: .75; }
.bk__steps { display: flex; flex-direction: column; }
.bk-step { display: flex; gap: 14px; }
.bk-step__rail { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bk-step__num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 999px; border: 1px solid var(--c-on-primary); color: var(--c-on-primary);
  font-size: 15px; font-weight: 600; opacity: .55; }
.bk-step__line { width: 2px; flex: 1; min-height: 22px; background: var(--c-on-primary); opacity: .22; }
.bk-step__body { display: flex; flex-direction: column; gap: 3px; padding-bottom: 22px; opacity: .6; }
.bk-step:last-child .bk-step__body { padding-bottom: 0; }
.bk-step__name { font-size: 16px; font-weight: 600; }
.bk-step__sub { font-size: 14px; opacity: .72; }
.bk-step.is-now .bk-step__num { background: var(--c-secondary); color: var(--c-on-secondary); border-color: transparent; opacity: 1; }
.bk-step.is-now .bk-step__body, .bk-step.is-done .bk-step__body { opacity: 1; }
.bk-step.is-done .bk-step__num { background: var(--c-on-primary); color: var(--c-primary); border-color: transparent; opacity: 1; }
.bk__total { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.bk__hr { height: 1px; background: var(--c-on-primary); opacity: .22; }
.bk__sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bk__sum-label { font-size: 15px; opacity: .75; }
.bk__sum-price { font-size: 24px; font-weight: 600; }
/* the panel lies on the black and reaches its edges — the black shows only on the left */
.bk__panel { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding: 40px;
  background: var(--c-surface); border-radius: 32px 0 0 32px; margin: -1px -1px -1px 0; }
.bk__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.bk__head h3 { font-size: 26px; }
.bk__count { font-size: 14px; }
.bk__nav { margin-top: auto; display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  justify-content: space-between; padding-top: 10px; }
.bk__nav .btn { min-height: 52px; padding: 0 26px; }
.bk__hint { font-size: 15px; }
.bk__err { font-size: 15px; font-weight: 600; color: var(--c-text); }
.bk__group { display: flex; flex-direction: column; gap: 10px; }

/* step 1: the custom service listbox (button + role=listbox, never a native select) */
.bk-pick { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 74px; padding: 0 24px;
  border-radius: 26px; background: var(--c-bg); border: 1px solid var(--c-line); color: var(--c-text); text-align: left; }
.bk-pick__in { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.bk-pick__name { font-size: 17px; font-weight: 600; }
.bk-pick__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bk-pick__dur { font-size: 13px; color: var(--c-muted); }
.bk-pick__dot { width: 4px; height: 4px; border-radius: 999px; background: var(--c-line); }
.bk-pick__price { font-size: 14px; font-weight: 600; }
.bk-pick svg { flex: none; }
.bk-pick[aria-expanded="true"] svg { transform: rotate(180deg); }
.bk-list { margin-top: 10px; padding: 8px; display: flex; flex-direction: column; gap: 2px; max-height: 376px;
  overflow: auto; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 26px; box-shadow: var(--shadow-l); }
.bk-list[hidden] { display: none; }
.bk-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 12px 18px;
  border: 0; border-radius: 20px; background: var(--c-bg); color: var(--c-text); text-align: left; }
.bk-opt:hover { background: var(--c-surface); }
.bk-opt[aria-selected="true"] { background: var(--c-hint); }
.bk-opt__in { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.bk-opt__name { font-size: 15px; font-weight: 500; }
.bk-opt[aria-selected="true"] .bk-opt__name { font-weight: 600; }
.bk-opt__dur { font-size: 13px; color: var(--c-muted); }
.bk-opt[aria-selected="true"] .bk-opt__dur { color: inherit; opacity: .8; }
.bk-opt__price { font-size: 15px; font-weight: 600; }

/* step 2: days and slots */
.bk-days { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.day { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 76px;
  padding: 12px 10px; border-radius: 20px; background: var(--c-bg); border: 1px solid var(--c-line); color: var(--c-text); }
.day__wd { font-size: 12px; opacity: .65; }
.day__num { font-size: 19px; font-weight: 600; }
.day[aria-pressed="true"] { background: var(--c-primary); color: var(--c-on-primary); border-color: var(--c-primary); }
.day[aria-pressed="true"] .day__wd { opacity: .8; }
.day[disabled] { opacity: .35; cursor: default; }
.bk-times { display: flex; flex-direction: column; gap: 14px; }
.bk-part { display: flex; flex-direction: column; gap: 8px; }
.bk-part__title { font-size: 13px; color: var(--c-muted); }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(104px, 100%), 1fr)); gap: 8px; }
.slot { min-height: 48px; border-radius: 16px; background: var(--c-bg); border: 1px solid var(--c-line);
  font-size: 16px; color: var(--c-text); }
.slot[aria-pressed="true"] { background: var(--c-hint); border-color: transparent; font-weight: 600; }
.bk-skel { min-height: 48px; border-radius: 16px; background: var(--c-line); opacity: .5; }

/* step 3: contacts */
.bk-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bk-fields .field--wide, .bk-fields .bk-own { grid-column: 1 / -1; }
.bk-own:empty { display: none; }
.bk-own { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* the gallery page shows the one work bigger (board Gallery-1440) */
.works .work { padding: 32px; }
.works .work__ph { min-height: 420px; }
.works .work__side h2 { font-size: 32px; }
.pv-lead { font-size: 15px; }

/* booking done */
.bk-done { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  padding: 48px; text-align: center; background: var(--c-bg); border-radius: 32px; }
.bk-done__ok { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px;
  border-radius: 999px; background: var(--c-secondary); color: var(--c-on-secondary); }
.bk-done h2 { font-size: 36px; }
.bk-done__text { font-size: 17px; line-height: 1.6; color: var(--c-muted); max-width: 520px; }
.bk-done__card { display: flex; flex-direction: column; gap: 10px; min-width: min(420px, 100%); text-align: left;
  padding: 24px 28px; border-radius: 24px; background: var(--c-surface); }
.bk-done__svc { font-size: 17px; font-weight: 600; }
.bk-done__when { font-size: 16px; }
.bk-done__addr { font-size: 16px; color: var(--c-muted); }
.bk-done__btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- contact form ---------- */
.cf__in { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cf__left { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cf__left h2 { font-size: 40px; }
.cf__left p { font-size: 18px; line-height: 1.5; }
.cf__left .pill { align-self: flex-start; }
.cf__form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 40px;
  border-radius: 32px; background: var(--c-surface); }
.cf__form .btn { align-self: flex-start; }
.cf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf__done { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: 40px; border-radius: 32px; background: var(--c-surface); }
.cf__done-ok { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px;
  border-radius: 999px; background: var(--c-secondary); color: var(--c-on-secondary); }
.cf__done h2 { font-size: 28px; }
.cf__done p { font-size: 16px; line-height: 1.6; color: var(--c-muted); max-width: 420px; }
.cf__done-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.ftr { background: var(--c-surface); padding: 56px 0 40px; margin-top: 20px; }
.ftr__in { display: flex; flex-direction: column; gap: 36px; }
.ftr__top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.ftr__brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.ftr__brand .logo { font-size: 24px; }
.ftr__text { font-size: 16px; line-height: 1.5; }
.ftr__col { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.ftr__bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; padding-top: 24px; border-top: 1px solid var(--c-line);
  font-size: 14px; color: var(--c-muted); }
.ftr__bottom a { color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; }
.ftr__copy { margin-left: auto; }
/* short footer of the inner pages */
.ftr--slim { padding: 48px 0 36px; }
.ftr--slim .ftr__in { flex-direction: row; flex-wrap: wrap; gap: 16px 32px; align-items: center;
  font-size: 14px; color: var(--c-muted); }
.ftr--slim .logo { font-size: 22px; color: var(--c-text); }
.ftr--slim a { color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- inner pages: the title block and the price rows ---------- */
.phead { padding-bottom: 24px; }
.phead__in { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.phead__col { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.phead__back { align-self: flex-start; }
.phead h1 { font-size: 56px; }
.phead p { font-size: 19px; line-height: 1.5; }
.price { padding-top: 24px; }
.price__in { display: flex; flex-direction: column; gap: 40px; }
.price__groups { display: flex; flex-direction: column; gap: 40px; }
.price__group { display: flex; flex-direction: column; gap: 16px; }
.price__group h2 { font-size: 30px; }
.price__rows { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 20px; padding: 22px 28px; border-radius: 24px;
  background: var(--c-bg); border: 1px solid var(--c-line); }
.row__name { font-size: 19px; font-weight: 500; flex: 999 1 260px; min-width: 0; }
.row__dur { font-size: 15px; min-width: 80px; }
.row__price { font-size: 20px; font-weight: 600; min-width: 110px; text-align: right; }
.row .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.price__foot { display: flex; flex-wrap: wrap; gap: 20px; }
.price__note { flex: 999 1 420px; padding: 18px 22px; font-size: 15px; }
.price__hours { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; padding: 24px 28px;
  border-radius: 32px; background: var(--c-surface); }
.price__hours span:last-child { font-size: 17px; }

/* ---------- privacy page ---------- */
.pvp__in { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.pvp__nav { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px;
  border-radius: 32px; background: var(--c-surface); position: sticky; top: 20px; }
.pvp__nav ul { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.pvp__nav a { text-decoration: underline; text-underline-offset: 3px; }
.pvp__nav .btn { margin-top: 8px; }
.pvp__body { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 36px; max-width: 760px; }
.pvp__head { display: flex; flex-direction: column; gap: 14px; }
.pvp__head h1 { font-size: 52px; }
.pvp__card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 32px;
  background: var(--c-surface); font-size: 16px; }
.pv-sec { display: flex; flex-direction: column; gap: 12px; }
.pv-sec h2 { font-size: 28px; }
.pv-sec p { font-size: 17px; line-height: 1.7; color: var(--c-muted); }

/* ---------- phone (the 390 boards) ---------- */
@media (max-width: 900px) {
  .sec { padding: 36px 0; }
  .card { border-radius: 28px; }
  .btn { min-height: 52px; padding: 0 24px; }
  .hint { border-radius: 18px; padding: 14px 16px; }
  .lbl { font-size: 12px; }
  .pill { min-height: 44px; padding: 0 16px; font-size: 14px; }

  .hdr__in { min-height: 68px; gap: 12px; justify-content: space-between; }
  .logo { font-size: 22px; }
  .nav, .hdr__tools { display: none; }
  .hdr__icons { display: flex; }

  .hero { padding-top: 16px; }
  .hero__in { grid-template-columns: 1fr; grid-template-areas: "card" "photo" "btns" "pills"; row-gap: 10px; }
  .hero__in::before { border-radius: 32px; }
  .hero__card { padding: 18px 14px 0; gap: 12px; }
  .hero__eyebrow { font-size: 12px; }
  .hero__card h1 { font-size: 36px; }
  .hero__text { font-size: 15px; line-height: 1.55; }
  .hero__photo { min-height: 0; height: 360px; margin: 0 10px; border-radius: 24px; background: var(--c-bg); }
  .hero__btns { flex-direction: column; gap: 8px; padding: 0 10px 10px; }
  .hero__btns .btn { width: 100%; }
  .hero__pills { flex-direction: column; gap: 8px; padding: 12px 0 0; align-items: stretch; }
  .hero__pills .pill { justify-content: flex-start; }

  .about__in { flex-direction: column; gap: 16px; }
  .about__photo { flex: none; min-height: 0; height: 380px; border-radius: 26px; order: -1; }
  .about__box { padding: 0; background: none; gap: 16px; }
  .about__box h2 { font-size: 30px; }
  .about__box p { font-size: 16px; }

  .exp { padding-top: 0; }
  .exp__in, .svc__in, .gal__in, .promos__in, .rev__in, .cont__in { gap: 16px; }
  .exp h2, .shead h2, .gal h2, .promos h2, .rev h2, .cont__head h2 { font-size: 28px; }
  .shead p, .cont__head p { font-size: 16px; }
  .exp__grid { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; }
  .exp__card { padding: 20px; gap: 6px; border-radius: 28px; }
  .exp__value { font-size: 36px; }
  .exp__label { font-size: 14px; }

  .svc__grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-card { border-radius: 30px; }
  .svc-card__photo { min-height: 180px; border-radius: 0 0 26px 26px; }
  .svc-card__dur { left: 14px; top: 14px; min-height: 32px; padding: 0 12px; font-size: 13px; }
  .svc-card__body { padding: 20px; gap: 8px; }
  .svc-card__body h3 { font-size: 19px; }
  .svc-card__teaser { font-size: 15px; }
  .svc-card__row { padding-top: 6px; }
  .svc-card__price { font-size: 22px; }
  .svc-card .btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
  .svc__all, .gal__all { padding-top: 0; }
  .svc__all .btn, .gal__all .btn { width: 100%; }

  .work { flex-direction: column; padding: 16px; gap: 16px; border-radius: 30px; }
  .work__photos { flex: none; gap: 10px; }
  .work__ph { min-height: 220px; border-radius: 22px; }
  .work__side { flex: none; padding: 0 4px 4px; gap: 12px; }
  .work__side h3 { font-size: 24px; }
  .work__text { font-size: 16px; }
  .work__side .btn { width: 100%; margin-top: 4px; }

  .promos__grid, .rev__grid { grid-template-columns: 1fr; gap: 12px; }
  .promo, .rev__card { padding: 24px; border-radius: 28px; }
  .promo h3 { font-size: 24px; }
  .promo__text, .rev__text { font-size: 16px; }
  .promo .btn { width: 100%; }

  .cont__head { flex-direction: column; align-items: stretch; }
  .cont__maps .btn { flex: 1 1 160px; }
  .cont__row { flex-direction: column; gap: 12px; }
  .cont__mapcol, .cont__cards { flex: none; }
  .map { height: 320px; border-radius: 28px; padding: 14px; }
  .map__card { padding: 20px; border-radius: 24px; gap: 12px; }
  .map__note { font-size: 14px; }
  .cont-card { height: auto; min-height: 88px; padding: 16px 18px; border-radius: 22px; }
  .cont-card__val { font-size: 16px; }

  .bk { flex-direction: column; border-radius: 32px; }
  .bk__aside { flex: none; padding: 28px 20px; gap: 20px; }
  .bk__aside h2 { font-size: 28px; }
  .bk__panel { flex: none; padding: 24px 20px; gap: 18px; border-radius: 28px; margin: 0 -1px -1px; }
  .bk__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .bk__head h3 { font-size: 22px; }
  .bk__nav { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .bk__nav .btn { width: 100%; }
  .bk-pick { min-height: 68px; padding: 0 18px; border-radius: 22px; }
  .bk-list { border-radius: 22px; }
  .bk-fields { grid-template-columns: 1fr; }
  .bk-done { padding: 28px 20px; gap: 18px; border-radius: 28px; }
  .bk-done h2 { font-size: 26px; }
  .bk-done__card { padding: 20px; min-width: 0; width: 100%; }
  .bk-done__btns .btn { width: 100%; }

  .cf__in { flex-direction: column; gap: 16px; }
  .cf__left { flex: none; gap: 14px; }
  .cf__left h2 { font-size: 28px; }
  .cf__left p { font-size: 16px; }
  .cf__form, .cf__done { flex: none; padding: 24px 20px; border-radius: 28px; gap: 16px; }
  .cf__form .btn, .cf__done-btns .btn { width: 100%; }
  .cf__done h2 { font-size: 24px; }

  .ftr { padding: 36px 0 28px; }
  .ftr__in { gap: 24px; }
  .ftr__top { flex-direction: column; gap: 24px; }
  .ftr__brand { max-width: none; }
  .ftr__bottom { gap: 10px; }
  .ftr__copy { margin-left: 0; }
  .ftr--slim .ftr__in { gap: 10px 20px; }

  .phead { padding-bottom: 16px; }
  .phead__in { flex-direction: column; align-items: stretch; gap: 16px; }
  .phead h1 { font-size: 34px; }
  .phead p { font-size: 16px; }
  .phead__in > .btn { width: 100%; }
  .price { padding-top: 8px; }
  .price__in { gap: 28px; }
  .price__group h2 { font-size: 24px; }
  .row { flex-wrap: wrap; gap: 8px 14px; padding: 18px 20px; border-radius: 22px; }
  .row__name { flex: 1 1 100%; font-size: 17px; }
  .row__dur, .row__price { min-width: 0; font-size: 16px; text-align: left; }
  .row__price { font-weight: 600; margin-left: auto; }
  .row .btn { flex: 1 1 100%; }
  .price__foot { gap: 12px; }
  .price__note, .price__hours { flex: 1 1 100%; min-width: 0; }   /* was flex: none: a long note ran wider than the page at 900 */
  .price__hours { padding: 20px; border-radius: 28px; }

  .pvp__in { flex-direction: column; gap: 20px; }
  .pvp__nav { flex: none; position: static; padding: 20px; border-radius: 28px; }
  .pvp__body { flex: none; gap: 24px; }
  .pvp__head h1 { font-size: 30px; }
  .pv-sec h2 { font-size: 22px; }
  .pv-sec p { font-size: 16px; }
}

/* 901–1100 has no board: keep the wide blocks from colliding */
@media (max-width: 1100px) and (min-width: 901px) {
  .nav { gap: 20px; }
  .hdr__phone { display: none; }
  .hero__card { padding: 40px 36px 0; }
  .hero__card h1 { font-size: 52px; }
  .hero__btns { padding: 20px 36px 0; }
  .hero__pills { padding: 14px 36px 36px; }
  .about__box { padding: 36px; }
  .about__box h2 { font-size: 36px; }
  .bk__aside { flex: 0 1 260px; padding: 32px 24px; }
  .bk__panel { padding: 32px 28px; }
  .cf__form { padding: 32px; }
  .phead h1 { font-size: 44px; }
}

/* ---------- 26.10 the expert block: courses, who they are for, plans, the handbook, platform reviews, the course page.
   Only the template's own variables, radii and type (the service / experience / work cards reused); new shades by color-mix ---------- */
.crs .shead, .buy .shead, .vrev .shead { max-width: 720px; }

/* who the courses are for: the experience cards with a number and a sentence */
.aud__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.aud__card { gap: 16px; }
.aud__p { font-size: 17px; line-height: 1.55; }
.aud__note { align-self: flex-start; max-width: 820px; }

/* buy the course: three plan cards, the middle one on the bright colour */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 32px; background: var(--c-surface); }
.plan--hi { background: var(--c-secondary); color: var(--c-on-secondary); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.plan__n { font-family: 'Wix Madefor Display', 'Onest', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--c-muted); }
.plan--hi .plan__n { color: inherit; opacity: .75; }
.plan__hit { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--c-bg); color: var(--c-text); font-size: 14px; }
.plan h3 { font-size: 30px; }
.plan .ticks { margin-bottom: 6px; }
.plan__foot { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.plan__per { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.plan--hi .plan__per { color: inherit; opacity: .8; }
.plan__price { font-family: 'Wix Madefor Display', 'Onest', sans-serif; font-size: 44px; font-weight: 700; line-height: 1.1; margin-bottom: 14px; }
.plan .btn { width: 100%; }

/* a list with round ticks (handbook, plans, course details) */
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; }
.tick { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px;
  background: var(--c-hint); color: var(--c-text); }
.plan--hi .tick { background: var(--c-bg); }

/* the handbook: «Про мене» with a list and the price */
.guide__buy { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: auto; padding-top: 20px;
  border-top: 1px solid var(--c-line); }

/* course reviews from the platform: stars, date and the «verified purchase» chip on the review cards */
.vrc__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vrc__stars { font-size: 17px; letter-spacing: .1em; color: var(--c-secondary); }
.vrc__off { color: var(--c-line); }
.vrc__badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; min-height: 32px; margin-top: 10px; padding: 0 12px;
  border-radius: 999px; background: var(--c-hint); color: var(--c-text); font-size: 13px; font-weight: 500; white-space: nowrap; }

/* all courses: the work card per course, photo and text taking turns */
.clist { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 20px; }
.cfull { scroll-margin-top: 20px; }
.cfull .work__photos { flex: 999 1 480px; }
.cfull .work__ph { min-height: 440px; }
.cfull--b .work__photos { order: 2; }
.cfull .work__side { flex: 1 1 380px; padding: 12px 12px 8px; }
.cfull .work__side h2 { font-size: 36px; }
.cfull__buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: auto;
  padding-top: 18px; border-top: 1px solid var(--c-line); }
.clist__note { align-self: flex-start; max-width: 820px; }
.pcta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pcta h2 { font-size: 40px; }

/* the course page */
.co-top .phead__col h1 { text-wrap: balance; }
.co-top .work__tag { margin-top: 4px; }
.co-prog { flex: 0 1 380px; min-width: 260px; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 28px; background: var(--c-surface); }
.co-prog__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 500; }
.co-prog__n { color: var(--c-muted); }
.co-prog__bar { height: 8px; border-radius: 999px; background: var(--c-line); overflow: hidden; }
.co-prog__bar span { display: block; height: 100%; border-radius: 999px; background: var(--c-secondary); }
.co-sec { padding-top: 24px; }
.co { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.co-steps { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; padding: 28px 20px; border-radius: 32px; background: var(--c-surface); }
.co-steps .lbl { padding: 0 8px; }
.co-steps ol { display: flex; flex-direction: column; gap: 4px; }
.co-step { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 10px 8px;
  border: 0; border-radius: 18px; background: transparent; color: var(--c-text); text-align: left; }
.co-step__n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid var(--c-line); background: var(--c-bg); font-size: 15px; font-weight: 600; }
.co-step__t { font-size: 15px; font-weight: 500; line-height: 1.35; }
.co-step__len { font-size: 13px; color: var(--c-muted); }
.co-step.is-done .co-step__n { background: var(--c-primary); color: var(--c-on-primary); border-color: transparent; }
.co-step.is-cur { background: var(--c-hint); }
.co-step.is-cur .co-step__n { background: var(--c-secondary); color: var(--c-on-secondary); border-color: transparent; }
.co-step.is-cur .co-step__len { color: var(--c-text); }
.co-step.is-locked { opacity: .45; cursor: default; }
.co-steps__hint { padding: 0 8px; font-size: 14px; line-height: 1.5; color: var(--c-muted); }
.co-lesson { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.co-lesson__h { font-size: 36px; }
.co-player { position: relative; aspect-ratio: 16 / 9; border-radius: 36px; overflow: hidden; background: var(--c-surface); }
.co-player__play { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); }
.co-player__len { z-index: 1; left: auto; top: auto; right: 18px; bottom: 18px; }
.co-player__len:empty { display: none; }
.co-lesson__p { font-size: 18px; line-height: 1.6; }
.co-notes { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 32px; background: var(--c-surface); }
.co-notes h3 { font-size: 26px; }
.co-notes__hint { font-size: 15px; line-height: 1.5; color: var(--c-muted); }
.co-notes__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.co-notes__saved { font-size: 15px; font-weight: 600; }
.co-lesson__nav { margin-top: 0; }
.co-team-sec { padding-top: 0; }
.co-team__name { font-family: 'Wix Madefor Display', 'Onest', sans-serif; font-size: 26px; font-weight: 600; line-height: 1.15; }
.co-rv { padding-top: 0; }
.stars { display: flex; gap: 6px; margin: 0; padding: 0; border: 0; }
.stars label { position: relative; cursor: pointer; font-size: 32px; line-height: 1; color: var(--c-line); }
.stars label.is-on { color: var(--c-secondary); }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars input:focus-visible + span { outline: 3px solid var(--c-secondary); outline-offset: 2px; }

@media (min-width: 901px) and (max-width: 1240px) {
  .aud__grid, .plans { gap: 14px; }
  .plan { padding: 26px; }
  .plan h3 { font-size: 24px; }
  .plan__price { font-size: 36px; }
  .co { grid-template-columns: 280px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .aud__grid, .plans { grid-template-columns: 1fr; gap: 12px; }
  .aud__p { font-size: 16px; }
  .plan { padding: 24px; border-radius: 28px; }
  .plan h3 { font-size: 24px; }
  .plan__price { font-size: 34px; }
  .guide__buy .btn { width: 100%; }
  .cfull--b .work__photos { order: 0; }
  .cfull .work__ph { min-height: 260px; }
  .cfull .work__side h2 { font-size: 26px; }
  .cfull__buy .btn { width: 100%; }
  .pcta h2 { font-size: 28px; }
  .pcta .btn { width: 100%; }
  .co-prog { flex: none; min-width: 0; padding: 20px; border-radius: 24px; }
  .co { grid-template-columns: 1fr; gap: 16px; }
  .co-steps { position: static; padding: 20px 12px; border-radius: 28px; }
  .co-lesson__h { font-size: 26px; }
  .co-player { border-radius: 26px; }
  .co-lesson__p { font-size: 16px; }
  .co-notes { padding: 24px 20px; border-radius: 28px; }
  .co-notes .btn { width: 100%; }
  .co-team__name { font-size: 22px; }
}
.aud h2 { font-size: 40px; }
@media (max-width: 900px) {
  .aud h2 { font-size: 28px; }
  .aud .exp__in { gap: 16px; }
}
/* 26.10: with «Курси» and «Мій кабінет» (only while the site has them: :has keeps old sites as they were) the menu no
   longer fits one row below 1000 px: the header switches to the phone menu there */
@media (min-width: 901px) and (max-width: 1000px) {
  .hdr:has(.nav [data-expert]) :is(.nav, .hdr__tools) { display: none; }
  .hdr:has(.nav [data-expert]) .hdr__icons { display: flex; }
  .hdr:has(.nav [data-expert]) .hdr__in { justify-content: space-between; }
}
/* stars in the text colour: the bright colour is too light on the surface in some palettes */
.vrc__stars { color: var(--c-text); }
.vrc__off { color: var(--c-dim); }
.stars label.is-on { color: var(--c-text); }
