﻿/* X-Pain — one motif: the red X stroke from the logo. It is the hero mark, the photo mask,
   the button shape, the list bullet and the band. Brand colours come from the clinic's own artwork. */

:root {
  --blue: #1d9fd9;
  --blue-2: #1a80b8;
  --blue-3: #13659f;
  --blue-deep: #0d4a8c;
  --sky: #cfe9f7;
  --paper: #f3f9fd;
  --white: #ffffff;
  --ink: #0a0a0b;
  --red: #ff2d36;
  --red-press: #e3141e;
  --star: #fbbc04; /* Google's own rating colour, used only on the stars */

  --slant: -16deg;           /* the angle of one X stroke */
  --unslant: 16deg;

  --f-display: "Karantina", "Rubik", system-ui, sans-serif;
  --f-text: "Rubik", system-ui, sans-serif;

  --s-small: 0.875rem;
  --s-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  --s-sub: 1.375rem;
  --s-head2: clamp(2.25rem, 1.6rem + 2vw, 3.5rem);
  --s-head: clamp(2.75rem, 1.6rem + 4.4vw, 5.5rem);
  --s-display: clamp(4.5rem, 1.5rem + 10.5vw, 12rem);

  --margin: clamp(16px, 3vw, 40px);
  --gap-section: clamp(96px, 12vw, 200px);
  --measure: 64ch;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--s-body);
  line-height: 1.55;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); background: var(--ink); color: var(--white); z-index: 50; }
.skip:focus { width: auto; height: auto; clip: auto; inset-inline-start: 12px; top: 12px; padding: 10px 16px; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
.display { font-family: var(--f-display); font-weight: 700; line-height: .86; letter-spacing: -0.01em; }
.rough { filter: url(#rough); }
.wrap { padding-inline: var(--margin); max-width: 1600px; margin-inline: auto; }

/* ---------- the motif ---------- */
.x-big { position: absolute; pointer-events: none; }
.x-big i {
  position: absolute; inset-block: 0; inset-inline-start: 50%;
  width: 24%; margin-inline-start: -12%;
  background: var(--red);
  transform-origin: 50% 50%;
}
.x-big i:first-child { transform: rotate(18deg); }
.x-big i:last-child { transform: rotate(-18deg); }

.slant { transform: skewX(var(--slant)); overflow: hidden; }
.slant > img, .slant > .fade { transform: skewX(var(--unslant)) scale(1.32); width: 100%; height: 100%; object-fit: cover; }

.btn {
  --bg: var(--red); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 0 34px;
  background: var(--bg); color: var(--fg);
  font: 700 var(--s-body)/1 var(--f-text);
  text-decoration: none; border: 0; cursor: pointer;
  transform: skewX(var(--slant));
  transition: transform .18s var(--ease), background-color .18s;
}
.btn > span { transform: skewX(var(--unslant)); display: inline-block; }
.btn:hover { background: var(--red-press); transform: skewX(var(--slant)) translateY(-2px); }
.btn:active { transform: skewX(var(--slant)) translateY(1px) scale(.98); }
.btn--ink { --bg: var(--ink); --fg: var(--white); }
.btn--ink:hover { background: #262629; }
.btn--white { --bg: var(--white); --fg: var(--ink); }
.btn--white:hover { background: var(--sky); }
.btn--small { min-height: 48px; padding: 0 22px; font-size: var(--s-body); }

.xlist { list-style: none; margin: 0; padding: 0; }
.xlist li { position: relative; padding-inline-start: 34px; }
.xlist li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .32em; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 0h4l8 18h-4z M11 0h4L7 18H3z' fill='%23ff2d36'/%3E%3C/svg%3E") no-repeat center / contain;
}

.band { height: clamp(28px, 4vw, 56px); background: var(--red); transform: skewY(-2deg); margin-block: -14px; position: relative; z-index: 2; }

.stars { display: inline-flex; gap: .08em; color: var(--star); vertical-align: middle; }
.stars svg { width: 1em; height: 1em; fill: currentColor; }

/* ---------- header ---------- */
.site-head { background: var(--blue); position: relative; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: block; text-decoration: none; flex: none; }
.logo img { height: 76px; width: auto; display: block; margin-block: -6px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: var(--s-body); padding-block: 8px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .site-head .wrap { min-height: 72px; }
  .logo img { height: 62px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--white);
    border: 0; min-height: 48px; padding: 0 18px; font: 700 1rem var(--f-text); cursor: pointer;
  }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--blue); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--margin) 24px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { font-size: var(--s-sub); padding-block: 12px; }
  .nav .btn { margin-top: 12px; }
}

/* ---------- hero (home) ---------- */
.hero { background: var(--blue); position: relative; overflow: hidden; min-height: calc(100svh - 84px); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; min-height: calc(100svh - 84px); }
.hero-copy { position: relative; z-index: 3; padding-block: 48px 72px; }
.hero h1 { font-size: var(--s-display); }
.hero h1 .line { display: block; }
.brushed { position: relative; display: inline-block; padding: .06em .3em .02em .22em; isolation: isolate; }
.brushed::before {
  content: ""; position: absolute; z-index: -1; inset: 18% -6% 4% -14%;
  background: url("../img/brush.svg") no-repeat center / 100% 100%;
}
.xletter { color: var(--red); }
.hero-lead { font-size: var(--s-lead); line-height: 1.35; max-width: 30ch; margin-top: 30px; font-weight: 500; }
.rating {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 28px;
  font-size: var(--s-lead); font-weight: 700; text-decoration: none; line-height: 1.1;
}
.rating .stars { font-size: 1.3em; }
.rating .of { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.phone { font-size: var(--s-lead); font-weight: 700; text-decoration: none; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.phone:hover { text-decoration: underline; }

.hero-figure { position: relative; align-self: stretch; min-height: 560px; }
.hero-figure .x-big { inset-block: -6% -14%; inset-inline: -10% -30%; }
.hero-figure .boris { position: absolute; bottom: 0; inset-inline-start: 50%; transform: translateX(50%); width: min(92%, 640px); z-index: 2; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding-block: 36px 8px; }
  .hero h1 { font-size: clamp(4.25rem, 21vw, 7.5rem); }
  .hero-figure { min-height: 0; height: 118vw; max-height: 620px; margin-inline: calc(var(--margin) * -1); }
  .hero-figure .x-big { inset: 0 -8% -10% -8%; }
  .hero-figure .boris { width: 86%; }
  .actions .btn { flex: 1 1 100%; }
}

/* ---------- section scaffolding ---------- */
.section { padding-block: var(--gap-section); position: relative; }
.section-head { display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: end; gap: 24px; margin-bottom: 64px; }
.section-head h2 { font-size: var(--s-head); grid-column: 1; }
.section-head p { grid-column: 3; font-size: var(--s-lead); line-height: 1.4; max-width: 34ch; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; margin-bottom: 40px; } .section-head p { grid-column: 1; } }

/* ---------- reviews (home) ---------- */
.reviews { background: var(--blue-deep); color: var(--white); overflow: hidden; }
.reviews .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.score { grid-column: 1 / 6; }
.score .big { font-size: clamp(9rem, 4rem + 18vw, 22rem); line-height: .78; display: block; }
.score .stars { font-size: clamp(2.5rem, 1.5rem + 3.5vw, 5rem); margin-top: 18px; }
.score .count { font-size: var(--s-lead); font-weight: 700; margin-top: 18px; }
.score .count a { text-decoration-color: var(--red); }
.topics { margin-top: 40px; display: grid; gap: 10px; font-size: var(--s-body); }
.topics li { display: flex; justify-content: space-between; max-width: 26ch; gap: 16px; }
.topics b { font-variant-numeric: tabular-nums; }

