[hidden]:not([hidden=until-found i]){display:none!important}html{scroll-padding-top:0}img{max-width:100%}
/* Layout concept: arched-window composition. A tall arch portrait echoes a doorway and a tooth crown,
   with hairline rose-gold offsets taken from the logo, on tonal lavender surfaces. Single light look by design. */
:root {
  --royal: #51408F;
  --dark: #35245F;
  --lav: #E9E2F6;
  --pale: #F8F5FC;
  --white: #FFFFFF;
  --lilac: #B8AFCC;
  --gold: #B98568;
  --text: #4A4068;
  --muted: #6B6189;
  --wa: #1DA851;
  --line: rgba(184, 175, 204, 0.45);
  --sh1: 0 1px 2px rgba(53, 36, 95, 0.06), 0 10px 28px rgba(53, 36, 95, 0.08);
  --sh2: 0 2px 4px rgba(53, 36, 95, 0.06), 0 22px 50px rgba(53, 36, 95, 0.14);
  --font: 'Manrope', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gut: max(20px, calc((100vw - 1160px) / 2 + 20px));
  --arch: 999px 999px 28px 28px;
  color-scheme: light;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pale);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.editing #root { padding-bottom: 96px; }
h1, h2, h3, p, ul, blockquote, figure { margin: 0; }
a { color: inherit; }
img { display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; }
.foot :focus-visible, .ebar :focus-visible { outline-color: #fff; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
section[id] { scroll-margin-top: 76px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--royal); color: #fff; box-shadow: 0 8px 22px rgba(81, 64, 143, 0.28); }
.btn-primary:hover { background: var(--dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--royal); border-color: var(--royal); }
.btn-ghost:hover { background: var(--lav); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 0.9rem; box-shadow: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: block; flex: none; line-height: 0; border-radius: 8px; }
.brand img { height: 52px; width: auto; max-width: 40vw; object-fit: contain; }
.logo-ph { display: grid; place-items: center; height: 52px; width: 100px; border: 1.5px dashed var(--lilac); border-radius: 10px; font-size: .75rem; font-weight: 700; color: var(--muted); }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: var(--dark); text-decoration: none; transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--lav); }
.nav a[aria-current="true"] { color: var(--royal); background: var(--lav); }
.nav .soc { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.nav + .hdr-actions { margin-inline-start: 0; }
.soc { display: flex; gap: 6px; }
.ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--royal); text-decoration: none; transition: background-color .2s, color .2s; }
.ic:hover { background: var(--lav); }
.ic svg { width: 22px; height: 22px; }
.burger { display: none; width: 44px; height: 44px; place-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); color: var(--dark); cursor: pointer; }
.burger svg { width: 24px; height: 24px; }

/* ---------- shared bits ---------- */
.eyebrow { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--royal); }
.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head > div:first-child { min-width: 0; max-width: 40rem; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12; font-weight: 300; letter-spacing: -0.02em; color: var(--dark); text-wrap: balance; }
h2 + .sub { margin-top: 12px; }
.sub { font-size: 1.1rem; color: var(--muted); max-width: 38rem; }
.rule { display: block; width: 56px; height: 1px; background: var(--gold); margin-bottom: 18px; }

/* ---------- portrait arch ---------- */
.frame { position: relative; width: min(100%, 420px); justify-self: center; }
.frame::before { content: ""; position: absolute; inset: 0; transform: translate(14px, 14px); border: 1px solid var(--gold); border-radius: var(--arch); pointer-events: none; }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--lav); box-shadow: var(--sh2); }

