/* ==========================================================
   مجمع العناية الطبية — Medical Care Clinics
   Brand colours taken from the logo (turquoise → mint, deep teal ink)
   ========================================================== */

:root {
  --brand: #12b5ab;
  --brand-600: #0e9f97;
  --brand-700: #0b8079;
  --brand-300: #5fdcca;
  --mint: #8af0cb;
  --brand-50: #ecfbf8;
  --brand-100: #d2f5ee;
  --grad: linear-gradient(135deg, #0fb0a6 0%, #19cfc0 55%, #7fe9c6 100%);
  --grad-deep: linear-gradient(150deg, #083a41 0%, #0b4f55 50%, #0d6e6a 100%);

  --ink: #0b3d45;
  --ink-2: #2f5157;
  --muted: #6a8589;
  --line: #e1eeee;
  --bg: #ffffff;
  --tint: #f3faf9;
  --amber: #f5a524;
  --danger: #dc3545;
  --wa: #25d366;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --sh-sm: 0 1px 2px rgba(11, 61, 69, .06), 0 2px 6px rgba(11, 61, 69, .05);
  --sh: 0 14px 40px -18px rgba(11, 61, 69, .28);
  --sh-lg: 0 30px 70px -28px rgba(14, 159, 151, .5);

  --header-h: 78px;
  --container: 1220px;
  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.8; font-weight: 400;
  color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--brand-600); text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.icon--lg { width: 26px; height: 26px; }
[dir="ltr"] .flip { transform: scaleX(-1); }
[dir="rtl"] .back { transform: scaleX(-1); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 500; font-size: 15px; line-height: 1.4; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--sm { padding: 7px 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); background-size: 140% 100%; color: #fff; box-shadow: 0 10px 24px -10px rgba(14, 159, 151, .75); }
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 14px 30px -10px rgba(14, 159, 151, .85); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-600); }
.btn--soft { background: var(--brand-50); color: var(--brand-700); }
.btn--soft:hover { background: var(--brand); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--brand-50); }
.btn--glass { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: rgba(11, 61, 69, .12); backdrop-filter: blur(8px); }
.btn--glass:hover { background: #fff; }
.btn--glass .icon { color: var(--wa); }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand-700); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.link-btn:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #e9fbf1; color: #12a150; transition: transform .2s; }
.icon-btn:hover { transform: scale(1.06); }
.icon-btn .icon { width: 22px; height: 22px; }

