/* Marta Veselá — a nutritionist's site (Pochatok template «nutritionist»). Source: Templates/nutritionist-template
   (Claude Design boards Main / Recipes / Recipe, desktop 1440 fluid; the phone boards are the same files at 375).
   Look (source CLAUDE.md): one face — Vollkorn 400 / 500 / 600; ink #133700 for text, rules and dark bands; sage #95B484
   for plates, rules and choice dots; light fill #F2F6EE; calendar / time tiles #F6F9F3; hairlines #C9C9C9 / #EDEDED
   (never text). Content 1280 with clamp(20px, 5vw, 80px) sides. Every grid = repeat(auto-fit, minmax(min(X, 100%), 1fr)).
   Breakpoints: 1080 — the nav folds into the burger; 900 — the reviews' step is off; 860 — two-column parts stack and the
   hero panel goes down, full width. Buttons = text + a diagonal arrow without fill or frame; the arrow levels out on hover.
   Parallax: the hero, «Послуги» and «Рецепти» share one photo with background-attachment: fixed (desktop only — off on
   touch / ≤900, where iOS breaks it, and with reduced motion). [data-rise] blocks float up once (nutri.js). */

/* ---------- fonts (self-hosted variable Vollkorn 400–900; the site uses 400 / 500 / 600) ---------- */
@font-face { font-family: 'Vollkorn'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/vollkorn-var-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Vollkorn'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/vollkorn-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Vollkorn'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/vollkorn-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- tokens ---------- */
:root {
  /* palette base (palettes override only these four; the other shades are mixed from them) */
  --ink: #133700;
  --accent: #95B484;
  --tint: #F2F6EE;
  --white: #FFFFFF;
  /* derived shades (original values in brackets) */
  --cal: color-mix(in srgb, var(--tint) 71.5%, var(--white));    /* #F6F9F3 */
  --soft: color-mix(in srgb, var(--accent) 25%, var(--white));   /* #E4ECE0 */
  --opt: color-mix(in srgb, var(--accent) 9%, var(--tint));      /* #eaf0e4 */
  --ph: color-mix(in srgb, var(--accent) 5.5%, var(--tint));     /* #edf2e8 photo placeholders */
  --time-h: color-mix(in srgb, var(--accent) 13%, var(--tint));  /* #e6eedf */
  --hover: color-mix(in srgb, var(--ink) 68%, var(--accent));    /* was #3c6a1f */
  --line: #C9C9C9;   /* neutral hairlines — stay grey in every palette */
  --line2: #EDEDED;
  --err: #8c2f00;
  --pad: clamp(20px, 5vw, 80px);
  --sec: clamp(56px, 7vw, 112px);
  --nut-bg: url(../img/hero.webp);      /* the hero photo (nutri.js sets the owner's one) */
  --p-logo-h: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Vollkorn, Georgia, 'Times New Roman', serif; color: var(--ink); background: var(--white);
  font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--hover); }
