/* Jahan · site styles, v4 (2 Nov 2026)
   One system: a 1160 px container, a 12-column grid, an 8 px spacing scale,
   two type families (Fraunces for headings, Inter for reading), one accent.
   Dark is the default look (the backdrop of Jahan's photoshoot); light is the viewer's choice.
   No decorative lines or graphics: sections are separated by space and surface tone. */

/* ---------- tokens ---------- */
:root {
  --bg: #0C1012;
  --surface: #141A1D;
  --surface-2: #1B2327;
  --ink: #EEEAE3;
  --text: #D4D0C8;
  --muted: #9EA49F;
  --accent: #D9B98F;          /* warm sand */
  --accent-ink: #15110C;
  --ghost: rgba(238, 234, 227, 0.22);
  --shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.7);
  --mark: #E8AA68;
  --mark-wash: #3A2A16;
  color-scheme: dark;

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

  /* 8 px scale */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  --container: 1160px;
  --gutter: 20px;
  --col-gap: 24px;
  --radius: 20px;

  --t-body: 1.0625rem;   /* 17 */
  --t-small: 0.9375rem;  /* 15 */
  --t-label: 0.8125rem;  /* 13 */
  --t-lead: 1.1875rem;   /* 19 */
  --t-h3: 1.25rem;       /* 20 */
  --t-h2: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --t-h1: clamp(2.75rem, 1.6rem + 4.6vw, 5rem);
  --t-price: clamp(2.25rem, 1.8rem + 1.6vw, 3rem);
}
@media (min-width: 761px) {
  :root { --gutter: 40px; --col-gap: 32px; --t-body: 1.125rem; --t-lead: 1.3125rem; --t-h3: 1.375rem; }
}
:root[data-look="light"] {
  --bg: #F5F0E8;
  --surface: #FFFCF7;
  --surface-2: #EDE5D9;
  --ink: #1E1A16;
  --text: #3B352E;
  --muted: #6E665C;
  --accent: #8C5A2E;          /* clay */
  --accent-ink: #FFFFFF;
  --ghost: rgba(30, 26, 22, 0.25);
  --shadow: 0 30px 60px -44px rgba(60, 40, 20, 0.45);
  --mark: #8E5212;
  --mark-wash: #F3E3CC;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
p, ul, ol, figure, blockquote, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
strong, b { color: var(--ink); font-weight: 600; }

h1, h2 { font-family: var(--font-head); font-weight: 400; color: var(--ink); letter-spacing: -0.015em; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: var(--t-h1); line-height: 1.04; }
h2 { font-size: var(--t-h2); line-height: 1.12; }
h3 { font-family: var(--font-body); font-size: var(--t-h3); font-weight: 600; line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; }

.eyebrow { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--text); max-width: 36em; }
.small { font-size: var(--t-small); line-height: 1.6; }
.muted { color: var(--muted); }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
main > section { padding-block: var(--s6); }
@media (min-width: 761px) { main > section { padding-block: var(--s7); } }
.sec-head { display: grid; gap: var(--s2); max-width: 46rem; margin-bottom: var(--s5); }
@media (min-width: 761px) { .sec-head { margin-bottom: var(--s6); } }
.stack > * + * { margin-top: var(--s5); }
@media (min-width: 761px) { .stack > * + * { margin-top: var(--s6); } }

