/* AURA (Pochatok template) — ported from Templates/23.10.2026/hair-colour-studio-template (desktop 1440 + the 390 boards).
   The look of the source: a sticky brick header, a first screen split exactly in half (text / photo), a dark services
   section with a horizontal accordion of six panels, rounded cards (18–28), pills 999, Playfair Display for headings
   (italic in the hero) and Manrope for everything else, both self-hosted in fonts/ (no external request of any kind).
   Grid: desktop 1440 with 60 px sides, content centred and never wider than 1440; the phone board is 390 with 20 px
   sides, and 900 px 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.
   The source spec warns that on the pastel sets the header and the contacts card must switch from cream to dark text:
   that is --c-on-primary / --c-on-accent, derived from the palette's own lightness (oklch(from …) with a plain
   cream / dark fallback), not a second palette entry. */

/* ---------- fonts (self-hosted woff2: Manrope 400–700, Playfair Display 400–600 + italic 400) ---------- */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/manrope-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: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/manrope-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: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/playfair-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/playfair-italic-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: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/playfair-italic-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: 'Playfair Display'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/playfair-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/playfair-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: 'Playfair Display'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/playfair-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-primary: #C04A26;     /* header, contacts card, second promo card */
  --c-dark: #14402C;        /* services section, the photo frame, the map */
  --c-accent: #E8477A;      /* hero photo frame, booking section, fact cards, first promo */
  --c-bg: #FFF7F1;          /* page and light cards */
  --c-text: #19271F;        /* text, dark buttons */
  --c-light: #F2A98C;       /* footer column titles, the button on the dark band */

  /* the switch: white on a dark primary / accent, near-black on a light (pastel) one. The fallback keeps the
     original set's own look; the @supports block below computes it from the palette's lightness. */
  --sw-p: #FFFFFF;
  --sw-a: #000000;
  --c-on-primary: color-mix(in srgb, var(--sw-p) 96%, var(--c-primary));
  --c-on-accent: color-mix(in srgb, var(--sw-a) 96%, var(--c-accent));
  --c-on-primary-soft: color-mix(in srgb, var(--c-on-primary) 88%, var(--c-primary));
  --c-on-accent-soft: color-mix(in srgb, var(--c-on-accent) 88%, var(--c-accent));
  --c-on-dark: var(--c-bg);
  --c-on-dark-soft: color-mix(in srgb, var(--c-bg) 80%, var(--c-dark));

  --c-plate: color-mix(in srgb, var(--c-light) 45%, var(--c-bg));      /* duration pills, badges, chosen states */
  --c-muted: color-mix(in srgb, color-mix(in srgb, var(--c-text) 80%, var(--c-primary)) 80%, var(--c-bg));
  --c-line: color-mix(in srgb, var(--c-text) 14%, transparent);
  --c-line-soft: color-mix(in srgb, var(--c-text) 8%, transparent);
  --c-field: color-mix(in srgb, var(--c-text) 22%, transparent);
  --shadow: 0 14px 34px color-mix(in srgb, var(--c-text) 18%, transparent);
  --err: #c4320a;
  --p-logo-h: 44px;
}
@supports (color: oklch(from white l c h)) {
  :root {
    --sw-p: oklch(from var(--c-primary) clamp(0, (0.65 - l) * 1000, 1) 0 0);
    --sw-a: oklch(from var(--c-accent) clamp(0, (l - 0.58) * -1000, 1) 0 0);
  }
}

*, *::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.6 'Manrope', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 500; line-height: 1.1; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
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: 2px solid currentColor; 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: 1440px; margin: 0 auto; padding: 0 60px; }
.sec { padding: 110px 0; }
.eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-muted); }
.lead { font-size: 15px; line-height: 1.6; color: var(--c-muted); }
.muted { color: var(--c-muted); }
.ph-img { width: 100%; height: 100%; object-fit: cover; }
.p-logo { height: var(--p-logo-h); width: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px;
  padding: 0 32px; border: 0; border-radius: 999px; background: var(--c-text); color: var(--c-bg);
  font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; transition: opacity .2s; }
.btn:hover { opacity: .88; }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--c-field); }
.btn--light { background: var(--c-bg); color: var(--c-text); }
.btn--accent { background: var(--c-light); color: var(--c-text); }
.btn--sm { min-height: 48px; padding: 0 26px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn[disabled], .btn[data-p-disabled] { opacity: .45; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--c-primary); color: var(--c-on-primary); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; }
.logo { display: flex; flex-direction: column; gap: 2px; }
.logo__name { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; letter-spacing: .02em; }
.logo__sub { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--c-on-primary-soft); }
.hdr__tools { display: flex; align-items: center; gap: 20px; }
.hdr__book { min-height: 44px; padding: 0 24px; font-size: 13px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--c-on-primary-soft); }
.hdr__burger { display: none; }

/* language: a round button with the current language and a dropdown (as on every board) */
.langbox { position: relative; }
.lang-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0;
  border-radius: 50%; background: var(--c-bg); color: var(--c-text); font-size: 12px; font-weight: 700;
  letter-spacing: .04em; box-shadow: inset 0 0 0 1px var(--c-on-primary-soft); }
.lang-list { position: absolute; top: 52px; left: 50%; z-index: 20; display: flex; flex-direction: column; gap: 2px;
  margin-left: -28px; padding: 6px; border-radius: 28px; background: var(--c-bg); box-shadow: var(--shadow); }
.lang-list .opt, .lang-col .opt { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0;
  border-radius: 50%; background: transparent; color: var(--c-muted); font-size: 12px; font-weight: 600; }
.lang-list .opt:hover, .lang-col .opt:hover { background: var(--c-plate); color: var(--c-text); }
.lang-list .opt[aria-selected="true"] { background: var(--c-text); color: var(--c-bg); }
.lang-col { display: flex; gap: 6px; }
.lang-col .opt[aria-current="true"] { background: var(--c-text); color: var(--c-bg); }

/* ---------- phone menu ---------- */
.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; gap: 18px; padding: 24px 20px 32px;
  background: var(--c-bg); color: var(--c-text); overflow-y: auto; }
