/* CALCEA — design system for the Elementor build (child theme). Ported from the code prototype's site.css:
   the same tokens, spacing standard and components, plus an adapter layer that dresses Elementor's widgets
   (containers, heading, text editor, image, button, nav menu, icon list, loop grid, taxonomy filter, form,
   nested accordion, off-canvas) in the Calcea look. Logical properties only (RTL-ready). */
@font-face { font-family: "Alexandria"; src: url("../fonts/alexandria-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/plex-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* Plex Sans comes at 400 only (04.11): every heavier word (labels, strong, meta) is set in Alexandria, the variable display font
   that is loaded anyway, so EN pages fetch two font files instead of four. Arabic pages set their running text in Alexandria too
   (see "Arabic text" below): two files instead of eight. */
/* Arabic subsets of the same families: browsers fetch them only for Arabic characters (unicode-range), so English pages never load them */
@font-face { font-family: "Alexandria"; src: url("../fonts/alexandria-arabic-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --limewash: #EFE7DD;
  --plaster: #E4D9CB;
  --travertine: #CDBBA4;
  --clay: #6F5648;
  --majlis: #26181B;
  --majlis-2: #33222A;
  --pomegranate: #A3202B;
  --pomegranate-ink: #7E1820;
  --brass: #B3925E;
  --sand: #CDB79C;

  --f-display: "Alexandria", "Segoe UI", system-ui, sans-serif;
  --f-text: "Plex Sans", "Segoe UI", system-ui, sans-serif;

  --step-display: clamp(2.6rem, 1.4rem + 4vw, 5.25rem);
  --step-h2: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  --step-h3: 1.375rem;
  --step-lead: clamp(1.125rem, 1rem + .35vw, 1.3rem);

  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1360px;
  --cgap: clamp(16px, 2vw, 28px); /* named --cgap: Elementor uses --gap on every container */
  --section: clamp(80px, 9vw, 150px);   /* spacing standard: big — between major blocks, and before the closing band */
  --sub: clamp(56px, 6vw, 96px);        /* medium — between parts of a page, on both sides of a hairline */
  --head: clamp(32px, 4vw, 56px);       /* small — from a page title to its content */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: 8px; /* the one corner radius on the site (21.11.2026): buttons, chips, tags, fields, photos, panels, the ×. The arches are the only curves; photos that run to the screen edge stay square */
  --header-h: 76px;
}
/* The palette is editable in Elementor → Site Settings → Global Colors (the Kit defines --e-global-color-* on <body>) */
body {
  --limewash: var(--e-global-color-limewash, #EFE7DD); --plaster: var(--e-global-color-plaster, #E4D9CB); --travertine: var(--e-global-color-travertine, #CDBBA4);
  --clay: var(--e-global-color-secondary, #6F5648); --majlis: var(--e-global-color-primary, #26181B); --pomegranate: var(--e-global-color-accent, #A3202B);
  --pomegranate-ink: var(--e-global-color-pomegranate_ink, #7E1820); --brass: var(--e-global-color-brass, #B3925E); --sand: var(--e-global-color-sand, #CDB79C);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-block-start: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--limewash); color: var(--majlis); font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.6; text-rendering: optimizeLegibility; }
:where(strong, b) { font-family: var(--f-display); font-weight: 500; } /* no Plex 500/600 files: bold words come from the variable Alexandria */
/* Arabic text: Alexandria at 300 reads like Plex Arabic 400 and spares the Plex Arabic files (04.11, compared side by side) */
html[lang="ar"] { --f-text: var(--f-display); }
html[lang="ar"] body { font-weight: 300; }
/* …but the UI words that were already Alexandria and only inherited 400 from the body keep it (menus, menu buttons,
   WhatsApp, language switch, chips, filters, smile map): found by diffing every Arabic page, old CSS against new */
html[lang="ar"] :is(.nav, .mm-nav, .mt-toggle, .mt-close, .wa-btn, .wa-inline, .lang-slot, .b-chip, .opts, .smile-panel) { font-weight: 400; }
img { display: block; max-inline-size: 100%; block-size: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--pomegranate); color: #fff; }
html { scrollbar-color: var(--travertine) var(--limewash); }
:root { --ring: var(--pomegranate); --field-focus: color-mix(in srgb, var(--clay) 60%, var(--travertine)); }
.dark, .site-footer, .mobile-menu { --ring: var(--sand); } /* rings on the dark surfaces */
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 2px; }
/* Focus rings are for the keyboard only (21.11.2026, as on AFTERDARK). A tap or click puts html.is-pointer (calcea.js) and no ring
   shows anywhere, including the ones Safari on the iPhone draws when a panel or a script moves focus after a tap: :focus-visible
   alone doesn't cover that. Tab and the arrow keys take the class off. Rings drawn on the label next to a hidden radio go with it;
   things lit by focus (teeth, menu items, price rows, card titles) are scoped to html:not(.is-pointer) where they are declared. */
html.is-pointer :focus-visible, html.is-pointer :focus-visible + :is(span, label) { outline: none !important; }
/* text fields never get a ring: the caret shows where typing goes, and the field's border darkens a little (form rules below) */
:is(input:not([type=checkbox], [type=radio], [type=range], [type=submit], [type=button]), textarea):focus-visible { outline: none; }
h1, h2, h3, h4, .elementor-widget-heading { font-family: var(--f-display); font-weight: 400; letter-spacing: -.025em; line-height: 1.04; margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
.elementor-widget-heading:has(> :is(h1, h2, h3, h4)) { text-wrap-style: balance; } /* the longhand only: a nowrap row (prices, meta) must stay nowrap */
:where(html[lang="ar"]) .elementor-widget-heading { line-height: 1.3; } /* Arabic heading leading; placed early and kept at one class so every component rule after it wins */
/* Heading widget: the title tag takes everything from its wrapper (where the Calcea classes sit) unless a component rule targets the tag */
.elementor-heading-title { font: inherit; line-height: inherit; color: inherit; text-wrap: inherit; margin: 0; padding: 0; }
.elementor-heading-title:not(h1, h2, h3, h4, h5, h6) { letter-spacing: inherit; } /* h-tags keep their own em-based tracking: an inherited value would be computed at the wrapper's size */
:where(h1, h2, h3, h4).elementor-heading-title { text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.visually-hidden { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; background: var(--majlis); color: var(--limewash); padding: 10px 16px; z-index: 100; border-radius: var(--r); }
.skip-link:focus { inset-block-start: 12px; }

.wrap { max-inline-size: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.section--tight { padding-block: var(--sub); }
/* the last part of a page always leaves the big gap before the closing band */
main > .wrap > :is(.section--tight, .split):last-child { padding-block-end: var(--section); margin-block-end: 0; }
/* Two plain sections in a row share one gap, not two paddings stacked on the same background */
main > section:is(.section, .section--tight):not(.plaster, .dark, .book-band, .hero):has(+ section:is(.section, .section--tight):not(.plaster, .dark, .book-band, .hero)) { padding-block-end: 0; }
/* A hairline divider has the medium gap on both sides: a big section right above one ends with --sub, not --section */
main > .wrap > .section:has(+ :is(.rooms, .good-to-know, .price-group, [style*="border-block-start"])) { padding-block-end: var(--sub); }
.dark { background: var(--majlis); color: var(--limewash); }
.plaster { background: var(--plaster); }
.lead { font-size: var(--step-lead); line-height: 1.55; color: var(--clay); max-inline-size: 38ch; }
.dark .lead { color: var(--sand); }
.muted { color: var(--clay); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.h2 { font-size: var(--step-h2); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--cgap); align-items: end; margin-block-end: clamp(36px, 4vw, 64px); }
.section-head .lead { justify-self: start; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-block-size: 50px; padding: 0 26px; border-radius: var(--r); border: 1px solid transparent; font-family: var(--f-display); font-weight: 450; font-size: 1rem; letter-spacing: .005em; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn--primary { background: var(--pomegranate); color: #fff; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--light { background: var(--limewash); color: var(--majlis); }
.btn--sm { min-block-size: 42px; padding: 0 18px; font-size: .9375rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--pomegranate-ink); }
  .btn--ghost:hover { background: var(--majlis); color: var(--limewash); border-color: var(--majlis); }
  .dark .btn--ghost:hover { background: var(--limewash); color: var(--majlis); border-color: var(--limewash); }
  .btn--light:hover { background: #fff; }
}
.btn:active { transform: translateY(1px); }
.link { font-family: var(--f-display); font-weight: 450; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.link:hover { text-decoration-color: currentColor; }

/* Header */
.elementor-location-header { position: sticky; inset-block-start: 0; z-index: 40; transition: transform .45s var(--ease), background-color .3s; }
.elementor-location-header.is-solid { background: var(--limewash); box-shadow: 0 1px 0 color-mix(in srgb, var(--travertine) 70%, transparent); }
.elementor-location-header.is-hidden { transform: translateY(-100%); }
.header-row { display: flex; align-items: center; gap: 28px; block-size: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .01em; }
.logo svg { inline-size: 18px; block-size: 24px; }
.logo small { display: block; font-family: var(--f-text); font-size: .6875rem; letter-spacing: .02em; color: var(--clay); line-height: 1; margin-block-start: 3px; }
.logo span { line-height: 1; }
.nav { margin-inline-start: auto; display: flex; gap: 4px; }
.nav a { padding: 10px 12px; text-decoration: none; font-family: var(--f-display); font-size: .9688rem; border-radius: var(--r); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .45em; text-decoration-color: var(--pomegranate); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: color-mix(in srgb, var(--plaster) 80%, transparent); } }
/* "Menu" + two short lines; the overlay's "Close" sits on the same spot and its lines fold into a cross */
.menu-toggle, .menu-close { display: none; align-items: center; gap: 9px; margin-inline-start: auto; margin-inline-end: -10px; block-size: 48px; padding-inline: 10px; border: 0; background: transparent; cursor: pointer; border-radius: var(--r); font-family: var(--f-display); font-size: .9375rem; line-height: 1; letter-spacing: .01em; }
.menu-close { display: inline-flex; color: inherit; }
.mt-lines { position: relative; inline-size: 16px; block-size: 9px; flex: none; }
.mt-lines i { position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 1.5px; background: currentColor; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.mt-lines i:last-child { inset-block: auto 0; }
.mobile-menu.is-open .mt-lines i:first-child { transform: translateY(3.75px) rotate(45deg); transition-delay: .12s; }
.mobile-menu.is-open .mt-lines i:last-child { transform: translateY(-3.75px) rotate(-45deg); transition-delay: .12s; }
@media (max-width: 1060px) {
  .nav, .header-row > .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--majlis); color: var(--limewash); display: flex; flex-direction: column; padding: 0 var(--pad) max(28px, env(safe-area-inset-bottom)); visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s .3s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.mobile-menu .header-row { justify-content: space-between; }
.mobile-menu .logo small { color: var(--sand); }
.mobile-menu nav { display: flex; flex-direction: column; margin-block: 24px auto; }
.mobile-menu nav a { font-family: var(--f-display); font-size: clamp(2rem, 8vw, 2.75rem); letter-spacing: -.02em; text-decoration: none; padding-block: 8px; border-block-end: 1px solid color-mix(in srgb, var(--limewash) 14%, transparent); transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.mobile-menu.is-open nav a { transform: none; opacity: 1; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .03s } .mobile-menu.is-open nav a:nth-child(3) { transition-delay: .06s } .mobile-menu.is-open nav a:nth-child(4) { transition-delay: .09s } .mobile-menu.is-open nav a:nth-child(5) { transition-delay: .12s } .mobile-menu.is-open nav a:nth-child(6) { transition-delay: .15s }
.mobile-menu .menu-foot { display: grid; gap: 14px; color: var(--sand); font-size: .9375rem; }
html.menu-open, html.menu-open body { overflow: hidden; }

/* Arch frame */
.arch { position: relative; overflow: hidden; border-radius: 50% 50% 0 0 / var(--arch-v, 40%) var(--arch-v, 40%) 0 0; background: var(--plaster); isolation: isolate; }
.arch img, .frame img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.frame { position: relative; overflow: hidden; border-radius: var(--r); background: var(--plaster); }

/* Hero */
.hero { position: relative; overflow: clip; padding-block: clamp(20px, 3vw, 40px) clamp(56px, 6vw, 96px); }
.sun { position: absolute; z-index: 0; inset-block-start: 6%; inset-inline-start: 18%; inline-size: min(34vw, 460px); aspect-ratio: 3 / 4.6; border-radius: 50% 50% 0 0 / 33% 33% 0 0; background: radial-gradient(120% 90% at 50% 40%, rgba(255, 243, 222, .95), rgba(255, 236, 205, .55) 55%, rgba(255, 236, 205, 0) 80%); filter: blur(26px); pointer-events: none; transform: rotate(-8deg); }
.sun::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 47%, rgba(205,183,156,.38) 49%, rgba(205,183,156,.38) 51%, transparent 53%), linear-gradient(0deg, transparent 47%, rgba(205,183,156,.3) 49%, rgba(205,183,156,.3) 51%, transparent 53%); border-radius: inherit; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 72px); align-items: end; }
.hero h1 { font-size: var(--step-display); font-weight: 300; letter-spacing: -.035em; line-height: .98; max-inline-size: 11ch; }
.hero .lead { margin-block: clamp(20px, 2.4vw, 32px) clamp(28px, 3vw, 40px); max-inline-size: 34ch; color: var(--clay); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.hero-meta { margin-block-start: clamp(36px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .875rem; color: var(--clay); }
.hero-meta strong { font-family: var(--f-display); font-weight: 500; color: var(--majlis); }
.hero-media { justify-self: end; inline-size: min(100%, 560px, calc((100svh - var(--header-h) - 150px) * .8)); aspect-ratio: 4 / 5; --arch-v: 40%; }
.hero-media picture { display: block; block-size: 100%; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-block-size: 0; align-items: start; }
  .hero-media { order: -1; justify-self: stretch; inline-size: 100%; aspect-ratio: 5 / 5.2; --arch-v: 48%; }
  .sun { inset-inline-start: auto; inset-inline-end: -10%; inset-block-start: 40%; inline-size: 70vw; }
}

/* Area strip under hero */

/* Concern sentence */
.concern-sentence { font-family: var(--f-display); font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.35; max-inline-size: 26ch; }
.concern-sentence .chips { display: inline; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-block-size: 40px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--travertine); background: transparent; font-family: var(--f-display); font-size: .9375rem; letter-spacing: 0; text-decoration: none; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--majlis); border-color: var(--majlis); color: var(--limewash); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--majlis); } }
.concern-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 28px; max-inline-size: 760px; }
.concern-chips .chip { font-size: 1.0625rem; min-block-size: 48px; padding: 0 20px; }

/* Area cards */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--cgap); }
.area-card { text-decoration: none; display: grid; gap: 18px; }
.area-card .arch { aspect-ratio: 3 / 4; --arch-v: 37.5%; }
.area-card img { transition: transform 1s var(--ease); }
.area-card h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.area-card h3 small { font-family: var(--f-text); font-size: .875rem; letter-spacing: 0; color: var(--clay); }
.area-card p { color: var(--clay); max-inline-size: 34ch; }
@media (hover: hover) and (pointer: fine) { .area-card:hover img { transform: scale(1.035); } .area-card:hover h3 span { color: var(--pomegranate); } }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } .area-card { grid-template-columns: 38% 1fr; align-items: center; } .area-card .arch { aspect-ratio: 3 / 4; } }

/* Treatment cards (Loop item) */
.t-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) var(--cgap); }
.t-grid--4 { --cols: 4; }
@media (max-width: 1100px) { .t-grid, .t-grid--4 { --cols: 3; } }
@media (max-width: 860px) { .t-grid, .t-grid--4 { --cols: 2; } }
@media (max-width: 520px) { .t-grid { --cols: 1; } .t-grid--4 { --cols: 2; --cgap: 14px; } .t-grid--4 .t-card p { display: none; } .t-grid--4 .t-card .t-meta { flex-direction: column; gap: 2px; } .t-grid--4 .t-card h3 { font-size: 1.125rem; } }
[hidden] { display: none !important; }
.t-card { position: relative; display: grid; gap: 14px; align-content: start; }
.t-card .frame { aspect-ratio: 4 / 5; }
.t-card img { transition: transform 1s var(--ease); }
.t-card .t-meta { display: flex; gap: 10px; justify-content: space-between; font-size: .8125rem; color: var(--clay); }
.t-card h3 { font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.15; }
.t-card h3 a { text-decoration: none; }
.t-card h3 a::after { content: ""; position: absolute; inset: 0; }
.t-card p { font-size: .9688rem; color: var(--clay); }
.t-card .price { font-family: var(--f-display); font-size: 1rem; color: var(--majlis); }
.t-card .badge { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; z-index: 1; background: var(--limewash); color: var(--majlis); font-size: .75rem; padding: 5px 10px; border-radius: var(--r); }
@media (hover: hover) and (pointer: fine) { .t-card:hover img { transform: scale(1.04); } .t-card:hover h3 { color: var(--pomegranate); } }
html:not(.is-pointer) .t-card:has(:focus-visible) h3 { color: var(--pomegranate); }

