/* Your Dental Clinic — sample website styles, version 1.3
   Night plum hero with a smile-shaped edge, warm enamel paper, a blush glow
   and a cool mint companion. The motif is the smile curve. */

@font-face { font-family: "YoungSerif"; src: url("/assets/fonts/youngserif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/assets/fonts/caveat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Messiri"; src: url("/assets/fonts/messiri-ar.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "PlexAr"; src: url("/assets/fonts/plexar-400.woff2") format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "PlexAr"; src: url("/assets/fonts/plexar-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }

:root {
  --night: #231530;
  --night-2: #2f1d3d;
  --night-3: #3d2850;
  --paper: #fbf6f0;
  --paper-2: #f4ebe2;
  --mint-bg: #e6f3ee;
  --ink: #2a1c33;
  --muted: #6b5f72;
  --line: #e8ddd3;
  --blush: #f7bba9;
  --apricot: #ef9a83;
  --mint: #8fd6c3;
  --mint-deep: #1d7361;
  --white: #ffffff;
  --glow: linear-gradient(115deg, #ffe3d6 0%, #f8b9a6 48%, #ec8f88 100%);
  --display: "YoungSerif", Georgia, "Times New Roman", serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --gutter: 18px;
  --radius: 18px;
}
html[lang="ar"] {
  --display: "Messiri", "YoungSerif", Tahoma, serif;
  --body: "PlexAr", "Figtree", Tahoma, sans-serif;
  --hand: "Messiri", "Caveat", cursive;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="ar"] body { line-height: 1.85; font-size: 1.08rem; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 600; line-height: 1.4; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 760px; }
:focus-visible { outline: 3px solid var(--blush); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 60; background: var(--blush); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { inset-inline-start: 8px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; color: var(--white); background: rgba(35, 21, 48, 0.9); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; min-width: 0; }
.brand-mark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px 14px 20px 20px; background: var(--glow); box-shadow: 0 8px 20px -8px rgba(239, 154, 131, 0.8); }
.brand-mark svg { width: 24px; height: 24px; fill: var(--night); }
.brand-words { display: grid; line-height: 1.15; min-width: 0; }
.brand-words b { font-family: var(--display); font-weight: 400; font-size: 1.18rem; white-space: nowrap; }
html[lang="ar"] .brand-words b { font-weight: 700; font-size: 1.15rem; }
.brand-words small { font-size: 0.78rem; color: rgba(255, 255, 255, 0.62); white-space: nowrap; }
.top-tools { display: flex; align-items: center; gap: 10px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a { display: block; text-decoration: none; white-space: nowrap; padding: 8px 13px; border-radius: 999px; font-weight: 500; color: rgba(255, 255, 255, 0.84); }
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nav a[aria-current="page"]:not(.nav-cta) { color: var(--blush); background: rgba(247, 187, 169, 0.1); }
.nav .nav-cta { margin-inline-start: 6px; background: var(--glow); color: var(--night); font-weight: 700; }
.nav .nav-cta:hover { background: var(--white); color: var(--night); }
.nav-toggle { display: none; font: inherit; font-weight: 600; color: var(--white); cursor: pointer; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: var(--mint); border: 1px solid rgba(143, 214, 195, 0.45); background: rgba(143, 214, 195, 0.07); }
.lang-switch:hover { background: rgba(143, 214, 195, 0.18); color: var(--white); }
.lang-switch[lang="ar"] { font-family: "PlexAr", var(--body); }
.lang-switch[lang="en"] { font-family: "Figtree", sans-serif; }
.ls-short { display: none; }
@media (min-width: 1081px) { .top-tools { flex-direction: row-reverse; } }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .nav ul { display: none; position: absolute; inset-inline: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; background: var(--night); border-bottom: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.6); }
  .nav ul.open { display: flex; }
  .nav a { padding: 12px 10px; border-radius: 12px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 420px) {
  .brand-words small { display: none; }
  .brand-words b { font-size: 1rem; }
  .brand-mark { width: 34px; height: 34px; }
  .lang-switch svg { display: none; }
  .top-tools { gap: 6px; }
  .nav-toggle { padding: 7px 12px; }
}
@media (max-width: 370px) {
  .ls-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ls-short { display: inline; }
  .lang-switch { padding: 6px 10px; }
  .brand-words b { font-size: 0.92rem; }
}

/* the notice from the admin page, under the top bar */
.notice { background: linear-gradient(90deg, rgba(247, 187, 169, 0.16), rgba(143, 214, 195, 0.12)); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.notice-in { display: flex; align-items: center; gap: 10px; padding-block: 9px; font-size: 0.95rem; }
.notice-in p { margin: 0; color: rgba(255, 255, 255, 0.86); }
.notice-in b { color: var(--blush); }
.notice-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(143, 214, 195, 0.18); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; padding: 14px 26px; border-radius: 999px; border: 0; transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn.small { padding: 9px 18px; font-size: 0.92rem; }
.btn-glow { background: var(--glow); color: var(--night); box-shadow: 0 12px 30px -12px rgba(236, 143, 136, 0.85); }
.btn-glow:hover { box-shadow: 0 16px 36px -12px rgba(236, 143, 136, 0.95); }
.btn-glass { background: rgba(255, 255, 255, 0.08); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.26); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.16); }
.btn-glass svg { color: var(--mint); }
.btn-ink { background: var(--night); color: var(--white); }
.btn-ink:hover { background: var(--night-3); box-shadow: 0 12px 24px -12px rgba(35, 21, 48, 0.7); }
.btn-ink-ghost { background: transparent; color: var(--night); border: 1.5px solid var(--night); }
html[dir="rtl"] .arw { transform: scaleX(-1); }

/* ---------- glows ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: 0.6; }
.g1 { width: 520px; height: 520px; background: #6b3a74; top: -180px; inset-inline-start: -160px; animation: drift 20s ease-in-out infinite alternate; }
.g2 { width: 440px; height: 440px; background: #2e7a6c; bottom: -120px; inset-inline-end: -120px; opacity: 0.42; animation: drift 24s ease-in-out infinite alternate-reverse; }
.g3 { width: 480px; height: 480px; background: #7a3f5f; top: -200px; inset-inline-end: -140px; opacity: 0.45; }
@keyframes drift { to { transform: translate(50px, 36px) scale(1.1); } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: radial-gradient(120% 90% at 85% 10%, #3a2149 0%, var(--night) 55%, #1c1027 100%); padding-bottom: 70px; }
.hero .glow { z-index: -1; }
.hero-in { display: grid; gap: 30px; align-items: center; padding-block: 56px 40px; }
@media (min-width: 980px) { .hero-in { grid-template-columns: 1.08fr 0.92fr; gap: 48px; padding-block: 88px 64px; } }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 16px 7px 12px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: var(--mint); background: rgba(143, 214, 195, 0.08); border: 1px solid rgba(143, 214, 195, 0.3); }
html[dir="rtl"] .kicker { padding: 7px 12px 7px 16px; }
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(143, 214, 195, 0.2); }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-inline-start: 3px; background: var(--mint); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.caret.done { animation: none; opacity: 0; transition: opacity 0.6s; }
@keyframes blink { 50% { opacity: 0; } }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.1vw, 4.6rem); letter-spacing: -0.015em; max-width: 13ch; margin-bottom: 22px; }
html[lang="ar"] .hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.5vw, 4rem); max-width: 14ch; }
.glow-text { background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 1.2rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); max-width: 40ch; margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 16px; height: 8px; border: 2px solid var(--mint); border-top: 0; border-radius: 0 0 16px 16px; }

/* the art: a photo of the clinic with a smiling patient and floating cards */
.hero-art { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1.02; justify-self: center; }
.halo { position: absolute; inset: 4% 0 6% 8%; border-radius: 50%; background: radial-gradient(circle at 45% 40%, rgba(247, 187, 169, 0.3), rgba(143, 214, 195, 0.12) 55%, transparent 72%); }
html[dir="rtl"] .halo { inset: 4% 8% 6% 0; }
.hero-art figure { margin: 0; position: absolute; overflow: hidden; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the photo frame ends in the clinic's smile curve */
.hero-photo { top: 7%; inset-inline-end: 0; width: 86%; height: 74%; border-radius: 30px 30px 50% 50% / 30px 30px 20% 20%; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12); animation: floaty 10s ease-in-out -2s infinite; }
.hero-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(35, 21, 48, 0) 55%, rgba(35, 21, 48, 0.28)); }
.hero-photo img { object-position: 30% 50%; }
.hero-smile { bottom: 2%; inset-inline-start: 0; width: 34%; aspect-ratio: 1; border-radius: 50%; padding: 5px; background: var(--glow); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.7); }
.hero-smile img { border-radius: 50%; object-position: 50% 40%; }
.float-card { position: absolute; z-index: 2; background: rgba(255, 255, 255, 0.96); color: var(--ink); border-radius: 18px; padding: 14px 16px; box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.75); font-size: 0.92rem; line-height: 1.35; }
.fc-today { top: 0; inset-inline-start: 2%; display: grid; gap: 3px; min-width: 180px; animation: floaty 8s ease-in-out infinite; }
.fc-label { font-size: 0.8rem; color: var(--muted); }
.fc-today b { font-size: 1.02rem; }
.fc-forms { top: 50%; inset-inline-end: -3%; display: flex; gap: 12px; align-items: flex-start; max-width: 245px; animation: floaty 9s ease-in-out -3s infinite; }
.fc-forms b { display: block; margin-bottom: 2px; }
.fc-forms small { color: var(--muted); font-size: 0.85rem; }
.fc-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--mint-bg); }
.fc-ico svg { width: 20px; height: 20px; fill: var(--mint-deep); }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.open-pill { justify-self: start; display: inline-block; font-family: var(--body); font-size: 0.75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #f2e5e2; color: #8a4a52; }
.open-pill.on { background: var(--mint-bg); color: var(--mint-deep); }
.open-pill:empty { display: none; }
.hand { position: absolute; z-index: 2; bottom: 5%; inset-inline-start: 38%; margin: 0; font-family: var(--hand); font-size: 1.7rem; font-weight: 600; color: var(--blush); transform: rotate(-6deg); white-space: nowrap; }
html[lang="ar"] .hand { font-size: 1.3rem; transform: rotate(-4deg); }
@media (max-width: 1100px) { .fc-forms { inset-inline-end: 0; } }
@media (max-width: 979px) { .hero-art { max-width: 440px; } }
@media (max-width: 520px) {
  .hero-art { max-width: 360px; aspect-ratio: 1 / 1.08; }
  .float-card { padding: 10px 12px; font-size: 0.82rem; }
  .fc-today { min-width: 0; }
  .fc-forms { max-width: 200px; top: 47%; }
  .fc-forms small { font-size: 0.78rem; }
  .hero-smile { width: 36%; padding: 4px; }
  .hand { font-size: 1.3rem; bottom: 3%; inset-inline-start: 39%; }
  html[lang="ar"] .hand { font-size: 1.1rem; }
}

/* the smile-shaped bottom edge of every dark heading */
.smile-edge { position: absolute; inset-inline: 0; bottom: -1px; width: 100%; height: 56px; }
.smile-edge path { fill: var(--paper); }
.page-head.to-night .smile-edge path { fill: var(--night-2); }
@media (min-width: 980px) { .smile-edge { height: 80px; } }

/* ---------- page heads ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: radial-gradient(120% 120% at 85% 0%, #3a2149 0%, var(--night) 60%); padding-block: 26px 74px; }
.page-head .glow { z-index: -1; }
.page-head h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.3rem); margin: 18px 0 10px; }
.page-head .lede { margin: 0; max-width: 56ch; color: rgba(255, 255, 255, 0.76); font-size: 1.1rem; }
.back-home { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); }
html[dir="rtl"] .back-home { padding: 7px 10px 7px 14px; }
.back-home:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- bands ---------- */
.band { position: relative; padding-block: 80px; }
.band.first { padding-top: 40px; }
.paper { background: var(--paper); }
.paper-2 { background: var(--paper-2); }
.mint { background: var(--mint-bg); }
.night { background: var(--night); color: var(--white); overflow: hidden; isolation: isolate; }
.night .glow { z-index: -1; }
.sec-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.sec-head h2 { font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.7rem); margin-bottom: 12px; }
.sec-head h2::after { content: ""; display: block; width: 64px; height: 12px; margin: 14px auto 0; border: 3px solid var(--apricot); border-top: 0; border-radius: 0 0 64px 64px; }
.sec-head p { color: var(--muted); margin: 0; }
.more-link { text-align: center; margin: 30px 0 0; }
.more-link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--mint-deep); text-decoration: none; }
.more-link a:hover { text-decoration: underline; text-underline-offset: 4px; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* price list with dotted leaders */
.price-list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 4px 48px; max-width: 1000px; }
@media (min-width: 860px) { .price-list { grid-template-columns: 1fr 1fr; } }
.price-row a { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 14px; text-decoration: none; transition: background-color 0.2s; }
.price-row a:hover { background: var(--white); }
.p-ico, .svc-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px 14px 20px 20px; background: var(--mint-bg); color: var(--mint-deep); }
.p-ico svg, .svc-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.p-name { font-weight: 600; font-size: 1.05rem; }
.p-dots { flex: 1; min-width: 20px; border-bottom: 2px dotted #d8c9bd; transform: translateY(5px); }
.p-price { white-space: nowrap; font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.p-price small { font-family: var(--body); font-size: 0.8rem; color: var(--muted); }
@media (max-width: 480px) { .p-name { font-size: 0.98rem; } .p-price { font-size: 1.02rem; } .price-row a { padding: 10px 4px; gap: 10px; } }

/* steps: a real sequence, joined by smile curves */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 34px; } }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-n { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; font-family: var(--display); font-size: 1.6rem; color: var(--night); background: var(--glow); box-shadow: 0 14px 30px -14px rgba(236, 143, 136, 0.9); }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 34ch; margin: 0 auto; }
@media (min-width: 860px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 22px; inset-inline-start: calc(50% + 42px); width: calc(100% - 50px); height: 22px; border: 2px dashed rgba(29, 115, 97, 0.35); border-top: 0; border-radius: 0 0 50% 50%; }
}

