/* BLIK — car-detailing template for Pochatok.
   Desktop layout >= 901px (designed at 1440), mobile layout <= 900px (designed at 390).
   Values come from the Claude Design boards (Main / Mobile / Services / ServicesMobile).
   Wider than 1440 (10.10): --pad grows so the content keeps the board's 1384 column centred; photos, the service
   cards strip, the marquee, the reveal images, dividers, header and footer backgrounds run edge to edge. */

/* ---------- fonts (self-hosted Geologica, variable 300–500) ---------- */
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(../fonts/geologica-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: 'Geologica'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(../fonts/geologica-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(../fonts/geologica-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: 'Geologica'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(../fonts/geologica-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 {
  --accent: #A6FF00;            /* the one brand colour; text on it is always black */
  --bg: #000000;
  /* 19.10 palettes: a palette sets only accent / bg / text / muted; every other grey is derived from them (originals:
     surface #212424, panel #111313, input #0A0B0B, lines #2A2F30 #2F3535 #1C1F1F #1F2323, soft #BDCDD2, muted2 #8A999C) */
  --surface: color-mix(in srgb, var(--muted) 29.9%, var(--bg));
  --panel: color-mix(in srgb, var(--muted) 15.7%, var(--bg));
  --input: color-mix(in srgb, var(--muted) 9.1%, var(--bg));
  --line: color-mix(in srgb, var(--muted) 39%, var(--bg));
  --line2: color-mix(in srgb, var(--muted) 43.6%, var(--bg));
  --line3: color-mix(in srgb, var(--muted) 25.6%, var(--bg));
  --line4: color-mix(in srgb, var(--muted) 28.8%, var(--bg));
  --text: #F1F8FA;
  --soft: color-mix(in srgb, var(--text) 65.1%, var(--muted));
  --muted: #6A797C;
  --ph: color-mix(in srgb, var(--muted) 16.5%, var(--bg));   /* photo placeholders */
  --off: color-mix(in srgb, var(--muted) 54.1%, var(--bg));  /* disabled days */
  --muted2: color-mix(in srgb, var(--text) 24.7%, var(--muted));
  --pad: max(28px, calc((100% - 1384px) / 2));   /* 28 up to 1440, then the 1384 column centred (% = the full-width block) */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}
@media (max-width: 900px) { :root { --pad: 24px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Geologica', system-ui, sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 300; }
button { font-family: inherit; }
img { display: block; }
[hidden] { display: none !important; }
.page { position: relative; width: 100%; overflow: clip; background: var(--bg); color: var(--text); }
.acc { color: var(--accent); }
.pad { padding-left: var(--pad); padding-right: var(--pad); }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; line-height: 1.1; text-align: left; transition: background .35s, color .35s, border-color .35s; }
.ico { flex-shrink: 0; width: 20px; height: 20px; transition: transform .5s var(--ease-io); }
.ico--s { width: 18px; height: 18px; }
.btn:hover .ico, .lnk:hover .ico, .map-cta:hover .ico { transform: rotate(45deg); }
.btn-accent { background: var(--accent); color: var(--bg); }
.btn-accent:hover { background: var(--text); color: var(--bg); }
.btn-dark { background: var(--bg); border: 1px solid var(--accent); color: var(--accent); }
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.btn-dark:hover, .btn-outline:hover { background: var(--accent); color: var(--bg); }
.btn-ghost { background: transparent; border: 1px solid var(--line2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn:disabled { opacity: .5; cursor: default; }
.btn--hq { height: 38px; padding: 0 12px 0 16px; font-size: 16px; }
.btn--hero { min-width: 250px; height: 42px; padding: 0 12px 0 20px; font-size: 18px; }
.btn--lg { height: 48px; padding: 0 14px 0 20px; font-size: 16px; }
.btn--row { height: 40px; padding: 0 12px 0 16px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 0 12px 0 16px; font-size: 15px; }
.lnk { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font-size: 18px; min-height: 44px; }
.lnk:hover { color: var(--accent); }
.icon-btn { background: none; border: 0; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; width: 44px; height: 44px; }
.icon-btn:hover { color: var(--accent); }
.icon-btn:disabled { opacity: .25; cursor: default; }
.icon-btn:disabled:hover { color: var(--text); }

/* ---------- header ---------- */
.hdr { position: absolute; top: 0; left: 0; right: 0; z-index: 20; height: 72px; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
.brand { justify-self: start; color: var(--text); font-size: 22px; font-weight: 500; letter-spacing: .16em; white-space: nowrap; }
/* the owner's logo instead of the name (runtime data-logo): about the wordmark's height, left-aligned, never wider than its slot */
.brand.p-has-logo { display: block; min-width: 0; max-width: 100%; line-height: 0; letter-spacing: 0; }
.brand .p-logo { height: 36px; max-width: min(240px, 100%); object-position: left center; }
.menu-top .brand .p-logo { height: 32px; }
.nav { display: flex; gap: 32px; justify-content: center; font-size: 18px; letter-spacing: -.05em; }
.nav a { position: relative; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-io); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.hdr-r { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.burger { display: none; }

/* language dropdown: round current-language button + cascading circles */
.lang-dd { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.lang-cur, .lang-opt { width: 44px; height: 44px; border-radius: 999px; font-family: inherit; font-size: 12px; letter-spacing: .06em; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0; transition: background .3s, color .3s, border-color .3s; }
.lang-cur { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.lang-cur:hover, .lang-cur[aria-expanded="true"] { background: var(--accent); color: var(--bg); }
.lang-list { position: absolute; top: 52px; left: 0; z-index: 30; display: flex; flex-direction: column; gap: 6px; }
.lang-opt { background: var(--panel); border: 1px solid var(--line2); color: var(--text); animation: ddIn .35s var(--ease-out) both; }
.lang-opt:nth-child(2) { animation-delay: .05s; } .lang-opt:nth-child(3) { animation-delay: .1s; } .lang-opt:nth-child(4) { animation-delay: .15s; }
.lang-opt:hover { border-color: var(--accent); }
.lang-opt[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.lang-dd.dark .lang-cur { border-color: var(--bg); color: var(--bg); }
.lang-dd.dark .lang-cur:hover, .lang-dd.dark .lang-cur[aria-expanded="true"] { background: var(--bg); color: var(--accent); }
.lang-dd.dark .lang-opt { background: var(--bg); border-color: var(--bg); color: var(--accent); }
.lang-dd.dark .lang-opt[aria-current="true"] { background: var(--accent); border-color: var(--bg); color: var(--bg); }
@keyframes ddIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* mobile menu (accent, opens with clip-path from the top) */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--accent); color: var(--bg); padding: 0 12px 32px 24px;
  display: flex; flex-direction: column; overflow-y: auto; animation: menuIn .55s var(--ease-out) both; }
@keyframes menuIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.menu-top { height: 60px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; }
.menu-top .brand { color: var(--bg); font-size: 20px; }
.menu-r { display: flex; align-items: center; gap: 2px; }
.menu .icon-btn { color: var(--bg); }
.menu-nav { margin-top: 80px; display: flex; flex-direction: column; gap: 8px; font-size: 48px; line-height: 1.1; font-weight: 300; letter-spacing: -.05em; }
.menu-nav a { display: block; overflow: hidden; color: var(--bg); }
.menu-nav a > span { display: block; animation: rise .8s var(--ease-out) both; }
.menu-nav a:nth-child(2) > span { animation-delay: .08s; } .menu-nav a:nth-child(3) > span { animation-delay: .16s; }
.menu-sp { flex-grow: 1; min-height: 40px; }
.menu-btns { display: flex; flex-direction: column; gap: 10px; padding-right: 12px; }
.menu-btns .btn { height: 48px; padding: 0 14px 0 20px; font-size: 16px; }
.btn-phone { background: var(--bg); color: var(--accent); }
.btn-phone:hover { color: var(--accent); }
.btn-mline { background: transparent; border: 1px solid var(--bg); color: var(--bg); }
.btn-mline:hover { background: var(--bg); color: var(--accent); }
html.menu-open { overflow: hidden; }

/* ---------- load-in animations (paused until texts are in: html.is-ready) ---------- */
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: block; animation: rise 1.2s var(--ease-out) both; }
.line.l2 > span { animation-delay: .12s; } .line.l3 > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
.fade-in { animation: fadeIn 1.2s .55s both; }
.fade-down { animation: fadeDown 1s .2s both; }
.hero-zoom { animation: heroZoom 2.6s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: none; } }
html:not(.is-ready) .line > span, html:not(.is-ready) .fade-in, html:not(.is-ready) .fade-down, html:not(.is-ready) .hero-zoom { animation-play-state: paused; }

/* reveal on scroll */
[data-anim="on"] [data-reveal] { opacity: 0; transform: translateY(44px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-anim="on"] [data-reveal="expand"] { transform: scale(.93); }
[data-anim="on"] [data-reveal][data-in] { opacity: 1; transform: none; }
[data-d="1"] { transition-delay: .12s !important; } [data-d="2"] { transition-delay: .24s !important; } [data-d="3"] { transition-delay: .36s !important; }
[data-mode="edit"] [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* reveal background: the photo stays put, neighbouring sections slide over it */
.rv { clip-path: inset(0); }
.rv-track { position: absolute; left: 0; right: 0; top: 0; bottom: 0; }
.rv-img { position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow: hidden; background: var(--ph); }
.rv-img img, .ph-zoom img { width: 100%; height: 100%; object-fit: cover; }
@media (max-height: 1499px) {
  .rv-track { top: -100vh; bottom: -100vh; }
  .rv-img { position: sticky; top: 0; bottom: auto; height: 100vh; }
}
.ph-zoom { position: absolute; inset: 0; }

/* ---------- home: hero ---------- */
.hero { position: relative; height: 900px; }
.hero-img { object-position: 50% 55%; }
.hero-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 360px; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 0%, transparent) 0%, color-mix(in srgb, var(--bg) 75%, transparent) 100%); }
.hero-in { position: absolute; left: var(--pad); right: var(--pad); bottom: 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px; align-items: end; }
.h1 { font-size: clamp(44px, 4.45vw, 64px); line-height: 1; font-weight: 300; letter-spacing: -.05em; color: var(--text); }
.h1-m { display: none; }
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 28px; }
.hero-side p { width: 100%; max-width: 460px; font-size: 18px; line-height: 1.25; }

/* shared section type */
.label { font-size: 18px; line-height: 1.25; font-weight: 400; color: var(--text); }
.lead { font-size: clamp(26px, 2.5vw, 36px); line-height: 1; font-weight: 300; letter-spacing: -.05em; color: var(--muted); }
.lead--step { margin-top: 96px; }
.lead--soft { color: var(--soft); }
.title { font-size: clamp(38px, 3.75vw, 54px); line-height: 1; font-weight: 300; letter-spacing: -.05em; color: var(--text); }
.title--muted { color: var(--muted); }
.cap { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted2); }

/* ---------- home: services cards ---------- */
.srv { min-height: 900px; padding-top: 56px; display: flex; flex-direction: column; }
.srv-sp { flex-grow: 1; min-height: 56px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; height: 484px; }
.card { position: relative; overflow: hidden; isolation: isolate; background: var(--surface); padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between; transition: background .45s; }
.card-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent) 0%, color-mix(in srgb, var(--bg) 8%, transparent) 42%, color-mix(in srgb, var(--bg) 88%, transparent) 100%); }
.card-t, .card-b { position: relative; z-index: 1; }
.card:hover { background: var(--line); }
.card:hover .card-img { transform: scale(1.06); }
.card-t { font-size: clamp(26px, 2.5vw, 36px); line-height: 1; font-weight: 300; color: var(--text); max-width: 340px; transition: color .45s; }
.card:hover .card-t { color: var(--accent); }
.card-b { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.card-p { font-size: 18px; line-height: 1.25; color: var(--text); max-width: 400px; }
.op-55 { object-position: 50% 55%; } .op-50 { object-position: 50% 50%; } .op-30 { object-position: 30% 50%; }

/* ---------- home: about ---------- */
.about { min-height: 520px; padding-top: 180px; padding-bottom: 80px; align-content: start; }
.label--about { letter-spacing: -.05em; }

/* ---------- home: marquee ---------- */
.mq-sec { position: relative; height: 720px; }
.ph { position: absolute; inset: 0; overflow: hidden; background: var(--ph); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.mq-link { position: absolute; left: 0; right: 0; bottom: 64px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; color: var(--text); }
.mq-link:hover { color: var(--text); }
.mq { display: flex; width: max-content; font-size: 54px; line-height: 64px; font-weight: 300; white-space: nowrap; animation: mq 51s linear infinite; }
.mq.rev { animation-direction: reverse; }
.mq span { padding-right: 48px; }
.mq .star { color: var(--accent); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- home: gallery ---------- */
.gal { min-height: 900px; padding-top: 188px; padding-bottom: 120px; }
.gal-grid { margin-top: 90px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(80px, 9.4vw, 136px); }
.gi { position: relative; cursor: pointer; }
.gi1 { grid-column: 1; grid-row: 1; } .gi2 { grid-column: 3; grid-row: 1; } .gi3 { grid-column: 6; grid-row: 1; }
.gi4 { grid-column: 2; grid-row: 2; } .gi5 { grid-column: 4; grid-row: 2; } .gi6 { grid-column: 5; grid-row: 2; }
.g { position: relative; overflow: hidden; aspect-ratio: 211 / 118; background: var(--ph); }
.g img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gi:hover .g img { transform: scale(1.08); }
.g-cap { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--accent); opacity: 0; color: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between; padding: 10px 12px; transition: opacity .45s; }
.gi:hover .g-cap { opacity: .94; }
.g-n { font-size: 14px; }
.g-t { font-size: 18px; line-height: 1.1; }

/* ---------- home: big reveal image ---------- */
.big { position: relative; height: 680px; }
.big-img { object-position: 50% 55%; }

/* ---------- home: core services ---------- */
.core { min-height: 870px; padding-top: 180px; padding-bottom: 120px; align-content: start;
  grid-template-areas: "t list" "b list"; grid-template-rows: auto 1fr; }
.core-t { grid-area: t; }
.core-all { grid-area: b; align-self: start; justify-self: start; margin-top: 40px; height: 44px; }
.core-grid { grid-area: list; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 72px; align-content: start; }
.svc { display: flex; flex-direction: column; max-width: 300px; color: var(--text); }
.svc:hover { color: var(--text); }
.svc-n { font-size: 54px; line-height: 1; font-weight: 300; color: var(--muted); }
.svc-t { margin-top: 44px; font-size: 20px; line-height: 1.2; font-weight: 400; letter-spacing: -.03em; color: var(--text); transition: color .35s; }
.svc:hover .svc-t { color: var(--accent); }
.svc-p { margin-top: 12px; font-size: 16px; line-height: 1.3; color: var(--soft); }
.svc-pr { margin-top: 16px; font-size: 16px; color: var(--accent); }

/* ---------- home: testimonials ---------- */
.testi { position: relative; min-height: 800px; padding: 190px var(--pad) 120px; display: flex; justify-content: center; align-items: flex-start; }
.testi-shade { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 35%, transparent); pointer-events: none; }
.testi-box { position: relative; width: 656px; max-width: 100%; display: flex; flex-direction: column; }
.testi-head { height: 42px; background: var(--accent); display: flex; align-items: center; padding: 0 28px; }
.testi-head h2 { font-size: 18px; line-height: 1.25; font-weight: 400; color: var(--bg); }
.testi-card { min-height: 352px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.testi-vp { flex-grow: 1; overflow: hidden; display: flex; }
.testi-track { display: flex; width: 100%; transition: transform .8s var(--ease-io); }
.testi-slide { flex: 0 0 100%; padding: 28px 28px 0; display: flex; flex-direction: column; gap: 28px; }
.testi-slide blockquote { font-size: 27px; line-height: 1.12; font-weight: 300; letter-spacing: -.03em; color: var(--text); }
.testi-slide figcaption { font-size: 18px; color: var(--soft); }
.testi-nav { height: 80px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; }
.testi-nav .icon-btn { width: 72px; height: 64px; }
.testi-nav .icon-btn svg { width: 14px; height: 28px; }
.testi-count { font-size: 16px; color: var(--muted); letter-spacing: .08em; }

/* ---------- home: promo (two offers, 08.10 «900» source) ---------- */
.promo-sec { padding-top: 120px; padding-bottom: 120px; border-top: 1px solid var(--line3); }
.promos { margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.promo { position: relative; overflow: hidden; isolation: isolate; min-height: 520px; padding: 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.promo--lime { background: var(--accent); color: var(--bg); }
.promo--photo { background: var(--surface); color: var(--text); }
.promo-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: transform 1.4s var(--ease); }
.promo-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 35%, transparent) 0%, color-mix(in srgb, var(--bg) 20%, transparent) 40%, color-mix(in srgb, var(--bg) 90%, transparent) 100%); }
.promo:hover .promo-img { transform: scale(1.05); }
.promo-top, .promo-bot { position: relative; z-index: 1; }
.promo-top { display: flex; flex-direction: column; gap: 20px; }
.promo-pct { font-size: clamp(80px, 8.34vw, 120px); line-height: .9; font-weight: 500; letter-spacing: -.05em; overflow-wrap: anywhere; }
.promo-t { font-size: clamp(30px, 2.78vw, 40px); line-height: 1.05; font-weight: 400; letter-spacing: -.04em; }
.promo-p { max-width: 460px; font-size: 18px; line-height: 1.3; }
/* 13.11: the offer's price (its service promo<N>, the site's currency; the runtime puts the crossed-out old one in front) */
.promo-price { font-size: clamp(30px, 2.78vw, 40px); line-height: 1.05; font-weight: 500; letter-spacing: -.04em; }
.promo-price:empty { display: none; }
.promo-price .p-old { margin-right: .35em; font-size: .6em; font-weight: 400; letter-spacing: -.02em; }
.promo-badge { display: inline-flex; align-items: center; align-self: flex-start; height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--accent); color: var(--bg); font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.promo-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); }
.promo--photo .promo-bot { border-top-color: color-mix(in srgb, var(--text) 18%, transparent); }
.promo-term { font-size: 14px; }
.promo--photo .promo-p, .promo--photo .promo-term { color: var(--soft); }
.promo-bot .btn { flex-shrink: 0; }