.menu__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.menu__top .logo__name { color: var(--c-text); }
.menu__top .logo__sub { color: var(--c-muted); }
.menu .icon-btn { box-shadow: inset 0 0 0 1px var(--c-field); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { padding: 14px 0; border-bottom: 1px solid var(--c-line-soft); font-size: 18px; font-weight: 600; }
.menu__lang { display: flex; flex-direction: column; gap: 10px; }
.menu__lang-title { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.menu__foot { display: flex; flex-direction: column; gap: 12px; margin-top: auto; font-size: 15px; }
.menu__soc { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; font-weight: 600; }
.menu__soc a { text-decoration: underline; text-underline-offset: 3px; }
body.menu-open { overflow: hidden; }

/* ---------- hero: 720 + 720, 808 tall (header 92 + hero 808 = the 900 first screen) ---------- */
.hero { position: relative; display: flex; min-height: 808px; overflow: hidden; }
.hero__box { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center;
  width: 50%; min-height: 808px; padding: 60px 60px 60px max(60px, calc((100vw - 1440px) / 2 + 60px)); }
.hero__in { width: 100%; max-width: 600px; margin-right: auto; }
.hero h1 { margin: 22px 0 0; font-size: 82px; line-height: 1.02; letter-spacing: -.01em; }
.hero h1 em { font-style: italic; }
.hero__text { margin: 28px 0 0; max-width: 480px; font-size: 17px; line-height: 1.6; color: var(--c-muted); }
.hero__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 38px; }
.hero__list { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 46px; }
.hero__list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-muted); }
.hero__list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c-dark); }
.hero__photo { width: 50%; min-height: 808px; background: var(--c-accent); overflow: hidden; }
.hero__photo .ph-img { object-position: center 35%; }

/* ---------- services: dark section, horizontal accordion of six panels ---------- */
.svc { background: var(--c-dark); color: var(--c-on-dark); padding: 90px 0 100px; overflow: hidden; }
.svc__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 36px; }
.svc__head .eyebrow { color: var(--c-plate); margin-bottom: 16px; }
.svc h2 { font-size: 52px; line-height: 1.08; max-width: 720px; }
.svc__text { max-width: 380px; font-size: 15px; line-height: 1.6; color: var(--c-plate); }
.svc__note { margin-top: 22px; font-size: 14px; color: var(--c-plate); }

.acc { display: flex; gap: 12px; height: 560px; }
.acc__panel { position: relative; flex: none; width: 128px; height: 100%; border-radius: 22px; background: var(--c-bg);
  color: var(--c-text); overflow: hidden; transition: width .85s cubic-bezier(.16, 1, .3, 1); }
.acc__panel.is-open { width: 620px; }
/* both states always in the DOM: the cross-fade never jumps */
.acc__open { position: absolute; inset: 0 auto 0 0; display: flex; gap: 24px; width: 620px; height: 100%; padding: 32px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .65s ease 0s, visibility 0s linear .65s; }
.acc__panel.is-open .acc__open { opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .65s ease .12s, visibility 0s linear 0s; }
.acc__body { display: flex; flex-direction: column; justify-content: space-between; width: 236px; flex: none; }
.acc__num { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--c-muted); }
.acc__body h3 { margin-bottom: 12px; font-size: 28px; line-height: 1.18; }
.acc__desc { font-size: 14px; line-height: 1.6; color: var(--c-muted); }
.acc__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px;
  padding-top: 18px; border-top: 1px solid var(--c-line); }
.acc__dur { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--c-plate); font-size: 12px; font-weight: 600; }
.acc__price { font-size: 20px; font-weight: 700; }
.acc__cta { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px;
  background: var(--c-text); color: var(--c-bg); font-size: 14px; font-weight: 600; }
.acc__photo { flex: 1; border-radius: 16px; background: var(--c-accent); overflow: hidden; }
.acc__shut { position: absolute; inset: 0 auto 0 0; display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; width: 128px; height: 100%; padding: 26px 0; border: 0; background: transparent;
  color: inherit; opacity: 1; visibility: visible; transition: opacity .4s ease .2s, visibility 0s linear 0s; }
.acc__panel.is-open .acc__shut { opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s ease 0s, visibility 0s linear .4s; }
.acc__shut-num { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--c-muted); }
.acc__shut-name { writing-mode: vertical-rl; transform: rotate(180deg); font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px; line-height: 1; white-space: nowrap; }
.acc__shut-price { font-size: 13px; font-weight: 700; }
/* in the editor every panel stays open, so every text is reachable (runtime contract) */
[data-mode="edit"] .acc { flex-direction: column; height: auto; }
[data-mode="edit"] .acc__panel, [data-mode="edit"] .acc__panel.is-open { width: 100%; height: 336px; }
[data-mode="edit"] .acc__open { position: relative; width: 100%; opacity: 1; visibility: visible; pointer-events: auto; }
[data-mode="edit"] .acc__shut { display: none; }
[data-mode="edit"] .acc__body { width: 340px; }

/* ---------- about ---------- */
.ab__in { display: flex; align-items: center; gap: 72px; }
.ab__photo { flex: none; width: 520px; height: 500px; border-radius: 24px; background: var(--c-dark); overflow: hidden; }
.ab__photo .ph-img { object-position: center 40%; }
.ab__box { flex: 1; }
.ab__box .eyebrow { margin-bottom: 18px; }
.ab__box h2 { margin-bottom: 24px; font-size: 50px; }
.ab__box p { font-size: 16px; line-height: 1.7; color: var(--c-muted); }
.ab__box p + p { margin-top: 16px; }
.ab__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 38px 0 36px; }
.fact { padding: 20px 22px; border-radius: 18px; background: var(--c-accent); color: var(--c-on-accent); }
.fact__value { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 30px; line-height: 1.1; }
.fact__label { display: block; margin-top: 4px; font-size: 13px; color: var(--c-on-accent-soft); }

/* ---------- reviews ---------- */
.rev { background: var(--c-text); color: var(--c-bg); padding: 100px 0; }
.rev__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.rev__head .eyebrow { color: var(--c-light); margin-bottom: 16px; }
.rev h2 { font-size: 48px; }
.rev__note { max-width: 320px; font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--c-bg) 72%, var(--c-text)); }
.rev__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rev__card { display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; margin: 0;
  padding: 32px 30px; border-radius: 22px; background: color-mix(in srgb, var(--c-bg) 7%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-bg) 14%, transparent); }