/* Harmony (dark chapter) */
.harmony { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.harmony .frame { aspect-ratio: 3 / 2.1; border-radius: var(--r); }
.harmony h2 { font-size: var(--step-h2); margin-block-end: 22px; }
.harmony dl { margin: 32px 0 36px; display: grid; gap: 0; border-block-start: 1px solid color-mix(in srgb, var(--limewash) 18%, transparent); }
.harmony dl div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding-block: 14px; border-block-end: 1px solid color-mix(in srgb, var(--limewash) 18%, transparent); }
.harmony dt { color: var(--brass); font-size: .875rem; }
.harmony dd { margin: 0; }
@media (max-width: 960px) { .harmony { grid-template-columns: 1fr; } }

/* Smile map */
.smile { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.smile-chart { inline-size: 100%; max-inline-size: 520px; justify-self: center; }
.smile-chart svg { inline-size: 100%; block-size: auto; overflow: visible; }
.tooth { cursor: pointer; }
.tooth .t-o { fill: url(#enamel); stroke: var(--clay); stroke-width: 1.15; stroke-linejoin: round; transition: fill .18s, stroke .18s; }
.tooth .t-g { fill: none; stroke: var(--clay); stroke-width: .9; stroke-linecap: round; opacity: .45; pointer-events: none; transition: stroke .18s, opacity .18s; }
.tooth text { font-family: var(--f-text); font-size: 10px; fill: var(--clay); pointer-events: none; font-variant-numeric: tabular-nums; }
.tooth:hover .t-o { fill: #fff; stroke: var(--majlis); }
.tooth[aria-pressed="true"] .t-o { fill: var(--pomegranate); stroke: var(--pomegranate-ink); }
.tooth[aria-pressed="true"] .t-g { stroke: #fff; opacity: .55; }
.tooth[aria-pressed="true"] text { fill: var(--majlis); font-family: var(--f-display); font-weight: 500; }
.tooth:focus { outline: none; }
html:not(.is-pointer) .tooth:focus-visible .t-o { stroke: var(--majlis); stroke-width: 2.4; }
.smile-legend { font-size: .8125rem; fill: var(--clay); }
.smile-side { font-size: .6875rem; letter-spacing: .02em; }
.smile-axis { fill: none; stroke: var(--travertine); stroke-width: 1; stroke-dasharray: 3 5; }
.smile-panel { border-block-start: 1px solid var(--travertine); padding-block-start: 22px; min-block-size: 260px; margin-block-start: 28px; }
.smile-panel .fdi { font-family: var(--f-display); font-size: 3.5rem; font-weight: 300; letter-spacing: -.02em; line-height: 1; color: var(--pomegranate); font-variant-numeric: proportional-nums lining-nums; }
.smile-panel h3 { font-size: 1.5rem; margin-block: 8px 14px; }
.smile-panel ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; }
.smile-panel li a { display: flex; justify-content: space-between; gap: 12px; padding-block: 12px; border-block-end: 1px solid var(--travertine); text-decoration: none; font-family: var(--f-display); }
.smile-panel li a span { color: var(--clay); font-family: var(--f-text); font-size: .875rem; }
@media (hover: hover) and (pointer: fine) { .smile-panel li a:hover { color: var(--pomegranate); } }
.smile-note { margin-block-start: 18px; font-size: .8125rem; color: var(--clay); }
/* phone/tablet: heading and hint first, then the chart, then the picked tooth right under it */
@media (max-width: 960px) {
  .smile { grid-template-columns: 1fr; gap: 0; }
  .smile-text { display: contents; }
  .smile-chart { order: 1; margin-block: clamp(24px, 6vw, 40px) 18px; }
  .smile-panel { order: 2; min-block-size: 0; margin-block-start: 0; }
  .smile-note { order: 3; }
}

/* Doctors */
.d-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 52px) var(--cgap); }
.d-grid--3 { --cols: 3; }
.d-grid--4 { --cols: 4; }
.d-grid--6 { --cols: 6; }
@media (min-width: 1101px) { .d-grid--6 .d-card:nth-child(even) { margin-block-start: 56px; } }
@media (max-width: 1100px) { .d-grid--4, .d-grid--6 { --cols: 3; } }
@media (max-width: 720px) { .d-grid, .d-grid--3, .d-grid--4, .d-grid--6 { --cols: 2; } }
.d-card { position: relative; display: grid; gap: 14px; align-content: start; }
.d-card .arch { aspect-ratio: 3 / 4; --arch-v: 37.5%; }
.d-card img { transition: transform 1s var(--ease); }
.d-card h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.2; }
.d-card h3 a { text-decoration: none; }
.d-card h3 a::after { content: ""; position: absolute; inset: 0; }
.d-card p { font-size: .9063rem; color: var(--clay); line-height: 1.45; }
@media (hover: hover) and (pointer: fine) { .d-card:hover img { transform: scale(1.04); } .d-card:hover h3 { color: var(--pomegranate); } }

/* Steps (a real sequence) */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.visit .frame { aspect-ratio: 4 / 5; position: sticky; inset-block-start: calc(var(--header-h) + 24px); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.2em 1fr; gap: 8px 20px; padding-block: 28px; border-block-start: 1px solid var(--travertine); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--f-display); font-size: 1rem; color: var(--pomegranate); padding-block-start: 6px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.625rem; grid-column: 2; }
.steps p { grid-column: 2; color: var(--clay); max-inline-size: 46ch; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .visit .frame { position: static; aspect-ratio: 3 / 2; } }

/* Sample testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--cgap); }
.quotes figure { margin: 0; padding-block-start: 22px; border-block-start: 1px solid var(--travertine); display: grid; gap: 18px; align-content: start; }
.quotes blockquote { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: 1.375rem; line-height: 1.35; letter-spacing: -.015em; }
.quotes figcaption { font-size: .875rem; color: var(--clay); }
.sample-flag { display: inline-flex; gap: 8px; align-items: center; font-size: .8125rem; color: var(--clay); border: 1px dashed var(--travertine); border-radius: var(--r); padding: 6px 14px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* Journal */
.j-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cgap); }
.j-card { position: relative; display: grid; gap: 14px; align-content: start; }
.j-card .frame { aspect-ratio: 3 / 2; }
.j-card img { transition: transform 1s var(--ease); }
.j-card time { font-size: .8125rem; color: var(--clay); }
.j-card h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -.02em; }
.j-card h3 a { text-decoration: none; } .j-card h3 a::after { content: ""; position: absolute; inset: 0; }
.j-card p { color: var(--clay); font-size: .9688rem; }
@media (hover: hover) and (pointer: fine) { .j-card:hover img { transform: scale(1.04); } .j-card:hover h3 { color: var(--pomegranate); } }
@media (max-width: 860px) { .j-grid { grid-template-columns: 1fr; } }

/* Booking band */
.book-band { position: relative; overflow: hidden; background: var(--plaster); }
.book-band .bg { position: absolute; inset: 0; z-index: 0; }
.book-band .bg img { inline-size: 100%; block-size: 100%; object-fit: cover; opacity: .9; }
.book-band .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--cgap); align-items: end; }
.book-band h2 { font-size: var(--step-h2); max-inline-size: 14ch; }
.book-band .contact { display: grid; gap: 6px; font-size: .9688rem; }
.book-band .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 28px; }
@media (max-width: 860px) { .book-band .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--majlis); color: var(--sand); padding-block: clamp(64px, 7vw, 110px) 28px; font-size: .9375rem; }
.site-footer a { color: var(--limewash); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-legal a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: var(--cgap); }
.footer-grid h2 { font-family: var(--f-display); font-size: .8125rem; font-weight: 500; color: var(--brass); letter-spacing: .02em; margin-block-end: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .logo { color: var(--limewash); }
.site-footer .logo small { color: var(--sand); }
.footer-note { margin-block-start: 18px; max-inline-size: 34ch; }
.footer-legal { margin-block-start: clamp(48px, 6vw, 88px); padding-block-start: 22px; border-block-start: 1px solid color-mix(in srgb, var(--limewash) 14%, transparent); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .8125rem; }
.disclaimer { color: var(--limewash); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Page head (archives, pages) */
.page-head { padding-block: clamp(40px, 6vw, 96px) var(--head); }
.page-head h1 { font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.8rem); font-weight: 300; letter-spacing: -.035em; }
.page-head .lead { margin-block-start: 20px; }
.crumbs { font-size: .8125rem; color: var(--clay); margin-block-end: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }

/* Filters */
.filters { display: grid; gap: 18px; padding-block: 22px; border-block: 1px solid var(--travertine); margin-block-end: var(--head); }
.filter-row { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; align-items: center; }
.filter-row > span { font-size: .8125rem; color: var(--clay); }
.filter-row .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9375rem; }
.filter-status button { border: 0; background: none; padding: 6px 0; cursor: pointer; text-decoration: underline; text-underline-offset: .22em; color: var(--clay); }
.filter-status button[hidden] { display: none; }
.empty { padding: 40px 0; display: grid; gap: 14px; justify-items: start; }
.empty[hidden] { display: none; }
@media (max-width: 640px) { .filter-row { grid-template-columns: 1fr; } .filter-row .opts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); } }

/* Area term head */
.term-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: end; padding-block: clamp(24px, 4vw, 56px) var(--sub); }
.term-head .arch { aspect-ratio: 4 / 5; --arch-v: 40%; max-inline-size: 440px; justify-self: end; inline-size: 100%; }
.term-head p.desc { margin-block-start: 18px; max-inline-size: 52ch; }
@media (max-width: 860px) { .term-head { grid-template-columns: 1fr; } .term-head .arch { order: -1; justify-self: stretch; max-inline-size: none; aspect-ratio: 1 / 1; --arch-v: 50%; } }

/* Single treatment */
.single-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 88px); align-items: end; padding-block: clamp(24px, 4vw, 56px) var(--sub); }
.single-hero .media { aspect-ratio: 4 / 5; --arch-v: 40%; max-inline-size: 560px; justify-self: end; inline-size: 100%; }
.single-hero h1 { font-size: clamp(2.6rem, 1.8rem + 3.4vw, 4.8rem); font-weight: 300; letter-spacing: -.035em; }
.single-hero .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 22px; }
.single-hero .tags a { font-size: .8125rem; text-decoration: none; padding: 5px 12px; border: 1px solid var(--travertine); border-radius: var(--r); }
.single-hero .tags a:hover { border-color: var(--majlis); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 32px; border-block-start: 1px solid var(--travertine); }
.facts div { padding: 16px 0; border-block-end: 1px solid var(--travertine); }
.facts div:nth-child(odd) { padding-inline-end: 16px; }
.facts dt { font-size: .8125rem; color: var(--clay); }
.facts dd { margin: 4px 0 0; font-family: var(--f-display); font-size: 1.125rem; }
.facts .price dd { font-size: 1.5rem; }
@media (max-width: 860px) { .single-hero { grid-template-columns: 1fr; } .single-hero .media { order: -1; justify-self: stretch; max-inline-size: none; aspect-ratio: 1 / 1; --arch-v: 50%; } }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 88px); }
.split h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.prose p + p { margin-block-start: 1em; }
.prose { max-inline-size: 62ch; font-size: 1.125rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.faq { border-block-start: 1px solid var(--travertine); }
.faq details { border-block-end: 1px solid var(--travertine); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; font-family: var(--f-display); font-size: 1.25rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; inline-size: 14px; block-size: 14px; background: linear-gradient(currentColor 0 0) center / 14px 1.5px no-repeat, linear-gradient(currentColor 0 0) center / 1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-block-end: 24px; color: var(--clay); max-inline-size: 60ch; }

/* Doctor single */
.doc-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: center; padding-block: clamp(24px, 4vw, 56px) var(--sub); }
.doc-hero .arch { aspect-ratio: 3 / 4; --arch-v: 37.5%; }
.doc-hero h1 { font-size: clamp(2.4rem, 1.7rem + 3vw, 4.4rem); font-weight: 300; letter-spacing: -.035em; }
.doc-hero .role { margin-block-start: 12px; color: var(--clay); font-size: 1.0625rem; }
.doc-hero blockquote { margin: 32px 0 0; padding-inline-start: 22px; border-inline-start: 1px solid var(--pomegranate); font-family: var(--f-display); font-weight: 300; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); line-height: 1.3; letter-spacing: -.02em; max-inline-size: 28ch; }
@media (max-width: 860px) { .doc-hero { grid-template-columns: 1fr; } .doc-hero .arch { max-inline-size: 420px; } }

/* Pricing */
.price-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--cgap); padding-block: var(--sub); border-block-start: 1px solid var(--travertine); }
.price-group h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); }
.price-group h2 + p { margin-block-start: 12px; color: var(--clay); max-inline-size: 30ch; }
.price-table { inline-size: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: start; padding: 16px 12px 16px 0; border-block-end: 1px solid var(--travertine); vertical-align: baseline; }
.price-table thead th { font-family: var(--f-display); font-weight: 500; font-size: .8125rem; color: var(--clay); padding-block: 0 10px; }
.price-table td:last-child, .price-table th:last-child { text-align: end; padding-inline-end: 0; white-space: nowrap; }
.price-table tbody th { font-family: var(--f-display); font-weight: 400; font-size: 1.1875rem; }
.price-table tbody th a { text-decoration: none; }
/* the whole row is one link: a soft pill fades in behind it, the name slides with an arrow, the price turns pomegranate */
.price-table tbody tr { position: relative; z-index: 0; }
.price-table tbody th a::before, .price-table tbody th a::after { content: ''; position: absolute; inset: 0 -16px; }
.price-table tbody th a::after { z-index: 1; }
.price-table tbody th a::before { z-index: -1; border-radius: var(--r); background: color-mix(in srgb, var(--travertine) 30%, var(--limewash)); opacity: 0; transform: scaleX(.985); transition: opacity .3s ease, transform .45s var(--ease); }
.price-table .pn { display: inline-block; transition: transform .45s var(--ease), color .25s; }
.price-table .go { display: inline-block; margin-inline-start: 10px; color: var(--pomegranate); opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .45s var(--ease); }
.price-table td.amount { transition: color .25s; }
@media (max-width: 600px) { .price-table .go { display: none; } }
@media (hover: hover) and (pointer: fine) {
  .price-table tbody tr:hover th a::before { opacity: 1; transform: none; }
  .price-table tbody tr:hover .pn { color: var(--pomegranate); transform: translateX(6px); }
  .price-table tbody tr:hover .go { opacity: 1; transform: translateX(6px); }
  .price-table tbody tr:hover td.amount { color: var(--pomegranate); }
}
html:not(.is-pointer) .price-table tbody tr:has(a:focus-visible) th a::before { opacity: 1; transform: none; }

