/* Vita Dente — design tokens */
:root {
  --ink: #161616;
  --ink-2: #2a2a2a;
  --paper: #faf8f5;
  --surface: #ffffff;
  --tint: #f3eee6;
  --sky: #e4eef6;
  --line: #e7e1d8;
  --muted: #5d5850;
  --gold: #b08d57;
  --gold-ink: #7a5c30;
  --wa: #1fa855;
  --viber: #7360f2;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px -24px rgba(40, 30, 15, .35);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
mark.todo { background: #fff3b0; outline: 1px dashed #c9a200; padding: 0 .25em; border-radius: 4px; color: inherit; }

/* Eyebrow + bracket motif (from the clinic's door signs) */
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1.1em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.eyebrow-light { color: #e3cfa9; }
.eyebrow-light::before { background: #e3cfa9; }
.bracket { position: relative; padding: .55em 1.25em; display: inline-block; }
.bracket::before { content: ""; position: absolute; inset: 0; border: 2px solid currentColor; border-radius: 16px;
  -webkit-mask: linear-gradient(90deg, #000 26%, transparent 26% 74%, #000 74%);
  mask: linear-gradient(90deg, #000 26%, transparent 26% 74%, #000 74%); }
.bracket-label { font-size: .8rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 1.4em; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-viber { background: var(--viber); color: #fff; }
.btn-call { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-row, .contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-buttons.on-dark .btn-call { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 245, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo img { height: 46px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 600; }
.nav-toggle { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: 22px; }
  .nav > ul { display: flex; gap: 4px; }
  .nav > ul > li { position: relative; }
  .nav > ul > li > a { display: block; padding: 10px 12px; border-radius: 10px; font-size: .97rem; }
  .nav > ul > li > a:hover, .nav > ul > li.active > a { background: var(--tint); }
  .nav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-3px); }
  .sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .sub a { display: block; padding: 9px 12px; border-radius: 10px; font-weight: 600; }
  .sub a:hover, .sub a[aria-current] { background: var(--tint); }
  .book { position: relative; }
  .book-toggle { min-height: 46px; gap: 6px; padding-right: 1em; }
  .book-toggle .chev { transition: transform .2s; }
  .book-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .book-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
  .book.open .book-menu { opacity: 1; visibility: visible; transform: none; }
}
.book-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; text-decoration: none; }
.book-item:hover, .book-item:focus-visible { background: var(--tint); }
.book-item b { display: block; line-height: 1.2; }
.book-item small { color: var(--muted); font-size: .88rem; }
.bi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.bi svg { width: 22px; height: 22px; }
.bi-wa { background: var(--wa); }
.bi-viber { background: var(--viber); }
.bi-call { background: var(--ink); }
.book-hours { margin: 6px 12px 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
@media (max-width: 999px) {
  :root { --header-h: 66px; }
  .logo img { height: 38px; }
  .nav-toggle { display: grid; gap: 5px; place-content: center; width: 48px; height: 48px; border: 0; background: var(--tint); border-radius: 14px; cursor: pointer; }
  .nav-toggle span:not(.sr) { width: 22px; height: 2px; background: var(--ink); transition: .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); padding: 16px 20px 120px; overflow-y: auto; display: none; }
  .nav.open { display: block; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav > ul > li > a { display: block; padding: 14px 0; font-size: 1.2rem; font-weight: 700; }
  .sub { padding: 0 0 12px 14px; }
  .sub a { display: block; padding: 8px 0; color: var(--muted); }
  .book { margin-top: 20px; }
  .book-toggle { display: none; }
  .book-menu { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; }
  body.nav-open { overflow: hidden; }
}

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--surface); }
.section.tint { background: var(--tint); }
.section.sky { background: var(--sky); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }

/* Hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--gold-ink); }
.hero .lead { margin-bottom: 28px; }
.hero-media { position: relative; }
.hero-media > img { border-radius: 32px; aspect-ratio: 4 / 4.4; object-fit: cover; box-shadow: var(--shadow); }
.hero-badge { position: absolute; left: -28px; bottom: 32px; background: var(--surface); border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow); max-width: 290px; }
.hero-badge strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.hero-badge span { font-size: .9rem; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding: 0; list-style: none; font-size: .95rem; color: var(--muted); font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.page-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 64px); }
.page-hero .split { align-items: center; }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media > img { aspect-ratio: 4 / 3; border-radius: 24px; }
  .hero-badge { left: 12px; right: 12px; bottom: -28px; max-width: none; }
  .hero-text { padding-top: 24px; }
}

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split .img-tall { aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card, .card-link { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tint .card, .sky .card { border-color: transparent; }
.card-link { display: flex; flex-direction: column; text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-link p { color: var(--muted); font-size: .97rem; flex: 1; }
.card-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--tint); font-weight: 800; margin-bottom: 18px; }
.card p:last-child { margin-bottom: 0; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; }

/* Feature service cards (home) */
.services { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.service { grid-column: span 4; position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .18s, box-shadow .18s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service.wide { grid-column: span 8; flex-direction: row; }
.service img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.service.wide img { width: 50%; aspect-ratio: auto; }
.service-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.service-body p { color: var(--muted); font-size: .97rem; flex: 1; }
.service.slim { grid-column: span 12; }
.service.slim .service-body { flex-direction: row; align-items: center; gap: 24px; flex-wrap: wrap; }
.service.slim .service-body h3 { margin: 0; }
.service.slim .service-body p { margin: 0; flex: 1 1 320px; }
.service.slim .tag { margin: 0; align-self: center; }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--tint); color: var(--gold-ink); padding: 6px 10px; border-radius: 999px; margin-bottom: 14px; }
@media (max-width: 899px) { .service, .service.wide { grid-column: span 12; flex-direction: column; } .service.wide img { width: 100%; aspect-ratio: 16 / 10; } }

/* Unique-position band */
.only { background: var(--ink); color: #fff; border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.only h2 { color: #fff; }
.only p { color: #d8d2c8; }
.only .bracket { color: #e3cfa9; }
.towns { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.towns li { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.towns li small { color: #bfb6a8; font-weight: 500; margin-left: 4px; }
@media (max-width: 899px) { .only { grid-template-columns: 1fr; } }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 1000px) { .steps.five { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--radius); padding: 28px; position: relative; border: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); display: block; font-size: 2.1rem; font-weight: 800; color: var(--gold); margin-bottom: 10px; letter-spacing: -.03em; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin: 36px 0 0; }
.stat { border-top: 2px solid var(--ink); padding-top: 14px; }
.stat b { display: block; font-size: 2rem; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }

/* Checklist */
.check { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237a5c30' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* Prose (articles, longer pages) */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.answer { background: var(--surface); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; margin: 0 0 1.6em; font-size: 1.05rem; }
.answer strong:first-child { display: block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.aside-card .contact-buttons { flex-direction: column; }
.aside-card .btn { width: 100%; }
@media (max-width: 999px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .aside-card { position: static; } }
.byline { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.byline b { color: var(--ink); }

/* FAQ */
.faq-list { max-width: 860px; }
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
details.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 1.05rem; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; font-size: 1.3rem; font-weight: 600; transition: transform .2s; }
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq > div { padding: 0 24px 20px; color: var(--muted); }
details.faq > div p:last-child { margin: 0; }

/* Price table */
.prices { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.prices caption { text-align: left; font-weight: 800; font-size: 1.25rem; padding: 0 0 12px; }
.prices th, .prices td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices thead th { background: var(--tint); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.prices td:last-child, .prices th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.prices td small { display: block; color: var(--muted); font-weight: 500; }
.prices tr:last-child td { border-bottom: 0; }
.price-block { margin-bottom: 40px; }
@media (max-width: 599px) { .prices th, .prices td { padding: 14px 14px; } .prose .prices td:last-child { white-space: normal; } }

/* Video */
.video { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: var(--shadow); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video img { opacity: .78; }
.video-play { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: flex; align-items: center; gap: 12px; padding: 14px 24px 14px 14px; border: 0; border-radius: 999px; background: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 16px 40px -10px rgba(0,0,0,.5); transition: transform .15s; }
.video-play:hover { transform: scale(1.04); }
.video-play svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--ink); color: #fff; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.g-item { border-radius: 16px; overflow: hidden; display: block; }
.g-item.tall { grid-row: span 2; }
.g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.04); }
@media (max-width: 899px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 10, 10, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; }
.lightbox button { position: fixed; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Reviews carousel */
.rv-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.rv-top h2 { margin-bottom: .35em; }
.rv-score { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.rv-score b { font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; }
.rv-score:hover span:last-child { text-decoration: underline; }
.rv-nav { display: flex; gap: 10px; }
.rv-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink); transition: background-color .15s, color .15s, opacity .15s; }
.rv-nav button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.rv-nav button:disabled { opacity: .3; cursor: default; }
.rv-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; margin: 0 -2px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; cursor: grab; }
.rv-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.rv-card { flex: 0 0 min(360px, 86%); scroll-snap-align: start; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.rv-head { display: flex; align-items: center; gap: 12px; }
.rv-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--gold-ink); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; flex: none; }
.rv-card figcaption { font-weight: 700; line-height: 1.2; }
.rv-src { font-size: .82rem; color: var(--muted); }
.rv-card blockquote { margin: 0; font-size: 1.02rem; }
.rv-text p { margin: 0 0 .7em; }
.rv-text p:last-child { margin: 0; }
.rv-text.clamped { max-height: 9.9em; overflow: hidden; -webkit-mask: linear-gradient(#000 65%, transparent); mask: linear-gradient(#000 65%, transparent); }
.rv-toggle { align-self: flex-start; margin-top: auto; border: 0; background: none; padding: 4px 0; font: inherit; font-weight: 700; font-size: .95rem; color: var(--gold-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.stars { color: #e3a008; display: flex; gap: 1px; }
.rv-more { align-items: center; justify-content: center; text-align: center; background: var(--tint); border-color: transparent; }
.rv-more img { width: 104px; border-radius: 14px; box-shadow: var(--shadow); }
.rv-more p { margin: 0; font-weight: 600; }
.rv-all { margin: 8px 0 0; }
.rv-all a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.rv-all a:hover { text-decoration: underline; }
@media (max-width: 599px) { .rv-nav { display: none; } }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 88px) 0; }
.cta-inner { display: grid; grid-template-columns: 1.2fr auto; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d8d2c8; max-width: 56ch; }
@media (max-width: 899px) { .cta-inner { grid-template-columns: 1fr; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-grid .map { height: 100%; min-height: 380px; }
.info-list { list-style: none; padding: 0; margin: 0 0 28px; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list svg { width: 22px; height: 22px; color: var(--gold-ink); margin-top: 3px; }
.info-list a { font-weight: 700; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }

/* Map */
.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; background: linear-gradient(135deg, var(--tint), var(--sky)); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px; gap: 8px; }
.map-cover p svg { width: 34px; height: 34px; display: block; margin: 0 auto 10px; color: var(--gold-ink); }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.map.loaded .map-cover { display: none; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.person-photo { aspect-ratio: 4 / 4; background: var(--tint); display: grid; place-items: center; color: var(--gold-ink); font-weight: 700; text-align: center; padding: 20px; }
.person-photo:has(img) { padding: 0; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-body { padding: 22px 24px 26px; }
.person-body p { color: var(--muted); margin: 0; }
.role { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px !important; }

/* Footer */
.site-footer { background: #111; color: #cfc9bf; padding: 72px 0 28px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.f-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.f-doc { color: #e3cfa9; }
.f-list, .f-links { list-style: none; padding: 0; margin: 0; }
.f-list li { display: flex; gap: 12px; margin-bottom: 14px; }
.f-list svg { color: #e3cfa9; margin-top: 4px; }
.f-links li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-social { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 16px; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #2c2c2c; margin-top: 48px; padding-top: 22px; font-size: .88rem; color: #8f897f; }
.f-bottom p { margin: 0; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .footer-grid { grid-template-columns: 1fr; } }

/* Quick contact bar: bottom bar on phones, floating stack on desktop */
.quickbar a { text-decoration: none; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.qb-call { background: var(--ink); }
.qb-wa { background: var(--wa); }
.qb-viber { background: var(--viber); }
@media (max-width: 759px) {
  .quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom); background: var(--ink); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.4); }
  .quickbar a { min-height: 60px; font-size: .95rem; }
  .quickbar svg { width: 22px; height: 22px; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}
@media (min-width: 760px) {
  .quickbar { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
  .quickbar a { width: 56px; height: 56px; border-radius: 999px; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); overflow: hidden; justify-content: flex-start; padding: 0 16px; transition: width .2s ease; }
  .quickbar a span { opacity: 0; transition: opacity .15s; white-space: nowrap; }
  .quickbar a:hover, .quickbar a:focus-visible { width: 150px; }
  .quickbar a:hover span, .quickbar a:focus-visible span { opacity: 1; }
  .quickbar svg { width: 24px; height: 24px; }
}

/* Utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-l { margin-top: 40px; }
.notice { background: var(--sky); border-radius: var(--radius-sm); padding: 18px 22px; font-size: .97rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } * { transition: none !important; } }

/* =================== v4: v1 design + card scrolling and arrivals =================== */
html { scroll-behavior: auto; }
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-expo: cubic-bezier(.16, 1, .3, 1); --card-r: 28px; }

/* Every section is a card that slides over the previous one */
main > section { position: relative; background: var(--paper); border-radius: var(--card-r) var(--card-r) 0 0; box-shadow: 0 -18px 40px -28px rgba(40, 30, 15, .35); }
main > section:first-child { border-radius: 0; box-shadow: none; }
main > section.alt, main > section.reviews.alt { background: var(--surface); }
main > section.tint { background: var(--tint); }
main > section.sky { background: var(--sky); }
main > section::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #1a140c; opacity: calc(var(--cover, 0) * .28); pointer-events: none; }
html.js main > section { position: sticky; top: calc(var(--header-h) + var(--stick, 0px)); }
.site-footer { position: relative; z-index: 2; border-radius: var(--card-r) var(--card-r) 0 0; }
.cta-band { border-radius: var(--card-r) var(--card-r) 0 0; }

/* Homepage hero: the clinic photo fills the screen, text on the calm left side */
.hero-bg { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250, 248, 245, .97) 0%, rgba(250, 248, 245, .93) 34%, rgba(250, 248, 245, .55) 52%, rgba(250, 248, 245, 0) 70%); }
.hero-inner { position: relative; z-index: 1; }
.hero-bg .hero-text { max-width: 600px; }
.hero-bg .hero-badge { left: auto; right: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 48px); z-index: 1; }
@media (max-width: 899px) {
  .hero-bg { align-items: flex-end; padding-top: 42vh; }
  .hero-photo img { object-position: 60% 30%; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(250, 248, 245, 0) 0%, rgba(250, 248, 245, .15) 22%, rgba(250, 248, 245, .92) 42%, rgba(250, 248, 245, .98) 100%); }
  .hero-bg .hero-badge { position: absolute; top: 16px; bottom: auto; left: 16px; right: 16px; }
}

/* Arrivals: headings rise from a mask, pictures open, rows come in one by one.
   Content stays visible without JavaScript and with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-pop] { opacity: 0; transform: translateY(26px); }
  html.js [data-pop].in { opacity: 1; transform: none; transition: opacity 650ms var(--ease-out) calc(var(--i, 0) * 80ms), transform 900ms var(--ease-expo) calc(var(--i, 0) * 80ms); }
  html.js [data-pop="rise"] { opacity: 1; transform: none; overflow: clip; padding-bottom: .1em; }
  html.js [data-pop="rise"] > .ri { display: block; transform: translateY(108%); }
  html.js [data-pop="rise"].in > .ri { transform: none; transition: transform 1000ms var(--ease-expo) calc(var(--i, 0) * 80ms); }
  html.js [data-pop="open"] { opacity: 1; transform: none; clip-path: inset(10% 8% 10% 8% round 32px); }
  html.js [data-pop="open"] img { transform: scale(1.1); }
  html.js [data-pop="open"].in { clip-path: inset(0 0 0 0 round 0); transition: clip-path 1100ms var(--ease-expo) calc(var(--i, 0) * 80ms); }
  html.js [data-pop="open"].in img { transform: none; transition: transform 1400ms var(--ease-expo) calc(var(--i, 0) * 80ms); }
}

/* Language switcher: BS · DE · EN, always visible next to the logo */
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--tint); margin-left: auto; margin-right: 8px; }
.lang a { min-width: 38px; min-height: 34px; display: grid; place-items: center; padding: 0 8px; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--muted); transition: background-color .18s ease, color .18s ease; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--ink); color: #fff; }
@media (min-width: 1000px) { .lang { order: 3; margin: 0 0 0 4px; } .header-inner .nav { margin-left: auto; } }
.rv-note { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
