/* ==========================================================
   Lipcheva Dental — custom build
   ========================================================== */

:root {
  --plum: #642340;
  --plum-dark: #4a1830;
  --plum-soft: rgba(100, 35, 64, .08);
  --ink: #101010;
  --ink-2: #26262a;
  --text: #1b1b1d;
  --muted: #6b6668;
  --cream: #ebe6e3;
  --paper: #f8f8f8;
  --white: #fff;
  --line: rgba(16, 16, 16, .1);

  --serif: "Cormorant Infant", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 20px;
  --radius-lg: 40px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
::selection { background: rgba(100,35,64,.85); color: #fff; }
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 300;
  padding: 12px 18px; border-radius: 8px;
  background: var(--plum); color: #fff; font-weight: 500;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }

.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -.01em;
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
  color: var(--ink);
}
.section-title--left { text-align: left; margin-bottom: 28px; }

/* split-text helpers (filled by JS) */

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--plum);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
}
.btn span { position: relative; z-index: 1; display: inline-block; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--fill, var(--ink));
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .5s cubic-bezier(0, 0, .2, 1);
  z-index: 0;
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
/* label roll: the words slide up and out while a copy slides in from below (built in main.js) */
.btn .btn__roll { display: inline-grid; overflow: hidden; vertical-align: top; }
.btn .btn__label { grid-area: 1 / 1; display: block; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.btn .btn__label + .btn__label { transform: translateY(110%); }
.btn:hover .btn__label:first-child, .btn:focus-visible .btn__label:first-child { transform: translateY(-110%); }
.btn:hover .btn__label + .btn__label, .btn:focus-visible .btn__label + .btn__label { transform: none; }
@media (prefers-reduced-motion: reduce) { .btn .btn__label { transition: none; } .btn .btn__label + .btn__label { display: none; } .btn:hover .btn__label:first-child { transform: none; } }
.btn:active { transform: scale(.985); transition: transform .12s var(--ease); }
.btn--primary { background: var(--plum); color: var(--white); --fill: var(--plum-dark); }
.btn--primary::before { background: radial-gradient(circle at 50% 120%, #8a3a5e, var(--plum-dark) 70%); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.6); --fill: var(--white); }
.btn--ghost:hover { color: var(--ink); border-color: var(--white); }
.btn--outline { color: var(--plum); border-color: var(--plum); --fill: var(--plum); }
.btn--outline:hover { color: var(--white); }
.btn--sm { padding: 12px 22px; font-size: 15px; min-height: 44px; }
.btn--block { width: 100%; padding-block: 18px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: grid;
  place-items: center;
}

/* Official logo intro (from lipcheva-logo-intro.html) */
.lip-intro {
  --lip-mark: #642340;
  --lip-word: #642340;
  --lip-tag: #736f70;
  --lip-swarm-a: #c98aa4;
  --lip-swarm-b: #642340;
  width: min(360px, 72vw);
  aspect-ratio: 2 / 1;
  position: relative;
  overflow: visible;
}
.lip-intro--dark { --lip-mark: #642340; --lip-word: #fff; --lip-tag: #a8a4a5; --lip-swarm-a: #8a3a5e; --lip-swarm-b: #642340; }
.lip-intro__svg { width: 100%; height: 100%; display: block; overflow: visible; }
.lip-intro [data-lip="symbol"] path { fill: var(--lip-mark); }
.lip-intro [data-lip="word"] { fill: var(--lip-word); }
.lip-intro [data-lip="tag"] { fill: var(--lip-tag); }
.lip-intro:not(.is-ready) .lip-intro__svg { visibility: hidden; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: transform .6s var(--ease), background .4s, box-shadow .4s, height .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(248,248,248,.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
  height: 70px;
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
body:has(.hero) .header__inner { max-width: 1440px; } /* homepage: logo lines up with the hero's wider stage */
.header__logo img { width: 120px; height: auto; transition: filter .4s; }
.header:not(.is-scrolled) .header__logo img { filter: brightness(0) invert(1); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 400;
  color: var(--white);
  transition: color .3s;
}
.header.is-scrolled .nav__link { color: var(--ink); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__has-sub { position: relative; }
.nav__sub {
  position: absolute;
  top: 100%; left: 0;
  min-width: 290px;
  padding: 12px;
  margin: 0;
  list-style: none;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(16,16,16,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.nav__has-sub:hover .nav__sub, .nav__has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  transition: background .25s, color .25s, padding .35s var(--ease);
}
.nav__sub a:hover { background: var(--plum-soft); color: var(--plum); }
/* periodontology's own treatment pages, nested under it */
.nav__sub-child a { position: relative; padding-left: 30px; font-size: 13.5px; color: var(--muted); }
.nav__sub-child a::before { content: ""; position: absolute; left: 16px; top: 50%; width: 6px; height: 1px; background: currentColor; opacity: .6; }
.nav__sub-child a[aria-current], .nav__sub a[aria-current] { color: var(--plum); }

.burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  position: relative;
  z-index: 120;
}
.burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--white);
  transition: transform .5s var(--ease), top .5s var(--ease), background .3s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.header.is-scrolled .burger span { background: var(--ink); }
body.menu-open .burger span { background: var(--white); }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .9s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { overflow: hidden; }
.mobile-menu li a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(40px, 11vw, 64px);
  font-weight: 600;
  line-height: 1.15;
  transform: translateY(110%);
  transition: transform .8s var(--ease), color .3s;
}
.mobile-menu li a:hover { color: #c98aa6; }
body.menu-open .mobile-menu li a { transform: translateY(0); }
/* Services accordion inside the mobile menu */
.mobile-menu__toggle {
  display: flex; align-items: center; gap: .25em; width: 100%;
  padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: clamp(40px, 11vw, 64px); font-weight: 600; line-height: 1.15;
  transform: translateY(110%);
  transition: transform .8s var(--ease), color .3s;
}
body.menu-open .mobile-menu__toggle { transform: translateY(0); transition-delay: .2s; }
.mobile-menu__toggle svg { width: .5em; height: .5em; margin-top: .1em; transition: transform .4s var(--ease); }
.mobile-menu__has-sub.is-open .mobile-menu__toggle { color: #c98aa6; }
.mobile-menu__has-sub.is-open .mobile-menu__toggle svg { transform: rotate(180deg); }
.mobile-menu__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.mobile-menu__has-sub.is-open .mobile-menu__sub { grid-template-rows: 1fr; }
.mobile-menu__sub > ul { overflow: hidden; min-height: 0; list-style: none; margin: 0; padding: 0 0 0 4px; }
.mobile-menu .mobile-menu__sub a {
  font-family: var(--sans); font-size: 17px; font-weight: 400; line-height: 1.3;
  padding: 9px 0; color: rgba(255,255,255,.78); transform: none;
}
.mobile-menu__sub li:first-child a { padding-top: 12px; }
.mobile-menu__sub li:last-child a { padding-bottom: 14px; }
.mobile-menu .mobile-menu__sub a[aria-current] { color: #c98aa6; }
.mobile-menu .mobile-menu__sub .nav__sub-child a { padding-left: 18px; font-size: 15px; color: rgba(255,255,255,.6); }
.mobile-menu .mobile-menu__sub .nav__sub-child a[aria-current] { color: #c98aa6; }
body.menu-open .mobile-menu li:nth-child(1) a { transition-delay: .15s; }
body.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .2s; }
body.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .25s; }
body.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .3s; }
body.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .35s; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 6px; color: rgba(255,255,255,.6); font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* full screen on laptops, but never a tall empty stage on big monitors (the original hero is ~820px) */
  min-height: clamp(640px, 100svh, 900px);
  background: var(--ink);
  color: var(--white);
  border-bottom-left-radius: clamp(40px, 8vw, 120px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__symbols { position: absolute; inset: 0; }
.hero__symbols svg { position: absolute; left: 50%; top: 50%; width: max(110%, 1440px); height: auto; transform: translate(-50%, -50%); overflow: visible; }
.hero__symbols path { fill: #373737; fill-opacity: .39; }
.hero__shade { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 70% at 18% 45%, rgba(16,16,16,.85), transparent 70%); }
.hero__glow {
  position: absolute;
  width: 60vw; height: 60vw;
  right: -10vw; bottom: -25vw;
  background: radial-gradient(circle, rgba(100,35,64,.65), transparent 65%);
  filter: blur(40px);
}
.hero__inner {
  position: relative;
  flex: 1;
  display: grid;
  /* the original layout: a 1440px stage, ~780px text column, the portrait at its natural size beside it */
  max-width: 1440px;
  grid-template-columns: minmax(0, 810fr) minmax(0, 590fr);
  align-items: end;
  gap: 32px;
  padding-top: calc(var(--header-h) + 16px);
}
.hero__content { align-self: center; padding-bottom: 24px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(42px, min(5.4vw, 8.6svh), 78px);
  line-height: 1.08;
  max-width: 780px;
  letter-spacing: -.015em;
  margin-bottom: 22px;
}
.hero__lead { font-size: clamp(16px, 1.3vw, 18px); max-width: 608px; color: rgba(255,255,255,.82); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media { position: relative; align-self: end; height: 100%; display: flex; align-items: flex-end; justify-content: flex-start; }
/* The portrait (758×634) is shown at most at its natural size, smaller on short screens;
   it starts at the column edge and may run a little into the right margin, as in the original. */
.hero__portrait {
  position: relative;
  flex-shrink: 0;
  width: min(calc((100svh - var(--header-h) - 130px) * 1.2), 758px, calc(50vw - 20px));
  clip-path: inset(0 0 100% 0);
}
.hero__portrait img { width: 100%; height: auto; transform-origin: 50% 100%; }

.hero__marquee {
  position: relative;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 22px;
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; display: flex; user-select: none; }
.marquee__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  will-change: transform;
}
.hero__marquee .marquee__track span { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); font-weight: 500; font-style: italic; white-space: nowrap; color: rgba(255,255,255,.85); }
.hero__marquee .marquee__track i { color: #c98aa6; font-style: normal; font-size: 14px; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
  overflow: hidden;
}
.why-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100,35,64,.16), transparent 70%);
  opacity: 0;
  transition: opacity .6s;
}
.why-card:hover { box-shadow: 0 24px 48px -32px rgba(100,35,64,.28); border-color: rgba(100,35,64,.2); }
.why-card:hover::after { opacity: 1; }
.why-card__icon { width: 44px; height: 44px; margin-bottom: 26px; }
.why-card__num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: var(--plum);
  margin-bottom: 14px;
}
.why-card h3 { font-size: 18px; font-weight: 500; line-height: 1.3; margin-bottom: 10px; color: var(--ink); }
.why-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Services ---------- */
.services { background: var(--white); }
.services__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.service-card {
  grid-column: span 2;
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}
.service-card--wide { grid-column: span 3; aspect-ratio: 16 / 11; }
.service-card__img { position: absolute; inset: 0; z-index: -1; }
.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease), filter 1.6s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,16,16,.6) 0%, rgba(16,16,16,0) 40%);
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(100,35,64,.85), rgba(100,35,64,.15));
  clip-path: inset(100% 0 0 0);
  transition: clip-path .8s var(--ease);
  z-index: 0;
}
.service-card h3 {
  position: relative;
  z-index: 1;
  padding: 26px 28px;
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.2;
  max-width: 85%;
}
.service-card__arrow {
  position: absolute;
  right: 20px; bottom: 20px;
  z-index: 1;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: transform .7s var(--ease), background .4s, color .4s;
}
.service-card__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .7s var(--ease); }
.service-card:hover .service-card__img img { transform: scale(1.07); }
.service-card:hover::after { clip-path: inset(0 0 0 0); }
.service-card:hover .service-card__arrow { transform: scale(1.06); }
.service-card:hover .service-card__arrow svg { transform: rotate(-45deg); }