/* Touch: the same highlight as the desktop hover while a finger presses a card or a price row.
   main.js sets .is-pressed; :active is the plain-CSS fallback (as on SELA). Quicker than the hover so a tap shows it. */
.price-table a, .t-card a, .d-card a, .j-card a, a.area-card, a.room-card { -webkit-tap-highlight-color: transparent; }
.area-card.is-pressed img, .room-card.is-pressed img, a.area-card:active img, a.room-card:active img { transform: scale(1.035); transition-duration: .4s; }
.t-card.is-pressed img, .d-card.is-pressed img, .j-card.is-pressed img, .t-card:active img, .d-card:active img, .j-card:active img { transform: scale(1.04); transition-duration: .4s; }
.area-card.is-pressed h3 span, .t-card.is-pressed h3, .d-card.is-pressed h3, .j-card.is-pressed h3, .room-card.is-pressed h3,
a.area-card:active h3 span, .t-card:active h3, .d-card:active h3, .j-card:active h3, a.room-card:active h3 { color: var(--pomegranate); }
.price-table tbody tr.is-pressed th a::before, .price-table tbody tr:active th a::before { opacity: 1; transform: none; transition-duration: .15s; }
.price-table tbody tr.is-pressed .pn, .price-table tbody tr:active .pn { color: var(--pomegranate); transform: translateX(6px); }
.price-table tbody tr.is-pressed .go, .price-table tbody tr:active .go { opacity: 1; transform: translateX(6px); }
.price-table tbody tr.is-pressed td.amount, .price-table tbody tr:active td.amount { color: var(--pomegranate); }
/* Phones: price rows become plain blocks (name left, price right), so the highlight sits on the row in every browser */
@media (max-width: 600px) {
  .price-table, .price-table thead, .price-table tbody { display: block; }
  .price-table tr { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-block-end: 1px solid var(--travertine); }
  .price-table th, .price-table td { display: block; border: 0; padding: 16px 0; }
  .price-table thead th { padding: 0 0 10px; }
  .price-table tbody th { flex: 1 1 auto; min-inline-size: 0; }
  .price-table .hide-sm { display: none; }
}
.price-table td { color: var(--clay); font-size: .9375rem; }
.price-table td.amount { color: var(--majlis); font-family: var(--f-display); font-size: 1.1875rem; font-variant-numeric: tabular-nums; }
.price-table td.amount small { font-family: var(--f-text); font-size: .75rem; color: var(--clay); margin-inline-end: 6px; }
@media (max-width: 720px) { .price-group { grid-template-columns: 1fr; } .price-table .hide-sm { display: none; } }