/* team */
.team-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.person { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px 22px 22px; text-align: center; box-shadow: 0 24px 40px -32px rgba(35, 21, 48, 0.5); }
.face { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; font-family: var(--display); font-size: 1.7rem; color: var(--night); background: var(--glow); }
.tone-1 .face { background: linear-gradient(130deg, #e6f6f0, #8fd6c3); }
.tone-2 .face { background: linear-gradient(130deg, #fff1e4, #f3c99a); }
.tone-3 .face { background: linear-gradient(130deg, #efe6f6, #c4a9da); }
.person h3 { font-size: 1.25rem; margin-bottom: 4px; }
.person .role { color: var(--mint-deep); font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; }
.person .bio { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* insurance */
.ins-in { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .ins-in { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.ins-in h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); margin-bottom: 12px; }
.ins-in p { color: var(--muted); margin: 0; max-width: 46ch; }
.ins-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ins-chips.center { justify-content: center; max-width: 820px; margin: 0 auto; }
.ins-chips li { padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-family: "Figtree", sans-serif; }

/* visit band */
.visit { padding-block: 84px; }
.visit.tight { padding-block: 48px 70px; background: var(--night-2); }
.visit-in { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .visit-in { grid-template-columns: 1fr 1fr; gap: 56px; } }
.visit-copy h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); margin-bottom: 12px; }
.visit-copy p { color: rgba(255, 255, 255, 0.76); }
.visit-copy .addr { font-size: 1.15rem; color: var(--white); padding-inline-start: 16px; border-inline-start: 3px solid var(--blush); }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hours-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 24px; padding: 24px 24px 18px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hours-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 1.5rem; margin-bottom: 12px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 9px 4px; text-align: start; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-weight: 500; }
.hours td { text-align: end; color: rgba(255, 255, 255, 0.85); font-variant-numeric: tabular-nums; }
.hours td.closed { color: rgba(255, 255, 255, 0.45); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--blush); font-weight: 700; }
.hours-note { margin: 12px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }

/* services page */
.svc-list { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
.svc { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 24px 40px -34px rgba(35, 21, 48, 0.5); }
.svc-ico { width: 52px; height: 52px; }
.svc h2 { font-size: 1.4rem; margin: 4px 0 6px; }
.svc-body p { color: var(--muted); margin: 0; }
.svc-side { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.svc-price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.svc-price small { color: var(--muted); }
.svc-price b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
@media (min-width: 760px) {
  .svc { grid-template-columns: auto 1fr auto; align-items: center; }
  .svc-side { grid-column: 3; flex-direction: column; align-items: flex-end; margin: 0; }
}
.price-note { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 0.95rem; }

/* values */
.values { display: grid; gap: 22px; }
@media (min-width: 860px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { text-align: center; padding: 10px; }
.value-arc { display: block; width: 70px; height: 22px; margin: 0 auto 14px; border: 3px solid var(--mint-deep); border-top: 0; border-radius: 0 0 70px 70px; }
.value h3 { font-size: 1.35rem; margin-bottom: 8px; }
.value p { color: var(--muted); margin: 0 auto; max-width: 32ch; }

/* new patients */
.np-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .np-grid { grid-template-columns: 1fr 1fr; } }
.np-box { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.np-box h2 { font-size: 1.5rem; margin-bottom: 10px; }
.np-box p + h2 { margin-top: 18px; }
.np-box p { color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 34px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%; background: var(--mint-bg); }
.ticks li::after { content: ""; position: absolute; inset-inline-start: 7px; top: calc(0.2em + 6px); width: 8px; height: 5px; border-left: 2px solid var(--mint-deep); border-bottom: 2px solid var(--mint-deep); transform: rotate(-45deg); }

/* forms */
.book-in { display: grid; gap: 26px; align-items: start; }
@media (min-width: 940px) { .book-in { grid-template-columns: 1.45fr 0.75fr; gap: 34px; } }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 26px; display: grid; gap: 16px; box-shadow: 0 30px 50px -40px rgba(35, 21, 48, 0.55); }
.field-row { display: grid; gap: 16px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: 0.95rem; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; width: 100%; min-width: 0; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fffcf9; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint-deep); box-shadow: 0 0 0 4px rgba(143, 214, 195, 0.35); }
.field .bad, .field input.bad, .field textarea.bad, .field select.bad { border-color: #c0485a; background: #fff4f4; }
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="tel"] { text-align: right; }
.choice { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choice legend { margin-bottom: 8px; }
.choice label { flex: 0 0 auto; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fffcf9; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--mint-deep); background: var(--mint-bg); }
.choice input { accent-color: var(--mint-deep); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.2em; }
.form-msg.ok { color: var(--mint-deep); }
.form-msg.err { color: #b33a4c; }
.book-side { display: grid; gap: 16px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.side-card h2 { font-size: 1.35rem; margin-bottom: 10px; }
.side-card p { color: var(--muted); }
.side-card.urgent { background: var(--night); color: var(--white); border-color: var(--night); }
.side-card.urgent p { color: rgba(255, 255, 255, 0.75); }
.side-card.urgent .btn-ink { background: var(--glow); color: var(--night); }
.mini-steps { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; color: var(--muted); }
.mini-steps li::marker { color: var(--apricot); font-weight: 700; }

/* FAQ */
.faq-in { display: grid; gap: 26px; align-items: start; }
@media (min-width: 940px) { .faq-in { grid-template-columns: 1.5fr 0.6fr; } .faq-in .side-card { position: sticky; top: 110px; } }
.qa-list { display: grid; gap: 12px; }
.qa { background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.qa[open] { border-color: var(--blush); box-shadow: 0 20px 36px -28px rgba(35, 21, 48, 0.5); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; font-family: var(--display); font-size: 1.15rem; line-height: 1.35; }
html[lang="ar"] .qa summary { font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint-bg); color: var(--mint-deep); font-family: var(--body); font-weight: 700; transition: transform 0.2s; }
.qa[open] summary::after { transform: rotate(45deg); background: var(--glow); color: var(--night); }
.qa p { margin: 0; padding: 0 20px 20px; color: var(--muted); max-width: 66ch; }

/* ---------- footer ---------- */
.footer { background: #1b1025; color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }
.footer-in { display: grid; gap: 30px; padding-block: 54px 30px; }
@media (min-width: 860px) { .footer-in { grid-template-columns: 1.3fr 1fr 0.8fr; gap: 48px; } }
.f-brand .brand { color: var(--white); margin-bottom: 14px; }
.f-brand p { max-width: 40ch; margin: 0; }
.f-visit h2 { font-family: var(--display); font-size: 1.3rem; color: var(--white); margin-bottom: 10px; }
.f-visit p { margin: 0 0 6px; }
.f-visit a { text-decoration: none; color: var(--mint); }
.f-today span:first-child { color: var(--blush); }
.f-nav { display: grid; gap: 6px; align-content: start; }
.f-nav a { text-decoration: none; }
.f-nav a:hover { color: var(--white); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-block: 18px 26px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.88rem; }
.footer-base p { margin: 0; }
.footer-base a { color: var(--blush); text-decoration: none; }
.footer-base a:hover { text-decoration: underline; }
.version { color: rgba(255, 255, 255, 0.5); }

/* ---------- motion ---------- */
.motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease var(--d, 0ms), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .hero-copy > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.motion .hero-copy > :nth-child(2) { animation-delay: 0.12s; }
.motion .hero-copy > :nth-child(3) { animation-delay: 0.24s; }
.motion .hero-copy > :nth-child(4) { animation-delay: 0.36s; }
.motion .hero-copy > :nth-child(5) { animation-delay: 0.48s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.person, .svc { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.person:hover, .svc:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .person:hover, .svc:hover, .btn:hover { transform: none; }
}
@media print { .motion .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- photos (1.1) ---------- */
.svc.has-photo { grid-template-columns: 1fr; padding: 0; overflow: hidden; }
.svc-photo { margin: 0; align-self: stretch; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 0 0 50% 50% / 0 0 14% 14%; }
.svc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc.has-photo .svc-body { padding: 0 22px; }
.svc.has-photo .svc-side { grid-column: 1; padding: 0 22px 22px; margin-top: 4px; }
@media (min-width: 760px) {
  .svc.has-photo { grid-template-columns: 210px 1fr auto; align-items: center; gap: 6px 22px; padding: 0; }
  .svc-photo { height: 100%; min-height: 150px; aspect-ratio: auto; border-radius: 0 50% 50% 0 / 0 14% 14% 0; }
  html[dir="rtl"] .svc-photo { border-radius: 50% 0 0 50% / 14% 0 0 14%; }
  .svc.has-photo .svc-body { padding: 18px 0; }
  .svc.has-photo .svc-side { grid-column: 3; padding: 18px 22px 18px 0; margin: 0; }
  html[dir="rtl"] .svc.has-photo .svc-side { padding: 18px 0 18px 22px; }
}
.face.has-photo { overflow: hidden; padding: 4px; }
.face.has-photo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 52% 22%; }
.np-photo { margin: 18px 0 14px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 20px 20px 50% 50% / 20px 20px 14% 14%; }
.np-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.tour { display: grid; gap: 18px; }
@media (min-width: 760px) { .tour { grid-template-columns: repeat(3, 1fr); } }
.tour-shot { margin: 0; }
.tour-shot img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 22px 22px 50% 50% / 22px 22px 14% 14%; box-shadow: 0 30px 46px -32px rgba(35, 21, 48, 0.7); }
.tour-shot figcaption { text-align: center; margin-top: 12px; font-weight: 600; }
html[lang="ar"] .mini-steps { list-style: arabic-indic; }
.np-gap { margin-top: 26px; }
.np-box > .np-photo:first-child { margin-top: 0; }

/* 1.2: live booking — free days and times */
.slot-picker { border: 0; margin: 0; padding: 18px; border-radius: 22px; background: var(--paper-2); display: grid; gap: 12px; min-width: 0; transition: box-shadow 0.2s; }
.slot-picker.bad { box-shadow: 0 0 0 2px #c0485a; }
.slot-picker legend { float: left; width: 100%; padding: 0; font-family: var(--display); font-size: 1.3rem; }
[dir="rtl"] .slot-picker legend { float: right; }
.slot-hint { margin: 0; color: var(--muted); font-size: 0.95rem; }
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day-chip { flex: 0 0 auto; scroll-snap-align: start; display: grid; justify-items: center; gap: 1px; min-width: 84px; padding: 10px 12px; border-radius: 16px;
  font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.day-chip:hover { border-color: var(--mint-deep); transform: translateY(-1px); }
.day-chip .dc-wd { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.day-chip .dc-date { font-size: 1.05rem; }
.day-chip .dc-n { font-size: 0.78rem; color: var(--mint-deep); font-weight: 600; }
.day-chip.full { opacity: 0.55; }
.day-chip.full .dc-n { color: #b33a4c; }
.day-chip[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--white); }
.day-chip[aria-pressed="true"] .dc-wd { color: var(--blush); }
.day-chip[aria-pressed="true"] .dc-n { color: var(--mint); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { font: inherit; font-weight: 600; padding: 10px 8px; border-radius: 12px; cursor: pointer; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); transition: border-color 0.15s, background 0.15s; }
.slot:hover { border-color: var(--mint-deep); background: var(--mint-bg); }
.slot[aria-pressed="true"] { background: var(--glow); border-color: transparent; color: var(--night); box-shadow: 0 10px 20px -12px rgba(236, 143, 136, 0.9); }
.slot-note { grid-column: 1 / -1; margin: 0; padding: 12px; border-radius: 12px; background: var(--white); color: var(--muted); text-align: center; }
.slot-chosen { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--mint-bg); color: var(--mint-deep); font-weight: 700; }
.form-h { font-size: 1.3rem; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .day-chip, .slot { transition: none; } .day-chip:hover { transform: none; } }
/* 1.2: the Arabic name is longer, so it shrinks a little on phones */
@media (max-width: 440px) { html[lang="ar"] .brand-words b { font-size: 1.02rem; } html[lang="ar"] .brand-words small { font-size: 0.72rem; } }
@media (max-width: 370px) { html[lang="ar"] .brand-words b { font-size: 0.94rem; } .lang-switch { padding: 6px 9px; } }
