/* Centre Al Hayat Marrakech — stylesheet
   Brand: blue & orange from the CAMMR logo, sand tones from the façade. */

:root {
  --navy: #0a2540;
  --navy-2: #0f3358;
  --blue: #0b63a8;
  --blue-600: #08579a;
  --blue-50: #eaf3fb;
  --blue-100: #d5e7f6;
  --orange: #f26d21;
  --orange-600: #d95a14;
  --orange-50: #fff1e8;
  --sand: #f6efe4;
  --sand-2: #efe3d1;
  --terracotta: #b8603d;
  --ink: #102136;
  --text: #33445a;
  --muted: #64748b;
  --line: #e5e1d8;
  --bg: #fcfaf6;
  --white: #fff;
  --wa: #1fae5b;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 2px 8px rgba(10, 37, 64, .05);
  --shadow: 0 10px 30px -12px rgba(10, 37, 64, .22);
  --shadow-lg: 0 30px 60px -24px rgba(10, 37, 64, .35);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

html[lang="ar"] {
  --font: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-display: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="ar"] body { font-size: 18px; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2 { font-weight: 800; letter-spacing: 0; line-height: 1.35; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.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 { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }

.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; }
html[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.45em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(242, 109, 33, .7); }
.btn--primary:hover { background: var(--orange-600); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 99, 168, .7); }
.btn--blue:hover { background: var(--blue-600); color: #fff; }
.btn--ghost { border-color: var(--blue-100); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--blue); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #17964d; color: #fff; }
.btn--block { width: 100%; }
.btn .icon { width: 1.15em; height: 1.15em; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #cdd9e6; font-size: .86rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; }
.topbar__info { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { width: 1rem; height: 1rem; color: var(--orange); }
.topbar__urg { font-weight: 700; }
.topbar__urg b { color: #ffb68a; font-weight: 700; }
@media (max-width: 860px) { .topbar__addr, .topbar__mail { display: none !important; } .topbar .wrap { justify-content: center; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(252, 250, 246, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10,37,64,.4); }
.header .wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 52px; height: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.06rem; letter-spacing: .01em; }
.brand__name em { font-style: normal; color: var(--orange); }
.brand__sub { font-size: .76rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: 3px; }
html[lang="ar"] .brand__sub { text-transform: none; letter-spacing: 0; font-size: .82rem; }

.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; white-space: nowrap; padding: 8px 11px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .94rem; }
.nav a:hover { background: var(--blue-50); color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang a { padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--navy); color: #fff; }
.lang a:not([aria-current="true"]):hover { color: var(--blue); }
.header__cta { padding: .7em 1.2em; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform .25s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1320px) { .header__cta { display: none; } }
@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px var(--gutter) 22px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s; margin: 0; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: 13px 14px; font-size: 1.05rem; border-radius: 12px; }
  .header__actions { margin-inline-start: auto; }
}
@media (max-width: 600px) {
  .header__cta { display: none; }
  .brand img { width: 44px; }
  .brand__name { font-size: .98rem; }
  .brand__sub { font-size: .68rem; }
}
@media (max-width: 380px) { .brand__sub { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); background: radial-gradient(1200px 500px at 85% -10%, var(--blue-50), transparent 60%), linear-gradient(180deg, var(--bg), var(--sand)); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--blue); }
html[lang="ar"] .hero h1 em { font-style: normal; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text); max-width: 36em; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__chips li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.hero__chips .icon { color: #fff; background: var(--blue); border-radius: 50%; padding: 4px; width: 22px; height: 22px; stroke-width: 2.6; }

.hero__media { position: relative; isolation: isolate; justify-self: center; width: min(100%, 500px); }
.arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sand-2); }
.arch img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.hero__media::before { content: ""; position: absolute; inset: -18px -18px 30px 30px; border: 2px solid var(--orange); border-radius: 999px 999px var(--r-lg) var(--r-lg); opacity: .35; z-index: -1; }
html[dir="rtl"] .hero__media::before { inset: -18px 30px 30px -18px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.3; color: var(--ink); animation: floaty 6s ease-in-out infinite; }
.float-card b { display: block; font-size: 1rem; }
.float-card small { color: var(--muted); font-weight: 600; }
.float-card__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card__ic .icon { width: 22px; height: 22px; }
.float-card--a { inset-inline-start: -28px; bottom: 70px; }
.float-card--a .float-card__ic { background: var(--orange-50); color: var(--orange); }
.float-card--b { inset-inline-end: -20px; top: 38%; animation-delay: -3s; }
.float-card--b .float-card__ic { background: var(--blue-50); color: var(--blue); }
a.float-card:hover { color: var(--ink); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__media { order: -1; width: min(100%, 420px); }
  .float-card--a { inset-inline-start: -8px; bottom: 30px; }
  .float-card--b { inset-inline-end: -8px; top: 30%; }
}
@media (max-width: 600px) {
  .hero__media { width: min(78%, 320px); }
  .arch img { aspect-ratio: 4 / 4.2; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { flex: 1 1 100%; }
  .float-card { font-size: .8rem; padding: 9px 12px; }
  .float-card__ic { width: 34px; height: 34px; }
  .float-card--b { display: none; }
}

/* ---------- Credentials strip ---------- */
.creds { background: #fff; border-bottom: 1px solid var(--line); }
.creds ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.creds li { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-inline-start: 1px solid var(--line); font-size: .92rem; line-height: 1.35; color: var(--text); }
.creds li:first-child { border-inline-start: 0; }
.creds b { display: block; color: var(--ink); font-size: 1rem; }
.creds .icon { width: 34px; height: 34px; color: var(--blue); stroke-width: 1.5; }
@media (max-width: 960px) { .creds ul { grid-template-columns: 1fr 1fr; } .creds li:nth-child(3) { border-inline-start: 0; } .creds li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .creds ul { grid-template-columns: 1fr; } .creds li { border-inline-start: 0; padding: 18px 4px; } .creds li + li { border-top: 1px solid var(--line); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section--white { background: #fff; }
.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--start { margin-inline: 0; text-align: start; }
.section__head--start .eyebrow { justify-content: flex-start; }
.section h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__media { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.about__media img { border-radius: var(--r); width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow); }
.about__media .tall { grid-row: span 2; aspect-ratio: 3 / 4.2; }
.about__media .sq { aspect-ratio: 1; }
.about__badge { position: absolute; inset-inline-start: 50%; bottom: -26px; transform: translateX(-50%); background: var(--navy); color: #fff; border-radius: 16px; padding: 14px 20px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); white-space: nowrap; font-size: .92rem; }
html[dir="rtl"] .about__badge { transform: translateX(50%); }
.about__badge img { width: 40px; height: auto; box-shadow: none; border-radius: 0; background: #fff; padding: 4px; border-radius: 10px; }
.about__badge b { display: block; font-size: 1rem; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; margin: 28px 0 32px; }
.feat li { display: flex; gap: 14px; align-items: flex-start; }
.feat h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.feat p { font-size: .94rem; color: var(--muted); margin: 0; line-height: 1.55; }
.ic-box { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.ic-box .icon { width: 24px; height: 24px; }
.ic-box--o { background: var(--orange-50); color: var(--orange); }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; } .about__media { margin-bottom: 30px; } }
@media (max-width: 520px) { .feat { grid-template-columns: 1fr; } .about__badge { font-size: .82rem; padding: 10px 14px; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px 28px; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.svc::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
html[dir="rtl"] .svc::after { transform-origin: right; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc .ic-box { margin-bottom: 20px; width: 56px; height: 56px; border-radius: 16px; }
.svc .ic-box .icon { width: 28px; height: 28px; }
.svc h3 { font-size: 1.18rem; }
.svc p { color: var(--muted); font-size: .96rem; margin: 0; }
.svc--feature { background: linear-gradient(150deg, var(--navy), var(--blue-600)); border: 0; color: #d6e4f2; }
.svc--feature h3 { color: #fff; }
.svc--feature p { color: #c7d8ea; }
.svc--feature .ic-box { background: rgba(255,255,255,.12); color: #ffb68a; }
.svc__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: #fff; }
.svc__link:hover { color: #ffb68a; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* Holiday dialysis */
.holiday { position: relative; background: var(--navy); color: #c9d7e6; overflow: hidden; }
.holiday__bg { position: absolute; inset: 0; }
.holiday__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.holiday__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy) 35%, rgba(10,37,64,.75)); }
html[dir="rtl"] .holiday__bg::after { background: linear-gradient(-100deg, var(--navy) 35%, rgba(10,37,64,.75)); }
.holiday .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.holiday h2 { color: #fff; }
.holiday .eyebrow { color: #ffb68a; }
.holiday__lead { font-size: 1.1rem; margin-bottom: 28px; }
.steps { counter-reset: s; display: grid; gap: 16px; margin-bottom: 32px; }
.steps li { counter-increment: s; display: flex; gap: 16px; align-items: flex-start; }
.steps li::before { content: counter(s); flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 800; }
.steps b { display: block; color: #fff; font-size: 1.04rem; }
.steps span { font-size: .95rem; }
.holiday__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.docs { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); backdrop-filter: blur(6px); }
.docs h3 { color: #fff; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.docs h3 .icon { color: #ffb68a; }
.docs ul { display: grid; gap: 12px; margin: 18px 0 18px; }
.docs li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; color: #e1eaf3; }
.docs li .icon { color: #6cc4ff; margin-top: 3px; stroke-width: 2.4; }
.docs small { display: block; color: #9fb4ca; font-size: .86rem; line-height: 1.5; }
.lang-pill { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.lang-pill span { font-size: .8rem; font-weight: 700; border: 1px solid rgba(255,255,255,.22); color: #fff; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 960px) { .holiday .wrap { grid-template-columns: 1fr; } }

/* Doctor */
.doctor { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.doctor__media { position: relative; }
.doctor__media .arch img { aspect-ratio: 4 / 4.4; object-position: 32% 50%; }
.doctor__sign { position: absolute; inset-inline-end: -18px; bottom: 36px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); max-width: 240px; font-size: .88rem; line-height: 1.4; color: var(--muted); }
.doctor__sign b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.doctor__title { color: var(--orange-600); font-weight: 700; font-size: 1.05rem; margin: -6px 0 20px; }
.doctor__bio { font-size: 1.04rem; }
.timeline { position: relative; display: grid; gap: 0; margin-top: 26px; }
.timeline li { position: relative; display: flex; gap: 16px; padding: 12px 0; border-top: 1px dashed var(--line); align-items: center; }
.timeline li:first-child { border-top: 0; }
.timeline .ic-box { width: 42px; height: 42px; border-radius: 12px; }
.timeline .ic-box .icon { width: 21px; height: 21px; }
.timeline b { display: block; color: var(--ink); font-size: .99rem; line-height: 1.3; }
.timeline span { font-size: .9rem; color: var(--muted); }
@media (max-width: 960px) { .doctor { grid-template-columns: 1fr; } .doctor__media { width: min(100%, 440px); margin: 0 auto; } .doctor__sign { inset-inline-end: -6px; } }

/* Journey */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.journey::before { content: ""; position: absolute; top: 34px; inset-inline: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-100) 0 10px, transparent 10px 18px); }
.journey li { position: relative; text-align: center; padding: 0 8px; }
.journey__n { position: relative; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--blue-100); color: var(--blue); box-shadow: var(--shadow-sm); }
.journey__n .icon { width: 28px; height: 28px; }
.journey__n i { position: absolute; top: -4px; inset-inline-end: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; font-style: normal; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.journey h3 { font-size: 1.08rem; }
.journey p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .journey { grid-template-columns: 1fr 1fr; gap: 34px 20px; } .journey::before { display: none; } }
@media (max-width: 480px) { .journey { grid-template-columns: 1fr; } }

.cover { margin-top: clamp(40px, 6vw, 64px); display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 30px; box-shadow: var(--shadow-sm); }
.cover__txt { display: flex; gap: 18px; align-items: center; flex: 1 1 420px; }
.cover h3 { margin: 0 0 4px; }
.cover p { margin: 0; color: var(--muted); font-size: .96rem; }
.cover__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cover__tags span { background: var(--sand); color: var(--ink); font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.gallery button { position: relative; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--sand-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery button:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 16px 12px; color: #fff; font-weight: 700; font-size: .9rem; text-align: start; background: linear-gradient(transparent, rgba(10,37,64,.75)); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; } }
@media (max-width: 480px) { .gallery { grid-auto-rows: 150px; gap: 10px; } .gallery figcaption { font-size: .78rem; padding: 24px 10px 8px; } }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 18, 32, .94); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: #dfe8f1; margin-top: 14px; font-weight: 600; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: 14px; inset-inline-end: 14px; }
.lb-prev { inset-inline-start: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 14px; top: 50%; transform: translateY(-50%); }
.lb-prev .icon { transform: scaleX(-1); }
html[dir="rtl"] .lb-prev .icon { transform: none; }
html[dir="rtl"] .lb-next .icon { transform: scaleX(-1); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--blue-100); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; color: var(--ink); font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue); transition: transform .25s; background: var(--blue-50); border-radius: 50%; padding: 5px; width: 30px; height: 30px; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 20px; color: var(--text); }
.faq details > div p:last-child { margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.contact__cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; color: var(--text); }
a.c-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); color: var(--text); }
.c-card b { display: block; color: var(--ink); font-size: 1.02rem; }
.c-card span { font-size: .94rem; color: var(--muted); }
.c-card .big { font-size: 1.2rem; font-weight: 800; color: var(--ink); direction: ltr; unicode-bidi: isolate; display: inline-block; }
.c-card--urg { background: var(--orange-50); border-color: #ffd9c2; }
.c-card--urg .ic-box { background: var(--orange); color: #fff; }
.c-card--urg .big { color: var(--orange-600); }
.map { margin-top: 14px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--sand-2); aspect-ratio: 16 / 10; position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.map__links .btn { padding: .7em 1.1em; font-size: .9rem; }
.landmarks { font-size: .9rem; color: var(--muted); margin-top: 10px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); }
.form h3 { font-size: 1.45rem; margin-bottom: 6px; }
.form > p { color: var(--muted); margin-bottom: 22px; font-size: .96rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.f-field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.f-field label small { color: var(--muted); font-weight: 600; }
.f-field input, .f-field select, .f-field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s, background .2s; }
.f-field textarea { min-height: 110px; resize: vertical; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-50); }
.f-field.has-error input, .f-field.has-error select { border-color: #d93a3a; }
.f-err { color: #c02727; font-size: .84rem; font-weight: 600; display: none; }
.f-field.has-error .f-err { display: block; }
.f-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f-chips label { position: relative; cursor: pointer; }
.f-chips input { position: absolute; opacity: 0; pointer-events: none; }
.f-chips span { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .9rem; color: var(--ink); background: var(--bg); transition: .2s; line-height: 1.3; }
.f-chips span .icon { color: var(--muted); }
.f-chips input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue-600); }
.f-chips input:checked + span .icon { color: var(--blue); }
.f-chips input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.f-dates[hidden] { display: none; }
.f-note { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 12px 0 0; }
.f-note .icon { margin-top: 2px; color: var(--blue); }
.f-alt { text-align: center; font-size: .9rem; margin-top: 12px; color: var(--muted); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .f-row, .f-chips { grid-template-columns: 1fr; } }

/* CTA band */
.band { background: linear-gradient(120deg, var(--orange), #f58a3c); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: 0 30px 60px -30px rgba(242,109,33,.7); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; width: 320px; height: 420px; inset-inline-end: -60px; top: -60px; border: 2px solid rgba(255,255,255,.25); border-radius: 999px 999px 0 0; }
.band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 6px; }
.band p { margin: 0; color: #fff3ea; }
.band .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.band .btn--light { color: var(--orange-600); }

/* Footer */
.footer { background: var(--navy); color: #a9bccf; padding: clamp(56px, 7vw, 84px) 0 0; margin-top: clamp(64px, 9vw, 110px); font-size: .95rem; }
.footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer a { color: #d5e1ec; }
.footer a:hover { color: #ffb68a; }
.footer li { margin-bottom: 9px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; }
.footer__brand img { width: 58px; background: #fff; border-radius: 14px; padding: 6px; }
.footer__brand b { display: block; font-size: 1.08rem; }
.footer__brand span { font-size: .85rem; color: #a9bccf; }
.footer__ar { font-family: "Tajawal", sans-serif; font-size: 1.05rem; color: #fff; }
.footer .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.footer__bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 960px) { .footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp + mobile bar */
.fab { position: fixed; inset-inline-end: 20px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(31,174,91,.7); transition: transform .2s; }
.fab:hover { transform: scale(1.07); color: #fff; }
.fab .icon { width: 30px; height: 30px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.mbar { display: none; }
@media (max-width: 760px) {
  .fab { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 90; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(10,37,64,.25); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 4px; border-radius: 12px; font-size: .76rem; font-weight: 700; color: var(--ink); }
  .mbar a .icon { width: 22px; height: 22px; }
  .mbar__call { color: var(--blue) !important; background: var(--blue-50); }
  .mbar__urg { color: #fff !important; background: var(--orange); }
  .mbar__wa { color: #fff !important; background: var(--wa); }
  body { padding-bottom: 76px; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
