/* =========================================================
   Te Agia Dental Clinic — design tokens
   ========================================================= */
:root {
  --navy-950: #0B1638;
  --navy-900: #0E1B45;
  --navy-800: #16275E;
  --brand: #22388F;          /* logo navy */
  --brand-600: #2A46AE;
  --brand-50: #EEF2FC;
  --aqua: #2EC4D3;           /* decorative accent only */
  --aqua-700: #0B7C8A;       /* accessible aqua for text */
  --aqua-50: #E6F8FA;
  --gold: #F2B63D;

  --bg: #FFFFFF;
  --tint: #F4F7FC;
  --surface: #FFFFFF;
  --ink: #0E1B45;
  --ink-2: #33406A;
  --muted: #5A6583;
  --line: #E2E8F3;
  --line-strong: #CBD4E6;

  --success: #0E8A5B;
  --danger: #C4323A;
  --wa: #1FA855;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(14, 27, 69, .06), 0 1px 3px rgba(14, 27, 69, .05);
  --shadow: 0 4px 12px rgba(14, 27, 69, .06), 0 12px 32px rgba(14, 27, 69, .07);
  --shadow-lg: 0 10px 30px rgba(14, 27, 69, .10), 0 30px 60px rgba(14, 27, 69, .10);

  --font-head: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms;
  --t: 260ms;

  --header-h: 76px;
  --z-header: 40;
  --z-float: 60;
  --z-toast: 100;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.25; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.4; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); transition: top var(--t-fast); }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--brand-600); outline-offset: 3px; border-radius: 6px; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--lg { width: 24px; height: 24px; }
html[dir="rtl"] .ic--flip { transform: scaleX(-1); }
html[dir="ltr"] .ic--flip-back { transform: scaleX(-1); }
html[dir="rtl"] .ic--flip-back { transform: none; }
.ltr-inline { unicode-bidi: isolate; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 500; font-size: 15.5px;
  cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t) var(--ease), transform var(--t-fast) var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(34, 56, 143, .28); }