.rev__text { margin: 0; font-size: 16px; line-height: 1.65; }
.rev__who { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.rev__ava { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent); }
.rev__name { display: block; font-size: 15px; font-weight: 600; }
.rev__role { display: block; font-size: 13px; color: color-mix(in srgb, var(--c-bg) 70%, var(--c-text)); }

/* ---------- promos ---------- */
.pr__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 40px; }
.pr__head .eyebrow { margin-bottom: 18px; }
.pr h2 { font-size: 50px; }
.pr__note { max-width: 340px; font-size: 14px; line-height: 1.6; color: var(--c-muted); }
.pr__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.promo { display: flex; flex-direction: column; justify-content: space-between; min-height: 320px; padding: 40px;
  border-radius: 28px; background: var(--c-accent); color: var(--c-on-accent); }
.promo--second { background: var(--c-primary); color: var(--c-on-primary); }
.promo__key { display: inline-flex; align-items: center; min-height: 36px; padding: 0 18px; border-radius: 999px;
  background: var(--c-bg); color: var(--c-text); font-size: 15px; font-weight: 700; }
.promo h3 { margin: 24px 0 12px; font-size: 32px; line-height: 1.15; }
.promo__text { font-size: 16px; line-height: 1.6; }
.promo__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px;
  padding-top: 20px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.promo__note { font-size: 13px; line-height: 1.5; }
.promo .btn { flex: none; min-height: 50px; padding: 0 26px; font-size: 14px; }
.promo .btn { background: var(--c-text); color: var(--c-bg); }
.promo--second .btn { background: var(--c-bg); color: var(--c-text); }

/* 25.10 (owner: «можливість додавання лише одної» акції): the owner may keep one offer, and the empty card goes away on
   the live site (data-needs). The one that stays must read as a banner made for one, not as half a row with a hole:
   on the desktop it takes the whole row and lays its content out sideways. The phone keeps the stacked card.
   Note: «grid-row: 1 / -1» does NOT span implicit rows, so the end line is written out. */
@media (min-width: 901px) {
  .pr__grid:has(> .promo:only-child) { grid-template-columns: minmax(0, 1fr); }
  .pr__grid:has(> .promo:only-child) > .promo { flex-direction: row; align-items: center; gap: 60px;
    min-height: 0; padding: 44px 48px; }
  .pr__grid:has(> .promo:only-child) > .promo > div:first-child { flex: 1 1 auto; min-width: 0; }
  .pr__grid:has(> .promo:only-child) > .promo > div:first-child > h3 { margin-top: 18px; }
  .pr__grid:has(> .promo:only-child) > .promo > .promo__foot { flex: none; flex-direction: column;
    align-items: flex-end; gap: 18px; max-width: 320px; margin-top: 0; padding-top: 0; border-top: 0;
    text-align: right; }
}


/* ---------- contacts: the card + the map box ---------- */
.ct h2 { margin: 18px 0 44px; font-size: 50px; }
.ct__row { display: flex; align-items: stretch; gap: 32px; }
.ct__card { flex: none; display: flex; flex-direction: column; gap: 26px; width: 440px; padding: 36px 34px;
  border-radius: 24px; background: var(--c-primary); color: var(--c-on-primary); }
.ct-item { display: flex; gap: 14px; }
.ct-item svg { flex: none; margin-top: 2px; color: var(--c-on-primary-soft); }
.ct-item__label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--c-on-primary-soft); }
.ct-item__value { display: block; font-size: 17px; line-height: 1.5; }
.ct-item a.ct-item__value:hover { text-decoration: underline; text-underline-offset: 3px; }
.ct__transport { font-size: 14px; line-height: 1.6; color: var(--c-on-primary-soft); }
.ct__mapcol { flex: 1; min-width: 0; }
.map { position: relative; height: 100%; min-height: 430px; border-radius: 24px; background: var(--c-dark);
  overflow: hidden; }
.map__band, .map__band2, .map__road, .map__road2 { position: absolute; background: color-mix(in srgb, var(--c-bg) 55%, transparent); }
.map__band { left: -40px; top: 120px; width: 1000px; height: 26px; transform: rotate(-8deg); }
.map__band2 { left: -40px; top: 320px; width: 1000px; height: 16px; transform: rotate(4deg);
  background: color-mix(in srgb, var(--c-bg) 42%, transparent); }
.map__road { left: 230px; top: -60px; width: 18px; height: 700px; transform: rotate(10deg);
  background: color-mix(in srgb, var(--c-bg) 48%, transparent); }
.map__road2 { left: 560px; top: -60px; width: 12px; height: 700px; transform: rotate(-6deg);
  background: color-mix(in srgb, var(--c-bg) 38%, transparent); }
.map__pin { position: absolute; left: 50%; top: 150px; display: flex; flex-direction: column; align-items: center;
  transform: translateX(-50%); }
.map__plate { max-width: 300px; padding: 12px 16px; border-radius: 14px; background: var(--c-bg); color: var(--c-text);
  box-shadow: var(--shadow); }
.map__name { display: block; font-size: 14px; font-weight: 700; }
.map__addr { display: block; font-size: 12px; color: var(--c-muted); }
.map__dot { width: 22px; height: 22px; margin-top: 10px; border-radius: 50%; background: var(--c-text);
  box-shadow: 0 0 0 5px var(--c-bg); }
.map__open { position: absolute; left: 28px; bottom: 28px; min-height: 50px; padding: 0 24px; }

/* ---------- booking ---------- */
.bk-sec { background: var(--c-accent); color: var(--c-on-accent); padding: 110px 0; }
.bk-sec__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.bk-sec__head .eyebrow { color: var(--c-on-accent-soft); margin-bottom: 16px; }
.bk-sec h2 { margin-bottom: 12px; font-size: 50px; }
.bk-sec__text { margin-bottom: 40px; font-size: 16px; color: var(--c-on-accent-soft); }
.bk { width: 100%; max-width: 1000px; margin: 0 auto; padding: 44px 48px 40px; border-radius: 28px;
  background: var(--c-bg); color: var(--c-text); }
