/* Květa — flower shop template (Pochatok). Ported from Templates/kveta-template 900 (assets/site.css).
   Palette BEC486 / 555540 / F5EEDB / F6CBC5 (+ --ink for small text on sage / blush).
   Fonts: Playfair Display (headings), Lora (text) — self-hosted woff2, latin + latin-ext + cyrillic (OFL).
   Breakpoints: 1100 (pads 40, 3 → 2 columns) and 900 (= the source's 820 + 680 rules: one column, pads 20). */

@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 500; 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 500; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 500; 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; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/lora-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: 'Lora'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/lora-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/lora-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: 'Lora'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/lora-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; }

:root {
  --cream: #F5EEDB;
  --olive: #555540;
  --sage: #BEC486;
  --blush: #F6CBC5;
  --ink: #3C3C2C;
  /* 19.10 palettes: the 5 base colours above are what a palette sets; every other shade is derived from them */
  --olive-d: color-mix(in srgb, var(--ink) 58%, var(--olive));
  --placeholder: color-mix(in srgb, var(--cream) 94%, black);
  --muted: color-mix(in srgb, var(--olive) 67%, var(--cream));
  --text-2: color-mix(in srgb, var(--olive) 85%, var(--cream));
  --hover: color-mix(in srgb, var(--sage) 75%, black);
  --photo-bg: color-mix(in srgb, var(--olive) 87%, var(--cream));
  --line: color-mix(in srgb, var(--olive) 30%, transparent);
  --error: #A03A2C;
  --pad-x: 60px;
  --content: 1320px;
  --serif: 'Playfair Display', Georgia, serif;
  --text: 'Lora', Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--olive);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}
a { color: var(--olive); text-decoration: none; }
a:hover { color: var(--hover); }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; overflow-wrap: break-word; hyphens: auto; }
input, select, textarea, button { font-family: inherit; }
::placeholder { color: var(--muted); opacity: 1; }
[hidden] { display: none !important; }

.container { max-width: var(--content); margin: 0 auto; }
.section { padding: 110px var(--pad-x); }
.section--dark { background: var(--olive); color: var(--cream); }
.section--dark h2 { color: var(--cream); }

.eyebrow { margin: 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.h-section { font-size: 42px; line-height: 1.16; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 32px;
  border: none;
  border-radius: 0;
  background: var(--olive);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { color: var(--cream); background: var(--olive-d); }
.btn:disabled, .btn[data-p-disabled] { opacity: 0.45; cursor: default; }
.btn:disabled:hover { background: var(--olive); }
.btn--line { background: transparent; color: var(--olive); border: 1px solid color-mix(in srgb, var(--olive) 35%, transparent); }
.btn--line:hover { background: var(--olive); color: var(--cream); }

/* ---------- header ---------- */

.header {
  min-height: 100px;
  padding: 20px var(--pad-x);
  /* wider than 1440: the bar stays full width, its logo / buttons line up with the 1320 content column */
  padding-inline: max(var(--pad-x), calc((100% - var(--content)) / 2));
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.header--overlay { position: absolute; left: 0; top: 0; right: 0; z-index: 5; }
.header--solid { background: var(--cream); border-bottom: 1px solid color-mix(in srgb, var(--olive) 15%, transparent); }

.logo {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.3;
}
.logo .p-logo { --p-logo-h: 44px; }
.footer .logo .p-logo { --p-logo-h: 52px; }

.header__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.header .btn { height: 46px; padding: 0 28px; }

.lang { position: relative; display: inline-flex; align-items: center; color: var(--olive); }
.lang__btn {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 34px 0 16px;
  border: none;
  border-radius: 0;
  background: var(--placeholder);
  color: var(--olive);
  font-size: 12px;
  letter-spacing: 0.16em;
  cursor: pointer;
}
.lang svg { position: absolute; right: 14px; pointer-events: none; transition: transform 0.2s ease; }
.lang.is-open svg { transform: rotate(180deg); }
.lang__list {
  position: absolute;
  z-index: 40;
  top: 46px;
  left: 0;
  right: 0;
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--placeholder);
}
.lang.is-open .lang__list { display: block; }
.lang__list button {
  display: block;
  width: 100%;
  padding: 11px 16px;
  text-align: left;
  color: var(--olive);
  font-size: 12px;
  letter-spacing: 0.16em;
  cursor: pointer;
}
.lang__list button:hover { background: var(--olive); color: var(--placeholder); }
.lang__list button[aria-selected="true"] { font-weight: 600; }

/* ---------- parallax photo: hero + «our work» share one fixed picture (source: background-attachment fixed) ---------- */

.plx { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0); z-index: 0; background: var(--placeholder); }
.plx__img {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100vh; max-width: none;
  object-fit: cover; object-position: center;
  pointer-events: none;
}

/* ---------- 1. hero ---------- */

.hero { position: relative; min-height: 900px; background-color: var(--placeholder); overflow: hidden; }
[data-mode="edit"] .hero .plx > .p-replace { top: auto; bottom: 24px; }
.hero__card {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 2 * var(--pad-x))); padding: 56px 48px;
  display: flex; flex-direction: column; align-items: center; gap: 36px;
  background: var(--olive); color: var(--cream); text-align: center;
}
.hero__card::before { content: ""; position: absolute; inset: 20px; border: 2px solid var(--cream); pointer-events: none; }   /* inner frame (user 10.10) */
.hero__title { font-size: 44px; line-height: 1.14; color: var(--cream); text-wrap: balance; }
.btn--light { background: var(--cream); color: var(--olive); }
.btn--light:hover { background: var(--placeholder); color: var(--olive); }