/* Forms */
.form { display: grid; gap: 18px; }
.demo-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: color-mix(in srgb, var(--pomegranate) 9%, var(--limewash)); color: var(--pomegranate-ink); font-size: .9375rem; line-height: 1.45; }
.demo-note svg { flex: none; margin-block-start: 2px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-family: var(--f-display); font-size: .875rem; font-weight: 500; }
.field .hint { font-size: .8125rem; color: var(--clay); }
.field input, .field select, .field textarea { inline-size: 100%; min-block-size: 50px; padding: 12px 14px; border: 1px solid var(--travertine); border-radius: var(--r); background: #F6F1EA; color: var(--majlis); caret-color: var(--pomegranate); }
.field textarea { min-block-size: 110px; resize: vertical; }
.field select:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; border-color: transparent; }
.field :is(input:not([type=checkbox], [type=radio]), textarea):focus { outline: none; }
.field :is(input:not([type=checkbox], [type=radio]), textarea):not([aria-invalid="true"]):focus { border-color: var(--field-focus); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--pomegranate); }
.field .error { color: var(--pomegranate); font-size: .8125rem; }
.field .error:empty { display: none; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 6px; }
.seg label { position: relative; font-weight: 400; }
.seg input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; }
.seg span { display: inline-flex; align-items: center; min-block-size: 42px; padding: 0 16px; border: 1px solid var(--travertine); border-radius: var(--r); cursor: pointer; font-size: .9375rem; background: #F6F1EA; }
.seg input:checked + span { background: var(--majlis); color: var(--limewash); border-color: var(--majlis); }
.seg input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.check input { inline-size: 20px; block-size: 20px; margin: 2px 0 0; accent-color: var(--pomegranate); flex: none; }
.form-status { font-size: .9375rem; padding: 14px 16px; border-radius: var(--r); background: var(--plaster); }
.form-status:empty { display: none; }
.form-foot { font-size: .8125rem; color: var(--clay); }

/* Dialog (booking popup) */
dialog.book-dialog { border: 0; padding: 0; margin: auto; inline-size: min(640px, calc(100vw - 24px)); max-block-size: calc(100dvh - 24px); border-radius: var(--r); background: var(--limewash); color: var(--majlis); box-shadow: 0 30px 80px -20px rgba(38, 24, 27, .45); overflow: auto; }
dialog.book-dialog::backdrop { background: rgba(38, 24, 27, .55); }
dialog.book-dialog[open] { animation: dlg-in .45s var(--ease); }
dialog.book-dialog[open]::backdrop { animation: fade-in .35s ease; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 26px 28px 0; }
.dialog-head h2 { font-size: 2rem; }
.dialog-head p { color: var(--clay); margin-block-start: 8px; font-size: .9688rem; }
.dialog-body { padding: 22px 28px 28px; }
.dialog-close { inline-size: 44px; block-size: 44px; border: 1px solid var(--travertine); border-radius: var(--r); background: transparent; cursor: pointer; font-size: 22px; line-height: 1; flex: none; }
@media (hover: hover) and (pointer: fine) { .dialog-close:hover { background: var(--plaster); } }
@media (max-width: 560px) { dialog.book-dialog { inline-size: 100vw; max-inline-size: 100vw; max-block-size: 100dvh; block-size: 100dvh; border-radius: 0; margin: 0; } .dialog-head, .dialog-body { padding-inline: 20px; } }

/* Book page layout */
.book-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: start; padding-block-end: var(--section); }
.book-aside { display: grid; gap: 28px; position: sticky; inset-block-start: calc(var(--header-h) + 24px); }
.book-aside .arch { aspect-ratio: 4 / 5; --arch-v: 40%; }
.book-aside dl { margin: 0; display: grid; gap: 14px; }
.book-aside dt { font-size: .8125rem; color: var(--clay); }
.book-aside dd { margin: 2px 0 0; }
@media (max-width: 960px) { .book-layout { grid-template-columns: 1fr; } .book-aside { position: static; } .book-aside .arch { display: none; } }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--cgap); align-items: end; }
.about-grid .a1 { grid-column: 1 / span 7; aspect-ratio: 3 / 2; }
.about-grid .a2 { grid-column: 9 / span 4; aspect-ratio: 4 / 5; --arch-v: 40%; }
.about-grid .a2 img { object-position: 50% 0%; } /* keep both heads clear of the arch curve */
@media (max-width: 860px) { .about-grid .a1, .about-grid .a2 { grid-column: 1 / -1; } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--cgap); }
.values div { border-block-start: 1px solid var(--travertine); padding-block-start: 20px; }
.values h3 { font-size: 1.5rem; margin-block-end: 10px; }
.values p { color: var(--clay); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* Post */
.post-head { max-inline-size: 900px; padding-block: clamp(40px, 6vw, 96px) var(--head); }
.post-head h1 { font-size: clamp(2.2rem, 1.6rem + 2.8vw, 4rem); font-weight: 300; letter-spacing: -.03em; }
.post-head .meta { margin-block-start: 18px; color: var(--clay); font-size: .9375rem; }
.post-cover { aspect-ratio: 16 / 8; margin-block-end: var(--head); }
.post-body { max-inline-size: 66ch; margin-inline: auto; font-size: 1.125rem; padding-block-end: var(--section); }
.post-body h2 { font-size: 1.75rem; margin-block: 1.6em .6em; }
.post-body > :first-child { margin-block-start: 0; }
.post-body p + p { margin-block-start: 1em; }
.post-body ul { margin: 1em 0 0; padding-inline-start: 1.25em; }
.post-body li + li { margin-block-start: .45em; }
.post-body li::marker { color: var(--pomegranate); }
.post-body p + ul, .post-body ul + p { margin-block-start: 1em; }

/* Reveal helpers (JS adds motion; content always visible without JS) */
.js [data-reveal] { opacity: 0; }
/* Headings further down the page (data-split) stay hidden from the first paint until calcea.js has split them and set
   their start state; without this the browser painted them for a frame (often still in the fallback font) and they
   blinked out before surfacing. Failsafes: .js is dropped after 3 s if the script never runs; calcea.js releases every
   heading after 2.5 s whatever happens. */
.js [data-split]:not([data-split-ready]) { opacity: 0; }
/* First screen (variant B, 04.11): nothing waits for scripts or fonts. The photo is in its frame from the first paint and
   settles from 1.04 to 1; the title, lead, buttons and meta rise 6px and fade in within half a second. Plain CSS
   animations of transform and opacity run on the compositor, so they stay smooth while the scripts are still loading,
   and the text counts as painted almost at once (it used to wait ~3 s for the GSAP intro: PageSpeed LCP). */
@keyframes hero-rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes hero-settle { from { transform: scale(1.04); } }
@media (prefers-reduced-motion: no-preference) {
  :is([data-hero-title], [data-intro]) { animation: hero-rise .5s cubic-bezier(.22,1,.36,1) backwards; }
  [data-intro] { animation-delay: .05s; }
  [data-intro] ~ [data-intro] { animation-delay: .1s; }
  [data-intro] ~ [data-intro] ~ [data-intro] { animation-delay: .15s; }
  [data-hero-media] img { animation: hero-settle 1.4s cubic-bezier(.22,1,.36,1) backwards; }
}
@media (prefers-reduced-motion: reduce) { .js [data-reveal], .js [data-split] { opacity: 1 !important; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

.ph-portrait { inline-size: 100%; block-size: 100%; display: grid; place-items: center; background: linear-gradient(180deg, var(--plaster), var(--travertine)); }
.ph-portrait span { font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 4vw, 3.5rem); color: var(--clay); letter-spacing: .02em; }

/* ---------- Smoothness layer (30.10, after review): Lenis + soft transitions everywhere ---------- */

/* page enter / leave */
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* page change: the browser's cross-document view transition (04.11). The old page stays visible while the next one loads,
   then they cross-fade; nothing is faded out in advance (that left an empty screen for seconds on slow lines, see calcea.js).
   A first visit has no transition, so PageSpeed's numbers are not touched. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: cubic-bezier(.4,0,.2,1); }
/* Language switch (21.11.2026). The page also flips its reading direction, so the plain cross-fade above laid the English and the
   mirrored Arabic layout over each other for a moment. Here the page dissolves into the limewash wall first and the other language
   rises out of it: never both at once. The new page's head script puts html.vt-lang (functions.php); CSS only, on the two page
   snapshots the browser makes anyway. */
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
html.vt-lang::view-transition-old(root) { animation: vt-out .24s cubic-bezier(.4, 0, 1, 1) both; }
html.vt-lang::view-transition-new(root) { animation: vt-in .5s cubic-bezier(0, 0, .2, 1) .18s both; }
/* The same two moves where the browser has no page-to-page transitions (Firefox, 11.2026): calcea.js dims this page while the
   next one loads, and the next page rises out of the limewash on its first paint (html.lang-enter from the head script).
   Dimmed, not faded out: fully gone, it left an empty wall for the whole wait for the server (0.7–1 s from Vietnam). And the
   new page starts from the same half-light the old one waits in, so the swap itself is a change of content, not a blink. */
html.lang-leave body { opacity: .5; transition: opacity .25s cubic-bezier(.4, 0, 1, 1); }
@keyframes lang-enter { from { opacity: .5; } }
html.lang-enter body { animation: lang-enter .4s cubic-bezier(0, 0, .2, 1) both; }

/* every interactive thing eases, nothing snaps */
a, button, .chip, .seg span, summary, .tooth path, .tooth text, .field input, .field select, .field textarea {
  transition-property: color, background-color, border-color, text-decoration-color, box-shadow, opacity, transform, fill, stroke, outline-color, outline-offset;
  transition-duration: .28s; transition-timing-function: cubic-bezier(.22,1,.36,1);
}
.btn { transition-duration: .32s; }
.btn:active, .chip:active, .seg span:active { transform: scale(.97); transition-duration: .12s; }
:focus-visible { transition: outline-offset .2s ease; }
.nav a { position: relative; text-decoration: none !important; }
.nav a::after { content: ""; position: absolute; inset-inline: 12px; inset-block-end: 6px; block-size: 1px; background: var(--pomegranate); transform: scaleX(0); transform-origin: var(--from, left); transition: transform .45s cubic-bezier(.22,1,.36,1); }
[dir="rtl"] .nav a::after { --from: right; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } .nav a:hover { background: transparent; } }
.link { transition: text-decoration-color .3s ease, color .3s ease; }
.t-card h3, .d-card h3, .j-card h3, .area-card h3 span { transition: color .35s ease; }

/* mobile menu: softer, longer */
.mobile-menu { transition: opacity .45s cubic-bezier(.22,1,.36,1), visibility 0s .45s; }
.mobile-menu.is-open { transition: opacity .5s cubic-bezier(.22,1,.36,1); }
.mobile-menu nav a { transition: transform .7s cubic-bezier(.16,1,.3,1), opacity .6s cubic-bezier(.16,1,.3,1); }
.mobile-menu .menu-foot { opacity: 0; transform: translateY(10px); transition: opacity .5s ease .1s, transform .6s cubic-bezier(.16,1,.3,1) .1s; }
.mobile-menu.is-open .menu-foot { opacity: 1; transform: none; transition-delay: .22s; }

/* dialog: eased open AND close */
dialog.book-dialog[open] { animation: dlg-in .55s cubic-bezier(.16,1,.3,1); }
dialog.book-dialog[open]::backdrop { animation: fade-in .45s ease; }
dialog.book-dialog.is-closing { animation: dlg-out .3s cubic-bezier(.4,0,.2,1) forwards; }
dialog.book-dialog.is-closing::backdrop { animation: fade-out .3s ease forwards; }
@keyframes dlg-out { to { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes fade-out { to { opacity: 0; } }
.form-status:not(:empty) { animation: page-in .45s cubic-bezier(.16,1,.3,1); }
.field .error:not(:empty) { animation: page-in .35s cubic-bezier(.16,1,.3,1); }

/* FAQ height animates (JS sets the heights) */
.faq details .faq-a { overflow: hidden; }
.faq summary::after { transition: transform .45s cubic-bezier(.22,1,.36,1); }

/* tooth panel cross-fade */
.smile-panel > * { transition: opacity .3s ease, transform .4s cubic-bezier(.16,1,.3,1); }
.smile-panel.is-swapping > * { opacity: 0; transform: translateY(6px); }

/* header show/hide and solid state ease */
.elementor-location-header { transition: transform .6s cubic-bezier(.22,1,.36,1), background-color .4s ease, box-shadow .4s ease; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}


/* Full-width hero (31.10): one wide photo, copy on the calm wall on the left */
.hero--full { padding: 0; display: grid; min-block-size: clamp(620px, calc(100svh - var(--header-h)), 920px); }
.hero--full > * { grid-area: 1 / 1; }
.hero-bg { position: relative; overflow: hidden; margin-inline-start: clamp(0px, 24vw - 160px, 460px); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
.hero-bg picture, .hero-bg img { display: block; inline-size: 100%; block-size: 100%; }
.hero-bg img { object-fit: cover; object-position: 68% 50%; transform-origin: 70% 50%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(239,231,221,.88) 0%, rgba(239,231,221,.62) 30%, rgba(239,231,221,0) 54%),
              linear-gradient(0deg, rgba(239,231,221,.35) 0%, rgba(239,231,221,0) 22%); }
.hero-inner { position: relative; z-index: 1; inline-size: 100%; display: flex; align-items: center; padding-block: clamp(40px, 6vw, 88px); }
.hero--full .hero-copy { max-inline-size: min(600px, 46vw); }
.hero--full .lead { color: var(--majlis); }
.hero--full .hero-meta { color: var(--majlis); }
@media (max-width: 860px) {
  .hero--full { display: block; min-block-size: 0; }
  .hero-bg { aspect-ratio: 4 / 5; margin-inline-start: 0; -webkit-mask-image: none; mask-image: none; }
  .hero-bg img { object-position: 50% 40%; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(239,231,221,.9) 0%, rgba(239,231,221,0) 22%); }
  .hero-inner { padding-block: 8px 40px; }
  .hero--full .hero-copy { max-inline-size: none; }
}

/* ---------- Quick contact: WhatsApp (desktop float), phone bottom bar, demo toast ---------- */
.wa-float { position: fixed; z-index: 60; inset-block-end: 24px; inset-inline-end: 24px; display: inline-flex; align-items: center; gap: 0; block-size: 56px; min-inline-size: 56px; padding-inline: 16px; border-radius: var(--r); background: var(--majlis); color: var(--limewash); text-decoration: none; font-family: var(--f-display); font-size: .9375rem; box-shadow: 0 10px 30px -12px rgba(38, 24, 27, .55); transition: gap .35s var(--ease), padding .35s var(--ease), background-color .2s; }
.wa-float svg { inline-size: 24px; block-size: 24px; flex: none; }
.wa-float span { max-inline-size: 0; overflow: hidden; white-space: nowrap; transition: max-inline-size .35s var(--ease); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { gap: 10px; padding-inline: 18px 22px; background: var(--majlis-2); } .wa-float:hover span { max-inline-size: 90px; } }
.wa-float:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
html:not(.is-pointer) .wa-float:focus-visible { gap: 10px; } html:not(.is-pointer) .wa-float:focus-visible span { max-inline-size: 90px; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--f-display); }
.wa-link svg { inline-size: 18px; block-size: 18px; }
.m-bar { display: none; }
@media (max-width: 860px) {
  .wa-float { display: none; }
  body { padding-block-end: 0; }
  :root { --dock-gap: max(10px, calc(env(safe-area-inset-bottom) - 4px)); } /* iOS 26 Safari reports its floating address bar (plus ~16pt of air) as the bottom safe area; minus 4px leaves ~12pt between our bar and Safari's, the same as the side gaps (from the user's iPhone screenshot, 21.11.2026). Elsewhere: 10px */
  .site-footer { padding-block-end: calc(28px + 52px + 12px + var(--dock-gap)); } /* room for the floating bar (52px + 12px from the bottom + 12px air) inside the dark footer, so the page doesn't end on a light strip */
  .m-bar { position: fixed; z-index: 60; inset-inline: 0; inset-block-end: 0; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1px; padding-block-end: env(safe-area-inset-bottom); background: var(--majlis); box-shadow: 0 -8px 24px -16px rgba(38, 24, 27, .6); transition: transform .4s var(--ease); }
  .m-bar > * { display: flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 64px; border: 0; background: var(--majlis); color: var(--limewash); font: 450 .9375rem/1 var(--f-display); text-decoration: none; cursor: pointer; }
  .mbar > :first-child { background: var(--pomegranate); }
  .mbar > * + * { box-shadow: inset 1px 0 0 color-mix(in srgb, var(--limewash) 14%, transparent); }
  .m-bar svg { inline-size: 20px; block-size: 20px; flex: none; }
}
.toast { position: fixed; z-index: 80; inset-inline: 0; inset-block-end: 24px; margin-inline: auto; inline-size: max-content; max-inline-size: min(92vw, 460px); padding: 14px 18px; border-radius: var(--r); background: #FFFDF9; color: var(--majlis); border: 1px solid var(--travertine); font-size: .9375rem; line-height: 1.45; box-shadow: 0 16px 40px -18px rgba(38, 24, 27, .7); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.toast.is-on { opacity: 1; transform: none; }
@media (max-width: 860px) { .toast { inset-block-end: calc(52px + 12px + var(--dock-gap, 10px)); } }

/* ---------- Getting here (illustrative map) ---------- */
.getting-here .lead { margin-block-start: 14px; }
.getting-here { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: center; border-block-start: 1px solid var(--travertine); }
.here-map { margin: 0; }
.map { display: block; inline-size: 100%; block-size: auto; border-radius: var(--r); }
.map-land { fill: var(--plaster); }
.map-sea { fill: #D6DDD8; }
.map-beach { fill: none; stroke: #F3E9D9; stroke-width: .09; stroke-linejoin: round; }
.map-blocks rect { fill: color-mix(in srgb, var(--travertine) 42%, var(--plaster)); }
.map-blocks .map-tower { fill: color-mix(in srgb, var(--travertine) 62%, var(--plaster)); }
.map-park { fill: #D9DCC9; }
.map-mall { fill: color-mix(in srgb, var(--travertine) 70%, var(--plaster)); }
.map-canal { fill: none; stroke: #D6DDD8; stroke-width: .13; }
.map-road { fill: none; stroke: #F7F1E8; stroke-width: .085; stroke-linecap: round; }
.map-road--main { stroke-width: .17; }
.map-road--minor { stroke-width: .04; stroke: #F4EDE3; }
.map-clinic { fill: color-mix(in srgb, var(--pomegranate) 30%, var(--plaster)); stroke: var(--pomegranate); stroke-width: .025; }
.map-label, .map-area, .map-poi text, .map-pin text { paint-order: stroke; stroke: var(--plaster); stroke-width: 3px; stroke-linejoin: round; }
.map-label { font: 500 11px var(--f-display); fill: var(--clay); letter-spacing: .02em; }
.map-label--soft { fill: color-mix(in srgb, var(--clay) 80%, transparent); stroke: #F3E9D9; }
.map-label--water { fill: #7F918B; stroke: #D6DDD8; font-size: 10px; }
.map-label--park { fill: #7D8468; stroke: #D9DCC9; font-size: 10px; }
.map-area { font: 500 10px var(--f-display); fill: color-mix(in srgb, var(--clay) 75%, transparent); letter-spacing: .16em; text-transform: uppercase; }
.map-sea-label { font: 300 18px var(--f-display); fill: #8C9C96; letter-spacing: .14em; text-transform: uppercase; }
.map-poi circle, .map-poi path { fill: var(--majlis); }
.map-poi text { font: 500 11px var(--f-display); fill: var(--majlis); }
.map-pin path:first-of-type { fill: var(--pomegranate); }
.map-pin text { font: 600 16px var(--f-display); fill: var(--majlis); }
.map-pulse { fill: var(--pomegranate); opacity: .14; }
.map-scale path { fill: none; stroke: var(--clay); stroke-width: 1.4; }
.map-scale text { font: 500 10px var(--f-display); fill: var(--clay); }
.map-north path { fill: var(--clay); } .map-north text { font: 500 11px var(--f-display); fill: var(--clay); }
@media (max-width: 600px) { /* the map scales down to ~55%: keep the labels readable */
  .map-label, .map-poi text { font-size: 17px; } .map-label--water, .map-label--park { font-size: 15px; }
  .map-area { font-size: 15px; } .map-sea-label { font-size: 20px; } .map-pin text { font-size: 24px; }
  .map-scale text, .map-north text { font-size: 16px; }
  .map-area--wasl { display: none; }
}
.map-note { margin: 10px 0 0; font-size: .8125rem; color: var(--clay); }
.here-list { list-style: none; padding: 0; margin: 28px 0 0; border-block-start: 1px solid var(--travertine); }
.here-list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding-block: 14px; border-block-end: 1px solid var(--travertine); }
.here-list strong { font-family: var(--f-display); font-weight: 450; }
.good-to-know { border-block-start: 1px solid var(--travertine); }
@media (max-width: 860px) { .getting-here { grid-template-columns: 1fr; } .here-list li { grid-template-columns: 1fr; gap: 2px; } }
@media (prefers-reduced-motion: no-preference) { .map-pulse { transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.8s var(--ease) infinite; } }
@keyframes pin-pulse { 0% { transform: scale(.4); opacity: .3; } 100% { transform: scale(1.4); opacity: 0; } }

/* ---------- The Clinic: rooms ---------- */
.rooms { border-block-start: 1px solid var(--travertine); }
.rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cgap); }
.room-card { display: grid; gap: 10px; text-decoration: none; }
.room-card .arch { aspect-ratio: 3 / 4; --arch-v: 37.5%; margin-block-end: 8px; }
.room-card h3 { font-size: var(--step-h3); }
.room-card p { margin: 0; color: var(--clay); max-inline-size: 36ch; }
.room-card img { transition: transform 1s var(--ease); }
@media (hover: hover) and (pointer: fine) { .room-card:hover img { transform: scale(1.035); } .room-card:hover h3 { color: var(--pomegranate); } }
@media (max-width: 860px) { .rooms-grid { grid-template-columns: 1fr; } .room-card .arch { aspect-ratio: 4 / 3; --arch-v: 50%; } }

@media (min-width: 861px) { .footer-legal { padding-inline-end: 96px; } }
.nowrap { white-space: nowrap; }
/* Contact page */
.contact-map { margin: 0 0 var(--head); border-radius: var(--r); overflow: hidden; aspect-ratio: 1000 / 440; background: var(--plaster); }
.contact-map svg { display: block; inline-size: 100%; block-size: 100%; }
.contact-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--cgap); padding-block-end: var(--sub); }
.contact-ways .way { display: grid; align-content: start; gap: 6px; border-block-start: 1px solid var(--travertine); padding-block-start: 22px; color: inherit; text-decoration: none; }
.way-ic { inline-size: 26px; block-size: 26px; color: var(--pomegranate); margin-block-end: 10px; }
.way-ic svg { inline-size: 100%; block-size: 100%; }
.way-k { font-size: .8125rem; color: var(--clay); letter-spacing: .02em; }
.way-v { font-family: var(--f-display); font-size: 1.375rem; line-height: 1.3; overflow-wrap: anywhere; transition: color .2s; }
.way-n { font-size: .9375rem; color: var(--clay); max-inline-size: 34ch; }
@media (hover: hover) and (pointer: fine) { .contact-ways a.way:hover .way-v { color: var(--pomegranate); } }
.contact-ways .way:focus-visible { outline: 2px solid var(--ring); outline-offset: 6px; border-radius: var(--r); }
@media (max-width: 960px) { .contact-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .contact-map { aspect-ratio: 1 / .92; border-radius: var(--r); } .map-scale, .map-north, .map-sea-label { display: none; } }
@media (max-width: 520px) { .contact-ways { grid-template-columns: 1fr; gap: 28px; } }
.book-aside > .link { display: inline-block; margin-block-start: 18px; }

/* ---------- Language switch + Arabic (RTL) layer, 02.11 ----------
   Layout already uses logical properties, so most of the page mirrors by itself under dir="rtl".
   This block holds only what cannot mirror on its own, plus Arabic typography. */
.lang-switch { font-family: var(--f-display); font-size: .9375rem; text-decoration: none; padding: 8px 10px; border-radius: var(--r); color: var(--clay); transition: color .2s; white-space: nowrap; }
.lang-switch:hover { color: var(--pomegranate); }
html:lang(en) .lang-switch { font-family: "Segoe UI", "Geeza Pro", "Noto Sans Arabic", system-ui, sans-serif; font-size: 1rem; } /* the word «عربي» on English pages: system font, so EN pages never download the Arabic font */
.header-row > .lang-switch { margin-inline-start: -14px; }
/* phones and tablets: the switch sits just before «Menu» / «Close», in the same spot whether the menu is open or not */
.mobile-menu .header-row > .lang-switch { color: var(--sand); }
@media (max-width: 1060px) {
  .header-row > .lang-switch { margin-inline-start: auto; margin-inline-end: -14px; padding: 10px; }
  .header-row > .lang-switch ~ .menu-toggle, .header-row > .lang-switch ~ .menu-close { margin-inline-start: 0; }
}
@media (min-width: 1061px) { .mobile-menu .header-row > .lang-switch { display: none; } }
.lang-switch .ls-short { display: none; }
/* phones: «EN» instead of «English» (as most Arabic sites do), tighter header, the tagline stays on one line from 360px up */
@media (max-width: 480px) {
  .header-row { gap: 12px; }
  .lang-switch .ls-full { display: none; } .lang-switch .ls-short { display: inline; }
}
@media (min-width: 360px) and (max-width: 480px) { .header-row .logo small { white-space: nowrap; } }
/* narrow desktops: the switch takes ~60px, so the header items sit a little closer instead of wrapping */
@media (min-width: 1061px) and (max-width: 1240px) { .header-row { gap: 16px; } .nav { gap: 0; } .nav a { padding-inline: 9px; } .header-row > .lang-switch { margin-inline-start: -8px; } }

/* drawings keep their own geometry: the chart is anatomical (patient's right on the viewer's left) and the map is a map */
.smile-chart svg, .map { direction: ltr; }

[dir="rtl"] .hero-bg { -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 14%); mask-image: linear-gradient(270deg, transparent 0, #000 14%); }
[dir="rtl"] .hero-bg > .elementor-widget-image { transform: scaleX(-1); } /* mirror the photo (no text in it) so the people stay clear of the copy; the img inside keeps its own GSAP zoom */
[dir="rtl"] .hero-bg::after { background: linear-gradient(270deg, rgba(239,231,221,.88) 0%, rgba(239,231,221,.62) 30%, rgba(239,231,221,0) 54%), linear-gradient(0deg, rgba(239,231,221,.35) 0%, rgba(239,231,221,0) 22%); }
@media (max-width: 860px) {
  [dir="rtl"] .hero-bg { -webkit-mask-image: none; mask-image: none; }
  [dir="rtl"] .hero-bg > .elementor-widget-image { transform: none; }
  [dir="rtl"] .hero-bg::after { background: linear-gradient(0deg, rgba(239,231,221,.9) 0%, rgba(239,231,221,0) 22%); }
}
/* price rows: the arrow points and travels toward the inline end */
[dir="rtl"] .price-table .go { transform: translateX(8px); }
@media (hover: hover) and (pointer: fine) {
  [dir="rtl"] .price-table tbody tr:hover .pn, [dir="rtl"] .price-table tbody tr:hover .go { transform: translateX(-6px); }
}
[dir="rtl"] .price-table tbody tr.is-pressed .pn, [dir="rtl"] .price-table tbody tr:active .pn,
[dir="rtl"] .price-table tbody tr.is-pressed .go, [dir="rtl"] .price-table tbody tr:active .go { transform: translateX(-6px); }
/* phone and email fields are typed left to right, aligned with the Arabic labels */
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"] { direction: ltr; text-align: right; }

/* Arabic typography: no tracking on a joined script, taller lines for dots and descenders */
/* no tracking on a joined script — only on the elements that set it (a universal "html[lang=ar] *" rule made
   Safari's scrolling on Arabic pages stutter: 59 → 5 dropped frames per run without it, measured on iPhone 02.11) */
html[lang="ar"] :is(h1, h2, h3, h4, .btn, .logo, .logo small, .menu-toggle, .menu-close, .mobile-menu nav a, .concern-sentence,
  .smile-side, .smile-panel .fdi, .quotes blockquote, .faq summary, .doc-hero blockquote, .ph-portrait span,
  .map-label, .map-area, .map-sea-label, .way-k, .footer-grid h2) { letter-spacing: normal; }
html[lang="ar"] body { line-height: 1.75; }
html[lang="ar"] :is(h1, h2, h3, h4) { line-height: 1.3; }
html[lang="ar"] .hero h1 { line-height: 1.22; }
html[lang="ar"] .lead { line-height: 1.75; }

/* =====================================================================================================
   ELEMENTOR ADAPTER — the same design on Elementor's markup. Everything above is the prototype's
   stylesheet; the rules below map Elementor's widgets onto it. Classes are set in each element's
   Advanced → CSS Classes, so a client can reuse them on new sections.
   ===================================================================================================== */
:root { --lh-text: 1.6; } html[lang="ar"] { --lh-text: 1.75; } /* body leading, for widgets that stand in for inherited text */

/* ---------- Containers: no default padding or gaps (spacing comes from the Calcea classes) ---------- */
body { --container-default-padding-top: 0px; --container-default-padding-right: 0px; --container-default-padding-bottom: 0px; --container-default-padding-left: 0px;
  --widgets-spacing: 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px; --kit-widget-spacing: 0px; }
.e-con { --row-gap: 0px; --column-gap: 0px; --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --content-width: 100%; }
.e-con.e-child { --width: auto; }
.elementor-widget:not(:last-child) { margin-block-end: 0; }
.elementor img { border-radius: 0; }
.elementor-widget-text-editor p:last-child { margin-block-end: 0; }
/* the site's <main> (every template and page starts with it) */
.site-main { display: block; }
.section-spacer { block-size: var(--section); }
.hairline { border-block-start: 1px solid var(--travertine); }
/* "two plain sections share one gap" and "a hairline has the medium gap on both sides" — same rules on Elementor's tree */
main > .wrap > .section:has(+ :is(.rooms, .good-to-know, .price-group, .hairline)) { padding-block-end: var(--sub); }
.section--before-line { padding-block-end: var(--sub); }

/* ---------- Typography helpers on widget wrappers ---------- */
.h2--sm { font-size: 2rem; }
.lead--spaced { margin-block-start: 20px; }
.lead--smile { margin-block-start: 18px; }
.lead--wide { max-inline-size: none; }
.section-head--tight { margin-block-end: 32px; }
.term-title { font-size: clamp(2.8rem, 1.8rem + 4vw, 5.2rem); font-weight: 300; letter-spacing: -.035em; }
html[lang="ar"] .term-title { letter-spacing: normal; }
.page-head--404 { min-block-size: 50vh; }
.page-head--404 .hero-actions { margin-block-start: 28px; }
.price-note { padding-block: 32px var(--section); border-block-start: 1px solid var(--travertine); max-inline-size: 70ch; }

/* ---------- Buttons: Elementor's button widget dressed as .btn ---------- */
.elementor-widget-button .elementor-button { all: unset; box-sizing: border-box; cursor: pointer; }
.elementor-widget-button .elementor-button:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; } /* "all: unset" above wipes the global ring */
.elementor-widget-button .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: .6em; }
.elementor-widget-button .elementor-button-icon { display: inline-flex; }
.elementor-widget-button .elementor-button-icon svg { inline-size: 1.2em; block-size: 1.2em; fill: none; }
:is(.b-primary, .b-ghost, .b-light) .elementor-button { display: inline-flex; align-items: center; justify-content: center; min-block-size: 50px; padding: 0 26px; border-radius: var(--r); border: 1px solid transparent;
  font-family: var(--f-display); font-weight: 450; font-size: 1rem; letter-spacing: .005em; line-height: var(--lh-text); text-decoration: none; text-align: center;
  transition: background-color .32s cubic-bezier(.22,1,.36,1), color .32s cubic-bezier(.22,1,.36,1), border-color .32s cubic-bezier(.22,1,.36,1), transform .32s cubic-bezier(.22,1,.36,1); }
.b-primary .elementor-button { background: var(--pomegranate); color: #fff; }
.b-ghost .elementor-button { border-color: currentColor; background: transparent; color: inherit; }
.b-light .elementor-button { background: var(--limewash); color: var(--majlis); }
.b-sm .elementor-button { min-block-size: 42px; padding: 0 18px; font-size: .9375rem; }
@media (hover: hover) and (pointer: fine) {
  .b-primary .elementor-button:hover { background: var(--pomegranate-ink); }
  .b-ghost .elementor-button:hover { background: var(--majlis); color: var(--limewash); border-color: var(--majlis); }
  .dark .b-ghost .elementor-button:hover { background: var(--limewash); color: var(--majlis); border-color: var(--limewash); }
  .b-light .elementor-button:hover { background: #fff; }
}
:is(.b-primary, .b-ghost, .b-light) .elementor-button:active { transform: scale(.97); transition-duration: .12s; }
.b-primary .elementor-button:focus-visible, .b-ghost .elementor-button:focus-visible, .b-light .elementor-button:focus-visible, .b-link .elementor-button:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
/* text link (".link") */
.b-link .elementor-button { font-family: var(--f-display); font-weight: 450; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color .3s ease, color .3s ease; }
.b-link .elementor-button:hover { text-decoration-color: currentColor; }
.hero-actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

/* ---------- Header ---------- */
.elementor-location-header { position: sticky; inset-block-start: 0; z-index: 40; }
.admin-bar .elementor-location-header { inset-block-start: var(--wp-admin--admin-bar--height, 32px); }
.header-row { flex-direction: row; flex-wrap: nowrap; }
.logo { display: inline-flex; flex-direction: row; align-items: center; gap: 10px; color: inherit; text-decoration: none; inline-size: auto; flex: none; }
.logo .logo-mark, .logo .elementor-icon-wrapper, .logo .elementor-icon { display: flex; line-height: 0; color: inherit; font-size: 24px; }
.logo .logo-mark svg { inline-size: 18px; block-size: 24px; }
.logo-words { gap: 0; }
.logo-name { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1; letter-spacing: .01em; }
.logo-tag { font-family: var(--f-text); font-size: .6875rem; letter-spacing: .02em; line-height: 1; color: var(--clay); margin-block-start: 3px; text-wrap: nowrap; }
.logo--light { color: var(--limewash); }
.logo--light .logo-tag { color: var(--sand); }
/* main navigation (Nav Menu widget, horizontal, no dropdown) */
.nav { margin-inline-start: auto; }
.nav .elementor-nav-menu--dropdown, .nav .elementor-menu-toggle, .mm-nav .elementor-nav-menu--dropdown, .mm-nav .elementor-menu-toggle { display: none !important; }
.nav .elementor-nav-menu { display: flex; flex-direction: row; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav .elementor-nav-menu .menu-item a.elementor-item { position: relative; display: block; padding: 10px 12px; color: inherit; font-family: var(--f-display); font-size: .9688rem; line-height: var(--lh-text); border-radius: var(--r); text-decoration: none; }
.nav .elementor-nav-menu a.elementor-item::before { display: none; }
.nav .elementor-nav-menu a.elementor-item::after { content: ""; position: absolute; inset-inline: 12px; inset-block-end: 6px; block-size: 1px; background: var(--pomegranate); opacity: 1;
  transform: scaleX(0); transform-origin: var(--from, left); transition: transform .45s cubic-bezier(.22,1,.36,1); }
[dir="rtl"] .nav .elementor-nav-menu a.elementor-item::after { --from: right; }
.nav .elementor-nav-menu a[aria-current="page"]::after, .nav .elementor-nav-menu .current-menu-item > a::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav .elementor-nav-menu a.elementor-item:hover::after { transform: scaleX(1); } }
.header-row > .lang-slot { margin-inline-start: -14px; }
.lang-slot:empty { display: none; }
/* "Menu" toggle: label + two short lines; "Close" sits on the same spot and its lines fold into a cross */
.mt-toggle, .mt-close { margin-inline-start: auto; margin-inline-end: -10px; }
.mt-toggle { display: none; }
.mt-toggle .elementor-button, .mt-close .elementor-button { display: inline-flex; align-items: center; block-size: 48px; padding-inline: 10px; border-radius: var(--r); color: inherit;
  font-family: var(--f-display); font-size: .9375rem; line-height: 1; letter-spacing: .01em; }
.mt-toggle .elementor-button-content-wrapper::after, .mt-close .elementor-button-content-wrapper::after { content: ""; position: relative; inline-size: 16px; block-size: 9px; margin-inline-start: 0; flex: none;
  background: linear-gradient(currentColor 0 0) top / 100% 1.5px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 1.5px no-repeat; }
.mt-close .elementor-button-content-wrapper::after { background: none; }
.mt-close .elementor-button-content-wrapper { position: relative; }
.mt-close .elementor-button-content-wrapper::before, .mt-close .elementor-button-text::after { content: ""; position: absolute; inset-inline-end: 0; inline-size: 16px; block-size: 1.5px; background: currentColor;
  transition: transform .5s cubic-bezier(.22,1,.36,1) .12s; }
.mt-close .elementor-button-content-wrapper::before { inset-block-start: calc(50% - 4.5px); }
.mt-close .elementor-button-text::after { inset-block-start: calc(50% + 3px); }
.menu-oc .e-off-canvas[aria-hidden="false"] .mt-close .elementor-button-content-wrapper::before { transform: translateY(3.75px) rotate(45deg); }
.menu-oc .e-off-canvas[aria-hidden="false"] .mt-close .elementor-button-text::after { transform: translateY(-3.75px) rotate(-45deg); }
@media (max-width: 1060px) {
  .nav, .header-row > .header-book { display: none; }
  .mt-toggle { display: block; }
  .header-row > .lang-slot { margin-inline-start: auto; margin-inline-end: -14px; }
  .header-row > .lang-slot ~ .mt-toggle, .header-row > .lang-slot ~ .mt-close { margin-inline-start: 0; }
  .header-row > .lang-slot .lang-switch { padding: 10px; }
}
@media (min-width: 1061px) { .mobile-menu .header-row > .lang-slot { display: none; } }
@media (min-width: 1061px) and (max-width: 1240px) { .header-row { gap: 16px; } .nav .elementor-nav-menu { gap: 0; } .nav .elementor-nav-menu a.elementor-item { padding-inline: 9px; } .header-row > .lang-slot { margin-inline-start: -8px; } }
@media (max-width: 480px) { .header-row { gap: 12px; } }

/* ---------- Off-canvas panels (booking dialog, mobile menu) ---------- */
.elementor-widget-off-canvas { --e-off-canvas-animation-duration: .5s; }
.elementor-widget-off-canvas .e-off-canvas { z-index: 90; }
.elementor-widget-off-canvas .e-off-canvas__content { background: none; box-shadow: none; }
/* mobile menu: full screen, majlis */
.menu-oc { --e-off-canvas-width: 100%; --e-off-canvas-height: 100%; }
.menu-oc .e-off-canvas__content { inline-size: 100%; block-size: 100dvh; background: var(--majlis); color: var(--limewash); overflow: auto; }
.menu-oc .e-off-canvas__overlay { display: none; }
.mobile-menu { position: static; inset: auto; visibility: visible; opacity: 1; transition: none; min-block-size: 100%; display: flex; flex-direction: column; padding: 0 var(--pad) max(28px, env(safe-area-inset-bottom)); background: var(--majlis); color: var(--limewash); }
.mobile-menu .header-row { justify-content: space-between; block-size: var(--header-h); gap: 28px; }
@media (max-width: 480px) { .mobile-menu .header-row { gap: 12px; } } /* phones: the same tighter header as the page header (prototype) */
.mobile-menu .lang-switch { color: var(--sand); }
.mm-nav { margin-block: 24px auto; }
.mm-nav .elementor-nav-menu { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.mm-nav .elementor-nav-menu a.elementor-item { display: block; padding: 8px 0; color: var(--limewash); font-family: var(--f-display); font-size: clamp(2rem, 8vw, 2.75rem); line-height: var(--lh-text); letter-spacing: -.02em; text-decoration: none;
  border-block-end: 1px solid color-mix(in srgb, var(--limewash) 14%, transparent); transform: translateY(14px); opacity: 0; transition: transform .7s cubic-bezier(.16,1,.3,1), opacity .6s cubic-bezier(.16,1,.3,1); }
.mm-nav .elementor-nav-menu a.elementor-item::before, .mm-nav .elementor-nav-menu a.elementor-item::after { display: none; }
.menu-oc .e-off-canvas[aria-hidden="false"] .mm-nav a.elementor-item { transform: none; opacity: 1; }
.menu-oc .e-off-canvas[aria-hidden="false"] .mm-nav li:nth-child(2) a { transition-delay: .03s } .menu-oc .e-off-canvas[aria-hidden="false"] .mm-nav li:nth-child(3) a { transition-delay: .06s }
.menu-oc .e-off-canvas[aria-hidden="false"] .mm-nav li:nth-child(4) a { transition-delay: .09s } .menu-oc .e-off-canvas[aria-hidden="false"] .mm-nav li:nth-child(5) a { transition-delay: .12s }
.menu-oc .e-off-canvas[aria-hidden="false"] .mm-nav li:nth-child(6) a { transition-delay: .15s } .menu-oc .e-off-canvas[aria-hidden="false"] .mm-nav li:nth-child(7) a { transition-delay: .18s }
.mobile-menu .menu-foot { display: grid; gap: 14px; color: var(--sand); font-size: .9375rem; opacity: 0; transform: translateY(10px); transition: opacity .5s ease .1s, transform .6s cubic-bezier(.16,1,.3,1) .1s; }
.menu-oc .e-off-canvas[aria-hidden="false"] .menu-foot { opacity: 1; transform: none; transition-delay: .22s; }
.menu-foot .b-light .elementor-button { inline-size: 100%; }
html.menu-open, html.menu-open body { overflow: hidden; }
/* booking dialog: centred, 640px, grows in; full screen on phones */
.book-oc { --e-off-canvas-width: min(640px, calc(100vw - 24px)); --e-off-canvas-height: auto; --e-off-canvas-justify-content: center; --e-off-canvas-align-items: center; }
.book-oc .e-off-canvas__overlay { background: rgba(38, 24, 27, .55); }
.book-oc .e-off-canvas__content { block-size: auto; max-block-size: calc(100dvh - 24px); overflow: auto; border-radius: var(--r); background: var(--limewash); color: var(--majlis); box-shadow: 0 30px 80px -20px rgba(38, 24, 27, .45); overscroll-behavior: contain; }
.book-oc .e-off-canvas__main.animated.fadeIn { animation-name: calcea-dlg-in; animation-timing-function: cubic-bezier(.16,1,.3,1); }
.book-oc .e-off-canvas__main.animated.reverse.fadeIn { animation-name: calcea-dlg-in; animation-timing-function: cubic-bezier(.4,0,.2,1); animation-duration: .3s; }
.book-oc .e-off-canvas[aria-hidden="false"] .e-off-canvas__overlay { animation: fade-in .45s ease; }
.book-oc .animated-reverse-wrapper .e-off-canvas__overlay { animation: fade-out .3s ease forwards; }
@keyframes calcea-dlg-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.book-dialog { color: var(--majlis); }
.dialog-head { flex-direction: row; justify-content: space-between; align-items: start; gap: 16px; padding: 26px 28px 0; }
.dialog-head h2, .dialog-head .elementor-widget-heading { font-size: 2rem; }
.dialog-head p { color: var(--clay); margin-block-start: 8px; font-size: .9688rem; }
.dlg-close { flex: none; }
.dlg-close .elementor-button { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border: 1px solid var(--travertine); border-radius: var(--r); font-size: 22px; line-height: 1; color: var(--majlis); }
@media (hover: hover) and (pointer: fine) { .dlg-close .elementor-button:hover { background: var(--plaster); } }
.dialog-body { padding: 22px 28px 28px; gap: 18px; }
@media (max-width: 560px) {
  .book-oc { --e-off-canvas-width: 100vw; }
  .book-oc .e-off-canvas__content { max-block-size: 100dvh; block-size: 100dvh; border-radius: 0; }
  .dialog-head, .dialog-body { padding-inline: 20px; }
}

/* ---------- Footer, WhatsApp float, phone bar ---------- */
.site-footer .footer-grid > .e-con > .elementor-widget-heading { font-family: var(--f-display); font-size: .8125rem; font-weight: 500; color: var(--brass); letter-spacing: .02em; margin-block-end: 14px; }
.site-footer .footer-grid .elementor-heading-title { margin: 0; }
.site-footer .elementor-icon-list-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .elementor-icon-list-item, .site-footer .elementor-icon-list-item > a { display: block; padding: 0; margin: 0; font-size: inherit; line-height: var(--lh-text); }
.site-footer .elementor-icon-list-item > a { color: var(--limewash); text-decoration: none; }
.site-footer .elementor-icon-list-item > a:hover { text-decoration: underline; }
.site-footer .elementor-icon-list-icon { display: none; }
.site-footer .elementor-icon-list-text { color: inherit; padding: 0; }
.footer-grid > :first-child { gap: 0; }
.footer-legal { flex-direction: row; }
.footer-legal p { margin: 0; }
.wa-btn .elementor-button { position: fixed; z-index: 60; inset-block-end: 24px; inset-inline-end: 24px; display: inline-flex; align-items: center; block-size: 56px; min-inline-size: 56px; padding-inline: 16px; border-radius: var(--r);
  background: var(--majlis); color: var(--limewash); font-family: var(--f-display); font-size: .9375rem; box-shadow: 0 10px 30px -12px rgba(38, 24, 27, .55);
  transition: padding .35s var(--ease), background-color .2s; }
.wa-btn .elementor-button-content-wrapper { gap: 0; transition: gap .35s var(--ease); }
.wa-btn .elementor-button-icon svg { inline-size: 24px; block-size: 24px; }
.wa-btn .elementor-button-text { max-inline-size: 0; overflow: hidden; white-space: nowrap; transition: max-inline-size .35s var(--ease); }
@media (hover: hover) and (pointer: fine) { .wa-btn .elementor-button:hover { padding-inline: 18px 22px; background: var(--majlis-2); } .wa-btn .elementor-button:hover .elementor-button-content-wrapper { gap: 10px; } .wa-btn .elementor-button:hover .elementor-button-text { max-inline-size: 90px; } }
.wa-btn .elementor-button:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; } html:not(.is-pointer) .wa-btn .elementor-button:focus-visible .elementor-button-content-wrapper { gap: 10px; } html:not(.is-pointer) .wa-btn .elementor-button:focus-visible .elementor-button-text { max-inline-size: 90px; }
.wa-inline .elementor-button { display: flex; inline-size: fit-content; align-items: center; color: inherit; font-family: var(--f-display); text-decoration: none; }
.wa-inline .elementor-button-content-wrapper { gap: 8px; }
.wa-inline .elementor-button-icon svg { inline-size: 18px; block-size: 18px; }
@media (max-width: 860px) {
  .wa-btn { display: none; }
  /* the quick-contact bar floats like the header plate (21.11.2026): same glass, same 12px inset, same radius; the page shows around
     it and under Safari's bottom bar (nothing fixed touches the bottom edge, so Safari doesn't paint that zone in the bar's colour) */
  .mbar { position: fixed; z-index: 60; inset-inline: var(--hdr-inset, 12px); inset-block-end: var(--dock-gap); inline-size: auto; --width: auto; margin: 0; padding: 0;
    display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0; border-radius: var(--r); overflow: hidden;
    background: color-mix(in srgb, var(--limewash) 84%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--travertine) 55%, transparent), 0 12px 28px -20px rgba(38, 24, 27, .45);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
  .mbar > .elementor-widget-button { display: flex; }
  .mbar > * + * { border-inline-start: 1px solid color-mix(in srgb, var(--travertine) 70%, transparent); }
  .mbar .elementor-button { display: flex; align-items: center; justify-content: center; inline-size: 100%; min-block-size: 52px; background: transparent; color: var(--majlis); font: 450 .9375rem/1 var(--f-display); }
  .mbar .elementor-button-content-wrapper { gap: 8px; }
  .mbar .elementor-button:focus-visible { outline: 2px solid var(--ring); outline-offset: -6px; }
  .mbar > :first-child .elementor-button { background: var(--pomegranate); color: var(--limewash); }
  .mbar > :first-child .elementor-button:focus-visible { outline-color: var(--limewash); }
  .mbar > * + * .elementor-button:active { background: color-mix(in srgb, var(--travertine) 40%, transparent); }
  .mbar > :first-child .elementor-button:active { background: var(--pomegranate-ink); }
  .mbar .elementor-button-icon svg { inline-size: 20px; block-size: 20px; }
  /* with the menu or the booking panel open it fades on the spot, like the header plate (never slides through the bottom edge) */
  .menu-open .mbar { opacity: 0; transform: translateY(4px); visibility: hidden; pointer-events: none; transition: opacity .3s ease, transform .3s ease, visibility 0s .3s; }
}

/* ---------- Booking band ---------- */
.band-slot, .band-slot > .elementor { display: block; }
.book-band .bg { position: absolute; inset: 0; z-index: 0; }
.book-band .bg .elementor-widget-image, .book-band .bg img { inline-size: 100%; block-size: 100%; }
.book-band .bg img { object-fit: cover; opacity: .9; }
.book-band .contact .elementor-heading-title a { text-decoration: none; }
.book-band .contact .num .elementor-heading-title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.book-band .contact .num { font-family: var(--f-text); font-size: .9688rem; letter-spacing: 0; line-height: var(--lh-text); }
.book-band .contact .elementor-widget-heading { font-family: var(--f-text); font-size: .9688rem; letter-spacing: 0; line-height: var(--lh-text); }
.book-band .actions { flex-direction: row; }

/* ---------- Images inside frames and arches ---------- */
:is(.frame, .arch, .hero-bg) > .elementor-widget-image { block-size: 100%; inline-size: 100%; }
:is(.frame, .arch, .hero-bg) .elementor-widget-image img, :is(.frame, .arch) img { inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; }

/* ---------- Home ---------- */
.hero--full > .e-con { grid-area: 1 / 1; }
/* the photo stays in flow, like the prototype: its 3:2 ratio sets the hero height when that beats the viewport minimum */
.hero-copy { gap: 0; }
.hero .lead p, .hero .hero-meta p { margin: 0; }
.hero .hero-meta p { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero--full .hero-meta { margin-block-start: clamp(36px, 5vw, 72px); font-size: .875rem; }
.hero--full .hero-meta strong { font-family: var(--f-display); font-weight: 500; }
.hero--full .lead { margin-block: clamp(20px, 2.4vw, 32px) clamp(28px, 3vw, 40px); max-inline-size: 34ch; }
@media (max-width: 860px) {
  /* one photo for both layouts: on phones the wide shot is cover-cropped to 4:5 on the same spot the prototype's tall crop used */
  .hero-bg img { object-position: 100% 50% !important; }
}
.concern-chips { flex-direction: row; }
.b-chip .elementor-button { display: inline-flex; align-items: center; gap: 8px; min-block-size: 40px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--travertine); background: transparent; color: inherit;
  font-family: var(--f-display); font-size: .9375rem; letter-spacing: 0; white-space: nowrap; transition: background-color .28s, border-color .28s, color .28s, transform .28s; transition-timing-function: cubic-bezier(.22,1,.36,1); }
.concern-chips .b-chip .elementor-button { font-size: 1.0625rem; min-block-size: 48px; padding: 0 20px; }
@media (hover: hover) and (pointer: fine) { .b-chip .elementor-button:hover { border-color: var(--majlis); } }
.b-chip .elementor-button:active { transform: scale(.97); transition-duration: .12s; }
.area-card { color: inherit; }
.area-h { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; }
.area-h .elementor-widget-heading:first-child { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); transition: color .35s ease; }
.area-h .area-count { font-family: var(--f-text); font-size: .875rem; letter-spacing: 0; color: var(--clay); }
.area-card .elementor-widget-text-editor { color: var(--clay); max-inline-size: 34ch; }
@media (hover: hover) and (pointer: fine) { .area-card:hover .area-h .elementor-widget-heading:first-child { color: var(--pomegranate); } }
a.area-card:active .area-h .elementor-widget-heading:first-child, .area-card.is-pressed .area-h .elementor-widget-heading:first-child { color: var(--pomegranate); }
@media (max-width: 860px) { .area-card { grid-template-columns: 38% 1fr; align-items: center; } }
.harmony .dl { margin: 32px 0 36px; display: grid; gap: 0; border-block-start: 1px solid color-mix(in srgb, var(--limewash) 18%, transparent); }
.harmony .dl-row { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding-block: 14px; border-block-end: 1px solid color-mix(in srgb, var(--limewash) 18%, transparent); }
.harmony .dt { color: var(--brass); font-family: var(--f-text); font-size: .875rem; letter-spacing: 0; line-height: var(--lh-text); }
.harmony .dd { font-family: var(--f-text); font-size: 1.0625rem; letter-spacing: 0; line-height: var(--lh-text); }
.harmony .elementor-widget-heading:first-child:not(.dt) { margin-block-end: 22px; }
.smile-slot { inline-size: 100%; max-inline-size: 520px; justify-self: center; }
.smile-slot .smile-chart { max-inline-size: none; margin: 0; }
.smile-panel:empty::before { content: ""; }
.steps { margin: 40px 0 0; counter-reset: step; }
.steps .step { counter-increment: step; display: grid; grid-template-columns: 3.2em 1fr; gap: 8px 20px; padding-block: 28px; border-block-start: 1px solid var(--travertine); }
.steps .step::before { position: static; inset: auto; content: counter(step, decimal-leading-zero); grid-row: 1; font-family: var(--f-display); font-size: 1rem; color: var(--pomegranate); padding-block-start: 6px; font-variant-numeric: tabular-nums; }
.steps .step > .elementor-widget-heading { grid-column: 2; grid-row: 1; font-size: 1.625rem; }
.steps .step > .elementor-widget-text-editor { grid-column: 2; color: var(--clay); max-inline-size: 46ch; }
.quotes .quote-fig { margin: 0; padding-block-start: 22px; border-block-start: 1px solid var(--travertine); display: grid; gap: 18px; align-content: start; }
.quote-fig blockquote { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: 1.375rem; line-height: 1.35; letter-spacing: -.015em; }
.quote-fig .q-cap { font-size: .875rem; color: var(--clay); }

/* ---------- Loop Grid: the grid is Elementor's .elementor-loop-container; columns follow the prototype's breakpoints ---------- */
:is(.t-grid, .d-grid, .j-grid, .price-rows) .elementor-loop-container { display: grid; }
.t-grid .elementor-loop-container { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) var(--cgap); }
.t-grid { display: block; } .d-grid, .j-grid { display: block; gap: 0; }
.d-grid .elementor-loop-container { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 52px) var(--cgap); }
.j-grid .elementor-loop-container { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cgap); }
@media (min-width: 1101px) { .d-grid--6 .e-loop-item:nth-child(even of .e-loop-item) { margin-block-start: 56px; } }
@media (max-width: 860px) { .j-grid .elementor-loop-container { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .t-grid--4 .elementor-loop-container { gap: 28px 14px; } .t-grid--4 .t-card .t-excerpt { display: none; } .t-grid--4 .t-card .t-meta { flex-direction: column; gap: 2px; } .t-grid--4 .t-card h3 { font-size: 1.125rem; } }
.e-loop-item > .e-con { block-size: 100%; }
.elementor-widget-loop-grid .e-loop-nothing-found-message { padding: 40px 0; color: var(--clay); font-size: 1.125rem; }
/* cards */
.t-card, .d-card, .j-card { gap: 14px; }
.t-card .t-meta { flex-direction: row; font-family: var(--f-text); letter-spacing: 0; line-height: var(--lh-text); }
.t-card .t-meta .elementor-widget-heading { font-family: var(--f-text); letter-spacing: 0; line-height: var(--lh-text); }
.t-card .t-meta .price { font-family: var(--f-display); }
.t-card .badge:not(:has(.elementor-heading-title)), .t-card .badge:has(.elementor-heading-title:empty) { display: none; }
.t-card .badge { font-family: var(--f-text); letter-spacing: 0; line-height: var(--lh-text); }
.t-card .t-excerpt, .j-card .elementor-widget-text-editor { font-size: .9688rem; color: var(--clay); }
.d-card .d-role { font-family: var(--f-text); font-size: .9063rem; color: var(--clay); line-height: 1.45; letter-spacing: 0; }
.d-card .d-facts { flex-direction: row; flex-wrap: wrap; gap: 0; margin-block-start: -8px; font-size: .875rem; color: var(--clay); }
.d-card .d-facts .elementor-widget-heading { font-family: var(--f-text); letter-spacing: 0; line-height: var(--lh-text); }
.d-card .d-facts .elementor-widget-heading + .elementor-widget-heading::before { content: " · "; white-space: pre; }
.j-card .j-date { font-family: var(--f-text); font-size: .8125rem; color: var(--clay); letter-spacing: 0; line-height: var(--lh-text); }

/* ---------- Page heads, crumbs, single heroes ---------- */
.crumbs { flex-direction: row; font-family: var(--f-text); }
.crumbs .elementor-widget-heading { font-family: var(--f-text); font-size: .8125rem; letter-spacing: 0; line-height: var(--lh-text); color: var(--clay); }
.crumbs .elementor-widget-heading a { text-decoration: none; } .crumbs .elementor-widget-heading a:hover { text-decoration: underline; }
.crumbs .crumb-sep { opacity: .6; }
.page-head .lead { margin-block-start: 20px; }
.single-hero .tags { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-block-end: 22px; }
.single-hero .tags .elementor-widget-text-editor { display: contents; }
.single-hero .tags a { font-size: .8125rem; text-decoration: none; padding: 5px 12px; border: 1px solid var(--travertine); border-radius: var(--r); line-height: var(--lh-text); }
.single-hero .tags a:hover { border-color: var(--majlis); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 32px; border-block-start: 1px solid var(--travertine); }
.facts .fact { padding: 16px 0; border-block-end: 1px solid var(--travertine); }
.facts .fact:nth-child(odd) { padding-inline-end: 16px; }
.facts .fact.wide { grid-column: 1 / -1; }
.facts .dt { font-family: var(--f-text); font-size: .8125rem; color: var(--clay); letter-spacing: 0; line-height: var(--lh-text); }
.facts .dd { margin: 4px 0 0; font-family: var(--f-display); font-size: 1.125rem; line-height: var(--lh-text); letter-spacing: 0; }
.facts .price .dd { font-size: 1.5rem; }
.facts--doc { max-inline-size: 560px; }
.facts--doc .wide .dd { font-family: var(--f-text); font-size: 1rem; }
.split .prose { gap: 1em; }
.split .prose .muted { color: var(--clay); }
.doc-hero .role { margin-block-start: 12px; color: var(--clay); font-family: var(--f-text); font-size: 1.0625rem; letter-spacing: 0; line-height: var(--lh-text); }
.doc-hero .quote { margin: 32px 0 0; padding-inline-start: 22px; border-inline-start: 1px solid var(--pomegranate); font-family: var(--f-display); font-weight: 300; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); line-height: 1.3; letter-spacing: -.02em; max-inline-size: 28ch; }
html[lang="ar"] .doc-hero .quote { letter-spacing: normal; }
.doc-hero .b-primary { align-self: flex-start; }
.post-head .meta { flex-direction: row; flex-wrap: wrap; margin-block-start: 18px; color: var(--clay); font-size: .9375rem; }
.post-head .meta .elementor-widget-heading, .post-head .meta .elementor-widget-text-editor { font-family: var(--f-text); letter-spacing: 0; line-height: var(--lh-text); }
.post-head .meta .m-sep::before { content: "\00a0·\00a0"; } .post-head .meta .m-sep::after { content: "\00a0"; }
.post-head .meta .m-dot::before { content: "\00a0·\00a0"; }
.post-body > .elementor-widget-theme-post-content { display: block; }
.post-body .elementor-widget-theme-post-content > :first-child { margin-block-start: 1.6em; }
.post-body--flush { margin-inline: 0; }
.term-head .elementor-widget-text-editor.desc { margin-block-start: 18px; max-inline-size: 52ch; }
.book-aside .aside-dl dl { margin: 0; display: grid; gap: 14px; }
.book-aside .aside-dl dt { font-size: .8125rem; color: var(--clay); }
.book-aside .aside-dl dd { margin: 2px 0 0; }
.book-aside > .b-link { margin-block-start: 18px; }

/* ---------- Filters (Taxonomy Filter widgets) ---------- */
.filter-row { flex-direction: row; }
.filter-row .f-label { font-family: var(--f-text); font-size: .8125rem; color: var(--clay); letter-spacing: 0; line-height: var(--lh-text); }
.filter-row .e-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-row .e-filter-item[data-filter="__all"] { order: -1; }
.filter-row .e-filter-item { display: inline-flex; align-items: center; min-block-size: 40px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--travertine); background: transparent; color: var(--majlis);
  font-family: var(--f-display); font-size: .9375rem; line-height: 1; letter-spacing: 0; white-space: nowrap; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s, transform .28s; }
.filter-row .e-filter-item[aria-pressed="true"] { background: var(--majlis); border-color: var(--majlis); color: var(--limewash); }
@media (hover: hover) and (pointer: fine) { .filter-row .e-filter-item:hover { border-color: var(--majlis); } }
.filter-row .e-filter-item { transition: color .28s, background-color .28s, border-color .28s, transform .28s; transition-timing-function: cubic-bezier(.22,1,.36,1); -webkit-tap-highlight-color: transparent; } /* Elementor: .18s ease; the prototype chips answer faster */
.filter-row .e-filter-item:active { transform: scale(.97); transition-duration: .12s; }
.filter-status { flex-direction: row; }
.filter-status p { margin: 0; }
.filter-clear .elementor-button { padding: 6px 0; cursor: pointer; text-decoration: underline; text-underline-offset: .22em; color: var(--clay); }
.filter-clear[hidden] { display: none; }
@media (max-width: 640px) {
  .filter-row .e-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .filter-row .e-filter::-webkit-scrollbar { display: none; }
}
.t-grid.is-loading .elementor-loop-container { opacity: .45; transition: opacity .2s; }

/* ---------- Pricing (Loop Grid rows instead of a table) ---------- */
.price-group > .e-con:first-child .elementor-widget-heading { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); }
.price-group .pg-lead { margin-block-start: 12px; color: var(--clay); max-inline-size: 30ch; }
.price-table { inline-size: 100%; }
.price-rows .elementor-loop-container { grid-template-columns: 1fr; gap: 0; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem 11rem auto; gap: 12px; align-items: baseline; position: relative; z-index: 0; border-block-end: 1px solid var(--travertine); padding-block: 16px; }
.price-row--head { padding-block: 0 10px; }
.price-row--head .elementor-widget-heading { font-family: var(--f-display); font-weight: 500; font-size: .8125rem; color: var(--clay); letter-spacing: 0; line-height: var(--lh-text); }
.price-row--head > :last-child { text-align: end; }
.price-row .p-name { font-family: var(--f-display); font-weight: 400; font-size: 1.1875rem; line-height: 1.3; letter-spacing: normal; }
.price-row .p-name .elementor-heading-title { letter-spacing: inherit; }
.price-row .p-name a { text-decoration: none; display: inline-block; transition: margin-inline-start .45s var(--ease), margin-inline-end .45s var(--ease), color .25s; }
/* the name slides with a +6/-6 margin pair, not a transform: a transformed link would capture its own ::after (the whole-row hit area would shrink to the name while hovered or pressed), and the pair keeps the cell width, so the table columns do not move */
.price-row .p-name a::after { content: ""; position: absolute; inset: 0 -16px; z-index: 1; }
.price-row::before { content: ""; position: absolute; inset: 0 -16px; z-index: -1; border-radius: var(--r); background: color-mix(in srgb, var(--travertine) 30%, var(--limewash)); opacity: 0; transform: scaleX(.985); transition: opacity .3s ease, transform .45s var(--ease); }
.price-row .p-name a > .go, .price-row .p-name .elementor-heading-title a::before { }
.price-row .p-name .elementor-heading-title a { position: static; }
.price-row .p-name .elementor-heading-title::after { content: "→"; display: inline-block; margin-inline-start: 10px; color: var(--pomegranate); opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .45s var(--ease); }
[dir="rtl"] .price-row .p-name .elementor-heading-title::after { content: "←"; transform: translateX(8px); }
.price-row .p-cell { font-family: var(--f-text); color: var(--clay); font-size: .9375rem; letter-spacing: 0; line-height: var(--lh-text); }
.price-row .p-amount { flex-direction: row; justify-content: flex-end; align-items: baseline; white-space: nowrap; transition: color .25s; }
.price-row .p-from { font-family: var(--f-text); font-size: .75rem; color: var(--clay); margin-inline-end: 6px; letter-spacing: 0; line-height: var(--lh-text); }
.price-row .p-amt { font-family: var(--f-display); font-size: 1.1875rem; letter-spacing: 0; line-height: 1.3; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .price-row:not(.price-row--head):hover::before { opacity: 1; transform: none; }
  .price-row:hover .p-name a { color: var(--pomegranate); margin-inline: 6px -6px; }
  .price-row:hover .p-name .elementor-heading-title::after { opacity: 1; transform: translateX(6px); }
  .price-row:hover .p-amt { color: var(--pomegranate); }
  [dir="rtl"] .price-row:hover .p-name .elementor-heading-title::after { transform: translateX(-6px); }
}
html:not(.is-pointer) .price-row:has(a:focus-visible)::before, .price-row.is-pressed::before, .price-row:active::before { opacity: 1; transform: none; transition-duration: .15s; }
.price-row.is-pressed .p-name a, .price-row:active .p-name a { color: var(--pomegranate); margin-inline: 6px -6px; }
.price-row.is-pressed .p-amt, .price-row:active .p-amt { color: var(--pomegranate); }
@media (max-width: 720px) { .price-row { grid-template-columns: minmax(0, 1fr) auto; } .price-row .hide-sm { display: none; } }
@media (max-width: 600px) { .price-row .p-name .elementor-heading-title::after { display: none; } }

/* ---------- FAQ (Nested Accordion: <details>/<summary>) ---------- */
.faq .e-n-accordion-item-title { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; padding-inline: 0; border: 0; background: none; }
.faq .e-n-accordion-item-title::-webkit-details-marker { display: none; }
.faq .e-n-accordion-item-title-header, .faq .e-n-accordion-item-title-text { font-family: var(--f-display); font-size: 1.25rem; font-weight: 400; letter-spacing: -.01em; line-height: var(--lh-text); color: var(--majlis); }
.dark .faq .e-n-accordion-item-title-text { color: inherit; }
.faq .e-n-accordion-item-title-icon { display: none; }
.faq .e-n-accordion-item-title::after { content: ""; flex: none; inline-size: 14px; block-size: 14px; background: linear-gradient(currentColor 0 0) center / 14px 1.5px no-repeat, linear-gradient(currentColor 0 0) center / 1.5px 14px no-repeat; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.faq .e-n-accordion-item[open] > .e-n-accordion-item-title::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 24px; color: var(--clay); max-inline-size: 60ch; border: 0; }
.faq .faq-a p { margin: 0; }

/* ---------- Forms (Elementor Pro Form) ---------- */
/* column and row gaps come from the Form widget's own settings (18px), so the client can change them in Elementor */
.form .elementor-field-group { display: grid; gap: 6px; align-content: start; }
.form .elementor-field-group.elementor-col-100 { inline-size: 100%; }
.form .elementor-field-group.elementor-col-50 { inline-size: 50%; }
@media (max-width: 560px) { .form .elementor-field-group.elementor-col-50 { inline-size: 100%; } }
.form .elementor-field-label { font-family: var(--f-display); font-size: .875rem; font-weight: 500; color: var(--majlis); padding: 0; margin: 0; }
.form .elementor-field-label .hint { font-size: .8125rem; font-weight: inherit; color: var(--clay); }
.form .elementor-field-group .elementor-field-textual, .form .elementor-field-group select.elementor-field, .form .elementor-field-group .elementor-select-wrapper select {
  inline-size: 100%; min-block-size: 50px; padding: 12px 14px; border: 1px solid var(--travertine); border-radius: var(--r); background: #F6F1EA; color: var(--majlis); caret-color: var(--pomegranate);
  font-family: var(--f-text); font-size: 1.0625rem; line-height: var(--lh-text); box-shadow: none; }
.form .elementor-field-group textarea.elementor-field-textual { min-block-size: 110px; resize: vertical; }
.form .elementor-field-group select:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; border-color: transparent; }
.form .elementor-field-group :is(input, textarea).elementor-field-textual:focus { outline: none; }
.form .elementor-field-group :is(input, textarea).elementor-field-textual:not([aria-invalid="true"]):focus { border-color: var(--field-focus) !important; } /* !important here and below: Elementor's per-form CSS sets the border colour with six classes */
.form .elementor-field-group :is(.elementor-field-textual, select) { border-radius: var(--r) !important; } /* Elementor's per-form CSS stores 6px with six classes */
.form .elementor-field[aria-invalid="true"] { border-color: var(--pomegranate) !important; } /* a field with an error was never outlined in red before 21.11.2026 */
.form .elementor-select-wrapper .select-caret-down-wrapper { inset-inline-end: 14px; inset-inline-start: auto; color: var(--clay); }
.form .elementor-field-type-html { display: block; }
.form .demo-note { margin: 0; }
.form .elementor-field-type-radio .elementor-field-subgroup { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 0; }
.form .elementor-field-group.e-form__buttons { margin-block-start: 18px; } /* the prototype keeps an empty error line above the button */
.form .elementor-field-type-radio .elementor-field-option { position: relative; margin: 0; padding: 0; }
.form .elementor-field-type-radio .elementor-field-option input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; }
.form .elementor-field-type-radio .elementor-field-option label { display: inline-flex; align-items: center; min-block-size: 42px; padding: 0 16px; border: 1px solid var(--travertine); border-radius: var(--r); cursor: pointer; font-size: .9375rem; background: #F6F1EA; font-weight: 400;
  transition: background-color .28s, color .28s, border-color .28s, transform .28s; transition-timing-function: cubic-bezier(.22,1,.36,1); -webkit-tap-highlight-color: transparent; }