.bk__steps { display: flex; align-items: center; margin-bottom: 36px; }
.bk__step { display: flex; align-items: center; gap: 10px; }
.bk__step:not(:last-child) { flex: 1; }
.bk__num { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: color-mix(in srgb, var(--c-text) 8%, var(--c-bg)); color: var(--c-muted);
  font-size: 13px; font-weight: 700; }
.bk__step.is-done .bk__num { background: var(--c-text); color: var(--c-bg); }
.bk__name { font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--c-muted); }
.bk__step.is-done .bk__name { color: var(--c-text); }
.bk__bar { flex: 1; height: 2px; margin: 0 6px; background: var(--c-line); }
.bk__step.is-past .bk__bar { background: var(--c-text); }
.bk h3 { font-size: 28px; }
.bk__hint { margin: 6px 0 24px; font-size: 14px; color: var(--c-muted); }
.bk__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pick { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--c-field);
  border-radius: 16px; background: var(--c-bg); color: inherit; text-align: left; }
.pick:hover { border-color: var(--c-text); }
.pick.is-on { border: 2px solid var(--c-text); background: var(--c-plate); padding: 17px 19px; }
.pick__name { font-size: 16px; font-weight: 600; }
.pick__meta { font-size: 14px; color: var(--c-muted); }
.bk__when { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-top: 24px; }
.bk__date { width: 320px; max-width: 100%; }
.bk__times { flex: 1; min-width: 260px; }
.f { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.bk input[type="date"], .bk input[type="text"], .bk input[type="tel"], .bk input[type="email"], .bk textarea,
.cf input:not([type="checkbox"]):not([type="radio"]), .cf textarea { width: 100%; min-height: 54px; padding: 14px 18px; border: 1px solid var(--c-field);
  border-radius: 14px; background: var(--c-bg); color: inherit; }
.bk textarea, .cf textarea { resize: vertical; }
.bk input[aria-invalid="true"], .cf input[aria-invalid="true"], .cf textarea[aria-invalid="true"] { border-color: var(--err); }
.bk__note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--c-muted); }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.slot { min-height: 48px; border: 1px solid var(--c-field); border-radius: 14px; background: var(--c-bg);
  font-size: 15px; font-weight: 600; }
.slot:hover { border-color: var(--c-text); }
.slot[aria-pressed="true"] { border: 2px solid var(--c-text); background: var(--c-light); }
.skel { min-height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--c-text) 7%, var(--c-bg)); }
.bk__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.field--wide { grid-column: 1 / -1; }
.bk__own { display: grid; gap: 20px; }
.bk__consent { margin-top: 18px; }
.bk__err { margin-top: 16px; font-size: 14px; color: var(--err); }
.bk__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px;
  padding-top: 26px; border-top: 1px solid var(--c-line); }
.bk__done { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 0 10px; }
.bk__ok { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 22px; border-radius: 50%;
  background: var(--c-plate); }
.bk__done h3 { margin-bottom: 10px; font-size: 30px; }
.bk__done-text { max-width: 440px; margin-bottom: 20px; font-size: 16px; line-height: 1.6; color: var(--c-muted); }
.bk__card { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 28px;
  padding: 16px 20px; border-radius: 16px; background: var(--c-plate); font-size: 15px; }

/* the consent checkbox the runtime draws into [data-form-notice] */
.p-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--c-muted); }
.p-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--c-text); }
.p-consent a { color: var(--c-text); text-decoration: underline; text-underline-offset: 3px; }
.p-consent__err { display: block; margin-top: 4px; color: var(--err); }
.p-consent.is-err input { outline: 2px solid var(--err); outline-offset: 2px; }
.p-consent-note { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--c-muted); }

/* ---------- contact form (last before the footer) ---------- */
.cf__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 60px; align-items: start; }
.cf__left .eyebrow { margin-bottom: 18px; }
.cf__left h2 { margin-bottom: 16px; font-size: 50px; }
.cf__left p { font-size: 16px; line-height: 1.7; color: var(--c-muted); }
.cf__phone { display: inline-flex; align-items: center; min-height: 48px; margin-top: 24px; padding: 0 22px;
  border-radius: 999px; background: var(--c-plate); font-size: 15px; font-weight: 600; }
.cf__form { display: grid; gap: 20px; padding: 36px; border-radius: 28px; background: color-mix(in srgb, var(--c-text) 5%, var(--c-bg));
  box-shadow: inset 0 0 0 1px var(--c-line-soft); }
.cf__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.err { font-size: 13px; color: var(--err); }
.cf__done { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 36px; border-radius: 28px; background: var(--c-plate); }
.cf__done h2 { font-size: 32px; }
.cf__done-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* ---------- portfolio page ---------- */
.pf__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; padding-block: 64px 40px; }
.pf__head .eyebrow { margin-bottom: 16px; }
.pf__head h1 { font-size: 64px; line-height: 1.05; }
.pf__head p { max-width: 420px; padding-top: 10px; font-size: 16px; line-height: 1.65; color: var(--c-muted); }
.pf__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work { margin: 0; padding: 14px; border-radius: 20px; background: var(--c-accent); color: var(--c-on-accent); }
.work:nth-child(2) { background: var(--c-primary); color: var(--c-on-primary); }
.work:nth-child(3) { background: var(--c-dark); color: var(--c-on-dark); }
.work__ph { aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; }
.work figcaption { padding: 14px 6px 4px; font-size: 16px; font-weight: 600; }
.pf__note { margin-top: 34px; font-size: 14px; color: var(--c-muted); }
.pf-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 260px;
  margin: 90px 0; padding: 0 56px; border-radius: 28px; background: var(--c-text); color: var(--c-bg); }
.pf-cta h2 { margin-bottom: 10px; font-size: 40px; }
.pf-cta p { font-size: 16px; color: color-mix(in srgb, var(--c-bg) 75%, var(--c-text)); }
.pf-cta .btn { flex: none; min-height: 58px; padding: 0 34px; font-size: 16px; }

/* ---------- privacy page ---------- */
.pv { padding: 64px 0 100px; }
.pv__in { display: flex; align-items: flex-start; gap: 60px; }
.pv__nav { position: sticky; top: 120px; flex: none; width: 300px; }
.pv__nav ul { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 24px; font-size: 15px; }
.pv__nav a { color: var(--c-muted); }
.pv__nav a:hover { color: var(--c-text); }
.pv__body { flex: 1; min-width: 0; max-width: 820px; }
.pv__body h1 { font-size: 50px; }
.pv__lead { margin: 16px 0 0; font-size: 16px; line-height: 1.7; }
.pv__card { display: flex; flex-direction: column; gap: 6px; margin: 28px 0 40px; padding: 24px 26px;
  border-radius: 20px; background: var(--c-plate); font-size: 15px; }