button { font-family: inherit; }
h1, h2, h3, h4 { font-weight: 400; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.kicker { display: block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.h2 { margin: 18px 0 0; font-size: clamp(28px, 3.4vw, 42px); font-weight: 400; line-height: 1.22; }
.sub { margin: 18px 0 0; max-width: 560px; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.rule { width: 64px; height: 2px; background: var(--accent); margin: 26px 0 0; }

/* text + diagonal arrow (no fill, no frame); the arrow levels out on hover */
.lnk { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.ar { flex: 0 0 auto; transform: rotate(-45deg); transition: transform .32s cubic-bezier(.4, 0, .2, 1); }
.lnk:hover .ar, .svc:hover .ar, .rcard:hover .ar, .rp-card:hover .ar, .promo:hover .ar { transform: rotate(0deg); }
.lnk--ink, .lnk--ink:hover { color: var(--ink); }

/* section heads: title block + a counter / link on the right */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.sec-head__main { flex: 1 1 420px; min-width: 0; }
.counter { font-size: 15px; color: color-mix(in srgb, var(--ink) 60%, transparent); white-space: nowrap; padding-bottom: 6px; }

/* ---------- reveal: [data-rise] floats up once (nutri.js adds html.js-rise; never in the editor / previews) ---------- */
.js-rise [data-rise] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js-rise [data-rise].is-in { opacity: 1; transform: none; }
.js-rise .rise-2 { transition-delay: .12s; }
.js-rise .rise-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  [data-rise], .js-rise [data-rise] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ar, .svc, .track, .rail__bar, .bigcta, .rcard, .rp-card { transition: none !important; }
}

/* ---------- header ---------- */
.hdr { position: relative; z-index: 60; background: var(--white); }
.hdr__bar { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; text-decoration: none; color: inherit; min-width: 0; }
.brand:hover { color: inherit; }
.brand__name { display: block; font-size: 26px; font-weight: 600; letter-spacing: .01em; line-height: 1.1; }
.brand__role { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 70%, transparent); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { position: relative; text-decoration: none; color: var(--ink); font-size: 15px; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--accent); transition: right .22s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.hdr__tools { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.hdr__cta { gap: 10px; height: 44px; font-size: 16px; letter-spacing: .04em; white-space: nowrap; }
.burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: transparent;
  border: 1px solid var(--line); color: var(--ink); cursor: pointer; }

/* language dropdown (header: a 44 square with the code; footer: the name + ▾, opens upwards) */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line); color: var(--ink); font-size: 14px; letter-spacing: .08em; cursor: pointer;
  transition: background-color .18s ease, color .18s ease; }
.lang__btn:hover, .lang.is-open .lang__btn { background: var(--ink); color: #fff; }
.lang__list { display: none; position: absolute; top: 52px; right: 0; z-index: 70; min-width: 190px; margin: 0; padding: 6px 0;
  list-style: none; background: var(--white); border: 1px solid var(--ink); }
.lang.is-open .lang__list { display: block; }
.lang__opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 16px; text-align: left; cursor: pointer;
  font-size: 15px; line-height: 1.4; border: 0; color: var(--ink); background: var(--white); }
.lang__opt:hover, .lang__opt[aria-selected="true"] { background: var(--opt); }
.lang__code { letter-spacing: .1em; font-size: 12px; width: 26px; display: inline-block; }
.lang--foot .lang__btn { justify-content: space-between; gap: 12px; width: auto; min-width: 190px; height: 48px; padding: 0 16px;
  border-color: rgba(255,255,255,.5); color: #fff; font-size: 15px; letter-spacing: 0; }
.lang--foot .lang__btn:hover, .lang--foot.is-open .lang__btn { background: rgba(255,255,255,.08); color: #fff; }
.lang--foot .lang__chev { font-size: 10px; }
.lang--foot .lang__list { top: auto; bottom: 56px; left: 0; right: auto; z-index: 20; }

/* phone menu: drops down under the bar */
.menu { display: none; border-top: 1px solid var(--line); background: var(--white); padding: 16px var(--pad) 28px; }
body.is-menu .menu { display: block; }
.menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line2); text-decoration: none; color: var(--ink); font-size: 18px; }
.menu .menu__cta { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; height: 56px; border-bottom: 0; }
@media (max-width: 1080px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: inline-flex; }
}

/* ---------- hero (parallax photo, a white panel on the right) ---------- */
.hero { position: relative; height: clamp(520px, calc(56vw + 300px), 800px); overflow: hidden; background-color: var(--ph);
  background-image: var(--nut-bg); background-size: cover; background-position: center; background-attachment: fixed; }