/* 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 takes the whole row and turns into a band: the big number (or the
   badge) on the left, the title and the text next to it, the terms and the button on the right. Both cards survive it,
   the photo one included: its photo is a background and only becomes wider. 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) {
  .promos:has(> .promo:only-child) { grid-template-columns: minmax(0, 1fr); }
  .promos:has(> .promo:only-child) > .promo { flex-direction: row; align-items: center; gap: 48px;
    min-height: 360px; padding: 48px 52px; }
  .promos:has(> .promo:only-child) > .promo > .promo-top { flex: 1 1 auto; min-width: 0;
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 44px; row-gap: 14px; }
  /* three possible text rows (title, text, price): «1 / 4» spans them all, an empty one stays zero high */
  .promos:has(> .promo:only-child) > .promo > .promo-top > .promo-pct,
  .promos:has(> .promo:only-child) > .promo > .promo-top > .promo-badge { grid-column: 1; grid-row: 1 / 4;
    align-self: center; }
  .promos:has(> .promo:only-child) > .promo > .promo-top > .promo-t { grid-column: 2; grid-row: 1; }
  .promos:has(> .promo:only-child) > .promo > .promo-top > .promo-p { grid-column: 2; grid-row: 2; }
  .promos:has(> .promo:only-child) > .promo > .promo-top > .promo-price { grid-column: 2; grid-row: 3; margin-top: 6px; }
  .promos:has(> .promo:only-child) > .promo > .promo-bot { flex: none; flex-direction: column;
    align-items: flex-end; gap: 20px; max-width: 320px; padding-top: 0; padding-left: 48px;
    border-top: 0; border-left: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); align-self: stretch;
    justify-content: center; text-align: right; }
  .promos:has(> .promo--photo:only-child) > .promo > .promo-bot {
    border-left-color: color-mix(in srgb, var(--text) 18%, transparent); }
}

