/* =====================================================================
   Cabinet Dr El Habli — Public website. Mobile-first, RTL-aware, no build step.
   ===================================================================== */
:root {
  --navy: #0b1f3a; --navy-2: #12305a; --blue: #1459b3; --blue-2: #1f6fd1; --blue-soft: #eaf2ff; --sky: #f3f7fd;
  --burgundy: #9b1b30; --burgundy-2: #b3223d; --burgundy-soft: #fcf0f2;
  --ink: #121828; --ink-2: #3e475c; --ink-3: #6b7489; --line: #e3e8f0; --white: #fff; --gray: #f5f7fb;
  --radius: 14px; --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px -8px rgba(16,24,40,.12);
  --shadow-lg: 0 30px 60px -20px rgba(11,31,58,.28);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-ar: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  --container: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
[dir="rtl"] body { font-family: var(--font-ar); }
/* Phone numbers, times and references keep their left-to-right order inside Arabic text. */
[dir="rtl"] a[href^="tel:"], [dir="rtl"] .ltr { unicode-bidi: isolate; direction: ltr; }
img, svg { max-width: 100%; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6rem; color: var(--navy); letter-spacing: -.02em; font-weight: 750; }
p { margin: 0 0 1rem; color: var(--ink-2); }
[x-cloak] { display: none !important; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; } .icon-lg { width: 26px; height: 26px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: absolute; top: -40px; inset-inline-start: 1rem; background: var(--navy); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid rgba(31,111,209,.45); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; height: 50px; padding: 0 1.5rem; border-radius: 999px; font: inherit; font-weight: 650; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; white-space: nowrap; text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--burgundy-2); color: #fff; box-shadow: 0 10px 24px -10px rgba(179,34,61,.7); }
.btn-primary:hover { background: var(--burgundy); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(20,89,179,.7); } .btn-blue:hover { background: var(--navy-2); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); } .btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line); } .btn-light:hover { border-color: var(--blue-2); color: var(--blue); }
.btn-sm { height: 40px; padding: 0 1.1rem; font-size: 14px; }
.btn-block { width: 100%; }
.btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #c3d0e6; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: .4rem; }
.topbar .emergency { color: #ffb3c0; font-weight: 650; }
.topbar .langs a { color: #9fb2d3; padding: 0 .35rem; font-weight: 600; } .topbar .langs a.active { color: #fff; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -12px rgba(11,31,58,.25); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--navy); }
.brand-mark { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--burgundy-2)); box-shadow: 0 8px 18px -8px rgba(20,89,179,.7); flex-shrink: 0; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand strong { display: block; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.brand span { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.nav { display: none; align-items: center; gap: .25rem; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; padding: .5rem .8rem; border-radius: 999px; }
.nav a:hover, .nav a.active { color: var(--blue); background: var(--blue-soft); }
.header-cta { display: none; }
.burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.mobile-nav { position: fixed; inset: 0; background: #fff; z-index: 60; padding: 1.25rem; display: flex; flex-direction: column; gap: .25rem; overflow-y: auto; }
.mobile-nav a { font-size: 19px; font-weight: 650; color: var(--navy); padding: .9rem .5rem; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 90% -10%, rgba(31,111,209,.35), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(179,34,61,.35), transparent 60%), linear-gradient(160deg, #0b1f3a 0%, #103060 70%, #0f2a52 100%); color: #fff; }
.hero .container { position: relative; display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 4.5rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: .4rem .9rem; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #d6e2f5; margin-bottom: 1.25rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: .6rem; }
.hero h1 .accent { background: linear-gradient(90deg, #ff9fb1, #ffd0d8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: #d6e2f5; font-weight: 600; margin-bottom: 1rem; }
.hero p.intro { color: #b6c5de; max-width: 560px; font-size: 16.5px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2.25rem; color: #c3d0e6; font-size: 14px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust .icon { color: #7fb4ff; }
.hero-card { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 1.5rem; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg); }
.hero-card h3 { color: #fff; font-size: 18px; display: flex; gap: .6rem; align-items: center; }
.hero-card .row { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px dashed rgba(255,255,255,.14); font-size: 14.5px; color: #d6e2f5; }
.hero-card .row:last-of-type { border-bottom: 0; }
.hero-card .row b { color: #fff; font-weight: 650; text-align: end; }
.hero-card .closed { color: #ffb3c0; }
.ecg { position: absolute; inset-inline: 0; bottom: 0; height: 90px; opacity: .22; pointer-events: none; }
.ecg path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 4s ease-in-out infinite; }
@keyframes draw { 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1400; } }
@media (prefers-reduced-motion: reduce) { .ecg path, .pulse-dot { animation: none; stroke-dashoffset: 0; } html { scroll-behavior: auto; } }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--sky); }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker { display: inline-block; font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--burgundy-2); margin-bottom: .6rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-head p { font-size: 17px; }

.grid { display: grid; gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.service-card { display: flex; flex-direction: column; gap: .75rem; transition: transform .2s, box-shadow .2s, border-color .2s; color: inherit; height: 100%; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c9dbf6; color: inherit; }
.service-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-soft), #fff); color: var(--blue); border: 1px solid #d9e8ff; }
.service-card:nth-child(3n+2) .service-icon { background: linear-gradient(135deg, var(--burgundy-soft), #fff); color: var(--burgundy-2); border-color: #f5d5dc; }
.service-card h3 { font-size: 19px; margin: .25rem 0 0; }
.service-card p { font-size: 15px; margin: 0; flex: 1; }
.service-card .more { font-weight: 700; color: var(--blue); display: inline-flex; gap: .4rem; align-items: center; font-size: 14.5px; }
.price-tag { font-size: 13px; font-weight: 700; color: var(--ink-3); }

.doctor { display: grid; gap: 2.5rem; align-items: center; }
.doctor-visual { position: relative; border-radius: var(--radius-lg); aspect-ratio: 4 / 4.2; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.2), transparent 50%), linear-gradient(150deg, var(--blue) 0%, var(--navy) 55%, var(--burgundy) 130%); display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-lg); }
.doctor-visual .monogram { font-size: clamp(4.5rem, 14vw, 7.5rem); font-weight: 800; color: rgba(255,255,255,.95); letter-spacing: -.04em; }
.doctor-visual .badge-float { position: absolute; bottom: 1.25rem; inset-inline-start: 1.25rem; inset-inline-end: 1.25rem; background: rgba(255,255,255,.95); border-radius: 16px; padding: .9rem 1rem; display: flex; gap: .8rem; align-items: center; box-shadow: var(--shadow); }
.doctor-visual .badge-float strong { display: block; color: var(--navy); }
.doctor-visual .badge-float span { font-size: 13.5px; color: var(--ink-3); }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .75rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); }
.check-list .icon { color: #fff; background: var(--blue-2); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }

.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .fi { width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--burgundy-2); flex-shrink: 0; box-shadow: var(--shadow); }
.feature h3 { font-size: 17.5px; margin-bottom: .3rem; }
.feature p { font-size: 15px; margin: 0; }

.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 3rem 1.75rem; background: radial-gradient(600px 300px at 100% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(135deg, var(--burgundy-2), #7a1428); color: #fff; display: grid; gap: 1.5rem; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0; }
.cta-band p { color: #ffd9e0; margin: .5rem 0 0; }
.cta-band .btn-light { color: var(--burgundy); }

.info-grid { display: grid; gap: 1.25rem; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; }
.info-card .ii { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.info-card h3 { font-size: 16px; margin-bottom: .2rem; }
.info-card p, .info-card a { margin: 0; font-size: 15.5px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours-table td { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: end; font-weight: 650; color: var(--navy); }
.hours-table tr.today td { color: var(--blue); } .hours-table tr.today td:first-child { font-weight: 750; }
.hours-table .closed { color: var(--ink-3); font-weight: 500; }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius-lg); display: block; }
.map-placeholder { min-height: 360px; border-radius: var(--radius-lg); background: repeating-linear-gradient(45deg, #eef3fb, #eef3fb 12px, #e6edf8 12px, #e6edf8 24px); display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--ink-3); }

/* ---------- Page header ---------- */
.page-hero { background: linear-gradient(160deg, #0b1f3a, #12305a); color: #fff; padding: 3.25rem 0 3rem; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); }
.page-hero p { color: #c3d0e6; max-width: 640px; font-size: 17px; margin: 0; }
.crumbs { font-size: 13.5px; color: #9fb2d3; margin-bottom: .75rem; } .crumbs a { color: #c3d0e6; }
.prose { max-width: 760px; font-size: 17px; }
.prose p { white-space: pre-line; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }

/* ---------- Forms & booking ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.5rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 650; font-size: 14px; margin-bottom: .4rem; color: var(--navy); }
.field .req { color: var(--burgundy-2); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: .75rem 1rem; border: 1.5px solid #d5dce7; border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(31,111,209,.12); }
.input.is-invalid, .select.is-invalid { border-color: var(--burgundy-2); }
.field-error { color: var(--burgundy); font-size: 13.5px; margin-top: .35rem; font-weight: 600; }
.field-help { color: var(--ink-3); font-size: 13.5px; margin-top: .35rem; }
.form-row { display: grid; gap: 0 1rem; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.alert { display: flex; gap: .75rem; padding: 1rem 1.1rem; border-radius: 14px; margin-bottom: 1.25rem; font-size: 15px; border: 1px solid; }
.alert-success { background: #ecfbf3; border-color: #bfeed3; color: #0b6a3c; }
.alert-error { background: var(--burgundy-soft); border-color: #f5d5dc; color: var(--burgundy); }
.alert-info { background: var(--blue-soft); border-color: #cfe0fb; color: var(--navy-2); }

.stepper { display: flex; gap: .5rem; margin-bottom: 1.75rem; overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.step { flex: 1; min-width: 92px; display: flex; flex-direction: column; gap: .45rem; font-size: 13px; font-weight: 650; color: var(--ink-3); }
.step .bar { height: 5px; border-radius: 99px; background: var(--line); }
.step.done .bar, .step.current .bar { background: var(--blue-2); } .step.current { color: var(--navy); } .step.done { color: var(--blue); }
.choice-grid { display: grid; gap: .75rem; }
.choice { position: relative; display: flex; gap: .9rem; align-items: center; text-align: start; width: 100%; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s, background .15s; }
.choice:hover { border-color: #b8cff2; }
.choice.selected { border-color: var(--blue-2); background: #f5f9ff; box-shadow: 0 0 0 4px rgba(31,111,209,.1); }
.choice .service-icon { width: 46px; height: 46px; border-radius: 13px; }
.choice strong { display: block; color: var(--navy); font-size: 16px; }
.choice span.meta { font-size: 13.5px; color: var(--ink-3); }
.dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: .6rem; }
.date-btn { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: .7rem .4rem; text-align: center; cursor: pointer; font: inherit; color: var(--navy); transition: .15s; }
.date-btn small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; text-transform: capitalize; }
.date-btn b { display: block; font-size: 22px; font-weight: 800; line-height: 1.2; }
.date-btn:hover { border-color: #b8cff2; }
.date-btn.selected { background: var(--blue); border-color: var(--blue); color: #fff; } .date-btn.selected small { color: #d6e2f5; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .6rem; }
.slot { height: 48px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 700; font-size: 16px; color: var(--navy); cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--blue-2); color: var(--blue); }
.slot.selected { background: var(--blue); color: #fff; border-color: var(--blue); }
.slot-group-title { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; margin: 1rem 0 .5rem; }
.summary-box { background: var(--sky); border: 1px solid #dbe6f7; border-radius: 16px; padding: 1.1rem 1.2rem; }
.summary-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: 15px; }
.summary-box dt { color: var(--ink-3); } .summary-box dd { margin: 0; font-weight: 650; color: var(--navy); text-align: end; }
.skeleton { background: linear-gradient(90deg, #eef2f8 25%, #f7f9fc 50%, #eef2f8 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.nav-steps { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.success-mark { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.25rem; display: grid; place-items: center; background: #ecfbf3; color: #11824b; box-shadow: 0 0 0 10px #f5fdf8; }

/* ---------- Footer ---------- */
.footer { background: #081629; color: #a9b8d1; padding: 3.5rem 0 1.5rem; font-size: 15px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 1rem; }
.footer a { color: #c9d5ea; } .footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer .brand strong { color: #fff; } .footer .brand span { color: #8ea0bf; }
.footer-grid { display: grid; gap: 2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: 13.5px; color: #7f93b5; }
.emergency-box { margin-top: 1rem; padding: .9rem 1rem; border-radius: 14px; background: rgba(179,34,61,.15); border: 1px solid rgba(255,159,177,.25); color: #ffd0d8; font-size: 14px; }
.emergency-box a { color: #fff; font-weight: 750; font-size: 17px; }

/* Floating mobile action bar */
.mobile-bar { position: fixed; bottom: 0; inset-inline: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem; padding: .7rem .9rem calc(.7rem + 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,31,58,.25); }
.mobile-bar .btn { height: 48px; padding: 0 .8rem; font-size: 14.5px; }
body.has-mobile-bar { padding-bottom: 76px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 2rem; }
}
@media (min-width: 900px) {
  .nav { display: flex; } .header-cta { display: inline-flex; } .burger { display: none; }
  .mobile-bar { display: none; } body.has-mobile-bar { padding-bottom: 0; }
  .hero .container { grid-template-columns: 1.25fr .9fr; align-items: center; padding-top: 5rem; padding-bottom: 6rem; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .doctor { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .cta-band { grid-template-columns: 1.4fr auto; padding: 3.25rem 3.5rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .section { padding: 6rem 0; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
  .booking-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 2rem; align-items: start; }
  .booking-layout aside { position: sticky; top: 100px; }
}
@media (max-width: 899px) { .split > * + * { margin-top: 1.5rem; } .booking-layout aside { margin-top: 1.5rem; } }

/* =====================================================================
   v2 — Photo hero, floating cards, trust strip, gallery
   ===================================================================== */
.hero .container { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.hero-visual { position: relative; margin: 0 .25rem; }
.hero-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.14); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; display: block; transform: scale(1.02); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,31,58,.55)); }
.hero-visual::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 140px; height: 140px; border-radius: 32px; background: linear-gradient(135deg, rgba(255,159,177,.55), rgba(179,34,61,.25)); filter: blur(2px); z-index: -1; }
[dir="rtl"] .hero-visual::before { inset: -18px auto auto -18px; }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: .75rem; background: rgba(255,255,255,.96); color: var(--navy); border-radius: 18px; padding: .8rem 1rem; box-shadow: 0 20px 40px -18px rgba(11,31,58,.55); backdrop-filter: blur(8px); font-size: 14px; line-height: 1.3; }
.float-card strong { display: block; font-size: 15px; }
.float-card span { color: var(--ink-3); font-size: 12.5px; }
.float-card .fc-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; }
.float-card.fc-hours { inset-inline-start: -.5rem; bottom: 1.25rem; animation: floaty 6s ease-in-out infinite; }
.float-card.fc-hours .fc-icon { background: var(--blue-soft); color: var(--blue); }
.float-card.fc-online { inset-inline-end: -.5rem; top: 1.25rem; animation: floaty 6s ease-in-out -3s infinite; }
.float-card.fc-online .fc-icon { background: #ecfbf3; color: #11824b; }
.float-card .ltr-val { font-weight: 700; color: var(--navy); font-size: 13.5px; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none !important; } }

.trust-strip { position: relative; z-index: 3; margin-top: -2.25rem; }
.trust-strip .inner { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr; overflow: hidden; }
.trust-item { display: flex; gap: .8rem; align-items: center; padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line); }
.trust-item:last-child { border-bottom: 0; }
@media (min-width: 640px) and (max-width: 899px) { .trust-strip .inner { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(odd) { border-inline-end: 1px solid var(--line); } .trust-item:nth-child(3) { border-bottom: 0; } }
.trust-item .ti-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.trust-item:nth-child(2) .ti-icon { background: var(--burgundy-soft); color: var(--burgundy-2); }
.trust-item:nth-child(3) .ti-icon { background: #ecfbf3; color: #11824b; }
.trust-item:nth-child(4) .ti-icon { background: #fff6e5; color: #b76e00; }
.trust-item strong { display: block; color: var(--navy); font-size: 15px; line-height: 1.25; }
.trust-item span { font-size: 13px; color: var(--ink-3); }

.doctor-visual.has-photo { background: #e9eef6; }
/* Portrait frame + left/top anchoring: keeps the person in frame for wide banners (subject on the left) and for portrait photos (head near the top). */
.doctor-visual.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 20%; }
.doctor-visual.has-photo { aspect-ratio: 4 / 5; }
.doctor-visual .badge-float { z-index: 2; }

.media-card { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); min-height: 320px; }
.media-card img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.media-card .caption { position: absolute; inset-inline: 1rem; bottom: 1rem; background: rgba(255,255,255,.95); border-radius: 16px; padding: .85rem 1rem; display: flex; gap: .75rem; align-items: center; color: var(--navy); font-weight: 650; font-size: 14.5px; box-shadow: var(--shadow); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.gallery button:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,22,41,.92); display: grid; place-items: center; padding: 1rem; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox .lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox .lb-btn:hover { background: rgba(255,255,255,.22); }
.lightbox .lb-close { top: 1rem; inset-inline-end: 1rem; }
.lightbox .lb-prev { inset-inline-start: 1rem; top: 50%; } .lightbox .lb-next { inset-inline-end: 1rem; top: 50%; }

.service-card { position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(31,111,209,.08), transparent 70%); transition: transform .4s ease; }
.service-card:hover::after { transform: scale(1.4); }
.section-head h2 { font-weight: 800; }

@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; padding-top: 4.5rem; padding-bottom: 6.5rem; }
  .trust-strip .inner { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-bottom: 0; border-inline-end: 1px solid var(--line); }
  .trust-item:last-child { border-inline-end: 0; }
  .float-card.fc-hours { inset-inline-start: -2rem; }
  .float-card.fc-online { inset-inline-end: -1.5rem; }
}
@media (max-width: 899px) { .hero-visual { margin-top: .5rem; } .float-card { font-size: 13px; padding: .65rem .8rem; } .float-card .fc-icon { width: 36px; height: 36px; } }
/* v3 — hero image shown whole (banners contain text: never crop them) */
.hero-photo { aspect-ratio: auto; background: #fff; }
.hero-photo img { height: auto; object-fit: contain; transform: none; }
.hero-photo::after { display: none; }
.float-card.fc-online { top: auto; bottom: -1.4rem; inset-inline-end: 1rem; }
.float-card.fc-hours { bottom: -1.4rem; inset-inline-start: 1rem; }
.hero-visual { margin-bottom: 1.6rem; }
@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1fr 1.15fr; }
  .float-card.fc-online { inset-inline-end: 1.25rem; }
  .float-card.fc-hours { inset-inline-start: 1.25rem; }
}
@media (max-width: 480px) { .float-card.fc-online { display: none; } }
/* Clinic logo: shown as-is (transparent PNG), no coloured tile behind it. */
.brand-mark.has-logo { background: none; box-shadow: none; border-radius: 0; width: 64px; overflow: visible; }
.brand-mark.has-logo img { object-fit: contain; }

/* =====================================================================
   v4 — Light hero, language selector, mobile drawer menu
   ===================================================================== */
/* Light, airy hero (was dark navy) */
.hero { color: var(--ink); background:
    radial-gradient(900px 480px at 88% -5%, rgba(31,111,209,.16), transparent 62%),
    radial-gradient(700px 420px at -5% 105%, rgba(179,34,61,.09), transparent 60%),
    linear-gradient(180deg, #f3f7fd 0%, #ffffff 100%); }
.hero h1 { color: var(--navy); }
.hero .lead { color: var(--blue); }
.hero p.intro { color: var(--ink-2); }
.hero-eyebrow { background: #fff; border-color: var(--line); color: var(--navy); box-shadow: var(--shadow); }
.hero-trust { color: var(--ink-2); }
.hero-trust .icon { color: var(--blue-2); }
.hero .btn-outline { background: #fff; border-color: #cfd9e8; color: var(--navy); }
.hero .btn-outline:hover { border-color: var(--blue-2); color: var(--blue); background: #fff; }
.hero .ecg { opacity: .14; }
.hero .ecg path { stroke: var(--blue-2); }
.hero-photo { border-color: #fff; box-shadow: 0 30px 70px -30px rgba(11,31,58,.35); }
.float-card { box-shadow: 0 18px 40px -18px rgba(11,31,58,.35); border: 1px solid var(--line); }

/* Language selector — top bar dropdown */
.lang-dd { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: .45rem; height: 32px; padding: 0 .75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.lang-btn:hover { background: rgba(255,255,255,.16); }
.lang-caret { opacity: .75; transition: transform .2s; }
.lang-btn[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 70; min-width: 190px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: .4rem; }
.lang-menu a { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 11px; color: var(--navy); font-weight: 600; font-size: 14.5px; }
.lang-menu a:hover { background: var(--sky); }
.lang-menu a.active { background: var(--blue-soft); color: var(--blue); }
.lang-code { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--sky); color: var(--navy); font-size: 12px; font-weight: 800; flex-shrink: 0; }
.lang-menu a.active .lang-code, .lang-seg a.active .lang-code { background: var(--blue); color: #fff; }
.lang-name { flex: 1; }
.lang-check { color: var(--blue); }

/* Language selector — segmented (mobile menu) */
.lang-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.lang-seg a { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .7rem .4rem; border: 1.5px solid var(--line); border-radius: 14px; color: var(--navy); font-weight: 650; font-size: 13.5px; }
.lang-seg a.active { border-color: var(--blue-2); background: #f5f9ff; }

/* Mobile drawer menu */
.menu-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(11,31,58,.45); backdrop-filter: blur(2px); }
.mobile-nav { position: fixed; inset-block: 0; inset-inline-end: 0; inset-inline-start: auto; z-index: 90; width: min(88vw, 380px); background: #fff; padding: 1.1rem 1.1rem calc(1.25rem + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: .7rem; overflow-y: auto; box-shadow: -20px 0 50px -20px rgba(11,31,58,.4); }
.mobile-nav a { border-bottom: 0; padding: 0; font-size: inherit; }
.mobile-nav .btn { margin-top: 0; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-bottom: .9rem; margin-bottom: .2rem; border-bottom: 1px solid var(--line); }
.mobile-nav-head .brand strong { font-size: 15px; }
.mobile-links { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .4rem; }
.mobile-links a { display: flex; align-items: center; gap: .8rem; padding: .75rem .6rem; border-radius: 14px; color: var(--navy); font-size: 16.5px; font-weight: 650; }
.mobile-links a:hover, .mobile-links a.active { background: var(--sky); }
.mobile-links a.active { color: var(--blue); }
.ml-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.ml-chevron { margin-inline-start: auto; color: var(--ink-3); }
.mobile-emergency { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem !important; border-radius: 14px; background: var(--burgundy-soft); color: var(--burgundy) !important; font-weight: 700; font-size: 14.5px !important; }
.mobile-lang { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.mobile-lang .label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .55rem; }
.menu-enter { transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .28s; }
.menu-enter-start { transform: translateX(100%); opacity: .6; }
[dir="rtl"] .menu-enter-start { transform: translateX(-100%); }
[dir="rtl"] .mobile-nav { box-shadow: 20px 0 50px -20px rgba(11,31,58,.4); }
.menu-enter-end { transform: none; opacity: 1; }

/* Bottom bar: Menu · Call · Book */
.mobile-bar { grid-template-columns: auto auto 1fr; align-items: center; gap: .4rem; }
.mb-item { display: flex; flex-direction: column; align-items: center; gap: .15rem; min-width: 64px; padding: .2rem .4rem; background: none; border: 0; font: inherit; font-size: 11.5px; font-weight: 700; color: var(--navy); cursor: pointer; }
.mb-item .icon { width: 22px; height: 22px; color: var(--blue); }
.mb-cta { height: 48px; }
@media (min-width: 900px) { .menu-overlay, .mobile-nav { display: none !important; } }
@media (max-width: 340px) { .topbar .emergency { display: none; } }
[dir="rtl"] a.keep-dir { direction: rtl; unicode-bidi: normal; }

/* v5 — Booked slots ("Réservé") and fully booked days ("Complet") stay visible but disabled */
.slot { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.slot small { font-size: 10.5px; font-weight: 700; letter-spacing: .02em; }
.slot.booked, .slot:disabled { background: #f1f3f7; border-color: #e3e7ee; color: #9aa3b5; cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(154,163,181,.6); }
.slot.booked small { text-decoration: none; color: var(--burgundy-2); opacity: .75; }
.slot.booked:hover { border-color: #e3e7ee; color: #9aa3b5; }
.date-btn.full, .date-btn:disabled { background: #f1f3f7; border-color: #e3e7ee; color: #9aa3b5; cursor: not-allowed; }
.date-btn.full small:last-child { color: var(--burgundy-2); font-weight: 700; opacity: .8; }
.slot-legend { display: flex; gap: 1.25rem; font-size: 13px; color: var(--ink-3); margin-bottom: .25rem; }
.slot-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-inline-end: .4rem; vertical-align: -1px; }
.lg-free { background: #fff; border: 1.5px solid var(--blue-2); }
.lg-booked { background: #f1f3f7; border: 1.5px solid #e3e7ee; }
.slots { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }

/* =====================================================================
   v6 — Mobile structure pass (phones < 640px)
   ===================================================================== */
.step-mobile { display: none; }
@media (max-width: 639px) {
  body { font-size: 15.5px; }
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  .section-head { margin-bottom: 1.75rem; }
  .section-head h2 { font-size: 1.65rem; }
  .page-hero { padding: 2.25rem 0 2rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero p { font-size: 15.5px; }

  /* Header: one line brand */
  .header .container { height: 66px; }
  .brand .brand-city { display: none; }
  .brand strong { font-size: 15.5px; }
  .brand span { font-size: 12px; }
  .brand-mark.has-logo { width: 50px; }

  /* Hero */
  .hero .container { padding-top: 1.75rem; padding-bottom: 3rem; gap: 1.75rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero .lead { font-size: 1.1rem; }
  .hero p.intro { font-size: 15.5px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: .75rem 1.25rem; margin-top: 1.5rem; font-size: 13.5px; }
  .trust-strip { margin-top: -1.5rem; }

  /* Cards & CTA */
  .card { padding: 1.25rem; border-radius: 18px; }
  .cta-band { padding: 2rem 1.25rem; border-radius: 22px; text-align: center; }
  .cta-band > div:last-child { flex-direction: column; }
  .cta-band .btn { width: 100%; }
  .doctor { gap: 1.5rem; }
  .media-card { min-height: 240px; }

  /* Booking wizard */
  .page-booking .section { padding-top: 1.5rem !important; }
  .stepper { gap: .3rem; margin-bottom: .5rem; overflow: visible; }
  .step { min-width: 0; }
  .step .step-label { display: none; }
  .step-mobile { display: block; margin: 0 0 1rem; font-size: 14px; font-weight: 650; color: var(--navy); }
  .step-mobile b { color: var(--blue); }
  .form-card { padding: 1.15rem; border-radius: 18px; }
  .form-card h2 { font-size: 19px !important; }
  .choice { padding: .85rem .9rem; gap: .75rem; }
  .choice .service-icon { width: 40px; height: 40px; }
  .dates { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; }
  .date-btn b { font-size: 20px; }
  .slots { grid-template-columns: repeat(4, 1fr); gap: .45rem; }
  .slot { height: 50px; font-size: 15px; }
  .summary-box dl { grid-template-columns: 1fr; gap: .1rem; }
  .summary-box dt { font-size: 13px; }
  .summary-box dd { text-align: start; margin-bottom: .55rem; }
  .nav-steps { flex-direction: column-reverse; gap: .6rem; }
  .nav-steps .btn { width: 100%; white-space: normal; height: auto; min-height: 50px; padding: .7rem 1rem; }
  .nav-steps--final .btn-primary { min-height: 56px; font-size: 16px; }
  .booking-aside .booking-summary { display: none; }  /* same info is in step 5 */
  .booking-aside .alert { margin-top: 0 !important; }

  /* Confirmation page, contact, forms */
  .success-mark { width: 70px; height: 70px; }
  .form-row.two { grid-template-columns: 1fr; }
  .input, .select, .textarea { font-size: 16px; } /* no iOS zoom on focus */

  /* Footer */
  .footer { padding: 2.5rem 0 1.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
/* The booking page already is the booking CTA: no sticky bottom bar covering its buttons. */
body.page-booking .mobile-bar { display: none; }
body.page-booking { padding-bottom: 0; }
.brand .brand-city { display: inline; font-size: inherit; color: inherit; }
@media (max-width: 639px) { .brand .brand-city { display: none; } }
@media (max-width: 899px) { .topbar .lang-dd { display: none; } .topbar .container { flex-wrap: nowrap; justify-content: center; } }
@media (max-width: 899px) { .topbar .container > div:first-child { gap: .9rem !important; font-size: 13px; } }
.flag { display: inline-flex; width: 28px; height: 19px; border-radius: 4px; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(11,31,58,.14); }
.flag svg { width: 100%; height: 100%; display: block; }
.flag-sm { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.lang-seg a .flag { width: 32px; height: 22px; }
.lang-seg a.active .flag { box-shadow: 0 0 0 2px var(--blue-2); }
.mobile-nav .btn-primary, .mobile-nav .btn-primary:hover { color: #fff; font-size: 15px; }
.mobile-nav .btn-light { color: var(--navy); font-size: 15px; }

/* Patient reviews */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.rating-summary { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-top: .4rem; padding: .55rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.rating-summary b { font-size: 1.4rem; color: var(--navy); }
.rating-summary span { color: var(--ink-3); font-size: 14px; font-weight: 600; }
.review-card { display: flex; flex-direction: column; gap: .75rem; }
.review-head { display: flex; align-items: center; gap: .7rem; }
.review-head strong { display: block; color: var(--navy); }
.review-head span { font-size: 13px; color: var(--ink-3); text-transform: capitalize; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-soft), #fff); border: 1px solid #d9e8ff; color: var(--blue); font-weight: 800; flex-shrink: 0; }
.review-text { margin: 0; font-size: 15px; white-space: pre-line; }
.review-reply { background: var(--sky); border-inline-start: 3px solid var(--blue-2); border-radius: 12px; padding: .7rem .9rem; font-size: 14px; }
.review-reply strong { display: flex; align-items: center; gap: .35rem; color: var(--navy); font-size: 13px; margin-bottom: .2rem; }
.review-reply p { margin: 0; }
.reviews-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.rating-card { display: grid; gap: 1.25rem; align-items: center; margin-bottom: 1.25rem; }
.rating-big { text-align: center; }
.rating-big b { display: block; font-size: 3rem; line-height: 1; color: var(--navy); margin-bottom: .3rem; }
.rating-big span { display: block; margin-top: .35rem; color: var(--ink-3); font-size: 14px; font-weight: 600; }
.rating-bars { display: grid; gap: .35rem; }
.rb-row { display: grid; grid-template-columns: 34px 1fr 26px; gap: .6rem; align-items: center; font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.rb-bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.rb-bar i { display: block; height: 100%; background: #F5A524; border-radius: inherit; }
.star-input { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }
.star-input label { cursor: pointer; display: inline-flex; margin: 0; }
.star-input svg { fill: #E3E8F0; transition: fill .15s, transform .15s; }
.star-input label.on svg { fill: #F5A524; }
.star-input label:hover svg { transform: scale(1.12); }
.star-input label:has(input:focus-visible) svg { outline: 3px solid rgba(31,111,209,.45); border-radius: 6px; }
.star-text { margin-inline-start: .6rem; font-weight: 700; color: var(--navy); font-size: 14.5px; }
@media (min-width: 640px) { .rating-card { grid-template-columns: 200px 1fr; } }