.pv-sec { margin-top: 36px; }
.pv-sec h2 { margin-bottom: 14px; font-size: 26px; }
.pv-sec p { font-size: 16px; line-height: 1.7; color: var(--c-muted); }
.pv-sec p + p { margin-top: 12px; }

/* ---------- footer ---------- */
.ftr { background: var(--c-text); color: var(--c-bg); padding: 72px 0 44px; }
.ftr__top { display: flex; flex-wrap: wrap; gap: 40px 80px; padding-bottom: 46px;
  border-bottom: 1px solid color-mix(in srgb, var(--c-bg) 18%, transparent); }
.ftr__brand { width: 380px; max-width: 100%; }
.ftr__brand .logo__name { font-size: 28px; }
.ftr__brand .logo__sub { color: color-mix(in srgb, var(--c-bg) 60%, var(--c-text)); }
.ftr__tag { margin-top: 20px; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--c-bg) 74%, var(--c-text)); }
.ftr__col { display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.ftr__title { margin-bottom: 7px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-light); }
.ftr__col a:hover, .ftr__bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 26px;
  font-size: 13px; color: color-mix(in srgb, var(--c-bg) 62%, var(--c-text)); }
.ftr--slim { padding: 40px 0; }
.ftr--slim .ftr__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; font-size: 13px;
  color: color-mix(in srgb, var(--c-bg) 62%, var(--c-text)); }
.ftr--slim .logo__name { font-size: 22px; color: var(--c-bg); }

/* The horizontal accordion needs the board's 1440: six panels are 620 + 5 × 128 + gaps = exactly the 1320 content
   column. Below 1241 px (a width the boards do not draw) it becomes the phone board's vertical accordion, so nothing
   is ever clipped; js/aura.js opens on hover only above that width. */
@media (max-width: 1240px) {
  .acc { flex-direction: column; height: auto; gap: 10px; }
  .acc__panel, .acc__panel.is-open { width: 100%; height: auto; border-radius: 18px; transition: none; }
  .acc__shut { position: relative; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; min-height: 64px; padding: 16px 18px; text-align: left; transition: none; }
  .acc__panel.is-open .acc__shut { opacity: 1; visibility: visible; pointer-events: auto; }
  .acc__shut-num { display: none; }
  .acc__shut-name { writing-mode: horizontal-tb; transform: none; font-size: 18px; line-height: 1.25; white-space: normal; }
  .acc__shut-side { display: flex; align-items: center; gap: 10px; flex: none; }
  .acc__chev { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
    background: var(--c-plate); transition: transform .3s; }
  .acc__panel.is-open .acc__chev { transform: rotate(180deg); }
  .acc__open { position: relative; display: block; width: 100%; height: auto; padding: 0 18px 18px; }
  .acc__panel:not(.is-open) .acc__open { display: none; }
  .acc__body { width: 100%; }
  .acc__body h3 { display: none; }
  .acc__num { display: none; }
  .acc__photo { height: 300px; margin-bottom: 14px; border-radius: 14px; }
  .acc__desc { font-size: 13px; }
  .acc__row { flex-direction: column; align-items: flex-start; gap: 10px; border: 0; padding-top: 14px; }
  [data-mode="edit"] .acc__panel, [data-mode="edit"] .acc__panel.is-open { height: auto; }
  [data-mode="edit"] .acc__shut { display: flex; }
  [data-mode="edit"] .acc__panel:not(.is-open) .acc__open { display: block; }
}