.btn-black { background: var(--bg); color: var(--accent); }
.btn-black:hover { color: var(--accent); }

/* ---------- contacts + map ---------- */
.ct { padding-top: 120px; padding-bottom: 120px; border-top: 1px solid var(--line3); align-items: stretch;
  grid-template-areas: "head map" "info map"; grid-template-rows: auto 1fr; row-gap: 48px; }
.ct-head { grid-area: head; padding-right: 28px; display: flex; flex-direction: column; gap: 20px; }
.ct-lead { font-size: 18px; line-height: 1.35; color: var(--soft); max-width: 520px; }
.ct-info { grid-area: info; padding-right: 28px; display: flex; flex-direction: column; gap: 36px; }
.ct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.ct-item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ct-v { font-size: 18px; line-height: 1.3; color: var(--text); overflow-wrap: anywhere; }
.ct-msg { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-links { display: contents; }
.ct-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.msg { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2);
  color: var(--text); font-size: 15px; transition: border-color .3s, color .3s; }
.msg:hover { border-color: var(--accent); color: var(--accent); }
.map { grid-area: map; position: relative; display: block; overflow: hidden; border: 1px solid var(--line4); min-height: 560px; height: 100%; }
.map > svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.map-cta { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px 0 16px;
  border-radius: 999px; background: var(--bg); color: var(--text); font-size: 14px; border: 1px solid var(--line2); transition: background .3s, color .3s, border-color .3s; }