/* ---------- About ---------- */
.about { background: var(--cream); overflow: hidden; }
.about__accent { position: absolute; right: -120px; top: 40px; width: 520px; opacity: .5; pointer-events: none; }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.about__collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.about__img { margin: 0; border-radius: var(--radius); overflow: hidden; background: #d9d2ce; }
.about__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.about__img--1 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.about__img--2 { aspect-ratio: 3 / 4; }
.about__img--3 { aspect-ratio: 3 / 4; margin-top: 40px; }
.about__text p { color: #3a3537; }
.about__facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.about__facts li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 14px;
  font-weight: 400;
  transition: background .4s, transform .5s var(--ease);
}
.about__facts li:hover { background: var(--white); }
.about__facts img { width: 34px; height: 34px; flex-shrink: 0; }

/* ---------- Results ---------- */
.results__group + .results__group { margin-top: clamp(48px, 6vw, 72px); }
.results__cat { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 700; text-align: center; margin-bottom: 28px; color: var(--ink); }
.results__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.results__more { display: flex; justify-content: center; margin-top: 56px; }

/* gallery cards: the black-and-white before/after photo turns to colour in place,
   spreading out from where the cursor (or finger) enters, so nothing moves away */
.case {
  --x: 50%;
  --y: 50%;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 321 / 346; /* the photos' own ratio, so the baked-in Before/After labels are not cropped */
  box-shadow: 0 20px 40px -28px rgba(16,16,16,.35);
  transition: box-shadow .6s var(--ease);
}
.case img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__result { clip-path: circle(0% at var(--x) var(--y)); transition: clip-path .9s var(--ease); }
.case.is-colour .case__result { clip-path: circle(150% at var(--x) var(--y)); }
.case.is-colour { box-shadow: 0 30px 50px -28px rgba(100,35,64,.45); }
.case:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--ink); color: var(--white); overflow: hidden; }
.reviews .section-title { color: var(--white); }
.reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/reviews-bg.svg") center / cover no-repeat;
  opacity: .06;
  pointer-events: none;
}
.reviews__summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 56px;
}
.reviews__summary p { margin: 0; color: rgba(255,255,255,.65); font-size: 14px; }
.reviews__score { font-family: var(--serif); font-size: 72px; font-weight: 700; line-height: 1; }
.reviews .btn--outline { color: var(--white); border-color: rgba(255,255,255,.4); --fill: var(--white); }
.reviews .btn--outline:hover { color: var(--ink); }
.stars { color: #f5b942; letter-spacing: 2px; font-size: 16px; }
.reviews__rows { display: grid; gap: 20px; }
.marquee--reviews .marquee__track { gap: 20px; padding-right: 20px; align-items: stretch; }
.review {
  margin: 0;
  width: 360px;
  flex-shrink: 0;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .4s, border-color .4s;
}
.review:hover { background: rgba(100,35,64,.35); border-color: rgba(201,138,166,.4); }
.review p { margin: 12px 0 0; font-size: 16px; color: rgba(255,255,255,.88); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review__avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review__avatar--letter { display: grid; place-items: center; background: #7b5a6a; color: #fff; font-weight: 500; font-size: 19px; }
.review__who { display: grid; min-width: 0; line-height: 1.3; }
.review__name { font-style: normal; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review__name a { color: inherit; }
.review__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.review__date { font-size: 13px; color: rgba(255,255,255,.55); }
.review__g { width: 18px; height: 18px; margin-left: auto; flex-shrink: 0; align-self: flex-start; }

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(rgba(248,248,248,.92), rgba(248,248,248,.92)), url("../assets/img/contact-bg.jpg") center / cover;
}
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__info a { color: var(--plum); }
.contact__list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 26px; }
.contact__list li { display: flex; gap: 18px; align-items: flex-start; }
.contact__list h3 { font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.1; margin-bottom: 6px; }
.contact__list p { margin: 0; color: #3a3537; }
.contact__list a { color: inherit; }
.contact__list a:hover { color: var(--plum); }
.contact__icon {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.contact__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--plum); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 40px 80px -40px rgba(16,16,16,.2);
  display: grid;
  gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%;
  padding: 26px 18px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  outline: none;
  resize: vertical;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 140px; }
.field span {
  position: absolute;
  left: 19px; top: 18px;
  font-size: 15px;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .35s var(--ease), color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--plum); background: var(--white); box-shadow: 0 0 0 4px var(--plum-soft); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-10px) scale(.78); color: var(--plum); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c0392b; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; min-height: 1.4em; font-size: 14px; text-align: center; }