.bgsrc { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hero__flex { position: relative; height: 100%; width: 100%; padding-right: clamp(16px, 8%, 150px); display: flex;
  justify-content: flex-end; align-items: stretch; }
.hero__panel { width: 560px; max-width: 100%; height: 100%; background: color-mix(in srgb, var(--white) 92%, transparent); padding: clamp(32px, 4vw, 72px);
  display: flex; flex-direction: column; justify-content: center; text-align: center; }
.hero h1 { margin: 20px 0 0; font-size: clamp(28px, 3.6vw, 46px); font-weight: 400; line-height: 1.32; }
.hero p { margin: 22px 0 0; font-size: 17px; line-height: 1.7; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.hero__cta { justify-content: center; gap: 12px; margin-top: 30px; height: 54px; font-size: 18px; letter-spacing: .04em; }

/* ---------- about: text left, photo right (560) ---------- */
.about { background: var(--white); min-height: clamp(560px, calc(62vw + 230px), 900px); padding-right: clamp(16px, 8%, 150px);
  display: flex; flex-direction: row-reverse; align-items: stretch; }
.about__ph { position: relative; width: 560px; flex: 0 0 auto; align-self: stretch; overflow: hidden; background: var(--soft); }
.about__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__ph.is-tpl img { object-position: 63% 68%; transform: scale(1.4); transform-origin: 63% 68%; }   /* the source's framing of its photo */
.about__txt { flex: 1 1 0; min-width: 0; display: flex; align-items: center; padding: clamp(40px, 5vw, 80px) clamp(24px, 4vw, 72px); }
.about__in { width: 100%; max-width: 640px; }
.about__in p { margin: 18px 0 0; color: color-mix(in srgb, var(--ink) 82%, transparent); }
.about__in .rule + p { margin-top: 26px; }
/* desktop: the hero panel and «Про мене» keep to the same 1280 column as «Послуги» (user 12.10: «херо і наступна секція
   мають мати обмеження по ширині в десктопі як в секції Послуги») — the photo backgrounds still run edge to edge.
   --col = the column's outer offset from the window edge + the column's own padding = where «Послуги» content starts / ends. */
@media (min-width: 861px) {
  .hero, .about { --col: calc(max(0px, (100% - 1280px) / 2) + var(--pad)); }
  .hero__flex { padding-right: var(--col); }
  .about { padding-right: var(--col); padding-left: var(--col); }
  .about__txt { padding-left: 0; }
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 24px; margin-top: 44px; padding-top: 36px;
  border-top: 1px solid var(--line); }
.stat__n { display: block; font-size: 40px; font-weight: 600; line-height: 1; }
.stat__l { display: block; margin-top: 8px; font-size: 14px; color: color-mix(in srgb, var(--ink) 70%, transparent); }

/* ---------- parallax bands (services, recipes on the home page) ---------- */
.band { background-color: var(--tint); background-image: var(--nut-bg); background-size: cover; background-position: center; background-attachment: fixed; }
.band__veil { background: color-mix(in srgb, var(--tint) 90%, transparent); padding: var(--sec) 0; }

/* services: a slider of 3 cards per page, chevrons, a rail */
.slider { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.chev { position: absolute; top: 50%; z-index: 5; display: flex; align-items: center; justify-content: center; width: 44px; height: 56px;
  padding: 0; background: transparent; border: 0; cursor: pointer; color: color-mix(in srgb, var(--ink) 45%, transparent); transform: translateY(-50%);
  transition: color .2s ease, transform .2s ease; }
.chev:hover { color: var(--ink); }
.chev--prev { left: clamp(-56px, -4.4vw, -20px); }
.chev--next { right: clamp(-56px, -4.4vw, -20px); }
.chev--prev:hover { transform: translateY(-50%) translateX(-5px); }
.chev--next:hover { transform: translateY(-50%) translateX(5px); }
.track-vp { overflow: hidden; cursor: grab; touch-action: pan-y; }
.track-vp.is-drag { cursor: grabbing; }
[data-mode="edit"] .track-vp { cursor: auto; }
[data-mode="edit"] .about__ph > .p-replace { top: 64px; }
.track { display: flex; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.track__page { flex: 0 0 100%; min-width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px; align-items: stretch; }
.svc { background: var(--white); padding: clamp(32px, 3vw, 48px); display: flex; flex-direction: column; min-height: 380px;
  transition: background-color .32s ease, color .32s ease; }
.svc__meta { display: block; font-size: 15px; color: color-mix(in srgb, var(--ink) 60%, transparent); transition: color .32s ease; }
.svc h3 { margin: 26px 0 0; font-size: clamp(24px, 2.1vw, 31px); font-weight: 400; line-height: 1.16; letter-spacing: -.01em; }
.svc p { margin: 18px 0 0; font-size: 16px; line-height: 1.7; flex-grow: 1; color: color-mix(in srgb, var(--ink) 72%, transparent); transition: color .32s ease; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 44px; }
.svc__price { font-size: 32px; font-weight: 500; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.svc__unit { font-size: 17px; }
.svc__go { justify-content: flex-end; flex: 0 0 auto; width: 52px; height: 52px; color: inherit; }
.svc__go:hover { color: inherit; }
.svc:hover { background: var(--ink); color: #fff; }
.svc:hover .svc__meta, .svc:hover p { color: rgba(255,255,255,.74); }
.rail { margin-top: 32px; padding: 12px 0; cursor: grab; }
.rail__line { position: relative; height: 1px; background: color-mix(in srgb, var(--ink) 16%, transparent); }
.rail__bar { position: absolute; top: 0; height: 1px; background: var(--ink); transition: left .55s cubic-bezier(.4, 0, .2, 1); }
.slider.is-single .chev, .slider.is-single + .rail { display: none; }

/* ---------- promos ---------- */
.promos { background: var(--white); padding: var(--sec) 0; }
.promos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.promo { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; min-height: 360px; background: var(--ink); color: #fff; }
.promo--sage { background: var(--accent); color: var(--ink); }
.promo__v { display: block; font-size: clamp(54px, 6.4vw, 92px); font-weight: 500; line-height: .92; letter-spacing: -.03em; }
.promo h3 { margin: 28px 0 0; font-size: clamp(22px, 2vw, 28px); font-weight: 400; line-height: 1.22; }
.promo p { margin: 16px 0 0; font-size: 16px; line-height: 1.7; flex-grow: 1; color: rgba(255,255,255,.74); }
.promo--sage p { color: color-mix(in srgb, var(--ink) 78%, transparent); }
.promo__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.3); }
.promo--sage .promo__foot { border-top-color: color-mix(in srgb, var(--ink) 26%, transparent); }
.promo__until { font-size: 15px; }
.promo__go { justify-content: flex-end; flex: 0 0 auto; width: 52px; height: 52px; color: inherit; }
.promo__go:hover { color: inherit; }

/* ---------- recipes on the home page: square photo cards with a frosted bar ---------- */
.recs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 60px); }
.all-link { gap: 8px; height: 52px; font-size: 17px; letter-spacing: .04em; white-space: nowrap; }
.rcard { position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--soft); overflow: hidden; display: flex; align-items: flex-end;
  padding: 0 0 clamp(68px, 15%, 160px); transition: transform .2s ease; }
.rcard:hover { transform: translateY(-3px); }
.rcard__ph { position: absolute; inset: 0; }
.rcard__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rcard__bar { position: relative; z-index: 2; width: calc(100% + 2px); margin: 0 -1px; background: color-mix(in srgb, var(--white) 86%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: clamp(20px, 2.2vw, 28px) clamp(22px, 2.6vw, 36px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rcard__bar > div { min-width: 0; }
.rcard h3 { margin: 0; font-size: clamp(19px, 1.6vw, 23px); font-weight: 400; line-height: 1.25; }
.rcard__meta { margin: 8px 0 0; font-size: 14px; color: color-mix(in srgb, var(--ink) 68%, transparent); }
.rcard__go { justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; }

/* ---------- reviews (no avatars), a step between the three ---------- */
.reviews { background: var(--white); padding: var(--sec) 0; }
.revs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: clamp(32px, 4vw, 64px);
  margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.rev { margin: 0; }
.rev:nth-child(2) { margin-top: 72px; }
.rev:nth-child(3) { margin-top: 36px; }
.rev blockquote { margin: 0; font-size: clamp(20px, 1.7vw, 25px); font-weight: 400; line-height: 1.48; letter-spacing: -.005em; }
.rev .rule { width: 40px; height: 1px; margin: 32px 0 0; }
.rev figcaption { margin-top: 20px; font-size: 15px; color: color-mix(in srgb, var(--ink) 64%, transparent); }
@media (max-width: 900px) { .rev:nth-child(2), .rev:nth-child(3) { margin-top: 0; } }

/* ---------- call to action (dark) ---------- */
.cta { background: var(--ink); padding: clamp(64px, 8vw, 128px) 0; color: #fff; }
.cta__top { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 72px); align-items: flex-end; justify-content: space-between; }
.cta__main { flex: 1 1 520px; min-width: 0; }
.cta .kicker { color: rgba(255,255,255,.6); }
.cta h2 { margin: 26px 0 0; max-width: 15ch; font-size: clamp(32px, 5vw, 68px); font-weight: 400; line-height: 1.06; letter-spacing: -.02em; color: #fff; }
.cta__text { flex: 0 1 420px; margin: 0; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.74); }
.bigcta { display: flex; justify-content: space-between; gap: 24px; margin-top: clamp(44px, 6vw, 88px); padding: clamp(22px, 2.4vw, 34px) 0;
  border-top: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); color: #fff;
  transition: padding-left .3s cubic-bezier(.4, 0, .2, 1); }
.js-rise .bigcta[data-rise] { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), padding-left .3s cubic-bezier(.4, 0, .2, 1); }
.bigcta:hover { padding-left: 18px; color: #fff; }
.bigcta > span { font-size: clamp(26px, 3.6vw, 46px); font-weight: 400; line-height: 1; letter-spacing: -.015em; }

/* ---------- contacts + map ---------- */
.con { background: var(--tint); padding: var(--sec) 0; }
.mapwrap { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.map { position: relative; width: 100%; aspect-ratio: 21 / 9; min-height: 340px; background: var(--soft); border: 1px dashed var(--accent); overflow: hidden; }
.map__draw { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map .p-map-gate { left: auto; right: 20px; transform: none; }           /* the consent plate clears the address card */
.addr { position: absolute; top: 50%; left: clamp(16px, 3.5vw, 56px); z-index: 4; transform: translateY(-50%); width: min(calc(100% - 32px), 420px);
  background: var(--white); padding: clamp(28px, 3vw, 40px); }
.addr__k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 66%, transparent); }
.addr__v { margin: 16px 0 0; font-size: clamp(21px, 1.8vw, 26px); font-weight: 400; line-height: 1.3; }
.addr dl { margin: 26px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 16px; }
.addr dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 66%, transparent); padding-top: 4px; }
.addr dd { margin: 0; }
.addr__route { gap: 10px; margin-top: 24px; height: 44px; font-size: 17px; letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 1000px) { .addr { position: static; transform: none; width: 100%; } }
.cgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 32px 28px; margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); }
.cgrid__k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.cgrid__big { display: inline-block; margin-top: 10px; font-size: 20px; text-decoration: none; overflow-wrap: anywhere; }
.cgrid__list { margin-top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cgrid__list a { font-size: 17px; text-decoration: none; }
.cgrid__v { margin-top: 10px; font-size: 17px; }

/* ---------- booking: steps on the left, the current step on the right ---------- */
.booking { background: var(--white); padding: var(--sec) 0; }
.bk { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 72px); margin-top: clamp(40px, 5vw, 64px); align-items: flex-start; }
.bk__side { flex: 0 1 300px; min-width: min(260px, 100%); }
.bk__main { flex: 999 1 520px; min-width: 0; } /* 14.10: runs to the .wrap column edge like the neighbours (was max 560) */
.bk-st { display: flex; gap: 10px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line2); color: color-mix(in srgb, var(--ink) 36%, transparent); }
.bk-st.is-done { color: color-mix(in srgb, var(--ink) 78%, transparent); }
.bk-st.is-cur { color: var(--ink); }
.bk-st__n { flex: 0 0 auto; width: 28px; font-size: 13px; letter-spacing: .08em; color: color-mix(in srgb, var(--ink) 42%, transparent); }
.bk-st__b { flex: 1 1 auto; min-width: 0; }
.bk-st__l { display: block; font-size: 17px; }
.bk-st__v { display: block; margin-top: 4px; font-size: 14px; color: color-mix(in srgb, var(--ink) 58%, transparent); }
.bk-st__v:empty { display: none; }
.bk-total { margin-top: 30px; }
.bk-total__k { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 55%, transparent); }
.bk-total__v { display: block; margin-top: 10px; font-size: 26px; font-weight: 500; line-height: 1; }
.bk-step { display: none; }
.bk-step.is-on { display: block; }
.bk-q { margin: 0 0 28px; font-size: clamp(22px, 2vw, 30px); font-weight: 400; line-height: 1.2; }
.bk-q--s { margin-bottom: 10px; }
.bk-hint { margin: 0; font-size: 15px; color: color-mix(in srgb, var(--ink) 62%, transparent); }
.opts { border-top: 1px solid var(--line2); }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 18px 20px 0; text-align: left;
  cursor: pointer; font-size: inherit; line-height: 1.5; border: 0; border-bottom: 1px solid var(--line2); color: var(--ink); background: transparent; }