/* the box is no link (data-map: the real map takes the clicks) — only the CTA reacts */
.map-cta:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
/* the runtime's consent gate («Показати карту Google») sits bottom-centre: the CTA goes up while it is shown */
.map:has(> .p-map-gate) .map-cta { top: 16px; bottom: auto; }
.pin-pulse { transform-box: fill-box; transform-origin: center; animation: pinPulse 2.2s ease-out infinite; }
@keyframes pinPulse { from { transform: scale(.6); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }
.map-label { font-family: inherit; }

/* ---------- footer (accent) ---------- */
.foot { min-height: 400px; padding: 24px var(--pad) 28px; background: var(--accent); color: var(--bg); display: flex; flex-direction: column;
  justify-content: space-between; gap: 24px; font-size: 18px; line-height: 1.25; }
.foot a { color: var(--bg); }
.foot a:hover { color: var(--bg); text-decoration: underline; }
.foot-top { display: flex; justify-content: space-between; gap: 28px; }
.foot-col { display: flex; flex-direction: column; min-width: 0; }
.foot-col--r { align-items: flex-end; text-align: right; }
.foot-mid { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
/* the owner's networks as text links (data-links, any network) — in the footer's own type, a row that wraps */
.foot-soc { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 28px; margin-left: auto; min-width: 0; }
.foot-soc a { overflow-wrap: anywhere; }
.foot-bot { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; border-top: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); padding-top: 24px; }
.foot-brand { flex: 1 1 auto; min-width: 0; font-size: clamp(96px, 11.1vw, 160px); line-height: .8; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.foot-brand.p-has-logo { line-height: 0; letter-spacing: 0; }
.foot-brand .p-logo { height: clamp(72px, 8vw, 116px); max-width: 100%; object-position: left bottom; }
.foot-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 4px; font-size: 16px; }
.foot-legal { font-size: 14px; }
.foot-made { font-size: 13px; opacity: .65; }
.foot-made:hover { opacity: 1; }

/* ---------- services page ---------- */
.sh { padding: 200px var(--pad) 96px; }
.sh-label { font-size: 18px; line-height: 1.25; color: var(--text); }
.sh .h1 { margin-top: 40px; }
.sh-row { margin-top: 48px; }
.sh-side { grid-column: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.sh-lead { max-width: 560px; font-size: 18px; line-height: 1.3; color: var(--soft); }
.sh-side .btn--hero { min-width: 270px; height: 44px; }

.cat { padding: 88px var(--pad); border-top: 1px solid var(--line3); }
.cat-head { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 24px; }
.cat-n { font-size: clamp(38px, 3.75vw, 54px); line-height: 1; font-weight: 300; color: var(--muted); }
.cat-t { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.05; font-weight: 300; letter-spacing: -.04em; color: var(--text); }
.cat-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row-txt { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.row-t { font-size: 24px; line-height: 1.15; font-weight: 400; letter-spacing: -.03em; color: var(--text); transition: color .35s; }
.row:hover .row-t { color: var(--accent); }
.row-d { max-width: 440px; font-size: 16px; line-height: 1.3; color: var(--soft); }
.row-d:empty { display: none; }
.row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.row-m { font-size: 16px; white-space: nowrap; color: var(--soft); }
.row-m:empty { display: none; }
.row-pr { font-size: 18px; white-space: nowrap; color: var(--accent); }

/* booking */
.bk { padding-top: 120px; padding-bottom: 120px; border-top: 1px solid var(--line3); display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); column-gap: 56px; align-items: start; }
.bk-l { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.bk-text { font-size: 18px; line-height: 1.35; color: var(--soft); }
.bk-cta { margin-top: 12px; border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.bk-cta-t { font-size: 20px; line-height: 1.15; font-weight: 300; letter-spacing: -.03em; color: var(--text); }
.bk-cta-p { font-size: 14px; line-height: 1.35; color: var(--muted2); }
.bk-r { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.panel { min-width: 0; background: var(--panel); border: 1px solid var(--line); padding: 36px 40px 32px; display: flex; flex-direction: column; gap: 26px;
  animation: panelIn .55s var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.bk-notice { font-size: 13px; line-height: 1.4; color: var(--muted); }
.bk-notice a { color: var(--soft); text-decoration: underline; text-underline-offset: 2px; }
.bk-notice a:hover { color: var(--accent); }
.bk-off { align-items: flex-start; }
.bk-off p { font-size: 18px; line-height: 1.35; color: var(--soft); }

.f-steptext { font-size: 14px; color: var(--muted2); }
.steps { display: flex; flex-wrap: wrap; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line4); }
.step { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.step .n { width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line2); display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all .3s; }
.step[data-state="active"] { color: var(--text); }
.step[data-state="active"] .n { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.step[data-state="done"] { color: var(--soft); }
.step[data-state="done"] .n { border-color: var(--accent); color: var(--accent); }
.stepbody.anim { animation: stepIn .45s var(--ease-out) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.f-col { display: flex; flex-direction: column; gap: 22px; }
.f-hint { font-size: 16px; color: var(--soft); }
.f-group { display: flex; flex-direction: column; gap: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: transparent; border: 1px solid var(--line2); color: var(--text); border-radius: 999px; padding: 0 16px; min-height: 44px;
  font-family: inherit; font-size: 15px; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.pill:hover { border-color: var(--muted2); }
.pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.pill:disabled { opacity: .3; cursor: default; }
.pill:disabled:hover { border-color: var(--line2); }
.pill-m { opacity: .6; }                                    /* the service's length next to its name (14.10) */
/* step 1: the services in a dropdown (owner 01.11) — the square field look of .inp, rows like the dark menus */
.sdd { position: relative; }
.sdd__btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 10px 14px;
  background: var(--input); border: 1px solid var(--line2); border-radius: 0; color: var(--text);
  font-family: inherit; font-size: 16px; text-align: left; cursor: pointer; transition: border-color .2s; }
.sdd__btn:hover { border-color: var(--muted2); }
.sdd__btn[aria-expanded="true"] { border-color: var(--accent); }
.sdd__in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0; flex: 1 1 auto; min-width: 0; }
.sdd__ph { color: var(--muted); }
.sdd__sep { opacity: .6; }
.sdd__m { width: 100%; font-size: 14px; color: var(--soft); }
.sdd__chev { flex: none; color: var(--muted2); transition: transform .25s var(--ease-out), color .2s; }
.sdd__btn:hover .sdd__chev, .sdd__btn[aria-expanded="true"] .sdd__chev { color: var(--text); }
.sdd__btn[aria-expanded="true"] .sdd__chev { transform: rotate(180deg); }
.sdd__list { margin-top: 8px; padding: 10px 0; background: var(--panel); border: 1px solid var(--line2);
  max-height: min(420px, 60vh); overflow-y: auto; scrollbar-width: none;
  animation: ddIn .35s var(--ease-out) both; }
.sdd__list::-webkit-scrollbar { display: none; }
.sdd__list[hidden] { display: none; }
.sdd__cat { padding: 10px 14px 6px; }
.sdd__opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 14px;
  background: transparent; border: 0; color: var(--text); font-family: inherit; font-size: 15px;
  text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.sdd__opt-in { flex: 1 1 auto; min-width: 0; }
.sdd__opt:hover { background: var(--input); }
.sdd__opt[aria-selected="true"] { color: var(--accent); }
.sdd__opt > svg { flex: none; }
.f-dt { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cal { display: flex; flex-direction: column; gap: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-head .icon-btn svg { width: 10px; height: 20px; }
.cal-month { font-size: 18px; color: var(--text); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-wd { font-size: 12px; color: var(--muted); padding: 6px 0; }
.day { min-height: 44px; min-width: 0; padding: 0; background: transparent; border: 1px solid transparent; border-radius: 999px; color: var(--text);
  font-family: inherit; font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.day:hover:not(:disabled) { border-color: var(--muted2); }
.day[data-today="true"] { border-color: var(--line2); }
.day:disabled { color: var(--off); cursor: default; }
.day[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.day.blank { visibility: hidden; }
.slots-col { display: flex; flex-direction: column; gap: 14px; }
.slots-t { font-size: 14px; color: var(--soft); }
.slots-msg { font-size: 14px; color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slots .pill { padding: 0 8px; }
.f-car { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.f-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--soft); min-width: 0; }
.fld .opt { color: var(--muted); }
.fld-hint { font-size: 13px; color: var(--muted); }
.inp { height: 48px; width: 100%; background: var(--input); border: 1px solid var(--line2); color: var(--text); font-family: inherit; font-size: 16px;
  padding: 0 14px; border-radius: 0; outline: none; transition: border-color .2s; color-scheme: dark; }
textarea.inp { height: 96px; padding: 12px 14px; resize: vertical; }
.inp:focus { border-color: var(--accent); }
.inp[aria-invalid] { border-color: #FF8A7A; }
/* the owner's own fields (clones of the name field, mounted by the runtime) — one column, same rhythm as .f-col */
.f-own { display: flex; flex-direction: column; gap: 22px; }
.f-own:empty { display: none; }
.sum { background: var(--input); border: 1px solid var(--line4); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.sum p { color: var(--text); }
.sum span { color: var(--muted2); }
.f-err { font-size: 14px; color: #FF8A7A; }
.f-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line4); padding-top: 22px; }
.f-nav .btn { height: 48px; font-size: 16px; }
.f-nav .btn-ghost { padding: 0 20px; }
.f-nav .btn-accent { padding: 0 14px 0 22px; }
.f-done { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 12px 0 4px; }
.f-done h3 { font-size: 40px; line-height: 1.05; font-weight: 300; letter-spacing: -.04em; color: var(--text); }
.f-done > p { font-size: 16px; line-height: 1.35; color: var(--soft); }
.f-done .sum { align-self: stretch; }
.f-done .btn { height: 48px; padding: 0 24px; font-size: 16px; }

/* ---------- contact form (14.10, index, right before the footer; the booking form's fields / panel / notice) ---------- */
.cf { padding-top: 120px; padding-bottom: 120px; border-top: 1px solid var(--line3); align-items: start; }
.cf-head { padding-right: 28px; display: flex; flex-direction: column; gap: 20px; }
.cf-r { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cf-form { position: relative; gap: 22px; }
.cf-f { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cf-send { align-self: flex-start; }
.cf-hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; overflow: hidden; }

/* ---------- privacy page ---------- */
.pv { padding: 200px var(--pad) 120px; }
.pv-lead { margin-top: 40px; max-width: 760px; font-size: 18px; line-height: 1.35; color: var(--soft); }
.pv-list { margin-top: 72px; border-top: 1px solid var(--line); }
.pv-sec { padding: 28px 0; border-bottom: 1px solid var(--line); }
.pv-sec h2 { font-size: 24px; line-height: 1.15; font-weight: 400; letter-spacing: -.03em; color: var(--text); }
.pv-paras { display: flex; flex-direction: column; gap: 12px; }
.pv-paras p { font-size: 16px; line-height: 1.45; color: var(--soft); max-width: 640px; }
.pv-back { margin-top: 56px; }

/* ---------- intermediate desktop widths ---------- */
@media (max-width: 1200px) and (min-width: 901px) {
  .f-dt { grid-template-columns: minmax(0, 1fr); }
  .bk { column-gap: 36px; }
  .panel { padding: 32px 28px 28px; }
}

/* =================== mobile (<= 900px) =================== */
@media (max-width: 900px) {
  .cols2 { grid-template-columns: minmax(0, 1fr); }

  .hdr { height: 60px; padding: 0 12px 0 24px; display: flex; justify-content: space-between; }
  .brand { font-size: 20px; }
  .brand .p-logo, .menu-top .brand .p-logo { height: 30px; max-width: min(200px, 100%); }
  .nav, .hdr .btn--hq { display: none; }
  .hdr-r { gap: 2px; }
  .burger { display: flex; }
  .btn { gap: 12px; }
  .ico { width: 18px; height: 18px; }
  .btn--lg .ico, .menu-btns .ico, .f-nav .ico, .sh-side .ico, .core-all .ico { width: 20px; height: 20px; }

  .hero { height: 700px; }
  .hero-img { object-position: 73.4% 50%; }
  .hero-shade { height: 300px; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 0%, transparent) 0%, color-mix(in srgb, var(--bg) 80%, transparent) 100%); }
  .hero-in { left: 24px; right: 24px; top: 76px; bottom: 40px; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; }
  .h1 { font-size: 34px; }
  .hero .h1 { margin-right: 36px; }
  .h1-d { display: none; }
  .h1-m { display: block; }
  .hero-side { align-items: flex-start; gap: 20px; }
  .hero-side p { max-width: none; font-size: 16px; }
  .hero-side .btn--hero { min-width: 170px; height: 44px; padding: 0 12px 0 18px; font-size: 16px; }

  .label { font-size: 16px; }
  .lead { font-size: 23px; line-height: 1.05; letter-spacing: -.04em; }
  .lead--step { margin-top: 20px; }
  .title { font-size: 34px; }

  .srv { min-height: 0; padding-top: 64px; padding-bottom: 40px; }
  .srv-sp { display: none; }
  .cards { margin: 44px var(--pad) 0; height: auto; grid-template-columns: minmax(0, 1fr); }
  .card { height: 236px; padding: 20px; }
  .card-t { font-size: 23px; line-height: 1.05; max-width: none; }
  .card-p { display: none; }
  .card-b { gap: 10px; }
  .lnk { gap: 10px; font-size: 16px; }

  .about { min-height: 0; padding-top: 50px; padding-bottom: 50px; }
  .label--about { letter-spacing: -.03em; }

  .mq-sec { height: 220px; }
  .mq-sec .ph img { object-position: 58% 50%; }
  .mq-link { bottom: 30px; gap: 0; }
  .mq { font-size: 27px; line-height: 32px; animation-duration: 52s; }
  .mq span { padding-right: 24px; }

  .gal { min-height: 0; padding-top: 64px; padding-bottom: 72px; }
  .gal-grid { margin-top: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 40px; }
  .gi1, .gi2, .gi3, .gi4, .gi5, .gi6 { grid-column: auto; grid-row: auto; }
  .gi { display: flex; flex-direction: column; gap: 8px; cursor: default; }
  .g { aspect-ratio: 163 / 92; }
  .g-cap { position: static; opacity: 1; background: none; padding: 0; display: block; font-size: 14px; color: var(--soft); }
  .gi:hover .g-cap { opacity: 1; }
  .g-n { color: var(--accent); margin-right: 8px; }
  .g-t { font-size: 14px; }

  .big { height: 240px; }
  .big-img { object-fit: contain !important; object-position: 50% 50%; background: var(--bg); }

  .core { min-height: 0; padding-top: 72px; padding-bottom: 72px; grid-template-areas: "t" "list" "b"; grid-template-rows: auto; }
  .core-t.title { font-size: 27px; }
  .core-grid { margin-top: 44px; grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .svc { max-width: none; }
  .svc-n { font-size: 27px; }
  .svc-t { margin-top: 12px; font-size: 18px; }
  .svc-p { margin-top: 8px; font-size: 14px; line-height: 1.35; }
  .svc-pr { margin-top: 10px; font-size: 15px; }
  .core-all { margin-top: 44px; width: 100%; min-width: 0; height: 48px; padding: 0 14px 0 20px; font-size: 16px; }

  .testi { min-height: 440px; padding: 56px var(--pad) 44px; display: block; }
  .testi-box { width: auto; }
  .testi-head { padding: 0 20px; }
  .testi-head h2 { font-size: 16px; }
  .testi-card { min-height: 300px; }
  .testi-slide { padding: 20px 20px 0; gap: 20px; }
  .testi-slide blockquote { font-size: 20px; line-height: 1.15; letter-spacing: -.02em; }
  .testi-slide figcaption { font-size: 14px; }
  .testi-nav { height: 64px; padding: 0 4px; }
  .testi-nav .icon-btn { width: 56px; height: 56px; }
  .testi-nav .icon-btn svg { width: 10px; height: 20px; }
  .testi-count { font-size: 14px; }

  .promo-sec { padding-top: 64px; padding-bottom: 72px; }
  .promos { margin-top: 40px; grid-template-columns: minmax(0, 1fr); }
  .promo { min-height: 0; padding: 24px; }
  .promo--photo { min-height: 440px; }
  .promo-pct { font-size: 64px; }
  .promo-t { font-size: 27px; }
  .promo-p { font-size: 15px; }
  .promo-price { font-size: 27px; }
  .promo-bot { flex-direction: column; align-items: stretch; }

  .ct { padding-top: 64px; padding-bottom: 72px; grid-template-areas: "head" "map" "info"; grid-template-rows: auto; row-gap: 32px; }
  .ct-head { padding-right: 0; gap: 16px; }
  .ct-head .title { font-size: 34px; }
  .ct-lead { font-size: 16px; }
  .ct-info { padding-right: 0; gap: 28px; }
  .ct-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ct-v { font-size: 16px; }
  .ct-btns .btn { flex-grow: 1; }
  .map { height: 300px; min-height: 300px; }

  .foot { min-height: 470px; padding: 28px 24px; font-size: 16px; }
  .foot-top { flex-direction: column; gap: 24px; }
  .foot-col--r { align-items: flex-start; text-align: left; }
  .foot-mid { flex-direction: column; align-items: flex-start; gap: 12px; }   /* the phone, the networks under it */
  .foot-mid > a { white-space: nowrap; }
  .foot-soc { margin-left: 0; justify-content: flex-start; gap: 6px 20px; }
  .foot-bot { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 20px; }
  .foot-brand { flex: none; font-size: 88px; line-height: .85; letter-spacing: .04em; }
  .foot-brand .p-logo { height: 64px; }
  .foot-meta { align-items: flex-start; text-align: left; font-size: 14px; }
  .foot-legal { font-size: 13px; }

  /* services page */
  .sh { padding-top: 120px; padding-bottom: 64px; }
  .sh-label { font-size: 16px; }
  .sh .h1 { margin-top: 28px; }
  .sh-row { margin-top: 32px; }
  .sh-side { grid-column: 1; align-items: stretch; gap: 24px; }
  .sh-lead { max-width: none; font-size: 16px; }
  .sh-side .btn--hero { min-width: 0; height: 48px; padding: 0 14px 0 20px; font-size: 16px; }

  .cat { padding-top: 56px; padding-bottom: 48px; }
  .cat-head { position: static; gap: 12px; }
  .cat-n, .cat-t { font-size: 27px; }
  .cat-list { margin-top: 24px; }
  .row { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 20px 0; }
  .row-t { font-size: 19px; }
  .row-d { max-width: none; font-size: 14px; line-height: 1.35; }
  .row-side { margin-top: 6px; flex-direction: row; justify-content: space-between; align-items: center; }
  .row-pr { font-size: 16px; }
  .btn--row { height: 44px; font-size: 15px; }

  .bk { padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
  .bk-l { position: static; gap: 16px; }
  .bk-l .title { font-size: 34px; }
  .bk-text { font-size: 16px; }
  .bk-r { width: 100%; }
  .cf { padding-top: 64px; padding-bottom: 72px; row-gap: 32px; }
  .cf-head { padding-right: 0; gap: 16px; }
  .cf-head .title { font-size: 34px; }
  .cf .ct-lead { font-size: 16px; }
  .cf-send { align-self: stretch; }
  .panel { padding: 20px 18px 24px; gap: 22px; }
  .steps { gap: 10px; }
  .step .lbl { display: none; }
  .f-dt, .f-car, .f-two { grid-template-columns: minmax(0, 1fr); }
  .f-done h3 { font-size: 30px; }

  .pv { padding-top: 120px; padding-bottom: 72px; }
  .pv-lead { margin-top: 28px; font-size: 16px; }
  .pv-list { margin-top: 44px; }
  .pv-sec { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; }
  .pv-sec h2 { font-size: 19px; }
  .pv-paras p { font-size: 14px; line-height: 1.45; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .mq, .line > span, .fade-in, .fade-down, .hero-zoom, .menu, .menu-nav a > span, .panel, .stepbody.anim, .lang-opt, .pin-pulse { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .testi-track, .card-img, .g img, .promo-img { transition: none; }
}

/* editor: let the owner click into the marquee text */
[data-mode="edit"] .mq:hover { animation-play-state: paused; }
/* editor: gallery captions show on hover only — let the owner click into the caption text and keep it shown while typing */
[data-mode="edit"] .g-cap .g-t { pointer-events: auto; }
[data-mode="edit"] .gi:focus-within .g-cap { opacity: .94; }
@media (max-width: 900px) { [data-mode="edit"] .gi:focus-within .g-cap { opacity: 1; } }

/* 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; }

/* 01.11 (owner: «там же просто список у стилі сайту має бути»): the price page is ONE plain list that flows down the
   page. The inner scrolling box of 14.10 (max-height + hidden scrollbar) is gone: it hid services below the fold. */

/* ---------- 31.10 the expert block: courses, plans, the guide, platform reviews, the course pages ----------
   Only the template's own tokens (--accent, --bg, --text, --muted, --surface, --panel, --line…), so all 6 palettes work. */
.crs { padding-top: 120px; padding-bottom: 120px; border-top: 1px solid var(--line3); display: flex; flex-direction: column; }
.crs-head { display: flex; flex-direction: column; gap: 16px; }
.crs-sp { height: 56px; }
.crs-cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); height: 440px; }
.crs-card .card-b { gap: 20px; }
.crs-meta { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.crs-dur { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.crs-pr { font-size: 20px; color: var(--accent); }
.crs-foot { margin-top: 56px; }

/* who the courses are for */
.aud { padding-top: 120px; padding-bottom: 120px; align-content: start; }
.aud-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; row-gap: 56px; }
.aud-i { max-width: 380px; }
.aud-p { margin-top: 24px; font-size: 16px; line-height: 1.35; color: var(--soft); }
.aud-note { margin-top: 72px; max-width: 760px; font-size: 14px; line-height: 1.45; color: var(--muted2);
  padding-top: 20px; border-top: 1px solid var(--line3); }

/* buy the course: three plans */
.buy { padding-top: 120px; padding-bottom: 120px; align-content: start; border-top: 1px solid var(--line3); }
.plans { margin-top: 72px; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.plan { background: var(--panel); border: 1px solid var(--line3); padding: 40px; min-height: 460px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.plan--hi { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.plan-top { display: flex; flex-direction: column; gap: 12px; }
.plan-n { font-size: 48px; line-height: 1; font-weight: 300; color: var(--muted); }
.plan--hi .plan-n { color: color-mix(in srgb, var(--bg) 55%, var(--accent)); }
.plan-hit { align-self: flex-start; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bg); }
.plan-t { margin-top: 8px; font-size: 32px; line-height: 1.05; font-weight: 300; letter-spacing: -.04em; }
.plan-bot { display: flex; flex-direction: column; gap: 24px; }
.plan-money { display: flex; flex-direction: column; gap: 4px; }
.plan-per { font-size: 14px; color: var(--soft); }
.plan--hi .plan-per { color: color-mix(in srgb, var(--bg) 70%, var(--accent)); }
.plan-pr { font-size: 48px; line-height: 1; font-weight: 300; letter-spacing: -.04em; color: var(--accent); }
.plan--hi .plan-pr { color: var(--bg); }
.plan .btn { align-self: stretch; justify-content: space-between; }

/* tick lists (plans, the guide, the course list) */
.ticks { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.35; color: var(--soft); }
.plan--hi .ticks li { color: var(--bg); }
.tick { flex-shrink: 0; margin-top: 4px; display: inline-flex; color: var(--accent); }
.plan--hi .tick { color: var(--bg); }

/* the guide */
.gd { padding: 120px 0; border-top: 1px solid var(--line3); }
.gd-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2px; align-items: stretch; }
.gd-ph { position: relative; overflow: hidden; min-height: 560px; background: var(--ph); }
.gd-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.gd-box { background: var(--surface); padding: 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.gd-t { font-size: clamp(30px, 2.78vw, 40px); }
.gd-p { max-width: 460px; font-size: 16px; line-height: 1.4; color: var(--soft); }
.gd-buy { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.gd-pr { font-size: 48px; line-height: 1; font-weight: 300; letter-spacing: -.04em; color: var(--accent); }

/* platform reviews (data-platform: demo and editor only) */
.vrev { padding-top: 120px; padding-bottom: 120px; align-content: start; border-top: 1px solid var(--line3); }
.vrs { margin-top: 72px; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.vrc { background: var(--panel); border: 1px solid var(--line3); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.vrc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vrc-stars { font-size: 16px; letter-spacing: .1em; color: var(--accent); }
.vrc-off { color: var(--muted); }
.vrc-d { font-size: 14px; color: var(--muted2); }
.vrc-q { font-size: 18px; line-height: 1.3; font-weight: 300; color: var(--text); }
.vrc-who { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line3); }
.vrc-n { font-size: 16px; color: var(--text); }
.vrc-c { font-size: 14px; color: var(--soft); }
.vrc-b { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); }

/* courses page: title + the full list */
.sh-back { display: inline-block; margin-bottom: 28px; color: var(--muted2); }
.sh-back:hover { color: var(--accent); }
.sh-h1 { max-width: 1000px; }
.clist-sec { padding-bottom: 120px; }
.clist { display: flex; flex-direction: column; gap: 2px; }
.cfull { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2px; background: var(--panel); }
.cfull--b .cfull-ph { order: 2; }
.cfull-ph { position: relative; overflow: hidden; min-height: 520px; background: var(--ph); }
.cfull-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.cfull-side { background: var(--surface); padding: 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cfull-tag { align-self: flex-start; }
.cfull-t { font-size: clamp(30px, 2.78vw, 40px); }
.cfull-p { max-width: 520px; font-size: 16px; line-height: 1.4; color: var(--soft); }
.cfull-buy { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cfull-pr { font-size: 48px; line-height: 1; font-weight: 300; letter-spacing: -.04em; color: var(--accent); }
.clist-note { margin-top: 56px; }
.pcta-sec { padding-bottom: 120px; }
.pcta { min-height: 0; }
.pcta .promo-bot { justify-content: flex-start; }

/* course page */
.co-head { padding-bottom: 56px; }
.co-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.co-prog { grid-column: 2; align-self: end; display: flex; flex-direction: column; gap: 12px; }
.co-prog-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--soft); }
.co-prog-n { font-size: 20px; color: var(--accent); }
.co-prog-bar { height: 2px; background: var(--line3); }
.co-prog-bar span { display: block; height: 100%; background: var(--accent); transition: width .5s var(--ease); }
.co-sec { padding-bottom: 120px; }
.co { display: grid; grid-template-columns: 340px minmax(0, 1fr); column-gap: 2px; align-items: start; }
.co-steps { background: var(--panel); border: 1px solid var(--line3); padding: 28px; }
.co-steps ol { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.co-step { width: 100%; background: transparent; border: 0; border-top: 1px solid var(--line3); padding: 16px 0; cursor: pointer;
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; text-align: left;
  color: var(--soft); transition: color .3s; }
.co-steps li:first-child .co-step { border-top: 0; }
.co-step:hover, .co-step.is-cur { color: var(--accent); }
.co-step.is-locked { color: var(--off); cursor: default; }
.co-step-n { font-size: 14px; color: var(--muted); }
.co-step.is-cur .co-step-n, .co-step.is-done .co-step-n { color: inherit; }
.co-step-t { font-size: 16px; line-height: 1.25; }
.co-step-len { font-size: 14px; color: var(--muted2); }
.co-steps-hint { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line3); font-size: 12px; color: var(--muted2); }
.co-lesson { background: var(--surface); padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.co-lesson-h { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.05; font-weight: 300; letter-spacing: -.04em; color: var(--text); }
.co-player { position: relative; overflow: hidden; min-height: 420px; background: var(--ph);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 28px; }
.co-player-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.co-player-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 25%, transparent) 0%, color-mix(in srgb, var(--bg) 85%, transparent) 100%); }
.co-player-play, .co-player-len { position: relative; z-index: 1; }
.co-player-len { font-size: 14px; letter-spacing: .08em; color: var(--text); }
.co-lesson-p { max-width: 640px; font-size: 16px; line-height: 1.45; color: var(--soft); }
.co-notes { padding-top: 28px; border-top: 1px solid var(--line3); display: flex; flex-direction: column; gap: 12px; }
.co-notes-t { font-size: 20px; line-height: 1.2; font-weight: 400; color: var(--text); }
.co-notes-hint { font-size: 13px; line-height: 1.4; color: var(--muted2); }
.co-notes-ta { height: auto; padding: 12px 14px; }
.co-notes-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.co-notes-saved { font-size: 14px; color: var(--accent); }
.co-nav { display: flex; gap: 2px; }
.co-nav .btn { flex: 1 1 0; justify-content: center; }
.stars { margin: 0; padding: 0; border: 0; display: flex; gap: 6px; }
.stars label { position: relative; cursor: pointer; font-size: 28px; line-height: 1; color: var(--muted); transition: color .2s; }
.stars label.is-on { color: var(--accent); }
.stars input { position: absolute; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 1200px) and (min-width: 901px) {
  .co { grid-template-columns: 280px minmax(0, 1fr); }
  .plan, .gd-box, .cfull-side, .co-lesson { padding: 32px; }
}

@media (max-width: 900px) {
  .crs { padding-top: 64px; padding-bottom: 64px; }
  .crs-sp { display: none; }
  .crs-cards { margin: 44px var(--pad) 0; height: auto; grid-template-columns: minmax(0, 1fr); }
  .crs-card { height: auto; min-height: 300px; }
  .crs-card .card-p { display: block; font-size: 15px; }
  .crs-pr { font-size: 18px; }
  .crs-foot { margin-top: 32px; }
  .crs-foot .btn { width: 100%; min-width: 0; height: 48px; }

  .aud { padding-top: 56px; padding-bottom: 56px; }
  .aud-grid { margin-top: 32px; grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .aud-i { max-width: none; }
  .aud-note { margin-top: 40px; }

  .buy { padding-top: 56px; padding-bottom: 56px; }
  .plans { margin-top: 32px; grid-template-columns: minmax(0, 1fr); }
  .plan { min-height: 0; padding: 24px; gap: 24px; }
  .plan-n { font-size: 36px; }
  .plan-t { font-size: 27px; }
  .plan-pr, .gd-pr, .cfull-pr { font-size: 36px; }

  .gd { padding: 56px 0; }
  .gd-in { grid-template-columns: minmax(0, 1fr); }
  .gd-ph { min-height: 300px; }
  .gd-box { padding: 24px; }
  .gd-buy { gap: 20px; }
  .gd-buy .btn, .cfull-buy .btn { flex: 1 1 100%; }

  .vrev { padding-top: 56px; padding-bottom: 56px; }
  .vrs { margin-top: 32px; grid-template-columns: minmax(0, 1fr); }
  .vrc { padding: 24px; }
  .vrc-q { font-size: 17px; }

  .sh-back { margin-bottom: 20px; }
  .clist-sec, .pcta-sec { padding-bottom: 56px; }
  .cfull { grid-template-columns: minmax(0, 1fr); }
  .cfull--b .cfull-ph { order: 0; }
  .cfull-ph { min-height: 260px; }
  .cfull-side { padding: 24px; }
  .cfull-t { font-size: 27px; }
  .clist-note { margin-top: 32px; }

  .co-head { padding-bottom: 32px; }
  .co-prog { grid-column: 1; margin-top: 28px; }
  .co-sec { padding-bottom: 56px; }
  .co { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  .co-steps, .co-lesson { padding: 24px; }
  .co-player { min-height: 260px; padding: 20px; flex-direction: column; align-items: stretch; }
  .co-player-play { width: 100%; }
  .co-nav { flex-direction: column; }
}