.form__status.is-ok { color: #2e7d4f; }
.form__status.is-err { color: #c0392b; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding-top: 80px; border-top-right-radius: clamp(40px, 8vw, 120px); margin-top: -1px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { width: 140px; margin-bottom: 20px; }
.footer__brand p { max-width: 320px; font-size: 15px; }
.footer__map { color: #c98aa6; font-weight: 400; }
.footer__links { display: grid; gap: 0; align-content: start; font-size: 15px; }
.footer__links a, .footer__map, .footer__top { display: inline-flex; align-items: center; min-height: 44px; }
.footer__links a { width: max-content; transition: color .3s, transform .4s var(--ease); }
.footer__links a:hover { color: var(--white); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.footer__social a:hover { background: var(--plum); border-color: var(--plum); }
.footer__social svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linejoin: round; }
.footer__social .fill { fill: var(--white); stroke: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 28px; font-size: 14px; }
.footer__bottom p { margin: 0; }
.footer__top:hover { color: var(--white); }

/* ==========================================================
   Service pages — layout follows the original lipcheva.com service pages
   ========================================================== */
.btn--light { background: var(--white); color: var(--plum); --fill: var(--ink); }
.btn--light:hover { color: var(--white); }
.corner-tr { border-radius: 16px 230px 16px 16px; }

/* hero: implant photo on black, 230px rounded bottom-right */
.svc-hero {
  position: relative;
  min-height: max(600px, 78svh);
  display: grid;
  place-items: center;
  background: #000;
  color: var(--white);
  border-bottom-right-radius: clamp(80px, 16vw, 230px);
  overflow: hidden;
  isolation: isolate;
}
.svc-hero__img {
  position: absolute;
  left: 50%; top: 50%;
  height: 100%;
  width: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.svc-hero__content { text-shadow: 0 2px 24px rgba(0,0,0,.65); }
.svc-hero__content { text-align: center; padding-top: calc(var(--header-h) + 20px); padding-bottom: 60px; max-width: 980px; }
.svc-hero__title { font-family: var(--serif); font-weight: 700; margin-bottom: 22px; }
.svc-hero__kicker { display: block; font-size: clamp(44px, 5.4vw, 78px); line-height: 1; margin-bottom: 8px; }
.svc-hero__sub { display: block; font-size: clamp(30px, 3.9vw, 56px); line-height: 1.1; }
.svc-hero__lead { font-size: clamp(16px, 1.25vw, 18px); max-width: 560px; margin: 0 auto 30px; color: rgba(255,255,255,.92); }
.page-service .btn { border-radius: 8px; }

/* text + photo split */
.svc-split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.svc-split__text p { color: #2b2729; }
.svc-split__media { margin: 0; overflow: hidden; background: #e9e4e1; }
.svc-split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 683 / 484; }
.svc-split--reverse .svc-split__media img { aspect-ratio: 683 / 648; }
.svc-split--reverse .svc-split__text .btn { margin-top: 26px; }

/* photo hero variant (periodontology): full-bleed photo, title left */
.corner-tl { border-radius: 230px 16px 16px 16px; }
.corner-sm { border-radius: 16px; }
.svc-hero--photo { place-items: center start; min-height: max(620px, 82svh); }
.svc-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,5,9,.7) 0%, rgba(14,5,9,.35) 50%, rgba(14,5,9,0) 78%); }
.svc-hero--photo .svc-hero__img { left: 0; top: -18%; width: 100%; height: 118%; transform: none; object-fit: cover; object-position: 60% 30%; }
.svc-hero--photo .svc-hero__content { text-align: left; max-width: var(--container); }
.svc-hero--photo .svc-hero__content > * { max-width: 640px; }
.svc-hero--photo .svc-hero__lead { margin: 0 0 32px; }
.svc-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.svc-hero__jump { display: flex; flex-wrap: wrap; gap: 8px; text-shadow: none; }
.svc-hero__jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font-size: 14px; color: var(--white); transition: background .3s var(--ease), border-color .3s var(--ease); }
.svc-hero__jump a:hover, .svc-hero__jump a:focus-visible { background: rgba(255,255,255,.14); border-color: var(--white); }

/* dark photo hero (full-mouth, All-on-X, veneers, conservative, prophylaxis): title centred like the original */
.svc-hero--bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 62% 58% at 50% 52%, rgba(0,0,0,.6), rgba(0,0,0,0) 78%); }
.svc-hero--bg .svc-hero__img { left: 0; top: -18%; width: 100%; height: 118%; transform: none; object-fit: cover; object-position: var(--hero-pos, 50% 50%); }

