/* =========================================================
   LUMINA DENTAL : STYLES
   Change colors, fonts and radius in :root below.
   ========================================================= */
:root {
  --dark: #2b241f;        /* main dark (hero, dark sections) */
  --dark-2: #3a3029;
  --cream: #f1e9dd;       /* light background */
  --cream-2: #e9dfcf;     /* alternate light background */
  --paper: #fbf7f0;       /* cards on light background */
  --gold: #c9a26f;        /* accent */
  --gold-soft: #d9b98c;
  --line: #d3c5b0;
  --text: #2b241f;
  --muted: #6b5f55;
  --radius: 12px;         /* soft corners for cards and boxes */
  --radius-sm: 9px;       /* buttons, chips */
  --font: "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-ar: "Alexandria", "Inter", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 1s;              /* main animation speed */
  --shift: 70px;          /* how far elements travel when they appear */
}
/* Reduced motion: keep every animation, just a little gentler (never off) */
@media (prefers-reduced-motion: reduce) { :root { --dur: 1.15s; --shift: 50px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); background: var(--cream); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html[lang=ar] body { font-family: var(--font-ar); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
html[lang=ar] .serif { font-family: var(--font-ar); font-style: normal; font-weight: 300; color: var(--gold); }
.wrap { width: min(1280px, 100% - 128px); margin-inline: auto; }
.skip { position: fixed; inset-inline-start: 16px; top: 16px; transform: translateY(-200%); z-index: 100; }
.skip:focus { transform: none; background: #fff; padding: 8px; border-radius: var(--radius-sm); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--cream); color: var(--dark); padding: 15px 26px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .3s var(--ease), background .3s; }
.btn:hover { transform: translateY(-2px); }
.light-sec .btn, .cream2 .btn { background: var(--dark); color: var(--cream); }
.btn.outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.ln { font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 3px; white-space: nowrap; }
.ghost-btn { background: transparent; border: 1px solid rgba(241,233,221,.4); color: var(--cream); padding: 14px 22px; border-radius: var(--radius-sm); cursor: pointer; }
.eye { font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
html[lang=ar] .eye { letter-spacing: 0; font-size: 14px; }
.dark-sec .eye, .eye.light { color: rgba(241,233,221,.7); }

/* ---------- Emergency bar ---------- */
.emergency { position: relative; z-index: 30; background: #17120f; color: var(--cream); font-size: 13px; display: flex; justify-content: center; gap: 18px; padding: 9px 20px; flex-wrap: wrap; text-align: center; }
.emergency a { color: var(--gold-soft); border-bottom: 1px solid; }

/* ---------- Header ---------- */
.nav { position: fixed; z-index: 40; top: 37px; inset-inline: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px 64px; color: var(--cream); transition: background .4s, top .4s, padding .4s, box-shadow .4s; }
.nav.solid { top: 0; background: rgba(43,36,31,.92); backdrop-filter: blur(12px); padding-block: 14px; box-shadow: 0 6px 30px rgba(0,0,0,.15); }
.nav-links { display: flex; gap: 26px; font-size: 14px; }
.nav-links a { opacity: .85; transition: opacity .2s; } .nav-links a:hover { opacity: 1; }
.logo { font-size: 26px; text-align: center; white-space: nowrap; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; font-size: 14px; }
.lang { background: none; border: 1px solid rgba(241,233,221,.35); border-radius: var(--radius-sm); padding: 7px 12px; cursor: pointer; font-size: 13px; }
html[lang=en] .lang { font-family: var(--font-ar); }
html[lang=ar] .lang { font-family: var(--font); }
.nav-book { background: var(--cream); color: var(--dark); padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 500; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; inset-inline: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 35; background: var(--dark); color: var(--cream); padding: 130px 28px 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden; }
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open { overflow: hidden; }
.mmenu nav { display: flex; flex-direction: column; gap: 6px; }
.mmenu nav a { font-size: 36px; font-weight: 300; padding: 6px 0; border-bottom: 1px solid rgba(241,233,221,.12); transform: translateY(40px); opacity: 0; transition: transform .7s var(--ease), opacity .7s; transition-delay: calc(.15s + var(--i) * .06s); }
.menu-open .mmenu nav a { transform: none; opacity: 1; }
.mmenu-foot { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero (full-bleed) ---------- */
.hero { position: relative; height: max(720px, 100svh); min-height: 640px; overflow: hidden; color: var(--cream); background: var(--dark); }
.hero-bg { position: absolute; inset: -6% 0 0; background: url(../img/hero.jpg) 68% 25% / cover; background-image: image-set(url(../img/hero.webp) type('image/webp'), url(../img/hero.jpg) type('image/jpeg')); transform: scale(1.08); will-change: transform; animation: heroIn 2.2s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(32,26,22,.92), rgba(32,26,22,.45) 50%, rgba(32,26,22,.1)), linear-gradient(0deg, rgba(32,26,22,.8), transparent 40%); }
html[dir=rtl] .hero-shade { background: linear-gradient(270deg, rgba(32,26,22,.92), rgba(32,26,22,.45) 50%, rgba(32,26,22,.1)), linear-gradient(0deg, rgba(32,26,22,.8), transparent 40%); }
.hero-copy { position: absolute; z-index: 2; inset-inline-start: 64px; bottom: 90px; max-width: 760px; }
.hero h1 { font-weight: 300; font-size: clamp(54px, 8vw, 120px); line-height: 1; letter-spacing: -2px; margin-bottom: 26px; }
.hero h1 .serif { font-size: 1.06em; letter-spacing: -1px; }
html[lang=ar] .hero h1 { font-size: clamp(42px, 5.6vw, 84px); line-height: 1.3; letter-spacing: 0; }
html[lang=ar] .hero h1 .serif { font-size: 1em; color: var(--gold-soft); }
.hero-lead { font-size: 17px; line-height: 1.65; max-width: 470px; opacity: .85; margin-bottom: 30px; }
.ctas { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 7px 12px; border-radius: var(--radius-sm); background: rgba(241,233,221,.12); backdrop-filter: blur(8px); margin-bottom: 18px; margin-inline-end: 10px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #c46a5a; }
.status.is-open i { background: #6fcf8e; box-shadow: 0 0 0 0 rgba(111,207,142,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(111,207,142,0); } }
.float-card { position: absolute; z-index: 2; inset-inline-end: 64px; top: 28%; width: 180px; background: var(--cream); color: var(--dark); border-radius: var(--radius); padding: 9px 9px 12px; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.float-card .ph { display: block; height: 104px; border-radius: var(--radius-sm); background: url(../img/smile-close.jpg) center 45% / cover; background-image: image-set(url(../img/smile-close.webp) type('image/webp'), url(../img/smile-close.jpg) type('image/jpeg')); margin-bottom: 9px; }
.float-card small { display: block; font-size: 11px; opacity: .6; padding-inline: 4px; }
.float-card b { font-weight: 500; font-size: 15px; padding-inline: 4px; }

/* ---------- Sections ---------- */
.sec { padding: 120px 0; position: relative; }
.light-sec { background: var(--cream); }
.cream2 { background: var(--cream-2); }
.dark-sec { background: var(--dark); color: var(--cream); }
.sec-head { margin-bottom: 52px; max-width: 760px; }
.sec h2 { font-weight: 300; font-size: clamp(40px, 5vw, 66px); line-height: 1.06; letter-spacing: -1px; }
html[lang=ar] .sec h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.4; letter-spacing: 0; }
.lead { margin-top: 18px; font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 560px; }
.dark-sec .lead { color: rgba(241,233,221,.7); }

/* Treatments rows */
.tap-hint { display: none; font-size: 13px; color: var(--muted); margin: -30px 0 20px; }
.rows { border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: 150px 1fr minmax(240px, 360px) 56px; align-items: center; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .5s var(--ease), color .5s, padding .5s var(--ease); }
.row .cat { font-size: 13px; color: var(--muted); }
.row h3 { font-weight: 300; font-size: clamp(26px, 3.2vw, 44px); letter-spacing: -.5px; transition: transform .5s var(--ease); }
html[lang=ar] .row h3 { font-size: clamp(22px, 2.6vw, 34px); letter-spacing: 0; }
.row p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.arr { width: 46px; height: 46px; border-radius: var(--radius-sm); border: 1px solid var(--line); display: grid; place-items: center; justify-self: end; transition: background .4s, color .4s, transform .4s var(--ease); }
.hov { position: absolute; z-index: 3; inset-inline-start: 52%; top: 50%; width: 130px; height: 160px; border-radius: var(--radius); background: center / cover; box-shadow: 0 20px 40px rgba(0,0,0,.3); pointer-events: none; opacity: 0; transform: translate(0, -40%) rotate(-6deg) scale(.8); transition: opacity .45s, transform .6s var(--ease); }
.inline-img { display: none; }
@media (hover: hover) {
  .row:hover { background: var(--dark); color: var(--cream); padding-inline: 24px; border-radius: var(--radius); }
  .row:hover .cat, .row:hover p { color: rgba(241,233,221,.7); }
  .row:hover h3 { transform: translateX(10px); }
  html[dir=rtl] .row:hover h3 { transform: translateX(-10px); }
  .row:hover .arr { background: var(--cream); color: var(--dark); border-color: transparent; }
  .row:hover .hov { opacity: 1; transform: translate(0, -50%) rotate(-3deg) scale(1); }
}

/* About + doctors */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 120px; }
.about-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.2; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.points { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: -20px; }
.points li { padding: 14px 18px; border: 1px solid rgba(241,233,221,.16); border-radius: var(--radius); font-size: 15px; }
.points li::before { content: "✓"; color: var(--gold-soft); margin-inline-end: 10px; }
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.doc { background: var(--dark-2); border-radius: var(--radius); overflow: hidden; }
.doc-img { aspect-ratio: 4/4.2; overflow: hidden; }
.doc-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s var(--ease); }
.doc:hover .doc-img img { transform: scale(1.05); }
.doc-body { padding: 22px 22px 26px; }
.doc small { color: var(--gold-soft); font-size: 13px; }
.doc h3 { font-weight: 400; font-size: 26px; margin: 6px 0 8px; }
html[lang=ar] .doc h3 { font-size: 22px; }
.doc p { font-size: 15px; opacity: .7; line-height: 1.6; margin-bottom: 18px; }
.doc .ln { font-size: 14px; white-space: normal; }

/* Before / after */
.ba-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.ba { position: relative; aspect-ratio: 16/11; border-radius: var(--radius); overflow: hidden; user-select: none; }
.ba-img { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.ba-before { filter: sepia(.45) saturate(.75) brightness(.92); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--cream); transform: translateX(-1px); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: var(--radius-sm); background: var(--cream); color: var(--dark); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 16px; font-size: 12px; background: rgba(43,36,31,.7); color: var(--cream); padding: 6px 10px; border-radius: var(--radius-sm); }
.t-before { left: 16px; } .t-after { right: 16px; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.price.pop { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.badge { position: absolute; top: 20px; inset-inline-end: 20px; font-size: 12px; background: var(--gold); color: var(--dark); padding: 5px 10px; border-radius: var(--radius-sm); }
.price h3 { font-weight: 400; font-size: 24px; margin-bottom: 18px; }
.amt { margin-bottom: 22px; } .amt b { font-weight: 300; font-size: 48px; letter-spacing: -1px; }
.amt small { font-size: 13px; opacity: .65; }
.price ul { list-style: none; padding: 0; display: grid; gap: 10px; margin-bottom: 28px; flex: 1; font-size: 15px; }
.price li::before { content: "·"; color: var(--gold); font-weight: 700; margin-inline-end: 8px; }
.price.pop .btn { background: var(--cream); color: var(--dark); }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.extra { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.extra h3 { font-weight: 400; font-size: 22px; margin-bottom: 8px; }
.extra p { color: var(--muted); line-height: 1.65; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 7px 12px; font-size: 13px; color: var(--muted); }

/* Journey timeline */
.tl { position: relative; max-width: 900px; margin-inline: auto; }
.tl-line { position: absolute; top: 0; bottom: 0; inset-inline-start: 50%; width: 2px; background: rgba(241,233,221,.12); transform: translateX(-1px); }
.tl-line i { position: absolute; inset: 0; background: linear-gradient(var(--gold-soft), var(--gold)); transform-origin: top; transform: scaleY(0); }
.tl-step { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 26px 0; }
.tl-dot { position: absolute; inset-inline-start: 50%; top: 50%; width: 46px; height: 46px; margin-inline-start: -23px; margin-top: -23px; border-radius: var(--radius-sm); background: var(--dark); border: 1px solid rgba(241,233,221,.25); display: grid; place-items: center; font-size: 15px; transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease); z-index: 2; }
.tl-step.lit .tl-dot { background: var(--gold-soft); color: var(--dark); border-color: var(--gold-soft); transform: scale(1.08); }
.tl-card { grid-column: 1; margin-inline-end: 56px; background: var(--dark-2); border-radius: var(--radius); padding: 24px 26px; border: 1px solid rgba(241,233,221,.08); transition: border-color .5s; }
.tl-step:nth-child(odd) .tl-card { grid-column: 2; margin-inline: 56px 0; }
.tl-step.lit .tl-card { border-color: rgba(217,185,140,.45); }
.tl-card h3 { font-weight: 400; font-size: 26px; margin-bottom: 6px; }
html[lang=ar] .tl-card h3 { font-size: 22px; }
.tl-card p { opacity: .72; line-height: 1.6; font-size: 15px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.stars { color: var(--gold); letter-spacing: 3px; }
.review blockquote { font-family: var(--font-serif); font-size: 24px; line-height: 1.35; flex: 1; }
html[lang=ar] .review blockquote { font-family: var(--font-ar); font-size: 18px; line-height: 1.8; font-weight: 300; }
.review figcaption { font-size: 13px; color: var(--muted); }

/* Booking */
.book-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.book-side { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: -20px; }
.wa-btn { background: #1f7a4d !important; color: #fff !important; }
.ln.dark { color: var(--dark); }
.book { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; min-width: 0; }
.tabs { display: flex; gap: 6px; background: var(--cream-2); padding: 5px; border-radius: var(--radius); flex-wrap: wrap; }
.tabs button { flex: 1; border: 0; background: none; padding: 11px 10px; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; white-space: nowrap; transition: background .3s; }
.tabs button.on { background: var(--dark); color: var(--cream); }
.tab-hint { font-size: 14px; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book label { display: grid; gap: 7px; font-size: 13px; color: var(--muted); }
.book input:not([type=checkbox]):not([type=file]), .book select, .book textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--text); font-size: 15px; }
.book input:focus, .book select:focus, .book textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.lbl { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.dates, .times { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: thin; }
.times { flex-wrap: wrap; overflow: visible; }
.dates button, .times button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); cursor: pointer; transition: background .25s, color .25s; }
.dates button { width: 64px; padding: 8px 0; display: grid; gap: 2px; }
.dates small { font-size: 11px; color: var(--muted); } .dates b { font-weight: 500; font-size: 18px; }
.times button { padding: 9px 12px; font-size: 14px; }
.dates button.on, .times button.on { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.dates button.on small { color: rgba(241,233,221,.7); }
.times button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.drop { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 26px; text-align: center; cursor: pointer; color: var(--text) !important; font-size: 15px !important; }
.drop input { display: none; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; } .thumbs img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.check { display: flex !important; align-items: center; gap: 10px !important; font-size: 14px !important; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form-msg { font-size: 14px; min-height: 1px; } .form-msg.ok { color: #1f7a4d; } .form-msg.err { color: #a6402f; }
.demo-note { font-size: 12px; color: var(--muted); }

/* Info cards */
.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.ic { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--cream-2); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.info-card h3 { font-weight: 400; font-size: 22px; margin-bottom: 8px; }
.info-card p { color: var(--muted); line-height: 1.65; font-size: 15px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: var(--radius-sm); border: 1px solid var(--line); position: relative; transition: transform .4s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--dark); color: var(--cream); }
.faq details p { padding: 0 0 24px; color: var(--muted); line-height: 1.7; max-width: 640px; animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-10px); } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: stretch; }
.status.big { font-size: 14px; margin-top: -24px; margin-bottom: 30px; }
.small-h { font-weight: 400; font-size: 18px; margin: 0 0 12px; color: var(--gold-soft); }
.hours { list-style: none; padding: 0; margin-bottom: 32px; }
.hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(241,233,221,.1); font-size: 15px; }
.hours li.today { color: var(--gold-soft); }
.branches { list-style: none; padding: 0; display: grid; gap: 12px; }
.branches li { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid rgba(241,233,221,.14); border-radius: var(--radius); font-size: 14px; }
.branches b { font-weight: 500; font-size: 16px; } .branches span { opacity: .7; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 460px; }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(.4) sepia(.15); }

/* Footer */
.foot { background: #1f1a16; color: var(--cream); padding: 80px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(241,233,221,.1); }
.foot .logo { display: inline-block; font-size: 32px; margin-bottom: 14px; text-align: start; }
.foot p { opacity: .65; max-width: 320px; line-height: 1.6; font-size: 15px; }
.foot nav, .foot-contact { display: grid; gap: 10px; font-size: 15px; align-content: start; }
.foot nav a, .foot-contact a { opacity: .75; } .foot nav a:hover, .foot-contact a:hover { opacity: 1; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 13px; opacity: .55; flex-wrap: wrap; }

/* WhatsApp floating button */
.wa-float { position: fixed; z-index: 30; bottom: 22px; inset-inline-end: 22px; width: 56px; height: 56px; border-radius: 16px; background: #1f7a4d; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.wa-float:hover { transform: translateY(-3px); }

/* =========================================================
   SCROLL ANIMATIONS (replay on every re-entry, see main.js)
   ========================================================= */
.split .w, .split-js .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span, .split-js .w > span { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform var(--dur) var(--ease), opacity var(--dur); transition-delay: calc(var(--w) * 70ms); }
.split.in .w > span, .in .split-js .w > span { transform: none; opacity: 1; }
[data-anim=fade] { opacity: 0; transition: opacity var(--dur) .1s; }
[data-anim=fade].in { opacity: 1; }
[data-anim=up] { opacity: 0; transform: translateY(var(--shift)); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: calc(.15s + var(--d, 0) * 90ms); }
[data-anim=up].in { opacity: 1; transform: none; }
[data-anim=card] { opacity: 0; transform: translateY(calc(var(--shift) * 1.3)) scale(.96); transition: opacity var(--dur) var(--ease), transform calc(var(--dur) * 1.1) var(--ease); transition-delay: calc(var(--d, 0) * 120ms); }
[data-anim=card].in { opacity: 1; transform: none; }
[data-anim=row] { opacity: 0; transform: translateX(calc(var(--shift) * -1)); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background .5s var(--ease), color .5s, padding .5s var(--ease); transition-delay: calc(var(--d, 0) * 80ms), calc(var(--d, 0) * 80ms), 0s, 0s, 0s; }
html[dir=rtl] [data-anim=row] { transform: translateX(var(--shift)); }
[data-anim=row].in, html[dir=rtl] [data-anim=row].in { opacity: 1; transform: none; }
[data-anim=clip] { clip-path: inset(18% 18% 18% 18% round var(--radius)); transition: clip-path calc(var(--dur) * 1.4) var(--ease); }
[data-anim=clip] img, [data-anim=clip] .ba-img { transform: scale(1.2); transition: transform calc(var(--dur) * 1.6) var(--ease); }
[data-anim=clip].in { clip-path: inset(0 0 0 0 round var(--radius)); }
[data-anim=clip].in img, [data-anim=clip].in .ba-img { transform: none; }
.doc-img { clip-path: inset(100% 0 0 0); transition: clip-path calc(var(--dur) * 1.2) var(--ease) .15s; }
.doc.in .doc-img { clip-path: inset(0 0 0 0); }
[data-anim=float] { opacity: 0; transform: translateY(80px) rotate(4deg); transition: opacity 1.2s var(--ease) .6s, transform 1.2s var(--ease) .6s; }
[data-anim=float].in { opacity: 1; transform: none; animation: bob 5s ease-in-out 2s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
[data-anim=step] .tl-card { opacity: 0; transform: translateX(calc(var(--shift) * -1.2)); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), border-color .5s; }
[data-anim=step]:nth-child(odd) .tl-card { transform: translateX(calc(var(--shift) * 1.2)); }
html[dir=rtl] [data-anim=step] .tl-card { transform: translateX(calc(var(--shift) * 1.2)); }
html[dir=rtl] [data-anim=step]:nth-child(odd) .tl-card { transform: translateX(calc(var(--shift) * -1.2)); }
[data-anim=step].in .tl-card, html[dir=rtl] [data-anim=step].in .tl-card { opacity: 1; transform: none; }
[data-anim=step] .tl-dot { opacity: 0; transform: scale(.4); transition: opacity .6s, transform .6s var(--ease), background .5s, color .5s; }
[data-anim=step].in .tl-dot { opacity: 1; transform: none; }
[data-anim=step].in.lit .tl-dot { transform: scale(1.08); }
section, .rows, .tl { overflow-x: clip; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: 1fr auto; padding-inline: 32px; }
  .logo { text-align: start; }
  .burger { display: block; }
  .wrap { width: calc(100% - 64px); }
  .hero-copy { inset-inline-start: 32px; inset-inline-end: 32px; }
  .float-card { inset-inline-end: 32px; }
  .row { grid-template-columns: 110px 1fr 56px; } .row p { display: none; }
  .about, .ba-wrap, .book-wrap, .faq-wrap, .contact { grid-template-columns: 1fr; gap: 44px; }
  .docs, .prices, .reviews, .info { grid-template-columns: 1fr 1fr; }
}
@media (hover: none) {
  .tap-hint { display: block; }
  .row.open { background: var(--dark); color: var(--cream); padding-inline: 18px; border-radius: var(--radius); }
  .row.open .cat, .row.open p { color: rgba(241,233,221,.75); display: block; }
  .row.open .arr { background: var(--cream); color: var(--dark); border-color: transparent; }
  .inline-img { display: block; grid-column: 1 / -1; height: 0; border-radius: var(--radius-sm); background: center 30% / cover; transition: height .6s var(--ease); }
  .row.open .inline-img { height: 200px; }
  .row.open p { grid-column: 1 / -1; }
  .hov { display: none; }
}
@media (max-width: 700px) {
  .emergency { font-size: 12px; gap: 6px 12px; padding: 8px 14px; }
  .nav { top: 52px; padding: 12px 18px; }
  .nav-book { display: none; }
  .lang { padding: 6px 10px; }
  .wrap { width: calc(100% - 40px); }
  .sec { padding: 84px 0; }
  .sec-head { margin-bottom: 36px; }
  .hero { height: max(760px, 100svh); }
  .hero-shade, html[dir=rtl] .hero-shade { background: linear-gradient(0deg, rgba(32,26,22,.96) 30%, rgba(32,26,22,.35) 70%, rgba(32,26,22,.5)); }
  .hero-bg { background-position: 60% 20%; }
  .hero-copy { inset-inline: 20px; bottom: 48px; }
  .hero-lead { font-size: 15.5px; }
  .float-card { inset-inline-end: 20px; top: 150px; width: 138px; }
  .float-card .ph { height: 78px; }
  .row { grid-template-columns: 1fr 46px; gap: 6px 14px; padding: 20px 0; }
  .row .cat { grid-column: 1 / -1; }
  .row h3 { grid-column: 1; }
  .docs, .prices, .reviews, .info, .extras, .grid2 { grid-template-columns: 1fr; }
  .about { margin-bottom: 84px; }
  .points { margin-top: -10px; }
  .tl-line, .tl-dot { inset-inline-start: 22px; }
  .tl-step { grid-template-columns: 1fr; }
  .tl-card, .tl-step:nth-child(odd) .tl-card { grid-column: 1; margin-inline: 64px 0; }
  .book { padding: 20px; }
  .tabs button { font-size: 13px; padding: 10px 6px; }
  .faq summary { font-size: 17px; }
  .map, .map iframe { min-height: 340px; }
  .foot-grid { grid-template-columns: 1fr; }
  .wa-float { bottom: 16px; inset-inline-end: 16px; width: 52px; height: 52px; }
}

/* Hand-drawn gold underline that draws itself under the accent words */
.serif.u { position: relative; display: inline-block; max-width: 100%; }
.squig { position: absolute; inset-inline: 0; bottom: -.12em; width: 100%; height: .22em; overflow: visible; pointer-events: none; }
.squig path { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset calc(var(--dur) * 1.3) var(--ease) .7s; }
.in .squig path { stroke-dashoffset: 0; }
/* Small floating tags around the hero photo */
.tagchip { position: absolute; z-index: 2; font-size: 13px; padding: 8px 14px; border-radius: var(--radius-sm); background: rgba(241,233,221,.16); backdrop-filter: blur(10px); border: 1px solid rgba(241,233,221,.25); color: var(--cream); white-space: nowrap; }
.tagchip::before { content: "✦"; color: var(--gold-soft); margin-inline-end: 7px; }
.tagchip.c1 { inset-inline-start: 60%; top: 24%; } .tagchip.c2 { inset-inline-start: 68%; top: 70%; }
[data-anim=pop] { opacity: 0; transform: scale(.5) translateY(30px); transition: opacity .8s var(--ease) 1s, transform .9s cubic-bezier(.3,1.5,.5,1) 1s; }
[data-anim=pop].c2 { transition-delay: 1.25s; }
[data-anim=pop].in { opacity: 1; transform: none; }
@media (max-width: 1100px) { .tagchip { display: none; } }
.book-wrap > *, .book > *, .dates, .times { min-width: 0; }
/* Touch screens: comfortable 44px tap targets (UX audit) */
@media (pointer: coarse) {
  .lang, .times button, .tabs button { min-height: 44px; }
  .times button { min-width: 64px; }
  .ln { display: inline-flex; align-items: center; min-height: 44px; }
  .emergency a { display: inline-block; padding-block: 12px; margin-block: -12px; }
}
.dates button > *:not(:nth-child(2)) { font-size: 12px; }

/* =========================================================
   Round 2 fixes (header, hero spacing, rows, slider, icons)
   ========================================================= */
/* Header: logo truly centered between two equal columns; dark at the first pixel of scroll */
.nav { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: 24px; transition: top .25s var(--ease), padding .25s var(--ease); }
.nav.solid { background: rgba(43,36,31,.96); }
.nav-links { gap: clamp(14px, 1.5vw, 26px); flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
.logo { cursor: pointer; }
@media (max-width: 1240px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav { grid-template-columns: minmax(0, 1fr) auto; }
  .logo { text-align: start; }
}

/* Hero: content flows below the header, so the pill can never reach the nav */
.hero { height: auto; min-height: max(720px, 100svh); display: flex; align-items: flex-end; padding: 190px 64px 90px; }
.hero-copy { position: relative; inset: auto; bottom: auto; }
.float-card { top: max(28%, 150px); }
@media (max-width: 1100px) { .hero { padding-inline: 32px; } }
@media (max-width: 700px) {
  .hero { min-height: max(760px, 100svh); padding: 170px 20px 48px; }
  .float-card { display: none; }
}

/* Inline SVG icons (never emoji) */
.ico { width: .9em; height: .9em; vertical-align: -.05em; }
html[dir=rtl] .ico { transform: scaleX(-1); }
.stars { display: flex; gap: 3px; color: var(--gold); } .stars svg { width: 15px; height: 15px; }
.ba-handle span { display: grid; place-items: center; } .ba-handle svg { width: 22px; height: 22px; }
.tagchip::before { content: "\2726\FE0E"; }
.points li::before { content: "\2713\FE0E"; }

/* Treatment rows: "+" shows they open; hidden while open */
.arr svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.row.open .arr { opacity: 0; transform: rotate(90deg) scale(.6); pointer-events: none; }
.row-more { grid-column: 1 / -1; display: grid; gap: 14px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s; }
.row.open .row-more { max-height: 320px; opacity: 1; }
.row-more .inline-img { display: block; height: 200px; border-radius: var(--radius-sm); background: center 30% / cover; }
.row.open .row-book { color: var(--cream); justify-self: start; }
.row.open { background: var(--dark); color: var(--cream); padding-inline: 18px; border-radius: var(--radius); }
.row.open .cat, .row.open p { color: rgba(241,233,221,.75); }
.row.open .hov { display: none; }
@media (hover: hover) and (min-width: 1101px) { .row-more .inline-img { display: none; } .row-more { max-width: 360px; } }
.tap-hint { display: block; }

/* Before/after: pointer drag + tap; vertical page scroll still works on touch */
.ba { touch-action: pan-y; cursor: ew-resize; }
.ba input { pointer-events: none; }
.ba:focus-within .ba-handle span { outline: 2px solid var(--gold); }

/* Laptop hover image: lives in its own reserved column inside the row, never over text */
@media (hover: hover) and (min-width: 1101px) {
  .row { grid-template-columns: 150px minmax(0, 1fr) 112px minmax(220px, 340px) 56px; }
  .row .cat { grid-column: 1; grid-row: 1; } .row h3 { grid-column: 2; grid-row: 1; }
  .row .hov { grid-column: 3; grid-row: 1; position: relative; inset: auto; top: auto; width: 112px; height: 76px; z-index: 1;
    box-shadow: 0 10px 24px rgba(0,0,0,.25); transform: translateY(14px) scale(.92); opacity: 0; clip-path: inset(100% 0 0 0 round var(--radius-sm)); border-radius: var(--radius-sm);
    transition: opacity .9s var(--ease), transform 1.1s var(--ease), clip-path 1.1s var(--ease); }
  .row p { grid-column: 4; grid-row: 1; } .row .arr { grid-column: 5; grid-row: 1; }
  .row-more { grid-row: 2; }
  .row:hover .hov { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--radius-sm)); }
  .row:hover h3 { transform: none; }
}

/* =========================================================
   Round 3: header order links | logo | actions, smooth dark fade, large hover image
   ========================================================= */
.nav { display: flex; align-items: center; gap: 0; background: rgba(43,36,31,0); box-shadow: 0 6px 30px rgba(0,0,0,0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0);
  transition: background-color .4s ease, box-shadow .4s ease, -webkit-backdrop-filter .4s ease, backdrop-filter .4s ease, top .4s var(--ease), padding .4s var(--ease); }
.nav.solid { background: rgba(43,36,31,.96); box-shadow: 0 6px 30px rgba(0,0,0,.15); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav-links { flex: 0 1 auto; }
.nav .logo { margin-inline: auto; padding-inline: 28px; text-align: center; }
.nav-right { flex: 0 0 auto; }
.burger { order: 3; }
@media (max-width: 1100px) {
  .nav .logo { margin-inline: 0 auto; padding-inline: 0; text-align: start; }
}
@media (min-width: 1101px) and (max-width: 1240px) {
  .nav-links { display: flex; } .burger { display: none; }
}
@media (hover: hover) and (min-width: 1101px) {
  .row { grid-template-columns: 150px minmax(0, 1fr) 230px minmax(220, 340px) 56px; grid-template-columns: 150px minmax(0, 1fr) 230px minmax(220px, 340px) 56px; }
  .row .hov { width: 230px; height: 190px; margin-block: -45px; z-index: 5; border-radius: var(--radius);
    box-shadow: 0 24px 48px rgba(0,0,0,.32); clip-path: inset(100% 0 0 0 round var(--radius)); transform: translateY(24px) scale(.94) rotate(-2deg);
    transition: opacity 1s var(--ease), transform 1.2s var(--ease), clip-path 1.2s var(--ease); }
  .row:hover .hov { clip-path: inset(0 0 0 0 round var(--radius)); transform: rotate(-2deg); }
  html[dir=rtl] .row .hov, html[dir=rtl] .row:hover .hov { rotate: 4deg; }
}

/* =========================================================
   Round 4: consistent open row (natural photo + text beside), top bar underline
   ========================================================= */
.emergency a { border-bottom: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.row-more, .row.open .row-more { max-width: none; }
.row-more { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: center; gap: 0 36px; }
.row.open .row-more { max-height: 900px; padding-block: 22px 6px; }
.row-more .inline-img { display: none !important; }
.open-img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }
.more-txt { display: grid; gap: 18px; justify-items: start; max-width: 460px; }
.more-desc { font-size: 16px; line-height: 1.7; color: rgba(241,233,221,.8) !important; display: block !important; }
.row.open > p { visibility: hidden; }
.row.open .hov, .row.open:hover .hov { display: none !important; opacity: 0 !important; }
@media (max-width: 1100px) { .row-more { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 0 28px; } }
@media (max-width: 600px) { .row-more { grid-template-columns: 1fr; gap: 18px; } .more-txt { max-width: none; } }
@media (max-width: 1100px), (hover: none) { .row.open > p { display: none !important; } }
.row.open:hover h3 { transform: none; }
.row .more-desc { grid-column: auto; grid-row: auto; }
.more-txt { align-content: center; }
@media (max-width: 1100px), (hover: none) { .row-more { grid-row: auto; } }

/* Round 5: real before/after photos, no fake sepia filter; same framing for both */
.ba-before { filter: none; }
.ba-img { background-position: center 40%; }
picture { display: contents; }
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .hero-bg { background-image: url(../img/hero-wide.jpg); background-image: image-set(url(../img/hero-wide.webp) type('image/webp'), url(../img/hero-wide.jpg) type('image/jpeg')); background-position: 70% 30%; }
  html[dir=rtl] .hero-bg { scale: -1 1; }
  .float-card { top: auto; bottom: 14%; }
}