/* ============================ phone: 390 board, the only breakpoint ============================ */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 44px 0 48px; }
  .hdr__in { height: 64px; }
  .logo__name { font-size: 20px; }
  .logo__sub { font-size: 8px; letter-spacing: .24em; }
  .hdr__book { display: none; }
  .hdr__burger { display: inline-grid; }
  .hdr__tools { gap: 8px; }
  :root { --p-logo-h: 34px; }

  /* the board's order on the phone: eyebrow, title, text, photo, buttons, bullets. The two wrappers become
     `display: contents`, so the photo (a sibling of the text box in the DOM) can sit between them by `order`. */
  .hero { flex-direction: column; min-height: 0; padding: 32px 20px 36px; }
  .hero__box, .hero__in { display: contents; }
  .hero h1 { margin-top: 14px; font-size: 44px; line-height: 1.04; }
  .hero__text { margin-top: 18px; max-width: none; font-size: 15px; }
  .hero__photo { order: 2; width: 100%; min-height: 0; height: 420px; margin-top: 26px; border-radius: 20px; }
  .hero__photo .ph-img { object-position: center 32%; }
  .hero__btns { order: 3; flex-direction: column; align-items: stretch; margin-top: 22px; }
  .hero__btns .btn { width: 100%; }
  .hero__list { order: 4; flex-direction: column; gap: 10px; margin-top: 22px; }

  .svc { padding: 44px 0 48px; }
  .svc__head { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 24px; }
  .svc h2 { font-size: 34px; }
  .svc__text { max-width: none; font-size: 14px; }

  .ab__in { flex-direction: column; gap: 26px; }
  .ab__photo { width: 100%; height: 340px; border-radius: 20px; }
  .ab__photo .ph-img { object-position: center 38%; }
  .ab__box h2 { margin-bottom: 16px; font-size: 32px; line-height: 1.12; }
  .ab__box p { font-size: 15px; line-height: 1.65; }
  .ab__facts { grid-template-columns: 1fr; gap: 10px; margin: 24px 0; }
  .fact { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 16px 18px;
    border-radius: 16px; }
  .fact__value { font-size: 24px; }
  .fact__label { margin: 0; text-align: right; }
  .ab .btn, .pf-cta .btn, .cf__form .btn { width: 100%; }

  .rev { padding: 44px 0 48px; }
  .rev__head { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 24px; }
  .rev h2 { font-size: 32px; }
  .rev__note { max-width: none; font-size: 13px; }
  .rev__grid { grid-template-columns: 1fr; gap: 12px; }
  .rev__card { min-height: 0; padding: 22px 20px; border-radius: 18px; }
  .rev__text { font-size: 15px; }
  .rev__ava { width: 40px; height: 40px; }

  .pr__head { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 24px; }
  .pr h2, .ct h2, .bk-sec h2, .cf__left h2 { font-size: 32px; }
  .pr__note { max-width: none; font-size: 13px; }
  .pr__grid { grid-template-columns: 1fr; gap: 12px; }
  .promo { min-height: 0; padding: 26px 24px; border-radius: 22px; }
  .promo h3 { margin: 18px 0 10px; font-size: 24px; }
  .promo__text { font-size: 14px; }
  .promo__foot { flex-direction: column; align-items: stretch; gap: 16px; }
  .promo .btn { width: 100%; }

  .ct h2 { margin: 12px 0 24px; }
  .ct__row { flex-direction: column; gap: 20px; }
  .ct__card { order: 2; width: 100%; padding: 24px 20px; border-radius: 20px; gap: 20px; }
  .ct-item__value { font-size: 16px; }
  .map { min-height: 240px; height: 240px; border-radius: 20px; }
  .map__band { top: 70px; width: 500px; height: 18px; transform: rotate(-9deg); }
  .map__band2 { top: 170px; width: 500px; height: 12px; }
  .map__road { left: 120px; width: 14px; height: 340px; transform: rotate(9deg); }
  .map__road2 { display: none; }
  .map__pin { top: 70px; }
  .map__plate { padding: 9px 13px; border-radius: 12px; }
  .map__name { font-size: 12px; }
  .map__dot { width: 18px; height: 18px; margin-top: 8px; box-shadow: 0 0 0 4px var(--c-bg); }
  .map__open { position: static; display: flex; width: 100%; margin-top: 14px; }

  .bk-sec { padding: 44px 0 48px; }
  .bk-sec__head { align-items: flex-start; text-align: left; }
  .bk-sec h2 { margin-bottom: 10px; }
  .bk-sec__text { margin-bottom: 24px; font-size: 14px; }
  .bk { padding: 24px 20px 22px; border-radius: 22px; }
  .bk__steps { margin-bottom: 24px; }
  .bk__step:not(.is-now) .bk__name { display: none; }
  .bk__step:not(:last-child) .bk__bar { display: block; }
  .bk h3 { font-size: 22px; }
  .bk__grid, .bk__fields { grid-template-columns: 1fr; gap: 10px; }
  .bk__fields { gap: 16px; }
  .bk__when { flex-direction: column; gap: 20px; }
  .bk__date, .bk__times { width: 100%; min-width: 0; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .bk__nav { gap: 10px; margin-top: 24px; padding-top: 20px; }
  .bk__nav .btn { flex: 1; padding: 0 16px; }
  .bk__done h3 { font-size: 24px; }

  .cf__in { grid-template-columns: 1fr; gap: 24px; }
  .cf__form { padding: 24px 20px; border-radius: 22px; }
  .cf__left p { font-size: 15px; }

  .pf__head { flex-direction: column; gap: 14px; padding-block: 32px 26px; }
  .pf__head h1 { font-size: 42px; }
  .pf__head p { max-width: none; padding: 0; font-size: 15px; }
  .pf__grid { grid-template-columns: 1fr; gap: 18px; }
  .pf-cta { flex-direction: column; align-items: stretch; min-height: 0; gap: 20px; margin: 36px 0;
    padding: 30px 24px; border-radius: 22px; }
  .pf-cta h2 { font-size: 28px; }
  .pf-cta p { font-size: 14px; }

  .pv { padding: 32px 0 48px; }
  .pv__in { flex-direction: column; gap: 28px; }
  .pv__nav { position: static; width: 100%; }
  .pv__body h1 { font-size: 32px; }
  .pv-sec h2 { font-size: 22px; }

  .ftr { padding: 40px 0 32px; }
  .ftr__top { gap: 26px 40px; padding-bottom: 26px; }
  .ftr__brand { width: 100%; }
  .ftr__brand .logo__name { font-size: 24px; }
  .ftr__tag { margin-top: 16px; font-size: 14px; }
  .ftr__col { font-size: 14px; }
  .ftr__bottom { gap: 8px 18px; padding-top: 20px; font-size: 12px; }
}

/* 901–1100 has no board: only these anti-collision rules */
@media (min-width: 901px) and (max-width: 1240px) {
  .hero h1 { font-size: 62px; }
  .hero__box { padding-right: 40px; }
  .ab__in { gap: 40px; }
  .ab__photo { width: 420px; height: 440px; }
  .ct__card { width: 380px; }
}

/* ============================ 26.10 expert block: courses, audience, plans, handbook, platform reviews; the pages
   courses / course / services. Only the template's own colours (cards in the accent / primary / dark rotation of the
   portfolio, bands on --c-dark and --c-text), Playfair titles, pills 999, the same section rhythm. ============================ */
.xhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 40px; }
.xhead .eyebrow { margin-bottom: 18px; }
.xhead h2 { font-size: 50px; }
.xhead__side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 380px; }
.xhead__note { max-width: 380px; font-size: 14px; line-height: 1.6; color: var(--c-muted); }

/* my courses: the portfolio's coloured frames around a photo, the text under it */
.crs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.crc { display: flex; flex-direction: column; padding: 14px; border-radius: 20px; background: var(--c-accent); color: var(--c-on-accent); }
.crc:nth-child(3n+2) { background: var(--c-primary); color: var(--c-on-primary); }
.crc:nth-child(3n) { background: var(--c-dark); color: var(--c-on-dark); }
.crc__ph { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, currentColor 12%, transparent); }
.crc__b { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 8px 6px; }
.crc__meta { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px;
  background: color-mix(in srgb, currentColor 14%, transparent); font-size: 12px; font-weight: 600; }
.crc h3 { font-size: 26px; line-height: 1.15; }
.crc__desc { font-size: 14px; line-height: 1.6; color: color-mix(in srgb, currentColor 82%, transparent); }
.crc__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; margin-top: auto;
  padding-top: 16px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.crc__price { font-size: 20px; font-weight: 700; }
.crc .btn { flex: none; background: var(--c-bg); color: var(--c-text); }