/* two layouts only: equal halves, and media (5) + text (7) */
.cols-2, .media-text { display: grid; gap: var(--s3) var(--col-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 761px) {
  .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-text { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
  .media-text.top { align-items: start; }
}
.cols-3 { display: grid; gap: var(--s3) var(--col-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.prose { display: grid; gap: var(--s2); max-width: 38em; }
.prose h3 { margin-top: var(--s1); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 64px; }
.brand { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: var(--s3); font-size: var(--t-small); }
.nav a.sec { color: var(--text); text-decoration: none; }
.nav a.sec:hover { color: var(--ink); }
.nav a.lang { color: var(--muted); text-decoration: none; font-weight: 600; font-size: var(--t-label); letter-spacing: 0.08em; }
@media (max-width: 900px) { .nav a.sec { display: none; } .nav { gap: var(--s2); } }
.look { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); }
.look button { font: 600 0.75rem var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.look button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 var(--s3);
  border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink);
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ghost); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.textlink { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--ghost); }
.textlink:hover { text-decoration-color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 0 !important; background: #0C1012; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 30%; }
.hero-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 32%; background: linear-gradient(to bottom, rgba(12, 16, 18, 0), #0C1012); }
.hero-in { position: relative; z-index: 1; min-height: min(calc(100svh - 64px), 900px); display: grid; align-content: end; padding-block: var(--s7) var(--s6); }
.hero-copy { display: grid; gap: var(--s3); max-width: 34rem; }
.hero h1 { color: #F3EFE8; }
.hero .eyebrow { color: #D9B98F; }
.hero .lead { color: #D8D3CA; }
.hero .btn { background: #D9B98F; border-color: #D9B98F; color: #15110C; }
.hero .textlink { color: #F3EFE8; text-decoration-color: rgba(243, 239, 232, 0.35); }
.trust { font-size: var(--t-small); color: #B9B6AE; }
.trust a { color: inherit; }
@media (max-width: 760px) {
  .hero-photo { position: relative; aspect-ratio: 4 / 5; }
  .hero-in { min-height: 0; margin-top: -96px; padding-block: 0 var(--s6); }
}
/* light look: the dark hero opens into warm linen */
:root[data-look="light"] .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, rgba(12, 16, 18, 0), var(--bg)); pointer-events: none; }
:root[data-look="light"] .hero-in { padding-bottom: calc(var(--s6) + 96px); }

/* ---------- cards ---------- */
.card { background: var(--surface); border-radius: var(--radius); padding: var(--s3); display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
@media (min-width: 761px) { .card { padding: var(--s4); } }
.card.featured { background: var(--surface-2); }
.card .btn { margin-top: auto; align-self: stretch; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.badge { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 4px 10px; }
.price { font-family: var(--font-head); font-size: var(--t-price); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.price small { font-family: var(--font-body); font-size: var(--t-small); color: var(--muted); margin-left: 6px; }
.card-line { color: var(--muted); font-size: var(--t-small); }

/* lists */
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; font-size: var(--t-small); }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.5em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.dots { list-style: none; padding: 0; display: grid; gap: 10px; }
.dots li { position: relative; padding-left: 22px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.dots.no li::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }

/* info pair under the price cards */
.info { display: grid; gap: 6px; align-content: start; }
.info p:first-child { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* media */
.photo { margin: 0; }
.photo img, .photo video { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.photo figcaption { margin-top: var(--s1); font-size: var(--t-label); color: var(--muted); }
.wide-clip video { aspect-ratio: 1200 / 504; }

/* ---------- one to one offer ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .offer { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.offer-main, .offer-side { padding: var(--s3); display: grid; gap: var(--s2); align-content: start; }
@media (min-width: 761px) { .offer-main, .offer-side { padding: var(--s5); } }
.offer-side { background: var(--surface-2); }
.offer-side .btn { margin-top: var(--s1); }
.offer h3 { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); }
.terms { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* quotes */
.quote { display: grid; gap: var(--s2); }
.quote blockquote { font-family: var(--font-head); color: var(--ink); font-size: 1.25rem; line-height: 1.45; }
.quote figcaption { font-size: var(--t-small); color: var(--muted); }
.quote figcaption b { color: var(--ink); }
.quote.big { background: var(--surface); border-radius: var(--radius); padding: var(--s4) var(--s3); }
@media (min-width: 761px) { .quote.big { padding: var(--s6); } }
.quote.big blockquote { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.4; max-width: 34em; }
.quote.big blockquote em { font-style: normal; color: var(--accent); }

/* ---------- about ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); margin-top: var(--s2); }
.stats div { display: grid; gap: 2px; }
.stats b { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1; color: var(--ink); }
.stats span { font-size: var(--t-small); color: var(--muted); }

/* training with the papers to show it */
.proof-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.doc { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface-2); padding: 0; border: 0; width: 100%; cursor: zoom-in; }
.doc img { position: absolute; inset: var(--s3); width: calc(100% - 2 * var(--s3)); height: calc(100% - 2 * var(--s3)); object-fit: contain; }
:root:not([data-look="light"]) .doc img { filter: brightness(0.9); }
.proof-body { padding: var(--s3); display: grid; gap: var(--s1); align-content: start; }
.year { font-family: var(--font-head); font-size: 1.75rem; line-height: 1; color: var(--accent); }
.proof-body .small { color: var(--muted); }
.see { justify-self: start; margin-top: var(--s1); font: 600 var(--t-small) var(--font-body); color: var(--ink); background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-color: var(--ghost); text-underline-offset: 0.22em; cursor: zoom-in; }

/* document viewer */
.viewer { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: hidden; }
.viewer::backdrop { background: rgba(8, 10, 12, 0.86); }
.viewer img { max-width: 100%; max-height: 86vh; width: auto; height: auto; border-radius: 6px; margin-inline: auto; }
.viewer button { display: block; margin: var(--s2) auto 0; font: 600 var(--t-small) var(--font-body); color: #F3EFE8; background: rgba(255, 255, 255, 0.12); border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer; }

/* ---------- faq: short questions, answers open on tap ---------- */
.faq { display: grid; gap: var(--s1); max-width: 52rem; }
.faq details { background: var(--surface); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: 18px var(--s3); font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--font-body); color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 var(--s3) 20px; color: var(--muted); max-width: 40em; }

/* ---------- contact ---------- */
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: var(--s3); align-content: start; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; min-height: 36px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--accent); font: 600 1rem var(--font-body); }
.reach { display: grid; gap: var(--s2); align-content: start; }
.reach .btn { width: 100%; }
@media (min-width: 761px) { .reach { background: var(--surface); border-radius: var(--radius); padding: var(--s5); } }
.handles { font-size: var(--t-small); color: var(--muted); }
.handles a { color: inherit; }

/* ---------- social logos (filled by site.js from CONTACT) ---------- */
.social { display: flex; flex-wrap: wrap; gap: var(--s1); }
.social:empty { display: none; }
.social-a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--ink); transition: color .2s ease, background-color .2s ease; }
.social-a:hover, .social-a:focus-visible { background: var(--accent); color: var(--accent-ink); }
.social-a svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- footer ---------- */
footer { padding-block: var(--s6) calc(var(--s6) + env(safe-area-inset-bottom, 0px)); background: var(--surface); }
.foot-in { display: grid; gap: var(--s2); font-size: var(--t-small); color: var(--muted); }
.foot-in > p { max-width: 46rem; }
.foot-brand { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }

/* ---------- phone booking bar ---------- */
.stickybar { display: none; }
@media (max-width: 760px) {
  .stickybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .stickybar p { display: grid; line-height: 1.3; font-size: var(--t-small); }
  .stickybar b { color: var(--ink); }
  .stickybar span { color: var(--muted); font-size: 0.8125rem; }
  body { padding-bottom: 72px; }
}

/* ---------- draft marks (only while Jahan's details are missing) ---------- */
.todo { color: var(--mark); background: var(--mark-wash); border-bottom: 1.5px dotted var(--mark); border-radius: 4px; padding: 0 0.35em; font-size: 0.92em; }
.draftpill { position: fixed; right: 14px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 999px; background: var(--mark-wash); color: var(--ink); font-size: var(--t-small); }
.draftpill button { font: 600 var(--t-small) var(--font-body); color: var(--mark); background: transparent; border: 1px solid currentColor; border-radius: 999px; padding: 4px 11px; cursor: pointer; }
html.clean .todo, html.clean .draft-only { display: none !important; }

/* ---------- chapters: each block is its own band (Jahan: "одним сплошным листом") ---------- */
:root { --band: #151C20; --band-surface: #1D262B; --band-surface-2: #242F35; }
:root[data-look="light"] { --band: #EAE1D3; --band-surface: #FBF7F0; --band-surface-2: #F3ECE1; }
main > section.tone { background: var(--band); --surface: var(--band-surface); --surface-2: var(--band-surface-2); }
.chapter { display: flex; align-items: baseline; gap: 12px; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.chapter span { font-family: var(--font-head); font-size: 1.5rem; font-weight: 400; letter-spacing: 0; color: var(--ink); }
@media (min-width: 761px) { .chapter { font-size: 1rem; } .chapter span { font-size: 1.75rem; } }

/* hero: the service name first, Jahan's line under it */
.hero h1 { font-size: clamp(3.25rem, 2rem + 6vw, 6.5rem); line-height: 0.98; }
.tagline { font-family: var(--font-head); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); line-height: 1.2; color: #F3EFE8; margin-top: -8px; }
.hero-copy { max-width: 38rem; }

.top-phone { font-size: var(--t-small); font-weight: 600; color: var(--ink); white-space: nowrap; }
@media (max-width: 1100px) { .top-phone { display: none; } }

/* first screen, calmer (Jahan: "перегруженный"): name, his line, the facts, one button */
.hero-copy { gap: var(--s3); }
.hero-meta { font-size: var(--t-lead); color: #C9C4BA; }
.hero .cta-row { margin-top: var(--s1); }
.nav { gap: var(--s4); }
@media (max-width: 900px) { .nav { gap: var(--s2); } }
footer .look { justify-self: start; margin-top: var(--s1); }
.explain > div { display: grid; gap: var(--s1); align-content: start; }
.explain p { color: var(--text); }

/* ---------- how to book, under the prices ---------- */
.howto { list-style: none; counter-reset: h; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s2) var(--col-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 761px) { .howto { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.howto li { counter-increment: h; position: relative; padding: var(--s2) var(--s3) var(--s2) 60px; background: var(--surface); border-radius: 14px; font-size: var(--t-small); line-height: 1.5; }
.howto li::before { content: counter(h); position: absolute; left: var(--s3); top: var(--s2); font: 400 1.5rem/1 var(--font-head); color: var(--accent); }
.howto b { display: block; }

/* ---------- motion, borrowed from the best gallery sites: quiet, slow, optional ---------- */
/* a slow line of words between the hero and the first chapter */
.ticker { overflow: hidden; padding-block: var(--s4); background: var(--bg); }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker span { font-family: var(--font-head); font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); line-height: 1.2; white-space: nowrap; color: color-mix(in srgb, var(--ink) 34%, transparent); padding-right: 0.4em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* hero: the photo settles, the words arrive one after another */
.hero-photo img { animation: settle 9s cubic-bezier(.2, .6, .2, 1) both; transform-origin: 65% 35%; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .24s; }
.hero-copy > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* blocks rise in as they reach the screen; photos open like a curtain */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .photo.reveal { transform: none; opacity: 1; }
html.js .photo.reveal img, html.js .photo.reveal video { clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.2s cubic-bezier(.2, .7, .2, 1); }
html.js .photo.reveal.in img, html.js .photo.reveal.in video { clip-path: inset(0 0 0 0 round var(--radius)); }

/* cards answer the pointer */
.card, .proof-card, .howto li { transition: transform .35s ease, background-color .35s ease; }
@media (hover: hover) { .card:hover, .proof-card:hover { transform: translateY(-4px); } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .hero-photo img, .hero-copy > * { animation: none; }
  html.js .reveal, html.js .photo.reveal img, html.js .photo.reveal video { opacity: 1; transform: none; clip-path: none; transition: none; }
  .card, .proof-card { transition: none; }
}

/* reading line at the very top (Jahan: "линия, когда листаешь вниз") */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* phone menu */
.menu-btn { display: none; font: 600 var(--t-small) var(--font-body); color: var(--ink); background: var(--surface); border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; }
@media (max-width: 900px) { .menu-btn { display: inline-flex; } }
.menu { background: var(--bg); padding-block: var(--s1) var(--s3); }
.menu .wrap { display: grid; }
.menu a { font-family: var(--font-head); font-size: 1.625rem; line-height: 1.2; color: var(--ink); text-decoration: none; padding-block: 10px; }
@media (min-width: 901px) { .menu { display: none !important; } }

/* floating WhatsApp button, desktop only (phones have the booking bar) */
.float-wa { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: none; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 1rem/1 var(--font-body); text-decoration: none; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
@media (min-width: 761px) { .float-wa { display: inline-flex; } }
.float-wa.show { opacity: 1; transform: none; pointer-events: auto; }

/* bigger tap targets (QA 2 Nov): every control at least ~40 px tall */
.nav a.sec { padding-block: 10px; }
.nav a.lang { padding: 10px 8px; margin-inline: -8px; }
.menu-btn { min-height: 40px; }
.see { padding-block: 10px; margin-top: 0; }
.look button { padding: 10px 14px; }
.badge { font-size: 0.8125rem; }

/* booking window */
.book-dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); overflow: auto; border: 0; border-radius: var(--radius); padding: var(--s3); background: var(--surface); color: var(--text); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
@media (min-width: 761px) { .book-dlg { padding: var(--s4); } }
.book-dlg::backdrop { background: rgba(8, 10, 12, 0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.book-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s1); }
.book-head h2 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem); }
.book-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); font: 400 1.5rem/1 var(--font-body); cursor: pointer; }
.book-label { display: block; margin: var(--s3) 0 var(--s1); font-size: var(--t-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); }
.chips.days { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.chip { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ghost); background: transparent; color: var(--ink); font: 500 var(--t-small) var(--font-body); cursor: pointer; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.book-input { width: 100%; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--ghost); background: var(--bg); color: var(--ink); font: 400 1rem var(--font-body); }
.book-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.book-send { width: 100%; margin-top: var(--s3); }
.book-send.is-off { opacity: 0.45; }
.book-err { margin-top: var(--s2); color: var(--accent); font-size: var(--t-small); }
.book-note { margin-top: var(--s1); font-size: var(--t-small); color: var(--muted); text-align: center; }
.book-ask { display: block; margin-top: var(--s2); text-align: center; font-size: var(--t-small); }

/* ---------- links page (/links/): one narrow column for the Instagram bio link ---------- */
.links { max-width: 30rem; min-height: 100svh; display: grid; align-content: center; justify-items: center; gap: var(--s3); padding-block: var(--s6); text-align: center; }
.links-face { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.links h1 { margin: 0; font-size: clamp(2.25rem, 8vw, 3rem); }
.links-lead { margin: calc(var(--s2) * -1) 0 0; color: var(--muted); }
.links-list { width: 100%; display: grid; gap: var(--s2); }
.links-list .btn { width: 100%; }
.links .social { justify-content: center; }
.links-foot { margin: 0; font-size: var(--t-small); color: var(--muted); }
.links-foot a { color: inherit; }