.form .elementor-field-type-radio .elementor-field-option label:active { transform: scale(.97); transition-duration: .12s; } /* as the prototype: the pill answers the finger at once, then eases */
.form .elementor-field-type-radio .elementor-field-option input:checked + label { background: var(--majlis); color: var(--limewash); border-color: var(--majlis); }
.form .elementor-field-type-radio .elementor-field-option input:focus-visible + label { outline: 2px solid var(--ring); outline-offset: 2px; }
.form .elementor-field-type-acceptance .elementor-field-subgroup, .form .elementor-field-type-acceptance .elementor-field-option { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.form .elementor-field-type-acceptance input { inline-size: 20px; block-size: 20px; margin: 2px 0 0; accent-color: var(--pomegranate); flex: none; }
.form .elementor-field-type-submit { margin-block-start: 0; }
.form .elementor-field-type-submit .elementor-button { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-block-size: 50px; padding: 0 26px; border-radius: var(--r);
  background: var(--pomegranate); color: #fff; font-family: var(--f-display); font-weight: 450; font-size: 1rem; cursor: pointer; transition: background-color .32s, transform .32s; }
@media (hover: hover) and (pointer: fine) { .form .elementor-field-type-submit .elementor-button:hover { background: var(--pomegranate-ink); } }
.form .elementor-field-type-submit .elementor-button:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.form .error { color: var(--pomegranate); font-size: .8125rem; margin: 0; }
.form .error:empty { display: none; }
.form .elementor-message { display: none; }
.form .form-status { margin: 0; }
.form-foot { font-size: .8125rem; color: var(--clay); }
.book-layout > .e-con:first-child { gap: 18px; }

/* ---------- Contact ---------- */
.contact-map .elementor-widget-shortcode, .contact-map .elementor-shortcode { block-size: 100%; }
.e-con.contact-map { inline-size: 100%; flex: none; } /* a definite width so the aspect ratio, not the drawing, sets the height */
.contact-ways .way { color: inherit; text-decoration: none; }
.way .way-ic .elementor-icon-wrapper, .way .way-ic .elementor-icon { display: block; line-height: 0; font-size: 26px; color: var(--pomegranate); }
.way .way-ic.elementor-widget.elementor-widget { inline-size: 26px; block-size: 26px; margin-block-end: 10px; }
.way .way-ic svg { inline-size: 26px; block-size: 26px; }
.way .way-k, .way .way-n { font-family: var(--f-text); line-height: var(--lh-text); }
.way .way-k { letter-spacing: .02em; } .way .way-n { letter-spacing: 0; }
.way .way-v { font-family: var(--f-display); letter-spacing: 0; }
.good-to-know { border-block-start: 1px solid var(--travertine); }

/* ---------- The Clinic ---------- */
.room-card { color: inherit; }
.room-card .elementor-widget-text-editor { color: var(--clay); max-inline-size: 36ch; }
.room-card > .elementor-widget-heading { font-size: var(--step-h3); transition: color .35s ease; }
@media (hover: hover) and (pointer: fine) { .room-card:hover > .elementor-widget-heading { color: var(--pomegranate); } }
.values .value { border-block-start: 1px solid var(--travertine); padding-block-start: 20px; }
.values .value > .elementor-widget-heading { font-size: 1.5rem; margin-block-end: 10px; }
.values .value .elementor-widget-text-editor { color: var(--clay); }

/* ---------- Arabic: tracking off only where the design sets it (never a universal [lang] * rule — Safari scroll jank) ---------- */
html[lang="ar"] :is(.elementor-widget-heading, .logo-name, .logo-tag, .b-primary .elementor-button, .b-ghost .elementor-button, .b-light .elementor-button, .mt-toggle .elementor-button, .mt-close .elementor-button,
  .mm-nav a.elementor-item, .faq .e-n-accordion-item-title-text, .quote-fig blockquote, .e-filter-item, .price-row .p-name) { letter-spacing: normal; }
html[lang="ar"] .hero .elementor-widget-heading { line-height: 1.22; }

/* ---------- Editor: show everything (no motion, off-canvas panels open on demand) ---------- */
.elementor-editor-active .js [data-reveal], .elementor-editor-active [data-reveal] { opacity: 1 !important; }
@media (max-width: 960px) {
  .elementor-widget.smile-slot.smile-slot { order: 1; margin-block: clamp(24px, 6vw, 40px) 18px; justify-self: center; }
}

/* ---------- Adapter fixes: Elementor wrappers vs the prototype's tag/descendant rules ---------- */
.mbar { display: none; }
/* Elementor caps every widget at max-width:100% with a strong selector; the reading widths of the design win here */
.elementor-widget.lead { max-inline-size: 38ch !important; }
.hero .elementor-widget.lead { max-inline-size: 34ch !important; }
.elementor-widget.lead--wide { max-inline-size: none !important; }
.elementor-widget.concern-sentence { max-inline-size: 26ch !important; }
.elementor-widget.footer-note { max-inline-size: 34ch !important; }
.elementor-widget.prose { max-inline-size: 62ch !important; }
.elementor-widget.price-note { max-inline-size: 70ch !important; }
.elementor-widget.way-n { max-inline-size: 34ch !important; }
.elementor-widget.smile-slot { max-inline-size: 520px !important; }
.area-card .elementor-widget-text-editor { max-inline-size: 34ch !important; }
.elementor-widget.post-body { max-inline-size: 66ch !important; }
.room-card .elementor-widget-text-editor { max-inline-size: 36ch !important; }
.steps .step > .elementor-widget-text-editor { max-inline-size: 46ch !important; }
.term-head .elementor-widget.desc { max-inline-size: 52ch !important; }
.price-group .elementor-widget.pg-lead { max-inline-size: 30ch !important; }
.doc-hero .elementor-widget.quote { max-inline-size: 28ch !important; }
.elementor-widget.f-label, .elementor-widget.f-count { max-inline-size: none !important; }
/* descendant "div" rules from the prototype must only hit the intended blocks */
.facts div:not(.fact) { padding: 0; border: 0; }
.facts .fact:nth-child(odd) { padding-inline-end: 16px; }
.values div:not(.value) { border: 0; padding: 0; }
/* the whole card is the link (the title's ::after covers the card), so title wrappers must not be positioned */
.t-card > .elementor-widget-heading:not(.badge), .d-card > .elementor-widget-heading, .j-card > .elementor-widget-heading, .price-row .p-name { position: static; }
.hero-inner { flex-direction: row; }
/* auto side margins inside a flex column would shrink-wrap these; the prototype's blocks take the full width up to their max */
.wrap, .post-body, .e-con.wrap { inline-size: 100%; }
/* Elementor zeroes every widget's bottom margin (.e-con .elementor-widget.elementor-widget); the design's own spacing wins */
.hero .elementor-widget.lead { margin-block: clamp(20px, 2.4vw, 32px) clamp(28px, 3vw, 40px) !important; }
/* Elementor resets every link inside .elementor to no underline; text links keep the design's underline */
.elementor a.link, .elementor .elementor-widget-text-editor a:not([class]), .elementor .elementor-field-option a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.elementor a.link { text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.elementor a.link:hover { text-decoration-color: currentColor; }
/* Taxonomy Filter: its own variables set to the Calcea chip, and the widget wrapper must not be a flex box (the list would not wrap) */
.filter-row .opts { display: block; min-inline-size: 0; --e-filter-space-between: 8px; --e-filter-justify-content: flex-start; --e-filter-item-box-sizing: border-box; --e-filter-item-padding: 0 16px;
  --e-filter-normal-text-color: var(--majlis); --e-filter-hover-text-color: var(--majlis); --e-filter-active-text-color: var(--limewash); }
.filters .filter-row .e-filter-item { box-sizing: border-box; border: 1px solid var(--travertine); line-height: 1; }
.filters .filter-row .e-filter-item[aria-pressed="true"] { background-color: var(--majlis); border-color: var(--majlis); color: var(--limewash); }
@media (hover: hover) and (pointer: fine) { .filters .filter-row .e-filter-item:hover:not([aria-pressed="true"]) { border-color: var(--majlis); background-color: transparent; } }
/* Pricing: a real table layout across Elementor's wrappers (display: contents), so the columns size exactly like the
   prototype's <table>: the header row and every Loop Grid row share the same auto-sized columns */
.price-table { display: table; inline-size: 100%; border-collapse: collapse; }
.price-table > .price-rows, .price-rows > .elementor-widget-container, .price-rows .elementor-loop-container, .price-rows .e-loop-item { display: contents; }
.price-row { display: table-row; position: relative; z-index: 0; padding: 0; border: 0; }
.price-row > * { display: table-cell; vertical-align: baseline; padding: 16px 12px 16px 0; border-block-end: 1px solid var(--travertine); line-height: var(--lh-text); text-align: start; }
.price-row > :last-child { padding-inline-end: 0; text-align: end; white-space: nowrap; }
.price-row--head > * { padding-block: 0 10px; }
.price-row .p-amount > * { display: inline-block; }
.price-row .p-amount:not(.price-row--head *) { font-size: 0; } /* no space glyph between the two inline widgets (the prototype has none) */
.price-row::before { inset: 0 -16px; width: auto; height: auto; } /* Elementor gives container ::before width/height 100%, which pinned the highlight 16px to the left */
@media (max-width: 720px) { .price-row .hide-sm { display: none; } }
@media (max-width: 600px) {
  .price-table { display: block; }
  .price-row { display: flex; flex-wrap: nowrap; align-items: baseline; justify-content: space-between; gap: 12px; border-block-end: 1px solid var(--travertine); }
  .price-row > * { display: block; border: 0; padding: 16px 0; }
  .price-row--head > * { padding: 0 0 10px; }
  .price-row .p-name { flex: 1 1 auto; min-inline-size: 0; }
}
.price-row .p-name, .price-row .p-amt { line-height: var(--lh-text); }
.price-row .p-name .elementor-heading-title { line-height: inherit; } /* the name is an h3 for the outline, but it reads as a table cell */
@media (max-width: 1060px) { .header-row > .elementor-widget-nav-menu.nav { display: none !important; } }
.logo { flex-shrink: 0; }
@media (max-width: 860px) { .mbar { display: grid; } }
.price-rows .e-loop-item > .price-row { block-size: auto; }
.single-hero .tags a { text-decoration: none; }
.mbar .elementor-widget-button .elementor-button-content-wrapper { gap: 8px; }
/* Elementor makes every row container wrap on phones; the design's rows stay on one line unless they say otherwise */
.e-con { --flex-wrap-mobile: nowrap; }
.dialog-head > .e-con:first-child { flex: 1 1 auto; min-inline-size: 0; }
.dialog-head, .t-meta, .area-h, .filter-status, .p-amount, .logo, .d-facts, .post-head .meta { flex-wrap: nowrap; } .d-facts, .post-head .meta { flex-wrap: wrap; }
.harmony h2.elementor-heading-title { margin: 0; } /* the wrapper carries the gap */
.values h3.elementor-heading-title { margin: 0; }
.footer-grid .logo { align-self: flex-start; }

.concern-sentence .elementor-heading-title { letter-spacing: -.03em; }body .e-loop-item * { word-break: normal; overflow-wrap: break-word; } /* Elementor breaks words anywhere in loop items, which also shrinks table columns; the prototype only wraps at spaces */
/* Elementor makes every widget position:relative, so the excerpt and meta under a card title were painted over the
   card's stretched link and swallowed clicks there; one link per card, so the overlay simply sits on top */
:is(.t-card, .d-card, .j-card) h3 a::after { z-index: 1; }
.form .elementor-field-group :is(.elementor-field-textual, select) { transition: border-color .28s cubic-bezier(.22,1,.36,1), box-shadow .28s cubic-bezier(.22,1,.36,1), outline-color .28s; }
/* the prototype's easing on Elementor's own controls (Elementor ships .3s/.4s "all" transitions) */
:is(.b-primary, .b-ghost, .b-light) .elementor-button, .form .elementor-field-type-submit .elementor-button {
  transition: background-color .32s ease, color .32s ease, border-color .32s ease, transform .32s cubic-bezier(.16,1,.3,1); }
.nav .elementor-nav-menu a.elementor-item { transition: color .28s cubic-bezier(.22,1,.36,1); }
.mbar .elementor-button { transition: color .28s cubic-bezier(.22,1,.36,1), background-color .28s cubic-bezier(.22,1,.36,1); -webkit-tap-highlight-color: transparent; }
.way .way-v { transition: color .2s ease; }
/* phones: the chip rows run to the screen edges, as in the prototype (the bleed sits on the widget, the scrolling on its inner list) */
@media (max-width: 640px) {
  .filter-row .opts.elementor-widget { overflow: visible; padding-inline: 0; margin-inline: calc(var(--pad) * -1); inline-size: calc(100% + var(--pad) * 2); max-inline-size: none !important; }
  .filter-row .opts .e-filter { margin-inline: 0; padding-inline: var(--pad); }
}

/* touch screens: Elementor's own hover border on the filter chips sticks after a tap; the prototype shows hover on mouse only */
@media (hover: none), (pointer: coarse) {
  .filters .filter-row .e-filter-item:hover:not([aria-pressed="true"]) { border-color: var(--travertine); color: var(--majlis); }
}

/* open menu: the links start right under the header and the button with the address sits at the bottom of the screen, as in the prototype
   (Elementor zeroes the widget's bottom margin, and the prototype's `nav` margin must not repeat on the menu widget's inner nav) */
.e-con.mobile-menu > .mm-nav.elementor-widget { margin-block: 24px auto; }
.mobile-menu .mm-nav nav { margin-block: 0; }

/* Mobile menu: each link lights up like a price row (prototype): a soft pill fades in behind it and the label slides a little.
   Mouse: on hover. Touch: while a finger rests on it (calcea.js .is-pressed, :active as the CSS fallback). */
.mm-nav .elementor-nav-menu a.elementor-item { position: relative; isolation: isolate; -webkit-tap-highlight-color: transparent;
  transition: transform .7s cubic-bezier(.16,1,.3,1), opacity .6s cubic-bezier(.16,1,.3,1), padding-inline-start .45s var(--ease); }
.mm-nav .elementor-nav-menu a.elementor-item::before { display: block; content: ''; position: absolute; inset: 0 -12px; z-index: -1; border-radius: var(--r); background: color-mix(in srgb, var(--limewash) 8%, transparent);
  opacity: 0; transform: scaleX(.985); transition: opacity .3s ease, transform .45s var(--ease); }
.menu-oc .e-off-canvas[aria-hidden="false"] .mm-nav li:nth-child(2) a { transition-delay: .03s, .03s, 0s }
.menu-oc .e-off-canvas[aria-hidden="false"] .mm-nav li:nth-child(3) a { transition-delay: .06s, .06s, 0s }
.menu-oc .e-off-canvas[aria-hidden="false"] .mm-nav li:nth-child(4) a { transition-delay: .09s, .09s, 0s }
.menu-oc .e-off-canvas[aria-hidden="false"] .mm-nav li:nth-child(5) a { transition-delay: .12s, .12s, 0s }
.menu-oc .e-off-canvas[aria-hidden="false"] .mm-nav li:nth-child(6) a { transition-delay: .15s, .15s, 0s }
.menu-oc .e-off-canvas[aria-hidden="false"] .mm-nav li:nth-child(7) a { transition-delay: .18s, .18s, 0s }
@media (hover: hover) and (pointer: fine) {
  .mm-nav .elementor-nav-menu a.elementor-item:hover { padding-inline-start: 6px; color: var(--limewash); }
  .mm-nav .elementor-nav-menu a.elementor-item:hover::before { opacity: 1; transform: none; }
}
html:not(.is-pointer) .mm-nav .elementor-nav-menu a.elementor-item:focus-visible::before { opacity: 1; transform: none; }
.mm-nav .elementor-nav-menu a.elementor-item.is-pressed, .mm-nav .elementor-nav-menu a.elementor-item:active { padding-inline-start: 6px; color: var(--limewash); }
.mm-nav .elementor-nav-menu a.elementor-item.is-pressed::before, .mm-nav .elementor-nav-menu a.elementor-item:active::before { opacity: 1; transform: none; transition-duration: .15s; }

/* Booking deposit (stage 2, Stripe test mode): a quiet card under the form, opened after a valid request; the editor always shows it */
.deposit-step { display: none; gap: 12px; margin-block-start: 28px; padding: 24px; border: 1px solid var(--travertine); border-radius: var(--r); background: #F6F1EA; }
.deposit-step.is-on, .elementor-editor-active .deposit-step { display: flex; }
.deposit-step > .elementor-element { margin: 0; }
.deposit-step .dep-h .elementor-heading-title { font-family: var(--f-display); font-size: var(--step-h3); font-weight: 400; line-height: 1.25; letter-spacing: -.01em; }
.deposit-step .dep-p p { margin: 0; color: var(--clay); font-size: .9375rem; line-height: var(--lh-text); }
.deposit-step .dep-pay { margin-block-start: 6px; }
.deposit-step .dep-pay .elementor-stripe-form { margin: 0; }
.deposit-step .dep-pay .elementor-button { inline-size: auto; cursor: pointer; font-family: var(--f-display); font-size: 1rem; }
.deposit-step .dep-pay .elementor-message { margin-block-start: 10px; font-size: .875rem; color: var(--pomegranate-ink); }
.deposit-step .dep-test p { margin: 0; font-size: .8125rem; line-height: 1.55; color: var(--clay); }
.deposit-step .dep-test strong { color: var(--pomegranate-ink); font-family: var(--f-display); font-weight: 500; }
.deposit-step .dep-test .num { white-space: nowrap; }
.dialog-body .deposit-step { margin-block-start: 20px; padding: 20px; }
@media (max-width: 480px) { .deposit-step { padding: 20px; } .deposit-step .dep-pay .elementor-button { inline-size: 100%; } }


/* ---------- iPhone: the page continues under the clock (20.11.2026, TZ-Calcea-under-clock.md, as on AFTERDARK) ----------
   iOS 26 Safari leaves the zone under the clock see-through and tints it with the colour of a fixed or sticky element it
   finds about 4px from the top edge, then keeps that colour after the element has gone. So on phones nothing sticky
   touches the top edge: the header is a floating plate 12px down that hides by fading on the spot (never slides up
   through the edge), and the home photo runs up under the clock. Desktop keeps its full-width band. */
html { background: var(--e-global-color-limewash, #EFE7DD); } /* the canvas is the page colour, never white */
body { display: flow-root; } /* the plate's top margin stays inside <body> instead of collapsing through it */
@media (max-width: 860px) {
  :root { --hdr-inset: 12px; --header-h: 60px; }
  html { scroll-padding-block-start: calc(var(--hdr-inset) + var(--header-h) + 12px); }
  .elementor-location-header { inset-block-start: var(--hdr-inset); margin: var(--hdr-inset) var(--hdr-inset) 0; border-radius: var(--r);
    background: color-mix(in srgb, var(--limewash) 84%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--travertine) 55%, transparent), 0 12px 28px -20px rgba(38, 24, 27, .45);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
  .elementor-location-header.is-solid { background: color-mix(in srgb, var(--limewash) 84%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--travertine) 55%, transparent), 0 12px 28px -20px rgba(38, 24, 27, .45); }
  .elementor-location-header.is-hidden { opacity: 0; transform: translateY(-3px); visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, transform .3s ease, visibility 0s .3s; }
  .elementor-location-header .header-row { padding-inline: 14px; }
  /* home: the photo starts under the clock and the plate floats over its top */
  .hero--full { margin-block-start: calc(-1 * (var(--hdr-inset) + var(--header-h))); }
}
@media (max-width: 860px) {
  /* mobile menu: its own row (logo + "Close") sits exactly where the plate's row is, so "Menu" turns into "Close" on the spot */
  .mobile-menu .header-row { margin-block-start: var(--hdr-inset); padding-inline: calc(var(--hdr-inset) + 14px - var(--pad)); }
}

/* Ready to be seen: the head keeps <body> invisible until this, the last stylesheet, has loaded (functions.php, "no unstyled
   flash"), so a browser made to draw early shows the limewash wall instead of the bare page. */
body { visibility: visible; }