/* who the courses are for: the services' dark band */
.aud { background: var(--c-dark); color: var(--c-on-dark); padding: 100px 0; }
.aud .eyebrow { color: var(--c-plate); }
.aud .xhead__note { color: var(--c-on-dark-soft); }
.aud__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.aud__it { display: flex; flex-direction: column; gap: 14px; padding: 32px 30px; border-radius: 22px;
  background: color-mix(in srgb, var(--c-bg) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-bg) 14%, transparent); }
.aud__n { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--c-plate); }
.aud__it h3 { font-size: 26px; line-height: 1.18; }
.aud__it p { font-size: 15px; line-height: 1.65; color: var(--c-on-dark-soft); }

/* buy: three plans, the middle one on the brick colour */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 36px 32px; border-radius: 28px;
  background: color-mix(in srgb, var(--c-text) 5%, var(--c-bg)); box-shadow: inset 0 0 0 1px var(--c-line-soft); }
.plan--hit { background: var(--c-primary); color: var(--c-on-primary); box-shadow: none; }
.plan__hit { display: inline-flex; align-items: center; min-height: 32px; padding: 0 16px; border-radius: 999px;
  background: var(--c-bg); color: var(--c-text); font-size: 13px; font-weight: 700; }
.plan__name { font-size: 28px; line-height: 1.15; }
.plan__price { font-family: 'Playfair Display', Georgia, serif; font-size: 44px; line-height: 1.05; }
.plan__list, .gd__list { display: flex; flex-direction: column; gap: 10px; width: 100%; padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 15px; line-height: 1.5; }
.plan__list li, .gd__list li { position: relative; padding-left: 18px; }
.plan__list li::before, .gd__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--c-dark); }
.plan--hit .plan__list li::before { background: currentColor; }
.plan__go { width: 100%; margin-top: auto; }
.plan--hit .plan__go { background: var(--c-bg); color: var(--c-text); }

/* the handbook: the about block's photo + text, on the light plate */
.gd { background: var(--c-plate); }
.gd__in { display: flex; align-items: center; gap: 72px; }
.gd__photo { flex: none; width: 460px; height: 520px; border-radius: 24px; background: var(--c-accent); overflow: hidden; }
.gd__box { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.gd__box .eyebrow { margin-bottom: 18px; }
.gd__box h2 { margin-bottom: 20px; font-size: 50px; }
.gd__lead { max-width: 560px; font-size: 16px; line-height: 1.7; color: var(--c-muted); }
.gd__k { display: block; margin: 28px 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-muted); }
.gd__list { max-width: 560px; }
.gd__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.gd__price { font-family: 'Playfair Display', Georgia, serif; font-size: 40px; line-height: 1; }

/* platform reviews: the reviews band, plus stars, a date and the «verified purchase» pill */
.vr { background: var(--c-text); color: var(--c-bg); padding: 100px 0; }
.vr .rev__head .eyebrow { color: var(--c-light); }
.vr h2 { font-size: 48px; }
.vrc { gap: 22px; }
.vrc__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vrc__stars { display: inline-flex; gap: 3px; color: var(--c-light); }
.vrc__stars svg { width: 16px; height: 16px; fill: currentColor; }
.vrc__stars svg.is-off { opacity: .28; }
.vrc__date { font-size: 13px; color: color-mix(in srgb, var(--c-bg) 70%, var(--c-text)); }
.vrc__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: auto; }
.vrc__badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--c-light); color: var(--c-text); font-size: 12px; font-weight: 700; }

/* courses page: one long card per course */
.cl { display: flex; flex-direction: column; gap: 24px; }
.clc { display: grid; grid-template-columns: 460px minmax(0, 1fr); gap: 48px; align-items: start; padding: 20px 40px 20px 20px;
  border-radius: 28px; background: color-mix(in srgb, var(--c-text) 5%, var(--c-bg)); box-shadow: inset 0 0 0 1px var(--c-line-soft);
  scroll-margin-top: 110px; }
.clc__ph { aspect-ratio: 4 / 3; border-radius: 18px; background: var(--c-accent); overflow: hidden; }
.clc__txt { display: flex; flex-direction: column; align-items: flex-start; padding: 20px 0; }
.clc__txt .crc__meta { background: var(--c-plate); }
.clc__txt h2 { margin: 16px 0 14px; font-size: 40px; line-height: 1.1; }
.clc__full { max-width: 640px; font-size: 16px; line-height: 1.7; color: var(--c-muted); }
.clc .gd__buy { margin-top: 26px; }

/* services page: the price list */
.pl { display: flex; flex-direction: column; gap: 56px; padding-bottom: 20px; }
.pl__cat { margin-bottom: 18px; font-size: 36px; }
.pl__rows { border-top: 1px solid var(--c-line); }
.pl__row { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 24px 0;
  border-bottom: 1px solid var(--c-line); }
.pl__main { min-width: 0; max-width: 640px; }
.pl__main h3 { font-size: 24px; line-height: 1.2; }
.pl__main p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--c-muted); }
.pl__side { display: flex; flex: none; align-items: center; gap: 20px; }
.pl__price { min-width: 90px; font-size: 20px; font-weight: 700; text-align: right; }

/* the course page */
.co { padding: 48px 0 100px; }
.co__back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--c-muted); }
.co__back:hover { color: var(--c-text); }
.co__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin: 28px 0 44px; }
.co__head .eyebrow { margin-bottom: 16px; }
.co__head h1 { font-size: 64px; line-height: 1.05; }
.co__lead { max-width: 560px; margin-top: 16px; font-size: 16px; line-height: 1.65; color: var(--c-muted); }
.co__prog { flex: none; width: 340px; padding: 22px 24px; border-radius: 20px; background: var(--c-plate); }
.co__prog-k { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; }
.co__prog-n { font-family: 'Playfair Display', Georgia, serif; font-size: 28px; font-weight: 500; }
.co__rail { height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--c-text) 12%, transparent); overflow: hidden; }
.co__bar { display: block; height: 100%; border-radius: 999px; background: var(--c-text); }
.co__body { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 40px; align-items: start; }
.co__steps { position: sticky; top: 120px; padding: 26px 22px; border-radius: 24px; background: var(--c-dark); color: var(--c-on-dark); }
.co__k { display: block; margin: 0 8px 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-plate); }
.co__list { display: flex; flex-direction: column; gap: 4px; }
.co-step { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%;
  padding: 12px 10px; border: 0; border-radius: 14px; background: transparent; color: inherit; text-align: left; }