/* image slots and placeholders */
.slot { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.ph {
  position: absolute; inset: 0; border-radius: inherit; display: grid; place-content: center; justify-items: center; gap: 10px;
  padding: 24px; text-align: center; color: var(--muted); font-size: 0.85rem; font-weight: 600;
  background: linear-gradient(160deg, #F0EAFA, #E3DAF3);
}
.ph::after { content: ""; position: absolute; inset: 14px; border: 1.5px dashed var(--lilac); border-radius: inherit; pointer-events: none; }
.ph svg { width: 34px; height: 34px; color: var(--royal); opacity: .75; }
.ph em { font-style: normal; font-weight: 500; font-size: .78rem; opacity: .85; max-width: 16ch; }
.slot-ctl { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; z-index: 4; }
.slot.empty .slot-ctl { inset: 0; align-content: end; padding-bottom: 14%; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(70% 90% at 90% 8%, rgba(233, 226, 246, 1) 0%, rgba(233, 226, 246, 0) 62%),
    radial-gradient(55% 60% at 0% 100%, rgba(233, 226, 246, 0.85) 0%, rgba(233, 226, 246, 0) 70%),
    var(--pale);
  padding-block: clamp(44px, 7vw, 100px);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero-copy { min-width: 0; display: grid; gap: 22px; justify-items: start; }
h1 { font-size: clamp(2.7rem, 6.4vw, 4.9rem); line-height: 1.02; font-weight: 300; letter-spacing: -0.03em; color: var(--dark); text-wrap: balance; }
.tagline { font-size: clamp(1.2rem, 2.3vw, 1.55rem); line-height: 1.35; font-weight: 500; color: var(--royal); max-width: 26ch; text-wrap: balance; }
.creds { display: grid; gap: 2px; }
.cred1 { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.08em; color: var(--dark); }
.cred2 { color: var(--text); }
.svc { font-weight: 600; color: var(--dark); }
.hero .cta-row { margin-top: 6px; }

/* ---------- about ---------- */
.about { background: var(--white); }
.about-in { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.about .frame { width: min(100%, 340px); position: sticky; top: 100px; }
.about-copy { min-width: 0; display: grid; gap: 28px; justify-items: start; }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.6; color: var(--dark); max-width: 36rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px 32px; width: 100%; margin-top: 6px; }
.fact { min-width: 0; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.fact h3 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--royal); }
.fact ul { padding-inline-start: 1.1em; display: grid; gap: 6px; }
.fact li::marker { color: var(--gold); }
.fact p { font-size: 1rem; }

/* ---------- carousels ---------- */
.arrows { display: flex; gap: 10px; }
.arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--royal); background: var(--white); color: var(--royal); cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.arrow svg { width: 22px; height: 22px; }
.arrow:hover:not(:disabled) { background: var(--royal); color: #fff; }
.arrow:disabled { opacity: .35; cursor: default; border-color: var(--lilac); color: var(--muted); }
.cases { background: linear-gradient(180deg, var(--lav) 0%, var(--pale) 90%); }
.reviews { background: var(--white); }
.track {
  display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding: 14px var(--gut) 30px; scroll-padding-inline: var(--gut);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.track::-webkit-scrollbar { display: none; }
.card, .rv { flex: 0 0 min(86vw, 360px); scroll-snap-align: start; min-width: 0; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--sh1); overflow: hidden; display: flex; flex-direction: column; }
.media { position: relative; aspect-ratio: 5 / 4; background: var(--lav); }
.card-body { padding: 22px 24px 26px; display: grid; gap: 8px; align-content: start; flex: 1; }
.cat { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--royal); }
.card h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 700; color: var(--dark); letter-spacing: -0.01em; }
.card-body p { font-size: 0.98rem; color: var(--text); }
.progress { margin: 4px auto 0; max-width: 1160px; padding-inline: 20px; }
.progress > div { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--royal); border-radius: 2px; transition: transform .15s linear; }
.note { max-width: 1160px; margin: 22px auto 0; padding-inline: 20px; font-size: 0.9rem; color: var(--muted); }