/* compact title band (legal pages): no photo, same dark top so the header reads the same */
.svc-hero--compact { min-height: 0; }
.svc-hero--compact .svc-hero__content { padding-top: calc(var(--header-h) + 72px); padding-bottom: 72px; }
.svc-hero--compact .svc-hero__lead { margin-bottom: 0; color: rgba(255,255,255,.72); }

/* legal text: one readable column */
.legal__inner { max-width: 760px; }
.legal h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; color: var(--ink); margin: 56px 0 16px; }
.legal h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.legal p, .legal li { color: #2b2729; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 6px; }
.legal li::marker { color: var(--plum); }
.legal a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.legal > .container > :first-child { margin-top: 0; }

/* gallery: sticky category chips, then one block of cases per treatment */
.gallery { padding-top: 0; }
.gallery-nav { position: sticky; top: var(--header-h); transition: top .4s var(--ease); z-index: 20; background: rgba(248,248,248,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-bottom: clamp(48px, 6vw, 80px); }
body:has(.header.is-hidden) .gallery-nav { top: 0; }
.gallery-nav__inner { display: flex; gap: 8px; overflow-x: auto; padding-block: 14px; scrollbar-width: none; }
.gallery-nav__inner::-webkit-scrollbar { display: none; }
.gallery-nav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); background: var(--white); transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease); }
.gallery-nav a:hover, .gallery-nav a:focus-visible, .gallery-nav a.is-active { border-color: var(--plum); color: var(--white); background: var(--plum); }
.gallery-group { scroll-margin-top: calc(var(--header-h) + 90px); }
.gallery-group + .gallery-group { margin-top: clamp(64px, 8vw, 110px); }
.gallery-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.gallery-group__head .section-title { margin-bottom: 0; }
.gallery .results__hint { margin: 0 0 32px; }