.chip {
  display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; font-size: 14px;
  background: var(--tint); border: 1px solid var(--line); color: var(--ink-2); transition: all .2s;
}
button.chip:hover { border-color: var(--brand); color: var(--brand-700); background: #fff; }
.chip--static { cursor: default; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #c4e6e2; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar__items, .topbar__end { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; }
.topbar__items > *, .topbar__cr { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.topbar a:hover { color: #fff; }
.topbar__cr [data-cr] { color: #fff; font-weight: 500; letter-spacing: .5px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; font-size: 13px; transition: background-color .2s;
}
.lang-btn:hover { background: rgba(255, 255, 255, .12); }
.lang-btn--block { width: 100%; justify-content: center; padding: 12px; font-size: 15px; color: var(--ink); border-color: var(--line); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--sh-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { width: 58px; height: 58px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-size: 19px; font-weight: 700; color: var(--ink); }
.brand__text small { font-size: 10.5px; letter-spacing: 1.6px; color: var(--brand-600); font-weight: 500; direction: ltr; text-align: start; }
.brand--light strong { color: #fff; }
.brand--light small { color: var(--mint); }

.nav__list { display: flex; gap: 2px; }
.nav__list a {
  position: relative; display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink-2);
  font-weight: 400; font-size: 15px; transition: color .2s;
}
.nav__list a::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transition: transform .25s;
}
.nav__list a:hover, .nav__list a.is-active { color: var(--brand-700); }
.nav__list a.is-active::after, .nav__list a:hover::after { transform: scaleX(1); }
.nav__mobile-extra { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; }

/* ---------- Section basics ---------- */
.section { padding-block: 100px; position: relative; }
.section--tint { background: var(--tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; text-align: start; max-width: none; margin-bottom: 40px; }
.section-head__note { font-size: 14px !important; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; letter-spacing: -.3px; margin-bottom: 12px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-700); font-weight: 500; font-size: 14px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.eyebrow--light { background: rgba(255, 255, 255, .12); color: #d6fff5; }
.eyebrow--hot { background: #fff4e3; color: #b86e00; }
.eyebrow--hot::before { background: var(--amber); }
.checklist { display: grid; gap: 10px; margin: 18px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); }
.checklist .icon { width: 22px; height: 22px; padding: 4px; margin-top: 3px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0 0 90px 0; z-index: -1;
  background:
    radial-gradient(700px 500px at 85% 10%, rgba(25, 207, 192, .16), transparent 60%),
    radial-gradient(600px 420px at 10% 90%, rgba(138, 240, 203, .25), transparent 60%),
    linear-gradient(180deg, #f2fbfa 0%, #fff 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70c240 50 480 50 720 20s480-80 720-40v70H0z' fill='%23ffffff'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: #fff; box-shadow: var(--sh-sm); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500;
}
.pill .icon { color: var(--brand); }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.2; font-weight: 700; letter-spacing: -.8px; margin: 22px 0 20px; }
.lead { font-size: 18px; color: var(--muted); max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 38px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 14px 38px; }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1.15; direction: ltr; text-align: start; }
.hero__trust span { color: var(--muted); font-size: 14px; }

.hero__visual { position: relative; max-width: 500px; margin-inline: auto; width: 100%; }
.hero__visual::before {
  content: ""; position: absolute; inset: 6% -6% -2% 8%; border-radius: 260px 260px 40px 40px;
  background: var(--grad); opacity: .9; transform: rotate(-4deg);
}
.hero__frame {
  position: relative; border-radius: 260px 260px 40px 40px; overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--sh-lg); border: 6px solid #fff; background: var(--brand-50);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-radius: 18px; box-shadow: var(--sh);
  animation: float 6s ease-in-out infinite; z-index: 2;
}
.float-card strong { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.float-card__icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); }
.float-card__icon .icon { width: 22px; height: 22px; }
.float-card__icon--mint { background: #e2fbf0; color: #0f9d6b; }
.float-card__icon--amber { background: #fff3dc; color: #c27c00; }
.float-card--a { top: 16%; inset-inline-end: -12%; }
.float-card--b { top: 50%; inset-inline-start: -16%; animation-delay: -2s; }
.float-card--c { bottom: 8%; inset-inline-end: -6%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Quick bar */
.quickbar {
  position: relative; z-index: 3; margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1.3fr 1fr auto; gap: 14px; align-items: end;
  background: #fff; padding: 20px; border-radius: var(--r-lg); box-shadow: var(--sh); border: 1px solid var(--line);
}
.quickbar__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.quickbar__field label { font-size: 13.5px; font-weight: 500; color: var(--ink); padding-inline-start: 4px; }
.quickbar select, .quickbar input, .field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.quickbar select, .field select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a8589' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: left 14px center;
}
[dir="ltr"] .quickbar select, [dir="ltr"] .field select { background-position: right 14px center; }
.quickbar select:focus, .quickbar input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(18, 181, 171, .14);
}
.quickbar__btn { min-height: 52px; }

/* ---------- Departments ---------- */
.depts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dept {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s;
}
.dept:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.dept__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.dept__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dept:hover .dept__media img { transform: scale(1.05); }
.dept__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11, 61, 69, .35)); }
.dept__badge {
  position: absolute; z-index: 1; bottom: -30px; inset-inline-start: 30px; width: 68px; height: 68px; border-radius: 22px;
  display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -10px rgba(14, 159, 151, .8); border: 4px solid #fff;
}
.dept__badge .icon { width: 32px; height: 32px; }
.dept__body { padding: 46px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.dept__tag { color: var(--brand-600); font-weight: 500; font-size: 14px; margin-bottom: 4px; }
.dept__body h3 { font-size: 26px; margin-bottom: 10px; }
.dept__body > p:not(.dept__tag) { color: var(--muted); }
.dept__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 24px; }
.dept__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.dept__count { color: var(--muted); font-size: 14px; }

/* ---------- Why us ---------- */
.why { background: var(--grad-deep); color: #c6e4e1; overflow: hidden; }
.why::before {
  content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; top: -260px; inset-inline-end: -200px;
  background: radial-gradient(circle, rgba(25, 207, 192, .35), transparent 65%);
}
.why__inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why .section-title { color: #fff; }
.why__intro > p { font-size: 17px; }
.why__stats { display: flex; gap: 14px; margin: 30px 0 34px; flex-wrap: wrap; }
.stat {
  flex: 1; min-width: 120px; padding: 18px 20px; border-radius: var(--r); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.stat strong { display: block; font-size: 38px; font-weight: 700; line-height: 1.1; background: linear-gradient(135deg, #fff, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 14px; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card {
  padding: 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
  transition: background-color .25s, transform .25s;
}
.why-card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.why-card__icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 16px; }
.why-card__icon .icon { width: 24px; height: 24px; }
.why-card h3 { color: #fff; font-size: 17.5px; margin-bottom: 6px; }
.why-card p { margin: 0; font-size: 14.5px; line-height: 1.75; }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.section--tint .tabs { background: #fff; }
.tab {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 999px; border: 0;
  background: transparent; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: all .2s;
}
.tab:hover { color: var(--brand-700); }
.tab.is-active { background: var(--grad); color: #fff; box-shadow: 0 6px 16px -8px rgba(14, 159, 151, .8); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s;
  animation: fadeUp .45s ease both;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.svc__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; background: var(--brand-50); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc__tag {
  position: absolute; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12.5px; font-weight: 500;
}
.svc__tag .icon { color: var(--brand-600); }
.svc__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { font-size: 19px; margin-bottom: 6px; }
.svc__body p { color: var(--muted); font-size: 15px; flex: 1; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.offer { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s; }
.offer:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.offer__media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; }
.offer__badge {
  position: absolute; top: 14px; inset-inline-end: 14px; padding: 6px 12px; border-radius: 12px; direction: ltr;
  background: var(--amber); color: #3b2500; font-weight: 700; font-size: 15px; box-shadow: 0 8px 18px -8px rgba(245, 165, 36, .9);
}
.offer__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.offer__body h3 { font-size: 17.5px; margin-bottom: 4px; }
.offer__note { color: var(--muted); font-size: 14px; flex: 1; }
.offer__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.offer__price strong { font-size: 28px; font-weight: 700; color: var(--brand-700); }
.offer__price strong small { font-size: 14px; font-weight: 500; }
.offer__price del { color: var(--muted); font-size: 16px; }

/* ---------- Journey ---------- */
.journey__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.journey__steps::before {
  content: ""; position: absolute; top: 58px; inset-inline: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-300) 0 10px, transparent 10px 18px);
}
.jstep { position: relative; text-align: center; padding: 28px 20px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); }
.jstep__num { position: absolute; top: 14px; inset-inline-end: 18px; font-size: 13px; font-weight: 700; color: var(--brand-300); }
.jstep__icon {
  position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px;
  background: var(--grad); color: #fff; box-shadow: 0 0 0 8px var(--brand-50);
}
.jstep__icon .icon { width: 28px; height: 28px; }
.jstep h3 { font-size: 18px; margin-bottom: 6px; }
.jstep p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Installments ---------- */
.installments { padding: 40px 0; }
.installments__inner {
  display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 0; overflow: hidden;
  background: var(--grad); border-radius: var(--r-xl); box-shadow: var(--sh-lg);
}
.installments__media { height: 100%; min-height: 320px; position: relative; }
.installments__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.installments__content { padding: 50px 56px; color: #f0fffb; }
.installments__content h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.installments__content p { font-size: 17px; max-width: 520px; }
.installments__providers { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0 26px; }
.provider { padding: 8px 20px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: .3px; box-shadow: var(--sh-sm); }

/* ---------- Doctors ---------- */
.doctors { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.doc {
  position: relative; background: #fff; border-radius: var(--r-lg); padding: 26px 22px 22px; border: 1px solid var(--line);
  text-align: center; transition: transform .3s, box-shadow .3s; animation: fadeUp .45s ease both; overflow: hidden;
}
.doc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 92px; background: linear-gradient(135deg, var(--brand-50), #e6fbf3); }
.doc:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.doc__top { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 14px; }
.doc__avatar {
  width: 104px; height: 104px; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
  font-size: 40px; font-weight: 600; color: #fff; border: 5px solid #fff; box-shadow: var(--sh-sm);
}
.doc__avatar--m { background: linear-gradient(135deg, #0b6f6b, #19cfc0); }
.doc__avatar--f { background: linear-gradient(135deg, #18a999, #8af0cb); }
.doc__dept { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 3px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); }
.doc h3 { font-size: 18px; margin-bottom: 2px; }
.doc__title { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.doc__actions .link-btn { white-space: nowrap; font-size: 14.5px; }
.doc__actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }

/* ---------- Booking wizard ---------- */
.booking { background: var(--grad-deep); color: #c6e4e1; overflow: hidden; }
.booking::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; bottom: -260px; inset-inline-start: -160px;
  background: radial-gradient(circle, rgba(138, 240, 203, .25), transparent 65%);
}
.booking__inner { position: relative; z-index: 1; display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: start; }
.booking__inner > *, .wizard, .wz-step { min-width: 0; }
.booking__aside { position: sticky; top: calc(var(--header-h) + 30px); }
.booking .section-title { color: #fff; }
.booking__aside > p { font-size: 17px; }
.wz-progress { display: grid; gap: 4px; margin: 30px 0 34px; }
.wz-progress li { display: flex; align-items: center; gap: 14px; padding: 10px 0; color: rgba(255, 255, 255, .55); transition: color .25s; }
.wz-progress span {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, .25); transition: all .25s;
}
.wz-progress b { font-weight: 500; }
.wz-progress li.is-active { color: #fff; }
.wz-progress li.is-active span { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -8px rgba(25, 207, 192, .9); }
.wz-progress li.is-done { color: var(--mint); }
.wz-progress li.is-done span { border-color: var(--mint); color: var(--mint); }
.booking__alt { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.booking__alt p { margin: 0; }

.wizard { background: #fff; color: var(--ink-2); border-radius: var(--r-xl); padding: 34px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .55); min-height: 560px; display: flex; flex-direction: column; }
.wz-step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.wz-step.is-active { display: block; animation: fadeUp .35s ease both; }
.wz-title { font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 18px; padding: 0; outline: none; }
.wz-label { font-weight: 600; color: var(--ink); font-size: 15px; margin: 20px 0 10px; }
.wz-hint { display: block; color: var(--muted); font-size: 13px; margin-top: 10px; }
.wz-error { display: block; color: var(--danger); font-size: 14px; margin-top: 12px; min-height: 1px; }
.wz-error:empty { display: none; }
.wz-depts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wz-dept {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); background: #fff; text-align: start;
  border: 1.5px solid var(--line); transition: all .2s;
}
.wz-dept b { display: block; color: var(--ink); font-weight: 600; }
.wz-dept small { color: var(--muted); font-size: 13px; }
.wz-dept__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); transition: all .2s; }
.wz-dept__icon .icon { width: 26px; height: 26px; }
.wz-dept:hover { border-color: var(--brand-300); }
.wz-dept.is-selected { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(18, 181, 171, .12); }
.wz-dept.is-selected .wz-dept__icon { background: var(--grad); color: #fff; }
.wz-services, .wz-times { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-chip, .wz-time {
  padding: 9px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 14.5px; color: var(--ink-2); transition: all .2s;
}
.wz-chip:hover, .wz-time:not(:disabled):hover { border-color: var(--brand-300); }
.wz-chip.is-selected, .wz-time.is-selected { border-color: var(--brand); background: var(--brand); color: #fff; }
.wz-chip--ghost { border-style: dashed; }
.wz-time { min-width: 104px; direction: ltr; }
[dir="rtl"] .wz-time { direction: rtl; }
.wz-time:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.wz-doctors { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.wz-doc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; text-align: start; transition: all .2s; }
.wz-doc b { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.wz-doc small { color: var(--muted); font-size: 12.5px; line-height: 1.4; display: block; }
.wz-doc:hover { border-color: var(--brand-300); }
.wz-doc.is-selected { border-color: var(--brand); background: var(--brand-50); }
.wz-doc__av { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; object-fit: cover; }
.wz-doc__av--m { background: linear-gradient(135deg, #0b6f6b, #19cfc0); }
.wz-doc__av--f { background: linear-gradient(135deg, #18a999, #8af0cb); }
.wz-doc__av--any { background: var(--tint); color: var(--brand-700); border: 1.5px dashed var(--brand-300); }
.wz-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.wz-day {
  flex: 0 0 auto; width: 74px; padding: 10px 6px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff;
  display: flex; flex-direction: column; align-items: center; line-height: 1.3; scroll-snap-align: start; transition: all .2s;
}
.wz-day small { font-size: 12px; color: var(--muted); }
.wz-day b { font-size: 22px; color: var(--ink); font-weight: 600; }
.wz-day:hover { border-color: var(--brand-300); }
.wz-day.is-selected { background: var(--grad); border-color: transparent; }
.wz-day.is-selected small, .wz-day.is-selected b { color: #fff; }
.wz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 28px; }
.wz-nav .btn:only-child, .wz-nav #wzPrev[hidden] + .btn { margin-inline-start: auto; }
.wz-summary { margin: 0; display: grid; gap: 2px; background: var(--tint); border-radius: var(--r); padding: 8px 18px; }
.wz-summary div { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.wz-summary div:last-child { border-bottom: 0; }
.wz-summary dt { color: var(--muted); font-size: 14px; }
.wz-summary dd { margin: 0; color: var(--ink); font-weight: 500; word-break: break-word; }
.wz-summary .link-btn { font-size: 13px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; min-width: 0; }
.field label, .field__label { font-weight: 500; font-size: 14.5px; color: var(--ink); margin-bottom: 7px; }
.field label i { color: var(--danger); font-style: normal; }
.field textarea { resize: vertical; min-height: 92px; }
.field input[dir="ltr"] { text-align: start; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label {
  flex: 1; min-width: 90px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 12px; margin: 0;
  border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 400; font-size: 14.5px; transition: all .2s;
}
.seg label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); font-weight: 500; }
.seg input { accent-color: var(--brand); margin: 0; }
.form-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.form-success { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 16px; border-radius: 14px; background: #dcfce7; color: #166534; }
.form-success .icon { color: #16a34a; }
.form-success strong { display: block; }
.form-success p { margin: 0; font-size: 14.5px; }
.form-success a { color: #166534; font-weight: 700; text-decoration: underline; }

/* ---------- Articles ---------- */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.article:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.article__media { display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; overflow: hidden; }
.article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.article:hover .article__media img { transform: scale(1.05); }
.article__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.article__meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.article__meta span { color: var(--brand-700); font-weight: 500; }
.article__body h3 { font-size: 19px; }
.article__body > p:not(.article__meta) { color: var(--muted); font-size: 15px; flex: 1; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-wrap__head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-wrap__head p { color: var(--muted); font-size: 17px; }
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--brand-100); box-shadow: var(--sh-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 500; font-size: 16.5px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-700); font-size: 22px; line-height: 1; transition: transform .25s, background-color .25s, color .25s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; color: inherit; transition: border-color .2s, transform .2s; }
a.contact-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.contact-card__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); }
.contact-card__icon .icon { width: 24px; height: 24px; }
.contact-card__icon--wa { background: #e3fbec; color: #16a34a; }
.contact-card > div { min-width: 0; }
.contact-card h3 { font-size: 15.5px; margin-bottom: 2px; }
.contact-card p { margin: 0; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
[dir="rtl"] .contact-card p[dir="ltr"] { text-align: right; }
.contact-card p.contact-card__extra { margin-top: 6px; font-size: 13px; }
.contact-card__extra b { color: var(--ink); font-weight: 600; letter-spacing: .5px; }
.hours { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.hours h3 { display: flex; align-items: center; gap: 8px; font-size: 16.5px; color: var(--brand-700); }
.hours dl { margin: 0; display: grid; gap: 8px; }
.hours dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.hours dt { color: var(--ink); font-weight: 500; }
.hours dd { margin: 0; color: var(--muted); }
.hours__status { margin: 12px 0 0; font-size: 14px; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.hours__status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9aa; }
.hours__status.is-open::before { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hours__status.is-open b { color: #15803d; }
.hours__status.is-closed::before { background: var(--danger); }
.hours__status.is-closed b { color: var(--danger); }
.contact__map { border-radius: var(--r-lg); overflow: hidden; min-height: 400px; border: 1px solid var(--line); background: #e5eff0; }
.contact__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: #072f35; color: #9fc4c0; padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 52px; }
.footer__brand p { margin-top: 18px; max-width: 330px; }
.footer h3 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: #9fc4c0; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact .icon { color: var(--mint); }
.footer__cr { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.footer__cr .icon { width: 26px; height: 26px; color: var(--mint); }
.footer__cr small { display: block; font-size: 12px; }
.footer__cr strong { color: #fff; font-size: 17px; letter-spacing: 1px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; }
.socials a:hover { background: var(--brand); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: 13.5px; }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.footer__bottom p { margin: 0; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4, 30, 34, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s; }
.modal__dialog {
  position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff;
  border-radius: var(--r-xl); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5); transform: translateY(20px) scale(.98); opacity: 0; transition: all .25s;
}
.modal--wide .modal__dialog { max-width: 760px; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__close {
  position: sticky; float: inline-end; top: 14px; margin: 14px 14px -58px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: var(--sh-sm);
}
.mdl-hero { aspect-ratio: 16 / 8; overflow: hidden; }
.mdl-hero img { width: 100%; height: 100%; object-fit: cover; }
.mdl-content { padding: 28px 32px 32px; }
.mdl-content h2 { font-size: 28px; margin: 10px 0 12px; }
.mdl-content > p { color: var(--ink-2); }
.mdl-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 500; }
.mdl-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 14px 18px; border-radius: var(--r); background: var(--tint); margin: 18px 0; font-size: 14.5px; }
.mdl-meta span { display: inline-flex; align-items: center; gap: 6px; }
.mdl-meta .icon { color: var(--brand-600); }
.mdl-meta b { font-weight: 500; color: var(--ink); }
.mdl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.mdl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mdl-doc__head { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; padding-inline-end: 40px; }
.mdl-doc__head h2 { margin: 8px 0 2px; font-size: 24px; }
.mdl-doc__head .doc__title { margin: 0; color: var(--muted); }
.mdl-article p { font-size: 17px; line-height: 1.95; }
body.modal-open { overflow: hidden; }

/* ---------- Floating & mobile bar ---------- */
.wa-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 12px 26px -6px rgba(37, 211, 102, .6); transition: transform .2s;
}
[dir="ltr"] .wa-float { left: auto; right: 24px; }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }
.mobilebar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .nav__list a { padding: 8px 9px; font-size: 14.5px; }
  .offers { grid-template-columns: repeat(2, 1fr); }
  .float-card--a { inset-inline-end: -4%; }
  .float-card--b { inset-inline-start: -6%; }
}

@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); inset-inline: 0; bottom: 0; z-index: 99; display: flex; flex-direction: column; gap: 20px;
    padding: 20px 20px 110px; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 15px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__list a::after { display: none; }
  .nav__mobile-extra { display: block; }
  body.nav-open { overflow: hidden; }

  .hero__inner, .why__inner, .booking__inner, .faq-wrap, .contact { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .pill, .lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__trust li { align-items: center; }
  .hero__visual { max-width: 420px; }
  .quickbar { grid-template-columns: 1fr 1fr; }
  .quickbar__btn { grid-column: 1 / -1; }
  .services, .articles { grid-template-columns: repeat(2, 1fr); }
  .journey__steps { grid-template-columns: repeat(2, 1fr); }
  .journey__steps::before { display: none; }
  .booking__aside, .faq-wrap__head { position: static; }
  .wz-progress { grid-template-columns: repeat(4, 1fr); }
  .wz-progress li { flex-direction: column; gap: 6px; text-align: center; font-size: 13px; }
  .installments__inner { grid-template-columns: 1fr; }
  .installments__media { min-height: 260px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding-block: 80px; }
}

@media (max-width: 760px) {
  .hide-md { display: none !important; }
  .depts { grid-template-columns: 1fr; }
  .header__cta { display: none; }
  .mobilebar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11, 61, 69, .25);
  }
  .mobilebar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px; border-radius: 14px; color: var(--ink); font-size: 12.5px; }
  .mobilebar a .icon { width: 22px; height: 22px; color: var(--brand-600); }
  .mobilebar a[data-wa] .icon { color: #16a34a; }
  .mobilebar a[hidden] { display: none; }
  .mobilebar__main { background: var(--grad); color: #fff !important; flex-direction: row !important; gap: 8px !important; font-size: 15px !important; font-weight: 500; }
  .mobilebar__main .icon { color: #fff !important; }
  .wa-float { display: none; }
  body { padding-bottom: 76px; }
}

@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .container { padding-inline: 16px; }
  .topbar__inner { justify-content: space-between; }
  .brand__mark { width: 48px; height: 48px; }
  .brand__text strong { font-size: 16px; }
  .brand__text small { font-size: 9px; letter-spacing: 1px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 16.5px; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero__trust li { text-align: center; }
  .hero__trust strong { font-size: 26px; text-align: center; }
  .hero__trust span { font-size: 12.5px; line-height: 1.5; }
  .hero__visual { max-width: 330px; }
  .float-card { padding: 8px 12px 8px 10px; gap: 8px; border-radius: 14px; }
  .float-card__icon { width: 32px; height: 32px; border-radius: 10px; }
  .float-card__icon .icon { width: 18px; height: 18px; }
  .float-card strong { font-size: 12.5px; }
  .float-card small { font-size: 11px; }
  .float-card--a { inset-inline-end: -4px; top: 10%; }
  .float-card--b { inset-inline-start: -4px; }
  .float-card--c { inset-inline-end: -4px; }
  .quickbar { grid-template-columns: 1fr; padding: 16px; margin-top: 40px; }
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 36px; }
  .section-head--row { flex-direction: column; align-items: stretch; }
  .tabs { width: 100%; justify-content: center; border-radius: 18px; }
  .tab { flex: 1; justify-content: center; padding: 9px 8px; font-size: 13.5px; white-space: nowrap; }
  .tab .icon { display: none; }
  .services, .articles, .offers { grid-template-columns: 1fr; }
  .journey__steps { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .dept__body { padding: 44px 20px 22px; }
  .dept__actions { flex-wrap: wrap; }
  .installments { padding: 24px 0; }
  .installments__content { padding: 32px 22px; }
  .wizard { padding: 22px 16px; border-radius: var(--r-lg); min-height: 0; }
  .wz-depts { grid-template-columns: 1fr; }
  .wz-progress b { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .wz-summary div { grid-template-columns: 1fr auto; }
  .wz-summary dt { grid-column: 1 / -1; margin-bottom: -6px; }
  .wz-time { min-width: calc(33.33% - 6px); flex: 1 0 calc(33.33% - 6px); padding: 9px 4px; }
  .contact__cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .modal { padding: 0; align-items: end; }
  .modal__dialog { max-height: 92vh; border-radius: 26px 26px 0 0; }
  .mdl-content { padding: 22px 20px 28px; }
  .mdl-content h2 { font-size: 23px; }
  .mdl-actions .btn { width: 100%; }
  .mdl-doc__head { flex-direction: column; text-align: center; padding-inline-end: 0; padding-top: 20px; }
}

/* ---------- Live booking states ---------- */
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; inset-inline-start: -9999px; }
.wz-note { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--tint); color: var(--muted); font-size: 14.5px; width: 100%; }
.wz-note--loading::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-inline-end: 8px; vertical-align: -2px; border-radius: 50%; border: 2px solid var(--brand-100); border-top-color: var(--brand); animation: spin .8s linear infinite; }
.wz-day:disabled { opacity: .38; cursor: not-allowed; background: var(--tint); }
.wz-day:disabled:hover { border-color: var(--line); }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading .icon { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.coupon__row { display: flex; gap: 8px; }
.coupon__row input { flex: 1; }
.coupon__row .btn { min-height: 52px; border-radius: 14px; }
.coupon__msg { font-size: 13.5px; margin-top: 6px; display: block; min-height: 1em; }
.coupon__msg.is-ok { color: #15803d; } .coupon__msg.is-bad { color: var(--danger); }
.pay-now { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 !important; }
.pay-now .btn { align-self: flex-start; }
.pay-now small { color: #3d6b52; font-size: 12.5px; }

/* ==========================================================
   Legal pages (privacy.html / terms.html)
   ========================================================== */
.legal-page { background: var(--tint); }
.legal-top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.legal-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.legal-top .brand__mark { width: 46px; height: 46px; }
.legal-top .brand__text strong { font-size: 17px; }
.legal-top__end { display: flex; gap: 8px; }
.legal-top .btn--sm { padding: 9px 16px; }
.legal { max-width: 860px; padding-block: 36px 56px; }
.legal article { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 5vw, 48px); box-shadow: var(--sh-sm); }
.legal h1 { font-size: clamp(26px, 4vw, 34px); color: var(--ink); margin-bottom: 4px; }
.legal__meta { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.legal h2 { font-size: 19px; color: var(--ink); margin: 30px 0 10px; padding-top: 6px; scroll-margin-top: 90px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.9; font-size: 15.5px; }
.legal ul { padding-inline-start: 22px; list-style: disc; display: grid; gap: 6px; margin: 0 0 12px; }
.legal li::marker { color: var(--brand); }
.legal a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; padding: 14px; background: var(--brand-50); border-radius: var(--r); }
.legal__toc a { padding: 5px 12px; border-radius: 999px; background: #fff; font-size: 13.5px; text-decoration: none; color: var(--brand-700); border: 1px solid var(--brand-100); }
.legal__see { margin-top: 26px; padding-top: 16px; border-top: 1px dashed var(--line); }
.legal-foot { padding: 22px 0 36px; text-align: center; color: var(--muted); font-size: 14px; }
.legal-foot p { margin: 4px 0; }
.legal-foot a { color: var(--brand-700); }
@media (max-width: 560px) {
  .legal-top .brand__text { display: none; }
  .legal { padding-block: 20px 40px; }
}
.footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-note a { color: var(--brand-700); text-decoration: underline; }
.field__opt { font-weight: 400; font-size: 12.5px; color: var(--muted); }

/* ---------- Website chat ---------- */
.chat-fab { position: fixed; bottom: 96px; left: 24px; z-index: 91; width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--grad); color: #fff; cursor: pointer; box-shadow: 0 12px 26px -8px rgba(14, 159, 151, .7); transition: transform .2s; }
.chat-fab .icon { width: 28px; height: 28px; }
.chat-fab:hover { transform: scale(1.06); }
[dir="ltr"] .chat-fab { left: auto; right: 24px; }
.chat-panel { position: fixed; bottom: 24px; left: 96px; z-index: 120; width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100vh - 48px));
  display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(11, 61, 69, .45); border: 1px solid var(--line); }
.chat-panel[hidden] { display: none; }
[dir="ltr"] .chat-panel { left: auto; right: 96px; }
.chat-panel__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--grad-deep); color: #fff; }
.chat-panel__head b { display: block; font-size: 15px; } .chat-panel__head small { display: block; font-size: 12px; color: #a8e4dc; }
.chat-panel__head > div { flex: 1; min-width: 0; }
.chat-panel__close { border: 0; background: rgba(255,255,255,.12); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.chat-panel__close .icon { width: 18px; height: 18px; }
.chat-panel__body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--tint); }
.chat-msg { max-width: 86%; padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; box-shadow: var(--sh-sm); }
.chat-msg a { color: var(--brand-700); text-decoration: underline; }
.chat-msg--bot, .chat-msg--staff { align-self: flex-start; background: #fff; border-start-start-radius: 4px; }
.chat-msg--staff { border: 1px solid var(--brand-100); }
.chat-msg--me { align-self: flex-end; background: var(--brand); color: #fff; border-start-end-radius: 4px; }
.chat-panel__quick { display: flex; gap: 6px; padding: 8px 10px 0; overflow-x: auto; background: #fff; }
.chat-panel__quick button { flex: 0 0 auto; border: 1px solid var(--brand-100); background: var(--brand-50); color: var(--brand-700); border-radius: 99px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.chat-panel__form { display: flex; gap: 8px; padding: 10px; background: #fff; }
.chat-panel__form input:not(.hp) { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 99px; padding: 10px 14px; font: inherit; font-size: 14px; }
.chat-panel__form input:focus { outline: none; border-color: var(--brand); }
.chat-panel__form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat-panel__form .icon { width: 20px; height: 20px; }
[dir="rtl"] .chat-panel__form .icon { transform: scaleX(-1); }
@media (max-width: 760px) {
  .chat-fab { display: none !important; }
  body.has-chat .mobilebar { grid-template-columns: 1fr 1.5fr 1fr 1fr; gap: 6px; padding-inline: 8px; }
  body.has-chat .mobilebar__main { white-space: nowrap; font-size: 14px !important; gap: 6px !important; padding-inline: 8px; }
  body.has-chat .mobilebar__main .icon { width: 20px; height: 20px; }
  .chat-panel, [dir="ltr"] .chat-panel { inset: 0; width: 100%; height: 100%; border-radius: 0; left: 0; right: 0; bottom: 0; }
  body.chat-open { overflow: hidden; }
  body.chat-open .chat-fab { display: none; }
}