.opt[aria-pressed="true"] { background: var(--tint); }
.opt__l { display: flex; align-items: center; gap: 14px; min-width: 0; }
.opt__dot { flex: 0 0 auto; width: 8px; height: 8px; margin-left: 18px; background: var(--accent); opacity: 0; transition: opacity .2s ease; }
.opt[aria-pressed="true"] .opt__dot { opacity: 1; }
.opt__name { font-size: 19px; text-align: left; }
.opt__m { font-size: 15px; color: color-mix(in srgb, var(--ink) 62%, transparent); white-space: nowrap; }
@media (max-width: 560px) {
  .opt { flex-direction: column; align-items: flex-start; gap: 4px; }
  .opt__m { white-space: normal; padding-left: 40px; }
}
.cal { background: var(--cal); padding: 32px clamp(24px, 5vw, 70px); max-width: 560px; margin-top: 32px; }
.cal__head { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; max-width: 420px; }
.cal__title { flex: 1 1 auto; font-size: 21px; }
.cal__nav { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 0;
  cursor: pointer; color: color-mix(in srgb, var(--ink) 45%, transparent); transition: color .2s ease; }
.cal__nav:hover:not(:disabled) { color: var(--ink); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; max-width: 420px; }
.cal__wd { display: block; text-align: center; font-size: 12px; letter-spacing: .08em; color: color-mix(in srgb, var(--ink) 45%, transparent); padding-bottom: 10px; }
.cal__day { display: flex; align-items: center; justify-content: center; width: min(52px, 100%); aspect-ratio: 1 / 1; margin: 0 auto; padding: 0;
  border: 0; border-radius: 50%; background: transparent; font-size: 17px; color: var(--ink); cursor: pointer; }
