/* German Dental Clinic, public site. Tokens follow the clinic itself: white marble,
   walnut slats, and the emblem's black / red / gold. */
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-latin-opsz-normal.woff2') format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-latin-opsz-italic.woff2') format('woff2'); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plex Arabic'; src: url('/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2'); font-weight: 600 800; font-display: swap; }

:root {
  /* Logo colours: ink #1f1f1f, gold #f9cf12, red #ee2224. */
  --bg: #fbfaf7;
  --paper: #ffffff;
  --sand: #f5f1ea;
  --ink: #161514;
  --ink-2: #34312d;
  --ink-soft: #24221f;
  --muted: #6b645b;
  --line: #e7e2da;
  --line-2: #d6cfc4;
  --walnut: #5a3b28;
  --walnut-soft: #efe6dc;
  --gold: #f9cf12;
  --gold-deep: #e6b800;
  --gold-soft: #fff6cf;
  --gold-ink: #7f6200;
  --red: #e3202a;
  --red-soft: #fde8e8;
  --flag: linear-gradient(90deg, #1f1f1f 0 33.33%, #ee2224 33.33% 66.66%, #f9cf12 66.66%);
  --ok: #2f6b4f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(23, 20, 15, .04), 0 12px 32px -18px rgba(23, 20, 15, .18);
  --wrap: 1200px;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
[dir='rtl'] { --font-body: 'Plex Arabic', 'Segoe UI', Tahoma, sans-serif; --font-display: 'Plex Arabic', 'Segoe UI', Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
[dir='rtl'] body { font-size: 17.5px; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.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; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; font-optical-sizing: auto; }
[dir='rtl'] :is(h1, h2, h3, h4) { font-weight: 600; letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
[dir='rtl'] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: linear-gradient(90deg, var(--ink) 0 33%, var(--red) 33% 66%, var(--gold) 66%); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Buttons: outlined pills, the primary one filled. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 600 .97rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--ink); color: #fff; }
.btn--fill { background: var(--ink); color: #fff; }
.btn--fill:hover { background: var(--walnut); border-color: var(--walnut); }
.btn--light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* Header */

/* Hero */
.hero { padding: 36px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--walnut); }
[dir='rtl'] .hero h1 em { font-style: normal; }
.hero .lead { margin: 18px 0 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.hero-meta b { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
[dir='rtl'] .hero-meta b { letter-spacing: 0; font-size: .85rem; }
.hero-media { position: relative; }
.hero-media .frame { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--sand); }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-card { position: absolute; inset-inline-start: -28px; bottom: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px 14px 14px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); max-width: 300px; }
.hero-card img { width: 58px; height: 58px; object-fit: cover; object-position: top; border-radius: 50%; background: var(--sand); }
.hero-card b { display: block; font-size: .98rem; }
.hero-card span { font-size: .84rem; color: var(--muted); line-height: 1.4; display: block; }
.rating { position: absolute; inset-inline-end: -18px; top: 30px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 14px 18px; text-align: center; box-shadow: var(--shadow); text-decoration: none; }
.rating strong { display: block; font: 500 1.9rem/1 var(--font-display); }
.rating .stars { color: var(--gold); letter-spacing: 2px; font-size: .9rem; }
.rating span { font-size: .76rem; opacity: .8; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #f4efe8; }
.section--ink .eyebrow, .section--ink .muted { color: #b9ad9f; }
.section--ink .eyebrow::before { background: linear-gradient(90deg, #fff 0 33%, var(--red) 33% 66%, var(--gold) 66%); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; max-width: 20ch; }
.sec-head p { max-width: 46ch; margin: 0; color: var(--muted); }

/* Cards that fill with colour on hover */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color .3s, color .35s var(--ease), transform .35s var(--ease); }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); }
a.card:hover { color: #f4efe8; border-color: var(--ink); }
a.card:hover::before { transform: none; }
a.card:hover .card-n, a.card:hover p, a.card:hover .card-more { color: #cfc4b6; }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); margin: 0 0 18px; font-size: .96rem; transition: color .35s; }
.card-n { font-size: .8rem; color: var(--muted); letter-spacing: .1em; font-weight: 600; transition: color .35s; }
.card-more { margin-top: auto; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; transition: color .35s; }
.card-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
a.card:hover .card-more svg { transform: translateX(4px); }
[dir='rtl'] .card-more svg { transform: scaleX(-1); }
[dir='rtl'] a.card:hover .card-more svg { transform: scaleX(-1) translateX(4px); }
.card-list { list-style: none; margin: 0 0 20px; padding: 0; font-size: .92rem; color: var(--ink-2); transition: color .35s; }
.card-list li { padding: 6px 0; border-top: 1px solid var(--line); transition: border-color .35s; }
a.card:hover .card-list { color: #e9e1d6; }
a.card:hover .card-list li { border-color: rgba(255, 255, 255, .14); }
.icon-dot { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: border-color .35s, background .35s; }
.icon-dot svg { width: 22px; height: 22px; }
a.card:hover .icon-dot { border-color: rgba(255, 255, 255, .3); }

.pcard { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.pcard:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.pcard .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .ph img { transform: scale(1.04); }
.pcard .bd { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; transition: background-color .3s var(--ease); }
.pcard:hover .bd { background: var(--gold); }
.articles-lead { max-width: 72ch; color: var(--ink-2); }
.more-topics { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.more-topics h3 { font-size: 1.1rem; margin-bottom: 14px; }
/* One line of links, scrolled with the arrow buttons (or swiped). */
.scroller { display: flex; align-items: center; gap: 12px; }
.scroller-track { flex: 1; min-width: 0; display: flex; gap: 10px; list-style: none; margin: 0; padding: 4px 0; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.scroller-track::-webkit-scrollbar { display: none; }
.scroller-track li { flex: none; }
.scroller-track a { white-space: nowrap; }
.scroller-btn { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: var(--shadow); transition: background .25s, border-color .25s, opacity .25s, transform .25s var(--ease); }
.scroller-btn[hidden] { display: none; }
.scroller-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); transform: translateY(-1px); }
.scroller-btn:disabled { opacity: .35; cursor: default; box-shadow: none; }
.scroller-btn svg { width: 20px; height: 20px; }
.scroller-btn[data-prev] svg { rotate: 90deg; }
.scroller-btn[data-next] svg { rotate: -90deg; }
[dir='rtl'] .scroller-btn[data-prev] svg { rotate: -90deg; }
[dir='rtl'] .scroller-btn[data-next] svg { rotate: 90deg; }
@media (max-width: 560px) { .scroller-btn { width: 40px; height: 40px; } }
.more-topics a { display: inline-flex; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; transition: background .25s, border-color .25s; }
.more-topics a:hover { background: var(--gold); border-color: var(--gold); }
.pcard:hover .bd :is(h3, p, .card-n) { color: var(--ink); }
.pcard:hover .card-btn { background: var(--ink); color: #fff; }
.pcard .bd :is(h3, p, .card-n) { transition: color .3s; }
.pcard h3 { font-size: 1.22rem; margin-bottom: 6px; }
.pcard p { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split .ph { border-radius: 26px; overflow: hidden; background: var(--sand); }
.split .ph img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; border: 1.5px solid var(--walnut); background: radial-gradient(circle, var(--walnut) 0 3px, transparent 3.5px); }

.photo-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.photo-strip figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.photo-strip figure:first-child { grid-row: span 2; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }

/* Tech chips */
.tech { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); }
.tech a { padding: 28px 22px 26px 0; border-inline-end: 1px solid rgba(255, 255, 255, .14); text-decoration: none; transition: background .3s; }
.tech a:last-child { border-inline-end: 0; }
.tech a:not(:first-child) { padding-inline-start: 22px; }
.tech a:hover h3 { color: var(--gold); }
.tech h3 { font-size: 1.2rem; transition: color .3s; }
.tech p { color: #b9ad9f; font-size: .93rem; margin: 0; }

/* Before / after */
.ba { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1230 / 806; background: var(--sand); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
[dir='rtl'] .ba .after { clip-path: inset(0 var(--pos, 50%) 0 0); }
.ba .handle { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--pos, 50%); width: 2px; background: #fff; translate: -1px 0; pointer-events: none; }
.ba .handle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .25); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .tag { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(23, 20, 15, .72); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.ba .tag.b { inset-inline-start: 14px; }
.ba .tag.a { inset-inline-end: 14px; }
.case h3 { font-size: 1.1rem; margin: 14px 0 2px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.review .stars { color: var(--gold); letter-spacing: 3px; }
.review blockquote { margin: 12px 0 18px; font-size: .98rem; color: var(--ink-2); }
.review footer { margin-top: auto; font-size: .88rem; color: var(--muted); }
.review footer b { color: var(--ink); font-weight: 600; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 1.06rem; }
[dir='rtl'] .faq summary { padding: 22px 0 22px 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; inset-inline-end: 6px; top: 50%; width: 14px; height: 14px; translate: 0 -50%; background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 22px; color: var(--ink-2); max-width: 74ch; }

/* Page hero + breadcrumbs */
.crumbs { font-size: .86rem; color: var(--muted); margin: 0 0 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: '/'; margin-inline-end: 6px; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero { padding: 34px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero .grid-ph { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.page-hero .ph { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.page-hero .ph img { width: 100%; height: 100%; object-fit: cover; }

/* Article / treatment body */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding: 56px 0 24px; }
.prose { font-size: 1.04rem; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); color: var(--ink); margin: 1.8em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--ink); margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-inline-start: 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--walnut); }
.prose a { color: var(--walnut); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.4em 0; padding: 4px 22px; border-inline-start: 2px solid var(--gold); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.4em 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: start; }
.aside { position: sticky; top: 100px; align-self: start; display: grid; gap: 16px; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.box h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 12px; }
.box dl { margin: 0; display: grid; gap: 10px; }
.box dt { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
[dir='rtl'] .box dt { letter-spacing: 0; font-size: .85rem; }
.box dd { margin: 0; font-size: .95rem; }
.box--ink { background: var(--ink); color: #f4efe8; border-color: var(--ink); }
.box--ink p { color: #cfc4b6; font-size: .94rem; }
.box--ink .btn { border-color: #fff; color: #fff; width: 100%; }
.box--ink .btn--fill { background: #fff; color: var(--ink); }
.box--ink .btn + .btn { margin-top: 10px; }
.links { list-style: none; padding: 0; margin: 0; }
.links li { border-top: 1px solid var(--line); }
.links li:first-child { border-top: 0; }
.links a { display: block; padding: 9px 0; text-decoration: none; font-size: .95rem; }
.links a:hover { text-decoration: underline; }
.links a[aria-current='page'] { font-weight: 700; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 500 1.6rem/1 var(--font-display); color: var(--walnut); margin-bottom: 12px; }
.steps b { display: block; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: .94rem; }
.note { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; text-decoration: none; background: var(--paper); }
.chip:hover { border-color: var(--ink); }

/* Map: static street map by default, Google iframe on request */
.map { position: relative; border-radius: var(--radius); overflow: hidden; background: #ece8e0; min-height: 380px; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-static { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; translate: -50% -100%; display: grid; place-items: center; }
.map-pin::before { content: ''; position: absolute; inset: 0; background: var(--red); border: 3px solid #fff; border-radius: 50% 50% 50% 0; rotate: -45deg; box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .45); }
.map-pin::after { content: ''; position: absolute; left: 50%; bottom: -10px; width: 18px; height: 18px; translate: -50% 50%; border-radius: 50%; background: rgba(227, 32, 42, .35); animation: map-ping 2.2s ease-out infinite; z-index: -1; }
.map-pin svg { position: relative; width: 20px; height: 20px; color: #fff; }
@keyframes map-ping { from { scale: .6; opacity: 1; } to { scale: 3.2; opacity: 0; } }
.map-label { position: absolute; top: 16px; inset-inline-start: 16px; max-width: calc(100% - 32px); display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: #fff; border-radius: 14px; box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .4); font-size: .8rem; color: var(--muted); }
.map-label b { font-size: .92rem; color: var(--ink); }
.map-actions { position: absolute; inset-inline: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; padding: 48px 16px 16px; background: linear-gradient(180deg, rgba(14, 13, 12, 0), rgba(14, 13, 12, .55)); }
.map-live { background: #fff; border-color: #fff; }
.map-live:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.map-credit { position: absolute; bottom: 4px; inset-inline-end: 6px; z-index: 1; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .8); font-size: .64rem; color: var(--ink-2); text-decoration: none; }
.map-note { margin: 10px 2px 0; font-size: .78rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .map-pin::after { animation: none; opacity: 0; } }
.info-list { display: grid; gap: 18px; margin: 0; }
.info-list dt { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
[dir='rtl'] .info-list dt { letter-spacing: 0; font-size: .86rem; }
.info-list dd { margin: 4px 0 0; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: end; }
.hours tr.today td { font-weight: 700; }
[dir='rtl'] .hours td, [dir='rtl'] .ltr { direction: ltr; unicode-bidi: isolate; }
[dir='rtl'] .hours td:first-child { direction: rtl; }

/* Forms */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .legend { font-weight: 600; font-size: .93rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent); }
.field .err, .err-msg { color: var(--red); font-size: .86rem; }
.field.has-err input, .field.has-err select { border-color: var(--red); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; margin-bottom: 12px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex: none; }
/* Honeypot: visually hidden without offsetting it (a far negative offset scrolls RTL pages sideways). */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.alert { padding: 14px 18px; border-radius: 12px; border: 1px solid; margin-bottom: 20px; font-size: .95rem; }
.alert--err { border-color: color-mix(in srgb, var(--red) 40%, transparent); background: color-mix(in srgb, var(--red) 6%, #fff); }
.alert--ok { border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 7%, #fff); }
.stepper { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.stepper span { font-size: .84rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.stepper span b { color: var(--ink); margin-inline-end: 6px; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { padding: 0; margin-bottom: 14px; font-family: var(--font-display); font-size: 1.3rem; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { flex: none; scroll-snap-align: start; width: 74px; padding: 10px 4px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper); text-align: center; cursor: pointer; font: inherit; color: var(--ink); line-height: 1.25; }
.day small { display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.day b { display: block; font-size: 1.3rem; font-family: var(--font-display); font-weight: 500; }
.day[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.day[aria-pressed='true'] small { color: #cfc4b6; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 14px; }
.slot { padding: 10px 0; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); font: 600 .95rem/1 var(--font-body); cursor: pointer; color: var(--ink); }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }

/* CTA band */
.cta-band { border-radius: 30px; background: var(--ink); color: #f4efe8; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; inset-inline-end: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(232, 185, 35, .35); }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: #cfc4b6; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }

/* Footer */
.site-foot { background: #11100d; color: #cfc4b6; padding: 72px 0 28px; margin-top: 96px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-foot .fh { color: #fff; font: 700 .78rem/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
[dir='rtl'] .site-foot .fh { letter-spacing: 0; font-size: .9rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; color: #cfc4b6; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; color: #fff; }
.foot-brand img { width: 34px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: #9b8f81; }

/* Floating WhatsApp */
/* Floating WhatsApp: round, widening into a labelled pill on hover or keyboard focus */
.wa { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; height: 56px; min-width: 56px; padding: 0 14px; border-radius: 999px; background: #25d366; color: #fff; display: inline-flex; align-items: center; gap: 0; text-decoration: none; box-shadow: 0 12px 28px -10px rgba(18, 140, 70, .65); transition: gap .3s var(--ease), padding .3s var(--ease), background .3s; }
.wa svg { width: 28px; height: 28px; flex: none; }
.wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .95rem; opacity: 0; transition: max-width .35s var(--ease), opacity .25s; }
.wa:hover, .wa:focus-visible { background: #1ebe5b; gap: 10px; padding: 0 20px 0 14px; }
[dir='rtl'] .wa:hover, [dir='rtl'] .wa:focus-visible { padding: 0 14px 0 20px; }
.wa:hover .wa-label, .wa:focus-visible .wa-label { max-width: 240px; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .wa, .wa-label { transition: none; } }

/* Reveal on scroll (only when JS marks the page) */
.motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion [data-reveal].in { opacity: 1; transform: none; }
.motion [data-reveal-group] > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.motion [data-reveal-group].in > * { opacity: 1; transform: none; }
.motion [data-reveal-group].in > *:nth-child(2) { transition-delay: .07s; }
.motion [data-reveal-group].in > *:nth-child(3) { transition-delay: .14s; }
.motion [data-reveal-group].in > *:nth-child(4) { transition-delay: .21s; }
.motion [data-reveal-group].in > *:nth-child(5) { transition-delay: .28s; }
.motion [data-reveal-group].in > *:nth-child(6) { transition-delay: .35s; }
.motion [data-reveal-group].in > *:nth-child(n+7) { transition-delay: .42s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion [data-reveal], .motion [data-reveal-group] > * { opacity: 1; transform: none; transition: none; }
  .card::before, .pcard .ph img { transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tech { grid-template-columns: repeat(2, 1fr); }
  .tech a { padding-inline: 0 18px !important; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .booking-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .split, .page-hero .grid-ph, .cta-band { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .hero { padding-top: 18px; }
  .hero-media .frame { aspect-ratio: 4 / 3.3; }
  .hero-card { inset-inline-start: 12px; bottom: 12px; }
  .rating { inset-inline-end: 12px; top: 12px; }
  .grid-3, .reviews, .grid-2 { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; }
  .photo-strip figure:first-child { grid-column: span 2; grid-row: auto; }
  .cta-band .btn-row { justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4, .tech { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
}
@media print {
  .site-head, .site-foot, .wa, .cta-band, .aside { display: none !important; }
  body { background: #fff; }
}

/* Utilities */
.mt { margin-top: 14px; }
.mt-l { margin-top: 32px; }
.center { text-align: center; }
.err-logo { margin: 0 auto; }
.err-lead, .ok-lead { margin-inline: auto; }
.err-actions, .ok-actions { justify-content: center; }
.ok-dot { margin: 0 auto; border-color: var(--ok); color: var(--ok); }
.case, figure.pcard { margin: 0; }
.hero-card { text-decoration: none; color: inherit; }
.site-foot { margin-top: 0; }
.site-foot .hours td { border-bottom-color: rgba(255, 255, 255, .1); }
.site-foot .hours tr.today td { color: #fff; }
html, body { overflow-x: clip; }

/* ===== Brand colour layer: the logo's black, red and gold carried through the site ===== */
.site-foot { position: relative; }
.site-foot::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--flag); }

/* Buttons */
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Hero over the reception photo (the old site's hero background, enhanced) */
.hero--photo { position: relative; padding: 0; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero--photo .hero-bg { position: absolute; inset: 0 0 0 30%; z-index: -2; }
.hero--photo .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 45%; }
.hero--photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, var(--ink) 0 30%, rgba(22, 21, 20, .88) 40%, rgba(22, 21, 20, .35) 62%, rgba(22, 21, 20, 0) 80%),
  linear-gradient(0deg, rgba(22, 21, 20, .55), rgba(22, 21, 20, 0) 35%); }
[dir='rtl'] .hero--photo .hero-bg { inset: 0 30% 0 0; }
[dir='rtl'] .hero--photo::before { background:
  linear-gradient(270deg, var(--ink) 0 30%, rgba(22, 21, 20, .88) 40%, rgba(22, 21, 20, .35) 62%, rgba(22, 21, 20, 0) 80%),
  linear-gradient(0deg, rgba(22, 21, 20, .55), rgba(22, 21, 20, 0) 35%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 600px) 1fr; gap: 40px; align-items: end; min-height: min(78vh, 720px); padding: 88px 0 56px; }
.hero--photo h1 { color: #fff; }
.hero--photo h1 em { color: var(--gold); }
.hero--photo .eyebrow { color: var(--gold); }
.hero--photo .lead { color: #e7e2da; }
.hero--photo .hero-meta { border-top-color: rgba(255, 255, 255, .18); color: #f1ece4; }
.hero--photo .hero-meta b { color: var(--gold); }
.hero--photo .status { color: #f1ece4; }
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.hero-side .rating { position: static; background: var(--gold); color: var(--ink); display: flex; flex-direction: column; align-items: center; padding: 14px 22px; }
.hero-side .rating .stars { color: var(--ink); }
.hero-side .rating span { opacity: .85; }
.hero-side .hero-card { position: static; background: rgba(255, 255, 255, .96); color: var(--ink); }

/* Specialties ribbon in gold */
.ribbon { background: var(--gold); color: var(--ink); overflow: hidden; border-bottom: 1px solid var(--gold-deep); }
.ribbon-track { display: flex; width: max-content; animation: ribbon 38s linear infinite; }
.ribbon span { padding: 15px 26px; font-weight: 700; font-size: .95rem; letter-spacing: .02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 26px; }
.ribbon span::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
@keyframes ribbon { to { transform: translateX(-50%); } }
[dir='rtl'] .ribbon-track { animation-name: ribbon-rtl; }
@keyframes ribbon-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon-track { animation: none; } }

/* Eyebrows and accents */
.eyebrow { color: #b8141d; }
.section--ink .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.eyebrow::before { background: var(--flag); width: 26px; height: 3px; }

/* Cards: gold icon discs, ink fill with gold title on hover */
.icon-dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }
a.card:hover .icon-dot { background: var(--gold); border-color: var(--gold); }
.card { border-top: 3px solid transparent; }
a.card:hover { border-top-color: var(--gold); }
a.card:hover h3 { color: var(--gold); }
.card-more { color: #b8141d; }
a.card:hover .card-more { color: var(--gold); }
.card-list li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-inline-end: 10px; vertical-align: middle; }
.pcard .bd .card-more { color: #b8141d; }
.pcard:hover { border-color: var(--gold); }
.ticks li::before { border: 0; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161514' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; width: 20px; height: 20px; margin-top: 3px; }

/* Dark sections */
.section--ink { background: radial-gradient(900px 420px at 92% -10%, rgba(249, 207, 18, .16), transparent 60%), radial-gradient(700px 360px at -5% 110%, rgba(238, 34, 36, .12), transparent 60%), var(--ink); }
.section--ink h2, .section--ink h3 { color: #fff; }
.tech a h3::before { content: ''; display: block; width: 28px; height: 3px; background: var(--gold); margin-bottom: 14px; border-radius: 2px; }
.section--ink .btn { border-color: rgba(255, 255, 255, .6); color: #fff; }
.section--ink .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.section--ink .case h3 { color: #fff; }
.section--ink .case a { color: var(--gold); }
.ba .tag.a { background: var(--gold); color: var(--ink); }
.ba .handle { background: var(--gold); }
.ba .handle::after { background: var(--gold); }

/* Reviews */
.review { border-top: 3px solid var(--gold); }
.review blockquote::before { content: '\201C'; display: block; font: 600 2.6rem/1 var(--font-display); color: var(--red); margin-bottom: 4px; }
.review { transition: background-color .3s var(--ease), border-color .3s, transform .3s var(--ease); }
.review :is(.stars, blockquote, footer, footer b) { transition: color .3s; }
/* Gold fill on hover: the stars switch to ink so they stay visible on the gold. */
.review:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.review:hover :is(.stars, blockquote, footer b) { color: var(--ink); }
.review:hover footer { color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .review:hover { transform: none; } }
/* Reviews marquee: one row looping continuously, paused on hover or focus. */
.marquee { display: grid; gap: 18px; overflow: hidden; padding-block: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-row { overflow: hidden; direction: ltr; padding-top: 4px; }
.marquee-track { display: flex; width: max-content; animation: marquee 240s linear infinite; }
.marquee-set { display: flex; align-items: stretch; gap: 18px; padding-inline-end: 18px; }
.marquee .review { flex: none; width: 340px; }
[dir='rtl'] .marquee .review { direction: rtl; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .marquee .review { width: 280px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee-row { overflow-x: auto; scroll-snap-type: x mandatory; }
  .marquee-set[aria-hidden] { display: none; }
  .marquee .review { scroll-snap-align: start; }
}

/* FAQ toggles */
.faq summary::after { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 11px no-repeat, var(--gold); }
.faq details[open] summary { color: var(--red); }
/* Home FAQ over a clinic photo: dark wash for the heading, the answers sit on a light panel. */
.faq-band { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); scroll-margin-top: -32px; }
.faq-band-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.faq-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 13, 12, .78) 0%, rgba(14, 13, 12, .55) 45%, rgba(14, 13, 12, .78) 100%); }
.faq-band h2 { color: #fff; }
.faq-band .eyebrow { color: var(--gold); }
.faq-band .eyebrow::before { background: linear-gradient(90deg, #fff 0 33%, var(--red) 33% 66%, var(--gold) 66%); }
/* Each question is its own cream card with a chevron. */
.faq-panel { border-top: 0; display: grid; gap: 10px; }
.faq-panel details { border: 0; border-radius: 10px; background: #f5ede0; box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .7); transition: background .2s; }
.faq-panel details:hover, .faq-panel details[open] { background: #fbf6ee; }
.faq-panel summary { padding: 17px 56px 17px 22px; font: 600 1.02rem/1.35 var(--font-display); color: var(--ink); }
[dir='rtl'] .faq-panel summary { padding: 17px 22px 17px 56px; }
.faq-panel summary::after { inset-inline-end: 24px; width: 9px; height: 9px; border-radius: 0; background: none; border: solid var(--ink); border-width: 0 2px 2px 0; translate: 0 -70%; transform: rotate(45deg); }
.faq-panel details[open] summary::after { translate: 0 -30%; transform: rotate(-135deg); }
.faq-panel details[open] summary { color: var(--ink); }
.faq-panel .ans { padding: 0 22px 20px; max-width: none; color: var(--ink); font-weight: 600; }
.faq-panel summary { font-size: 1.08rem; }
.faq-panel .ans > :last-child { margin-bottom: 0; }
/* Home access section over a Rabat tram photo. */
.access-band { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #f4efe8; }
.band-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.access-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 13, 12, .9) 0%, rgba(14, 13, 12, .74) 50%, rgba(14, 13, 12, .55) 100%); }
[dir='rtl'] .access-band::before { background: linear-gradient(270deg, rgba(14, 13, 12, .9) 0%, rgba(14, 13, 12, .74) 50%, rgba(14, 13, 12, .55) 100%); }
.access-band h2 { color: #fff; }
.access-band .lead { color: rgba(244, 239, 232, .82); }
.access-band .eyebrow { color: var(--gold); }
.access-band .eyebrow::before { background: linear-gradient(90deg, #fff 0 33%, var(--red) 33% 66%, var(--gold) 66%); }
.access-band .map { border-color: rgba(255, 255, 255, .18); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
/* The map column takes the full height of the text column, so both end on the same line. */
.access.split { align-items: stretch; }
.access > :last-child { display: flex; flex-direction: column; position: relative; }
.access .map-note { position: absolute; top: 100%; inset-inline: 0; }
.access .map { flex: 1; min-height: 420px; }
.access-band .map-note { color: rgba(244, 239, 232, .62); }
.access-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.access-tiles a { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; text-decoration: none; transition: background .25s, border-color .25s; }
.access-tiles a:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold); }
.access-tiles a > svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--gold); }
.access-tiles a > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.access-tiles small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 239, 232, .6); font-weight: 600; }
[dir='rtl'] .access-tiles small { letter-spacing: 0; }
.access-tiles b { font-weight: 600; font-size: .93rem; line-height: 1.35; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.access-tiles em { font-style: normal; font-size: .8rem; color: rgba(244, 239, 232, .7); }
.access-tiles .status { gap: 0; }
.access-tiles .status i { background: #b9b1a6; }
.access-tiles .status.is-open i { background: #3ccf7f; box-shadow: 0 0 0 3px rgba(60, 207, 127, .25); }
@media (max-width: 560px) { .access-tiles { grid-template-columns: 1fr; } }

/* Inner page headers on ink */
.page-hero { background: radial-gradient(800px 380px at 100% 0%, rgba(249, 207, 18, .14), transparent 60%), var(--ink); color: #e7e2da; border-bottom: 0; position: relative; }
.page-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: var(--flag); }
.page-hero h1 { color: #fff; }
.page-hero .lead, .page-hero .lead p { color: #e7e2da; }
.page-hero .muted, .page-hero .small { color: #c9c1b5; }
.page-hero .crumbs, .page-hero .crumbs a { color: #bdb3a6; }
.page-hero .crumbs li + li::before { color: #6b645b; }
.page-hero .crumbs [aria-current] { color: var(--gold); }
/* Page hero over a (pre-blurred) photo; the wash keeps the text on ink contrast. */
.page-hero--photo { overflow: hidden; isolation: isolate; }
.page-hero--photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 13, 12, .9) 0%, rgba(14, 13, 12, .72) 55%, rgba(14, 13, 12, .5) 100%); }
[dir='rtl'] .page-hero--photo::before { background: linear-gradient(270deg, rgba(14, 13, 12, .9) 0%, rgba(14, 13, 12, .72) 55%, rgba(14, 13, 12, .5) 100%); }
/* The portrait is a tall cut-out: a portrait frame anchored at the top keeps the face. */
.page-hero .ph--portrait { aspect-ratio: 4 / 5; width: min(100%, 420px); justify-self: center; background: #efe9e1; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.page-hero .ph--portrait img { object-position: 50% 0; padding-top: 6%; }
/* Advice search */
.search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 640px; margin-top: 28px; padding: 6px; background: #fff; border-radius: 999px; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .7); }
.search > svg { flex: none; width: 20px; height: 20px; margin-inline-start: 14px; color: var(--muted); }
.search input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; font: 500 1rem var(--font-body); color: var(--ink); outline: none; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 55%, transparent), 0 20px 50px -24px rgba(0, 0, 0, .7); }
.page-hero .search .btn { min-height: 46px; flex: none; color: var(--ink); }
.page-hero .search .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-hero--search .band-bg { object-position: 50% 35%; }
.search-status { margin: 0 0 22px; color: var(--muted); }
.search-status:empty { display: none; }
.search-status a { color: var(--ink); font-weight: 600; margin-inline-start: 8px; }
.search-empty { padding: 30px 0; text-align: center; color: var(--muted); font-size: 1.05rem; }
.search-item[hidden] { display: none; }
.search-item > .pcard { height: 100%; }
@media (max-width: 560px) { .search .btn { padding-inline: 16px; } }
.page-hero .btn { border-color: rgba(255, 255, 255, .6); color: #fff; }
.page-hero .btn:hover { background: #fff; color: var(--ink); }
.page-hero .btn--fill { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.page-hero .btn--fill:hover { background: #fff; border-color: #fff; }
.page-hero .chip { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.page-hero .chip:hover { border-color: var(--gold); color: var(--gold); }
.page-hero .ph { box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8); }

/* Article / treatment details */
.prose a { color: var(--gold-ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--red); }
.prose h2 { position: relative; padding-top: 14px; }
.prose h2::before { content: ''; position: absolute; top: 0; inset-inline-start: 0; width: 34px; height: 3px; background: var(--flag); border-radius: 2px; }
.prose blockquote { border-inline-start-color: var(--red); background: var(--gold-soft); padding: 14px 20px; border-radius: 0 12px 12px 0; }
.steps li::before { color: var(--red); }
.steps li { border-top: 3px solid var(--gold); }
.box--ink { background: radial-gradient(400px 200px at 100% 0%, rgba(249, 207, 18, .2), transparent 70%), var(--ink); }
.box--ink .btn--fill { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.box--ink .btn--fill:hover { background: #fff; border-color: #fff; }
.box h3 { border-bottom: 2px solid var(--gold); padding-bottom: 8px; display: inline-block; }
.box--ink h3 { border-bottom-color: var(--red); }
.links a[aria-current='page'] { color: var(--red); }
.chip:hover { border-color: var(--gold); background: var(--gold-soft); }

/* Booking */
.day[aria-pressed='true'], .slot[aria-pressed='true'] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.day[aria-pressed='true'] small { color: var(--ink-2); }
.slot:hover, .day:hover { border-color: var(--gold-deep); }
.stepper span b { color: var(--red); }
.form-card { border-top: 4px solid var(--gold); }
.form-card .btn--fill { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.form-card .btn--fill:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Gold call-to-action band */
.cta-band { background: linear-gradient(120deg, var(--gold) 0%, #ffd83a 55%, var(--gold-deep) 100%); color: var(--ink); }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--ink-2); }
.cta-band::after { border-color: rgba(22, 21, 20, .18); }
.cta-band .btn--light { border-color: var(--ink); color: var(--ink); }
.cta-band .btn--light:first-child { background: var(--ink); color: #fff; }
.cta-band .btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }


@media (max-width: 860px) {
  /* Phones: the photo is a clear band on top (logo and sign visible), fading into the text. */
  .hero--photo .hero-bg, [dir='rtl'] .hero--photo .hero-bg { inset: 0 0 auto; height: 340px; }
  .hero--photo .hero-bg img { object-position: 46% 42%; }
  .hero--photo::before, [dir='rtl'] .hero--photo::before { background: linear-gradient(180deg, rgba(22, 21, 20, .15) 0, rgba(22, 21, 20, 0) 140px, rgba(22, 21, 20, .7) 260px, var(--ink) 340px); }
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding: 250px 0 36px; gap: 26px; }
  .hero-side { flex-direction: row; align-items: stretch; justify-content: flex-start; gap: 10px; }
  .hero-side .rating { padding: 10px 14px; flex: none; }
  .hero-side .rating strong { font-size: 1.5rem; }
  .hero-side .hero-card { max-width: none; flex: 1; padding: 10px 14px 10px 10px; }
}
.box .box-title { font: 700 1.05rem/1.3 var(--font-body); margin: 0 0 12px; border-bottom: 2px solid var(--gold); padding-bottom: 8px; display: inline-block; }
.box--ink .box-title { color: #fff; border-bottom-color: var(--red); }

/* ===== Header and navigation ===== */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease); }
.site-head.scrolled { box-shadow: 0 10px 30px -22px rgba(22, 21, 20, .45); }
.head-in { display: flex; align-items: center; gap: 20px; height: 76px; transition: height .3s var(--ease); }
.site-head.scrolled .head-in { height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; color: var(--ink); }
.brand img { width: 32px; height: auto; transition: width .3s var(--ease); }
.site-head.scrolled .brand img { width: 28px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt b { font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: .14em; font-size: .84rem; text-transform: uppercase; }
.brand-txt span { font-size: .72rem; color: var(--muted); letter-spacing: .04em; margin-top: 4px; }
[dir='rtl'] .brand-txt span { font-family: 'Plex Arabic', sans-serif; letter-spacing: 0; font-size: .8rem; }

/* Links: an underline that grows from the centre, kept on the current page */
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font: 600 .93rem/1 var(--font-body); white-space: nowrap; color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 10px; transition: color .2s; }
.nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-link:hover, .nav-link[aria-current='page'], .nav-link[data-current], .dd[data-open] > .nav-link { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current='page']::after, .nav-link[data-current]::after, .dd[data-open] > .nav-link::after { transform: scaleX(1); }
.nav-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.dd[data-open] > .nav-link svg { transform: rotate(180deg); }

/* Specialties panel: full width under the bar */
.dd { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(22, 21, 20, .35); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; }
.dd[data-open] .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { display: grid; grid-template-columns: 1fr 260px; gap: 32px; padding: 22px 0 24px; }
.mega-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; }
.mega-cat-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .98rem; color: var(--ink); text-decoration: none; margin-bottom: 8px; }
.mega-cat-head:hover { color: var(--red); }
.mega-ico { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); display: inline-grid; place-items: center; }
.mega-ico svg { width: 17px; height: 17px; }
.mega ul { list-style: none; margin: 0; padding: 0 0 0 42px; }
[dir='rtl'] .mega ul { padding: 0 42px 0 0; }
.mega li a { display: block; padding: 3px 0; text-decoration: none; color: var(--muted); font-size: .9rem; transition: color .15s, transform .15s; }
.mega li a:hover { color: var(--ink); transform: translateX(3px); }
[dir='rtl'] .mega li a:hover { transform: translateX(-3px); }
.mega-feature { background: radial-gradient(300px 160px at 100% 0%, rgba(249, 207, 18, .22), transparent 70%), var(--ink); color: #e7e2da; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mega-kicker { margin: 0; display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 1.02rem; }
.mega-feature-text { margin: 0; font-size: .9rem; color: #cfc7bb; }
.mega-feature hr { width: 100%; border: 0; border-top: 1px solid rgba(255, 255, 255, .12); margin: 4px 0; }
.mega-more { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); text-decoration: none; font-weight: 600; font-size: .9rem; }
.mega-more:hover { color: #fff; }
.mega-more svg { width: 15px; height: 15px; }
[dir='rtl'] .mega-more svg, [dir='rtl'] .drawer-nav svg:last-child, [dir='rtl'] .drawer-all svg { transform: scaleX(-1); }
.dot-red { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(238, 34, 36, .25); display: inline-block; flex: none; }

/* Right side: call block, language, booking */
.head-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; }
.icon-btn svg { width: 18px; height: 18px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #b9b1a6; }
.status.is-open i { background: #2f9a62; box-shadow: 0 0 0 3px rgba(47, 154, 98, .2); }
.lang { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9rem; transition: border-color .2s, background .2s; }
.lang svg { width: 16px; height: 16px; color: var(--muted); }
.lang:hover { border-color: var(--ink); }
.lang-dd { position: relative; }
.lang-dd summary { cursor: pointer; list-style: none; }
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 180px; margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .3); }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.lang-menu a b { width: 24px; font-size: .75rem; letter-spacing: .06em; color: var(--muted); }
.lang-menu a:hover { background: var(--sand); }
.lang-menu a[aria-current] { font-weight: 700; }
.lang-menu a[aria-current] b { color: var(--ink); }
.drawer-langs { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; }
.drawer-langs a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 600; }
.drawer-langs a[aria-current] { border-color: var(--ink); background: var(--ink); color: #fff; }
.head-book { min-height: 42px; }
.head-book:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-btn { border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn:hover { border-color: var(--ink); }
.head-tel, .burger { display: none; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 79; background: rgba(22, 21, 20, .45); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; }
.drawer-backdrop.on { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 80; width: min(420px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .35); }
[dir='rtl'] .drawer { transform: translateX(-100%); }
.drawer[data-open] { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-status { margin: 0; padding: 12px 20px; font-size: .84rem; color: var(--muted); background: var(--sand); }
.drawer-nav { flex: 1; overflow-y: auto; padding: 6px 20px 16px; }
.drawer-nav > a, .drawer-nav summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 1.05rem; color: var(--ink); cursor: pointer; list-style: none; }
.drawer-nav > a > span { display: inline-flex; align-items: center; gap: 10px; }
.drawer-nav > a svg, .drawer-nav summary svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.drawer-nav > a[aria-current='page'] { color: var(--red); }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav details[open] summary svg { transform: rotate(180deg); }
.drawer-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.drawer-cats a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font-size: .9rem; font-weight: 600; line-height: 1.25; }
.drawer-cats a:hover { background: var(--sand); }
.drawer-cats .drawer-all { grid-column: 1 / -1; justify-content: center; color: var(--red); }
.drawer-all svg { width: 16px; height: 16px; }
.drawer-actions { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--paper); }
.drawer-actions .btn { width: 100%; }
.drawer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.no-scroll { overflow: hidden; }

@media (max-width: 1440px) {
  .head-in { gap: 14px; }
  .head-actions { gap: 8px; }
  .nav-link { padding-inline: 8px; font-size: .9rem; }
  .nav-link::after { left: 8px; right: 8px; }
  .lang { padding: 0 10px; }
}
@media (max-width: 1200px) { .nav-link { padding-inline: 6px; } .nav-link::after { left: 6px; right: 6px; } }
@media (max-width: 1100px) {
  .nav, .lang-dd, .head-book { display: none; }
  .head-tel, .burger { display: inline-grid; }
  .head-actions { margin-inline-start: auto; gap: 8px; }
  .head-in, .site-head.scrolled .head-in { height: 64px; }
}
/* English and German menu labels are longer: switch to the burger a little earlier. */
@media (max-width: 1130px) {
  :root:lang(en) :is(.nav, .lang-dd, .head-book) { display: none; }
  :root:lang(en) :is(.head-tel, .burger) { display: inline-grid; }
  :root:lang(en) .head-actions { margin-inline-start: auto; gap: 8px; }
  :root:lang(en) :is(.head-in, .site-head.scrolled .head-in) { height: 64px; }
}
@media (max-width: 1220px) {
  :root:lang(de) :is(.nav, .lang-dd, .head-book) { display: none; }
  :root:lang(de) :is(.head-tel, .burger) { display: inline-grid; }
  :root:lang(de) .head-actions { margin-inline-start: auto; gap: 8px; }
  :root:lang(de) :is(.head-in, .site-head.scrolled .head-in) { height: 64px; }
}
@media (max-width: 560px) {
  .brand-txt span { display: none; }
  .brand-txt b { letter-spacing: .1em; font-size: .78rem; }
}

/* ===== Home: header laid over the hero photo, white once the page scrolls ===== */
.site-head { transition: box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease); }
.site-head--overlay { position: fixed; left: 0; right: 0; }
.site-head--overlay:not(.scrolled):not(:has(.dd[data-open])) { background: linear-gradient(180deg, rgba(14, 13, 12, .55), rgba(14, 13, 12, 0)) border-box no-repeat; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.site-head--overlay:not(.scrolled):not(:has(.dd[data-open])) :is(.brand, .brand-txt b, .nav-link, .nav-link:hover, .lang) { color: #fff; }
.site-head--overlay:not(.scrolled):not(:has(.dd[data-open])) :is(.brand-txt span, .lang svg) { color: rgba(255, 255, 255, .78); }
/* The emblem's black strokes need a light halo to read on the dark photo. */
.site-head--overlay:not(.scrolled):not(:has(.dd[data-open])) .brand img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .9)) drop-shadow(0 0 6px rgba(255, 255, 255, .35)); }
.site-head--overlay:not(.scrolled):not(:has(.dd[data-open])) :is(.lang, .icon-btn) { border-color: rgba(255, 255, 255, .45); background: transparent; color: #fff; }
.site-head--overlay:not(.scrolled):not(:has(.dd[data-open])) :is(.lang, .icon-btn):hover { border-color: #fff; }
.site-head--overlay:not(.scrolled):not(:has(.dd[data-open])) .head-book:hover { background: #fff; border-color: #fff; color: var(--ink); }
/* The hero now starts under the header. */
.site-head--overlay ~ main .hero--photo .hero-in { padding-top: 164px; }

/* Ribbon separators: a tooth instead of a dot */
.ribbon span::after { width: 18px; height: 18px; border-radius: 0; background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 3.5c-2.6 0-4 2-4 4.6 0 2.2 1 3.5 1.6 5.4.8 2.6.9 7 2.8 7 1.6 0 1.6-4.3 4.1-4.3s2.5 4.3 4.1 4.3c1.9 0 2-4.4 2.8-7 .6-1.9 1.6-3.2 1.6-5.4 0-2.6-1.4-4.6-4-4.6-1.8 0-2.7 1-4.5 1s-2.7-1-4.5-1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 3.5c-2.6 0-4 2-4 4.6 0 2.2 1 3.5 1.6 5.4.8 2.6.9 7 2.8 7 1.6 0 1.6-4.3 4.1-4.3s2.5 4.3 4.1 4.3c1.9 0 2-4.4 2.8-7 .6-1.9 1.6-3.2 1.6-5.4 0-2.6-1.4-4.6-4-4.6-1.8 0-2.7 1-4.5 1s-2.7-1-4.5-1z'/%3E%3C/svg%3E") center / contain no-repeat; }

@media (max-width: 860px) {
  .site-head--overlay ~ main .hero--photo .hero-in { padding-top: 250px; }
}

/* Specialty and area cards: centred gold button */
.card-btn { margin-top: auto; align-self: center; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 26px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .92rem; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
a.card:hover .card-btn { background: var(--gold); color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(249, 207, 18, .7); }
.card .card-list { margin-bottom: 24px; }

/* Logo intro (first page of a visit only, see layouts/top.ejs). */
.intro { display: none; }
html.intro-on { overflow: hidden; }
html.intro-on .intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 22px; background: radial-gradient(700px 500px at 50% 40%, #2a241b, #12100d 70%); transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.7, 0, .2, 1), visibility 0s .7s; }
html.intro-out .intro { opacity: 0; transform: translateY(-4%); visibility: hidden; }
.intro-mark { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.intro-mark img { width: 58px; height: auto; opacity: 0; transform: scale(.6) translateY(8px); filter: drop-shadow(0 0 1px rgba(255, 255, 255, .9)) drop-shadow(0 10px 24px rgba(249, 207, 18, .35)); animation: intro-logo .9s .15s cubic-bezier(.2, .9, .25, 1.2) forwards; }
.intro-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.intro-ring circle { fill: none; stroke: #f9cf12; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 352; stroke-dashoffset: 352; animation: intro-ring 1.2s .1s cubic-bezier(.65, 0, .35, 1) forwards; }
.intro-name { margin: 0; color: #fff; font: 600 .82rem/1 'Manrope', sans-serif; letter-spacing: .5em; text-transform: uppercase; padding-inline-start: .5em; opacity: 0; animation: intro-name .9s .55s ease forwards; }
.intro-flag { display: flex; gap: 0; width: 120px; height: 3px; border-radius: 3px; overflow: hidden; }
.intro-flag i { flex: 1; transform: scaleX(0); transform-origin: left; animation: intro-flag .45s forwards; }
.intro-flag i:nth-child(1) { background: #1f1f1f; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); animation-delay: .8s; }
.intro-flag i:nth-child(2) { background: #ee2224; animation-delay: .95s; }
.intro-flag i:nth-child(3) { background: #f9cf12; animation-delay: 1.1s; }
@keyframes intro-ring { to { stroke-dashoffset: 0; } }
@keyframes intro-logo { to { opacity: 1; transform: none; } }
@keyframes intro-name { from { opacity: 0; letter-spacing: .9em; } to { opacity: .92; letter-spacing: .5em; } }
@keyframes intro-flag { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { html.intro-on .intro { display: none; } html.intro-on { overflow: auto; } }

/* Booking: e-mail or WhatsApp switcher (pure CSS, works without JavaScript). */
.channel-switch { border: 0; margin: 0 0 26px; padding: 0 0 22px; text-align: center; border-bottom: 1px solid var(--line); }
.channel-q { display: block; width: 100%; margin: 0 0 12px; padding: 0; font-weight: 700; font-size: 1rem; color: var(--ink); }
.cs-opts { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); }
.cs-opt { position: relative; cursor: pointer; }
.cs-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cs-opt span { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--ink-2); transition: background .25s, color .25s, box-shadow .25s; }
.cs-opt svg { width: 19px; height: 19px; flex: none; }
.cs-opt:hover span { color: var(--ink); }
.cs-opt input:checked + span { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.cs-wa input:checked + span { background: #25d366; color: #fff; box-shadow: 0 8px 20px -10px rgba(37, 211, 102, .8); }
.cs-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.cs-hint { margin: 12px auto 0; max-width: 46ch; font-size: .88rem; color: var(--muted); }
.cs-hint-wa, .for-wa, .submit-wa { display: none; }
form:has(input[name=channel][value=whatsapp]:checked) .cs-hint-wa { display: block; }
form:has(input[name=channel][value=whatsapp]:checked) .cs-hint-email { display: none; }
form:has(input[name=channel][value=whatsapp]:checked) .for-wa { display: inline; }
form:has(input[name=channel][value=whatsapp]:checked) .for-email { display: none; }
form:has(input[name=channel][value=whatsapp]:checked) .submit-wa { display: inline-flex; }
form:has(input[name=channel][value=whatsapp]:checked) .submit-email { display: none; }
.submit-email svg, .submit-wa svg { width: 18px; height: 18px; }
.submit-wa, .btn--wa { background: #25d366; border-color: #25d366; color: #fff; }
.submit-wa:hover, .btn--wa:hover { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.02rem; }
.btn--wa svg { width: 20px; height: 20px; }
.wa-dot { margin: 0 auto; border-color: #25d366; color: #25d366; }
@media (max-width: 480px) { .cs-opt span { padding: 0 14px; font-size: .88rem; } }
.wa-dot { background: #e9fbf0; }

/* Booking page, compact two-column layout */
.page-hero--slim { padding-bottom: 34px; }
.page-hero--slim h1 { margin-bottom: 10px; }
.bk-section { padding-top: 34px; padding-bottom: 60px; }
.bk-card { padding: 24px clamp(18px, 3vw, 34px) 26px; }
.bk-card .channel-switch { display: flex; align-items: center; justify-content: center; gap: 14px 22px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 18px; }
.bk-card .channel-q { display: inline; width: auto; margin: 0; float: none; }
.bk-card .cs-hint { flex-basis: 100%; margin-top: 0; }
.bk-cols { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 48px); }
.bk-col--you { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; }
.bk-card fieldset { margin-bottom: 14px; }
.bk-card legend { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin-bottom: 10px; }
.bk-n { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font: 800 .8rem/1 var(--font-body); }
.bk-card .field { margin-bottom: 12px; gap: 5px; }
.bk-card .field label { font-size: .86rem; }
.bk-card .field input, .bk-card .field select, .bk-card .field textarea { padding: 10px 13px; font-size: .97rem; }
.bk-card .field textarea { min-height: 64px; }
.bk-card .days { gap: 6px; padding-bottom: 6px; }
.bk-card .day { width: 62px; padding: 7px 2px; border-radius: 12px; }
.bk-card .day b { font-size: 1.15rem; }
.bk-card .day small { font-size: .66rem; }
.bk-card .slots { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; margin-top: 6px; max-height: 172px; overflow-y: auto; padding: 2px; }
.bk-card .slot { padding: 8px 0; font-size: .88rem; }
.slot-msg { margin: 0; }
.bk-card .check { font-size: .84rem; margin-bottom: 8px; gap: 10px; }
.bk-card .check input { width: 18px; height: 18px; margin-top: 1px; }
.bk-submit { margin-top: auto; padding-top: 6px; }
.bk-submit .btn { width: 100%; min-height: 52px; justify-content: center; font-size: 1rem; }
.bk-submit p { margin: 10px 0 0; font-size: .78rem; text-align: center; }
.bk-info { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 14px; margin-top: 16px; }
.bk-info-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); font-size: .86rem; }
.bk-info-item > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; color: var(--muted); line-height: 1.4; }
.bk-info-item b { color: var(--ink); font-size: .92rem; }
.bk-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--sand); color: var(--ink); }
.bk-ico svg { width: 19px; height: 19px; }
.bk-urgent { background: var(--ink); border-color: var(--ink); }
.bk-urgent > div { color: rgba(244, 239, 232, .75); }
.bk-urgent b { color: #fff; }
.bk-urgent .bk-ico { background: var(--red); color: #fff; }
.bk-info-act { flex: none !important; flex-direction: column !important; gap: 6px !important; }
.bk-info-act .btn { justify-content: center; }
.bk-info-act .btn svg, .bk-info-item .btn svg { width: 15px; height: 15px; }
@media (max-width: 1100px) { .bk-info { grid-template-columns: 1fr 1fr; } .bk-urgent { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .bk-cols { grid-template-columns: 1fr; }
  .bk-col--you { border: 0; padding: 0; border-top: 1px solid var(--line); padding-top: 16px; }
  .bk-info { grid-template-columns: 1fr; }
  .bk-urgent { flex-wrap: wrap; }
  .bk-info-act { flex-direction: row !important; width: 100%; }
  .bk-info-act .btn { flex: 1; }
}
.bk-card .field label .for-email { font-weight: 600; }

/* Booking info inside the dark page header. */
.bk-info--hero { grid-template-columns: 1.4fr 1fr 1fr; margin-top: 22px; gap: 12px; }
.bk-info--hero .bk-info-item { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); padding: 12px 14px; border-radius: 16px; }
.bk-info--hero .bk-info-item > div { color: rgba(244, 239, 232, .7); font-size: .8rem; }
.bk-info--hero b { color: #fff; font-size: .88rem; }
.bk-info--hero .bk-ico { width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .1); color: var(--gold); }
.bk-info--hero .bk-urgent { background: rgba(227, 32, 42, .14); border-color: rgba(227, 32, 42, .45); }
.bk-info--hero .bk-urgent .bk-ico { background: var(--red); color: #fff; }
.bk-info--hero .bk-info-act { flex-direction: row !important; }
.bk-info--hero .btn--sm { min-height: 34px; padding: 0 12px; font-size: .8rem; }
.bk-info--hero .bk-info-item > .btn { border-color: rgba(255, 255, 255, .5); color: #fff; }
.bk-info--hero .bk-info-item > .btn:hover { background: #fff; color: var(--ink); }
.req-tag { color: var(--red); font-size: .9em; font-weight: 700; }
.bk-card .row2 { align-items: start; }
.bk-card .channel-switch { padding-bottom: 14px; margin-bottom: 16px; }
@media (max-width: 1100px) { .bk-info--hero { grid-template-columns: 1fr 1fr; } .bk-info--hero .bk-urgent { grid-column: 1 / -1; } }
@media (max-width: 700px) { .bk-info--hero { grid-template-columns: 1fr; } .bk-info--hero .bk-urgent { flex-wrap: wrap; } .bk-info--hero .bk-info-act { width: 100%; } .bk-info--hero .bk-info-act .btn { flex: 1; } }
.bk-info--hero { grid-template-columns: 1.8fr 1fr 1fr; }
.bk-info--hero .bk-urgent > div { min-width: 170px; }
@media (max-width: 1100px) { .bk-info--hero { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .bk-info--hero { grid-template-columns: 1fr; } }

/* Blurred photo behind the page title (contact, clinic, cases) */
.band-bg--blur { filter: blur(14px) saturate(.85); transform: scale(1.12); }

/* Technology cards: photo with a top-to-bottom gradient, text at the bottom */
.tech-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tc { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 380px; border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff; background: #1d1a15; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8); border: 1px solid rgba(255, 255, 255, .08); }
.tc-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.tc-guided .tc-img { object-position: 50% 75%; }
.tc::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 13, 12, .05) 0%, rgba(14, 13, 12, .3) 38%, rgba(14, 13, 12, .82) 66%, rgba(14, 13, 12, .96) 100%); transition: background .4s; }
.tc-body { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 22px; }
.tc-bar { width: 28px; height: 3px; border-radius: 2px; background: var(--gold); transition: width .4s; }
.tc h3 { margin: 0; color: #fff; font-size: 1.22rem; line-height: 1.25; }
.tc p { margin: 0; color: #d8cfc3; font-size: .9rem; line-height: 1.55; }
.tc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--gold); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.tc-more svg { width: 15px; height: 15px; transition: transform .3s; }
[dir='rtl'] .tc-more svg { transform: scaleX(-1); }
.tc:hover .tc-img, .tc:focus-visible .tc-img { transform: scale(1.06); }
.tc:hover .tc-bar, .tc:focus-visible .tc-bar { width: 56px; }
.tc:hover .tc-more svg { transform: translateX(4px); }
[dir='rtl'] .tc:hover .tc-more svg { transform: scaleX(-1) translateX(4px); }
.tc:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 1100px) { .tech-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tc { min-height: 340px; } }
@media (max-width: 600px) { .tech-cards { grid-template-columns: 1fr; } .tc { min-height: 300px; } }
@media (prefers-reduced-motion: reduce) { .tc-img, .tc-bar, .tc-more svg { transition: none; } }

/* Social network icons (footer and contact page) */
.foot-follow { margin-top: 18px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.soc { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); text-decoration: none; transition: transform .25s, background .25s, border-color .25s; }
.soc svg { width: 18px; height: 18px; }
.soc:hover, .soc:focus-visible { transform: translateY(-2px); border-color: transparent; }
.soc-instagram:hover, .soc-instagram:focus-visible { background: linear-gradient(45deg, #f9a43a, #e1306c 55%, #833ab4); }
.soc-facebook:hover, .soc-facebook:focus-visible { background: #1877f2; }
.soc-linkedin:hover, .soc-linkedin:focus-visible { background: #0a66c2; }
.soc-tiktok:hover, .soc-tiktok:focus-visible { background: #111; border-color: #444; }
.soc-youtube:hover, .soc-youtube:focus-visible { background: #ff0000; }
.socials--light .soc { color: #fff; border: 0; }
.socials--light .soc-instagram { background: linear-gradient(45deg, #f9a43a, #e1306c 55%, #833ab4); }
.socials--light .soc-facebook { background: #1877f2; }
.socials--light .soc-linkedin { background: #0a66c2; }
.socials--light .soc-tiktok { background: #111; }
.socials--light .soc-youtube { background: #ff0000; }
.socials--light .soc:hover { box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
.site-foot .socials + .btn-row { margin-top: 20px; }

/* Home hero: exactly one screen tall, title sized on width and height */
.hero-in { min-height: 100svh; padding: 92px 0 clamp(20px, 4vh, 44px); align-items: end; }
.hero--photo h1 { font-size: clamp(2rem, min(4.6vw, 7.2vh), 3.9rem); margin-bottom: .35em; }
.hero--photo .eyebrow { margin-bottom: clamp(8px, 1.6vh, 16px); }
.hero--photo .lead { margin: clamp(8px, 1.6vh, 18px) 0 clamp(14px, 3vh, 30px); }
.hero--photo .hero-meta { margin-top: clamp(14px, 3vh, 34px); padding-top: clamp(10px, 2vh, 22px); }
@media (max-width: 860px) { .hero-in { min-height: 0; padding-top: 84px; } }


