/* Dr. Alaa Jawabra — service guide pages (/<slug>/) and 404. Same ivory / sand / gold / graphite world as style.css,
   lighter: no loader, no Lenis. Rendered by seo/render.py. */
:root {
  --ivory: #FBF8F3; --paper: #FFFFFF; --cream: #F5EEE3; --sand: #ECE1D1; --beige: #DCCAB0;
  --gold: #B8893F; --gold-l: #D9B87C; --gold-d: #8A6328; --ink: #2B231C; --stone: #6E645A;
  --line: rgba(43, 35, 28, .11); --line-2: rgba(43, 35, 28, .2);
  --gold-grad: linear-gradient(100deg, #8A6328 0%, #C39446 28%, #E7CB92 46%, #B8893F 62%, #8A6328 100%);
  --shadow: 0 30px 60px -30px rgba(92, 66, 31, .28), 0 10px 24px -14px rgba(92, 66, 31, .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --f-head: "El Messiri", "Readex Pro", sans-serif;
  --f-text: "Readex Pro", "El Messiri", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font: 300 16.5px/1.95 var(--f-text); color: var(--ink); background: var(--ivory); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 500; }
::selection { background: var(--gold-l); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1220px, 100% - 2 * var(--gutter)); margin-inline: auto; }
[dir="rtl"] svg.ar { transform: scaleX(-1); }
em { font-style: normal; background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 14px/1.5 var(--f-text); color: var(--gold-d); margin-bottom: 18px; }
.eyebrow i { width: 30px; height: 1px; background: currentColor; flex: none; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding-inline: 26px; border-radius: 999px; background: var(--ink); color: var(--ivory); font: 500 15.5px/1 var(--f-text); overflow: hidden; isolation: isolate; white-space: nowrap; transition: box-shadow .5s var(--ease), color .4s; }
.btn::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--gold-grad); background-size: 200% 100%; border-radius: inherit; transform: translateY(102%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: var(--shadow); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover { color: #fff; }
.btn-sm { height: 44px; padding-inline: 18px; font-size: 14.5px; }
.btn-wide { width: 100%; }

/* Header ------------------------------------------------------------------ */
.g-hdr { position: sticky; top: 0; z-index: 30; background: rgba(251, 248, 243, .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.g-hdr-in { display: flex; align-items: center; gap: 24px; height: 76px; }
.g-brand { display: flex; align-items: center; gap: 12px; }
.g-brand svg { width: 40px; height: 48px; flex: none; }
.g-brand b { display: block; font: 700 18px/1.25 var(--f-head); }
.g-brand small { display: block; font-size: 12.5px; color: var(--stone); line-height: 1.4; }
.g-nav { display: flex; gap: 26px; margin-inline-start: auto; font-size: 15px; font-weight: 400; }
.g-nav a { position: relative; padding-block: 6px; }
.g-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .45s var(--ease); }
.g-nav a:hover::after { transform: none; }
.g-prog { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: 100% 50%; }
[dir="ltr"] .g-prog { transform-origin: 0 50%; }

/* Hero -------------------------------------------------------------------- */
.g-hero { position: relative; overflow: clip; padding-block: clamp(36px, 6vw, 80px) clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--ivory), var(--cream)); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 460px; height: 460px; background: #EBD9B9; top: -140px; inset-inline-end: -120px; }
.blob.b2 { width: 360px; height: 360px; background: #F3E7D3; bottom: -160px; inset-inline-start: 10%; animation-delay: -6s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.g-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 13.5px; color: var(--stone); margin-bottom: 22px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; color: var(--beige); }
.crumbs a:hover { color: var(--gold-d); }
.g-hero h1 { font: 700 clamp(34px, 4.4vw, 62px)/1.3 var(--f-head); }
.g-hero .lead { margin-top: 22px; font-size: clamp(16.5px, 1.35vw, 19px); color: var(--stone); max-width: 60ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.up { animation: rise 1.1s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.g-arch { position: relative; width: min(400px, 100%); margin-inline: auto; aspect-ratio: 450 / 520; }
.arch { position: absolute; inset: 14px; border-radius: 999px 999px 26px 26px; overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.2s var(--ease) both; }
@keyframes settle { from { transform: scale(1.12); } }
.arch-art { display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, #fff 0, var(--cream) 46%, var(--sand) 100%); }
.arch-art > svg { width: 46%; height: 46%; color: var(--gold-d); animation: bob 6s ease-in-out infinite; }
.arch-art .ring { position: absolute; width: 74%; aspect-ratio: 1; top: 18%; left: 13%; border-radius: 50%; border: 1px dashed var(--gold-l); animation: spin 40s linear infinite; }
.arch-art .ring.r2 { width: 56%; top: 27%; left: 22%; border-style: solid; border-color: rgba(184, 137, 63, .25); animation-direction: reverse; animation-duration: 28s; }
@keyframes spin { to { transform: rotate(1turn); } }
.arch-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arch-line path { fill: none; stroke: var(--gold); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; animation: draw 2.4s var(--ease) .4s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.g-chip { position: absolute; bottom: 34px; inset-inline-start: -18px; display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); box-shadow: var(--shadow); font: 600 15px/1.3 var(--f-head); animation: bob 5s ease-in-out infinite; }
.g-chip svg { width: 28px; height: 28px; color: var(--gold-d); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Band of service names --------------------------------------------------- */
.g-band { overflow: hidden; background: var(--ink); color: var(--ivory); padding-block: 14px; transform: rotate(-1.2deg); margin-block: -10px 0; position: relative; z-index: 2; }
.g-band-in { display: flex; align-items: center; gap: 28px; width: max-content; animation: band 40s linear infinite; font: 600 17px/1 var(--f-head); white-space: nowrap; }
.g-band-in i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-l); flex: none; }
@keyframes band { to { transform: translateX(50%); } }
[dir="ltr"] .g-band-in { animation-name: band-l; }
@keyframes band-l { to { transform: translateX(-50%); } }

/* Facts ------------------------------------------------------------------- */
.g-facts { margin-top: 46px; }
.g-facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.g-facts div { background: var(--paper); padding: 18px 22px; }
.g-facts dt { font-size: 12.5px; color: var(--gold-d); font-weight: 500; }
.g-facts dd { font: 600 15.5px/1.55 var(--f-head); margin-top: 2px; }

/* Body -------------------------------------------------------------------- */
.g-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: clamp(48px, 6vw, 80px); }
.g-doc section { padding-block: 30px; border-bottom: 1px solid var(--line); }
.g-doc section:first-child { padding-top: 0; }
.g-doc h2 { font: 700 clamp(24px, 2.3vw, 32px)/1.4 var(--f-head); margin-bottom: 14px; position: relative; padding-inline-start: 22px; }
.g-doc h2::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 10px; height: 10px; border-radius: 50% 50% 2px 2px; background: var(--gold-grad); }
.g-doc p { color: #4a4037; margin-block: 10px; }
.g-doc ul, .g-doc ol { display: grid; gap: 10px; margin-block: 14px; padding: 0; list-style: none; counter-reset: s; }
.g-doc li { position: relative; padding-inline-start: 30px; color: #4a4037; }
.g-doc ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .8em; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--gold); }
.g-doc ol li { counter-increment: s; padding-inline-start: 42px; }
.g-doc ol li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: .15em; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--gold-d); font: 600 14px/1 var(--f-head); }
.g-doc li b { color: var(--ink); }
.g-doc a { color: var(--gold-d); background: linear-gradient(var(--gold-l), var(--gold-l)) no-repeat 0 100% / 100% 1px; }
.g-doc a:hover { background-size: 100% 100%; color: var(--ink); }
.alert { display: flex; gap: 12px; margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: #FBF1E0; box-shadow: inset 0 0 0 1px rgba(184, 137, 63, .3); font-weight: 400; }
.alert svg { width: 24px; height: 24px; flex: none; color: var(--gold-d); margin-top: 3px; }
.note { margin-top: 28px !important; font-size: 13.5px; color: var(--stone) !important; }

.g-side { position: sticky; top: 100px; display: grid; gap: 18px; }
.g-doccard { padding: 24px; border-radius: 28px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow); display: grid; gap: 12px; }
.g-doccard .who { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.g-doccard .who img { width: 72px; height: 72px; border-radius: 50% 50% 18px 18px; object-fit: cover; object-position: 50% 20%; background: var(--sand); }
.g-doccard .who b { display: block; font: 700 17px/1.4 var(--f-head); }
.g-doccard .who small { display: block; font-size: 13px; color: var(--stone); line-height: 1.6; }
.g-doccard ul { list-style: none; display: grid; gap: 8px; font-size: 14px; margin-bottom: 6px; }
.g-doccard li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.7; }
.g-doccard li svg { width: 18px; height: 18px; flex: none; color: var(--gold-d); margin-top: 4px; }
.g-toc { padding: 20px 22px; border-radius: 22px; background: var(--cream); display: grid; gap: 4px; font-size: 14.5px; }
.g-toc b { font: 600 15px/1.4 var(--f-head); color: var(--gold-d); margin-bottom: 6px; }
.g-toc a { padding-block: 4px; transition: color .3s, padding .3s; }
.g-toc a:hover { color: var(--gold-d); padding-inline-start: 6px; }

/* FAQ --------------------------------------------------------------------- */
.g-faq { padding-block: clamp(60px, 8vw, 110px); background: var(--paper); border-block: 1px solid var(--line); }
.g-faq h2, .g-more h2 { font: 700 clamp(28px, 3.2vw, 44px)/1.3 var(--f-head); margin-bottom: 30px; }
.g-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.g-faq-head { position: sticky; top: 110px; }
.g-faq-head > p:not(.eyebrow) { color: var(--stone); margin: -12px 0 22px; max-width: 34ch; }
.qa { display: grid; gap: 12px; }
.qa details { border-radius: 22px; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, background .4s; }
.qa details[open] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--gold-l), var(--shadow); }
.qa summary { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font: 600 17px/1.55 var(--f-head); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary b { font: 600 14px/1 var(--f-head); color: var(--gold); }
.qa summary span { flex: 1; }
.qa summary i { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--gold-d); font: 400 22px/1 var(--f-text); font-style: normal; transition: transform .45s var(--ease), background .3s; }
.qa details[open] summary i { transform: rotate(45deg); background: var(--gold); color: #fff; }
.qa details p { padding: 0 22px 20px 22px; padding-inline-start: 52px; color: #4a4037; }

/* More services ----------------------------------------------------------- */
.g-more { padding-block: clamp(60px, 8vw, 110px); }
.g-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.g-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.g-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--gold-l), var(--shadow); }
.g-card .ic { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50% 50% 16px 16px; background: var(--cream); color: var(--gold-d); transition: background .4s, color .4s; }
.g-card:hover .ic { background: var(--gold); color: #fff; }
.g-card .ic svg { width: 28px; height: 28px; }
.g-card b { display: block; font: 700 17px/1.4 var(--f-head); }
.g-card small { display: block; font-size: 13.5px; color: var(--stone); line-height: 1.6; }
.g-card svg.ar { width: 18px; height: 18px; flex: none; margin-inline-start: auto; color: var(--gold); transition: translate .4s var(--ease); }
.g-card:hover svg.ar { translate: -5px 0; }

/* Footer ------------------------------------------------------------------ */
.g-ftr { background: var(--ink); color: rgba(251, 248, 243, .78); padding-block: 64px 28px; font-size: 14.5px; }
.g-ftr .g-brand small { color: rgba(251, 248, 243, .6); }
.g-ftr .g-brand b { color: var(--ivory); }
.g-ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.g-ftr-grid > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.g-ftr-grid p { margin-top: 14px; line-height: 1.85; }
.g-ftr h4 { font: 600 16px/1.4 var(--f-head); color: var(--gold-l); margin-bottom: 8px; }
.g-ftr a:hover { color: var(--gold-l); }
.g-ftr-end { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(251, 248, 243, .14); font-size: 13px; }
.g-ftr-end a { color: var(--gold-l); }

/* Sticky booking bar (phones) --------------------------------------------- */
.g-bar { display: none; }

/* Reveal ------------------------------------------------------------------ */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* 404 */
.g-404 { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.g-404 .mk { width: 72px; height: 86px; margin: 0 auto 18px; }
.g-404 .lead { margin-inline: auto; }
.g-404 .ctas { justify-content: center; }

@media (max-width: 1000px) {
  .g-nav { display: none; }
  .g-hdr-in { justify-content: space-between; }
  .g-hero-grid { grid-template-columns: 1fr; }
  .g-arch { width: min(340px, 82%); order: -1; }
  .g-facts dl { grid-template-columns: 1fr 1fr; }
  .g-body { grid-template-columns: 1fr; }
  .g-side { position: static; }
  .g-toc { display: none; }
  .g-cards { grid-template-columns: 1fr 1fr; }
  .g-faq-grid { grid-template-columns: 1fr; }
  .g-faq-head { position: static; }
  .g-ftr-grid { grid-template-columns: 1fr 1fr; }
  .g-ftr-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .g-hdr-in { height: 66px; gap: 12px; }
  .g-brand small { display: none; }
  .g-brand svg { width: 34px; height: 40px; }
  .g-hdr .btn-sm span { display: none; }
  .g-hdr .btn-sm { width: 44px; padding: 0; }
  .g-arch { width: min(280px, 76%); }
  .g-chip { inset-inline-start: -8px; font-size: 14px; }
  .ctas .btn { flex: 1 1 100%; }
  .g-facts div { padding: 14px 16px; }
  .g-facts div:last-child { grid-column: 1 / -1; }
  .g-facts dd { font-size: 14.5px; }
  .g-cards { grid-template-columns: 1fr; }
  .qa summary { padding: 16px; gap: 12px; font-size: 16px; }
  .qa details p { padding: 0 16px 18px; }
  .g-ftr-grid { grid-template-columns: 1fr; }
  .g-bar { position: fixed; z-index: 40; inset-inline: 12px; bottom: 12px; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); box-shadow: var(--shadow); transform: translateY(140%); transition: transform .6s var(--ease); }
  .g-bar.on { transform: none; }
  .g-bar .btn { flex: 1; height: 48px; }
  .g-bar .btn-line { flex: 0 0 48px; padding: 0; }
  .g-ftr { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