.cal__day:disabled { color: color-mix(in srgb, var(--ink) 22%, transparent); cursor: default; }
.cal__day:not(:disabled):hover { background: var(--tint); }
.cal__day.is-sel, .cal__day.is-sel:hover { background: var(--ink); color: #fff; }
.times-k { margin-top: 30px; margin-bottom: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 60%, transparent); }
.times { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(110px, 100%), 1fr)); gap: 8px; }
.time { height: 56px; border: 0; cursor: pointer; font-size: 17px; color: var(--ink); background: var(--tint); }
.time:hover { background: var(--time-h); }
.time.is-sel { background: var(--ink); color: #fff; }
.times-note { margin: 0; font-size: 15px; color: color-mix(in srgb, var(--ink) 62%, transparent); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px 32px; }
.fields__own { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px 32px; }
.fields__own:empty { display: none; }
.fld label { display: block; font-size: 13px; color: color-mix(in srgb, var(--ink) 60%, transparent); }
.fld input, .fld textarea { display: block; width: 100%; height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--ink); font-family: inherit; font-size: 18px; }
.fld textarea { height: auto; min-height: 72px; padding-top: 12px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-bottom-color: var(--ink); }
.fld input::placeholder { color: color-mix(in srgb, var(--ink) 35%, transparent); }
.fld__err { display: none; margin-top: 8px; font-size: 14px; color: var(--err); }
.fld.has-err .fld__err { display: block; }
.fld.has-err input, .fld [aria-invalid] { border-bottom-color: var(--err); }
.bk-note { margin: 36px 0 0; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.bk-done-t { margin: 0; font-size: clamp(28px, 3.2vw, 40px); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
.bk-done-p { margin: 20px 0 0; max-width: 460px; color: color-mix(in srgb, var(--ink) 74%, transparent); }
.bk-err { margin: 24px 0 0; font-size: 15px; color: var(--err); }
.bk-err[hidden] { display: none; }
.bk-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; justify-content: space-between; margin-top: 48px; padding-top: 26px;
  border-top: 1px solid var(--line2); }
.bk-back { height: 44px; padding: 0; background: transparent; border: 0; color: color-mix(in srgb, var(--ink) 60%, transparent); font-size: 16px; cursor: pointer; transition: color .2s ease; }
.bk-back:hover { color: var(--ink); }
.bk-go { gap: 12px; margin-left: auto; height: 48px; padding: 0; background: transparent; border: 0; color: var(--ink); font-size: 19px;
  letter-spacing: .02em; cursor: pointer; }
.bk-go[hidden], .bk-back[hidden] { display: none; }
.bk-go:disabled { opacity: .5; cursor: default; }
.bk-off { max-width: 640px; margin-top: clamp(40px, 5vw, 64px); }
.bk-off__t { margin: 0; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.48; }
.bk-off__links { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 28px; }
.bk-off__links .lnk { gap: 10px; height: 48px; font-size: 18px; }
.bk-off__hours { margin: 16px 0 0; font-size: 15px; color: color-mix(in srgb, var(--ink) 62%, transparent); }

/* ---------- contact form (14.10: unified texts cf.*, the booking form's fields / arrow button) ---------- */
.cfn { background: var(--tint); padding: var(--sec) 0; }
/* 14.10 composition: two equal columns over the .wrap width (one column ≤860, the template's phone board) */
.cfn__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
@media (max-width: 860px) { .cfn__in { grid-template-columns: minmax(0, 1fr); } }
.cfn__intro { min-width: 0; }
.cfn__intro .h2 { margin-top: 0; }   /* on the form's top line */
.cfn__lead { margin: 20px 0 0; max-width: 420px; color: color-mix(in srgb, var(--ink) 74%, transparent); }
.cfn__main { min-width: 0; }
.cf__full { grid-column: 1 / -1; }
.cf__under { margin-top: -16px; }
.cf__hint { margin: 0; font-size: 14px; color: color-mix(in srgb, var(--ink) 62%, transparent); }
.cf-err { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--err); }
.cf__under .cf-err { margin-top: 4px; }
.cf .fld [aria-invalid], .cf .fld [aria-invalid]:focus { border-bottom-color: var(--err); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf__nav { margin-top: 40px; }
.cf__done { padding-top: 8px; }
.cfn .bk-note { margin-top: 28px; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #fff; padding: clamp(48px, 6vw, 88px) 0 0; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { color: rgba(255,255,255,.72); }
.ftr__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px 32px; }
.ftr__name { display: block; font-size: 24px; font-weight: 600; line-height: 1.3; --p-logo-h: 52px; }
.ftr__role { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.ftr__k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.ftr__col { margin-top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 16px; line-height: 1.6; }
.ftr__col a { font-size: 16px; overflow-wrap: anywhere; }
.ftr__col .ftr__soft { color: rgba(255,255,255,.84); }
.ftr__addr { color: rgba(255,255,255,.84); }
.ftr__lang { position: relative; margin-top: 14px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 5vw, 64px); padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.28); font-size: 14px; color: rgba(255,255,255,.72); }
.ftr__bottom a { color: rgba(255,255,255,.72); }