/* before / after */
.cmp { position: absolute; inset: 0; --pos: 50%; user-select: none; -webkit-user-select: none; }
.cmp-layer { position: absolute; inset: 0; }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-tag { position: absolute; bottom: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(53, 36, 95, 0.82); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; z-index: 2; }
.cmp-tag.b { left: 12px; } .cmp-tag.a { right: 12px; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px; padding: 0; border: 0; background: transparent; cursor: ew-resize; touch-action: none; z-index: 3; }
.cmp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(53, 36, 95, .15); }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--royal); box-shadow: 0 4px 14px rgba(53, 36, 95, .3); }
.cmp-handle svg { width: 22px; height: 22px; }
.cmp-edit { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #fff; }
.cmp-edit > div { position: relative; }
.cmp-edit .lbl { position: absolute; top: 8px; left: 8px; z-index: 5; padding: 3px 10px; border-radius: 999px; background: rgba(53, 36, 95, .82); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* reviews */
.rv { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 24px; border-radius: 24px; background: var(--pale); border: 1px solid var(--line); min-height: 240px; }
.rv > svg.q { width: 30px; height: 30px; color: var(--lilac); }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.rv-text { font-size: 1.05rem; line-height: 1.65; color: var(--dark); flex: 1; }
.rv-by { font-weight: 700; font-size: 0.9rem; letter-spacing: .04em; color: var(--royal); }
.rv-ghost { background: transparent; border: 1.5px dashed var(--lilac); justify-content: center; align-items: flex-start; }
.rv-ghost .rv-text { flex: none; color: var(--muted); font-size: 1rem; }
.rate { display: flex; gap: 2px; align-items: center; }
.rate button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--lilac); cursor: pointer; border-radius: 8px; }
.rate button.on { color: var(--gold); }
.rate svg { width: 20px; height: 20px; }
.rate span { font-size: .78rem; color: var(--muted); margin-inline-start: 6px; }

/* ---------- contact ---------- */
.contact { background: radial-gradient(60% 80% at 100% 0%, var(--lav) 0%, rgba(233, 226, 246, 0) 70%), var(--pale); }
.contact-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.addr { background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--sh2); padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; min-width: 0; }
.addr-top { display: flex; gap: 16px; align-items: flex-start; }
.addr-top > svg { width: 28px; height: 28px; color: var(--royal); flex: none; margin-top: 2px; }
.addr-top div { min-width: 0; display: grid; gap: 6px; }
.addr-label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--royal); }
.addr-text { font-size: 1.12rem; line-height: 1.6; color: var(--dark); overflow-wrap: anywhere; }
.addr .cta-row .btn { flex: 1 1 200px; }
.hint-line { font-size: 0.84rem; color: var(--muted); }
.reach { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.reach-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0; }
.reach-row .k { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--muted); min-width: 92px; }
.reach-row .v { font-weight: 600; color: var(--dark); user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.reach-row a.v { text-decoration: none; }
.reach-row a.v:hover { text-decoration: underline; }
.mini { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--royal); cursor: pointer; }
.mini svg { width: 18px; height: 18px; }

