/* Dr Mostafa CHIBANI — pneumologue & allergologue, Oujda
   Palette: deep petrol green + saffron, on a cool paper background. */

:root {
  --petrol: #0c3b3e;
  --petrol-2: #125a5e;
  --petrol-3: #1b7479;
  --ink: #0f2426;
  --text: #33494b;
  --muted: #5d7173;
  --paper: #f5f7f4;
  --mist: #e6eeea;
  --white: #ffffff;
  --accent: #f2b544;
  --accent-2: #e59f1f;
  --accent-ink: #231a05;
  --mint: #a9dccd;
  --wa: #0f7d42;
  --wa-2: #0c6a38;
  --danger: #b3261e;
  --line: rgba(12, 59, 62, .13);
  --line-light: rgba(255, 255, 255, .16);

  --f-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(12, 59, 62, .06), 0 12px 32px -12px rgba(12, 59, 62, .18);
  --shadow-lg: 0 30px 60px -24px rgba(8, 36, 38, .45);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

[dir="rtl"] {
  --f-display: "Readex Pro", "Figtree", system-ui, sans-serif;
  --f-body: "Readex Pro", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); letter-spacing: -.025em; }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
@media (max-width: 560px) { .container { width: calc(100% - 32px); } }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* Highlight inside headings */
.hl { color: var(--petrol-2); background: linear-gradient(transparent 68%, rgba(242, 181, 68, .45) 68%, rgba(242, 181, 68, .45) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .hl, .section--deep .hl, .cta .hl { color: var(--accent); background: none; }

/* Eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol-3); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent-2); border-radius: 2px; }
.eyebrow--light { color: var(--mint); }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .92rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--petrol); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font: 700 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { --bg: var(--petrol); }
.btn--primary:hover { --bg: var(--petrol-2); }
.btn--accent { --bg: var(--accent); --fg: var(--accent-ink); box-shadow: 0 10px 24px -10px rgba(229, 159, 31, .8); }
.btn--accent:hover { --bg: #f6c261; }
.btn--outline { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--wa { --bg: var(--wa); }
.btn--wa:hover { --bg: var(--wa-2); }
.btn--light { --bg: #fff; --fg: var(--petrol); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(12, 59, 62, .96); color: #fff; transition: box-shadow .25s, background-color .25s; }
@supports (backdrop-filter: blur(10px)) { .header { background: rgba(12, 59, 62, .86); backdrop-filter: saturate(160%) blur(14px); } }
.header.menu-open { backdrop-filter: none; background: var(--petrol); }
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
.brand__mark { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--petrol); }
.brand__mark .icon { width: 26px; height: 26px; stroke-width: 1.7; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font: 700 1.08rem/1.15 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.brand__tag { font-size: .8rem; color: var(--mint); white-space: nowrap; }
.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link { display: block; padding: 8px 10px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .82); transition: color .2s, background-color .2s; }
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__link.is-active { color: var(--accent); }
.nav__extra { display: none; }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-light); }
.lang a { min-width: 36px; padding: 5px 8px; text-align: center; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .82rem; color: rgba(255, 255, 255, .75); }
.lang a[aria-current] { background: #fff; color: var(--petrol); }
.lang a:not([aria-current]):hover { color: #fff; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1200px) {
  .menu-toggle { display: block; }
  .lang--desk { display: none; }
  .header__actions { margin-inline-start: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--petrol); padding: 24px 20px 32px;
    display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { font: 600 1.5rem/1.2 var(--f-display); padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line-light); color: #fff; }
  .nav__link:hover { background: none; }
  .nav__extra { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
  .nav__extra .lang a { min-width: 48px; padding: 8px 12px; font-size: .95rem; }
}
@media (max-width: 560px) {
  .header__cta { display: none; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1rem; }
  .brand__tag { font-size: .74rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #145f63 0%, var(--petrol) 55%, #082b2e 100%); color: rgba(255, 255, 255, .86); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero__wave { position: absolute; inset-inline: -5%; bottom: 14%; width: 110%; height: 120px; fill: none; stroke: rgba(169, 220, 205, .18); stroke-width: 2; pointer-events: none; }
.hero__wave path, .deep__wave path, .cta__wave path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s var(--ease) .4s forwards, breathe 7s ease-in-out 3.6s infinite; transform-origin: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.6rem); letter-spacing: -.035em; line-height: 1.02; margin-bottom: 22px; }
[dir="rtl"] .hero__title { line-height: 1.25; letter-spacing: 0; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 36em; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.hero__stats li { flex: 1 1 0; min-width: 120px; padding: 18px 20px 0 0; display: flex; flex-direction: column; gap: 2px; }
[dir="rtl"] .hero__stats li { padding: 18px 0 0 20px; }
.hero__stats li + li { border-inline-start: 1px solid var(--line-light); padding-inline-start: 20px; }
.hero__stats strong { font: 700 clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem)/1 var(--f-display); color: #fff; letter-spacing: -.03em; }
.hero__stats span { font-size: .9rem; color: var(--mint); }

.status-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 7px 14px 7px 12px; margin-bottom: 22px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-light); font-size: .9rem; }
.status-pill strong { color: #fff; }
.status-pill [data-status-sub]:empty { display: none; }
.status-pill [data-status-sub]::before { content: "· "; opacity: .6; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa9aa; flex: none; }
.is-open .dot { background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 2s infinite; }
.is-closed .dot { background: #f08a7e; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

.hero__media { position: relative; justify-self: center; width: min(100%, 460px); }
.hero__arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); border: 6px solid rgba(255, 255, 255, .08); background: #0a3336; }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__since { position: absolute; inset-inline-start: -28px; bottom: 56px; background: var(--accent); color: var(--accent-ink); border-radius: var(--r-md); padding: 14px 20px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); transform: rotate(-3deg); }
[dir="rtl"] .hero__since { transform: rotate(3deg); }
.hero__since small { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.hero__since strong { font: 800 2.6rem/1 var(--f-display); letter-spacing: -.03em; }
.hero__since span { font-size: .85rem; font-weight: 600; }
.hero__call { position: absolute; inset-inline-end: -16px; top: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--petrol); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-lg); }
.hero__call .icon { color: var(--petrol-3); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; width: min(100%, 380px); }
  .hero__arch { aspect-ratio: 5 / 4.4; border-radius: 999px 999px var(--r-lg) var(--r-lg); }
  .hero__since { inset-inline-start: -8px; bottom: 20px; padding: 10px 16px; }
  .hero__since strong { font-size: 2rem; }
  .hero__call { inset-inline-end: -4px; top: auto; bottom: -14px; }
}
@media (max-width: 560px) {
  .hero__cta .btn { width: 100%; }
  .hero__stats li { min-width: 0; padding-inline-end: 10px; }
  .hero__stats li + li { padding-inline-start: 12px; }
}

/* Entry animation (hero) */
.in { opacity: 0; transform: translateY(16px); animation: in .8s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes in { to { opacity: 1; transform: none; } }

/* ---------- Credentials ticker ---------- */
.ticker { background: var(--accent); color: var(--accent-ink); overflow: hidden; border-block: 1px solid rgba(0, 0, 0, .06); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
[dir="rtl"] .ticker__track { animation-name: ticker-rtl; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker__list li { display: flex; align-items: center; gap: 28px; padding: 16px 0; padding-inline-end: 28px; font: 700 1.02rem/1.2 var(--f-display); white-space: nowrap; }
.ticker__list li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--petrol); }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes ticker-rtl { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--mist { background: var(--mist); }
.section--deep { background: var(--petrol); color: rgba(255, 255, 255, .8); overflow: hidden; }
.section--deep h2, .section--deep h3 { color: #fff; }
.head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.head p { margin-top: 18px; font-size: 1.1rem; color: var(--muted); }
.head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; }
.head--split p { margin: 0; }
.head--start { margin-bottom: 0; }
.head--start .btn { margin-top: 28px; }
@media (max-width: 860px) { .head--split { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__text h2 { margin-bottom: 26px; }
.about__text p { font-size: 1.1rem; }
.about__quote { margin: 36px 0 0; padding: 26px 28px; background: #fff; border-radius: var(--r-lg); border-inline-start: 5px solid var(--accent); box-shadow: var(--shadow); font: 500 1.2rem/1.5 var(--f-display); color: var(--ink); }
.about__quote footer { display: flex; flex-direction: column; margin-top: 16px; font: 400 .92rem/1.4 var(--f-body); color: var(--muted); }
.about__quote footer strong { color: var(--petrol); font-weight: 700; }
.path { list-style: none; margin: 0; padding: 0; position: relative; }
.path::before { content: ""; position: absolute; inset-inline-start: 27px; top: 28px; bottom: 28px; width: 2px; background: repeating-linear-gradient(to bottom, var(--petrol-3) 0 6px, transparent 6px 12px); opacity: .45; }
.path li { position: relative; display: flex; gap: 20px; align-items: flex-start; padding: 16px 0; }
.path__icon { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--petrol-2); box-shadow: var(--shadow); position: relative; }
.path li:last-child .path__icon { background: var(--petrol); color: var(--accent); border-color: var(--petrol); }
.path__icon .icon { width: 24px; height: 24px; }
.path small { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol-3); margin: 4px 0 4px; }
[dir="rtl"] .path small { letter-spacing: 0; font-size: .9rem; }
.path strong { display: block; font: 600 1.15rem/1.35 var(--f-display); color: var(--ink); }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- Care ---------- */
.cares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.care { background: #fff; border-radius: var(--r-lg); padding: 34px 30px 32px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.care::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--mist); transition: transform .5s var(--ease); }
.care:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.care:hover::after { transform: scale(1.3); }
.care > * { position: relative; z-index: 1; }
.care__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--petrol); color: var(--accent); margin-bottom: 26px; }
.care__icon .icon { width: 30px; height: 30px; }
.care h3 { font-size: 1.6rem; margin-bottom: 12px; }
.care p { color: var(--muted); }
.care-more { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 22px 26px; border-radius: var(--r-lg); border: 1px dashed rgba(12, 59, 62, .3); }
.care-more__label { font: 700 1.05rem var(--f-display); color: var(--petrol); }
.care-more ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.care-more li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; font-size: .95rem; font-weight: 600; color: var(--ink); }
.care-more li .icon { color: var(--petrol-3); width: 1em; height: 1em; stroke-width: 2.4; }
@media (max-width: 900px) { .cares { grid-template-columns: 1fr; } }

/* ---------- Exams ---------- */
.deep__wave { position: absolute; inset-inline: 0; top: 40px; width: 100%; height: 90px; fill: none; stroke: rgba(242, 181, 68, .16); stroke-width: 2; pointer-events: none; }
.exams__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.exams__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.exams__intro h2 { margin-bottom: 20px; }
.exams__intro p { font-size: 1.1rem; }
.exams__photo { margin: 32px 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; border: 1px solid var(--line-light); }
.exams__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.exams { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.exam { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 30px 30px 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-light); transition: background-color .3s, border-color .3s; }
.exam:hover { background: rgba(255, 255, 255, .08); border-color: rgba(242, 181, 68, .45); }
.exam__num { font: 800 3rem/1 var(--f-display); color: var(--accent); letter-spacing: -.04em; }
.exam h3 { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; margin-bottom: 10px; }
.exam h3 .icon { color: var(--mint); width: 26px; height: 26px; }
.exam__note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-light); font-size: .95rem; color: var(--mint); }
.exam__note .icon { margin-top: 3px; width: 18px; height: 18px; }
@media (max-width: 900px) {
  .exams__grid { grid-template-columns: 1fr; }
  .exams__intro { position: static; }
}
@media (max-width: 560px) {
  .exam { grid-template-columns: 1fr; gap: 10px; padding: 24px 22px; }
  .exam__num { font-size: 2.2rem; }
}

/* ---------- Gallery ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 16px; }
.shot { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--mist); }
.shot--0 { grid-column: span 2; grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: absolute; inset-inline-start: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; background: rgba(12, 59, 62, .82); color: #fff; font-size: .88rem; font-weight: 600; backdrop-filter: blur(6px); }
@media (max-width: 860px) {
  .shots { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .shot--0 { grid-column: span 2; grid-row: span 1; height: auto; }
  .shots .shot--0 { grid-row: span 2; }
}
@media (max-width: 480px) {
  .shots { grid-auto-rows: 170px; gap: 10px; }
  .shot figcaption { font-size: .78rem; padding: 5px 10px; inset-inline-start: 8px; bottom: 8px; }
}

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.form { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); position: relative; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .95rem; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 7px; }
.req { color: var(--accent-2); }
.opt { font-weight: 500; color: var(--muted); }
.input { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--paper); font: 500 1rem var(--f-body); color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.input::placeholder { color: #8a9a9b; }
.input:hover { border-color: rgba(12, 59, 62, .3); }
.input:focus { outline: none; border-color: var(--petrol-3); background: #fff; box-shadow: 0 0 0 4px rgba(27, 116, 121, .14); }
textarea.input { resize: vertical; min-height: 96px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230c3b3e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-inline-end: 40px; }
[dir="rtl"] select.input { background-position: left 16px center; }
.field__hint { font-size: .85rem; color: var(--muted); }
.field__error { font-size: .86rem; color: var(--danger); font-weight: 600; }
.field__error:empty { display: none; }
.has-error .input { border-color: var(--danger); background: #fff6f5; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: .95rem; cursor: pointer; transition: all .2s; }
.choice input:checked + span { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.choice input:disabled + span { opacity: .4; cursor: not-allowed; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--petrol); flex: none; }
.form__foot { margin-top: 26px; }
.form__note { margin-top: 12px; text-align: center; font-size: .85rem; color: var(--muted); }
.form__success { display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--r-sm); background: #e5f5ec; color: #0b5a30; font-weight: 600; font-size: .95rem; }
.form__success.is-visible { display: block; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }

.booking__aside { display: flex; flex-direction: column; gap: 16px; }
.hours { background: var(--petrol); color: rgba(255, 255, 255, .85); border-radius: var(--r-lg); padding: 28px; }
.hours__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hours h3 { color: #fff; font-size: 1.35rem; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .85rem; font-weight: 700; color: #fff; }
.hours__sub { margin: 8px 0 18px; font-size: .9rem; color: var(--mint); }
.hours__table { width: 100%; border-collapse: collapse; }
.hours__table tr { border-top: 1px solid var(--line-light); }
.hours__table th, .hours__table td { padding: 11px 0; text-align: start; font-weight: 500; vertical-align: middle; }
.hours__table th { font-weight: 600; color: #fff; width: 38%; }
.hours__table td { display: flex; align-items: center; gap: 12px; justify-content: flex-end; font-variant-numeric: tabular-nums; }
.hours__table td.closed { color: #f3a79e; }
.hbar { position: relative; flex: 1; max-width: 90px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.hbar i { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); background: var(--mint); border-radius: 6px; }
[dir="rtl"] .hbar i { left: auto; right: calc(var(--a) * 100%); }
.hours__table tr.is-today th::after { content: attr(data-today); display: inline-block; margin-inline-start: 8px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 800; vertical-align: 2px; }
.hours__table tr.is-today .hbar i { background: var(--accent); }
.phones { display: grid; gap: 10px; }
.phones a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-md); background: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.phones a:hover { transform: translateY(-2px); }
.phones a > .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--mist); color: var(--petrol); }
.phones .phones__wa > .icon { background: var(--wa); color: #fff; }
.phones small { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.phones b { font: 700 1.15rem var(--f-display); color: var(--ink); }
.notice { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 16px 18px; border-radius: var(--r-md); background: #fff3e6; color: #6b3d05; font-size: .92rem; border: 1px solid #f6d8b0; }
.notice .icon { color: #c26a00; margin-top: 2px; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }

/* ---------- Access ---------- */
.access { display: grid; grid-template-columns: 1fr .8fr 1.3fr; gap: 16px; }
.access__card { background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 22px; }
.address { display: flex; gap: 16px; align-items: flex-start; }
.address__icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 16px; background: var(--accent); color: var(--petrol); }
.address__icon .icon { width: 26px; height: 26px; }
.address address { font: 600 1.12rem/1.45 var(--f-display); color: var(--ink); }
.tips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.tips li { display: flex; gap: 12px; align-items: flex-start; padding-top: 14px; border-top: 1px solid var(--line); }
.tips li > .icon { color: var(--petrol-3); margin-top: 3px; }
.tips small { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
[dir="rtl"] .tips small { letter-spacing: 0; }
.tips strong { font-weight: 600; color: var(--ink); }
.access__plaque { margin: 0; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; }
.access__plaque img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.access__map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--mist); }
.access__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 1024px) {
  .access { grid-template-columns: 1fr 1fr; }
  .access__map { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .access { grid-template-columns: 1fr; }
  .access__map, .access__map iframe { min-height: 320px; }
}

/* ---------- Google reviews ---------- */
.greviews { background: linear-gradient(180deg, var(--paper), var(--mist)); }
.greviews__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.greviews__text h2 { margin-bottom: 20px; }
.greviews__text > p { font-size: 1.1rem; }
.gsteps { list-style: none; margin: 28px 0 32px; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: s; }
.gsteps li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink); }
.gsteps li > span { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--petrol); color: var(--accent); font: 700 1rem var(--f-display); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--ghost { --bg: transparent; --fg: var(--petrol); border-color: rgba(12, 59, 62, .28); }
.btn--ghost:hover { border-color: var(--petrol); background: rgba(12, 59, 62, .05); }
.btn--accent .icon--fill, .btn--ghost .icon { width: 1.1em; height: 1.1em; }
.gcard { background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-lg); position: relative; }
.gcard::before { content: ""; position: absolute; inset: -10px 10px auto auto; width: 90px; height: 90px; border-radius: 50%; background: var(--accent); opacity: .35; z-index: -1; }
[dir="rtl"] .gcard::before { inset: -10px auto auto 10px; }
.gcard__head { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.gcard__g { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font: 800 1.5rem Arial, sans-serif; color: #4285f4; background: #fff; }
.gcard__head strong { display: block; font: 700 1.05rem/1.3 var(--f-display); color: var(--ink); }
.gcard__head span { font-size: .9rem; color: var(--muted); }
.gcard__rating { display: flex; align-items: center; gap: 18px; padding: 22px 0; }
.gcard__rating > strong { font: 800 3.6rem/1 var(--f-display); color: var(--ink); letter-spacing: -.04em; }
.gstars { position: relative; display: inline-flex; color: #d9dfdd; }
.gstars__base, .gstars__fill { display: inline-flex; gap: 2px; }
.gstars .icon { width: 26px; height: 26px; }
.gstars__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--r) * 100%); overflow: hidden; color: #fbbc04; }
[dir="rtl"] .gstars__fill { inset: 0 0 0 auto; direction: rtl; }
.gcard__count { display: block; margin-top: 4px; font-size: .92rem; color: var(--muted); font-weight: 600; }
.gcard__list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.gcard__list li { display: flex; gap: 12px; align-items: flex-start; padding-top: 14px; border-top: 1px solid var(--line); font-size: .95rem; }
.gcard__list li > .icon { color: var(--petrol-3); margin-top: 3px; }
.gcard__list small { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
[dir="rtl"] .gcard__list small { letter-spacing: 0; }
.gcard__list a { font-weight: 700; color: var(--ink); text-decoration: none; }
.gcard__status { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .greviews__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .greviews .btns .btn { width: 100%; } .gcard { padding: 24px 20px; } }

/* ---------- Reviews (optional) ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.review { margin: 0; background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.review__stars { color: var(--accent-2); letter-spacing: 2px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 14px; font-size: 1.05rem; color: var(--ink); }
.review figcaption { font-weight: 700; color: var(--petrol); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__grid .head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq details { background: #fff; border-radius: var(--r-md); margin-bottom: 10px; transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font: 600 1.08rem/1.35 var(--f-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--petrol); transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] .faq__plus { transform: rotate(45deg); background: var(--accent); }
.faq__a { padding: 0 24px 22px; color: var(--muted); }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__grid .head { position: static; }
}

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--petrol-2), var(--petrol)); color: rgba(255, 255, 255, .85); padding: clamp(64px, 8vw, 104px) 0; }
.cta__wave { position: absolute; inset-inline: 0; bottom: 20px; width: 100%; height: 100px; fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 2; pointer-events: none; }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { font-size: 1.1rem; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .cta__actions, .cta__actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.footer { background: #072528; color: rgba(255, 255, 255, .7); padding: 72px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer__about p { margin-top: 18px; max-width: 34em; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer a { text-decoration: none; color: rgba(255, 255, 255, .78); }
.footer a:hover { color: var(--accent); }
.brand--light { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: .85rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(15, 125, 66, .7); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 30px; height: 30px; }
@media (max-width: 560px) { .wa-float { width: 54px; height: 54px; inset-inline-end: 14px; bottom: 14px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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