/* ---------- recipes page: cover + filter + grid ---------- */
.cover { position: relative; overflow: hidden; background: var(--white); }
.cover__img { position: absolute; inset: 0; background-color: var(--ph); }
.cover__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cover__flex { position: relative; height: clamp(400px, 34vw, 500px); width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; pointer-events: none; }
.cover__panel { width: 560px; max-width: 100%; background: color-mix(in srgb, var(--white) 92%, transparent); padding: clamp(28px, 3.4vw, 48px); pointer-events: auto; }
.back { gap: 10px; font-size: 14px; letter-spacing: .08em; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.back:hover { color: var(--ink); }
.back .ar { transform: rotate(-135deg); }
.back:hover .ar { transform: rotate(-180deg); }
.cover h1 { margin: 18px 0 0; font-size: clamp(30px, 3.8vw, 50px); font-weight: 400; line-height: 1.16; }
.cover__sub { margin: 16px 0 0; color: color-mix(in srgb, var(--ink) 80%, transparent); }
.rp { background: var(--white); padding: clamp(48px, 6vw, 88px) 0; }
.rp__k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip { height: 44px; padding: 0 22px; cursor: pointer; font-size: 15px; color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.chip:hover { border-color: var(--ink); }
.chip.is-on { color: #fff; background: var(--ink); border-color: var(--ink); }
.rp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; margin-top: 44px; }
.rp-card { background: var(--white); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
.rp-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.rp-card[hidden] { display: none; }
.rp-card__ph { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ph); }
.rp-card__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rp-card__b { padding: 26px 28px 30px; }
.rp-card__cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 66%, transparent); }
.rp-card h2 { margin: 12px 0 0; font-size: 21px; font-weight: 500; line-height: 1.35; }
.rp-card__meta { margin: 12px 0 0; font-size: 14px; letter-spacing: .06em; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.rp-card__go { gap: 10px; margin-top: 18px; height: 48px; font-size: 15px; letter-spacing: .04em; }

/* ---------- one recipe (recipe.html#r1 …) ---------- */
.recipe { background: var(--white); padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 112px); }
.recipe__back { gap: 10px; font-size: 15px; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.recipe__top { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); margin-top: 32px; align-items: flex-start; }
.recipe__phcol { flex: 1 1 420px; min-width: 0; }
.recipe__ph { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--soft); }
.recipe__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.recipe__info { flex: 1 1 440px; min-width: 0; }
/* the editor's list controls (12.10): placeholders of an empty new row, × at the row's end, «+ Додати …» under the list */
[data-mode="edit"] .ing__n:empty::before { content: "Інгредієнт"; opacity: .35; }
[data-mode="edit"] .ing__q:empty::before { content: "кількість"; opacity: .35; }
[data-mode="edit"] .stp p:empty::before { content: "Опис кроку"; opacity: .35; }
[data-mode="edit"] .rp-card h3:empty::before, [data-mode="edit"] .recipe__info h1:empty::before { content: "Назва рецепта"; opacity: .35; }
[data-mode="edit"] .rp-card__cat:empty::before, [data-mode="edit"] .recipe__cat:empty::before { content: "Категорія"; opacity: .35; }
[data-mode="edit"] .ing, [data-mode="edit"] .stp { position: relative; padding-right: 40px; }
.ing > .p-list-del, .stp > .p-list-del { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.rec-del { margin-top: 28px; padding: 0 12px; height: 36px; }
.rp-add { margin-top: 32px; }
.recipe__video { gap: 12px; margin-top: 36px; min-height: 54px; font-size: 18px; letter-spacing: .04em; }   /* the source's «Смотреть видео рецепта» */
.recipe__cat { display: block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 66%, transparent); }
.recipe h1 { margin: 20px 0 0; font-size: clamp(30px, 3.6vw, 46px); font-weight: 400; line-height: 1.16; letter-spacing: -.01em; }
.metrics { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line2); }
.metric__n { font-size: 30px; font-weight: 500; line-height: 1; }
.metric__l { margin-top: 8px; font-size: 14px; color: color-mix(in srgb, var(--ink) 66%, transparent); }
.recipe__body { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--line2); align-items: flex-start; }
.ings { flex: 0 1 340px; min-width: min(260px, 100%); }
.ings h2, .steps h2 { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 400; line-height: 1.2; }
.ings__serv { margin: 10px 0 0; font-size: 14px; color: color-mix(in srgb, var(--ink) 60%, transparent); }
.ings__list { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line2); }
.ing { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line2); }
.ing__n { font-size: 17px; min-width: 0; }
.ing__q { font-size: 15px; color: color-mix(in srgb, var(--ink) 62%, transparent); white-space: nowrap; }
.steps { flex: 999 1 440px; min-width: 0; max-width: 640px; }
.steps__list { margin: 22px 0 0; padding: 0; list-style: none; }
.stp { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line2); }
.stp__n { flex: 0 0 auto; width: 28px; font-size: 13px; letter-spacing: .08em; color: color-mix(in srgb, var(--ink) 45%, transparent); padding-top: 6px; }
.stp p { margin: 0; font-size: 17px; line-height: 1.7; color: color-mix(in srgb, var(--ink) 84%, transparent); }