.btn--primary:hover { background: var(--navy-800); box-shadow: 0 10px 24px rgba(34, 56, 143, .34); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--aqua-50); }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: #178a45; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .ic { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: 0; color: var(--brand); font-weight: 600; cursor: pointer; padding: 10px; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #C9D3F0; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item .ic { width: 16px; height: 16px; color: var(--aqua); }
.topbar__phone:hover { color: #fff; }
.topbar__status .dot { margin: 0; }
@media (max-width: 767px) {
  .topbar__inner > .topbar__item:first-child { display: none; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(14, 27, 69, .05); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--navy-900); }
.brand__tag { font-size: 12.5px; color: var(--muted); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__tag { color: #AEB9DD; }

.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav a:hover { color: var(--brand); background: var(--brand-50); }
.nav a.is-active { color: var(--brand); background: var(--brand-50); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px;
  border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink-2);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.lang-btn:hover { border-color: var(--brand); color: var(--brand); }
.lang-btn .ic { width: 18px; height: 18px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1023px) {
  .menu-btn { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 40px) 0 auto 0;
    flex-direction: column; gap: 4px; padding: 16px 20px 24px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform var(--t) var(--ease), opacity var(--t), visibility var(--t);
  }
  .header.is-scrolled .nav, .nav.nav--stuck { top: var(--header-h); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; font-size: 16.5px; border-radius: 12px; }
  .header__actions { margin-inline-start: auto; }
}

/* ---------- Common section ---------- */
.section { padding-block: 88px; position: relative; }
@media (max-width: 767px) { .section { padding-block: 64px; } }
.section--tint { background: var(--tint); }
.section--navy { background: radial-gradient(1200px 500px at 85% -10%, rgba(46, 196, 211, .16), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: #fff; }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section__head--start { text-align: start; margin: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--aqua-700);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px;
}
html[lang="ar"] .kicker { letter-spacing: 0; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--aqua); }
.kicker--light { color: #8FE6EF; }
.section__title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; color: var(--navy-900); text-wrap: balance; }
.section__title--light { color: #fff; }
.section__sub { margin-top: 14px; font-size: 17.5px; color: var(--muted); text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.eyebrow .ic { width: 18px; height: 18px; color: var(--aqua-700); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 56px 88px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 480px at 12% 30%, rgba(46, 196, 211, .16), transparent 65%),
    radial-gradient(800px 600px at 95% 0%, rgba(42, 70, 174, .10), transparent 60%),
    linear-gradient(180deg, #F6F9FF 0%, #FFFFFF 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { margin-top: 20px; font-size: clamp(38px, 5.6vw, 66px); font-weight: 700; color: var(--navy-900); text-wrap: balance; }
html[lang="ar"] .hero__title { line-height: 1.3; }
.hl { position: relative; color: var(--brand); white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; inset-inline: -2%; bottom: .06em; height: .28em; z-index: -1;
  background: linear-gradient(90deg, rgba(46, 196, 211, .45), rgba(46, 196, 211, .2)); border-radius: 6px;
}
.hero__lead { margin-top: 20px; font-size: 18.5px; color: var(--muted); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.hero__stats span { font-size: 14.5px; color: var(--muted); }
.ic--star { width: 22px; height: 22px; fill: var(--gold); stroke: var(--gold); }

.hero__media { position: relative; justify-self: center; width: 100%; max-width: 480px; }
.hero__arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 32px 32px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--brand-50);
}
.hero__arch::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 27, 69, .25));
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero__media::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 100%; height: 100%;
  border-radius: 240px 240px 32px 32px; border: 2px dashed rgba(34, 56, 143, .18); z-index: -1;
}
html[dir="rtl"] .hero__media::before { inset: -18px auto auto -18px; }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .8);
  backdrop-filter: blur(8px);
  animation: floaty 6s ease-in-out infinite;
}
.float-card > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.float-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.float-card__icon--aqua { background: var(--aqua-50); color: var(--aqua-700); }
.float-card__label { font-size: 13px; color: var(--muted); }
.float-card__value { font-family: var(--font-head); font-size: 15.5px; font-weight: 600; color: var(--navy-900); }
.float-card--top { top: 14%; inset-inline-start: -48px; }
.float-card--bottom { bottom: 10%; inset-inline-end: -36px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__content { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas, .hero__stats { justify-content: center; }
  .hero__media { max-width: 420px; }
}
@media (max-width: 767px) {
  .hero { padding-block: 32px 56px; }
  .hero__lead { font-size: 17px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__stats { gap: 12px 28px; }
  .hero__stats strong { font-size: 24px; }
  .float-card { padding: 10px 14px; }
  .float-card--top { inset-inline-start: -8px; top: 8%; }
  .float-card--bottom { inset-inline-end: -8px; }
  .float-card__icon { width: 38px; height: 38px; }
  .hero__media { max-width: 340px; }
}

/* ---------- Strip ---------- */
.strip { background: var(--navy-900); color: #DCE3F7; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 12px; font-family: var(--font-head); font-size: 15px; font-weight: 500; }
.strip__item + .strip__item { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.strip__item .ic { color: var(--aqua); }
@media (max-width: 767px) {
  .strip__grid { grid-template-columns: 1fr 1fr; }
  .strip__item { justify-content: flex-start; padding: 16px 8px; font-size: 14px; }
  .strip__item:nth-child(3) { border-inline-start: 0; }
  .strip__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1023px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.service {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 24px 24px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
  overflow: hidden;
}
.service::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--aqua));
  transform: scaleX(0); transform-origin: var(--origin, left); transition: transform var(--t) var(--ease);
}
html[dir="rtl"] .service::after { --origin: right; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-50), var(--aqua-50)); color: var(--brand);
  margin-bottom: 20px; transition: background var(--t), color var(--t);
}
.service__icon .ic { width: 28px; height: 28px; stroke-width: 1.75; }
.service:hover .service__icon { background: var(--brand); color: #fff; }
.service__title { font-size: 19px; font-weight: 600; color: var(--navy-900); }
.service__desc { margin-top: 8px; font-size: 15px; color: var(--muted); flex: 1; }
.service__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.service__time { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.service__time .ic { width: 16px; height: 16px; }
.service__book {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 4px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--brand);
}
.service__book .ic { width: 16px; height: 16px; transition: transform var(--t-fast); }
.service__book:hover .ic { transform: translateX(3px); }
html[dir="rtl"] .service__book .ic { transform: scaleX(-1); }
html[dir="rtl"] .service__book:hover .ic { transform: scaleX(-1) translateX(3px); }
.service--featured { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border-color: transparent; color: #fff; }
.service--featured .service__title { color: #fff; }
.service--featured .service__desc, .service--featured .service__time { color: #B9C4E6; }
.service--featured .service__icon { background: rgba(255, 255, 255, .1); color: var(--aqua); }
.service--featured .service__meta { border-top-color: rgba(255, 255, 255, .15); }
.service--featured .service__book { color: #8FE6EF; }
.badge {
  position: absolute; top: 20px; inset-inline-end: 20px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--aqua); color: var(--navy-950);
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__media { position: relative; padding-bottom: 72px; padding-inline-end: 64px; }
.about__img-main { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.about__img-sub {
  position: absolute; bottom: 0; inset-inline-end: 0; width: 52%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); border: 6px solid var(--tint); box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute; top: 24px; inset-inline-start: -20px;
  display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius);
  background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 500; font-size: 15px;
  box-shadow: 0 12px 28px rgba(34, 56, 143, .35);
}
.about__badge .ic { color: var(--aqua); }
.about__content .btn { margin-top: 32px; }
.checklist { margin-top: 28px; display: grid; gap: 20px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; }
.checklist__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua-50); color: var(--aqua-700); }
.checklist__icon .ic { width: 18px; height: 18px; stroke-width: 2.5; }
.checklist strong { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--navy-900); }
.checklist p { font-size: 15px; color: var(--muted); margin-top: 2px; }
@media (max-width: 1023px) {
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__media { max-width: 620px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .about__media { padding-inline-end: 32px; padding-bottom: 56px; }
  .about__badge { inset-inline-start: -4px; top: 12px; font-size: 13.5px; padding: 10px 14px; }
}

/* ---------- Doctors ---------- */
.doctors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1023px) { .doctors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .doctors { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }
.doctor {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.doctor:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doctor__photo { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: linear-gradient(160deg, var(--brand-50), var(--aqua-50)); }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.doctor:hover .doctor__photo img { transform: scale(1.04); }
.doctor__exp {
  position: absolute; bottom: 12px; inset-inline-start: 12px;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); font-size: 13px; font-weight: 600; color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.doctor__exp .ic { width: 15px; height: 15px; color: var(--aqua-700); }
.doctor__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.doctor__name { font-size: 19px; font-weight: 600; color: var(--navy-900); }
.doctor__role { margin-top: 2px; font-size: 14.5px; color: var(--aqua-700); font-weight: 500; }
.doctor__days { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip { padding: 4px 10px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.doctor .btn { margin-top: 18px; width: 100%; }
.doctor__bio { margin-top: 10px; font-size: 14.5px; color: var(--muted); flex: 1; }

/* ---------- Hours ---------- */
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
@media (max-width: 1023px) { .hours { grid-template-columns: 1fr; } }
.hours__card {
  padding: 36px; border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
@media (max-width: 560px) { .hours__card { padding: 24px 20px; } }
.hours__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-head); font-size: 14px; font-weight: 500;
  background: rgba(46, 196, 211, .14); color: #A7F0F6; border: 1px solid rgba(46, 196, 211, .3);
}
.status-pill.is-closed { background: rgba(255, 255, 255, .08); color: #D5DBEE; border-color: rgba(255, 255, 255, .15); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #3BE08F; box-shadow: 0 0 0 4px rgba(59, 224, 143, .2); }
.is-closed .dot, .dot--off { background: #F08A8F; box-shadow: 0 0 0 4px rgba(240, 138, 143, .18); }
.hours__table { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours__table th, .hours__table td { padding: 14px 16px; text-align: start; font-weight: 400; }
.hours__table td { text-align: end; font-variant-numeric: tabular-nums; color: #DCE3F7; }
.hours__table th { font-family: var(--font-head); font-weight: 500; color: #fff; }
.hours__table tr { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hours__table tr:last-child { border-bottom: 0; }
.hours__table tr.is-today { background: rgba(46, 196, 211, .12); }
.hours__table tr.is-today th, .hours__table tr.is-today td { color: #fff; }
.hours__table tr.is-today th { border-start-start-radius: 12px; border-end-start-radius: 12px; }
.hours__table tr.is-today td { border-start-end-radius: 12px; border-end-end-radius: 12px; }
.today-tag { display: inline-block; margin-inline-start: 8px; padding: 2px 8px; border-radius: 999px; background: var(--aqua); color: var(--navy-950); font-size: 11.5px; font-weight: 600; vertical-align: middle; }
.closed-txt { color: #F5A3A7 !important; }
.hours__note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); color: #C9D3F0; font-size: 15px; }
.hours__note .ic { color: var(--aqua); width: 18px; height: 18px; }
.hours__note a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.hours__map { display: flex; flex-direction: column; gap: 16px; }
.map { flex: 1; min-height: 300px; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: var(--navy-800); }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; filter: saturate(.9); }
.contact-cards { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.contact-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(46, 196, 211, .4); }
.contact-card > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; color: #C9D3F0; }
.contact-card strong { font-family: var(--font-head); color: #fff; font-weight: 600; font-size: 15px; }
.contact-card__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(46, 196, 211, .15); color: var(--aqua); }

/* ---------- Booking ---------- */
.booking {
  display: grid; grid-template-columns: 300px 1fr; border-radius: var(--radius-xl); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
@media (max-width: 1023px) { .booking { grid-template-columns: 1fr; } }
.booking__aside {
  display: flex; flex-direction: column; gap: 28px; padding: 32px 28px;
  background: linear-gradient(170deg, var(--navy-800), var(--navy-950)); color: #fff;
}
@media (max-width: 1023px) { .booking__aside { padding: 20px; gap: 16px; } }
.steps { display: grid; gap: 6px; }
@media (max-width: 1023px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .steps__item { flex-direction: column; text-align: center; gap: 6px !important; padding: 6px 2px !important; font-size: 12.5px !important; }
  .summary, .booking__help { display: none !important; }
}
.steps__item {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px;
  font-family: var(--font-head); font-size: 15px; color: #9FAAD0; transition: background var(--t), color var(--t);
}
.steps__num {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .25); font-size: 14px; font-weight: 600;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.steps__item.is-current { color: #fff; background: rgba(255, 255, 255, .08); }
.steps__item.is-current .steps__num { background: var(--aqua); border-color: var(--aqua); color: var(--navy-950); }
.steps__item.is-done { color: #DCE3F7; }
.steps__item.is-done .steps__num { background: rgba(46, 196, 211, .18); border-color: transparent; color: var(--aqua); }

.summary { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.summary__title { font-family: var(--font-head); font-size: 13px; color: #9FAAD0; text-transform: uppercase; letter-spacing: .06em; }
html[lang="ar"] .summary__title { letter-spacing: 0; }
.summary__row { display: flex; gap: 10px; align-items: flex-start; color: #DCE3F7; }
.summary__row .ic { width: 18px; height: 18px; color: var(--aqua); margin-top: 2px; }
.summary__row.is-empty { color: #7682AC; }
.summary__row.is-empty .ic { color: #5C6893; }
.booking__help { margin-top: auto; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #B9C4E6; }
.booking__help .ic { width: 18px; height: 18px; color: var(--aqua); margin-top: 3px; }
.booking__help a { color: #fff; font-weight: 600; }

.booking__main { padding: 36px 40px; min-width: 0; }
@media (max-width: 767px) { .booking__main { padding: 24px 18px; } }
.panel { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.panel.is-active { display: block; animation: panelIn 380ms var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel__title { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--navy-900); margin-bottom: 20px; padding: 0; }
.panel__subtitle { font-size: 17px; font-weight: 600; color: var(--navy-900); margin: 28px 0 14px; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
  display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 16px;
  border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.choice__box:hover { border-color: var(--line-strong); background: var(--tint); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--brand-600); outline-offset: 2px; }
.choice input:checked + .choice__box { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(34, 56, 143, .1); }
.choice__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--brand); }
.choice__icon .ic { width: 24px; height: 24px; stroke-width: 1.75; }
.choice__avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--tint); }
.choice__avatar--any { display: grid; place-items: center; color: var(--brand); }
.choice__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.choice__text strong { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--navy-900); }
.choice__text span { font-size: 13.5px; color: var(--muted); }
.choice__check { margin-inline-start: auto; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: transparent; transition: all var(--t-fast); }
.choice__check .ic { width: 14px; height: 14px; stroke-width: 3; }
.choice input:checked + .choice__box .choice__check { background: var(--brand); border-color: var(--brand); color: #fff; }

.dates { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.date {
  flex: none; scroll-snap-align: start; width: 76px; padding: 12px 6px; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.date:hover:not([disabled]) { border-color: var(--line-strong); background: var(--tint); }
.date__dow { font-size: 12.5px; color: var(--muted); }
.date__day { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--navy-900); line-height: 1.2; }
.date__mon { font-size: 12px; color: var(--muted); }
.date[aria-checked="true"] { background: var(--brand); border-color: var(--brand); }
.date[aria-checked="true"] * { color: #fff; }
.date[disabled] { opacity: .45; cursor: not-allowed; background: var(--tint); }
.date[disabled] .date__day { text-decoration: line-through; }

.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.time {
  min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  font-family: var(--font-head); font-size: 14.5px; font-weight: 500; color: var(--navy-900); font-variant-numeric: tabular-nums;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.time:hover:not([disabled]) { border-color: var(--brand); color: var(--brand); }
.time[aria-checked="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.time[disabled] { cursor: not-allowed; color: #A3ACC4; background: repeating-linear-gradient(135deg, var(--tint), var(--tint) 6px, #fff 6px, #fff 12px); text-decoration: line-through; }
.times__empty { grid-column: 1 / -1; padding: 24px; text-align: center; border-radius: var(--radius); background: var(--tint); color: var(--muted); font-size: 15px; }
.legend-row { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.legend-row .dot { width: 12px; height: 12px; border-radius: 4px; box-shadow: none; }
.legend-row .dot--free { background: #fff; border: 1.5px solid var(--line-strong); }
.legend-row .dot--busy { background: repeating-linear-gradient(135deg, var(--line), var(--line) 3px, #fff 3px, #fff 6px); border: 1.5px solid var(--line); margin-inline-start: 12px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--navy-900); }
.req { color: var(--danger); }
.opt { color: var(--muted); font-weight: 400; font-size: 13.5px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: #fff; font-size: 16px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: #AEB9D3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(34, 56, 143, .12); }
html[dir="rtl"] #fPhone { text-align: right; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(196, 50, 58, .12); }
.field-hint { font-size: 13.5px; color: var(--muted); }
.field-error { font-size: 14px; color: var(--danger); font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.field-error:not(:empty)::before { content: "⚠ "; }
.panel > .field-error { margin-top: 12px; }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); width: fit-content; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; }
.seg__opt span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: 999px; cursor: pointer; font-family: var(--font-head); font-size: 14.5px; color: var(--ink-2); transition: background var(--t-fast), color var(--t-fast); }
.seg__opt input:checked + span { background: #fff; color: var(--brand); font-weight: 600; box-shadow: var(--shadow-sm); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--brand-600); outline-offset: 1px; }

.panel__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.panel__nav .btn { min-width: 132px; }
#backBtn[hidden] { display: inline-flex; visibility: hidden; }

.panel--success { text-align: center; padding: 16px 0 8px; }
.panel--success:focus { outline: none; }
.success__icon {
  width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--success), #15B374); color: #fff; box-shadow: 0 14px 32px rgba(14, 138, 91, .3);
  animation: pop 500ms var(--ease);
}
.success__icon .ic { width: 38px; height: 38px; stroke-width: 3; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success__sub { color: var(--muted); }
.success__ref { margin-top: 4px; font-family: var(--font-head); font-size: 28px; font-weight: 700; letter-spacing: .06em; color: var(--brand); direction: ltr; }
.success__details { max-width: 440px; margin: 24px auto 0; display: grid; gap: 10px; padding: 20px; border-radius: var(--radius); background: var(--tint); text-align: start; }
.success__details .summary__row { color: var(--ink-2); font-size: 15px; }
.success__details .summary__row .ic { color: var(--brand); }
.success__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.panel--success .link-btn { margin-top: 16px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1023px) { .reviews { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }
.review { position: relative; padding: 32px 28px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.review::before {
  content: "“"; position: absolute; top: 4px; inset-inline-end: 24px; font-family: Georgia, serif; font-size: 96px; line-height: 1;
  color: var(--brand-50);
}
.review__stars { display: flex; gap: 2px; }
.review__stars .ic { width: 18px; height: 18px; fill: var(--gold); stroke: var(--gold); }
.review__text { margin-top: 16px; font-size: 16px; color: var(--ink-2); flex: 1; position: relative; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--brand), var(--aqua-700)); }
.review__who strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy-900); font-size: 15.5px; }
.review__who span { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap .section__head .btn { margin-top: 28px; }
@media (max-width: 1023px) { .faq-wrap { grid-template-columns: 1fr; gap: 32px; } }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow var(--t), border-color var(--t); }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 22px;
  cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 500; font-size: 16.5px; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; transition: transform var(--t) var(--ease); color: var(--brand); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 0 88px; }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 48px 56px; border-radius: var(--radius-xl);
  background:
    radial-gradient(500px 300px at 90% 120%, rgba(46, 196, 211, .35), transparent 60%),
    radial-gradient(400px 260px at 0% -20%, rgba(42, 70, 174, .6), transparent 60%),
    var(--navy-900);
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band__title { font-size: clamp(24px, 3vw, 34px); font-weight: 700; }
.cta-band__sub { margin-top: 8px; color: #C9D3F0; font-size: 17px; }
@media (max-width: 767px) { .cta-band { padding-bottom: 64px; } .cta-band__inner { padding: 32px 24px; text-align: center; justify-content: center; } .cta-band__inner .btn { width: 100%; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #AEB9DD; padding-top: 64px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 1023px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }
.footer__brand p { margin-top: 18px; max-width: 340px; }
.footer__title { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a:hover { color: #fff; }
.footer__hours li { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: background var(--t-fast), border-color var(--t-fast); }
.socials a:hover { background: var(--brand); border-color: var(--brand); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: #8591BA; }
@media (max-width: 767px) { .footer { padding-bottom: 80px; } }

/* ---------- Floating ---------- */
.fab-wa {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: var(--z-float);
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 10px 28px rgba(31, 168, 85, .4);
  transition: transform var(--t) var(--ease);
}
.fab-wa:hover { transform: scale(1.06); }
.fab-wa .ic { width: 30px; height: 30px; }
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .fab-wa { bottom: 84px; inset-inline-end: 16px; width: 54px; height: 54px; }
  .mobile-bar {
    position: fixed; inset: auto 0 0 0; z-index: var(--z-float);
    display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform var(--t) var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { min-height: 48px; }
}

.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: var(--z-toast);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 12px; background: var(--navy-900); color: #fff; font-size: 15px; box-shadow: var(--shadow-lg);
  transition: opacity var(--t), transform var(--t) var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
