/* fonts: Cormorant 500 / 500 italic + Manrope 300–800 (variable), OFL, self-hosted: cyrillic + latin + latin-ext */
@font-face{font-family:"Cormorant";font-style:italic;font-weight:500;font-display:swap;src:url("../fonts/cormorant-500-italic-cyrillic.woff2") format("woff2");unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:"Cormorant";font-style:italic;font-weight:500;font-display:swap;src:url("../fonts/cormorant-500-italic-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Cormorant";font-style:italic;font-weight:500;font-display:swap;src:url("../fonts/cormorant-500-italic-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Cormorant";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/cormorant-500-cyrillic.woff2") format("woff2");unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:"Cormorant";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/cormorant-500-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:"Cormorant";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/cormorant-500-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Manrope";font-style:normal;font-weight:300 800;font-display:swap;src:url("../fonts/manrope-var-cyrillic.woff2") format("woff2");unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:"Manrope";font-style:normal;font-weight:300 800;font-display:swap;src:url("../fonts/manrope-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:"Manrope";font-style:normal;font-weight:300 800;font-display:swap;src:url("../fonts/manrope-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}

/* Photographer (Pochatok) — from Templates/photographer-site 900 (Claude Design, desktop 1440 / phone 390).
   Dark film look: #0B0B0B ground, 1px #444 lines between blocks, outline buttons with square corners,
   Cormorant 500 for headings, Manrope 300–800 for text. ≥901 = the desktop board (fluid columns in %, the first
   screen 44 + 856 = 900 px), ≤900 = the phone board. */
:root {
  --bg: #0B0B0B; --fg: #F2F2F2;
  /* 19.10 palettes: a palette sets only --bg / --fg; the greys are derived from them (originals #9A9A9A, #444444, #1C1C1C, #161616,
     #2A2A2A, #CFCFCF) */
  --mute: color-mix(in srgb, var(--fg) 61.9%, var(--bg)); --line: color-mix(in srgb, var(--fg) 24.7%, var(--bg));
  --fill: color-mix(in srgb, var(--fg) 7.4%, var(--bg)); --sum: color-mix(in srgb, var(--fg) 4.8%, var(--bg));
  --dim: color-mix(in srgb, var(--fg) 13.4%, var(--bg)); --soft: color-mix(in srgb, var(--fg) 84.8%, var(--bg));
  --serif: "Cormorant", Georgia, serif; --sans: "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 13px; font-weight: 300; line-height: 1.4; }
img { display: block; max-width: 100%; }
a { color: var(--fg); text-decoration: none; transition: color .2s; }
a:hover { color: var(--mute); }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, ol { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }
main { flex-shrink: 0; }

/* ---------- shared bits ---------- */
.h2 { font-family: var(--serif); font-weight: 500; font-size: 68px; line-height: .95; letter-spacing: -.03em; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid var(--fg);
  background: transparent; color: var(--fg); font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--fg); color: var(--bg); }
.btn--soft { border-color: var(--mute); font-weight: 400; }
.btn--white { border-color: #fff; color: #fff; padding: 0 44px; }
.btn--white:hover { background: #fff; color: var(--bg); }
.hint { font-size: 12px; font-weight: 300; line-height: 1.45; color: var(--mute); }
.f-err { font-size: 13px; color: #ff8f80; }
.p-logo { --p-logo-h: 40px; }

/* ---------- header ---------- */
.hdr { position: relative; z-index: 20; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; height: 44px;
  padding: 0 20px; border-bottom: 1px solid var(--line); background: var(--bg); }
.hdr-name { font-weight: 800; font-size: 20px; letter-spacing: -.06em; line-height: 1; white-space: nowrap; }
.hdr-name .p-logo { height: 28px; }
.pg-index .hdr-name { display: none; }
.pg-index .hdr { justify-content: flex-end; }
.hdr-right { display: flex; align-items: center; gap: 48px; }
.nav { display: flex; gap: 36px; }
.nav a { padding: 13px 0; font-size: 13px; font-weight: 300; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.lang { position: relative; font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.lang-cur { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 4px; border: 0; background: none; color: var(--fg);
  font-size: 12px; font-weight: 500; letter-spacing: .04em; cursor: pointer; }
.lang-cur svg { transition: transform .2s; }
.lang-cur[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-list { position: absolute; top: 42px; right: -8px; z-index: 30; display: flex; flex-direction: column; min-width: 64px; background: var(--bg); border: 1px solid var(--line); }
.lang-opt { display: flex; align-items: center; height: 40px; padding: 0 16px; border: 0; background: none; color: var(--fg); font-size: 12px; font-weight: 500;
  letter-spacing: .04em; text-align: left; cursor: pointer; }
.lang-opt + .lang-opt { border-top: 1px solid var(--fill); }
.lang-opt:hover { color: var(--mute); }
.burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--fg); cursor: pointer; align-items: center; justify-content: center; }
.mnav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
.mnav a:not(.btn) { padding: 14px 0; font-size: 15px; font-weight: 300; border-bottom: 1px solid var(--fill); }
.mnav .btn { margin-top: 16px; height: 48px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { display: flex; height: 856px; border-bottom: 1px solid var(--line); }
.hero-media { position: relative; flex-shrink: 0; width: 58%; overflow: hidden; background: var(--fill); }
.hero-track { display: flex; width: max-content; height: 100%; animation: hero-track 48s linear infinite; }
.hero-ph { position: relative; flex-shrink: 0; height: 100%; }
.hero-ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-ph--1 { width: 856px; } .hero-ph--2 { width: 690px; } .hero-ph--3 { width: 1146px; }
@keyframes hero-track { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* editor: the strip keeps moving so all three photos come by, and stops under the pointer to reach «Замінити фото» */
[data-mode="edit"] .hero-media:hover .hero-track, [data-mode="preview"] .hero-track { animation-play-state: paused; }
.hero-text { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px 16px; border-left: 1px solid var(--line); }
.hero-name { font-weight: 800; font-size: 64px; line-height: .95; letter-spacing: -.06em; overflow-wrap: anywhere; }
.hero-name .p-logo { height: 96px; }
.hero-role { margin-top: 8px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 32px; line-height: 1; color: var(--mute); }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero-sub { max-width: 250px; font-size: 13px; line-height: 1.35; letter-spacing: -.01em; }
.hero-foot .btn { flex-shrink: 0; }

/* ---------- stories told in light ---------- */
.stories { position: relative; display: flex; align-items: center; justify-content: center; height: 900px; overflow: hidden; background: var(--dim); border-bottom: 1px solid var(--line); }
.stories-bg { position: absolute; inset: 0; }
.stories-bg img { width: 100%; height: 100%; object-fit: cover; }
.stories-bg::after { content: ""; position: absolute; inset: 0; background: rgba(22, 22, 22, .32); pointer-events: none; }
.stories-in { position: relative; display: flex; flex-direction: column; align-items: center; width: 560px; max-width: calc(100% - 48px); text-align: center; color: #fff; }
.stories-sub { margin-top: 18px; font-weight: 400; }
.stories-text { margin-top: 26px; max-width: 380px; }
.stories-in .btn { margin-top: 28px; }

/* ---------- reviews ---------- */
.reviews { display: flex; height: 680px; border-bottom: 1px solid var(--line); }
.reviews-text { flex-shrink: 0; width: 40%; display: flex; flex-direction: column; padding: 14px 16px 16px; }
.rev-list { margin-top: 96px; display: flex; flex-direction: column; gap: 36px; }
.rev { display: flex; flex-direction: column; gap: 10px; }
.rev blockquote { max-width: 300px; line-height: 1.45; }
.rev figcaption { font-weight: 400; color: var(--mute); }
.rev:not(:last-child)::after { content: ""; width: 190px; height: 1px; margin-top: 14px; background: var(--fg); }
.reviews-photo { flex: 1; min-width: 0; overflow: hidden; border-left: 1px solid var(--line); background: var(--fill); }
.reviews-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

/* ---------- offers ---------- */
.offers { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.offers-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 14px 16px 44px; }
.offers-sub { max-width: 320px; color: var(--mute); }
.offers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.offer { display: flex; flex-direction: column; gap: 16px; padding: 16px 16px 32px; }
.offer + .offer { border-left: 1px solid var(--line); }
.offer-ph { height: 400px; margin: -16px -16px 0; overflow: hidden; background: var(--fill); }
.offer-ph img { width: 100%; height: 100%; object-fit: cover; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; height: 28px; margin-top: 6px; padding: 0 10px; border: 1px solid var(--fg); font-size: 12px; font-weight: 500; }
.offer-text { max-width: 460px; line-height: 1.5; }
.offer-foot { margin-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* 13.11: the offer's price = its service promo<N> in the site's currency, written by the runtime (the old price crossed out) */
.offer-price { font-size: 15px; font-weight: 600; }
.offer-price s { color: var(--mute); font-weight: 400; }
.offer-price:empty { display: none; }

/* ---------- contact ---------- */
.contact { display: flex; height: 640px; border-bottom: 1px solid var(--line); }
.contact-l { flex-shrink: 0; width: 54.7%; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.contact-ph { flex-shrink: 0; height: 300px; overflow: hidden; background: var(--fill); border-bottom: 1px solid var(--line); }
.contact-ph img { width: 100%; height: 100%; object-fit: cover; }
.contact-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 14px 16px 18px; }
.contact-text { margin-top: 14px; max-width: 360px; }
.contact-cols { display: flex; justify-content: space-between; gap: 24px; }
.ccol { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ccol--loc { width: 220px; }
.ccol-l { font-weight: 600; color: var(--mute); }
.ccol-h { color: var(--mute); }
.msg { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 56px clamp(24px, 7vw, 100px) 40px; }
.msg-title { margin-bottom: 8px; font-size: 38px; }
.msg label, .fld { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 400; }
.msg input, .msg textarea, .fld input, .fld textarea { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 13px; font-weight: 400; transition: border-color .2s; }
.msg textarea { height: 104px; padding: 10px 12px; resize: none; }
.msg input:focus, .msg textarea:focus, .fld input:focus, .fld textarea:focus { outline: 0; border-color: var(--fg); }
.msg [aria-invalid], .fld [aria-invalid], .fld.bad input { border-color: #ff8f80; }
.msg-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.msg-btn { align-self: flex-start; }

/* ---------- booking ---------- */
.booking { display: flex; border-bottom: 1px solid var(--line); }
.bk-side { flex-shrink: 0; width: 40%; display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px 32px; }
.bk-sub { margin-top: 18px; max-width: 360px; }
.bk-steps { margin-top: 48px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.bk-steps li { display: flex; align-items: center; gap: 20px; height: 64px; border-bottom: 1px solid var(--line); color: var(--mute); }
.bk-steps .num { width: 40px; font-family: var(--serif); font-weight: 500; font-size: 30px; }
.bk-steps .lbl { flex: 1; font-size: 14px; }
.bk-steps .ico { display: none; width: 18px; height: 18px; }
.bk-steps li.is-on { color: var(--fg); }
.bk-steps li.is-on .lbl { font-weight: 600; }
.bk-steps li.is-on .ico, .bk-steps li.is-done .ico { display: block; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.bk-steps li.is-on .ico { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E"); }
.bk-steps li.is-done .ico { width: 14px; height: 14px; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.bk-main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 40px 56px; border-left: 1px solid var(--line); }
.bk-form { flex: 1; display: flex; flex-direction: column; gap: 32px; min-height: 100%; }
.bk-prog { display: none; }
.bk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.bk-count { flex-shrink: 0; font-size: 12px; font-weight: 400; color: var(--mute); letter-spacing: .04em; }
/* the shoot format: one dropdown (01.11) — the same square 1px frame the rest of the form has */
.svcsel { display: flex; flex-direction: column; }
.svcsel-cur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 14px 16px;
  border: 1px solid var(--line); background: var(--bg); color: var(--fg); text-align: left; cursor: pointer; transition: border-color .2s; }
.svcsel-cur:hover { border-color: var(--mute); }
.svcsel-cur[aria-expanded="true"] { border-color: var(--fg); }
.svcsel-cur > svg { flex-shrink: 0; transition: transform .2s; }
.svcsel-cur[aria-expanded="true"] > svg { transform: rotate(180deg); }
.svcsel-in { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.svcsel-ph { color: var(--mute); }
.svcsel-list { max-height: 352px; overflow-y: auto; border: 1px solid var(--fg); border-top: 0; background: var(--bg); }
.svcsel-opt { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 0;
  background: none; color: var(--fg); text-align: left; cursor: pointer; }
.svcsel-opt + .svcsel-opt { border-top: 1px solid var(--fill); }
.svcsel-opt:hover, .svcsel-opt:focus-visible { background: var(--fill); }
.svcsel-opt[aria-selected="true"] { background: var(--fill); }
.svcsel-opt > svg { flex-shrink: 0; width: 18px; height: 18px; }
/* 18.11: the worker step = the service list's rows, always open, in their own full frame */
.bk-who { max-height: none; border-top: 1px solid var(--fg); }
.bk-who .svcsel-opt[aria-pressed="true"] { background: var(--fill); }
.bk-who .type-l, .bk-who .type-m { overflow-wrap: anywhere; }
.type-l { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1; }
.type-m { font-size: 12px; font-weight: 300; color: var(--mute); }
.s2 { display: flex; gap: 48px; }
.cal { flex-shrink: 0; width: 400px; display: flex; flex-direction: column; gap: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-month { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -.01em; }
.cal-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; }
.cal-btn:disabled, .cal-btn[data-p-disabled] { border-color: var(--fill); color: var(--line); cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-wd { display: flex; align-items: center; justify-content: center; height: 28px; font-size: 12px; font-weight: 400; color: var(--mute); }
.day { height: 44px; padding: 0; border: 1px solid var(--fill); background: var(--bg); color: var(--fg); font-size: 14px; font-weight: 500; cursor: pointer; }
.day:hover { border-color: var(--mute); }
.day[aria-pressed="true"] { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.day:disabled, .day[data-p-disabled] { border-color: transparent; background: transparent; color: var(--line); cursor: default; }
.times { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.times-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.times-t { font-weight: 600; }
.times-d { font-weight: 400; color: var(--mute); }
.times .hint:first-of-type { font-size: 13px; }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.slot { height: 44px; padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font-size: 14px; font-weight: 500; cursor: pointer; }
.slot:hover { border-color: var(--mute); }
.slot[aria-pressed="true"] { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.slot.is-booked { border: 1px dashed var(--fill); background: transparent; color: var(--line); text-decoration: line-through; cursor: default; }
.slot.skel { border-color: var(--fill); animation: skel 1.2s ease-in-out infinite alternate; }
@keyframes skel { from { opacity: .4; } to { opacity: 1; } }
.times-note { margin-top: 4px; }
.s3, .done { display: flex; flex-direction: column; gap: 20px; }
.sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 16px; background: var(--sum); }
.sum > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sum span { font-size: 12px; font-weight: 400; color: var(--mute); }
.sum b { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.1; }
.fields2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fld input, .fld textarea { font-size: 14px; }
.fld textarea { height: 88px; padding: 10px 12px; resize: none; }
[data-booking-fields] { display: flex; flex-direction: column; gap: 20px; }
[data-booking-fields]:empty { display: none; }
.fld input[required] + i { display: none; }
.notice { font-size: 12px; line-height: 1.45; color: var(--mute); }
.notice a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.ok { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px solid var(--fg); }
.done-text { max-width: 460px; line-height: 1.5; }
.done .btn { align-self: flex-start; border-color: var(--mute); }
.bk-nav { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--fill); }
.bk-back { border-color: var(--mute); }
.bk-next { padding: 0 24px; background: var(--fg); color: var(--bg); }
.bk-next:hover { background: var(--mute); border-color: var(--mute); color: var(--bg); }
.bk-next:disabled, .bk-next[data-p-disabled] { border-color: var(--fill); background: var(--fill); color: var(--mute); cursor: default; }
.bk-off { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.bk-off-t { max-width: 460px; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; }
.bk-off-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- contact form (14.10, index, right before the footer; the booking section's columns, fields, button, notice) ---------- */
/* 14.10 composition: two equal halves (the booking's split look: line between them), the heading on the form's top line,
   the form fills its half up to the booking form's right edge (padding 56) */
.cf-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.cf-side { min-width: 0; padding: 40px 16px 32px; }
.cf-lead { margin-top: 18px; max-width: 360px; }
.cf-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 40px 56px; border-left: 1px solid var(--line); }
.cf { position: relative; display: flex; flex-direction: column; gap: 16px; }
.cf[hidden], .cf-done[hidden], .cf-sec .f-err[hidden] { display: none; }
.cf .fld textarea { height: 120px; }
.cf-under { display: flex; flex-direction: column; gap: 6px; margin-top: -6px; }
.cf .f-err { margin-top: -6px; }
.cf-under .f-err { margin-top: 0; }
.cf-acts { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--fill); }
.cf-hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; overflow: hidden; }

/* ---------- portfolio ---------- */
.pf { display: flex; flex-direction: column; gap: 56px; padding: 96px 10px 110px; border-bottom: 1px solid var(--line); }
.pf-h1 { text-align: center; font-family: var(--serif); font-weight: 500; font-size: 72px; line-height: .95; letter-spacing: -.03em; }
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 64px; }
.pf-card { display: flex; flex-direction: column; gap: 14px; }
.pf-ph { height: 396px; overflow: hidden; background: var(--fill); }
.pf-ph img { width: 100%; height: 100%; object-fit: cover; }
.pf-title { margin-top: 4px; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.pf-text { max-width: 420px; line-height: 1.45; }

/* ---------- privacy ---------- */
.pvp { width: 100%; max-width: 840px; margin: 0 auto; padding: 96px 20px 110px; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.pvp-h1 { font-family: var(--serif); font-weight: 500; font-size: 72px; line-height: .95; letter-spacing: -.03em; }
.pv-lead { font-size: 15px; line-height: 1.5; }
.pv-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); width: 100%; }
.pv-sec { padding: 24px 0; border-bottom: 1px solid var(--line); }
.pv-sec h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.pv-sec p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--soft); }
.pg-privacy main { border-bottom: 1px solid var(--line); max-width: none; }
.pg-privacy .pvp { border-bottom: 0; }

/* ---------- footer ---------- */
.foot { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 6px 20px 18px; }
.foot-links { display: flex; justify-content: flex-end; gap: 40px; }
.foot-links a { padding: 13px 0; }
.foot-bot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.foot-l { display: flex; align-items: flex-end; gap: 28px; min-width: 0; }
.foot-name { font-weight: 800; font-size: 88px; line-height: .8; letter-spacing: -.065em; white-space: nowrap; }
.foot-name .p-logo { height: 88px; }
.soc { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 12px; color: var(--mute); font-size: 12px; }
.made { font-size: 12px; color: var(--mute); }

/* ---------- reveal on first view (never in the editor, the cabinet preview or with reduced motion) ---------- */
.js-rv .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js-rv .rv-zoom { opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 1.8s cubic-bezier(.2,.7,.2,1); }
.js-rv .rv.is-in, .js-rv .rv-zoom.is-in { opacity: 1; transform: none; }
.js-rv .rv-d1 { transition-delay: .12s; } .js-rv .rv-d2 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .hero-track { animation: none; }
  .js-rv .rv, .js-rv .rv-zoom { opacity: 1; transform: none; transition: none; }
}

/* ---------- wider than 1440 (10.10, owner's requests for wide screens). At 1440 every value below equals the board's,
   so nothing changes there and nothing jumps just above it.
   - hero and «Відгуки героїв»: split in half (owner: «херо має ділитись пополам», «збалансуй по центру два блоки»);
   - text that sits at the screen's edge on the 1440 board starts at the line of a centred 1440 frame instead:
     (100% − 1440) / 2 + the board's own side padding (16 px in panels, 20 px in the header);
   - «Акції», «Відкрити діалог / Напишіть мені», «Запис на зйомку», the footer, the portfolio grid and the privacy text:
     the whole section stays in the centred 1440 frame (owner: «ці секції теж обмеж 1440 максимум»); the lines between
     sections still run the full width of the screen, the lines inside a section stop at the frame. ---------- */
@media (min-width: 1441px) {
  /* hero: exactly 50 / 50 above 1440 (user 10.10: «так» to the jump from the board's 58 / 42). Its photos keep their size
     (height 856), the track just shows more of them. */
  .hero-media { width: 50%; }
  .hero-text { padding-right: max(16px, calc((100% - 1440px) / 2 + 16px)); }   /* % of a flex item = the section's width */
  .hdr { padding-inline: max(20px, calc((100% - 1400px) / 2)); }
  /* reviews: exactly 50 / 50 above 1440 (user 10.10, as the hero); the title and reviews start at the frame line, the photo
     fills the other half (cover) */
  .reviews-text { width: 50%; padding-left: max(16px, calc((100% - 1440px) / 2 + 16px)); }
  .offers, .contact, .booking, .cf-sec { max-width: 1440px; margin-inline: auto;   /* their 1 px border-bottom drawn the full screen width: */
    border-image: linear-gradient(var(--line), var(--line)) 0 0 1 0 / 0 0 1px 0 / 0 100vw 0 100vw; }
  .foot { width: 100%; max-width: 1440px; margin-inline: auto; }
  .pf { padding-inline: max(10px, calc((100% - 1420px) / 2)); }   /* the portfolio cards: 2 × 705, the line under it spans */
  .pg-privacy main { padding-inline: max(20px, calc((100% - 1400px) / 2)); }   /* the text in the frame, the line spans */
}

/* ---------- no design for 901–1200: keep the desktop board from colliding ---------- */
@media (max-width: 1200px) and (min-width: 901px) {
  .s2 { flex-direction: column; gap: 28px; }
  .cal { width: 100%; max-width: 420px; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-main, .cf-main { padding: 40px 32px; }
  .hero-name { font-size: 52px; }
  .foot-name { font-size: 64px; }
  .contact-cols { flex-wrap: wrap; }
  .ccol--loc { width: auto; }
  .offer-foot { flex-wrap: wrap; }
}

/* ---------- phone board (≤900) ---------- */
@media (max-width: 900px) {
  body { font-size: 14px; }
  .h2 { font-size: 48px; }
  .hdr { height: 56px; padding: 0 6px 0 16px; justify-content: space-between !important; }
  .pg-index .hdr-name { display: block; }
  .hdr-name { font-size: 18px; }
  .hdr-name .p-logo { height: 32px; }
  .hdr-right { gap: 2px; }
  .nav { display: none; }
  .lang { margin-right: 6px; }
  .burger { display: flex; }

  .hero { flex-direction: column; height: auto; }
  .hero-media { width: 100%; height: 420px; border-bottom: 1px solid var(--line); }
  .hero-track { animation-duration: 32s; }
  .hero-ph--1 { width: 420px; } .hero-ph--2 { width: 338px; } .hero-ph--3 { width: 563px; }
  .hero-text { display: block; padding: 16px 16px 28px; border-left: 0; }
  .hero-name { font-size: 48px; }
  .hero-name .p-logo { height: 72px; }
  .hero-role { font-size: 28px; }
  .hero-foot { display: block; }
  .hero-sub { margin-top: 36px; max-width: 270px; font-size: 14px; line-height: 1.4; letter-spacing: 0; }
  .hero-foot .btn { display: flex; width: 100%; height: 48px; margin-top: 22px; font-size: 14px; }

  .stories { height: 600px; }
  .stories-in { width: 100%; max-width: none; padding: 0 24px; }
  .stories-sub { margin-top: 16px; font-size: 13px; }
  .stories-text { margin-top: 22px; max-width: none; line-height: 1.45; }
  .stories-in .btn { height: 48px; margin-top: 26px; padding: 0 36px; font-size: 14px; }

  .reviews { flex-direction: column; height: auto; }
  .reviews-text { width: 100%; padding: 16px 16px 36px; }
  .rev-list { margin-top: 44px; gap: 30px; }
  .rev blockquote { max-width: none; }
  .rev figcaption { font-size: 13px; }
  .rev:not(:last-child)::after { width: 160px; margin-top: 12px; }
  .reviews-photo { flex: none; height: 400px; border-left: 0; border-top: 1px solid var(--line); }

  .offers-head { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 16px 32px; }
  .offers-sub { max-width: none; }
  .offers-grid { grid-template-columns: 1fr; border-top: 0; }
  .offer { gap: 14px; padding: 16px 16px 28px; border-top: 1px solid var(--line); }
  .offer + .offer { border-left: 0; }
  .offer-ph { height: 260px; }
  .h3 { font-size: 32px; line-height: 1.02; }
  .offer-foot { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 0; }
  .offer-foot .btn { height: 48px; margin-top: 4px; font-size: 14px; }

  .contact { flex-direction: column; height: auto; }
  .contact-l { width: 100%; border-right: 0; }
  .contact-ph { height: 220px; }
  .contact-body { padding: 16px 16px 28px; }
  .contact-text { margin-top: 12px; max-width: none; }
  .contact-cols { justify-content: flex-start; }
  .ccol { flex: 1; font-size: 13px; }
  .ccol--loc { width: auto; }
  .msg { padding: 28px 16px 32px; border-top: 1px solid var(--line); }
  .msg-title { margin-bottom: 6px; font-size: 34px; }
  .msg input, .msg textarea { height: 48px; font-size: 14px; }
  .msg textarea { height: 120px; }
  .msg-acts { flex-direction: column; }
  .msg-btn { align-self: stretch; height: 48px; font-size: 14px; }

  .booking { flex-direction: column; gap: 24px; padding: 16px 16px 32px; }
  .bk-side { width: 100%; padding: 0; }
  .bk-sub { margin-top: 14px; max-width: none; line-height: 1.4; }
  .bk-steps { display: none; }
  .bk-main { padding: 0; border-left: 0; }
  .bk-form { gap: 24px; }
  .bk-prog { display: flex; flex-direction: column; gap: 12px; margin-bottom: -8px; }
  .bk-bars { display: flex; gap: 6px; }
  .bk-bars i { flex: 1; height: 2px; background: var(--fill); }
  .bk-bars i.on { background: var(--fg); }
  .bk-head .bk-count { display: none; }
  .bk-head .h3 { margin-top: 4px; }
  .svcsel-cur { min-height: 68px; }
  .svcsel-list { max-height: 300px; }
  .type-l { font-size: 22px; }
  .s2 { flex-direction: column; gap: 28px; }
  .cal { width: 100%; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sum { grid-template-columns: 1fr; }
  .fields2 { grid-template-columns: 1fr; }
  .fld input { height: 48px; }
  .fld textarea { height: 96px; }
  .bk-nav { flex-direction: column-reverse; align-items: stretch; gap: 4px; padding-top: 0; border-top: 0; }
  .bk-next { height: 48px; font-size: 14px; }
  .bk-next svg { display: none; }
  .cf-sec { display: flex; flex-direction: column; gap: 24px; padding: 16px 16px 32px; }
  .cf-side { width: 100%; padding: 0; }
  .cf-lead { margin-top: 14px; max-width: none; line-height: 1.4; }
  .cf-main { padding: 0; border-left: 0; }
  .cf .fld input { height: 48px; }
  .cf-acts { padding-top: 0; border-top: 0; }
  .cf-acts .bk-next { width: 100%; }
  .bk-back { height: 44px; border: 0; background: none; font-size: 14px; font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }
  .bk-back:hover { background: none; color: var(--mute); }
  .bk-back svg { display: none; }
  .bk-nav > :empty { display: none; }
  .bk-off-t { font-size: 26px; }

  .pf { gap: 40px; padding: 56px 16px 64px; }
  .pf-h1 { font-size: 52px; }
  .pf-grid { grid-template-columns: 1fr; row-gap: 44px; }
  .pf-card { gap: 12px; }
  .pf-ph { height: 220px; }
  .pf-title { font-size: 28px; }
  .pf-text { max-width: none; font-size: 14px; }
  .pvp { padding: 56px 16px 64px; }
  .pvp-h1 { font-size: 52px; }

  .foot { justify-content: flex-start; padding: 16px 16px 20px; }
  .foot-links { flex-direction: column; gap: 0; }
  .foot-links a { padding: 12px 0; }
  .foot-bot { flex-direction: column; align-items: stretch; gap: 24px; }
  .foot-l { flex-direction: column-reverse; align-items: flex-start; gap: 24px; }
  .foot-name { font-size: 48px; line-height: .85; white-space: normal; }
  .foot-name .p-logo { height: 56px; }
  .foot-r { align-items: flex-start; text-align: left; font-size: 12px; }
  .foot-legal { justify-content: flex-start; }
}
@media (max-width: 360px) {
  .hero-name { font-size: 40px; }
  .types { grid-template-columns: 1fr; }
}

/* 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 .types { max-height: min(480px, 78vh); overflow-y: auto; scrollbar-width: none; }
@media (max-width: 900px) {
  .booking .types { max-height: min(440px, 70vh); }
}
/* 14.10 (user): the service lists scroll without a visible scrollbar */
.booking .types::-webkit-scrollbar { display: none; }


/* 25.10 (owner: «застосуй до всіх шаблонів де є акції можливість додавання лише одної»): the owner may keep a single
   offer. Each card has data-needs on its own title, so an unfilled one disappears on the live site, and the section
   carries both titles, so it goes away whole when no offer is left. The card that stays must read as a banner made for
   one, not as half a row with a hole, so on the desktop it takes the whole row and lays its content out sideways.
   The phone keeps the stacked card. */
/* 13.11 (owner: «та, що лишається, має займати всю ширину контенту, красиво адаптуючись, а не просто розтягуючись»): the
   card is a composition around its photo, so a full-width photo band would drown the text. The single card takes the
   whole row as a spread instead: the photo fills the left half edge to edge (top, bottom and left, like the card's own
   bleed), the texts stand in the right half split off by the same 1 px line, centred against the photo. Rows: badge,
   title, text, foot between two flexible ones; a row the owner left empty stays zero high. */
@media (min-width: 901px) {
  .offers-grid:has(> .offer:only-child) { grid-template-columns: minmax(0, 1fr); }
  .offers-grid:has(> .offer:only-child) > .offer {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto auto 1fr;
    column-gap: 0; row-gap: 16px; padding: 40px 48px 40px 0; min-height: 480px;
  }
  .offers-grid:has(> .offer:only-child) > .offer > .offer-ph {
    grid-column: 1; grid-row: 1 / -1; height: auto; margin: -40px 48px -40px 0; border-right: 1px solid var(--line);
  }
  .offers-grid:has(> .offer:only-child) > .offer > .badge { grid-column: 2; grid-row: 2; justify-self: start; }
  .offers-grid:has(> .offer:only-child) > .offer > .h3 { grid-column: 2; grid-row: 3; }
  .offers-grid:has(> .offer:only-child) > .offer > .offer-text { grid-column: 2; grid-row: 4; }
  .offers-grid:has(> .offer:only-child) > .offer > .offer-foot { grid-column: 2; grid-row: 5; margin-top: 12px; }
}

/* ---------- 26.10 the «expert» block (owner: the structure of the three new expert templates in this template's own look):
   «Мої курси», «Кому підходять», «Придбати курс», «Посібник», the platform reviews, and the pages courses / course / services.
   Same film rhythm as «Акції»: a head row, cells split by 1 px lines, square outline buttons, Cormorant for names and prices.
   Only --bg / --fg and the greys derived from them, so all six palettes work. ---------- */
.crs, .aud, .buy, .guide, .vrev { border-bottom: 1px solid var(--line); }
.crs-grid, .buy-grid, .vrev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.crc { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 16px 16px 28px; }
.crc + .crc, .plan + .plan, .vrc + .vrc { border-left: 1px solid var(--line); }
.crc-ph { height: 320px; margin: -16px -16px 4px; overflow: hidden; background: var(--fill); }
.crc-ph img { width: 100%; height: 100%; object-fit: cover; }
.crc-meta { font-size: 12px; font-weight: 400; letter-spacing: .04em; color: var(--mute); }
.crc-t { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.crc-d { max-width: 420px; line-height: 1.5; }
.crc-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.crc-price { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1; white-space: nowrap; }
.crs-all { display: flex; justify-content: center; padding: 28px 16px 36px; border-top: 1px solid var(--line); }

.aud { display: flex; }
.aud-side { flex-shrink: 0; width: 40%; padding: 14px 16px 32px; }
.aud-main { flex: 1; min-width: 0; padding: 40px 56px 44px; border-left: 1px solid var(--line); }
.aud-list { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.aud-list li { display: flex; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.aud-list .num, .plan .num, .psr .num { flex-shrink: 0; width: 40px; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1; color: var(--mute); }
.aud-list p { max-width: 560px; font-size: 15px; line-height: 1.5; }
.aud-note { margin-top: 20px; max-width: 560px; }

.plan { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 16px 16px 28px; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.plan-hit { margin-top: 0; }
.plan-list, .pcc-list, .guide-list { display: flex; flex-direction: column; padding: 0; margin: 0; list-style: none; }
.plan-list li, .pcc-list li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--fill); }
.plan-list li svg, .pcc-list li svg { flex-shrink: 0; }
.plan-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.plan-price { font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: .95; letter-spacing: -.02em; white-space: nowrap; }
.plan-per { display: block; margin-top: 6px; font-size: 12px; color: var(--mute); }
/* the highlighted plan: inverted, as a chosen shoot type in the booking */
.plan--hi { background: var(--fg); color: var(--bg); }
.plan--hi .num, .plan--hi .plan-per { color: color-mix(in srgb, var(--bg) 62%, var(--fg)); }
.plan--hi .plan-hit { border-color: var(--bg); }
.plan--hi .plan-list li { border-bottom-color: color-mix(in srgb, var(--bg) 18%, var(--fg)); }
.btn--inv { border-color: var(--bg); color: var(--bg); }
.btn--inv:hover { background: var(--bg); color: var(--fg); }

.guide { display: flex; min-height: 640px; }
.guide-text { flex-shrink: 0; width: 40%; display: flex; flex-direction: column; gap: 18px; padding: 14px 16px 32px; }
.guide-text .badge { margin-top: 0; }
.guide-lead { max-width: 380px; line-height: 1.5; }
.guide-list { border-top: 1px solid var(--line); max-width: 420px; }
.guide-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.guide-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 24px; }
.guide-price { font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: 1; white-space: nowrap; }
.guide-ph { flex: 1; min-width: 0; overflow: hidden; border-left: 1px solid var(--line); background: var(--fill); }
.guide-ph img { width: 100%; height: 100%; object-fit: cover; }

.vrc { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 18px 16px 28px; }
.vrc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vrc-stars { font-size: 14px; letter-spacing: .12em; }
.vrc-off { color: var(--line); }
.vrc-date { font-size: 12px; color: var(--mute); }
.vrc blockquote { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; }
.vrc figcaption { display: flex; flex-direction: column; gap: 3px; }
.vrc-name { font-weight: 500; }
.vrc-course { font-size: 12px; color: var(--mute); }
.vrc-badge { gap: 6px; margin-top: auto; border-color: var(--mute); font-weight: 400; }

/* courses.html / services.html */
.pc-head { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.pc-lead { max-width: 560px; text-align: center; font-size: 15px; line-height: 1.5; color: var(--soft); }
.pc-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pcc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.pcc-ph { height: 440px; overflow: hidden; background: var(--fill); }
.pcc-ph img { width: 100%; height: 100%; object-fit: cover; }
.pcc-text { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 24px 40px 32px; border-left: 1px solid var(--line); }
.pcc-d { max-width: 460px; font-size: 15px; line-height: 1.5; }
.pcc-inc { margin-top: 6px; font-weight: 600; color: var(--mute); }
.pcc-list { max-width: 460px; border-top: 1px solid var(--fill); }
.pc-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding-top: 8px; }
.pc-cta-text { max-width: 440px; line-height: 1.5; }
.ps-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.psr { display: flex; align-items: center; gap: 24px; padding: 22px 6px; border-bottom: 1px solid var(--line); }
.psr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.psr-t { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.psr-d { max-width: 520px; color: var(--mute); line-height: 1.45; }
.psr-side { flex-shrink: 0; display: flex; align-items: center; gap: 24px; }
.psr-m { font-size: 14px; white-space: nowrap; }

/* index: the short price list leading to «Послуги й ціни» (the services.html rows in the home page's rhythm) */
.svcs { border-bottom: 1px solid var(--line); }
.svcs-list { padding-inline: 16px; }
.svcs-list .psr:last-child { border-bottom: 0; }

/* course.html */
.co-head { width: 100%; max-width: 880px; margin: 0 auto; padding: 96px 20px 56px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.co-head .badge { align-self: center; margin-top: 0; }
.co-prog { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.co-prog-row { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--mute); }
.co-prog-n { color: var(--fg); font-weight: 500; }
.co-bar { height: 2px; background: var(--fill); }
.co-bar i { display: block; height: 100%; background: var(--fg); }
.co { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.co-side { flex-shrink: 0; width: 34%; display: flex; flex-direction: column; gap: 18px; padding: 14px 16px 32px; }
.co-side-h { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.co-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.co-step { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 60px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line);
  background: none; color: var(--mute); text-align: left; cursor: pointer; }
.co-step .num { width: 36px; flex-shrink: 0; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1; }
.co-step-t { flex: 1; min-width: 0; font-size: 14px; }
.co-step-len { flex-shrink: 0; font-size: 12px; }
.co-step.is-done, .co-step.is-cur { color: var(--fg); }
.co-step.is-cur .co-step-t { font-weight: 600; }
.co-step.is-locked { cursor: default; opacity: .55; }
.co-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding: 40px 56px; border-left: 1px solid var(--line); }
.co-player { position: relative; height: 480px; overflow: hidden; background: var(--fill); }
.co-player img { width: 100%; height: 100%; object-fit: cover; }
.co-player::after { content: ""; position: absolute; inset: 0; background: rgba(22, 22, 22, .32); pointer-events: none; }
.co-play { position: absolute; left: 24px; bottom: 24px; z-index: 1; }
.co-len { position: absolute; right: 24px; bottom: 38px; z-index: 1; color: #fff; font-size: 13px; font-weight: 500; }
.co-text { max-width: 620px; font-size: 15px; line-height: 1.55; }
.co-notes { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--fill); }
.co-notes-h { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1; }
.co-notes .fld textarea { height: 104px; }
.co-notes-row { display: flex; align-items: center; gap: 16px; }
.co-nav { margin-top: 8px; }
.stars { display: flex; gap: 6px; margin: 0; padding: 0; border: 0; }
.stars label { position: relative; display: flex; cursor: pointer; }
.stars input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.stars svg { width: 28px; height: 28px; fill: none; stroke: var(--fg); stroke-width: 1.5; }
.stars label.is-on svg { fill: var(--fg); }
.stars input:focus-visible + svg { outline: 1px solid var(--fg); outline-offset: 2px; }

@media (min-width: 1441px) {
  .crs, .aud, .buy, .vrev, .svcs { max-width: 1440px; margin-inline: auto;
    border-image: linear-gradient(var(--line), var(--line)) 0 0 1 0 / 0 0 1px 0 / 0 100vw 0 100vw; }
  .co { max-width: 1440px; margin-inline: auto; border-image: linear-gradient(var(--line), var(--line)) 1 0 / 1px 0 / 0 100vw; }
  .guide-text { width: 50%; padding-left: max(16px, calc((100% - 1440px) / 2 + 16px)); }   /* the photo fills the other half, as «Відгуки» */
}
@media (max-width: 1200px) and (min-width: 901px) {
  .crc-foot, .plan-foot { flex-wrap: wrap; }
  .aud-main, .co-main { padding: 40px 32px; }
  .pcc-text { padding: 24px 24px 32px; }
  .psr { flex-wrap: wrap; }
  .psr-side { width: 100%; justify-content: space-between; padding-left: 64px; }
}
@media (max-width: 900px) {
  .crs-grid, .buy-grid, .vrev-grid { grid-template-columns: 1fr; border-top: 0; }
  .crc, .plan, .vrc { border-top: 1px solid var(--line); }
  .crc + .crc, .plan + .plan, .vrc + .vrc { border-left: 0; }
  .crc-ph { height: 260px; }
  .crc-t { font-size: 28px; }
  .crc-foot .btn, .plan-foot .btn, .guide-foot .btn { height: 48px; font-size: 14px; }
  .crs-all .btn { width: 100%; height: 48px; font-size: 14px; }
  .aud { flex-direction: column; }
  .aud-side { width: 100%; padding: 16px 16px 0; }
  .aud-main { padding: 24px 16px 32px; border-left: 0; }
  .aud-list .num { width: 32px; font-size: 26px; }
  .aud-list p { font-size: 14px; }
  .plan-price, .guide-price { font-size: 40px; }
  .guide { flex-direction: column; min-height: 0; }
  .guide-text { width: 100%; padding: 16px 16px 32px; }
  .guide-foot { flex-wrap: wrap; gap: 16px; }
  .guide-ph { flex: none; height: 300px; border-left: 0; border-top: 1px solid var(--line); }
  .vrc blockquote { font-size: 22px; }
  .pc-lead { font-size: 14px; }
  .pcc { grid-template-columns: 1fr; }
  .pcc-ph { height: 240px; }
  .pcc-text { padding: 20px 6px 28px; border-left: 0; }
  .pcc-d { font-size: 14px; }
  .psr { flex-wrap: wrap; gap: 14px; padding: 20px 0; }
  .psr .num { width: 32px; font-size: 26px; }
  .psr-main { flex: 1 1 calc(100% - 46px); }
  .psr-t { font-size: 26px; }
  .psr-side { width: 100%; justify-content: space-between; padding-left: 46px; }
  .co-head { padding: 56px 16px 40px; }
  .co-h1 { font-size: 44px; }
  .co { flex-direction: column; }
  .co-side { width: 100%; padding: 16px 16px 28px; }
  .co-side-h { font-size: 32px; }
  .co-main { padding: 24px 16px 32px; border-left: 0; border-top: 1px solid var(--line); }
  .co-player { height: 260px; }
  .co-play { left: 16px; bottom: 16px; height: 44px; padding: 0 20px; }
  .co-len { right: 16px; bottom: 30px; }
  .co-text { font-size: 14px; }
}
