/* Cabinet ORL Dr Otman Slaoui — theme tokens
   Layout/spacing measured on the reference site; colours from the doctor's own brand charter
   (Bleu marine #0c233a, Bleu ardoise #41657f, Bleu médical #8dacc1, Champagne #c1a576, Blanc cassé #efeee8). */
:root {
  --navy: #0c233a;
  --slate: #41657f;
  --medical: #8dacc1;
  --gold: #c1a576;
  --gold-dark: #a88c5b;
  --cream: #efeee8;
  --cream-light: #f6f5f1;
  --text: #383838;
  --muted: #69727d;
  --grey: #7e7e80;
  --white: #ffffff;
  --wa: #2db742;
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1140px;
  --font: Roboto, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: #fff; overflow-x: hidden; }
img, svg, iframe { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0 0 0; }
ul { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--navy); color: #fff; border-radius: var(--radius-sm); padding: 10px 26px; font-size: 15px; line-height: 1.5; transition: background .2s, transform .2s; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--slate); }
.btn.gold { background: var(--gold); color: var(--navy); }
.btn.gold:hover { background: var(--gold-dark); color: #fff; }
.btn.lg { font-size: 20px; padding: 8px 24px; }
.btn.wa { background: var(--wa); }
.btn.wa:hover { background: #239a36; }

/* ---------- Top bar ---------- */
.topbar { background: #fff; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 50px; border-bottom: 1px solid var(--grey); padding: 5px 10px; gap: 12px; }
.topbar .info { display: flex; align-items: center; flex-wrap: wrap; gap: 0; font-size: 16px; }
.topbar .info a, .topbar .info span { display: inline-flex; align-items: center; gap: 10px; padding: 0 8px; }
.topbar .info .sep { width: 1px; height: 14px; background: #ddd; padding: 0; }
.topbar .info .icon { color: var(--gold); font-size: 18px; }
.topbar .right { display: flex; align-items: center; gap: 24px; }
.social { display: flex; gap: 12px; }
.social a { color: var(--navy); font-size: 24px; display: inline-flex; }
.social a:hover { color: var(--gold); }
.lang { display: flex; gap: 16px; font-size: 16px; }
.lang a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.lang a.current { font-weight: 700; }
.flag { width: 24px; height: 16px; display: block; }

/* ---------- Main navigation ---------- */
.navbar { position: relative; z-index: 50; background: transparent; }
.navbar .container { background: #fff; display: flex; align-items: center; justify-content: space-between; height: 88px; padding: 0 10px; border-radius: 0 0 var(--radius) var(--radius); }
.navbar.stuck .container { box-shadow: 0 6px 20px rgba(12, 35, 58, .12); }
.brand { display: flex; align-items: center; gap: 8px; color: var(--navy); }
.brand svg.logo { width: 68px; height: 59px; }
.brand .names { display: flex; flex-direction: column; line-height: 1.25; }
.brand .ar { font-size: 15px; font-weight: 700; color: var(--gold-dark); direction: rtl; text-align: left; }
.brand .fr { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: .2px; }
.menu { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; gap: 0; }
.menu a { display: block; padding: 13px 16px; font-size: 16px; text-transform: uppercase; color: var(--text); }
.menu a:hover, .menu a.active { color: var(--gold-dark); }
.menu a.active { color: var(--navy); font-weight: 700; box-shadow: inset 0 -2px 0 var(--gold); }
.nav-cta { font-size: 15px; padding: 8px 24px; }
.burger { display: none; background: none; border: 0; padding: 4px; cursor: pointer; color: var(--navy); width: 52px; height: 40px; }
.burger svg { width: 40px; height: 40px; }
.burger .close-i { display: none; }
.navbar.open .burger .open-i { display: none; }
.navbar.open .burger .close-i { display: block; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 737px; overflow: hidden; color: #fff; background: linear-gradient(120deg, #8dacc1 0%, #41657f 38%, #0c233a 75%); }
.hero .art { position: absolute; inset: 0; }
.hero .art svg { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); width: 46%; height: 92%; opacity: .95; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,35,58,0) 30%, rgba(12,35,58,.75) 60%, rgba(12,35,58,.92) 100%); }
.hero .content { position: relative; z-index: 2; height: 100%; max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-left: 605px; }
.hero h1 { font-size: 71px; font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: .5px; }
.hero h1 span { color: var(--gold); display: block; }
.hero .sub { margin-top: 20px; font-size: 39px; font-weight: 400; }
.hero .hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Generic sections ---------- */
.section { padding: 60px 10px; }
.section.cream { background: var(--cream-light); }
.section-title { text-align: center; font-size: 32px; font-weight: 700; color: var(--navy); margin-bottom: 40px; }
.section-title.dark { color: var(--text); text-transform: uppercase; margin-bottom: 30px; }
.gold-line { display: block; width: 70px; height: 3px; background: var(--gold); margin: 14px auto 0; border-radius: 2px; }

/* Doctor intro */
.doctor { padding: 64px 10px 60px; }
.doctor .container { display: grid; grid-template-columns: 1fr 560px; gap: 30px; align-items: start; }
.doctor .txt { padding: 0 10px; }
.doctor h2 { font-size: 39px; font-weight: 700; color: var(--navy); text-transform: uppercase; margin: 6px 0 24px; }
.doctor h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 28px; display: inline-block; position: relative; padding-bottom: 8px; }
.doctor h3 .wavy { position: absolute; left: -4px; right: -4px; bottom: -6px; height: 10px; width: calc(100% + 8px); }
.doctor p { font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 8px; }
.doctor p strong { color: var(--text); }
.placeholder-note { display: inline-block; margin-top: 6px; padding: 6px 12px; border: 1px dashed var(--gold); border-radius: var(--radius-sm); color: var(--gold-dark); font-size: 14px; background: #fbf8f1; }
.doctor .btn { margin-top: 28px; }
.portrait { width: 560px; height: 620px; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 38%, #1d3c5a 0%, #0c233a 55%, #071626 100%); display: flex; align-items: center; justify-content: center; position: relative; }
.portrait svg { width: 62%; height: auto; }
.portrait .cap { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: var(--cream); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; opacity: .85; }

/* Services */
.services .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.service { border: 1px solid var(--gold); border-radius: var(--radius); background: #fff; min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px 6px; gap: 12px; transition: transform .25s, box-shadow .25s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(12,35,58,.12); }
.service svg { width: 42px; height: 42px; stroke: var(--gold-dark); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 18px; font-weight: 700; text-transform: uppercase; color: var(--text); line-height: 1; }

/* Cabinet */
.cabinet { padding: 100px 10px 60px; }
.cabinet .container { display: grid; grid-template-columns: 560px 1fr; gap: 30px; align-items: start; }
.building { height: 325px; border-radius: var(--radius); overflow: hidden; position: relative; background: linear-gradient(160deg, #8dacc1 0%, #41657f 55%, #0c233a 100%); }
.building svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cabinet h2 { font-size: 39px; font-weight: 700; color: var(--navy); text-transform: uppercase; margin: 12px 0 26px; }
.cabinet p { font-size: 16px; line-height: 1.5; margin-bottom: 0; }
.cabinet .btn { margin-top: 20px; }

/* Testimonials */
.testimonials { background: var(--slate); background: linear-gradient(135deg, #41657f 0%, #2f5069 100%); padding: 80px 10px 90px; color: #fff; }
.testimonials .section-title { color: #fff; margin-bottom: 10px; }
.stars { display: flex; justify-content: center; gap: 4px; color: var(--gold); font-size: 22px; margin-bottom: 66px; }
.stars svg { width: 22px; height: 22px; }
.carousel { position: relative; max-width: 1120px; margin: 0 auto; padding: 0 0; }
.carousel .viewport { overflow: hidden; margin: 0 10px; }
.carousel .track { display: flex; gap: 10px; transition: transform .5s ease; }
.review { flex: 0 0 calc((100% - 20px) / 3); background: #fff; color: var(--text); border-radius: var(--radius); padding: 20px 20px 30px; min-height: 265px; }
.review .top { display: flex; justify-content: space-between; align-items: center; }
.review h2, .review h3 { font-size: 22px; font-weight: 700; color: var(--text); }
.review .src { width: 22px; height: 22px; }
.review .mini { display: flex; gap: 1px; color: var(--gold); margin: 20px 0 22px; }
.review .mini svg { width: 16px; height: 16px; }
.review p { font-size: 16px; line-height: 1.5; color: var(--text); }
.review p em { color: var(--muted); }
.carousel .arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; width: 30px; height: 40px; }
.carousel .arrow svg { width: 14px; height: 24px; fill: none; stroke: currentColor; stroke-width: 3; }
.carousel .prev { left: -20px; }
.carousel .next { right: -20px; }
.dots { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.dots button { width: 15px; height: 15px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); padding: 0; cursor: pointer; }
.dots button.on { background: #fff; }

/* Appointment (mirrors the reference's book section) */
.rdv { padding: 80px 10px 60px; }
.rdv .container { display: grid; grid-template-columns: 545px 1fr; gap: 30px; align-items: start; padding: 0 10px; }
.rdv .visual { height: 448px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg, #8dacc1 0%, #5f87a3 50%, #41657f 100%); position: relative; }
.rdv .visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rdv .txt p { font-size: 19px; line-height: 1.5; margin-bottom: 14px; }
.hours { list-style: none; padding: 0; margin: 4px 0 18px; font-size: 18px; }
.hours li { display: flex; justify-content: space-between; border-bottom: 1px dashed #d8d3c4; padding: 6px 0; max-width: 430px; }
.hours li b { color: var(--navy); }
.hours li.closed span { color: var(--gold-dark); }
.rdv .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.center-cta { text-align: center; margin-top: 30px; }

/* Articles */
.news .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { border: 1px solid var(--gold); border-radius: var(--radius); background: #fff; padding: 20px 20px 20px; display: flex; flex-direction: column; }
.post-card h3 { font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1; min-height: 106px; }
.post-card h3 a:hover { color: var(--gold-dark); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--grey); font-size: 16px; margin: 24px 0 2px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta .icon { color: var(--gold-dark); }
.post-card p { font-size: 16px; line-height: 1.5; color: var(--text); flex: 1; }
.post-card .more { align-self: flex-end; margin-top: 16px; text-transform: uppercase; font-size: 16px; padding: 7px 24px; }
.news .center-cta { margin-top: 20px; }
.news .center-cta .btn { font-size: 15px; padding: 8px 24px; }

/* Map */
.map { position: relative; height: 410px; background: var(--cream); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map .route { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); box-shadow: 0 6px 16px rgba(0,0,0,.25); }

/* ---------- Footer ---------- */
.footer { position: relative; color: #fff; background: var(--navy); overflow: hidden; padding: 0; }
.footer > .container { padding: 40px 10px 12px; }
.footer .bg-mark { position: absolute; right: -60px; top: -20px; width: 520px; height: 620px; opacity: .10; pointer-events: none; }
.footer .container { position: relative; }
.f-contacts { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 16px; }
.f-contacts .items { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.f-contacts a { display: inline-flex; align-items: center; gap: 20px; font-size: 16px; }
.f-contacts a .icon { font-size: 34px; color: var(--gold); }
.f-contacts .social a { color: #fff; font-size: 32px; }
.f-contacts .social a:hover { color: var(--gold); }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 10px 0; }
.f-cols h4 { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 400; margin-bottom: 26px; }
.f-cols h4 .icon { color: var(--gold); font-size: 22px; }
.f-cols p, .f-cols li { font-size: 16px; line-height: 1.5; }
.f-cols ul { padding-left: 26px; }
.f-cols a { text-decoration: underline; text-decoration-color: rgba(193,165,118,.7); text-underline-offset: 3px; }
.f-cols a:hover { color: var(--gold); }
.disclaimer { padding: 34px 10px 24px; font-size: 16px; line-height: 1.5; }
.copyright { border-top: 1px solid rgba(255,255,255,.7); text-align: center; padding: 6px 0 0; font-size: 16px; }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 30px; bottom: 30px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.25); animation: pulse 2.4s infinite; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* ---------- Inner pages ---------- */
.page-title { font-size: 32px; font-weight: 700; color: var(--navy); text-transform: uppercase; padding: 40px 10px 0; }
.diplomas { padding: 40px 10px 70px; }
.diplomas .container { display: grid; grid-template-columns: 1fr 428px; gap: 40px; align-items: start; }
.timeline { list-style: none; padding: 0 10px; margin: 0; }
.timeline li { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; margin-bottom: 26px; }
.timeline .icon { color: var(--gold-dark); font-size: 26px; grid-row: span 2; }
.timeline .year { font-size: 18px; font-weight: 700; color: var(--navy); }
.timeline .what { font-size: 19px; line-height: 1.5; color: var(--text); }
.timeline .todo { color: var(--grey); font-style: italic; }
.dr-card { text-align: center; }
.dr-card .portrait { width: 100%; height: 642px; }
.dr-card h2 { font-size: 32px; font-weight: 700; color: var(--navy); margin-top: 24px; }
.dr-card p { margin-top: 12px; font-size: 17px; }

.banner { position: relative; height: 406px; display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; background: linear-gradient(120deg, #8dacc1 0%, #41657f 50%, #0c233a 100%); }
.banner svg.deco { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.banner h1 { position: relative; font-size: 39px; font-weight: 700; }
.articles-list { padding: 60px 10px 40px; }
.articles-list .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.a-card { display: flex; flex-direction: column; }
.a-card .thumb { height: 200px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.a-card .thumb svg { width: 96px; height: 96px; stroke: #fff; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.a-card h3 { font-size: 16px; font-weight: 700; color: var(--text); padding: 36px 10px 0; line-height: 1; min-height: 70px; }
.a-card h3 a:hover { color: var(--gold-dark); }
.a-card p { padding: 14px 10px 0; font-size: 16px; line-height: 1.5; flex: 1; }
.a-card .meta { padding: 0 10px; margin-top: 30px; font-size: 16px; }
.a-card.hidden { display: none; }
.t1 { background: linear-gradient(135deg, #8dacc1, #41657f); }
.t2 { background: linear-gradient(135deg, #41657f, #0c233a); }
.t3 { background: linear-gradient(135deg, #c1a576, #8dacc1); }
.t4 { background: linear-gradient(135deg, #0c233a, #41657f); }
.t5 { background: linear-gradient(135deg, #8dacc1, #c1a576); }
.t6 { background: linear-gradient(135deg, #41657f, #8dacc1); }
.load-more { text-align: center; margin: 50px 0 20px; }

.article-body { padding: 50px 10px 70px; }
.article-body .container { max-width: 820px; }
.article-body h1 { font-size: 32px; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.article-body .meta { margin: 0 0 24px; }
.article-body h2 { font-size: 22px; color: var(--navy); margin: 28px 0 10px; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.7; margin-bottom: 12px; }
.article-body .notice { margin-top: 30px; padding: 16px 20px; background: var(--cream-light); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 15px; }
.article-body .back { margin-top: 30px; }

.media { padding: 30px 10px 0; }
.media .page-h { text-align: center; font-size: 39px; font-weight: 700; color: var(--navy); margin-bottom: 40px; }
.media .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video { border: 2px solid var(--gold); border-radius: var(--radius); padding: 10px 10px 10px; display: flex; flex-direction: column; gap: 14px; }
.video h3 { font-size: 15px; font-weight: 700; text-align: center; min-height: 34px; color: var(--text); padding-top: 4px; }
.video .screen { aspect-ratio: 16 / 9; border-radius: 4px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.video .play { width: 68px; height: 48px; border-radius: 12px; background: var(--gold); display: flex; align-items: center; justify-content: center; }
.video .play svg { width: 22px; height: 22px; fill: var(--navy); }
.video .screen small { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: 13px; }
.media-note { text-align: center; color: var(--muted); margin: 26px 0 0; padding-bottom: 40px; }

.faq { padding: 30px 10px 70px; }
.faq .container { max-width: 900px; }
.faq details { border: 1px solid var(--gold); border-radius: var(--radius); margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 18px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--gold-dark); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; font-size: 16px; line-height: 1.6; }

.contact { padding: 40px 10px 70px; }
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact .card { border: 1px solid var(--gold); border-radius: var(--radius); padding: 28px; }
.contact .card h2 { font-size: 22px; color: var(--navy); margin-bottom: 16px; }
.contact .line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 17px; }
.contact .line .icon { color: var(--gold-dark); font-size: 22px; margin-top: 2px; }
.contact .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.contact .mapbox { border-radius: var(--radius); overflow: hidden; min-height: 420px; }
.contact .mapbox iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] body, body[dir="rtl"] { font-family: Cairo, "Geeza Pro", "SF Arabic", "Noto Sans Arabic", var(--font); }
[dir="rtl"] button, [dir="rtl"] .btn { font-family: inherit; }
[dir="rtl"] .hero .content { padding-left: 0; padding-right: 605px; align-items: flex-start; }
[dir="rtl"] .hero::after { background: linear-gradient(270deg, rgba(12,35,58,0) 30%, rgba(12,35,58,.75) 60%, rgba(12,35,58,.92) 100%); }
[dir="rtl"] .hero .art svg { left: auto; right: 6%; }
[dir="rtl"] .hero h1 { letter-spacing: 0; font-size: 71px; line-height: 1.2; }
.ar-home .hero h1 { font-size: 81px; }
[dir="rtl"] .hero h1 .pre { display: block; font-size: 46px; line-height: 1.3; }
[dir="rtl"] .hero .sub { font-size: 37px; }
[dir="rtl"] .doctor h2, [dir="rtl"] .cabinet h2 { line-height: 1.3; }
[dir="rtl"] .doctor h3, [dir="rtl"] .service h3, [dir="rtl"] .post-card h3 { line-height: 1.35; }
[dir="rtl"] .post-card .more { align-self: flex-start; }
[dir="rtl"] .f-cols ul { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .footer .bg-mark { right: auto; left: -60px; transform: scaleX(-1); }
[dir="rtl"] .carousel .prev { left: auto; right: -20px; }
[dir="rtl"] .carousel .next { right: auto; left: -20px; }
[dir="rtl"] .arrow svg, [dir="rtl"] .btn .icon.arr { transform: scaleX(-1); }
[dir="rtl"] .menu a { text-transform: none; font-size: 17px; }
[dir="rtl"] .brand .ar { text-align: right; }

/* ---------- Tablet (≤1024px) ---------- */
@media (max-width: 1024px) {
  .topbar .container { flex-direction: column; justify-content: center; padding: 10px 10px 14px; gap: 14px; }
  .topbar .info { justify-content: center; text-align: center; }
  .topbar .right { flex-direction: column; gap: 16px; }
  .navbar .container { height: 67px; border-radius: 0; gap: 10px; }
  .menu { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { flex: 1; max-width: 525px; }
  .mobile-menu { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; max-height: 0; overflow: hidden; transition: max-height .35s ease; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .navbar.open .mobile-menu { max-height: 400px; }
  .mobile-menu ul { list-style: none; padding: 0; margin: 0; }
  .mobile-menu a { display: block; padding: 10px 10px; text-align: right; text-transform: uppercase; font-size: 16px; color: var(--text); line-height: 1.4; }
  .mobile-menu a.active { background: var(--navy); color: #fff; }
  .mobile-menu a:hover { color: var(--gold-dark); }
  .mobile-menu a.active:hover { color: #fff; }
  [dir="rtl"] .mobile-menu a { text-align: left; text-transform: none; }

  .hero { height: 350px; }
  .hero .art svg { left: 4%; width: 50%; }
  .hero .content { padding-left: 52%; padding-right: 20px; }
  [dir="rtl"] .hero .content { padding-right: 52%; padding-left: 20px; }
  .hero h1 { font-size: 39px; }
  .hero .sub { font-size: 22px; margin-top: 14px; }
  .hero .hero-actions { display: none; }
  [dir="rtl"] .hero h1 { font-size: 39px; }
  [dir="rtl"] .hero h1 .pre { font-size: 28px; }
  [dir="rtl"] .hero .sub { font-size: 22px; }

  .doctor .container { grid-template-columns: 1fr 1fr; gap: 20px; }
  .doctor h2 { font-size: 39px; margin-top: 70px; }
  .doctor h3 { font-size: 22px; }
  .portrait { width: 100%; height: 720px; }
  .services .grid { gap: 6px; }
  .service h3 { font-size: 15px; }
  .cabinet { padding-top: 70px; }
  .cabinet .container { grid-template-columns: 1fr 1fr; gap: 20px; }
  .building { height: 350px; }
  .cabinet h2 { font-size: 32px; margin-top: 30px; }
  .cabinet p { font-size: 14px; }
  .review { flex: 0 0 calc((100% - 10px) / 2); }
  .rdv .container { grid-template-columns: 1fr; padding: 0; }
  .rdv .visual { height: 360px; }
  .rdv .txt p { font-size: 16px; }
  .news .grid { grid-template-columns: 1fr; gap: 20px; }
  .post-card h3 { min-height: 0; }
  .post-card .more { align-self: stretch; }
  .f-contacts { align-items: flex-start; }
  .f-cols { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .diplomas .container { grid-template-columns: 1fr 1fr; gap: 24px; }
  .dr-card .portrait { height: 460px; }
  .articles-list .grid { grid-template-columns: repeat(2, 1fr); }
  .media .grid { grid-template-columns: repeat(2, 1fr); }
  .contact .container { grid-template-columns: 1fr; }
}

/* ---------- Phone (≤767px) ---------- */
@media (max-width: 767px) {
  .topbar .info a, .topbar .info span { padding: 0 6px; }
  .topbar .info .addr { flex: 1 1 100%; justify-content: center; }
  .navbar .container { flex-wrap: wrap; height: auto; padding: 8px 10px 10px; }
  .nav-cta { order: 3; flex: 1 1 100%; max-width: none; }
  .hero { height: 252px; }
  .hero .art svg { left: -10%; width: 80%; opacity: .7; }
  .hero::after { background: linear-gradient(90deg, rgba(12,35,58,.35) 0%, rgba(12,35,58,.8) 100%); }
  .hero .content { padding: 0 20px; align-items: center; text-align: center; }
  [dir="rtl"] .hero .content { padding: 0 20px; }
  .hero h1 { font-size: 39px; }
  .doctor { padding-top: 40px; }
  [dir="rtl"] .hero h1 { font-size: 39px; }
  [dir="rtl"] .hero h1 .pre { font-size: 24px; }
  [dir="rtl"] .hero .sub { font-size: 22px; }
  .doctor .container { grid-template-columns: 1fr; }
  .doctor h2 { margin-top: 0; }
  .portrait { height: 460px; }
  .services .grid { grid-template-columns: 1fr; gap: 10px; }
  .service { min-height: 122px; }
  .service h3 { font-size: 18px; }
  .cabinet .container { grid-template-columns: 1fr; }
  .building { height: 260px; }
  .cabinet h2 { font-size: 39px; margin-top: 10px; }
  .cabinet p { font-size: 16px; }
  .carousel .viewport { margin: 0 24px; }
  .carousel .prev { left: 0; }
  .carousel .next { right: 0; }
  [dir="rtl"] .carousel .prev { right: 0; left: auto; }
  [dir="rtl"] .carousel .next { left: 0; right: auto; }
  .review { flex: 0 0 100%; }
  .rdv .visual { height: 240px; }
  .section-title { font-size: 32px; }
  .section-title.dark { font-size: 22px; }
  .f-contacts { flex-direction: column; }
  .f-contacts .items { flex-direction: column; align-items: flex-start; }
  .f-cols { grid-template-columns: 1fr; }
  .wa-float { right: 20px; bottom: 20px; }
  .diplomas .container { grid-template-columns: 1fr; }
  .timeline .what { font-size: 17px; }
  .articles-list .grid, .media .grid { grid-template-columns: 1fr; }
  .banner { height: 260px; }
  .page-title { font-size: 26px; }
  .media .page-h { font-size: 32px; }
}

/* ===================================================================
   Signature textures (inspired by the person's reference styles):
   grainy gradients, fluted glass, topographic / sound-wave lines,
   soft "thermal" mesh gradients — all in the brand palette.
   =================================================================== */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grainy { position: relative; isolation: isolate; }
.grainy > .grain { position: absolute; inset: 0; z-index: 3; pointer-events: none; background-image: var(--grain); background-size: 180px; mix-blend-mode: overlay; opacity: .38; }

/* Thermal mesh gradient for the hero and banners */
.hero { background:
  radial-gradient(60% 80% at 18% 30%, rgba(141,172,193,.95) 0%, rgba(141,172,193,0) 60%),
  radial-gradient(45% 60% at 35% 85%, rgba(193,165,118,.75) 0%, rgba(193,165,118,0) 65%),
  radial-gradient(70% 90% at 85% 20%, #1b3a57 0%, rgba(27,58,87,0) 70%),
  linear-gradient(120deg, #41657f 0%, #0c233a 70%); }
[dir="rtl"] .hero { background:
  radial-gradient(60% 80% at 82% 30%, rgba(141,172,193,.95) 0%, rgba(141,172,193,0) 60%),
  radial-gradient(45% 60% at 65% 85%, rgba(193,165,118,.75) 0%, rgba(193,165,118,0) 65%),
  radial-gradient(70% 90% at 15% 20%, #1b3a57 0%, rgba(27,58,87,0) 70%),
  linear-gradient(240deg, #41657f 0%, #0c233a 70%); }
.banner { background:
  radial-gradient(50% 90% at 20% 20%, rgba(141,172,193,.9), rgba(141,172,193,0) 65%),
  radial-gradient(40% 80% at 75% 100%, rgba(193,165,118,.7), rgba(193,165,118,0) 65%),
  linear-gradient(120deg, #41657f 0%, #0c233a 80%); }

/* Fluted glass panel over the hero emblem */
.hero .flute { position: absolute; z-index: 1; top: 0; bottom: 0; left: 4%; width: 44%;
  -webkit-backdrop-filter: blur(2.5px) saturate(1.2); backdrop-filter: blur(2.5px) saturate(1.2);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0px, rgba(255,255,255,.02) 6px, rgba(255,255,255,0) 18px, rgba(12,35,58,.18) 26px, rgba(255,255,255,.10) 28px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); }
[dir="rtl"] .hero .flute { left: auto; right: 4%; }
.hero::after { z-index: 2; }
.hero .content { z-index: 4; }

/* Topographic / sound-wave lines */
.section.services, .section.news { background-image: url(/assets/topo.svg), url(/assets/topo.svg); background-repeat: no-repeat; background-size: 760px, 620px; background-position: -260px -220px, calc(100% + 240px) calc(100% + 200px); }
.services { background-color: var(--cream-light); }
.news { background-color: var(--cream-light); }
.testimonials { position: relative; isolation: isolate; background:
  url(/assets/topo-light.svg) no-repeat calc(100% + 200px) -180px / 760px,
  radial-gradient(60% 90% at 10% 100%, rgba(193,165,118,.35), rgba(193,165,118,0) 60%),
  linear-gradient(135deg, #41657f 0%, #2a4a63 100%); }
.footer { background: url(/assets/topo-light.svg) no-repeat -220px -260px / 820px, linear-gradient(160deg, #0f2b46 0%, #0c233a 60%, #081a2c 100%); }
.footer .bg-mark { opacity: .07; }
.portrait { isolation: isolate; }
.portrait::after { content: ""; position: absolute; inset: 0; background: url(/assets/topo-light.svg) no-repeat center / 140%; opacity: .25; z-index: -1; }
.service, .post-card, .video, .faq details, .contact .card { background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.building, .rdv .visual, .a-card .thumb, .video .screen { position: relative; }
.building::after, .rdv .visual::after, .a-card .thumb::after, .video .screen::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); background-size: 180px; mix-blend-mode: overlay; opacity: .35; pointer-events: none; }
.a-card .thumb::before, .video .screen::before { content: ""; position: absolute; inset: 0; background: url(/assets/topo-light.svg) no-repeat center / 180%; opacity: .35; pointer-events: none; }
.btn.gold { background: linear-gradient(135deg, #d6be92 0%, #c1a576 45%, #a88c5b 100%); }
@media (max-width: 1024px) { .hero .flute { left: 2%; width: 50%; } [dir="rtl"] .hero .flute { right: 2%; } }
@media (max-width: 767px) { .hero .flute { left: 0; width: 70%; opacity: .7; } [dir="rtl"] .hero .flute { right: 0; } .section.services, .section.news { background-size: 520px, 420px; } }
.testimonials > :not(.grain), .footer > .container, .banner h1 { position: relative; z-index: 4; }
.stars svg, .review .mini svg { fill: currentColor; }
bdi[dir="ltr"] { white-space: nowrap; }
.nav-holder { position: relative; z-index: 50; }
.navbar.fixed { position: fixed; top: 0; left: 0; right: 0; }
.hero .sub { font-weight: 400; line-height: 1.3; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background-image: var(--grain); background-size: 180px; mix-blend-mode: overlay; opacity: .22; }
/* Inner page rhythm closer to the reference pages */
.timeline li { margin-bottom: 44px; }
.diplomas { padding-bottom: 90px; }
.articles-list { padding: 60px 10px 70px; }
.articles-list .grid { row-gap: 50px; }
.a-card .meta { margin-top: 30px; }
.articles-list .load-more { margin: 60px 0 0; }
/* Taller section rhythm on tablet, like the reference */
@media (min-width: 768px) and (max-width: 1024px) {
  .section { padding: 80px 10px; }
  .testimonials { padding: 90px 10px 100px; }
  .rdv { padding-top: 90px; }
}
@media (max-width: 767px) { .a-card .thumb { height: 230px; } .articles-list .grid { row-gap: 100px; } }
@media (max-width: 767px) { .dr-card .portrait { height: 560px; } .timeline li { margin-bottom: 60px; } .diplomas { padding-bottom: 120px; } }

/* ===================================================================
   Additions – Nov 2026: real photo of the reception, blurred photo in
   the hero, paper texture on cream sections, Google reviews buttons.
   =================================================================== */
/* Blurred photo of the reception behind the hero */
.hero::before { content: ""; position: absolute; inset: -40px; z-index: 0; background: url(/assets/cabinet-accueil-900.webp) center 40% / cover; filter: blur(16px) saturate(.9) brightness(.72); opacity: .6; pointer-events: none; }
.hero .art { z-index: 1; }
/* Real photo in the "Cabinet" section */
.building.photo { background: #0c233a; }
.building.photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
/* Paper texture on cream sections */
:root { --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.035 .9' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .47  0 0 0 0 .33  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .3  0 0 0 0 .27  0 0 0 0 .2  0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.section.cream { position: relative; isolation: isolate; background-color: #efeee8; }
.section.cream::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--paper); background-size: 320px, 200px; opacity: .4; }
.section.cream .service, .section.cream .post-card { background: rgba(250,249,245,.92); }

/* ===================================================================
   Own layout (v2) – distinct structure: hero, quick info, oval
   services, About teaser, visit block, reviews band, footer.
   =================================================================== */
.kicker { text-transform: uppercase; letter-spacing: 3px; font-size: 13px; font-weight: 700; color: var(--gold-dark); margin-bottom: 8px; }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: 15px; }

/* Hero: text on the reading side's start, emblem on the other side */
.hero-v2 .content { padding-left: 10px; padding-right: 605px; }
.hero-v2 .art svg { left: auto; right: 6%; }
.hero-v2 .flute { left: auto; right: 4%; }
.hero-v2::after { background: linear-gradient(270deg, rgba(12,35,58,0) 30%, rgba(12,35,58,.75) 60%, rgba(12,35,58,.92) 100%); }
[dir="rtl"] .hero-v2 .content { padding-right: 10px; padding-left: 605px; }
[dir="rtl"] .hero-v2 .art svg { right: auto; left: 6%; }
[dir="rtl"] .hero-v2 .flute { right: auto; left: 4%; }
[dir="rtl"] .hero-v2::after { background: linear-gradient(90deg, rgba(12,35,58,0) 30%, rgba(12,35,58,.75) 60%, rgba(12,35,58,.92) 100%); }
.hero-v2 .eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
[dir="rtl"] .hero-v2 .eyebrow { letter-spacing: 0; font-size: 18px; }
.hero-v2 h1, [dir="rtl"] .hero-v2 h1 { font-size: 64px; line-height: 1.05; text-transform: none; letter-spacing: 0; }
[dir="rtl"] .hero-v2 h1 { line-height: 1.25; }
.hero-v2 h1 span { display: block; font-size: 24px; font-weight: 500; line-height: 1.3; margin-top: 12px; color: var(--gold); }
.hero-v2 .sub, [dir="rtl"] .hero-v2 .sub { font-size: 19px; line-height: 1.5; max-width: 500px; margin-top: 18px; opacity: .92; }

/* Quick practical info, overlapping the hero */
.quick-info { position: relative; z-index: 6; margin-top: -46px; padding: 0 10px; }
.quick-info .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; background: #fff; border-radius: 16px; padding: 22px 28px; box-shadow: 0 14px 40px rgba(12,35,58,.14); border-top: 3px solid var(--gold); }
.qi { display: flex; align-items: center; gap: 14px; }
.qi > .icon { font-size: 30px; color: var(--gold-dark); }
.qi b { display: block; color: var(--navy); font-size: 15px; }
.qi span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.qi a { color: inherit; }

/* Services as ovals with illustrations */
.services-v2 { padding-top: 80px; }
.section-lead { text-align: center; color: var(--muted); font-size: 16px; max-width: 600px; margin: -26px auto 38px; }
.ovals { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.oval { aspect-ratio: 6 / 5; border-radius: 50%; background: rgba(250,249,245,.94); border: 1.5px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8% 15%; gap: 10px; transition: transform .25s, box-shadow .25s; }
.oval:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(12,35,58,.12); }
.oval svg { width: 66px; height: 66px; fill: none; stroke: var(--gold-dark); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.oval h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--navy); line-height: 1.25; }
[dir="rtl"] .oval h3 { font-size: 16px; text-transform: none; }

/* About teaser with a round emblem */
.about-teaser { padding: 90px 10px 80px; }
.about-teaser .container { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: center; }
.medallion { width: 380px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; position: relative; display: flex; align-items: center; justify-content: center; justify-self: center;
  background: url(/assets/topo-light.svg) no-repeat center / 170%, radial-gradient(circle at 50% 38%, #1d3c5a 0%, #0c233a 60%, #071626 100%);
  box-shadow: 0 0 0 10px #efeee8, 0 0 0 11.5px var(--gold), 0 18px 40px rgba(12,35,58,.18); }
.medallion svg { width: 58%; height: auto; }
.medallion .cap { position: absolute; bottom: 15%; left: 0; right: 0; text-align: center; color: var(--cream); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; opacity: .85; }
.medallion.small { width: 210px; box-shadow: 0 0 0 7px #efeee8, 0 0 0 8.5px var(--gold); }
.about-teaser h2 { font-size: 34px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.about-teaser p { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin-bottom: 10px; }
.about-teaser p strong { color: var(--text); }
.about-teaser .btn { margin-top: 16px; }

/* Visit: practical block with the photo */
.visit { padding: 70px 10px 80px; background: #fff; }
.visit .container { display: grid; grid-template-columns: 1fr 540px; gap: 54px; align-items: center; }
.visit h2 { font-size: 34px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.visit p { font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.visit .hours { font-size: 16px; margin: 18px 0 12px; }
.visit .note { font-size: 14px; }
.visit .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.visit .urgent { font-size: 13.5px; border-left: 3px solid var(--gold); padding-left: 12px; }
[dir="rtl"] .visit .urgent { border-left: 0; padding-left: 0; border-right: 3px solid var(--gold); padding-right: 12px; }
.visit .photo { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 18px 40px rgba(12,35,58,.16); }
.visit .photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }

/* Reviews band */
.reviews-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 54px 10px;
  background: url(/assets/topo-light.svg) no-repeat calc(100% + 200px) -200px / 760px, linear-gradient(135deg, #41657f 0%, #0c233a 100%); }
.reviews-band .container { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.reviews-band .stars { justify-content: flex-start; margin: 0 0 8px; font-size: 18px; }
.reviews-band .stars svg { width: 18px; height: 18px; }
.reviews-band h2 { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.reviews-band p { font-size: 16px; opacity: .9; }
.reviews-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }

/* Footer v2 */
.footer-v2 > .container { padding-top: 60px; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.f-brand .logo { width: 92px; height: 80px; }
.f-brand .name { font-size: 20px; font-weight: 700; color: #fff; margin-top: 10px; }
.f-brand .spec { font-size: 13.5px; color: var(--gold); margin: 4px 0 14px; }
.footer-v2 .social { display: flex; gap: 14px; }
.footer-v2 .social a { color: #fff; font-size: 22px; }
.footer-v2 .social a:hover { color: var(--gold); }
.footer-v2 h4 { color: var(--gold); font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
[dir="rtl"] .footer-v2 h4 { letter-spacing: 0; font-size: 17px; }
.footer-v2 p, .footer-v2 li { color: rgba(255,255,255,.86); font-size: 14.5px; line-height: 1.75; }
.footer-v2 ul { list-style: none; padding: 0; margin: 0; }
.footer-v2 .f-grid a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-v2 .f-grid .social a { text-decoration: none; }
.footer-v2 .disclaimer { font-size: 14px; opacity: .85; padding-top: 40px; }
.footer-v2 .copyright { font-size: 14px; border-top-color: rgba(255,255,255,.3); padding: 12px 0 0; }

/* About page */
.about-page { padding: 24px 10px 80px; }
.about-intro { display: grid; grid-template-columns: 210px 1fr; gap: 44px; align-items: center; margin-bottom: 48px; }
.about-intro h2 { font-size: 32px; font-weight: 700; color: var(--navy); }
.about-intro .role { color: var(--gold-dark); font-weight: 700; font-size: 15px; margin: 6px 0 14px; }
.about-intro p { font-size: 16px; line-height: 1.75; color: var(--text); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-block { background: #faf9f5; border: 1px solid rgba(193,165,118,.55); border-radius: 20px; padding: 26px 26px 20px; }
.about-block h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.about-block ul { margin: 0; padding-inline-start: 18px; }
.about-block li { font-size: 15px; line-height: 1.55; margin-bottom: 6px; color: var(--text); }
.about-block li::marker { color: var(--gold-dark); }
.about-block p { font-size: 15px; line-height: 1.7; color: var(--text); }
.about-cta { margin-top: 50px; text-align: center; color: #fff; border-radius: 22px; padding: 36px 20px;
  background: url(/assets/topo-light.svg) no-repeat center / 900px, linear-gradient(135deg, #41657f 0%, #0c233a 100%); }
.about-cta h2 { color: #fff; font-size: 26px; margin-bottom: 18px; }
.about-cta .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .hero-v2 .content { padding-left: 20px; padding-right: 52%; }
  [dir="rtl"] .hero-v2 .content { padding-right: 20px; padding-left: 52%; }
  .hero-v2 .art svg { right: 4%; left: auto; width: 50%; }
  [dir="rtl"] .hero-v2 .art svg { left: 4%; right: auto; }
  .hero-v2 h1, [dir="rtl"] .hero-v2 h1 { font-size: 44px; }
  .hero-v2 h1 span { font-size: 19px; }
  .hero-v2 .sub, [dir="rtl"] .hero-v2 .sub { font-size: 16px; }
  .ovals { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }
  .about-teaser .container, .visit .container { grid-template-columns: 1fr 1fr; gap: 36px; }
  .medallion { width: 300px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .hero-v2 .content, [dir="rtl"] .hero-v2 .content { padding: 0 20px; align-items: center; text-align: center; }
  .hero-v2 .art svg, [dir="rtl"] .hero-v2 .art svg { left: 10%; right: auto; width: 80%; opacity: .55; }
  .hero-v2 .eyebrow { font-size: 12px; margin-bottom: 8px; }
  .hero-v2 h1, [dir="rtl"] .hero-v2 h1 { font-size: 34px; }
  .hero-v2 h1 span { font-size: 16px; margin-top: 6px; }
  .hero-v2 .sub { display: none; }
  .quick-info { margin-top: -24px; }
  .quick-info .container { grid-template-columns: 1fr; padding: 18px 20px; gap: 14px; }
  .services-v2 { padding-top: 60px; }
  .section-lead { margin-top: -20px; padding: 0 10px; }
  .ovals { gap: 14px 12px; }
  .oval { padding: 8% 10%; gap: 6px; }
  .oval svg { width: 46px; height: 46px; }
  .oval h3 { font-size: 11.5px; }
  [dir="rtl"] .oval h3 { font-size: 13px; }
  .about-teaser { padding: 60px 10px; }
  .about-teaser .container, .visit .container { grid-template-columns: 1fr; gap: 30px; }
  .medallion { width: 250px; }
  .about-teaser h2, .visit h2 { font-size: 28px; }
  .visit .photo { order: -1; }
  .reviews-band .container { flex-direction: column; align-items: flex-start; }
  .f-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; }
}

/* About page: career timeline */
.about-path { margin: 0 0 44px; background: #fff; border: 1px solid rgba(193,165,118,.55); border-radius: 20px; padding: 26px 30px 12px; }
.about-path h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.career { list-style: none; margin: 0; padding: 0 0 0 4px; border-left: 2px solid var(--gold); }
.career li { position: relative; padding: 0 0 18px 24px; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.career li::before { content: ""; position: absolute; left: -8px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); box-sizing: border-box; }
.career li:last-child { font-weight: 700; color: var(--navy); }
.career li:last-child::before { background: var(--gold); }
[dir="rtl"] .career { padding: 0 4px 0 0; border-left: 0; border-right: 2px solid var(--gold); }
[dir="rtl"] .career li { padding: 0 24px 18px 0; }
[dir="rtl"] .career li::before { left: auto; right: -8px; }

/* ---- article illustrations (v3) ---- */
.post-card { padding: 0 0 20px; overflow: hidden; }
.post-card > :not(.post-thumb) { margin-left: 20px; margin-right: 20px; }
.post-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); margin-bottom: 18px; }
.post-thumb img, .a-card .thumb.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.post-card:hover .post-thumb img, .a-card:hover .thumb.photo img { transform: scale(1.04); }
.post-card h3 { font-size: 19px; line-height: 1.3; min-height: 0; margin-bottom: 10px; }
.post-card p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.a-card .thumb.photo { height: auto; aspect-ratio: 16 / 9; background: var(--navy); }
.a-card .thumb.photo::before, .a-card .thumb.photo::after { display: none; }
.a-card h3 { line-height: 1.35; min-height: 0; padding-top: 22px; }
.a-card p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.article-body .article-hero { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); }
.article-body .article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body strong { color: var(--navy); }
@media (max-width: 767px) { .a-card .thumb.photo { height: auto; } .article-body h1 { font-size: 26px; } }
@media (min-width: 768px) { .post-card h3 { min-height: 5.2em; } }

/* Doctor portrait (replaces the emblem medallion) */
.dr-photo { position: relative; margin: 0; width: 380px; max-width: 100%; justify-self: center; isolation: isolate; }
.dr-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 22px 44px rgba(12,35,58,.22); }
.dr-photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1.5px solid var(--gold); border-radius: var(--radius); z-index: -1; }
[dir="rtl"] .dr-photo::before { inset: 16px 16px -16px -16px; }
.dr-photo.small { width: 270px; }
.about-intro { grid-template-columns: 270px 1fr; }
@media (max-width: 1024px) { .dr-photo { width: 320px; } }
@media (max-width: 767px) { .dr-photo { width: 280px; margin-bottom: 24px; } .dr-photo.small { width: 240px; } .about-intro { grid-template-columns: 1fr; justify-items: center; } }