.co-step:hover:not(.is-locked) { background: color-mix(in srgb, var(--c-bg) 8%, transparent); }
.co-step__n { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--c-plate); }
.co-step__t { font-size: 15px; font-weight: 600; line-height: 1.35; }
.co-step__len { font-size: 12px; color: var(--c-on-dark-soft); white-space: nowrap; }
.co-step.is-cur { background: var(--c-bg); color: var(--c-text); }
.co-step.is-cur .co-step__n, .co-step.is-cur .co-step__len { color: var(--c-muted); }
.co-step.is-locked { opacity: .45; cursor: default; }
.co__locked { margin: 16px 8px 0; font-size: 13px; line-height: 1.5; color: var(--c-on-dark-soft); }
.co__lesson { min-width: 0; }
.co__h { margin-bottom: 20px; font-size: 40px; line-height: 1.12; }
.co__player { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--c-dark); overflow: hidden; }
.co__play { position: absolute; left: 24px; bottom: 24px; min-height: 50px; padding: 0 24px; font-size: 14px; }
.co__len { position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px;
  border-radius: 999px; background: var(--c-bg); color: var(--c-text); font-size: 12px; font-weight: 700; }
.co__len:empty { display: none; }
.co__text { margin-top: 22px; max-width: 720px; font-size: 16px; line-height: 1.7; color: var(--c-muted); }
.co__notes { display: grid; gap: 12px; margin-top: 34px; padding: 30px; border-radius: 24px;
  background: color-mix(in srgb, var(--c-text) 5%, var(--c-bg)); box-shadow: inset 0 0 0 1px var(--c-line-soft); }
.co__notes h3 { font-size: 26px; }
.co__hint { font-size: 13px; color: var(--c-muted); }
.co__notes textarea { width: 100%; min-height: 110px; padding: 14px 18px; border: 1px solid var(--c-field); border-radius: 14px;
  background: var(--c-bg); color: inherit; resize: vertical; }
.co__save { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.co__saved { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px;
  background: var(--c-plate); font-size: 13px; font-weight: 600; }
.co__nav .btn[disabled] { opacity: .4; cursor: default; }

/* the review form's stars */
.stars { display: flex; gap: 6px; }
.stars label { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--c-field); cursor: pointer; }
.stars label.is-on { color: var(--c-primary); }
.stars input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.stars input:focus-visible + svg { outline: 2px solid var(--c-text); outline-offset: 3px; border-radius: 4px; }
.stars svg { width: 26px; height: 26px; fill: currentColor; }

/* header: «Мій кабінет» as the header's own outlined square, like the burger */
.hdr__acc { flex: none; }
.hdr__acc:hover { background: color-mix(in srgb, var(--c-on-primary) 10%, transparent); }

@media (max-width: 1240px) and (min-width: 901px) {
  .crc h3 { font-size: 22px; }
  .crc__foot { flex-wrap: wrap; }
  .gd__in { gap: 44px; }
  .gd__photo { width: 380px; height: 460px; }
  .clc { grid-template-columns: 340px minmax(0, 1fr); gap: 32px; }
  .co__body { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; }
  .co__head h1 { font-size: 52px; }
  .plan { padding: 30px 24px; }
  .plan__price { font-size: 38px; }
}
@media (max-width: 900px) {
  .xhead { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 24px; }
  .xhead h2 { font-size: 32px; }
  .xhead__side { max-width: none; }
  .xhead__note { max-width: none; font-size: 13px; }
  .crs__grid, .aud__grid, .plans { grid-template-columns: 1fr; gap: 12px; }
  .crc { border-radius: 18px; }
  .crc h3 { font-size: 24px; }
  .aud { padding: 44px 0 48px; }
  .aud__it { padding: 24px 22px; border-radius: 18px; }
  .aud__it h3 { font-size: 22px; }
  .plan { padding: 26px 22px; border-radius: 22px; }
  .plan__price { font-size: 38px; }
  .gd__in { flex-direction: column; align-items: stretch; gap: 26px; }
  .gd__photo { width: 100%; height: 340px; border-radius: 20px; }
  .gd__box h2 { margin-bottom: 14px; font-size: 32px; line-height: 1.12; }
  .gd__lead { font-size: 15px; }
  .gd__buy { flex-direction: column; align-items: stretch; }
  .gd__buy .btn { width: 100%; }
  .vr { padding: 44px 0 48px; }
  .vr h2 { font-size: 32px; }
  .cl { gap: 14px; }
  .clc { grid-template-columns: 1fr; gap: 0; padding: 14px; border-radius: 22px; }
  .clc__ph { border-radius: 14px; }
  .clc__txt { padding: 18px 8px 8px; }
  .clc__txt h2 { margin: 12px 0 10px; font-size: 28px; }
  .clc__full { font-size: 15px; }
  .pl { gap: 36px; }
  .pl__cat { font-size: 28px; }
  .pl__row { flex-direction: column; align-items: stretch; gap: 14px; padding: 20px 0; }
  .pl__main h3 { font-size: 20px; }
  .pl__side { flex-wrap: wrap; justify-content: space-between; gap: 12px; }
  .pl__price { min-width: 0; text-align: left; }
  .pl__side .btn { width: 100%; }
  .co { padding: 28px 0 48px; }
  .co__head { flex-direction: column; align-items: stretch; gap: 22px; margin: 20px 0 26px; }
  .co__head h1 { font-size: 36px; line-height: 1.08; }
  .co__lead { font-size: 15px; }
  .co__prog { width: 100%; }
  .co__body { grid-template-columns: 1fr; gap: 24px; }
  .co__steps { position: static; padding: 20px 14px; border-radius: 20px; }
  .co__h { font-size: 28px; }
  .co__player { border-radius: 18px; }
  .co__play { left: 14px; bottom: 14px; min-height: 44px; padding: 0 18px; }
  .co__notes { padding: 22px 18px; border-radius: 20px; }
  .co__nav .btn { flex: 1; padding: 0 14px; }
}