/* ---------- privacy ---------- */
.pv { max-width: 860px; padding: clamp(40px, 5vw, 72px) 0 var(--sec); }
.pv__title { margin: 0; font-size: clamp(30px, 3.6vw, 46px); font-weight: 400; line-height: 1.16; }
.pv__lead { margin: 20px 0 0; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.pv__sec { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line2); }
.pv__sec h2 { margin: 0; font-size: clamp(21px, 1.8vw, 26px); font-weight: 400; line-height: 1.3; }
.pv__sec p { margin: 14px 0 0; color: color-mix(in srgb, var(--ink) 84%, transparent); }
.pv__back { gap: 12px; margin-top: 48px; height: 54px; font-size: 18px; letter-spacing: .04em; }

/* ---------- editor (mode edit): the runtime's helpers in this template ---------- */
.brand .p-logo { height: 44px; }
.ftr__name .p-logo { height: 52px; }

/* ---------- ≤900: parallax off (iOS breaks background-attachment: fixed); touch too ---------- */
@media (max-width: 900px), (hover: none) {
  .hero, .band { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
  .hero, .band { background-attachment: scroll; }
}

/* ---------- ≤860: two-column parts stack, the hero panel goes down, full width ---------- */
@media (max-width: 860px) {
  .hero { height: 640px; }
  .hero__flex { align-items: flex-end; padding-right: 0; }
  .hero__panel { width: 100%; height: auto; padding: 36px 24px 44px; }
  .about { flex-direction: column; padding-right: 0; }
  .about__ph { width: 100%; height: 440px; flex: none; }
  .about__txt { flex: none; }
  .cover__img { position: relative; height: 280px; }
  .cover__img img { object-position: right center; }
  .cover__flex { height: auto; padding: 0; }
  .cover__panel { width: 100%; background: var(--white); padding: 28px 20px 34px; }
  .cover__sub { display: none; }
}

/* 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). */
.booking .opts { max-height: min(480px, 78vh); overflow-y: auto; scrollbar-width: none; }
@media (max-width: 900px) {
  .booking .opts { max-height: min(440px, 70vh); }
}
/* 14.10 (user): the service lists scroll without a visible scrollbar */
.booking .opts::-webkit-scrollbar { display: none; }