/* shorter full-bleed banner (About: published work) */
.svc-photo--short { min-height: 540px; }

/* condition rows: alternating text / photo, photos keep their own ratio */
.svc-cond { scroll-margin-top: var(--header-h); }
.svc-cond + .svc-cond { padding-top: 0; }
.svc-cond .svc-split__media img { aspect-ratio: auto; height: auto; }
.svc-cond__label { margin: 22px 0 8px; font-weight: 500; }
.svc-split__text .arrow-list + p { margin-top: 22px; }
.svc-split__text strong { font-weight: 600; color: var(--plum); }

/* full-bleed photo section: lines are part of the photo, rounded top-left */
.svc-photo {
  position: relative;
  min-height: 732px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: #000;
  border-top-left-radius: clamp(80px, 16vw, 230px);
  overflow: hidden;
  isolation: isolate;
}
.svc-photo__bg { position: absolute; inset: -6% 0; z-index: -1; background-size: cover; background-position: 100% 50%; will-change: transform; }
.svc-photo__content { padding-block: 100px; }
.svc-photo__content > * { max-width: 700px; }
.svc-photo .section-title { color: var(--white); text-transform: uppercase; }
.svc-photo p { margin: 18px 0 12px; }
.arrow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.arrow-list li { position: relative; padding-left: 26px; }
.arrow-list li::before { content: "→"; position: absolute; left: 0; top: 0; }
.arrow-list strong { font-weight: 500; }
.arrow-list--dark li { color: #2b2729; }

/* benefits: cards | portrait | cards */
.svc-benefits .section-title { text-transform: uppercase; }
.svc-benefits__grid { display: grid; grid-template-columns: 1fr 1.03fr 1fr; gap: 12px; }
.svc-benefits__col { display: grid; gap: 12px; }
.benefit-card {
  padding: 32px 24px;
  border-radius: 12px;
  background: #f1eeec;
  transition: background .5s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease);
}
.benefit-card h3 { font-size: 20px; font-weight: 500; line-height: 1.3; margin-bottom: 16px; color: var(--ink); transition: color .5s; }
.benefit-card p { margin: 0; color: #3a3537; transition: color .5s; }
.svc-benefits__media { margin: 0; border-radius: 12px; overflow: hidden; min-height: 410px; }
.svc-benefits__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc-benefits__media:hover img { transform: scale(1.04); }

/* process: brand-line accent on the left edge, numbered accordion */
.svc-process { position: relative; overflow: hidden; }
.svc-process__accent { position: absolute; left: 0; top: 50%; width: 26%; max-width: 380px; transform: translateY(-50%); pointer-events: none; z-index: -1; }
.svc-process .section-title { text-transform: uppercase; }
.svc-process__inner { display: grid; grid-template-columns: 518px 1fr; gap: 52px; align-items: start; }
.svc-process__intro { position: sticky; top: 110px; }
.svc-process__intro p { color: #2b2729; margin-bottom: 26px; }
.svc-process__list { display: grid; gap: 12px; }
.svc-results { margin-top: clamp(80px, 10vw, 130px); }

/* shared accordion look (process steps + FAQ) */
.acc { border-radius: 12px; background: #f8f7f6; border: 1px solid transparent; transition: background .4s, border-color .4s, box-shadow .4s; }
.acc.is-open { background: var(--white); border-color: rgba(100,35,64,.18); box-shadow: 0 20px 40px -30px rgba(100,35,64,.35); }
.acc .faq__q { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; font-size: 18px; }
.acc .faq__q > .acc__title { grid-column: 2; }
.acc.faq .faq__q { grid-template-columns: 1fr auto; }
.acc.faq .faq__q > .acc__title { grid-column: 1; }
.acc__num { font-family: var(--serif); font-size: 52px; font-weight: 700; line-height: .8; color: var(--plum); min-width: 34px; transition: transform .6s var(--ease); }
.acc.is-open .acc__num { transform: scale(1.12); }
.acc .faq__a p { color: #333; }

/* FAQ */
.svc-faq .section-title { text-transform: uppercase; }
.svc-faq__list { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }

/* light reviews, as on the original */
.reviews--light { background: var(--white); color: var(--ink); }
.reviews--light::before { display: none; }
.reviews--light .section-title { color: var(--ink); }
.reviews--light .reviews__summary p { color: var(--muted); }
.reviews--light .btn--outline { color: var(--plum); border-color: var(--plum); --fill: var(--plum); }
.reviews--light .btn--outline:hover { color: var(--white); }
.reviews--light .review { background: #f4f4f4; border-color: transparent; border-radius: 8px; }
.reviews--light .review p { color: #2b2729; }
.reviews--light .review__name { color: var(--ink); }
.reviews--light .review__date { color: var(--muted); }
.reviews--light .review:hover { background: #ece7e4; border-color: transparent; }

/* contact: photo + form in one rounded card, then a location card */
.svc-contact { padding-top: 40px; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--white); }
/* the video is already cropped, black-and-white and toned like the original contact photo */
.contact-card__photo { position: relative; min-height: 520px; overflow: hidden; background: #e2e0df url("../assets/video/cta-doctor-loop-poster.jpg") center 30% / cover no-repeat; }
.contact-card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.contact-card__form { padding: 30px; }
.contact-card__form > p { color: #2b2729; margin-bottom: 24px; }
.contact-card__form a { color: var(--plum); }
.form--flat { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.form--flat .field input, .form--flat .field textarea { background: var(--white); border-radius: 8px; }
.location-card { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--white); }
.location-card__info { padding: 30px; }
.location-card__info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.location-card__info li { display: flex; gap: 16px; align-items: flex-start; }
.location-card__info h3 { font-size: 18px; font-weight: 500; margin-bottom: 2px; }
.location-card__info p { margin: 0; color: #2b2729; }
.location-card__info a:hover { color: var(--plum); }
.location-card__map { position: relative; min-height: 430px; background-size: cover; background-position: center; display: grid; place-items: center; padding: 30px; }
.location-card__btn { position: absolute; right: 30px; bottom: 30px; border: 1px solid var(--line); }

/* readable body weight for an older audience */
.page-service main p, .page-service main li { font-weight: 400; }

/* section label above a heading (kept at the owner's request for the process section) */
.eyebrow { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }

/* Dr Lipcheva band */
.svc-doctor__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-doctor__media { margin: 0; overflow: hidden; background: #e9e4e1; }
.svc-doctor__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.svc-doctor__text > p { color: #2b2729; max-width: 60ch; }
.svc-doctor__facts { list-style: none; margin: 28px 0 26px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc-doctor__facts li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc-doctor__facts img { width: 30px; height: 30px; flex-shrink: 0; }
.svc-doctor__facts strong { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--plum); margin-right: 4px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--plum); font-weight: 500; }
.link-arrow::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.link-arrow:hover::after { width: 44px; }

/* accordion base (FAQ) */
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border: 0; background: none; color: var(--ink); text-align: left; font: inherit; font-size: 17px; font-weight: 500; cursor: pointer; }
.faq__q i { position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--cream); transition: background .4s, transform .5s var(--ease); }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: var(--plum); transition: transform .5s var(--ease), background .4s; }
.faq__q i::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q i { background: var(--plum); transform: rotate(180deg); }
.faq__item.is-open .faq__q i::before, .faq__item.is-open .faq__q i::after { background: var(--white); }
.faq__item.is-open .faq__q i::after { transform: rotate(0deg); }
.faq__q:hover i { background: #e2d8d3; }
.faq__item.is-open .faq__q:hover i { background: var(--plum-dark); }
.faq__q:focus-visible { outline-offset: -2px; border-radius: 12px; }
.faq__a { height: 0; overflow: hidden; transition: height .6s var(--ease); }
.faq__a p { margin: 0; padding: 0 24px 24px; }

/* process timeline */
.process__steps { position: relative; }
.process__steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.process__track { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.process__progress { position: absolute; inset: 0; background: var(--plum); transform-origin: top; }
.process__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 28px 0; }
.process__num {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line);
  font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--muted);
  transition: background .5s var(--ease), border-color .5s, color .5s, transform .6s var(--ease);
}
.process__step h3 { font-size: 20px; font-weight: 500; line-height: 1.3; margin: 12px 0 10px; color: var(--muted); transition: color .5s; }
.process__step p { margin: 0; color: #5b5557; transition: color .5s; }
.process__step.is-active .process__num { background: var(--plum); border-color: var(--plum); color: var(--white); transform: scale(1.08); }
.process__step.is-active h3 { color: var(--ink); }
.process__step.is-active p { color: #2b2729; }

/* gallery hint */
.results__hint { text-align: center; color: var(--muted); font-size: 15px; margin: -40px 0 32px; }

/* reviews pause control */
.reviews__controls { display: flex; justify-content: flex-end; margin: -24px auto 16px; }
.reviews__pause { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; }
.reviews__pause:hover { border-color: var(--plum); color: var(--plum); }
.reviews__pause-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.reviews__pause[aria-pressed="true"] .reviews__pause-icon { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* contact: phone first, privacy note */
.contact-card__phone { font-weight: 600; white-space: nowrap; }
.form__note { margin: 0; font-size: 13px; color: var(--muted); }
.form__note a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }

/* location marker without a card-in-card */
.location-card__pin { display: flex; align-items: center; gap: 10px; padding: 0; background: none; box-shadow: none; max-width: none; }
.location-card__marker { width: 34px; height: 34px; fill: var(--plum); stroke: #fff; stroke-width: 1.4; filter: drop-shadow(0 6px 10px rgba(100,35,64,.35)); }
.location-card__marker circle { fill: #fff; stroke: none; }
.location-card__pin h3 { font-size: 17px; font-weight: 600; color: var(--ink); text-shadow: 0 0 8px #fff, 0 0 2px #fff; }

/* sticky call bar (phones only) */
.call-bar { display: none; }

/* plum footer, as on the original */
.page-service .footer { background: var(--plum); color: rgba(255,255,255,.8); }
.page-service .footer__inner, .page-service .footer__bottom { border-color: rgba(255,255,255,.18); }
.page-service .footer__map { color: #f0c3d6; }
.page-service .footer__social a:hover { background: var(--white); border-color: var(--white); }
.page-service .footer__social a:hover svg { stroke: var(--plum); }
.page-service .footer__social a:hover .fill { fill: var(--plum); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-process__inner { grid-template-columns: 1fr 1.2fr; }
  .results__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .hero__inner { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 24px); gap: 0; }
  .hero__content { padding-bottom: 20px; }
  .hero__media { justify-content: center; }
  .hero__portrait { width: 100%; max-width: 460px; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service-card, .service-card--wide { grid-column: span 1; aspect-ratio: 4 / 5; }
  .about .container, .contact__inner { grid-template-columns: 1fr; }
  .svc-split__inner, .svc-process__inner, .contact-card, .location-card, .svc-doctor__inner { grid-template-columns: 1fr; }
  .svc-doctor__media { max-width: 420px; }
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; padding: 8px; border-radius: 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 12px 30px -10px rgba(16,16,16,.35); transform: translateY(140%); transition: transform .5s var(--ease); }
  .call-bar.is-visible { transform: none; }
  .call-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 10px; font-weight: 500; }
  .call-bar__call { border: 1px solid var(--plum); color: var(--plum); }
  .call-bar__call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
  .call-bar__book { background: var(--plum); color: #fff; }
  .page-service .footer { padding-bottom: 84px; }
  .svc-split--reverse .svc-split__media { order: 2; }
  .svc-benefits__grid { grid-template-columns: 1fr 1fr; }
  .svc-benefits__media { grid-column: 1 / -1; grid-row: 1; min-height: 360px; }
  .svc-process__intro { position: static; }
  .svc-process__accent { display: none; }
  .contact-card__photo { min-height: 440px; }
  .svc-photo { min-height: 0; }
  .svc-photo__bg { background-position: 70% 50%; }
  .svc-photo__bg::after { content: ""; position: absolute; inset: 0; background: rgba(30,6,18,.55); }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .why__grid, .services__grid { grid-template-columns: 1fr; }
  .service-card, .service-card--wide { aspect-ratio: 4 / 3.4; }
  .form__row { grid-template-columns: 1fr; }
  .svc-benefits__grid { grid-template-columns: 1fr; }
  .page-service .section-title { font-size: clamp(28px, 8vw, 34px); overflow-wrap: anywhere; hyphens: auto; }
  .process__step { grid-template-columns: 48px 1fr; gap: 16px; }
  .process__num { width: 48px; height: 48px; font-size: 18px; }
  .process__track { left: 23px; }
  .results__hint { margin-top: -24px; }
  .reviews__controls { justify-content: center; margin-top: -12px; }
  .acc .faq__q { padding: 18px; gap: 14px; font-size: 16px; }
  .svc-hero { display: flex; flex-direction: column; min-height: 0; }
  .svc-hero__content { padding-bottom: 10px; }
  .svc-hero__img { position: relative; left: auto; top: auto; transform: none; order: 2; width: 78%; height: auto; margin: 0 auto 40px; }
  .svc-hero__kicker { font-size: 40px; }
  .svc-hero__sub { font-size: 27px; }
  .svc-hero--photo, .svc-hero--bg { min-height: 640px; justify-content: flex-end; }
  .svc-hero--bg::after { background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.1) 100%); }
  .svc-hero--bg .svc-hero__img { position: absolute; left: 0; top: -18%; width: 100%; height: 118%; margin: 0; order: 0; object-position: 50% 20%; }
  .svc-hero--bg .svc-hero__content { padding-bottom: 48px; }
  .svc-hero--photo::after { background: linear-gradient(0deg, rgba(14,5,9,.82) 0%, rgba(14,5,9,.5) 55%, rgba(14,5,9,.15) 100%); }
  .svc-hero--photo .svc-hero__img { position: absolute; left: 0; top: -18%; width: 100%; height: 118%; margin: 0; order: 0; object-position: 62% 30%; }
  .svc-hero--photo .svc-hero__content { padding-bottom: 48px; }
  .location-card__btn { position: static; margin-top: 16px; }
  .location-card__map { min-height: 320px; display: flex; flex-direction: column; justify-content: center; }
  .results__grid { gap: 12px; }
  .review { width: 290px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero__portrait { clip-path: none; }
  .case, .case__result { transition: none; }
  .faq__a { transition: none; }
  .marquee { overflow-x: auto; scrollbar-width: thin; }
  .reviews__controls { display: none; }
}

/* ---------- 404 ---------- */
.not-found { text-align: center; }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 32px; }
/* buttons keep their own colours inside the legal-page layout (whose links are plum and underlined) */
.legal a.btn { text-decoration: none; }
.legal a.btn--primary { color: var(--white); }
.legal a.btn--outline:hover, .legal a.btn--outline:focus-visible { color: var(--white); }