.quote-stage { grid-column: 7 / 13; margin-top: 120px; }
.quote-wrap { position: relative; min-height: 15em; }
.quote { position: absolute; inset: 0 0 auto 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.6s ease, visibility 0s linear 1.6s; }
.quote.on { opacity: 1; visibility: visible; transition: opacity 1.6s ease, visibility 0s; }
.quote p { font-size: var(--s-lead); line-height: 1.25; font-weight: 500; max-width: 34ch; }
.quote footer { margin-top: 26px; font-size: var(--s-body); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.quote footer .stars { font-size: 1.1em; }
.no-js .quote:first-child { opacity: 1; visibility: visible; }
.who { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.who button {
  background: none; border: 0; color: var(--white); font: 500 var(--s-body) var(--f-text); cursor: pointer;
  padding: 8px 0; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 6px;
  transition: text-decoration-color .2s, opacity .2s; opacity: .78;
}
.who button:hover { opacity: 1; }
.who button[aria-pressed="true"] { opacity: 1; text-decoration-color: var(--red); }
.reviews .more { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 900px) {
  .score, .quote-stage { grid-column: 1 / -1; }
  .quote-stage { margin-top: 64px; }
  .quote-wrap { min-height: 21em; }
}

/* ---------- how it works: accordion ---------- */
.steps { display: flex; height: 540px; }
.step { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow .45s var(--ease); color: var(--white); }
.step:nth-child(1) { background: var(--blue-deep); }
.step:nth-child(2) { background: var(--blue-3); }
.step:nth-child(3) { background: var(--blue-2); }
.step:nth-child(4) { background: var(--blue); color: var(--ink); }
.step:nth-child(5) { background: var(--sky); color: var(--ink); }
.step.open { flex-grow: 7; }
.step > button {
  position: absolute; inset: 0; width: 100%; background: none; border: 0; color: inherit; cursor: pointer; padding: 0;
  font: 700 var(--s-body) var(--f-text); text-align: start;
}
.step > button span { position: absolute; bottom: 28px; inset-inline-start: 50%; writing-mode: vertical-rl; transform: translateX(50%) rotate(180deg); white-space: nowrap; }
.step.open > button { pointer-events: none; }
.step.open > button span { opacity: 0; }
.step-body { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 36px; opacity: 0; visibility: hidden; transition: opacity .3s; }
.step.open .step-body { opacity: 1; visibility: visible; transition: opacity .5s .2s; }
.step-body h3 { font-family: var(--f-display); font-size: var(--s-head2); line-height: .9; }
.step-body .txt { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.step-body p { max-width: 36ch; font-size: var(--s-body); }
.step-body p a { font-weight: 700; }
.step-body .slant { height: 100%; margin-inline-end: 24px; }
@media (max-width: 900px) {
  .steps { flex-direction: column; height: auto; }
  .step { flex: none; min-height: 64px; }
  .step > button { position: relative; height: 64px; }
  .step > button span { writing-mode: horizontal-tb; transform: none; inset-inline-start: 20px; bottom: auto; top: 50%; translate: 0 -50%; font-size: var(--s-body); }
  .step-body { position: relative; display: none; grid-template-columns: 1fr; padding: 4px 20px 28px; }
  .step.open .step-body { display: grid; }
  .step.open > button span { opacity: 1; }
  .step-body .slant { height: 200px; margin: 0 16px; }
  .step-body h3 { display: none; }
}

/* ---------- body map + menu ---------- */
.mapzone { background: var(--white); }
.map-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.body-map { position: relative; max-width: 420px; margin-inline: auto; width: 100%; }
.body-map svg.figure { width: 100%; height: auto; display: block; }
.spot {
  position: absolute; width: 48px; height: 48px; margin: -24px 0 0 -24px; border: 0; background: none; cursor: pointer; padding: 0;
  direction: ltr;
}
.spot::before, .spot::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 26px; margin: -13px 0 0 -3px; background: var(--ink);
  border-radius: 1px; transition: background-color .2s, transform .35s var(--ease);
}
.spot::before { transform: rotate(22deg) scale(.7); }
.spot::after { transform: rotate(-22deg) scale(.7); }
.spot:hover::before { transform: rotate(22deg) scale(1); }
.spot:hover::after { transform: rotate(-22deg) scale(1); }
.spot[aria-pressed="true"]::before { background: var(--red); transform: rotate(22deg) scale(1.5); }
.spot[aria-pressed="true"]::after { background: var(--red); transform: rotate(-22deg) scale(1.5); }
.map-card { background: var(--paper); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.map-card h3 { font-family: var(--f-display); font-size: var(--s-head); line-height: .9; }
.map-card p { max-width: 52ch; }
.map-card .actions { margin-top: auto; padding-top: 12px; }
.map-hint { font-size: var(--s-small); margin-top: 18px; text-align: center; }

.menu { margin-top: clamp(80px, 9vw, 140px); }
.menu-cat { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 40px; gap: 16px; }
.menu-cat h3 { font-family: var(--f-display); font-size: var(--s-head2); line-height: .9; }
.menu-cat span { font-size: var(--s-body); }
.menu-cat + .menu-items + .menu-cat { margin-top: 96px; }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 64px; list-style: none; margin: 0; padding: 0; }
.menu-items a { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; text-decoration: none; align-items: start; }
.menu-items .thumb { width: 64px; height: 64px; grid-row: span 2; }
.menu-items .xthumb { width: 64px; height: 64px; grid-row: span 2; background: var(--sky); display: grid; place-items: center; }
.menu-items .xthumb svg { width: 28px; height: 28px; transition: transform .35s var(--ease); }
.menu-items a:hover .xthumb svg { transform: rotate(90deg) scale(1.15); }
.menu-items b { font-size: var(--s-body); }
.menu-items a:hover b { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.menu-items small { font-size: var(--s-body); line-height: 1.45; display: block; max-width: 40ch; margin-top: 4px; }
@media (max-width: 900px) {
  .map-grid { grid-template-columns: 1fr; }
  .body-map { max-width: 300px; }
  .menu-items { grid-template-columns: 1fr; }
  .menu-items a { grid-template-columns: 52px 1fr; }
  .menu-items .thumb, .menu-items .xthumb { width: 52px; height: 52px; }
}

/* ---------- about panel ---------- */
.about-panel { background: var(--ink); color: var(--white); margin-inline: 20px; position: relative; overflow: hidden; min-height: 110svh; display: grid; grid-template-columns: 1fr 1fr; }
.about-panel .lhs { padding: 56px; position: relative; }
.about-panel h2 { font-size: var(--s-display); }
.about-panel .brushed::before { filter: invert(1); opacity: 0; }
.about-panel .chart { position: absolute; bottom: -12%; inset-inline-start: 56px; width: min(38vw, 560px); aspect-ratio: 3 / 4; }
.about-panel .rhs { padding: 56px 56px 72px; display: flex; flex-direction: column; gap: 56px; max-width: 520px; }
.about-panel h3 { font-size: var(--s-sub); margin-bottom: 10px; }
.about-panel p, .about-panel li { font-size: var(--s-body); }
.about-panel .xlist li + li { margin-top: 8px; }
@media (max-width: 900px) {
  .about-panel { margin-inline: 10px; display: flex; flex-direction: column; min-height: 0; }
  .about-panel .lhs { display: contents; }
  .about-panel .lhs h2 { padding: 36px 24px 0; order: 1; }
  .about-panel .rhs { order: 2; }
  .about-panel .chart { order: 3; }
  .about-panel .lhs { padding: 36px 24px 0; }
  .about-panel h2 { font-size: clamp(4rem, 18vw, 6rem); }
  .about-panel .rhs { padding: 32px 24px 0; gap: 36px; }
  .about-panel .chart { position: relative; inset: auto; width: 86%; margin: 40px auto -20%; }
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; }
.plans-head { grid-column: 1 / 9; grid-row: 1; align-self: start; }
.plans-head h2 { font-size: var(--s-head); }
.plans-head p { font-size: var(--s-lead); margin-top: 18px; max-width: 30ch; line-height: 1.4; }
.plan { grid-row: 1; grid-column: span 4; display: flex; flex-direction: column; background: var(--sky); color: var(--ink); }
.plan:nth-of-type(1) { grid-column: 1 / 5; height: 380px; }
.plan:nth-of-type(2) { grid-column: 5 / 9; height: 500px; background: var(--blue); }
.plan:nth-of-type(3) { grid-column: 9 / 13; height: 640px; background: var(--blue-deep); color: var(--white); }
.plan .in { padding: 28px; flex: 1; }
.plan h3 { font-size: var(--s-sub); }
.plan .price { font-family: var(--f-display); font-size: var(--s-head); line-height: .9; margin: 10px 0 18px; display: block; }
.plan .price small { font-size: .5em; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: var(--s-body); }
.plan .note { font-weight: 700; margin-bottom: 6px; }
.plan .flag { font-weight: 700; color: var(--ink); background: var(--red); padding: 2px 10px; display: inline-block; transform: skewX(var(--slant)); margin-bottom: 14px; font-size: 1rem; }
.plan .flag > span { display: inline-block; transform: skewX(var(--unslant)); }
.plan > a {
  display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 28px;
  font-weight: 700; text-decoration: none; background: #a9d6ef; transition: background-color .2s;
}
.plan:nth-of-type(2) > a { background: var(--blue-3); color: var(--white); }
.plan:nth-of-type(3) > a { background: #08305c; }
.plan > a:hover { background: var(--red); color: var(--ink); }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; margin-top: 72px; }
.extras h3 { font-size: var(--s-sub); margin-bottom: 18px; }
.extras .rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.extras .rows li { display: flex; justify-content: space-between; gap: 16px; max-width: 44ch; }
.extras .rows b { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plans-head, .plan:nth-of-type(n) { grid-column: 1; grid-row: auto; height: auto; }
  .plans-head { margin-bottom: 24px; }
  .plan .in { padding-bottom: 36px; }
  .extras { grid-template-columns: 1fr; }
}

/* ---------- contact coupon ---------- */
.coupon-zone { background: var(--blue); }
.coupon {
  --notch: 28px;
  display: grid; grid-template-columns: 46fr 54fr; background: var(--red); color: var(--ink);
  position: relative;
}
.coupon::before, .coupon::after { content: ""; position: absolute; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); inset-inline-start: 46%; margin-inline-start: -28px; }
.coupon::before { top: -28px; }
.coupon::after { bottom: -28px; }
.coupon .lhs { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.coupon h2 { font-size: var(--s-head); }
.coupon .lhs p { font-size: var(--s-body); max-width: 34ch; }
.coupon form { padding: 48px; border-inline-start: 5px dotted var(--blue); display: grid; gap: 10px; align-content: center; }
.coupon input, .coupon select, .coupon textarea {
  width: 100%; min-height: 54px; border: 0; background: #ff7a80; color: var(--ink);
  font: 400 var(--s-body) var(--f-text); padding: 14px 18px; border-radius: 0;
}
.coupon textarea { min-height: 96px; resize: vertical; }
.coupon ::placeholder { color: #3a0d10; opacity: 1; }
.coupon input:focus, .coupon select:focus, .coupon textarea:focus { outline: 3px solid var(--ink); outline-offset: 0; background: #ff9599; }
.coupon button[type="submit"] { min-height: 58px; background: var(--ink); color: var(--white); border: 0; font: 700 1.1875rem var(--f-text); cursor: pointer; transition: background-color .2s, transform .15s; }
.coupon button[type="submit"]:hover { background: #26262a; }
.coupon button[type="submit"]:active { transform: scale(.99); }
.places { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); margin-top: var(--gap-section); align-items: center; }
.places .slant { aspect-ratio: 4 / 3; }
.places h2 { font-size: var(--s-head); margin-bottom: 32px; }
.place + .place { margin-top: 36px; }
.place h3 { font-size: var(--s-sub); }
.place p { margin-top: 6px; }
.place .links { display: flex; gap: 20px; margin-top: 10px; font-weight: 700; }
@media (max-width: 900px) {
  .coupon { grid-template-columns: 1fr; }
  .coupon::before, .coupon::after { inset-inline-start: auto; top: 38%; margin: -28px 0 0; }
  .coupon::before { left: -28px; } .coupon::after { right: -28px; }
  .coupon .lhs { padding: 32px 24px; }
  .coupon form { border-inline-start: 0; border-top: 5px dotted var(--blue); padding: 32px 24px; }
  .places { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-foot { background: var(--blue); padding-block: 96px 40px; }
.foot-mark { display: block; width: 100%; max-width: 1100px; margin-inline: auto; }
.foot-mark svg { width: 100%; height: auto; display: block; }
.foot-cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; margin-top: 56px; }
.foot-cols nav { grid-column: span 2; }
.foot-cols .contact { grid-column: 9 / 13; }
.foot-cols h2 { font-size: var(--s-body); margin-bottom: 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: var(--s-body); }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot-cols .contact p { margin-bottom: 10px; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 56px; flex-wrap: wrap; font-size: var(--s-body); }
.credits { font-size: var(--s-body); margin-top: 32px; max-width: 72ch; }
@media (max-width: 900px) {
  .foot-cols nav { grid-column: span 6; }
  .foot-cols .contact { grid-column: 1 / -1; }
}

/* ---------- inner pages ---------- */
.page-hero { background: var(--blue); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; padding-block: clamp(56px, 7vw, 112px); min-height: 460px; }
.page-hero h1 { font-size: var(--s-display); position: relative; z-index: 2; }
.page-hero .lead { font-size: var(--s-lead); line-height: 1.38; margin-top: 28px; max-width: 38ch; font-weight: 500; position: relative; z-index: 2; }
.page-hero .x-big { width: 46vw; inset-block: -30% -50%; inset-inline-end: -12vw; }
.page-hero .media { position: relative; z-index: 2; height: 100%; min-height: 320px; }
.page-hero .media .slant { position: absolute; inset: 0; }
.page-hero .rating { font-size: var(--s-body); }
@media (max-width: 900px) {
  .page-hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .page-hero .x-big { width: 80vw; inset-inline-end: -40vw; }
  .page-hero .media { min-height: 220px; margin-inline: 16px; }
}

.article { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 120px); padding-block: clamp(72px, 8vw, 128px); }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-display); font-size: var(--s-head2); line-height: .95; margin-top: 1.6em; }
.prose h3 { font-size: var(--s-sub); margin-top: 1.6em; }
.prose p.intro { font-size: var(--s-lead); line-height: 1.4; font-weight: 500; }
.prose ul { padding-inline-start: 0; }
.prose figure { margin: 2em 0; }
.prose figure .slant { aspect-ratio: 16 / 10; }
.prose figcaption { font-size: var(--s-small); margin-top: 12px; }
.aside { position: sticky; top: 24px; align-self: start; display: grid; gap: 40px; }
.aside .box { background: var(--white); padding: 32px; }
.aside .box h2 { font-family: var(--f-display); font-size: var(--s-head2); line-height: .9; margin-bottom: 14px; }
.aside .box p + p, .aside .box .btn { margin-top: 18px; }
.aside .box blockquote { margin: 18px 0 0; font-size: var(--s-body); line-height: 1.45; }
.aside .box blockquote footer { margin-top: 12px; font-size: var(--s-body); display: flex; gap: 10px; align-items: center; }
.aside .xlist { display: grid; gap: 8px; }
.aside h3 { font-size: var(--s-body); margin-bottom: 14px; }
.aside .menu-items { grid-template-columns: 1fr; gap: 14px; }
.aside .menu-items a { align-items: center; }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .aside { position: static; } }

/* hubs */
.hub-list { display: grid; gap: clamp(64px, 8vw, 120px); padding-block: clamp(72px, 8vw, 128px); }
.hub-item { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hub-item:nth-child(even) .slant { order: 2; }
.hub-item .slant { aspect-ratio: 16 / 10; }
.hub-item h2 { font-family: var(--f-display); font-size: var(--s-head); line-height: .9; }
.hub-item p { margin-top: 18px; max-width: 46ch; }
.hub-item .btn { margin-top: 28px; }
@media (max-width: 900px) { .hub-item { grid-template-columns: 1fr; } .hub-item:nth-child(even) .slant { order: 0; } }

.review-cols { columns: 3 320px; column-gap: 56px; padding-block: clamp(72px, 8vw, 128px); }
.review-cols article { break-inside: avoid; padding-bottom: 48px; }
.review-cols .stars { font-size: var(--s-sub); }
.review-cols h2 { font-size: var(--s-sub); margin-top: 10px; }
.review-cols time { font-size: var(--s-small); display: block; margin-top: 2px; }
.review-cols p { margin-top: 12px; white-space: pre-line; }
.review-cols .reply { font-size: var(--s-body); margin-top: 10px; padding-inline-start: 16px; background: var(--white); padding: 10px 16px; }

.gift-coupon .coupon { grid-template-columns: 46fr 54fr; }
.gift-coupon .coupon .rhs { padding: 48px; border-inline-start: 5px dotted var(--blue); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.gift-coupon .price { font-family: var(--f-display); font-size: clamp(5rem, 3rem + 6vw, 9rem); line-height: .85; }
@media (max-width: 900px) { .gift-coupon .coupon .rhs { border-inline-start: 0; border-top: 5px dotted var(--blue); padding: 32px 24px; } }

/* ---------- closer (inner pages) ---------- */
.closer { background: var(--blue); overflow: hidden; }
.closer-grid { display: grid; grid-template-columns: 7fr 5fr; align-items: end; gap: 40px; min-height: 640px; }
.closer-copy { padding-block: 96px; order: -1; }
.closer-copy h2 { font-size: var(--s-head); }
.closer-copy p { font-size: var(--s-lead); line-height: 1.4; margin-top: 28px; max-width: 30ch; }
.closer-copy p .stars { font-size: 1.1em; }
.closer-figure { position: relative; align-self: stretch; min-height: 520px; overflow: hidden; }
.closer-figure .x-big { inset: 6% -10% -20% -10%; }
.closer-figure img { position: absolute; bottom: 0; inset-inline-start: 50%; transform: translateX(50%); width: min(100%, 520px); z-index: 2; }
.js .closer-figure img.reveal { transform: translate(50%, 24px); }
.js .closer-figure img.reveal.in { transform: translate(50%, 0); }
.closer .places { margin-top: 0; }
@media (max-width: 900px) {
  .closer-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .closer-copy { padding-block: 64px 0; }
  .closer-figure { min-height: 0; height: 100vw; max-height: 520px; }
}

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .x-big i, .js .page-hero .x-big i { animation: xdraw 1.1s var(--ease) both; }
.js .page-hero .media .slant { animation: rise2 1s .2s var(--ease) both; }
@keyframes rise2 { from { opacity: 0; transform: skewX(var(--slant)) translateY(30px); } to { opacity: 1; transform: skewX(var(--slant)); } }
.js .hero .x-big i:last-child { animation-delay: .18s; }
@keyframes xdraw { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.js .hero .boris { animation: rise 1.2s .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translate(50%, 40px); } to { opacity: 1; transform: translate(50%, 0); } }
.js .brushed::before { animation: swipe .9s .5s var(--ease) both; }
@keyframes swipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.drift { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: skewX(var(--unslant)) scale(1.32); } to { transform: skewX(var(--unslant)) scale(1.42) translateX(-3%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero .x-big i, .js .page-hero .x-big i, .js .page-hero .media .slant, .js .hero .boris, .js .brushed::before, .drift { animation: none; }
  .quote { transition: none; }
  .step, .step-body { transition: none; }
}

/* =========================================================================
   v2 — richer brand layer, at the owner's request (2026-10-15):
   blue gradients like the logo artwork, curved wave transitions, and the
   old site's leaf + dot-trail, icon tiles and photo cards, in X-Pain colours.
   ========================================================================= */
:root {
  --grad-blue: radial-gradient(120% 90% at 62% 42%, #36c0ee 0%, #1d9fd9 38%, #1479bf 70%, #0d4f96 100%);
  --grad-deep: linear-gradient(170deg, #1468ad 0%, #0d4a8c 45%, #082f61 100%);
  --grad-night: linear-gradient(160deg, #0d3a6e 0%, #071f3f 70%);
  --grad-red: linear-gradient(135deg, #ff4a52 0%, #ff2d36 50%, #e0121c 100%);
  --grad-sky: linear-gradient(180deg, #e3f3fc 0%, #cfe9f7 100%);
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(8, 47, 97, .35);
  --shadow-hover: 0 26px 50px -16px rgba(8, 47, 97, .45);
}
.site-head { background: linear-gradient(90deg, #1479bf 0%, #1d9fd9 55%, #2bb1e6 100%); }
.hero, .page-hero, .closer, .coupon-zone { background: var(--grad-blue); }
.site-foot { background: var(--grad-blue); }
.reviews { background: var(--grad-deep); }
.btn { background: var(--grad-red); }
.btn:hover { background: var(--grad-red); filter: brightness(1.08); box-shadow: 0 10px 24px -8px rgba(224, 18, 28, .6); }
.btn--ink { background: linear-gradient(135deg, #24262b, #0a0a0b); }
.btn--ink:hover { background: linear-gradient(135deg, #34363c, #111); box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); }
.btn--white { background: #fff; }
.btn--white:hover { background: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); }

/* wave transitions between sections */
.wave { position: absolute; inset-inline: 0; height: clamp(48px, 7vw, 110px); background: var(--wave, #f3f9fd); pointer-events: none; z-index: 4;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 64C240 120 480 128 720 92S1200 0 1440 40V120H0Z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 64C240 120 480 128 720 92S1200 0 1440 40V120H0Z'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; transform: scaleY(-1); }
.hero, .reviews, .closer, .coupon-zone, .page-hero, .methods-zone, .site-foot { position: relative; }

/* leaves with the dot trail (from the old site, recoloured) */
.leaves { position: absolute; pointer-events: none; z-index: 1; }
.leaves svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hero-figure .leaves { inset: 4% -6% -4% -6%; }
.closer-figure .leaves { inset: 0 -4% -6% -4%; }
.hero-figure .x-big, .closer-figure .x-big { z-index: 1; }
.js .leaves .dot { animation: dotpulse 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.js .leaves .dot:nth-child(2n) { animation-delay: .4s; } .js .leaves .dot:nth-child(3n) { animation-delay: .8s; }
@keyframes dotpulse { 0%, 100% { opacity: .95; transform: scale(1); } 50% { opacity: .55; transform: scale(.82); } }
.js .leaves .leaf { animation: sway 9s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes sway { from { transform: rotate(-2deg); } to { transform: rotate(2.5deg); } }
.watermark { position: absolute; width: min(60vw, 820px); aspect-ratio: 1; opacity: .08; pointer-events: none; z-index: 0; }
.reviews .watermark { inset-inline-end: -12vw; top: 10%; }
.methods-zone .watermark { inset-inline-start: -10vw; bottom: -20%; opacity: .1; }
.reviews .wrap, .methods-zone .wrap { position: relative; z-index: 2; }

/* method icon tiles */
.methods-zone { background: var(--grad-deep); color: #fff; padding-block: clamp(120px, 12vw, 200px); overflow: hidden; }
.methods-zone h2 { font-size: var(--s-head); text-align: center; }
.methods-zone .sub { text-align: center; font-size: var(--s-lead); margin: 18px auto 0; max-width: 40ch; }
.tiles { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tiles a { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 30px 14px 24px; background: #fff; color: var(--ink); text-decoration: none;
  border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); text-align: center; }
.tiles a:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.tiles svg { width: 72px; height: 72px; stroke: var(--blue-2); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.tiles a:hover svg { stroke: var(--red); }
.tiles b { font-size: var(--s-sub); }
.methods-zone .center { text-align: center; margin-top: 48px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tiles svg { width: 56px; height: 56px; } }

/* pain photo cards */
.cards { list-style: none; margin: clamp(72px, 8vw, 120px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cards a { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cards a:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.cards .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.cards .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cards a:hover .ph img { transform: scale(1.06); }
.cards .tx { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cards h3 { font-family: var(--f-display); font-size: var(--s-head2); line-height: .95; }
.cards p { font-size: var(--s-body); line-height: 1.5; }
.cards .more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--blue-3); }
.cards a:hover .more { color: var(--red); }
.cards-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cards-head h3 { font-family: var(--f-display); font-size: var(--s-head2); }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; } .cards .tx { padding: 16px; } }
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .cards a { flex-direction: row; align-items: stretch; }
  .cards .ph { aspect-ratio: auto; width: 36%; flex: none; }
  .cards .tx { padding: 14px 16px; gap: 4px; }
  .cards h3 { font-size: 2rem; }
  .cards p { font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* softer surfaces across the page */
.map-card, .aside .box { border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.mapzone { background: linear-gradient(180deg, #f3f9fd 0%, #eaf5fc 100%); }
.cards-head .btn { flex: none; }
@media (max-width: 700px) { .cards-head { flex-direction: column; align-items: flex-start; } }
.body-map .figure .fill-body { fill: url(#bodygrad); }
.steps { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.step:nth-child(1) { background: linear-gradient(180deg, #0f5aa2, #0a3c76); }
.step:nth-child(2) { background: linear-gradient(180deg, #156caf, #0f5193); }
.step:nth-child(3) { background: linear-gradient(180deg, #1a88c4, #13679f); }
.step:nth-child(4) { background: linear-gradient(180deg, #33b4e8, #1d9fd9); }
.step:nth-child(5) { background: linear-gradient(180deg, #e3f3fc, #bfe2f5); }
.about-panel { background: var(--grad-night); border-radius: var(--radius); }
.plan { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.plan:nth-of-type(1) { background: var(--grad-sky); }
.plan:nth-of-type(2) { background: linear-gradient(170deg, #36c0ee 0%, #1d9fd9 60%, #1888c6 100%); }
.plan:nth-of-type(3) { background: var(--grad-deep); }
.coupon { background: var(--grad-red); border-radius: var(--radius); box-shadow: 0 30px 60px -24px rgba(8,47,97,.55); }
.coupon::before, .coupon::after { background: #1d9fd9; }
.coupon input, .coupon select, .coupon textarea { border-radius: 12px; background: rgba(255,255,255,.32); }
.coupon input:focus, .coupon select:focus, .coupon textarea:focus { background: rgba(255,255,255,.5); }
.coupon button[type="submit"] { border-radius: 12px; }
.places .slant { border-radius: 6px; box-shadow: var(--shadow); }
.review-cols article { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 26px; }
.review-cols figure { border-radius: 6px; }
.menu-items .xthumb { border-radius: 14px; }

@media (prefers-reduced-motion: reduce) {
  .js .leaves .dot, .js .leaves .leaf { animation: none; }
  .tiles a, .cards a, .cards .ph img { transition: none; }
}

.about-panel--short { min-height: 840px; }
.about-panel--short .chart { width: min(26vw, 380px); bottom: -10%; }
@media (max-width: 900px) { .about-panel--short { min-height: 0; } .about-panel--short .chart { width: 70%; } }

/* floating booking button, on every page */
.fab {
  position: fixed; z-index: 60; inset-inline-end: 24px; bottom: calc(24px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 26px;
  background: var(--grad-red); color: var(--ink); font: 700 var(--s-body) var(--f-text); text-decoration: none;
  border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(224, 18, 28, .65), 0 4px 12px rgba(8, 47, 97, .25);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.fab:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(224, 18, 28, .75), 0 6px 14px rgba(8, 47, 97, .3); }
.fab:active { transform: scale(.97); }
.js .fab { animation: fabin .6s 1s var(--ease) both; }
@keyframes fabin { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .fab { inset-inline: 16px; justify-content: center; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .site-foot { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) { .js .fab { animation: none; } .fab { transition: none; } }

/* mobile: menu button on the right (start side in RTL), logo after it */
@media (max-width: 1080px) {
  .menu-toggle { order: -1; }
  .site-head .wrap { justify-content: flex-start; }
  .logo { margin-inline-start: auto; }
}

/* hero X sized to the copy: from the top of the headline to ~2cm above the bottom of the booking button (owner request) */
.hero .wrap { align-items: start; }
.hero-figure { min-height: 0; align-self: start; height: var(--xh, 480px); margin-top: var(--xtop, 80px); }
.hero-figure .x-big { inset: 0 -4%; }
.hero-figure .leaves { inset: -6% -8% -6% -8%; }
.hero-figure .boris { height: 96%; width: auto; max-width: 110%; }
@media (max-width: 900px) {
  .hero-figure { height: var(--xh, 420px); max-height: none; margin-top: 28px; margin-bottom: 72px; }
  .hero-figure .x-big { inset: 0 6%; }
  .hero-figure .boris { height: 94%; width: auto; }
}

/* hero X v3: one drawn X with the logo's proportions (wider than tall, open angle), set beside the copy */
.hero .wrap { column-gap: clamp(24px, 4vw, 72px); }
.hero-figure { display: flex; justify-content: flex-start; }
.x-stage { position: relative; height: 100%; aspect-ratio: 1.18 / 1; max-width: 100%; }
.x-svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--red); z-index: 1; overflow: visible; }
.x-stage .leaves { inset: -10% -14% -8% -14%; }
.x-stage .boris { position: absolute; bottom: 0; inset-inline-start: 50%; transform: translateX(50%); height: 100%; width: auto; max-width: none; z-index: 2; }
.js .x-svg polygon { animation: xin .9s var(--ease) both; transform-box: view-box; transform-origin: 50% 50%; }
.js .x-svg .xb { animation-delay: .15s; }
@keyframes xin { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero-figure { justify-content: center; margin-inline: 0; }
  .x-stage { max-width: 92vw; }
}
@media (prefers-reduced-motion: reduce) { .js .x-svg polygon { animation: none; } }
.hero-figure { display: block; justify-self: start; width: auto; aspect-ratio: 1.18 / 1; max-width: 100%; }
.x-stage { width: 100%; height: 100%; aspect-ratio: auto; }
@media (max-width: 900px) { .hero-figure { justify-self: center; } }
@media (min-width: 901px) { .hero .wrap { grid-template-columns: auto minmax(0, 1fr); } .hero-copy { max-width: 46vw; } }
@media (min-width: 901px) { .hero .wrap { grid-template-columns: auto auto; justify-content: center; } .hero-figure { width: calc(var(--xh, 480px) * 1.18); max-width: 48vw; } }

/* hero: no forced full-screen height; the buttons sit a little lower and the section ends just under them */
.hero, .hero .wrap { min-height: 0; }
.hero-copy { padding-block: clamp(40px, 5vw, 72px) clamp(84px, 8vw, 128px); }
.hero .actions { margin-top: 52px; }
@media (max-width: 900px) {
  .hero-copy { padding-bottom: 8px; }
  .hero-figure { margin-bottom: clamp(48px, 10vw, 80px); }
}

/* hero copy: tighter rhythm between the lines, and less room under the buttons */
.hero-lead { margin-top: 18px; }
.hero .rating { margin-top: 16px; }
.hero .actions { margin-top: 26px; }
.hero-copy { padding-bottom: clamp(64px, 6vw, 96px); }
.hero .wave { height: clamp(40px, 5vw, 80px); }

/* reviews: less room above the score, quote offset kept but smaller */
.reviews { padding-top: clamp(40px, 4vw, 64px); }
.quote-stage { margin-top: 64px; }

/* header: always visible, links centred, booking button stands out */
.site-head { position: sticky; top: 0; z-index: 70; transition: box-shadow .25s, background-color .25s; }
.site-head.scrolled { box-shadow: 0 10px 30px -12px rgba(8, 47, 97, .55); }
.head-cta { min-height: 56px; padding: 0 28px; font-size: 1.125rem; box-shadow: 0 10px 24px -10px rgba(224, 18, 28, .7); }
.head-cta > span { display: inline-flex; align-items: center; gap: 10px; }
.head-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.js .head-cta { animation: ctapulse 2.8s 2s ease-in-out 3; }
@keyframes ctapulse { 0%, 100% { box-shadow: 0 10px 24px -10px rgba(224,18,28,.7); } 50% { box-shadow: 0 0 0 8px rgba(255,45,54,.25), 0 10px 24px -10px rgba(224,18,28,.7); } }
@media (min-width: 1081px) {
  .site-head .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .nav { display: contents; }
  .nav-links { display: flex; justify-content: center; gap: clamp(18px, 2.2vw, 40px); }
  .nav-links a { font-size: 1.125rem; }
  .logo { justify-self: start; }
  .head-cta { justify-self: end; }
}
@media (max-width: 1080px) {
  .nav-links { display: flex; flex-direction: column; }
  .head-cta { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .js .head-cta { animation: none; } .site-head { transition: none; } }

/* closer v2: same drawn X as the hero, X and copy centred together */
.closer-grid { grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: clamp(32px, 5vw, 88px); min-height: 0; padding-block: clamp(96px, 9vw, 140px) clamp(72px, 7vw, 110px); }
.closer-figure { align-self: center; min-height: 0; overflow: visible; height: clamp(340px, 30vw, 500px); aspect-ratio: 1.18 / 1; }
.closer-figure .x-stage { width: 100%; height: 100%; }
.closer-copy { padding-block: 0; order: 0; max-width: 34rem; }
.closer-copy h2 { font-size: clamp(3.25rem, 2rem + 4vw, 6rem); line-height: .9; }
.closer-copy p { margin-top: 22px; font-size: var(--s-lead); line-height: 1.35; }
.closer-copy .actions { margin-top: 30px; }
.closer .places { margin-top: clamp(24px, 3vw, 48px); }
@media (max-width: 900px) {
  .closer-grid { grid-template-columns: 1fr; justify-items: center; text-align: start; row-gap: 40px; padding-block: 88px 56px; }
  .closer-copy { order: -1; width: 100%; }
  .closer-figure { height: min(78vw, 380px); }
}
.closer-copy { order: -1; }
.closer-grid { padding-bottom: clamp(32px, 3vw, 48px); }
.closer .places { margin-top: 0; }
.foot-last .btn { display: none; }

/* footer v3 — modelled on the clinic's current site footer: light ground, columns with dividers,
   coloured headings, consultation + booking buttons and outlined social icons */
.site-foot { background: linear-gradient(180deg, #f6f9fc 0%, #eaf2f9 100%); color: #1f2a37; padding-block: 72px 28px; overflow: hidden; border-top: 1px solid #d7e6f2; }
.site-foot .watermark { inset-inline-start: -8vw; top: -10%; width: min(46vw, 640px); opacity: .07; }
.site-foot .watermark path, .site-foot .watermark circle { fill: #1479bf; }
.site-foot .wrap { position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.3fr 1.2fr 1fr; }
.foot-col { padding: 4px clamp(18px, 2.2vw, 36px); border-inline-start: 1px solid #b9d7ec; }
.foot-col:first-child { border-inline-start: 0; padding-inline-start: 0; }
.foot-col h2 { font-family: var(--f-display); font-size: 2.25rem; line-height: 1; color: var(--blue-2); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-col ul.two { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.foot-col a { color: #1f2a37; text-decoration: none; font-size: 1rem; background: linear-gradient(var(--red), var(--red)) no-repeat 100% 100% / 0 2px; transition: background-size .3s var(--ease), color .2s; padding-bottom: 2px; }
.foot-col a:hover { color: var(--red-press); background-size: 100% 2px; }
.foot-about p { font-size: 1rem; line-height: 1.6; color: #2a3644; }
.foot-about .foot-addr { margin-top: 12px; font-weight: 500; }
.foot-logo { display: inline-block; margin-bottom: 10px; padding: 8px 12px; border-radius: 14px; background: linear-gradient(160deg, #1d9fd9, #1577b8) !important; }
/* the logo artwork lives on blue; keep it there so the white brush reads */
.foot-logo img { height: 72px; width: auto; display: block; }
.foot-logo svg polygon[fill="#fff"] { fill: #fff; }
.foot-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.foot-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 220px; min-height: 48px; padding: 0 20px; border-radius: 10px;
  background: var(--grad-red) !important; color: var(--ink) !important; font-weight: 700; box-shadow: 0 8px 20px -10px rgba(224,18,28,.7); transition: transform .2s var(--ease), box-shadow .2s var(--ease) !important; }
.foot-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(224,18,28,.8); color: var(--ink) !important; }
.foot-btn--ghost { background: var(--blue) !important; box-shadow: 0 8px 20px -10px rgba(20,121,191,.7); }
.social { display: flex; gap: 10px; margin-top: 4px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--blue-2); border-radius: 10px; color: var(--blue-2); background: #fff !important; transition: background-color .25s, color .25s, transform .25s var(--ease) !important; }
.social a:hover { background: var(--blue-2) !important; color: #fff; transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.foot-phone { font-size: 1.25rem; color: var(--ink) !important; background: none !important; }
.foot-last { margin-top: 44px; padding-top: 20px; border-top: 1px solid #d0e2f0; display: flex; justify-content: center; align-items: center; gap: 16px; position: relative; font-size: .9375rem; text-align: center; }
.foot-last a { color: inherit; }
.foot-last a:hover { color: var(--red-press); }
.to-top { position: absolute; inset-inline-start: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-2); background: #fff; box-shadow: var(--shadow); transition: transform .25s var(--ease), background-color .2s, color .2s; }
.to-top:hover { transform: translateY(-4px); background: var(--blue-2); color: #fff; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.site-foot .credits { text-align: center; margin: 14px auto 0; font-size: .8125rem; color: #3a4757; max-width: 110ch; }
.site-foot .credits a { color: inherit; }
@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .foot-col { border-inline-start: 0; padding-inline: 0; }
  .foot-about, .foot-actions { grid-column: 1 / -1; }
  .foot-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .foot-actions .foot-btn { width: auto; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-col ul.two { grid-template-columns: 1fr 1fr; }
  .foot-last { flex-direction: column; padding-bottom: 72px; }
  .to-top { position: static; }
  .site-foot { padding-bottom: 96px; }
}
.site-foot .credits { font-size: .9375rem; }
.foot-col a, .foot-about p { font-size: 1.0625rem; }

/* booking page */
.booking-zone { padding-top: clamp(56px, 6vw, 96px); }
.booking-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.booking { display: grid; gap: 22px; }
.bk-step { margin: 0; border: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); }
.bk-step legend { float: inline-start; width: 100%; display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: var(--s-head2); line-height: 1; margin-bottom: 20px; padding: 0; }
.bk-step legend + * { clear: both; }
.num { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--grad-red); color: var(--ink); font: 700 1.125rem var(--f-text); }
.hint { margin-bottom: 14px; color: #2a3644; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.choice, .chip { position: relative; cursor: pointer; }
.choice input, .chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border: 2px solid #cfe3f1; border-radius: 14px; background: #f7fbfe; transition: border-color .2s, background-color .2s, transform .2s var(--ease), box-shadow .2s; }
.choice b { font-size: 1.125rem; }
.choice small { font-size: .9375rem; color: #2a3644; }
.choice:hover > span { transform: translateY(-2px); border-color: var(--blue); }
.choice input:checked + span { border-color: var(--red); background: #fff1f2; box-shadow: 0 10px 22px -14px rgba(224,18,28,.8); }
.choice input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip > span { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 18px; border: 2px solid #cfe3f1; border-radius: 999px; background: #f7fbfe; font-weight: 500; transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease); }
.chip:hover > span { border-color: var(--blue); transform: translateY(-1px); }
.chip input:checked + span { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.slots { margin-top: 16px; }
.chip--slot input:checked + span { background: var(--grad-red); border-color: transparent; color: var(--ink); }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.day { position: relative; }
.day input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.day span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border: 2px solid #cfe3f1; border-radius: 14px; background: #f7fbfe; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease); }
.day small { font-size: .875rem; }
.day b { font-family: var(--f-display); font-size: 2rem; line-height: 1; }
.day:hover span { border-color: var(--blue); transform: translateY(-2px); }
.day input:checked + span { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.day input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 500; }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; min-height: 52px; border: 2px solid #cfe3f1; border-radius: 12px; background: #f7fbfe; padding: 12px 16px; font: 400 1.0625rem var(--f-text); color: var(--ink); transition: border-color .2s, background-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.bk-error { margin-top: 12px; color: var(--red-press); font-weight: 700; }
.bk-summary { position: sticky; top: 108px; background: var(--grad-deep); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; }
.bk-summary h2 { font-family: var(--f-display); font-size: var(--s-head2); line-height: 1; }
.bk-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 6px 0 8px; }
.bk-summary dt { opacity: .85; }
.bk-summary dd { margin: 0; font-weight: 700; }
.bk-send { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border: 0; border-radius: 14px; font: 700 1.125rem var(--f-text); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, filter .2s; }
.bk-send svg { width: 22px; height: 22px; fill: currentColor; }
.bk-send--wa { background: #25d366; color: #062b16; box-shadow: 0 10px 22px -10px rgba(37,211,102,.8); }
.bk-send--mail { background: #fff; color: var(--ink); }
.bk-send:hover { transform: translateY(-2px); filter: brightness(1.05); }
.bk-send:active { transform: scale(.98); }
.bk-note { font-size: .9375rem; line-height: 1.5; }
.bk-summary .bk-note a { color: #fff; }
@media (max-width: 900px) {
  .booking-grid { grid-template-columns: 1fr; }
  .bk-summary { position: static; }
  .fields { grid-template-columns: 1fr; }
}
.page-booking .fab { display: none; }
.page-booking .site-foot { padding-bottom: 28px; }
.day input:checked + span, .chip input:checked + span { background: var(--blue-3); border-color: var(--blue-3); }

/* booking v2: two options, conditional domain step, numbers follow the visible steps */
.booking { counter-reset: bkstep; }
.bk-step:not([hidden]) { counter-increment: bkstep; }
.bk-step .num::before { content: counter(bkstep); }
.choices--two { grid-template-columns: 1fr 1fr; }
.choices--two .choice > span { padding: 22px 22px; }
.choices--two .choice b { font-size: 1.375rem; }
.field--other { margin-top: 14px; max-width: 420px; }
.bk-step[hidden], [data-sumrow][hidden] { display: none; }
@media (max-width: 560px) { .choices--two { grid-template-columns: 1fr; } }

/* live calendar step (not ".cal-embed": Cal.com injects .cal-embed{display:block!important}, which un-hides the other box) */
.cal-box { min-height: 640px; border-radius: 16px; overflow: hidden; background: #f7fbfe; }
.cal-box[hidden], [data-cal][hidden], [data-fallback][hidden] { display: none; }
@media (max-width: 560px) { .cal-box { min-height: 720px; margin-inline: -8px; } }
.field[hidden] { display: none; }

/* opening hours list (contact, closer, ru) */
.hours { display: grid; grid-template-columns: max-content max-content; gap: 6px 20px; margin: 10px 0 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }

/* home, owner request: headline on one line on phones; green WhatsApp button under the top booking button (phones only); about panel without the chart */
.btn--wa { background: #25d366; --fg: var(--ink); display: inline-flex; gap: 10px; }
.hero .actions .btn--wa { display: none; }
.btn--wa:hover { background: #1ebe5a; box-shadow: 0 10px 24px -8px rgba(18, 140, 60, .55); }
.about-panel--short { min-height: 0; }
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(2.4rem, 19vw, 6rem); }
  .hero h1 .line { display: inline; }
  .hero h1 .line + .line { margin-inline-start: .22em; }
  .hero .actions .btn--wa { display: inline-flex; }
  .about-panel--short .rhs { padding-bottom: 40px; }
}

/* owner rule: never leave a single word alone on the last line */
p, li, h1, h2, h3, h4, dd, dt, figcaption, blockquote, .lead, .btn > span { text-wrap: pretty; }
.nobr { white-space: nowrap; }

/* reviews, owner request: finer Apple-like look with frosted glass; no dead space between the quote and the names */
.reviews .wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.quote-wrap { display: grid; min-height: 0; }
.quote { position: relative; inset: auto; grid-area: 1 / 1; }
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 24px 60px -28px rgba(2, 18, 48, .7);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
}
.quote-card { border-radius: 28px; padding: clamp(24px, 3vw, 40px); }
.quote p { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.4; font-weight: 500; letter-spacing: -.005em; }
.quote footer { margin-top: 20px; gap: 6px 10px; font-size: .95rem; color: rgba(255, 255, 255, .72); }
.quote footer cite { font-style: normal; font-weight: 700; color: var(--white); }
.quote footer .stars { font-size: 1rem; }
.topics { gap: 0; padding: 6px 20px; border-radius: 20px; max-width: 30ch; }
.topics li { max-width: none; padding: 12px 0; font-size: 1rem; }
.topics li + li { border-top: 1px solid rgba(255, 255, 255, .14); }
.topics b { font-weight: 600; color: rgba(255, 255, 255, .9); }
.who { margin-top: 18px; gap: 8px; }
.who button {
  padding: 9px 16px; border-radius: 999px; font-size: .95rem; text-decoration: none; opacity: 1; white-space: nowrap;
  color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  transition: background-color .2s, color .2s, border-color .2s;
}
.who button:hover { background: rgba(255, 255, 255, .16); color: var(--white); }
.who button[aria-pressed="true"] { background: rgba(255, 255, 255, .92); color: var(--blue-deep); border-color: transparent; font-weight: 700; }
.who button:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.reviews .more { margin-top: 32px; }
@media (max-width: 900px) {
  .quote-stage { margin-top: 40px; }
  .quote-wrap { min-height: 0; }
  /* names: one swipeable row instead of a tall wrapped block */
  .who { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(var(--margin) * -1); padding: 2px var(--margin) 6px; scrollbar-width: none; }
  .who::-webkit-scrollbar { display: none; }
  .who li { scroll-snap-align: start; flex: none; }
}
.quote footer .meta { flex-basis: 100%; font-size: .875rem; }
.quote { transition: opacity .7s ease, visibility 0s linear .7s; }
.quote.on { transition: opacity .7s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .quote, .quote.on { transition: none; } }

/* =========================================================================
   v3 — glass layer, at the owner's request (2026-11-04): finer, Apple-like.
   Frosted translucent surfaces, hairline borders, pill buttons, softer shadows.
   Brand colours, the display face and the X stay; only the surfaces change.
   ========================================================================= */
:root {
  --glass-light: rgba(255, 255, 255, .64);
  --glass-light-line: rgba(255, 255, 255, .75);
  --glass-dark: rgba(255, 255, 255, .1);
  --glass-dark-line: rgba(255, 255, 255, .2);
  --blur: blur(22px) saturate(170%);
  --radius: 26px;
  --shadow: 0 1px 2px rgba(8, 47, 97, .06), 0 16px 40px -20px rgba(8, 47, 97, .3);
  --shadow-hover: 0 2px 4px rgba(8, 47, 97, .06), 0 26px 50px -22px rgba(8, 47, 97, .4);
}

/* header: frosted bar that lets the page show through */
.site-head { background: rgba(22, 128, 196, .72); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-bottom: 1px solid rgba(255, 255, 255, .22); }
.site-head.scrolled { box-shadow: 0 8px 30px -16px rgba(8, 47, 97, .55); }
.menu-toggle { border-radius: 999px; background: rgba(10, 10, 11, .82); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
@media (max-width: 1080px) {
  .nav { background: rgba(20, 118, 186, .96); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%); border-bottom: 1px solid rgba(255, 255, 255, .22); border-radius: 0 0 24px 24px; box-shadow: 0 24px 40px -24px rgba(8, 47, 97, .6); }
  .nav-links a { border-bottom: 1px solid rgba(255, 255, 255, .16); }
}

/* buttons: pills instead of slanted blocks */
.btn, .btn:hover, .btn:active { transform: none; }
.btn { border-radius: 999px; padding: 0 30px; letter-spacing: -.005em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 20px -12px rgba(224, 18, 28, .7); transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s; }
.btn > span { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn--ink { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 20px -12px rgba(0, 0, 0, .6); }
.btn--white { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 8px 20px -12px rgba(8, 47, 97, .5); }
.btn--wa { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -12px rgba(18, 140, 60, .7); }
.plan .flag, .plan .flag > span { transform: none; }
.plan .flag { border-radius: 999px; padding: 3px 12px; }
.fab { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 30px -12px rgba(224, 18, 28, .65), 0 4px 12px rgba(8, 47, 97, .2); }
.foot-btn { border-radius: 999px; }
.social a { border-radius: 14px; border-color: rgba(20, 121, 191, .35); background: rgba(255, 255, 255, .7) !important; }

/* light glass: cards and panels on the pale page */
.cards a, .map-card, .aside .box, .review-cols article, .bk-step, .menu-items .xthumb {
  background: var(--glass-light); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-light-line); box-shadow: var(--shadow);
}
.cards a, .map-card, .aside .box, .review-cols article, .bk-step { border-radius: var(--radius); }
.cards .ph { border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
@media (max-width: 560px) { .cards .ph { border-radius: 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0; } }
.cards .more { color: var(--blue-2); }
.review-cols .reply { background: rgba(29, 159, 217, .08); border-radius: 14px; }
.choice > span, .day span, .chip > span, .field input, .field textarea { background: rgba(255, 255, 255, .7); border-width: 1px; border-color: rgba(20, 121, 191, .22); }
.choice > span, .day span { border-radius: 18px; }
.choice input:checked + span { border-color: var(--red); background: rgba(255, 241, 242, .9); }
.cal-box { border-radius: 20px; }

/* dark glass: cards on the deep-blue bands */
.tiles a { background: var(--glass-dark); color: #fff; border: 1px solid var(--glass-dark-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 20px 40px -24px rgba(2, 18, 48, .8); }
.tiles a:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 26px 50px -24px rgba(2, 18, 48, .9); }
.tiles svg { stroke: #fff; }
.tiles a:hover svg { stroke: var(--red); }
.about-panel .rhs > div:not(:last-child) { background: var(--glass-dark); border: 1px solid var(--glass-dark-line); border-radius: 22px; padding: 22px 24px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.about-panel .rhs { gap: 18px; }
.bk-summary { background: linear-gradient(160deg, rgba(20, 104, 173, .92), rgba(8, 47, 97, .94)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), var(--shadow); }
.bk-send { border-radius: 999px; }

/* big coloured blocks get the same rounded, hairline finish */
.steps, .plan, .coupon, .about-panel { border-radius: var(--radius); }
.plan, .steps { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), var(--shadow); }
.coupon input, .coupon select, .coupon textarea, .coupon button[type="submit"] { border-radius: 14px; }
.coupon button[type="submit"] { border-radius: 999px; }
.to-top { background: rgba(255, 255, 255, .75); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid rgba(255, 255, 255, .9); }

/* =========================================================================
   v3.1 — one spacing scale, at the owner's request (2026-11-04): less dead air.
   Apple-style 8-pt rhythm: 8 / 16 / 24 / 32 / 48 / 64 / 96, sections breathe evenly.
   ========================================================================= */
:root { --gap-section: clamp(56px, 7vw, 112px); --gap-block: clamp(28px, 3.2vw, 48px); }
.section-head { margin-bottom: var(--gap-block); }
.cards { margin-top: var(--gap-block); }
.menu { margin-top: clamp(48px, 6vw, 96px); }
.menu-cat { margin-bottom: 24px; }
.menu-cat + .menu-items + .menu-cat { margin-top: 64px; }
.methods-zone { padding-block: clamp(64px, 8vw, 128px); }
.tiles { margin-top: var(--gap-block); }
.methods-zone .center { margin-top: 32px; }
.page-hero .wrap { padding-block: clamp(32px, 5vw, 80px); min-height: 0; gap: clamp(24px, 3vw, 40px); }
.page-hero .lead { margin-top: 16px; }
.article, .hub-list, .review-cols { padding-block: clamp(48px, 6vw, 96px); }
.hub-list { gap: clamp(48px, 6vw, 88px); }
.aside { gap: 24px; }
.closer-grid { padding-block: clamp(56px, 7vw, 112px) clamp(32px, 3vw, 48px); }
.site-foot { padding-top: clamp(48px, 5vw, 64px); }
.foot-last { margin-top: 32px; }
.hero-copy { padding-bottom: clamp(40px, 5vw, 80px); }
.about-panel .lhs, .about-panel .rhs { padding: clamp(32px, 4vw, 48px); }
.booking-zone { padding-top: clamp(32px, 4vw, 64px); }
.places { gap: clamp(24px, 4vw, 64px); }
@media (max-width: 900px) {
  .page-hero .wrap { padding-block: 28px 40px; }
  .page-hero .media { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .hero-figure { margin-bottom: 32px; }
  .closer-grid { padding-block: 48px 32px; row-gap: 28px; }
  .about-panel .lhs h2 { padding: 28px 24px 0; }
  .about-panel .rhs { padding: 24px 20px 28px; }
  .quote-stage { margin-top: 32px; }
  .menu-cat + .menu-items + .menu-cat { margin-top: 48px; }
}

/* =========================================================================
   v3.2 — finer glass and shadow, at the owner's request (2026-11-04).
   Glass only reads when something sits behind it, so the pale sections get
   soft colour light; surfaces get a lit top edge and layered, blue-tinted shadows.
   ========================================================================= */
:root {
  --shadow: 0 1px 1px rgba(8, 47, 97, .04), 0 2px 6px rgba(8, 47, 97, .05), 0 14px 28px -10px rgba(8, 47, 97, .14), 0 34px 64px -28px rgba(8, 47, 97, .22);
  --shadow-hover: 0 1px 1px rgba(8, 47, 97, .04), 0 4px 10px rgba(8, 47, 97, .06), 0 22px 40px -12px rgba(8, 47, 97, .2), 0 48px 80px -32px rgba(8, 47, 97, .3);
  --edge-light: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .55);
  --edge-dark: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

/* soft light behind the pale sections, so the glass cards have depth to refract */
.mapzone, .booking-zone, .section:not(.reviews):not(.coupon-zone) { isolation: isolate; }
.mapzone::before, .booking-zone::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 30% at 85% 18%, rgba(54, 192, 238, .22), transparent 70%),
    radial-gradient(34% 28% at 12% 62%, rgba(255, 45, 54, .08), transparent 70%),
    radial-gradient(40% 34% at 60% 95%, rgba(29, 159, 217, .16), transparent 70%);
}
body { background: linear-gradient(180deg, #f5fafd 0%, #eef6fc 100%) fixed; }

/* light glass: lit edge + layered shadow, gentle lift on hover */
.cards a, .map-card, .aside .box, .review-cols article, .bk-step {
  background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .58));
  box-shadow: var(--edge-light), var(--shadow); border-color: rgba(255, 255, 255, .6);
}
.cards a:hover { box-shadow: var(--edge-light), var(--shadow-hover); transform: translateY(-4px); }
.cards .ph { position: relative; }
.cards .ph::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -30px 40px -30px rgba(8, 47, 97, .25); pointer-events: none; }

/* dark glass: lit edge on the blue bands */
.tiles a, .glass, .about-panel .rhs > div:not(:last-child) { box-shadow: var(--edge-dark), 0 24px 48px -28px rgba(2, 18, 48, .85); }
.tiles a:hover { box-shadow: var(--edge-dark), 0 30px 60px -28px rgba(2, 18, 48, .95); }

/* hero: rating and phone as small glass pills, the portrait sits on a soft shadow */
.hero .rating, .page-hero .rating {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(255, 255, 255, .25), 0 10px 24px -14px rgba(8, 47, 97, .5);
}
.hero .actions .phone {
  padding: 12px 22px; border-radius: 999px; font-size: 1.25rem;
  background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(255, 255, 255, .25), 0 10px 24px -14px rgba(8, 47, 97, .5);
}
.hero .actions .phone:hover { text-decoration: none; background: rgba(255, 255, 255, .32); }
.hero-figure .boris, .closer-figure .boris { filter: drop-shadow(0 24px 28px rgba(8, 47, 97, .35)); }

/* coloured blocks: a lit top edge so they read as surfaces, not paint */
.plan, .steps, .coupon, .about-panel { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .12), var(--shadow); }
.plan > a { background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-top: 1px solid rgba(255, 255, 255, .25); }
.plan:nth-of-type(1) > a { background: rgba(255, 255, 255, .55); }

/* buttons: softer, layered shadows and a lit edge */
.btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(224, 18, 28, .25), 0 10px 22px -12px rgba(224, 18, 28, .7); }
.btn--ink { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 1px 2px rgba(0, 0, 0, .2), 0 10px 22px -12px rgba(0, 0, 0, .6); }
.btn--white { box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .9), 0 1px 2px rgba(8, 47, 97, .12), 0 10px 22px -12px rgba(8, 47, 97, .45); }
.btn--wa { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 2px rgba(18, 140, 60, .25), 0 10px 22px -12px rgba(18, 140, 60, .7); }

/* floating booking button: red glass ring so it floats above the page */
.fab { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 0 5px rgba(255, 255, 255, .35), 0 16px 34px -12px rgba(224, 18, 28, .6), 0 4px 12px rgba(8, 47, 97, .18); }

/* footer: the link columns sit on one frosted panel */
.foot-grid { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--edge-light), var(--shadow); }

@media (prefers-reduced-transparency: reduce) {
  .glass, .tiles a, .cards a, .map-card, .aside .box, .review-cols article, .bk-step, .foot-grid, .site-head, .nav { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cards a, .map-card, .aside .box, .review-cols article, .bk-step, .foot-grid { background: #fff; }
}
.foot-btn { white-space: nowrap; width: auto; max-width: none; }
@media (min-width: 1101px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1.3fr 1.2fr 1.1fr; } .foot-col { padding-inline: clamp(14px, 1.6vw, 28px); } }
@media (max-width: 560px) {
  .hero .rating, .page-hero .rating { flex-wrap: nowrap; gap: 8px; font-size: 1rem; padding: 8px 14px; white-space: nowrap; }
  .hero .rating .stars, .page-hero .rating .stars { font-size: 1.15em; }
}

/* gift voucher on phones, owner request: one column ticket, perforation between the two halves */
@media (max-width: 900px) {
  .gift-coupon .coupon { grid-template-columns: minmax(0, 1fr); overflow: visible; }
  .gift-coupon .coupon::before, .gift-coupon .coupon::after { display: none; }
  .gift-coupon .coupon .lhs { padding: 28px 22px 26px; gap: 18px; }
  .gift-coupon .coupon h2 { font-size: clamp(3rem, 15vw, 4.25rem); line-height: .88; }
  .gift-coupon .coupon .lhs p { font-size: 1.0625rem; max-width: none; }
  .gift-coupon .xlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; font-size: 1rem; }
  .gift-coupon .xlist li { padding-inline-start: 26px; }
  .gift-coupon .xlist li::before { width: 14px; height: 14px; top: .3em; }
  .gift-coupon .coupon .rhs { position: relative; border: 0; padding: 30px 22px 26px; gap: 18px; align-items: stretch;
    background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
    border-radius: 0 0 var(--radius) var(--radius); }
  /* perforation: dashed line with a notch cut on each side */
  .gift-coupon .coupon .rhs::before { content: ""; position: absolute; top: 0; inset-inline: 22px; border-top: 2px dashed rgba(255, 255, 255, .55); }
  .gift-coupon .coupon .rhs::after { content: ""; position: absolute; top: -14px; inset-inline: -14px; height: 28px; pointer-events: none;
    background: radial-gradient(circle at 14px 14px, #1d9fd9 13px, transparent 14px) left / 28px 28px no-repeat,
                radial-gradient(circle at 14px 14px, #1d9fd9 13px, transparent 14px) right / 28px 28px no-repeat; }
  .gift-coupon .price { font-size: clamp(4.5rem, 22vw, 6rem); text-align: center; }
  .gift-coupon .coupon .rhs ol { font-size: 1rem; line-height: 1.45; }
  .gift-coupon .coupon .rhs p { margin: 0; }
  .gift-coupon .coupon .rhs .btn { width: 100%; }
}
@media (max-width: 900px) {
  .gift-coupon .xlist li::before { filter: brightness(0); opacity: .75; }
  .gift-coupon .xlist li:last-child { grid-column: 1 / -1; }
  .gift-coupon .xlist li { min-width: 0; overflow-wrap: anywhere; }
}

/* WhatsApp everywhere: green buttons with the WhatsApp mark */
.wa-ico { width: 1.35em; height: 1.35em; fill: currentColor; flex: none; }
.btn--wa .wa-ico { width: 24px; height: 24px; }
.coupon button.wa-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #25d366; color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 22px -12px rgba(18, 140, 60, .7); }
.coupon button.wa-submit:hover { background: #1ebe5a; }
.coupon button.wa-submit .wa-ico { width: 24px; height: 24px; }
.wa-link { display: inline-flex; align-items: center; gap: 6px; }
.wa-link .wa-ico { width: 1.15em; height: 1.15em; color: #1ebe5a; }
.bk-send .wa-ico { width: 24px; height: 24px; }

/* Russian: the display face has no Cyrillic, so titles fall back to wide Rubik; size them for that face */
html[lang="ru"] .page-hero h1 { font-size: clamp(34px, 5.2vw + 14px, 72px); line-height: 1.02; letter-spacing: -0.02em; hyphens: auto; overflow-wrap: break-word; }
html[lang="ru"] { --s-head: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); --s-head2: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
html[lang="ru"] :is(.prose h2, .aside .box h2, .hub-item h2, .foot-col h2, .bk-step legend, .step-body h3, .cards h3, .menu-cat h3) { line-height: 1.1; letter-spacing: -0.01em; }
html[lang="ru"] .foot-col h2 { font-size: 1.5rem; }
html[lang="ru"] :is(h1, h2, h3, legend, .menu-items b) { hyphens: auto; overflow-wrap: break-word; }
html[lang="ru"] :is(.hub-item, .page-hero .wrap, .wrap.article) > * { min-width: 0; }
html[lang="ru"] .aside, html[lang="ru"] .aside > * { min-width: 0; grid-template-columns: minmax(0, 1fr); }
html[lang="ru"] .aside .btn { white-space: normal; }
html[lang="ru"] .hours { grid-template-columns: auto minmax(0, 1fr); }
html[lang="ru"] .hours dd { white-space: normal; min-width: 0; }
html[lang="ru"] .prose a[href^="mailto:"] { overflow-wrap: anywhere; }
html[lang="ru"] .foot-grid > * { min-width: 0; } html[lang="ru"] .foot-col li a { overflow-wrap: break-word; hyphens: auto; }
.wrap.article > * { min-width: 0; } .prose a { overflow-wrap: anywhere; }