/* ---------- 2. seasonal flowers ---------- */

.seasonal { min-height: 900px; padding-top: 150px; padding-bottom: 120px; }
.split { display: flex; flex-wrap: wrap; gap: 94px; align-items: flex-start; }
.split__aside { flex: 1 1 280px; max-width: 340px; }
.split__main { flex: 999 1 560px; min-width: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.product__photo { display: block; position: relative; height: 500px; background: var(--photo-bg); overflow: hidden; }
.product__photo img { width: 100%; height: 100%; object-fit: cover; }
.product__name { margin: 18px 0 0; font-family: var(--text); font-size: 17px; }
.product__price { margin: 6px 0 0; font-size: 15px; color: color-mix(in srgb, var(--cream) 78%, transparent); }
.product__note { margin: 6px 0 0; font-size: 13px; color: var(--blush); }

/* ---------- 3. our work ---------- */

.works { position: relative; padding: 100px var(--pad-x); background-color: var(--placeholder); }
.works > .container { position: relative; z-index: 1; }

.work-card { position: relative; display: block; height: 620px; background: var(--olive); overflow: hidden; }
.work-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-card__veil { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 32%, transparent); }
.work-card__eyebrow {
  position: absolute; left: 44px; top: 40px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream);
}
.work-card__title {
  position: absolute; left: 44px; right: 150px; bottom: 40px;
  font-family: var(--serif); font-size: 34px; line-height: 1.25; color: var(--cream);
}
.work-card__arrow {
  position: absolute; right: 0; bottom: 0;
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--cream) 12%, transparent);
  color: var(--cream);
  transition: background 0.3s ease;
}
.work-card__arrow svg { transition: transform 0.3s ease; }
.work-card:hover .work-card__arrow { background: rgba(255, 255, 255, 0.2); }
.work-card:hover .work-card__arrow svg { transform: rotate(45deg); }

/* ---------- 4. offers ---------- */