/* ---------- footer ---------- */
.foot { background: var(--dark); color: #E9E2F6; padding-block: 56px calc(56px + 76px); }
.foot-in { display: grid; gap: 28px; justify-items: center; text-align: center; }
.foot .brand img { height: 84px; }
.foot-name { font-weight: 300; font-size: 1.35rem; letter-spacing: 0.01em; color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; align-items: center; }
.foot .ic { color: #E9E2F6; border: 1px solid rgba(233, 226, 246, .28); }
.foot .ic:hover { background: rgba(233, 226, 246, .14); }
.foot-wa { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(233, 226, 246, .4); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; }
.foot-wa:hover { background: rgba(233, 226, 246, .14); }
.foot-wa svg { width: 18px; height: 18px; }
.copy { font-size: 0.84rem; color: #C9BFE2; border-top: 1px solid rgba(233, 226, 246, .18); padding-top: 22px; width: min(100%, 520px); }

/* ---------- floating WhatsApp ---------- */
.fab {
  position: fixed; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 10px 28px rgba(29, 168, 81, .42), 0 2px 6px rgba(0, 0, 0, .18);
  transition: transform .2s, box-shadow .2s;
}
.fab:hover { transform: translateY(-2px) scale(1.04); }
.fab svg { width: 32px; height: 32px; }
.fab:focus-visible { outline-color: var(--dark); }

/* ---------- editing ---------- */
.edit-open {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 22px; border: 0; border-radius: 999px;
  background: var(--dark); color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 10px 28px rgba(53, 36, 95, .4);
}
.edit-open svg { width: 20px; height: 20px; }
.edit-open:hover { background: var(--royal); }
.ebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--dark); color: #fff;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
  box-shadow: 0 -10px 30px rgba(53, 36, 95, .3);
}
.ebar-msg { display: grid; min-width: 0; font-size: .88rem; line-height: 1.4; color: #DDD3F2; }
.ebar-msg strong { color: #fff; font-size: .95rem; }
.ebar-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.eb { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid rgba(233, 226, 246, .5); background: transparent; color: #fff; font-weight: 700; font-size: .9rem; cursor: pointer; }
.eb:hover { background: rgba(233, 226, 246, .16); }
.eb-primary { background: #fff; color: var(--dark); border-color: #fff; }
.eb-primary:hover { background: var(--lav); }
.eb[disabled] { opacity: .6; cursor: wait; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--royal); font-weight: 700; font-size: .8rem; cursor: pointer; box-shadow: 0 2px 8px rgba(53, 36, 95, .14); }
.chip svg { width: 16px; height: 16px; }
.chip:hover { background: var(--lav); }
.chip.danger { color: #9B2C4A; }
.chip.on { background: var(--royal); color: #fff; border-color: var(--royal); }
.card-tools { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px 0; }
.card-tools .chip { box-shadow: none; }
.rv .card-tools { padding: 0; }
.add-card { flex: 0 0 min(86vw, 300px); scroll-snap-align: start; min-height: 260px; display: grid; place-content: center; justify-items: center; gap: 10px; border: 2px dashed var(--lilac); border-radius: 24px; background: rgba(255, 255, 255, .6); color: var(--royal); font-weight: 700; cursor: pointer; }
.add-card svg { width: 30px; height: 30px; }
.add-card:hover { background: #fff; }
[contenteditable="true"] { outline: 1px dashed rgba(81, 64, 143, .4); outline-offset: 4px; border-radius: 4px; cursor: text; min-width: 3ch; }
[contenteditable="true"]:hover { background: rgba(233, 226, 246, .45); }
[contenteditable="true"]:focus { outline: 2px solid var(--royal); background: rgba(233, 226, 246, .6); }
[contenteditable="true"]:empty::before { content: attr(data-ph); color: var(--muted); opacity: .7; }
.ta, .in { width: 100%; border: 1.5px solid var(--lilac); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: .98rem; color: var(--dark); background: #fff; }
.ta { resize: vertical; line-height: 1.5; }
.ta:focus, .in:focus { outline: 3px solid rgba(81, 64, 143, .35); border-color: var(--royal); }
.hint { font-size: .8rem; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 120; max-width: min(92vw, 460px); padding: 12px 20px; border-radius: 14px; background: #fff; color: var(--dark); font-weight: 600; font-size: .92rem; box-shadow: var(--sh2); border: 1px solid var(--line); }
.scrim { position: fixed; inset: 0; z-index: 88; background: rgba(53, 36, 95, .45); }
.panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(460px, 100%); background: #fff; box-shadow: -20px 0 60px rgba(53, 36, 95, .25); overflow-y: auto; padding: 24px 22px calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 20px; align-content: start; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel h2 { font-size: 1.5rem; font-weight: 600; }
.panel h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--royal); font-weight: 700; padding-top: 6px; border-top: 1px solid var(--line); }
.panel .field { display: grid; gap: 6px; }
.panel label { font-weight: 700; font-size: .88rem; color: var(--dark); }
.logo-box { position: relative; height: 150px; border-radius: 16px; background: var(--pale); border: 1px solid var(--line); }
.logo-box .slot img { object-fit: contain; padding: 12px; }
.x { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--dark); cursor: pointer; }
.x svg { width: 20px; height: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .burger { display: grid; }
  .hdr-actions .soc { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 2px; margin: 0;
    padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(53, 36, 95, .14);
  }
  .hdr.open .nav { display: flex; }
  .nav a { padding: 14px 16px; font-size: 1rem; }
  .nav .soc { display: flex; padding-top: 8px; }
  .hero-in, .about-in, .contact-in { grid-template-columns: minmax(0, 1fr); }
  .frame { width: min(86%, 380px); }
  .about .frame { position: relative; top: 0; }
  .about-in .frame { order: -1; }
}
@media (max-width: 560px) {
  .hdr-in { gap: 10px; min-height: 66px; }
  .brand img { height: 46px; }
  .btn-sm { padding: 8px 14px; font-size: .82rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .arrow { width: 46px; height: 46px; }
  .fab { width: 56px; height: 56px; }
  .ebar { padding-block: 10px; }
  .ebar-msg span { display: none; }
  .ebar-btns { width: 100%; }
  .ebar-btns .eb { flex: 1 1 auto; padding-inline: 12px; }
  .toast { bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
.bk-short { display: none; }
@media (max-width: 560px) { .bk-long { display: none; } .bk-short { display: inline; } }
.cmp-before .ph { padding-right: 50%; }
.cmp-after .ph { padding-left: 50%; }
.cmp .ph::after { inset: 14px; }

/* ---------- v2: language switch, hours card, clinic gallery ---------- */
.lang { min-height: 44px; min-width: 52px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--lilac); background: var(--white); color: var(--dark); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; transition: background-color .2s; }
.lang:hover { background: var(--lav); }
.visit { justify-self: center; width: min(100%, 400px); position: relative; }
.visit::before { content: ""; position: absolute; inset: 0; transform: translate(14px, 14px); border: 1px solid var(--gold); border-radius: 28px; pointer-events: none; }
.visit-in { position: relative; background: var(--white); border-radius: 28px; box-shadow: var(--sh2); padding: clamp(26px, 4vw, 38px); display: grid; gap: 10px; justify-items: start; }
.visit-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lav); color: var(--royal); margin-bottom: 4px; }
.visit-ic svg { width: 26px; height: 26px; }
.v-days { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 300; color: var(--dark); line-height: 1.2; }
.v-time { font-size: 1.15rem; font-weight: 700; color: var(--royal); }
.appt { display: flex; align-items: flex-start; gap: 12px; margin-top: 8px; padding: 14px 16px; border-radius: 16px; background: var(--pale); border: 1px solid var(--line); width: 100%; color: var(--dark); font-weight: 600; line-height: 1.5; }
.appt svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--royal); }
.appt p { min-width: 0; }
.hint-line { font-size: .86rem; color: var(--muted); margin-top: -8px; }
.clinic { background: var(--pale); }
.shot { flex: 0 0 min(86vw, 420px); scroll-snap-align: start; min-width: 0; margin: 0; background: var(--white); border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--sh1); overflow: hidden; display: flex; flex-direction: column; }
.shot-media { position: relative; aspect-ratio: 4 / 3; background: var(--lav); }
.shot figcaption { padding: 14px 20px 18px; font-size: .95rem; font-weight: 600; color: var(--dark); }
.shot .slot img { object-position: center; }
.sec-head h2 + .sub { margin-top: 12px; }

/* ---------- v2: Arabic / right-to-left ---------- */
:root { --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, 'Noto Sans Arabic', system-ui, sans-serif; }
[dir="rtl"] { font-family: var(--font-ar); }
[dir="rtl"] *, [dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: 0 !important; text-transform: none !important; }
[dir="rtl"] h1 { line-height: 1.25; font-weight: 500; }
[dir="rtl"] h2 { line-height: 1.3; font-weight: 500; }
[dir="rtl"] .tagline, [dir="rtl"] .lead, [dir="rtl"] .rv-text { line-height: 1.8; }
[dir="rtl"] .eyebrow, [dir="rtl"] .cat, [dir="rtl"] .addr-label, [dir="rtl"] .reach-row .k, [dir="rtl"] .fact h3 { font-size: .92rem; }
[dir="rtl"] .cred1 { font-family: var(--font); }
[dir="rtl"] .frame::before, [dir="rtl"] .visit::before { transform: translate(-14px, 14px); }
[dir="rtl"] .cmp, [dir="rtl"] .cmp-edit { direction: ltr; }
[dir="rtl"] .cmp-tag { font-family: var(--font-ar); }
[dir="rtl"] .rate { direction: ltr; }
[dir="rtl"] .rate span { margin-inline-start: 6px; }
[dir="rtl"] .rv-ghost { align-items: flex-start; }
[dir="rtl"] .progress > div { direction: ltr; }
[dir="rtl"] .progress i { margin-inline-start: auto; }
[dir="rtl"] .ph em { max-width: none; }
.ebar, .panel, .edit-open { font-family: 'Manrope', system-ui, sans-serif; }
[dir="rtl"] .ebar-msg, [dir="rtl"] .ebar-btns { direction: ltr; }

/* ---------- v3: show every uploaded photo whole, in its own proportions (nothing cropped) ---------- */
.track { align-items: flex-start; }
/* single photos in cards and the clinic gallery */
.media:has(> .slot:not(.empty)), .shot-media:has(> .slot:not(.empty)) { aspect-ratio: auto; }
.media > .slot:not(.empty), .shot-media > .slot:not(.empty) { position: relative; inset: auto; }
.media > .slot:not(.empty) img, .shot-media > .slot:not(.empty) img {
  position: static; width: 100%; height: auto; max-height: 620px; object-fit: contain; object-position: center; margin-inline: auto; background: var(--lav);
}
/* before / after pair: the "after" photo sets the height, the "before" photo is laid exactly over it */
.media:has(> .cmp .slot:not(.empty)) { aspect-ratio: auto; }
.media:has(> .cmp .slot:not(.empty)) > .cmp { position: relative; inset: auto; }
.cmp:has(.cmp-after .slot:not(.empty)) .cmp-after,
.cmp:not(:has(.cmp-after .slot:not(.empty))) .cmp-before { position: relative; inset: auto; }
.cmp:has(.cmp-after .slot:not(.empty)) .cmp-after .slot,
.cmp:not(:has(.cmp-after .slot:not(.empty))) .cmp-before .slot { position: relative; inset: auto; }
.cmp:has(.cmp-after .slot:not(.empty)) .cmp-after .slot img,
.cmp:not(:has(.cmp-after .slot:not(.empty))) .cmp-before .slot img { position: static; width: 100%; height: auto; max-height: none; object-fit: contain; }
.cmp .cmp-before .slot img, .cmp .cmp-after .slot img { object-fit: cover; }
.cmp:has(.cmp-after .slot:not(.empty)) .cmp-after .slot img,
.cmp:not(:has(.cmp-after .slot:not(.empty))) .cmp-before .slot img { object-fit: contain; }
/* in the editor the before/after pair keeps a fixed frame, but still shows each photo whole */
.cmp-edit .slot img { object-fit: contain; background: var(--lav); }
/* portrait: a soft rounded frame so the whole photo is visible (the arch top used to trim the corners) */
.arch:has(> .slot:not(.empty)) { aspect-ratio: auto; border-radius: 28px; }
.frame:has(.arch > .slot:not(.empty))::before { border-radius: 28px; }
.arch > .slot:not(.empty) { position: relative; inset: auto; }
.arch > .slot:not(.empty) img { position: static; width: 100%; height: auto; max-height: none; object-fit: contain; }
.shot-media > .slot:not(.empty) img { max-height: 780px; }