.offers__title { margin-bottom: 46px; }
.offer {
  position: relative;
  min-height: 420px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: space-between;
  color: var(--ink);
}
.offer::before { content: ""; position: absolute; inset: 20px; border: 2px solid var(--olive); pointer-events: none; }   /* inner frame, as on the hero card (user 10.10) */
.offer--blush { background: var(--blush); }
.offer--sage { background: var(--sage); }
.offer__badge {
  display: inline-block;
  padding: 7px 14px;
  background: var(--olive);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.offer__title { margin: 24px 0 0; font-size: 30px; }
.offer__text { margin: 14px 0 0; max-width: 420px; font-size: 15px; }
.offer__foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.offer__price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.offer__price b { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.offer__price s { font-size: 15px; opacity: 0.6; }
.offer .btn { height: 48px; padding: 0 26px; }

/* 25.10 (owner: «можливість додавання лише одної» акції): the owner may keep a single offer, and the empty card is removed
   on the live site (data-needs). The one that stays has to read as a banner made for one, not as half a row with a hole:
   it takes the whole row and lays its content out sideways, the call to action on the right, centred against the rows the
   owner actually filled in. The phone keeps the stacked card. */
@media (min-width: 901px) {
  .offers__grid:has(> .offer:only-child) { grid-template-columns: minmax(0, 1fr); }
  .offers__grid:has(> .offer:only-child) > .offer {
    flex-direction: row; align-items: center; gap: clamp(40px, 5vw, 72px); min-height: 0; padding: 56px 60px; }
  .offers__grid:has(> .offer:only-child) > .offer > div:first-child { flex: 1 1 auto; min-width: 0; }
  .offers__grid:has(> .offer:only-child) > .offer .offer__text { max-width: 62ch; }
  .offers__grid:has(> .offer:only-child) > .offer > .offer__foot {
    flex: none; flex-direction: column; align-items: flex-end; gap: 18px; }
}


/* ---------- 5. find us ---------- */

.find__title { margin-bottom: 46px; }
.find { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.find__card {
  flex: 1 1 320px;
  min-width: 0;
  padding: 44px;
  background: var(--blush);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.find__card a { color: var(--ink); }
.find__row + .find__row .find__label { margin-top: 32px; }
.find__label { margin: 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; }
.find__value { margin: 8px 0 0; font-size: 18px; overflow-wrap: anywhere; }
.find__value--multiline { font-size: 16px; white-space: pre-line; }
.find__card .btn { margin-top: 36px; align-self: flex-start; min-height: 48px; height: auto; padding-top: 8px; padding-bottom: 8px; color: var(--cream); white-space: normal; text-align: center; line-height: 1.3; }
.find__map {
  flex: 999 1 420px;
  min-width: 0;
  min-height: 480px;
  position: relative;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.find__map-note {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  text-align: center;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
}
.find__map.p-map-on { background: var(--placeholder); }
.find__map:has(> .p-map-gate) .find__map-note { bottom: auto; top: 24px; }

/* ---------- 6. order form (P.book: bouquet → pick-up day & time → contacts) ---------- */

.order { padding-top: 0; }
.order__lead { margin: 20px 0 0; font-size: 15px; color: var(--text-2); }

.kf-prog { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: 14px; color: var(--muted); }   /* not in caps: «З» in caps reads as «3» */
.kf-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0 36px; }
.kf-bars i { height: 2px; background: color-mix(in srgb, var(--olive) 18%, transparent); }
.kf-bars i.on { background: var(--olive); }

.kf-title { margin: 0 0 22px; font-family: var(--serif); font-size: 26px; line-height: 1.25; }
.kf-cat { margin: 26px 0 10px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.kf-cat:first-of-type { margin-top: 0; }
/* 01.11 (owner: «тільки вид послуги, те що одразу у формі»): step 1 is one dropdown in the language box's look */
.kf-pick { position: relative; }
.kf-pick__btn {
  display: flex; align-items: center; gap: 16px; width: 100%;
  min-height: 56px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--olive);
  font-family: var(--text); font-size: 16px; text-align: left; cursor: pointer;
}
.kf-pick__btn:hover, .kf-pick__btn[aria-expanded="true"] { border-color: var(--olive); }
.kf-pick__v { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex: 1; min-width: 0; }
.kf-pick__name { min-width: 0; overflow-wrap: anywhere; }
.kf-pick__btn.is-empty .kf-pick__name { color: var(--muted); }
.kf-pick__meta { flex: none; font-size: 14px; opacity: 0.8; white-space: nowrap; }
.kf-pick__btn svg { flex: none; transition: transform 0.2s ease; }
.kf-pick__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.kf-pick__list {
  margin-top: 10px; max-height: min(336px, 56vh); overflow-y: auto; scrollbar-width: none;
  background: var(--placeholder); border: 1px solid var(--olive);
}
.kf-pick__list[hidden] { display: none; }
.kf-pick__list::-webkit-scrollbar { display: none; }
.kf-pick__cat { margin: 0; padding: 14px 18px 4px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.kf-pick__opt {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%;
  padding: 13px 18px; border: 0; background: transparent; color: var(--olive);
  font-family: var(--text); font-size: 16px; text-align: left; cursor: pointer;
}
.kf-pick__opt:hover, .kf-pick__opt[aria-selected="true"] { background: var(--olive); color: var(--cream); }
.kf-pick__opt-n { min-width: 0; overflow-wrap: anywhere; }
.kf-pick__opt-p { flex: none; font-size: 14px; opacity: 0.8; white-space: nowrap; }

.kf-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kf-opt {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--olive);
  font-size: 16px; text-align: left; cursor: pointer;
}
.kf-opt:hover { border-color: var(--olive); }
.kf-opt[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.kf-opt__price { flex: none; font-size: 14px; opacity: 0.8; white-space: nowrap; }

/* 15.10 (user: «форма трохи не врівноважена» + «букет на суму»): the florist's-choice amounts on top of step 1, the
   order so far in the aside; the title fits its column without breaking a word */
.order .h-section { font-size: 36px; hyphens: manual; }
.order .split__aside { position: sticky; top: 40px; }
.kf-aside { margin-top: 40px; padding: 24px 24px 20px; border: 1px solid var(--line); background: color-mix(in srgb, var(--olive) 4%, transparent); }
.kf-aside__title { margin: 0 0 14px; font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.kf-aside__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--olive) 20%, transparent); }
.kf-aside__k { flex: none; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.kf-aside__v { min-width: 0; font-size: 15px; text-align: right; overflow-wrap: anywhere; }
.kf-aside__row.is-empty .kf-aside__v { color: var(--muted); }
.kf-aside__hint { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.kf-fl__text { margin: -2px 0 16px; font-size: 15px; color: var(--text-2); }
.kf-fl__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kf-amt {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 14px;
  min-height: 124px; padding: 22px 20px; border: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--olive); text-align: left; cursor: pointer;
}
.kf-amt:hover { border-color: var(--olive); }
.kf-amt[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.kf-amt__price { font-family: var(--serif); font-size: 34px; line-height: 1; white-space: nowrap; }
.kf-amt__name { font-size: 14px; line-height: 1.35; color: var(--text-2); }
.kf-amt[aria-pressed="true"] .kf-amt__name { color: color-mix(in srgb, var(--cream) 80%, transparent); }
@media (max-width: 900px) {
  /* 03.11 (owner): the sections kept their desktop padding on the phone, so the gaps ran 80 to 192 */
  .section { padding: 44px var(--pad-x); }
  .works { padding: 44px var(--pad-x); }
  .page-head { padding: 44px var(--pad-x) 30px; }
  .pvp { padding: 44px var(--pad-x); }
  .footer { padding: 44px var(--pad-x); }
  .order .split__aside { position: static; }
  .kf-aside { display: none; }
}
@media (max-width: 600px) {
  .order .h-section { font-size: 30px; }
  .kf-fl__opts { gap: 8px; }
  .kf-amt { min-height: 100px; padding: 16px 14px; gap: 10px; }
  .kf-amt__price { font-size: 26px; }
  .kf-amt__name { font-size: 13px; }
}
.kf-sub { margin: 30px 0 12px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.kf-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.kf-days::-webkit-scrollbar { display: none; }
.kf-day {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 82px; height: 68px; padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--olive) 35%, transparent); border-radius: 0;
  background: transparent; color: var(--olive); cursor: pointer;
  font-size: 14px;
}
.kf-day span:first-child { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.kf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kf-chip {
  min-width: 76px; height: 44px; padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--olive) 35%, transparent); border-radius: 0;
  background: transparent; color: var(--olive); cursor: pointer;
  font-size: 14px; letter-spacing: 0.06em;
}
.kf-day:hover, .kf-chip:hover { border-color: var(--olive); }
.kf-day[aria-pressed="true"], .kf-chip[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.kf-day[aria-pressed="true"] span:first-child { color: color-mix(in srgb, var(--cream) 75%, transparent); }
.kf-skel { width: 76px; height: 44px; background: color-mix(in srgb, var(--olive) 8%, transparent); }
.kf-hint { margin: 0; font-size: 14px; color: var(--text-2); }
.kf-hint--gap { margin-top: 22px; }

.kf-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.kf-full { grid-column: 1 / -1; }
.kf-own { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.kf-own:empty { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field:has([required]) label::after { content: ' *'; }
.field input, .field textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--olive);
  font-size: 16px;
}
.field input { height: 48px; padding: 0 14px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive); }
.field.bad input, .field [aria-invalid], .field [aria-invalid]:focus { border-color: var(--error); }
.field.bad label { color: var(--error); }

.kf-err { margin: 22px 0 0; font-size: 14px; color: var(--error); }
.kf-nav { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.kf-back {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0;
  border: 0; background: none; color: var(--olive); cursor: pointer;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.kf-back:hover { color: var(--hover); }
.form__note { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.form__note a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }

.kf-done h3 { font-size: 30px; line-height: 1.2; }
.kf-done > p { margin: 14px 0 0; color: var(--text-2); }
.kf-ok { width: 56px; height: 56px; margin-bottom: 22px; display: grid; place-items: center; background: var(--sage); color: var(--ink); }
.kf-sum { margin: 28px 0 32px; border-top: 1px solid color-mix(in srgb, var(--olive) 20%, transparent); }
.kf-sum > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--olive) 20%, transparent); }
.kf-sum b { font-weight: 400; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.kf-off__text { margin: 0; font-size: 18px; line-height: 1.5; }
.kf-off__btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.kf-off__btns .btn { height: 48px; padding: 0 24px; }
.kf-off__soc { display: contents; }

/* ---------- 6b. contact form (14.10, index, right before the footer; the order form's fields / buttons / notice) ---------- */
.cf-sec { padding-top: 0; }
.cf-sec > .container { padding-top: 110px; border-top: 1px solid var(--line); }
/* layout (14.10 fix): two equal columns over the whole content width with the .split gap (94, 48 at ≤ 1100) */
.cf-sec .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cf-sec .split__aside { max-width: none; min-width: 0; }
.cf { position: relative; }
.cf[hidden], .cf-done[hidden], .cf-err[hidden], .kf-err[hidden] { display: none; }
.cf-under { margin-top: -18px; display: flex; flex-direction: column; gap: 6px; }
.cf-hint { font-size: 13px; color: var(--muted); }
.cf-err { margin: 0; font-size: 14px; color: var(--error); }
.cf-hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; overflow: hidden; }
.kf-off__btns [data-href="mailto"] { text-transform: none; letter-spacing: 0.04em; font-size: 14px; }
.kf-off__hours { margin: 22px 0 0; font-size: 14px; color: var(--text-2); }

/* ---------- footer ---------- */

.footer { padding: 80px var(--pad-x); background: var(--olive); color: var(--cream); }
.footer a { color: var(--cream); }
.footer a:hover { color: var(--sage); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px 60px; }
.footer__brand { flex: 1 1 280px; max-width: 420px; }
.footer__brand .logo { margin: 0; display: inline-block; }
.footer__tagline { margin: 14px 0 0; font-size: 15px; color: color-mix(in srgb, var(--cream) 75%, transparent); }
.footer__rights { margin: 46px 0 0; font-size: 13px; color: color-mix(in srgb, var(--cream) 55%, transparent); }
.footer__legal { margin: 6px 0 0; font-size: 13px; color: color-mix(in srgb, var(--cream) 55%, transparent); }
.footer__legal a { color: color-mix(in srgb, var(--cream) 75%, transparent); text-decoration: underline; text-underline-offset: 3px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 32px 90px; }
.footer__title { margin: 0 0 18px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 60%, transparent); }
.footer__cols p { margin: 0 0 10px; font-size: 15px; color: color-mix(in srgb, var(--cream) 88%, transparent); }
.footer__cols > div > :last-child { margin-bottom: 0; }
.footer__soc { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }

/* ---------- bouquets page ---------- */

.page-head { padding: 110px var(--pad-x) 70px; }
.page-head__inner { display: flex; flex-wrap: wrap; gap: 94px; align-items: flex-end; }
.page-head__main { flex: 999 1 420px; min-width: 0; max-width: 680px; }
.page-head h1 { margin: 18px 0 0; font-size: 62px; line-height: 1.08; }
.page-head__lead { margin: 0; flex: 1 1 280px; min-width: 0; font-size: 16px; color: var(--text-2); }

.filters { padding: 0 var(--pad-x) 44px; }
.filters__row { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  padding: 12px 22px;
  border: 1px solid color-mix(in srgb, var(--olive) 35%, transparent);
  border-radius: 0;
  background: transparent;
  color: var(--olive);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.filter:hover { color: var(--hover); }
.filter[aria-pressed="true"] { background: var(--olive); color: var(--cream); }

.catalog { padding: 0 var(--pad-x) 110px; }
/* the gallery of work (15.10): 3 columns, three tall photos, rows filled without gaps (9 photos = 4 rows); 2 columns on phones */
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 300px; grid-auto-flow: dense; gap: 12px; }
.gal__item { position: relative; margin: 0; overflow: hidden; background: var(--placeholder); }
.gal__item:nth-child(1), .gal__item:nth-child(6), .gal__item:nth-child(8) { grid-row: span 2; }
.gal__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.gal__item:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .gal { grid-auto-rows: 220px; } }
@media (max-width: 600px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .gal__item img { transition: none; } }
.card__photo { display: block; position: relative; height: 440px; background: var(--placeholder); overflow: hidden; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__tag {
  position: absolute; left: 16px; top: 16px;
  padding: 6px 12px;
  background: var(--blush);
  color: var(--ink);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.card__name { margin: 18px 0 0; font-family: var(--text); font-size: 18px; }
.card__desc { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.card__price { margin: 10px 0 0; font-size: 16px; }
.card[hidden] { display: none; }

.cta {
  min-height: 300px;
  padding: 60px;
  background: var(--sage);
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 60px;
}
.cta__text { flex: 1 1 420px; min-width: 0; max-width: 720px; }
.cta h2 { font-size: 40px; line-height: 1.14; }
.cta p { margin: 16px 0 0; font-size: 16px; }

/* ---------- privacy page ---------- */

.pvp { padding: 110px var(--pad-x) 110px; }
.pvp__in { max-width: 820px; }
.pvp h1 { margin: 0; font-size: 62px; line-height: 1.08; }
.pv-lead { margin: 28px 0 0; font-size: 17px; color: var(--text-2); }
.pv-sec { margin-top: 48px; }
.pv-sec h2 { font-size: 28px; line-height: 1.25; }
.pv-sec p { margin: 14px 0 0; }
.pvp .btn { margin-top: 56px; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  :root { --pad-x: 40px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .page-head__inner { gap: 48px; }
}

@media (max-width: 900px) {
  :root { --pad-x: 20px; }
  .grid-2, .grid-3, .kf-fields, .kf-own, .kf-opts { grid-template-columns: minmax(0, 1fr); }
  .h-section { font-size: 30px; }
  .page-head h1 { font-size: 38px; }
  .pvp h1 { font-size: 32px; }
  .hero { min-height: 600px; }
  .hero__card { padding: 44px 32px; gap: 28px; }
  .hero__card::before { inset: 12px; }
  .hero__title { font-size: 30px; }
  .plx__img { position: absolute; height: 100%; }      /* iOS has no fixed backgrounds — the source switches to scroll too */
  .seasonal { min-height: 0; padding-top: 44px; padding-bottom: 44px; }
  .product__photo { height: 320px; }
  .work-card { height: 420px; }
  .work-card__title { font-size: 26px; }
  .work-card__arrow { width: 68px; height: 68px; }
  .find__card, .cta { padding: 26px; }
  .offer { padding: 36px; }
  .offer::before { inset: 12px; }
  .card__photo { height: 300px; }
  .cta h2 { font-size: 28px; }
  .find__map { min-height: 360px; }
  .kf-title { font-size: 22px; }
  .cf-sec > .container { padding-top: 80px; }
  .cf-sec .split { grid-template-columns: minmax(0, 1fr); }
  .cf-under { margin-top: -14px; }
}

@media (max-width: 420px) {
  .header { padding-top: 16px; padding-bottom: 16px; }
  .header .btn { padding: 0 18px; }
  .work-card__eyebrow, .work-card__title { left: 24px; }
  .work-card__eyebrow { top: 24px; }
  .work-card__title { bottom: 24px; right: 84px; }
}

/* the editor: an empty service description still shows a grey hint, so the owner can click it and write one (a new
   service has only a name, price and length; user 14.10: up to 20 services) */
[data-mode="edit"] [data-t^="svc:"][data-t$=":desc"]:empty::before { content: "Опис послуги"; opacity: .4; }

/* Long service lists scroll inside their own box, the section keeps its height (user 14.10: up to 20 services). */
.kf > div:has(> .kf-opts) { max-height: min(480px, 78vh); overflow-y: auto; scrollbar-width: none; }
.catalog .grid-3 { max-height: min(1180px, 78vh); overflow-y: auto; scrollbar-width: none; }
@media (max-width: 900px) {
  .kf > div:has(> .kf-opts) { max-height: min(460px, 70vh); }
  /* the bouquet cards become one swipeable row on the phone */
  .catalog .grid-3 { max-height: none; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px) / 2); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 10px; }
  .catalog .grid-3 > * { scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .catalog .grid-3 { grid-auto-columns: 86%; }
}
/* 14.10 (user): the service lists scroll without a visible scrollbar */
.kf > div:has(> .kf-opts)::-webkit-scrollbar { display: none; }
.catalog .grid-3::-webkit-scrollbar { display: none; }
.catalog .grid-3::-webkit-scrollbar { display: none; }

/* ---------- 26.10: the «expert» block (courses, audience, plans, handbook, platform reviews) and its pages ----------
   Only the template's own palette (cream / olive / sage / blush / ink), square corners, the inner 2 px frame of the
   hero card and the offers, Playfair for headings, small letter-spaced caps for labels. */

.hdr-acc {
  display: inline-flex; align-items: center; height: 46px; padding: 0 18px;
  background: var(--placeholder); color: var(--olive);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
}
.hdr-acc:hover { color: var(--olive); background: color-mix(in srgb, var(--placeholder) 88%, var(--olive)); }
.hdr-acc[aria-current="page"] { background: var(--olive); color: var(--cream); }

.xp-price { margin: 0; font-family: var(--serif); font-size: 34px; line-height: 1.1; white-space: nowrap; }
.xp-price--s { font-size: 24px; }
.xp-ticks { margin: 24px 0 0; padding: 0; list-style: none; }
.xp-ticks li { position: relative; margin: 10px 0 0; padding-left: 24px; font-size: 15px; line-height: 1.5; }
.xp-ticks li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 12px; height: 1px; background: currentColor; }

/* «Мої курси» */
.xp-crs-sec { padding-bottom: 60px; }
.xp-all { margin-top: 32px; }
.xp-crc { display: flex; flex-direction: column; min-width: 0; }
.xp-crc__photo { height: 420px; }
.xp-crc__dur { margin-top: 18px; }
.xp-crc__name { margin: 8px 0 0; font-size: 24px; line-height: 1.25; }
.xp-crc__desc { margin: 8px 0 0; font-size: 15px; color: var(--text-2); }
.xp-crc__row { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.xp-crc__btn { height: 44px; padding: 0 20px; }

/* «Кому підходять мої курси»: a sage card with the inner frame of the offers */
.xp-aud-sec { padding-top: 60px; }
.xp-aud {
  position: relative; padding: 64px 60px; background: var(--sage); color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px 80px; align-items: start;
}
.xp-aud::before { content: ""; position: absolute; inset: 20px; border: 2px solid var(--olive); pointer-events: none; }
.xp-aud__kicker { color: color-mix(in srgb, var(--ink) 72%, transparent); }
.xp-aud .h-section { margin-top: 14px; color: var(--ink); }
.xp-aud__list { position: relative; }
.xp-aud__p { margin: 0; padding: 18px 0; display: flex; gap: 20px; border-top: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); font-size: 16px; }
.xp-aud__p:first-child { padding-top: 0; border-top: 0; }
.xp-aud__n { flex: none; min-width: 30px; font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.xp-aud__note { margin: 18px 0 0; font-size: 13px; color: color-mix(in srgb, var(--ink) 78%, transparent); }

/* «Придбати курс»: the plans on olive, the middle one a cream card with the olive frame (as the hero card, inverted) */
.xp-buy__head { max-width: 720px; margin-bottom: 46px; }
.xp-buy__head .h-section { margin-top: 14px; }
.xp-buy__kicker { color: color-mix(in srgb, var(--cream) 70%, transparent); }
.xp-buy__lead { margin: 18px 0 0; font-size: 15px; color: color-mix(in srgb, var(--cream) 80%, transparent); }
.xp-plan {
  position: relative; min-height: 480px; padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  border: 1px solid color-mix(in srgb, var(--cream) 30%, transparent); color: var(--cream);
}
.xp-plan--hi { background: var(--cream); color: var(--olive); border-color: var(--cream); }
.xp-plan--hi::before { content: ""; position: absolute; inset: 14px; border: 2px solid var(--olive); pointer-events: none; }
.xp-plan > * { position: relative; }
.xp-plan__badge { margin-bottom: 18px; }
.xp-plan__name { font-size: 28px; line-height: 1.2; color: inherit; }
.xp-plan__per { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.75; }
.xp-plan__foot .btn { margin-top: 24px; width: 100%; }
.xp-plan .btn--light:hover { background: var(--placeholder); color: var(--olive); }

/* «Посібник» */
.xp-guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 94px; align-items: center; }
.xp-guide__photo { height: 600px; background: var(--photo-bg); overflow: hidden; }
.xp-guide__photo img { width: 100%; height: 100%; object-fit: cover; }
.xp-guide__text .h-section { margin-top: 14px; hyphens: manual; }
.xp-guide__lead { margin: 20px 0 0; font-size: 16px; color: var(--text-2); }
.xp-guide__buy { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

/* «Відгуки платформи»: blush cards like the find-us card */
.xp-vr-sec { padding-top: 0; }
.xp-vr-sec > .container { padding-top: 110px; border-top: 1px solid var(--line); }
.xp-vr-sec .h-section { margin-top: 14px; }
.xp-vrc { margin: 0; padding: 40px 34px; background: var(--blush); color: var(--ink); display: flex; flex-direction: column; gap: 20px; }
.xp-vrc__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.xp-vrc__stars { font-size: 15px; letter-spacing: 0.18em; }
.xp-vrc__off { opacity: 0.3; }
.xp-vrc__date { font-size: 13px; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.xp-vrc__q { margin: 0; flex: 1; font-family: var(--serif); font-size: 19px; line-height: 1.5; }
.xp-vrc__by { display: flex; flex-direction: column; gap: 4px; }
.xp-vrc__name { font-size: 15px; }
.xp-vrc__course { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.xp-vrc__badge { align-self: flex-start; }

/* courses.html */
.xp-clist { display: flex; flex-direction: column; gap: 12px; }
.xp-cfull { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--blush); color: var(--ink); scroll-margin-top: 24px; }
.xp-cfull--b { background: var(--sage); }
.xp-cfull--b .xp-cfull__photo { order: 2; }
.xp-cfull__photo { min-height: 520px; background: var(--photo-bg); overflow: hidden; }
.xp-cfull__photo img { width: 100%; height: 100%; object-fit: cover; }
.xp-cfull__text { position: relative; padding: 60px; }
.xp-cfull .eyebrow, .xp-cfull .kf-sub { color: color-mix(in srgb, var(--ink) 72%, transparent); }
.xp-cfull__name { margin-top: 14px; font-size: 38px; line-height: 1.15; color: var(--ink); hyphens: manual; }
.xp-cfull__p { margin: 18px 0 0; font-size: 16px; }
.xp-cfull .xp-ticks { margin-top: 0; }
.xp-cfull .xp-guide__buy { margin-top: 32px; }
.xp-clist__note { margin-top: 28px; color: var(--text-2); }

/* services.html: the price list by category */
.xp-pgroup + .xp-pgroup { margin-top: 64px; }
.xp-pgroup__h { margin-bottom: 18px; font-size: 30px; line-height: 1.2; }
.xp-prows { border-bottom: 1px solid var(--line); }
.xp-prow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px 32px; padding: 22px 0; border-top: 1px solid var(--line); }
.xp-prow__name { font-family: var(--text); font-size: 18px; line-height: 1.35; }
.xp-prow__desc { margin: 4px 0 0; font-size: 14px; color: var(--text-2); }
.xp-prow__price { font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.xp-prow__btn { height: 44px; padding: 0 22px; }

/* index: the shop's services and prices (02.11), the same rows as the price page */
.hprice .h-section { margin-bottom: 30px; }
.hprice__rows { border-bottom: 1px solid var(--line); }
.xp-prow__dur { font-size: 14px; color: var(--text-2); white-space: nowrap; }
.xp-prow__dur:empty { display: none; }
.hprice__all { margin-top: 34px; }

/* course.html */
.xp-co-lead { margin: 0; }
.xp-prog { margin-top: 24px; }
.xp-prog__row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.xp-prog__bar { margin-top: 10px; height: 2px; background: color-mix(in srgb, var(--olive) 18%, transparent); }
.xp-prog__fill { width: 37.5%; height: 100%; background: var(--olive); }
.xp-co { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 72px; align-items: start; }
.xp-steps { position: sticky; top: 40px; }
.xp-steps ol { margin: 18px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.xp-step {
  width: 100%; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 13px 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--olive);
  font-size: 15px; line-height: 1.35; text-align: left; cursor: pointer;
}
.xp-step__n { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 12px; }
.xp-step__len { font-size: 12px; color: var(--muted); }
.xp-step.is-cur .xp-step__n { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.xp-step.is-done .xp-step__n { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.xp-step.is-locked { opacity: 0.5; cursor: default; }
.xp-step:not(.is-locked):hover .xp-step__t { color: var(--hover); }
.xp-steps__hint { margin: 14px 0 0; font-size: 13px; color: var(--text-2); }
.xp-lesson__h { margin: 0 0 22px; font-size: 32px; line-height: 1.2; }
.xp-player { position: relative; height: 480px; background: var(--photo-bg); overflow: hidden; }
.xp-player img { width: 100%; height: 100%; object-fit: cover; }
.xp-player__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.xp-player__len { position: absolute; right: 16px; bottom: 16px; padding: 6px 10px; background: var(--cream); color: var(--olive); font-size: 12px; letter-spacing: 0.1em; }
.xp-lesson__p { margin: 24px 0 0; font-size: 16px; color: var(--text-2); }
.xp-notes { margin-top: 40px; padding: 32px; border: 1px solid var(--line); }
.xp-notes__h { font-size: 22px; line-height: 1.25; }
.xp-notes__hint { margin: 8px 0 18px; font-size: 13px; color: var(--text-2); }
.xp-notes__row { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.xp-notes__saved { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.xp-lesson__nav { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.xp-team__h { margin-bottom: 28px; font-size: 36px; line-height: 1.2; }
.xp-team__card { padding: 32px; background: var(--placeholder); }
.xp-team__name { margin: 0; font-family: var(--serif); font-size: 22px; }
.xp-team__role { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }
.xp-rate__l { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.xp-stars { margin: 0; padding: 0; border: 0; display: flex; gap: 6px; }
.xp-stars label { position: relative; display: block; cursor: pointer; color: var(--olive); }
.xp-stars input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.xp-stars svg { display: block; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.xp-stars label.is-on svg { fill: currentColor; }
.xp-stars label:has(input:focus-visible) { outline: 2px solid var(--olive); outline-offset: 2px; }

@media (min-width: 901px) {
  .xp-plans, .xp-vr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .xp-crs-sec .split { flex-direction: column; gap: 40px; }
  .xp-crs-sec .split__aside { max-width: 640px; }
  .xp-crs-sec .split__main { align-self: stretch; width: 100%; }
  .xp-crs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xp-crc__photo { height: 340px; }
  .xp-aud { grid-template-columns: minmax(0, 1fr); padding: 56px 48px; }
  .xp-guide { gap: 48px; }
  .xp-co { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
  .xp-plan { padding: 40px 28px; }
  .xp-cfull__text { padding: 44px 40px; }
}
@media (max-width: 900px) {
  .xp-crs { grid-template-columns: minmax(0, 1fr); }
  .xp-crc__photo { height: 320px; }
  .xp-crs-sec { padding-bottom: 40px; }
  .xp-aud-sec { padding-top: 40px; }
  .xp-aud { padding: 44px 32px; }
  .xp-aud::before { inset: 12px; }
  .xp-buy__head { margin-bottom: 32px; }
  .xp-plan { min-height: 0; padding: 36px 26px; }
  .xp-plan--hi::before { inset: 10px; }
  .xp-guide { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .xp-guide__photo { height: 360px; }
  .xp-vr-sec > .container { padding-top: 80px; }
  .xp-vrc { padding: 32px 26px; }
  .xp-cfull { grid-template-columns: minmax(0, 1fr); }
  .xp-cfull--b .xp-cfull__photo { order: 0; }
  .xp-cfull__photo { min-height: 300px; height: 300px; }
  .xp-cfull__text { padding: 32px 26px; }
  .xp-cfull__name { font-size: 28px; }
  .xp-pgroup__h { font-size: 26px; }
  .xp-prow { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; }
  .xp-prow__btn { grid-column: 1 / -1; justify-self: start; }
  .xp-prow--home .xp-prow__name { grid-column: 1 / -1; }
  .hprice .h-section { margin-bottom: 22px; }
  .hprice__all { margin-top: 26px; }
  .xp-co { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .xp-steps { position: static; }
  .xp-player { height: 240px; }
  .xp-lesson__h { font-size: 26px; }
  .xp-notes { padding: 24px 20px; }
  .xp-team__h { font-size: 28px; }
}
@media (max-width: 420px) {
  .hdr-acc { padding: 0 12px; letter-spacing: 0.08em; }
}
