/* ============================================================
   عبدالرحمن مراد للاستشارات القانونية — amlc.ae
   Palette derived from the brand seal: green #2B4A42 · gold #D1B672
   ============================================================ */
:root {
  --green: #2B4A42;        /* brand green (logo bg) */
  --green-deep: #1C332D;   /* hero / footer */
  --green-soft: #3A5C52;
  --gold: #D1B672;         /* logo gold — lines & accents on dark */
  --gold-deep: #8F7340;    /* gold text on light (contrast-safe) */
  --paper: #FFFFFF;        /* pure white (RAL 9016) */
  --paper-2: #F6F6F6;      /* RAL 9016 traffic-white tint for alt sections */
  --text: #253029;
  --muted: #5B6861;
  --line: #E7E7E4;
  --line-dark: rgba(209, 182, 114, .25);
  --radius: 10px;
  --shadow: 0 10px 30px rgba(28, 51, 45, .08);
  --font-head: 'Tajawal', sans-serif;
  --font-body: 'Tajawal', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  font-size: 17px;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1140px, 100% - 40px); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.55; color: var(--green-deep); }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.3rem; }

/* ---------- eyebrow + section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-deep); font-size: .85rem; font-weight: 500;
  letter-spacing: .02em; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-deep); }
.on-dark .eyebrow { color: var(--gold); }
.on-dark .eyebrow::before { background: var(--gold); }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head p { color: var(--muted); margin-top: 10px; }

/* ---------- star divider (echo of the seal) ---------- */
.star-divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 8px 0 26px;
}
.star-divider::before, .star-divider::after {
  content: ""; height: 1px; width: 70px; background: var(--line);
}
.star-divider svg { width: 14px; height: 14px; fill: var(--gold-deep); flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.5; }
.brand-name strong { font-family: var(--font-head); font-size: 1.12rem; color: var(--green-deep); }
.brand-name span { font-size: .72rem; color: var(--gold-deep); letter-spacing: .03em; }

.main-nav ul { display: flex; gap: 26px; align-items: center; }
.main-nav a { font-size: .93rem; font-weight: 500; color: var(--text); padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.main-nav a:hover { color: var(--green); }
.main-nav a.active { color: var(--green); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--green); color: #fff !important; padding: 9px 20px !important;
  border-radius: 100px; border: none !important; transition: background .2s;
}
.nav-cta:hover { background: var(--green-deep); color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-deep); margin: 5px 0; transition: .25s; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; inset-inline: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none; box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 20px 20px; align-items: stretch; }
  .main-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .main-nav a.active { border-bottom-color: var(--gold); }
  .nav-cta { text-align: center; margin-top: 12px; border-radius: var(--radius); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero {
  background: var(--green-deep);
  color: #EDE9DD;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath d='M48 10l6 14 14-6-6 14 14 6-14 6 6 14-14-6-6 14-6-14-14 6 6-14-14-6 14-6-6-14 14 6z' fill='none' stroke='%23D1B672' stroke-width='.8'/%3E%3C/svg%3E");
  background-size: 96px 96px;
  opacity: .07;
  pointer-events: none;
}
.hero-inner { position: relative; padding: 92px 0 86px; max-width: 760px; }
.hero h1 { color: #F4EFE2; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 1.07rem; color: #C9CFC6; max-width: 620px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: #C9CFC6; }
.hero-badges svg { width: 15px; height: 15px; fill: var(--gold); flex: none; }

.page-hero { background: var(--green-deep); color: #EDE9DD; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: inherit; }
.page-hero .hero-inner { padding: 62px 0 56px; }
.page-hero p { color: #C9CFC6; max-width: 640px; }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 30px; border-radius: 100px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s;
  border: 1px solid transparent;
}
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: #DDC68C; transform: translateY(-2px); }
.btn-outline { border-color: var(--line-dark); color: #EDE9DD; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-outline-light { border-color: var(--line); color: var(--green-deep); background: #fff; }
.btn-outline-light:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--green-deep); color: #D7DCD3; }
.section.dark h2, .section.dark h3 { color: #F4EFE2; }

/* ---------- practice cards — ordinal signature ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.p-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 26px; position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.p-card .ordinal {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1rem; color: var(--gold-deep);
  display: inline-block; margin-bottom: 14px;
  padding-bottom: 6px; border-bottom: 2px solid var(--gold);
}
.p-card .icon { width: 42px; height: 42px; margin-bottom: 16px; }
.p-card .icon svg { width: 100%; height: 100%; stroke: var(--green); fill: none; stroke-width: 1.4; }
.p-card h3 { margin-bottom: 12px; font-size: 1.22rem; }
.p-card ul { display: grid; gap: 8px; }
.p-card li { position: relative; padding-right: 18px; font-size: .9rem; color: var(--muted); line-height: 1.8; }
.p-card li::before { content: "◆"; position: absolute; right: 0; top: 0; font-size: .5rem; color: var(--gold-deep); line-height: 2.9; }
.p-card.link-card { display: block; }

/* ---------- about split ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split .seal-wrap { display: flex; justify-content: center; }
.seal-frame {
  background: var(--green); border-radius: 50%;
  padding: clamp(26px, 5vw, 46px);
  box-shadow: 0 24px 60px rgba(28, 51, 45, .25);
  position: relative;
}
.seal-frame::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid var(--line-dark); border-radius: 50%;
}
.seal-frame img { width: clamp(200px, 26vw, 300px); height: auto; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.values-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.value-chip {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 12px; text-align: center;
}
.value-chip strong { font-family: var(--font-head); color: var(--green); font-size: 1.05rem; display: block; }
.value-chip span { font-size: .78rem; color: var(--muted); }
@media (max-width: 560px) { .values-row { grid-template-columns: 1fr 1fr 1fr; gap: 10px; } .value-chip { padding: 12px 6px; } }

/* ---------- methodology ---------- */
.method-quote {
  max-width: 820px; margin-inline: auto; text-align: center;
  font-family: var(--font-head); font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  line-height: 2.1; color: #EDE9DD;
}
.method-quote strong { color: var(--gold); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset-inline-start: -60px; top: -60px;
  width: 280px; height: 280px; border: 1px solid var(--line-dark); border-radius: 50%;
}
.cta-band::after {
  content: ""; position: absolute; inset-inline-end: -80px; bottom: -80px;
  width: 340px; height: 340px; border: 1px solid var(--line-dark); border-radius: 50%;
}
.cta-inner { padding: 64px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { color: #CBD4CC; max-width: 520px; }

/* ---------- contact strip / page ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; display: flex; gap: 16px; align-items: flex-start;
}
.contact-card .ci { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; }
.contact-card .ci svg { width: 19px; height: 19px; stroke: var(--green); fill: none; stroke-width: 1.6; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: .92rem; color: var(--muted); direction: ltr; unicode-bidi: embed; text-align: right; }
.contact-card p.ar, .contact-card .ar { direction: rtl; }
.contact-card a:hover { color: var(--gold-deep); }

.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

.placeholder-chip {
  display: inline-block; background: #FBF3DC; color: #8a6d1d; border: 1px dashed #D9BE62;
  font-size: .74rem; padding: 2px 10px; border-radius: 100px; margin-inline-start: 8px; vertical-align: middle;
}

/* ---------- consultation form ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr .85fr; gap: 50px; align-items: start; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
.consult-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow);
}
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 7px; color: var(--green-deep); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  background: var(--paper); transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(43, 74, 66, .12);
}
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.steps-list { display: grid; gap: 0; }
.step-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step-item:last-child { border-bottom: none; }
.step-item .s-ord { font-family: var(--font-head); font-weight: 700; color: var(--gold-deep); font-size: 1.05rem; flex: none; width: 52px; }
.step-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step-item p { font-size: .88rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--green-deep); color: #B9C2BA; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 { color: var(--gold); font-size: 1rem; margin-bottom: 16px; }
.footer-brand img { width: 84px; margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; line-height: 1.9; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 9px; align-items: baseline; }
.footer-contact .num { direction: ltr; unicode-bidi: embed; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: .78rem; color: #8A958C; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn, .p-card { transition: none; }
}

/* ---------- misc ---------- */
.prose { max-width: 760px; }
.prose p + p { margin-top: 16px; }
.lead-muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

/* ============================================================
   v2 — photo banners & imagery
   ============================================================ */

/* photo banner behind dark page headers (green overlay keeps brand) */
.hero.has-banner {
  background-image:
    linear-gradient(to left, rgba(28, 51, 45, .96) 0%, rgba(28, 51, 45, .88) 52%, rgba(28, 51, 45, .36) 100%),
    var(--banner);
  background-size: cover;
  background-position: center;
}
/* brighter photos behind the text: a soft halo keeps every line readable */
.hero.has-banner .hero-inner h1,
.hero.has-banner .hero-inner p { text-shadow: 0 1px 2px rgba(20, 38, 33, .55), 0 0 18px rgba(20, 38, 33, .7); }
.hero.has-banner::before { opacity: .05; }
.banner-about   { --banner: url("../img/v12/banner-about.jpg"); }
.banner-services{ --banner: url("../img/v15/banner-services.jpg"); }
.banner-practice{ --banner: url("../img/v15/banner-practice.jpg"); }
.banner-consult { --banner: url("../img/v12/banner-consult.jpg"); }
.banner-contact { --banner: url("../img/v12/banner-contact.jpg"); }
.page-hero.has-banner .hero-inner { padding: 74px 0 66px; }

/* home hero: text + arched photo frame */
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 56px; align-items: center;
  padding: 80px 0 74px;
}
.hero-copy { max-width: 640px; }
.hero-figure { justify-self: center; position: relative; }
.hero-figure::before {
  content: ""; position: absolute; inset: -16px;
  border: 1px solid var(--line-dark);
  border-radius: 520px 520px calc(var(--radius) + 6px) calc(var(--radius) + 6px);
  pointer-events: none;
}
.arch-frame {
  width: clamp(250px, 27vw, 360px);
  aspect-ratio: 3 / 3.9;
  border-radius: 500px 500px var(--radius) var(--radius);
  overflow: hidden; position: relative;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .38);
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.arch-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(209, 182, 114, .5);
  box-shadow: inset 0 0 0 6px rgba(28, 51, 45, .18);
  pointer-events: none;
}
.hero-figure .fig-star {
  position: absolute; top: -24px; inset-inline-end: -24px;
  width: 48px; height: 48px; fill: var(--gold);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; padding: 60px 0 58px; }
  .hero-figure { order: 2; }
  .arch-frame { width: min(290px, 70vw); }
}

/* photo header on practice / service cards */
.card-photo {
  margin: -30px -26px 20px;
  height: 150px; overflow: hidden; position: relative;
  border-bottom: 2px solid var(--gold);
}
.card-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28, 51, 45, .28), rgba(28, 51, 45, 0) 60%);
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.p-card:hover .card-photo img { transform: scale(1.06); }

/* side photo on service steps */
.step-item .step-photo {
  flex: none; width: 170px; align-self: stretch; min-height: 120px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.step-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .step-item.with-photo { flex-wrap: wrap; }
  .step-item .step-photo { width: 100%; height: 160px; order: 3; }
}
@media (prefers-reduced-motion: reduce) { .card-photo img { transition: none; } }

/* ============================================================
   v3 — advanced sections (full-photo hero, facts, area list,
   numbered how-cards, picker widget, FAQ, mega wordmark)
   ============================================================ */

/* ----- full-photo hero ----- */
.hero-xl { position: relative; background: var(--green-deep); color: #F4EFE2; overflow: hidden; }
.hero-xl .hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to top, rgba(28,51,45,.95) 0%, rgba(28,51,45,.35) 45%, rgba(28,51,45,.62) 100%),
    url("../img/v12/hero-office.jpg");
  background-size: cover; background-position: center 65%;
}
.hero-xl-inner {
  position: relative; display: flex; flex-direction: column;
  min-height: min(86vh, 800px); padding: 70px 0 44px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .85rem; color: #D8DCD2; letter-spacing: .02em;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero-xl h1 {
  color: #F4EFE2; font-size: clamp(2.2rem, 5.6vw, 4.1rem);
  line-height: 1.5; margin: 16px 0 46px; max-width: 960px;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero-xl h1 em { font-style: normal; color: var(--gold); }
.hero-card {
  margin-top: auto; align-self: flex-end;
  max-width: 480px;
  background: rgba(28,51,45,.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark); border-radius: calc(var(--radius) + 6px);
  padding: 26px 26px 24px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.hero-card p { color: #CDD3CA; font-size: .95rem; margin-bottom: 20px; }
.hero-card .hero-badges { margin-top: 20px; padding-top: 16px; }
@media (max-width: 720px) {
  .hero-xl-inner { min-height: 0; padding: 54px 0 32px; }
  .hero-xl h1 { margin-bottom: 36px; }
  .hero-card { align-self: stretch; max-width: none; }
}

/* ----- facts band ----- */
.facts-statement {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.35rem, 2.9vw, 2.05rem); line-height: 1.85;
  color: var(--green-deep); max-width: 820px; margin-bottom: 44px;
}
.facts-statement em { font-style: normal; color: var(--gold-deep); }
.facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.fact-tile { background: #fff; padding: 30px 26px 26px; }
.fact-tile .f-num {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.5rem, 4.6vw, 3.4rem); line-height: 1.25; color: var(--green);
}
.fact-tile h3 { font-size: 1.04rem; margin: 2px 0 7px; }
.fact-tile p { font-size: .84rem; color: var(--muted); line-height: 1.85; }
@media (max-width: 920px) { .facts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts-grid { grid-template-columns: 1fr; } }

/* ----- practice area interactive list ----- */
.area-list { border-top: 1px solid var(--line); }
.area-row {
  display: grid;
  grid-template-columns: 74px 1.05fr 1.5fr 64px 42px;
  align-items: center; gap: 22px;
  padding: 20px 10px; border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s;
}
.area-row .a-ord { font-family: var(--font-head); font-weight: 700; color: var(--gold-deep); font-size: .95rem; transition: color .3s; }
.area-row .a-name {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.5;
  color: var(--green-deep); transition: color .3s;
}
.area-row .a-desc { font-size: .87rem; color: var(--muted); line-height: 1.85; transition: color .3s; }
.area-row .a-thumb {
  width: 62px; height: 62px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--line); filter: grayscale(1); opacity: .8;
  transition: filter .35s, opacity .35s, transform .35s, border-color .35s;
}
.area-row .a-thumb img { width: 100%; height: 100%; object-fit: cover; }
.area-row .a-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: background .3s, border-color .3s, transform .3s;
}
.area-row .a-arrow svg { width: 15px; height: 15px; stroke: var(--green-deep); fill: none; stroke-width: 1.8; transition: stroke .3s; }
.area-row:hover { background: var(--green-deep); box-shadow: 0 16px 40px rgba(28,51,45,.22); }
.area-row:hover .a-name { color: #F4EFE2; }
.area-row:hover .a-desc { color: #B9C2BA; }
.area-row:hover .a-ord { color: var(--gold); }
.area-row:hover .a-thumb { filter: none; opacity: 1; transform: scale(1.07); border-color: var(--gold); }
.area-row:hover .a-arrow { background: var(--gold); border-color: var(--gold); transform: translate(-4px, -4px); }
.area-row:hover .a-arrow svg { stroke: var(--green-deep); }
@media (max-width: 860px) {
  .area-row { grid-template-columns: 54px 1fr 42px; gap: 14px; }
  .area-row .a-desc, .area-row .a-thumb { display: none; }
}

/* ----- how it works: big numbered cards ----- */
.how-cards { display: grid; gap: 18px; }
.how-card {
  background: var(--green-deep); color: #B9C2BA;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(28px, 4vw, 46px);
  min-height: 210px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.how-card::before {
  content: ""; position: absolute; inset-inline-end: -40px; top: -40px;
  width: 220px; height: 220px; border: 1px solid var(--line-dark); border-radius: 50%;
  pointer-events: none;
}
.how-card .h-num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1;
  color: var(--gold); opacity: .95;
}
.how-card h3 { color: #F4EFE2; font-size: clamp(1.2rem, 2.3vw, 1.6rem); margin: 26px 0 6px; }
.how-card p { font-size: .92rem; max-width: 620px; }
.how-card.gold { background: var(--green); }

/* ----- consultation picker + FAQ ----- */
.consult-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: start; }
@media (max-width: 860px) { .consult-split { grid-template-columns: 1fr; } }
.picker-card {
  background: var(--green-deep); color: #D7DCD3;
  border-radius: calc(var(--radius) + 8px);
  padding: 36px 32px; position: relative; overflow: hidden;
}
.picker-card::after {
  content: ""; position: absolute; inset-inline-start: -60px; bottom: -60px;
  width: 240px; height: 240px; border: 1px solid var(--line-dark); border-radius: 50%;
  pointer-events: none;
}
.picker-card h3 { color: #F4EFE2; font-size: 1.5rem; margin-bottom: 4px; }
.picker-card .p-step { font-size: .8rem; color: #8A958C; margin-bottom: 22px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; position: relative; z-index: 1; }
.chip {
  border: 1px solid var(--line-dark); color: #D7DCD3; background: none;
  border-radius: 100px; padding: 9px 18px;
  font-family: var(--font-body); font-size: .88rem; cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.sel { background: var(--gold); border-color: var(--gold); color: var(--green-deep); font-weight: 600; }
.picker-note { font-size: .8rem; color: #8A958C; margin-top: 16px; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 18px 2px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--green-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .fx {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  font-family: var(--font-body); font-size: 1rem; line-height: 1; color: var(--gold-deep);
  transition: transform .25s, background .2s, border-color .2s, color .2s;
}
.faq details[open] summary .fx { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.faq .faq-a { padding: 0 2px 20px; font-size: .92rem; color: var(--muted); }

/* ----- footer mega wordmark ----- */
.footer-mega {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.6rem, 10vw, 8.6rem);
  line-height: 1.3; text-align: center; white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(209,182,114,.38), rgba(209,182,114,.04));
  -webkit-background-clip: text; background-clip: text;
  padding: 24px 10px 0; overflow: hidden;
  user-select: none; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .area-row, .area-row .a-thumb, .area-row .a-arrow, .chip { transition: none; }
}

/* ============================================================
   v5 — motion & signature pass
   ============================================================ */

/* ----- intro overlay (home only) ----- */
.intro {
  position: fixed; inset: 0; z-index: 200;
  background: var(--green-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.intro.done { opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s .55s; }
/* backstop: even without JS, the overlay clears itself */
.intro { animation: introOut .6s ease 2.6s forwards; }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.intro img {
  width: 92px; height: 92px;
  opacity: 0; transform: scale(.72);
  animation: introPop .7s cubic-bezier(.2,.8,.25,1.1) .08s forwards;
}
.intro .intro-name {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 4.4vw, 2.3rem);
  color: #F4EFE2; letter-spacing: .02em;
  opacity: 0; transform: translateY(14px);
  animation: riseIn .6s ease .32s forwards;
}
.intro .intro-line {
  width: 120px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  animation: lineGrow .55s ease .5s forwards;
}
@keyframes introPop { to { opacity: 1; transform: scale(1); } }
@keyframes riseIn { to { opacity: 1; transform: none; } }
@keyframes lineGrow { to { transform: scaleX(1); } }

/* ----- hero: cinematic entrance ----- */
.hero-xl h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); }
body.has-intro .hero-xl .hero-bg { animation: heroZoom 14s ease-out .9s both; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
body.has-intro .hero-kicker,
body.has-intro .hero-xl h1,
body.has-intro .hero-card {
  opacity: 0; transform: translateY(28px);
  animation: riseIn .85s cubic-bezier(.2,.7,.2,1) forwards;
}
body.has-intro .hero-kicker { animation-delay: 1.25s; }
body.has-intro .hero-xl h1 { animation-delay: 1.4s; }
body.has-intro .hero-card { animation-delay: 1.62s; }
.hero-xl h1 em { position: relative; display: inline-block; }
.hero-xl h1 em::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -8px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  transform: scaleX(0); transform-origin: center;
  animation: lineGrow .7s ease 2.3s forwards;
}
/* failsafe: if animations were throttled (background tab), force the final state */
body.anim-done .hero-kicker, body.anim-done .hero-xl h1, body.anim-done .hero-card { animation: none; opacity: 1; transform: none; }
body.anim-done .hero-xl h1 em::after { animation: none; transform: scaleX(1); }
.hero-xl::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
}

/* ----- header scrolled state ----- */
.site-header { transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 12px 34px rgba(28, 51, 45, .1); }

/* ----- gold marquee band ----- */
.marquee {
  background: var(--green-deep);
  border-block: 1px solid rgba(209, 182, 114, .28);
  overflow: hidden; padding: 15px 0;
}
.marquee-track { display: flex; width: max-content; animation: marqueeMove 36s linear infinite; }
.marquee .m-half {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: 1.18rem;
  color: var(--gold); letter-spacing: .02em;
}
.marquee .m-half > span { padding-inline: 26px; }
.marquee .m-half svg { width: 13px; height: 13px; fill: none; stroke: var(--gold); stroke-width: 2; opacity: .75; flex: none; }
@keyframes marqueeMove { to { transform: translateX(50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ----- floating area preview (desktop pointer only) ----- */
.area-peek {
  position: fixed; width: 225px; height: 285px; z-index: 80;
  border-radius: 16px; overflow: hidden; pointer-events: none;
  border: 1px solid var(--gold);
  box-shadow: 0 34px 70px rgba(28, 51, 45, .4);
  opacity: 0; transform: scale(.88) rotate(2deg);
  transition: opacity .28s ease, transform .28s ease;
  display: none;
}
.area-peek img { width: 100%; height: 100%; object-fit: cover; }
.area-peek.on { opacity: 1; transform: scale(1) rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .area-peek { display: block; } }

/* ----- micro-interactions ----- */
.btn { transition: background .2s, color .2s, border-color .2s, transform .25s ease, box-shadow .25s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(28, 51, 45, .16); }
.how-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; border: 1px solid transparent; }
.how-card:hover { transform: translateY(-6px); border-color: rgba(209, 182, 114, .5); box-shadow: 0 26px 54px rgba(28, 51, 45, .28); }
.contact-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.contact-card:hover { transform: translateY(-4px); border-color: rgba(209, 182, 114, .55); box-shadow: 0 18px 40px rgba(28, 51, 45, .1); }
.fact-tile { transition: background .3s ease; }
.fact-tile:hover { background: #FBFAF7; }
.fact-tile .f-num { font-variant-numeric: tabular-nums; }

/* staggered reveal for grids/lists */
.facts-grid .fact-tile, .how-cards .how-card { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  body.has-intro .hero-xl .hero-bg,
  body.has-intro .hero-kicker, body.has-intro .hero-xl h1, body.has-intro .hero-card,
  .hero-xl h1 em::after { animation: none; opacity: 1; transform: none; }
  .hero-xl h1 em::after { transform: scaleX(1); }
  .marquee-track { animation: none; }
  .area-peek { display: none !important; }
  .btn, .how-card, .contact-card, .fact-tile { transition: none; }
  .reveal { transition-delay: 0s; }
}

/* ============================================================
   v6 — photos on how-cards + modest about image
   ============================================================ */
.how-card { position: relative; overflow: hidden; }
.how-card .hc-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .16; filter: saturate(.45);
  transition: opacity .45s ease, transform .7s ease;
}
.how-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to left, rgba(28, 51, 45, .72), rgba(28, 51, 45, .12));
}
.how-card.gold::after { background: linear-gradient(to left, rgba(43, 74, 66, .66), rgba(43, 74, 66, .1)); }
.how-card > .h-num, .how-card > div { position: relative; z-index: 2; }
.how-card:hover .hc-img { opacity: .32; transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .how-card .hc-img { transition: none; } }

/* ============================================================
   v7 — home expansion (serve cards, deliverables, online, cta)
   ============================================================ */
.serve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.serve-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 34px 30px 30px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.serve-card:hover { transform: translateY(-4px); border-color: rgba(209, 182, 114, .55); box-shadow: 0 18px 40px rgba(28, 51, 45, .1); }
.sci { width: 54px; height: 54px; border-radius: 50%; background: var(--green-deep); display: grid; place-items: center; margin-bottom: 18px; }
.sci svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.serve-card h3 { font-family: var(--font-head); font-size: 1.45rem; color: var(--green-deep); margin-bottom: 10px; }
.serve-card ul { margin-bottom: 24px; }
.serve-card li { position: relative; padding: 10px 24px 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.serve-card li::before { content: ""; position: absolute; right: 2px; top: 18px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.serve-card li:last-child { border-bottom: none; }
@media (max-width: 860px) { .serve-grid { grid-template-columns: 1fr; } }

.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.d-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.d-tile:hover { transform: translateY(-4px); border-color: rgba(209, 182, 114, .6); box-shadow: 0 16px 36px rgba(28, 51, 45, .09); }
.d-tile svg { width: 34px; height: 34px; fill: none; stroke: var(--gold-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.d-tile h3 { font-family: var(--font-head); font-size: 1.12rem; color: var(--green-deep); margin-bottom: 6px; }
.d-tile p { font-size: .87rem; color: var(--muted); }
@media (max-width: 920px) { .dgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dgrid { grid-template-columns: 1fr; } }

.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; color: var(--text); }
.check-item svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }

.online-figure { justify-self: center; position: relative; }
.online-figure img { width: min(440px, 100%); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); position: relative; z-index: 1; display: block; }
.online-figure::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); border-radius: 16px; }

@media (prefers-reduced-motion: reduce) { .serve-card, .d-tile { transition: none; } }

/* ============================================================
   v8 — mobile UX pass (compact, user-friendly phones)
   ============================================================ */
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 26px; }

  /* hero: compact card, buttons on one line */
  .hero-xl-inner { padding: 38px 0 22px; }
  .hero-xl h1 { font-size: clamp(1.9rem, 8.4vw, 2.5rem); margin: 12px 0 26px; }
  .hero-kicker { font-size: .74rem; }
  .hero-card { padding: 18px 16px 15px; }
  .hero-card p { font-size: .87rem; line-height: 1.9; margin-bottom: 14px; }
  .hero-card .btn-row { display: flex; flex-wrap: nowrap; gap: 8px; }
  .hero-card .btn { flex: 1; padding: 11px 6px; font-size: .83rem; white-space: nowrap; }
  .hero-card .hero-badges { margin-top: 14px; padding-top: 12px; gap: 6px 0; justify-content: space-between; }
  .hero-badges span { font-size: .78rem; }

  .marquee { padding: 10px 0; }
  .marquee .m-half { font-size: .98rem; }
  .marquee .m-half > span { padding-inline: 16px; }

  /* facts: one-line tiles (number + title side by side) */
  .facts-statement { margin-bottom: 24px; }
  .fact-tile { padding: 16px 14px; display: flex; align-items: center; gap: 13px; }
  .fact-tile .f-num { font-size: 2rem; line-height: 1; }
  .fact-tile h3 { font-size: .88rem; margin: 0; }
  .fact-tile p { display: none; }

  .serve-card { padding: 24px 20px 22px; }
  .serve-card h3 { font-size: 1.3rem; }
  .serve-card li { font-size: .87rem; padding: 8px 20px 8px 0; }
  .serve-card .btn { width: 100%; }

  .how-card { min-height: 0; padding: 20px 18px; }
  .how-card .h-num { font-size: 2.4rem; }
  .how-card h3 { margin: 12px 0 4px; font-size: 1.12rem; }
  .how-card p { font-size: .87rem; }

  .d-tile { padding: 18px 16px; }
  .d-tile svg { width: 28px; height: 28px; margin-bottom: 10px; }

  .picker-card { padding: 24px 20px; }
  .picker-card h3 { font-size: 1.3rem; }
  .chip { padding: 9px 14px; font-size: .82rem; }
  .picker-card .picker-go { width: 100%; }

  .cta-inner { padding: 44px 0; }
  .cta-inner .btn-row { width: 100%; display: flex; flex-wrap: nowrap; gap: 10px; }
  .cta-inner .btn { flex: 1; padding: 12px 8px; font-size: .87rem; white-space: nowrap; }

  .contact-card { padding: 18px 16px; }
  .footer-grid { padding: 42px 0 28px; }
}
@media (max-width: 480px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

/* ============================================================
   v9 — mobile wow pass (swipe cards, sticky booking bar)
   ============================================================ */

/* areas: swipeable photo cards on phones */
@media (max-width: 640px) {
  .area-list {
    display: flex; gap: 14px; border-top: none;
    overflow-x: auto; padding: 6px 2px 20px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .area-list::-webkit-scrollbar { display: none; }
  .area-row {
    flex: 0 0 74%; scroll-snap-align: center;
    display: flex; flex-direction: column;
    padding: 0; background: #fff;
    border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
    box-shadow: 0 10px 26px rgba(28, 51, 45, .07);
  }
  .area-row .a-thumb {
    display: block; order: -1;
    width: 100%; height: 150px;
    border-radius: 0; border: none; filter: none; opacity: 1; transform: none;
  }
  .area-row .a-ord { padding: 14px 16px 0; font-size: .76rem; }
  .area-row .a-name { padding: 4px 16px 0; font-size: 1.06rem; }
  .area-row .a-desc { display: block; padding: 6px 16px 4px; font-size: .82rem; line-height: 1.8; flex: 1; }
  .area-row .a-arrow { align-self: flex-end; margin: 10px 0 14px 16px; width: 34px; height: 34px; }
  .area-row:hover { background: #fff; }
  .area-row:hover .a-name, .area-row:hover .a-desc { color: inherit; }
  .area-row:active { background: var(--paper-2); }

  /* deliverable tiles: 2 columns */
  .dgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .d-tile h3 { font-size: .98rem; }
  .d-tile p { font-size: .78rem; }
}

/* sticky bottom booking bar (phones, injected by JS) */
.mobile-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
  display: none; align-items: center; gap: 10px;
  background: rgba(28, 51, 45, .97);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(209, 182, 114, .3);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .35s ease;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, .2);
}
.mobile-cta.on { transform: translateY(0); }
.mobile-cta .mc-ic {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  border: 1px solid var(--line-dark); display: grid; place-items: center;
}
.mobile-cta .mc-ic svg { width: 21px; height: 21px; fill: var(--gold); }
.mobile-cta .mc-book {
  flex: 1; background: var(--gold); color: var(--green-deep);
  border-radius: 100px; padding: 13px 10px; text-align: center;
  font-weight: 700; font-size: .95rem;
}
@media (max-width: 640px) {
  .mobile-cta { display: flex; }
  body.ctabar .wa-float { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

/* ============================================================
   v10 — Writ-style photo cards: image on top, detail below
   ============================================================ */
@media (min-width: 641px) {
  /* 8 areas: 4-column photo-card grid instead of one-line rows */
  .area-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; border-top: none; }
  .area-row {
    display: flex; flex-direction: column;
    padding: 0; background: #fff;
    border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
  }
  .area-row .a-thumb {
    order: -1; width: 100%; height: 150px;
    border-radius: 0; border: none; transform: none;
    filter: grayscale(1); opacity: .95;
    transition: filter .45s ease, opacity .45s ease;
    overflow: hidden;
  }
  .area-row .a-thumb img { transition: transform .55s ease; }
  .area-row .a-ord { padding: 15px 18px 0; }
  .area-row .a-name { padding: 6px 18px 0; font-size: 1.07rem; }
  .area-row .a-desc { display: block; padding: 8px 18px 0; font-size: .84rem; line-height: 1.8; flex: 1; }
  .area-row .a-arrow { align-self: flex-end; margin: 14px 0 16px 18px; width: 36px; height: 36px; }
  .area-row:hover { background: #fff; transform: translateY(-6px); border-color: rgba(209, 182, 114, .6); box-shadow: 0 22px 46px rgba(28, 51, 45, .13); }
  .area-row:hover .a-name { color: var(--green-deep); }
  .area-row:hover .a-desc { color: var(--muted); }
  .area-row:hover .a-thumb { filter: none; opacity: 1; transform: none; border-color: transparent; }
  .area-row:hover .a-thumb img { transform: scale(1.07); }
  /* floating cursor preview is redundant now that cards carry images */
  .area-peek { display: none !important; }
}
@media (min-width: 641px) and (max-width: 1060px) { .area-list { grid-template-columns: 1fr 1fr; } }

/* how-cards: 3 columns side by side on wide screens */
@media (min-width: 861px) {
  .how-cards { grid-template-columns: repeat(3, 1fr); }
  .how-card { min-height: 280px; }
  .how-card p { max-width: none; }
}

/* Tajawal everywhere (client request 12 Nov 2026): slightly tighter heading rhythm than the old serif */
h1, h2, h3, h4 { line-height: 1.45; letter-spacing: 0; }

/* ============================================================
   v12 — client review round (12 Nov 2026)
   ============================================================ */
/* phone numbers keep their left-to-right order inside Arabic text */
.num { direction: ltr; unicode-bidi: isolate; display: inline-block; white-space: nowrap; }

/* hero card: headline line supplied by the client */
.hero-card .hc-lead {
  display: block; color: var(--gold);
  font-size: 1.14rem; font-weight: 700; line-height: 1.7;
  margin-bottom: 8px;
}

/* about seal: the logo fills the whole circle, one thin gold ring outside */
.seal-frame {
  padding: 0; overflow: hidden; background: var(--green);
  box-shadow: 0 0 0 1px rgba(209, 182, 114, .55), 0 0 0 9px #fff, 0 0 0 10px rgba(209, 182, 114, .35), 0 26px 60px rgba(28, 51, 45, .22);
}
.seal-frame::after { display: none; }
.seal-frame img { display: block; width: clamp(250px, 31vw, 370px); transform: scale(1.015); }

/* brighter photography: lighter green veil on hero + page banners */
.hero-xl .hero-bg {
  background-image:
    linear-gradient(to top, rgba(28,51,45,.94) 0%, rgba(28,51,45,.22) 46%, rgba(28,51,45,.5) 100%),
    url("../img/v12/hero-office.jpg");
}
.hero.has-banner {
  background-image:
    linear-gradient(to left, rgba(28, 51, 45, .92) 0%, rgba(28, 51, 45, .66) 46%, rgba(28, 51, 45, .2) 100%),
    var(--banner);
}
.page-hero.has-banner h1, .page-hero.has-banner p { text-shadow: 0 1px 18px rgba(16, 32, 28, .55); }

/* practice-area photos in full colour */
.area-row .a-thumb { filter: none; opacity: 1; }
.how-card .hc-img { opacity: .26; filter: saturate(.8); }

@media (max-width: 640px) {
  .hero-card .hc-lead { font-size: 1rem; margin-bottom: 6px; }
  .hero-card .btn { padding: 11px 4px; font-size: .8rem; }
}
@media (max-width: 640px) {
  .hero.has-banner { background-image: linear-gradient(to left, rgba(28,51,45,.9) 0%, rgba(28,51,45,.78) 55%, rgba(28,51,45,.62) 100%), var(--banner); }
}

/* ============================================================
   v13 — founder portrait (about), reviews page, 7-item nav
   ============================================================ */
/* portrait: arch frame, same gold double-ring language as the seal */
.portrait-frame { margin: 0; width: clamp(240px, 29vw, 340px); text-align: center; }
.portrait-frame img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 14%;
  border-radius: 999px 999px 10px 10px; background: var(--green);
  box-shadow: 0 0 0 1px rgba(209,182,114,.6), 0 0 0 9px #fff, 0 0 0 10px rgba(209,182,114,.38), 0 28px 60px rgba(28,51,45,.22);
}
.portrait-frame figcaption {
  margin-top: 30px; font-weight: 700; font-size: 1.12rem; color: var(--green-deep); line-height: 1.5;
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
}
.portrait-frame figcaption::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
/* the founder's own title lines, under his name */
.portrait-frame .pf-title {
  display: flex; flex-direction: column; gap: 7px; margin-top: 2px;
  font-weight: 500; font-size: .9rem; line-height: 1.75; color: var(--muted);
}
.portrait-frame .pf-title span { display: block; text-wrap: balance; }
.portrait-frame .pf-title .pf-lead { color: var(--gold-deep); font-weight: 700; font-size: .86rem; }

/* nav now carries 7 items — tighten only in the narrow desktop band */
@media (min-width: 921px) and (max-width: 1080px) {
  .main-nav ul { gap: 15px; }
  .main-nav a { font-size: .86rem; }
  .nav-cta { padding: 8px 15px !important; }
}

/* ---------- reviews page ---------- */
.rv-hero .hero-inner { max-width: 720px; }
.rv-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px;
  padding: 26px 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); margin-bottom: 46px;
}
.rv-avg { font-size: 2.6rem; font-weight: 800; color: var(--green-deep); line-height: 1; }
.rv-avg small { font-size: .95rem; font-weight: 500; color: var(--muted); margin-inline-start: 6px; }
.rv-summary .rv-count { color: var(--muted); font-size: .92rem; }
.rv-summary .rv-side { margin-inline-start: auto; font-size: .86rem; color: var(--muted); max-width: 330px; }

.stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.stars svg { width: 19px; height: 19px; fill: #DDDDD8; }
.stars svg.on { fill: var(--gold); }
.stars.lg svg { width: 26px; height: 26px; }

.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .rv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .rv-grid { grid-template-columns: 1fr; } }
.rv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.rv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(209,182,114,.7); }
.rv-who { display: flex; align-items: center; gap: 12px; }
.rv-who .rv-ico {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green);
  display: grid; place-items: center;
}
.rv-who .rv-ico svg { width: 20px; height: 20px; fill: var(--gold); }
.rv-who strong { display: block; color: var(--green-deep); font-size: 1rem; line-height: 1.5; }
.rv-who span { display: block; color: var(--gold-deep); font-size: .82rem; line-height: 1.5; }
.rv-text { color: var(--text); font-size: .96rem; line-height: 1.95; flex: 1; white-space: pre-line; overflow-wrap: anywhere; }
.rv-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 500; color: var(--green);
  background: rgba(43,74,66,.07); border-radius: 100px; padding: 4px 12px;
}
.rv-badge svg { width: 13px; height: 13px; fill: var(--green); }

.rv-empty {
  text-align: center; max-width: 560px; margin: 0 auto; padding: 46px 28px;
  border: 1px dashed rgba(143,115,64,.45); border-radius: var(--radius); background: #fff;
}
.rv-empty .stars { margin-bottom: 16px; }
.rv-empty h3 { margin-bottom: 8px; }
.rv-empty p { color: var(--muted); font-size: .95rem; }

/* «أسباب تدفعك لاختيار مكتبنا» — four reasons, centred like the mockup the office sent */
.section-head.rv-why-head { margin-inline: auto; text-align: center; }
.rv-why-head .eyebrow { justify-content: center; }
.rv-why-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold-deep); }
.rv-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .rv-why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .rv-why { grid-template-columns: 1fr; } }
.rv-why-card {
  padding: 30px 22px 26px; text-align: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.rv-why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(209,182,114,.7); }
.rv-why-ico {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(209,182,114,.16); border: 1px solid rgba(143,115,64,.22);
}
.rv-why-ico svg {
  width: 30px; height: 30px; fill: none; stroke: var(--gold-deep);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.rv-why-card h3 { font-size: 1.08rem; margin-bottom: 8px; text-wrap: balance; }
.rv-why-card p { font-size: .92rem; line-height: 1.85; color: var(--muted); text-wrap: balance; }
@media (prefers-reduced-motion: reduce) { .rv-why-card { transition: none; } }

/* ---------- Instagram (v16) ---------- */
.footer-social { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 8px 15px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .85rem; color: #DDE4DE; transition: border-color .25s, color .25s; }
.footer-social:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.footer-social .num { direction: ltr; unicode-bidi: embed; color: var(--gold); }
.contact-card.ig-card { grid-column: 1 / -1; align-items: center; }
.contact-card.ig-card .ig-btn { margin-inline-start: auto; direction: rtl; font-size: .9rem; color: var(--green-deep); flex: none; }
.contact-card.ig-card .ig-btn:hover { color: var(--gold-deep); }
@media (max-width: 520px) {
  .contact-card.ig-card { flex-wrap: wrap; }
  .contact-card.ig-card .ig-btn { margin-inline-start: 58px; }
}

/* ============================================================
   v18 — premium motion layer (seal star + arch language)
   Content untouched; only finish, depth and motion.
   ============================================================ */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* page arrives out of the green (continues the click curtain) */
html { background: var(--green-deep); }
body { animation: pageIn .55s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* click curtain between pages */
.curtain {
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  background: var(--green-deep); display: grid; place-items: center;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path .5s cubic-bezier(.7,0,.25,1);
}
.curtain.on { clip-path: circle(150% at 50% 50%); pointer-events: all; }
.curtain svg { width: 74px; height: 74px; fill: none; stroke: var(--gold); stroke-width: 2; opacity: 0; transition: opacity .3s ease .2s; }
.curtain.on svg { opacity: 1; animation: starSpin 2.4s linear infinite; }

/* gold reading-progress hairline */
.scroll-prog {
  position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 120;
  background: linear-gradient(270deg, var(--gold-deep), var(--gold) 60%, #F1E2B0);
  transform-origin: right center; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(209,182,114,.55);
  pointer-events: none;
}

/* back-to-top with progress ring */
.to-top {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(28,51,45,.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 12px 28px rgba(28,51,45,.3);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 100%; height: 100%; display: block; fill: none; }
.to-top .tt-track { stroke: rgba(209,182,114,.22); stroke-width: 2; }
.to-top .tt-ring { stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: center; }
.to-top .tt-arrow { stroke: #F4EFE2; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .to-top { display: none; } }

/* header: animated gold underline on links (desktop) */
@media (min-width: 921px) {
  .main-nav a:not(.nav-cta) { position: relative; border-bottom-color: transparent !important; }
  .main-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; inset-inline: 2px; bottom: -2px; height: 2px; border-radius: 2px;
    background: var(--gold); transform: scaleX(0); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .main-nav a:not(.nav-cta):hover::after, .main-nav a.active::after { transform: scaleX(1); }
  .nav-cta { position: relative; overflow: hidden; box-shadow: 0 8px 20px rgba(28,51,45,.2); }
}

/* drawn seal-star ornament (injected, decorative) */
.deco-star {
  position: absolute; top: 50%; inset-inline-end: -70px; z-index: 0;
  width: clamp(260px, 34vw, 470px); height: auto; aspect-ratio: 1;
  fill: none; stroke: var(--gold); stroke-width: .55; opacity: .34;
  translate: 0 -50%; pointer-events: none;
  animation: starSpin 90s linear infinite;
}
.deco-star path, .deco-star circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLine 2.6s cubic-bezier(.6,0,.2,1) .25s forwards; }
.deco-star circle { stroke-width: .35; animation-delay: .9s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes starSpin { to { rotate: 360deg; } }
.page-hero .hero-inner, .section.dark > .container, .cta-band .cta-inner { position: relative; z-index: 1; }
.section.dark { position: relative; overflow: hidden; }
.section.dark .deco-star { inset-inline-end: auto; inset-inline-start: -90px; opacity: .22; }
@media (max-width: 640px) {
  .deco-star { width: 250px; inset-inline-end: -110px; opacity: .24; }
}

/* headline words rise one by one */
.w { display: inline-block; }
.split-ready .w { opacity: 0; transform: translateY(.55em); animation: wordIn .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d, .15s) + var(--i) * 85ms); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
body.has-intro .hero-xl h1 { animation: none; opacity: 1; transform: none; }
body.has-intro .hero-xl h1.split-ready { --d: 1.3s; }
.words-done .split-ready .w { animation: none; opacity: 1; transform: none; }

/* home hero: drifting gold light + premium glass card */
.hero-xl::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  width: 70vw; height: 70vw; inset-inline-start: -22vw; top: -32vw;
  background: radial-gradient(circle, rgba(209,182,114,.2), rgba(209,182,114,0) 62%);
  mix-blend-mode: screen; animation: glowDrift 16s ease-in-out infinite alternate;
}
@keyframes glowDrift { to { transform: translate(12vw, 14vw); } }
.hero-xl-inner { z-index: 2; }
.hero-card { position: relative; }
.hero-card::before, .consult-form::before, .picker-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.4px;
  background: conic-gradient(from var(--ang), rgba(209,182,114,0) 0 62%, rgba(209,182,114,.9) 80%, rgba(241,226,176,1) 84%, rgba(209,182,114,0) 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinAng 7s linear infinite; pointer-events: none;
}
.consult-form { position: relative; }
@keyframes spinAng { to { --ang: 360deg; } }

/* eyebrow hairline draws in with its section */
.eyebrow::before { transition: width .9s cubic-bezier(.2,.7,.2,1) .25s; }
.reveal:not(.in) .eyebrow::before, .eyebrow.reveal:not(.in)::before { width: 0; }

/* photos unveil top-down as they enter */
.reveal .card-photo img, .area-row.reveal .a-thumb img, .reveal .arch-frame img, .online-figure.reveal img, .step-item.reveal .step-photo img {
  clip-path: inset(0 -40px -40px -40px);
  transition: clip-path 1.15s cubic-bezier(.7,0,.2,1) .12s, transform .55s ease;
}
.reveal:not(.in) .card-photo img, .area-row.reveal:not(.in) .a-thumb img, .reveal:not(.in) .arch-frame img, .online-figure.reveal:not(.in) img, .step-item.reveal:not(.in) .step-photo img {
  clip-path: inset(0 -40px 100% -40px);
}

/* cursor spotlight + gentle 3-D tilt on cards (desktop pointer) */
.spot:hover {
  background-image: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(209,182,114,.15), rgba(209,182,114,0) 62%);
  background-repeat: no-repeat;
}
.area-row.spot:hover, .p-card.spot:hover {
  transform: perspective(950px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .18s ease-out, box-shadow .3s ease, border-color .3s ease;
}

/* buttons: a gold sheen sweeps across */
.btn-gold, .btn-green, .nav-cta, .mc-book { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after, .btn-green::after, .nav-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.42) 50%, transparent 70%);
  transform: translateX(120%); transition: transform .75s ease;
}
.btn-gold:hover::after, .btn-green:hover::after, .nav-cta:hover::after { transform: translateX(-120%); }

/* how-cards: outlined numbers that fill on hover */
@media (hover: hover) {
  .how-card .h-num { color: transparent; -webkit-text-stroke: 1.3px var(--gold); transition: color .45s ease; }
  .how-card:hover .h-num { color: var(--gold); }
}

/* methodology quote is read word by word as you scroll */
.method-quote .qw { opacity: .26; transition: opacity .45s ease; }
.method-quote .qw.lit { opacity: 1; }

/* footer wordmark: slow gold shimmer */
.footer-mega {
  background:
    linear-gradient(100deg, rgba(244,239,226,0) 42%, rgba(244,239,226,.45) 50%, rgba(244,239,226,0) 58%),
    linear-gradient(180deg, rgba(209,182,114,.4), rgba(209,182,114,.05));
  background-size: 260% 100%, 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 130% 0, 0 0; } 60%, 100% { background-position: -30% 0, 0 0; } }

/* soft depth on section heads */
.section-head h2 { text-wrap: balance; }

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .curtain { display: none; }
  .deco-star, .deco-star path, .deco-star circle { animation: none; stroke-dashoffset: 0; }
  .split-ready .w { animation: none; opacity: 1; transform: none; }
  .hero-xl::before, .hero-card::before, .consult-form::before, .picker-card::before, .footer-mega { animation: none; }
  .reveal .card-photo img, .area-row.reveal .a-thumb img, .reveal .arch-frame img, .online-figure.reveal img, .step-item.reveal .step-photo img { clip-path: none !important; transition: none; }
  .method-quote .qw { opacity: 1; }
  .to-top, .scroll-prog { transition: none; }
}
/* v18 polish */
.site-header.scrolled { background: rgba(255, 255, 255, .97); }
.page-hero .deco-star { opacity: .5; stroke-width: .7; }

/* ============================================================
   v19 — attraction features + geometric seal design layer
   ============================================================ */

/* ----- live office status pill ----- */
.office-status {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .8rem; line-height: 1.5; padding: 6px 14px 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(209, 182, 114, .3); color: #E9E4D6;
}
.office-status b { font-weight: 700; }
.office-status span { opacity: .78; }
.office-status i { width: 8px; height: 8px; border-radius: 50%; background: #C9A15A; flex: none; position: relative; }
.office-status.is-open i { background: #4FD18B; }
.office-status.is-open i::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #4FD18B;
  animation: stPulse 1.8s ease-out infinite;
}
@keyframes stPulse { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.hero-card .office-status { margin-bottom: 14px; }
.page-hero .office-status { margin-top: 20px; }
.office-status.on-card { margin-top: 10px; background: rgba(43, 74, 66, .06); border-color: rgba(143, 115, 64, .3); color: var(--green-deep); }
.office-status.on-card i { background: var(--gold-deep); }
.office-status.on-card.is-open i { background: #1E9E5A; }
.office-status.on-card.is-open i::after { border-color: #1E9E5A; }

/* ----- WhatsApp concierge panel ----- */
.wa-panel {
  position: fixed; z-index: 120; bottom: 94px; inset-inline-start: 24px;
  width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 130px);
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 20px; border: 1px solid rgba(209, 182, 114, .4);
  box-shadow: 0 30px 80px rgba(16, 32, 28, .35);
  opacity: 0; transform: translateY(16px) scale(.97); transform-origin: bottom right;
  transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
}
[dir="rtl"] .wa-panel { transform-origin: bottom right; }
.wa-panel.on { opacity: 1; transform: none; }
.wap-head {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  background: var(--green-deep); color: #F4EFE2; padding: 16px 18px 14px;
}
.wap-logo { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(209,182,114,.6), 0 0 0 4px rgba(209,182,114,.12); }
.wap-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wap-id { flex: 1; min-width: 0; display: grid; line-height: 1.45; }
.wap-id strong { font-size: 1rem; }
.wap-sub { font-size: .76rem; color: var(--gold); }
.wap-x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(209,182,114,.35); background: transparent; display: grid; place-items: center; cursor: pointer; }
.wap-x svg { width: 16px; height: 16px; stroke: #F4EFE2; stroke-width: 2; fill: none; }
.wap-x:hover { background: rgba(209,182,114,.15); }
.wap-head .office-status { width: 100%; justify-content: center; font-size: .74rem; padding: 4px 10px; background: rgba(255,255,255,.05); }
.wap-body {
  padding: 18px 16px 10px; overflow-y: auto; flex: 1;
  background: #F3EFE6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 96 96'%3E%3Cpath d='M48 10l6 14 14-6-6 14 14 6-14 6 6 14-14-6-6 14-6-14-14 6 6-14-14-6 14-6-6-14 14 6z' fill='none' stroke='%23D1B672' stroke-opacity='.22' stroke-width='1.2'/%3E%3C/svg%3E") 0 0 / 64px 64px;
}
.wap-bubble {
  position: relative; background: #fff; border-radius: 4px 14px 14px 14px; padding: 11px 14px;
  font-size: .88rem; line-height: 1.8; color: var(--text); box-shadow: 0 2px 6px rgba(0,0,0,.06);
  max-width: 92%; margin-bottom: 14px;
}
.wap-closed { font-size: .78rem; color: var(--gold-deep); background: rgba(209,182,114,.14); border-radius: 10px; padding: 8px 12px; margin: -4px 0 12px; }
.wap-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wap-topics a {
  display: flex; align-items: center; gap: 8px; min-height: 48px;
  background: #fff; border: 1px solid rgba(43,74,66,.14); border-radius: 12px;
  padding: 8px 10px; font-size: .8rem; font-weight: 500; line-height: 1.45; color: var(--green-deep);
  transition: border-color .2s, background .2s, transform .2s;
}
.wap-topics a svg { width: 16px; height: 16px; flex: none; fill: #1E9E5A; }
.wap-topics a:hover, .wap-topics a:focus-visible { border-color: var(--gold); background: #FFFBF0; transform: translateY(-2px); }
.wap-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; border-top: 1px solid var(--line); font-size: .8rem; background: #fff;
}
.wap-foot a { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--green-deep); }
.wap-foot a svg, .wap-lock svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-deep); stroke-width: 1.8; }
.wap-lock { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.wa-float[aria-expanded="true"] { background: var(--green-deep); box-shadow: 0 0 0 3px var(--gold), 0 10px 26px rgba(0,0,0,.22); }
@media (max-width: 640px) {
  .wa-panel { inset-inline: 10px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); max-height: calc(100vh - 110px); }
  .wap-topics a { font-size: .78rem; }
}

/* one-time nudge beside the WhatsApp button */
.wa-nudge {
  position: fixed; z-index: 61; bottom: 32px; inset-inline-start: 94px;
  display: grid; gap: 2px; text-align: start; cursor: pointer;
  background: #fff; border: 1px solid rgba(209,182,114,.55); border-radius: 14px 14px 4px 14px;
  padding: 10px 16px; font-family: var(--font-body); color: var(--green-deep);
  box-shadow: 0 16px 40px rgba(16,32,28,.18);
  opacity: 0; transform: translateX(14px); transition: opacity .35s, transform .35s;
}
.wa-nudge.on { opacity: 1; transform: none; }
.wa-nudge b { font-size: .9rem; }
.wa-nudge span { font-size: .76rem; color: var(--muted); }

/* ----- save-contact card + footer button ----- */
.vcard-card { border-color: rgba(209,182,114,.5); background: linear-gradient(135deg, #fff, #FBF7EC); }
.footer-vcard { background: transparent; font-family: var(--font-body); cursor: pointer; margin-inline-start: 8px; }
.footer-vcard span { color: inherit; }

/* ----- consultation form: segmented mode + preview + inline errors ----- */
.fl-label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 7px; color: var(--green-deep); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: block; text-align: center; padding: 11px 8px; border-radius: 8px; font-size: .88rem;
  border: 1px solid var(--line); background: var(--paper); color: var(--muted); transition: all .2s;
}
.seg input:checked + span { border-color: var(--green); background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(43,74,66,.22); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-field.invalid input { border-color: #B4483A; box-shadow: 0 0 0 3px rgba(180,72,58,.12); }
.f-err { display: block; color: #A63E31; font-size: .8rem; margin-top: 6px; }
.wa-preview { margin: 4px 0 18px; padding: 14px; border-radius: 12px; background: #EFE9DD; }
.wp-label { display: flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--muted); margin-bottom: 9px; }
.wp-label svg { width: 15px; height: 15px; fill: #1E9E5A; }
.wp-bubble {
  background: #DCF8C6; border-radius: 12px 4px 12px 12px; padding: 10px 13px;
  font-size: .84rem; line-height: 1.85; color: #1F2B24; box-shadow: 0 1px 2px rgba(0,0,0,.08);
  overflow-wrap: anywhere; white-space: pre-line;
}
.wp-bubble b { font-weight: 700; }
.wp-empty { color: #7C8A80; }

/* ----- geometric seal pattern (dark bands) ----- */
@property --gx { syntax: '<percentage>'; inherits: false; initial-value: 25%; }
@property --gy { syntax: '<percentage>'; inherits: false; initial-value: 35%; }
.geo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23D1B672' stroke-width='1'%3E%3Crect x='26' y='26' width='36' height='36'/%3E%3Cpath d='M44 18.5L69.5 44 44 69.5 18.5 44z'/%3E%3Ccircle cx='44' cy='44' r='8'/%3E%3Cpath d='M44 0v18.5M44 69.5V88M0 44h18.5M69.5 44H88M0 0l26 26M88 0L62 26M0 88l26-26M88 88L62 62'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(circle at var(--gx) var(--gy), #000 0, rgba(0,0,0,.4) 26%, transparent 58%);
  mask-image: radial-gradient(circle at var(--gx) var(--gy), #000 0, rgba(0,0,0,.4) 26%, transparent 58%);
  animation: geoSweep 22s ease-in-out infinite alternate;
}
@keyframes geoSweep { 0% { --gx: 12%; --gy: 30%; } 50% { --gx: 62%; --gy: 80%; } 100% { --gx: 92%; --gy: 22%; } }
.hero-xl .geo { z-index: 1; opacity: .16; }
.site-footer { position: relative; overflow: hidden; }
.site-footer > :not(.geo) { position: relative; z-index: 1; }
.picker-card > :not(.geo) { position: relative; z-index: 1; }
.cta-band .geo { opacity: .16; }
@media (max-width: 640px) { .geo { animation: none; } }

/* ----- hero seal stamp ----- */
.seal-stamp {
  position: absolute; z-index: 1; top: 54px; inset-inline-end: 0;
  width: 168px; height: 168px; pointer-events: none;
  opacity: 0; animation: stampIn 1.1s cubic-bezier(.2,.7,.2,1) 2.4s forwards;
  transition: translate .6s cubic-bezier(.2,.7,.2,1);
}
.seal-stamp svg { width: 100%; height: 100%; overflow: visible; }
.seal-stamp .ss-o { fill: rgba(28,51,45,.55); stroke: rgba(209,182,114,.7); stroke-width: 1.2; }
.seal-stamp .ss-i { fill: none; stroke: rgba(209,182,114,.45); stroke-width: 1; }
.seal-stamp .ss-star { fill: none; stroke: rgba(209,182,114,.35); stroke-width: 1; }
.seal-stamp .ss-rot { transform-origin: 100px 100px; animation: starSpin 40s linear infinite; }
.seal-stamp text { font-family: var(--font-head); font-size: 15.5px; font-weight: 700; fill: var(--gold); letter-spacing: 0; }
.seal-stamp img { position: absolute; width: 41%; height: 41%; inset: 29.5%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(209,182,114,.6); }
@keyframes stampIn { from { opacity: 0; transform: scale(1.35) rotate(-14deg); } to { opacity: 1; transform: none; } }
body:not(.has-intro) .seal-stamp { animation-delay: .6s; }
@media (max-width: 1180px) { .seal-stamp { width: 132px; height: 132px; top: 40px; } }
@media (max-width: 980px) { .seal-stamp { display: none; } }

/* ----- gold ring cursor (desktop mouse only) ----- */
.cur-ring {
  position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
  width: 0; height: 0; opacity: 0; transition: opacity .25s;
}
.cur-ring::before {
  content: ""; position: absolute; width: 34px; height: 34px; left: -17px; top: -17px;
  border-radius: 50%; border: 1.5px solid var(--gold-deep);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s, border-color .25s;
}
.cur-ring.on { opacity: 1; }
.cur-ring.on-dark::before { border-color: var(--gold); }
.cur-ring.hot::before { transform: scale(1.65); background: rgba(209,182,114,.14); border-color: var(--gold); }
.cur-ring.press::before { transform: scale(.8); }
body.wap-open .cur-ring::before { border-color: var(--gold); }

/* magnetic buttons glide back smoothly */
.magnet { transition: translate .35s cubic-bezier(.2,.7,.2,1), transform .25s, background .2s, color .2s, box-shadow .25s, border-color .2s; }
.hero-card { transition: translate .6s cubic-bezier(.2,.7,.2,1); }

/* ----- gold ink sweep on emphasised words ----- */
.facts-statement em, .section-head h2 em {
  background: linear-gradient(100deg, var(--gold-deep) 30%, #D9BE73 45%, var(--gold-deep) 60%) 0 0 / 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: inkSweep 5s ease-in-out infinite;
}
@keyframes inkSweep { 0%, 15% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }

/* ----- how-cards stack like folders while scrolling (tablet + phone) ----- */
@media (max-width: 860px) {
  .how-cards { gap: 14px; }
  .how-card { position: sticky; top: calc(88px + var(--k, 0) * 16px); box-shadow: 0 -12px 30px rgba(16,32,28,.18); }
  .how-card:nth-child(2) { --k: 1; }
  .how-card:nth-child(3) { --k: 2; }
}

/* ----- reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  .geo, .seal-stamp, .seal-stamp .ss-rot, .office-status.is-open i::after, .facts-statement em, .section-head h2 em { animation: none; }
  .seal-stamp { opacity: 1; }
  .wa-panel, .wa-nudge { transition: none; }
}
.wa-panel[hidden], .office-status[hidden], .closed-hint[hidden] { display: none; }
.contact-card.vcard-card { grid-column: 1 / -1; align-items: center; }
.contact-card.vcard-card .ig-btn { margin-inline-start: auto; direction: rtl; font-size: .9rem; color: var(--green-deep); flex: none; font-family: var(--font-body); cursor: pointer; }
.contact-card.vcard-card .ig-btn:hover { color: var(--gold-deep); }
@media (max-width: 520px) {
  .contact-card.vcard-card { flex-wrap: wrap; }
  .contact-card.vcard-card .ig-btn { margin-inline-start: 58px; }
}

/* ============================================================
   v20 — mobile polish (every phone width 320 → 768)
   ============================================================ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
.office-status { border-radius: 16px; }
/* "عرض الموقع على خرائط Google" keeps Arabic order inside the LTR-safe contact cards */
.contact-card .ar a, .contact-card a.ar { direction: rtl; unicode-bidi: isolate; }

@media (max-width: 860px) {
  /* photos unveil quicker on touch screens so cards are never caught empty */
  .reveal .card-photo img, .area-row.reveal .a-thumb img, .reveal .arch-frame img, .online-figure.reveal img, .step-item.reveal .step-photo img {
    transition: clip-path .7s cubic-bezier(.6,0,.2,1), transform .55s ease;
  }
}

@media (max-width: 640px) {
  .brand-name span { font-size: .76rem; }
  .hero-kicker { font-size: .78rem; }
  /* 16px inputs: iPhone does not zoom the page when typing */
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; }
  .consult-form { padding: 24px 18px; }
  .consult-form button[type="submit"] { white-space: nowrap; font-size: .95rem; padding-inline: 14px; }
  .hero-card .office-status { font-size: .76rem; padding: 5px 12px 5px 10px; }
  .page-hero .office-status { font-size: .76rem; }
  .office-status.on-card { font-size: .76rem; }
  .wa-panel .wap-topics a { min-height: 50px; }
  .footer-vcard { margin-inline-start: 0; }
}

@media (max-width: 420px) {
  /* deliverables: one tile per row, icon beside the text */
  .dgrid { grid-template-columns: 1fr; gap: 10px; }
  .d-tile { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: start; padding: 16px; }
  .d-tile svg { grid-row: 1 / span 2; margin: 2px 0 0; width: 30px; height: 30px; }
  .d-tile h3 { font-size: 1rem; margin-bottom: 2px; }
  .d-tile p { font-size: .84rem; }
  .seg span { font-size: .82rem; padding: 10px 4px; }
  .consult-form button[type="submit"] { font-size: .9rem; gap: 8px; }
  .facts-grid h3 { font-size: .92rem; }
  .wap-topics { gap: 6px; }
  .wap-topics a { font-size: .76rem; padding: 7px 8px; gap: 6px; }
}

@media (max-width: 340px) {
  .container { width: calc(100% - 28px); }
  .hero-xl h1 { font-size: 1.75rem; }
  .hero-card .btn { font-size: .78rem; }
  .brand-name strong { font-size: 1rem; }
  .mobile-cta .mc-book { font-size: .88rem; }
}
@media (max-width: 920px) { .brand-name span { font-size: .76rem; } }
/* no lonely last word on narrow screens */
p, li, .faq summary { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* ============================================================
   v21 — floating glass booking bar (phones)
   ============================================================ */
@media (max-width: 640px) {
  body.ctabar .site-footer { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .mobile-cta {
    inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 8px; gap: 8px; border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .02) 55%),
      linear-gradient(90deg, rgba(28, 51, 45, .66), rgba(43, 74, 66, .6));
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, .22);
    border-top-color: rgba(255, 255, 255, .38);
    box-shadow:
      0 18px 40px rgba(10, 24, 20, .35),
      0 2px 6px rgba(10, 24, 20, .18),
      inset 0 1px 0 rgba(255, 255, 255, .25),
      inset 0 -1px 0 rgba(209, 182, 114, .18);
    transform: translateY(calc(100% + 30px)); opacity: 0;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
  }
  .mobile-cta.on { transform: none; opacity: 1; }
  /* thin gold rim of light along the top edge */
  .mobile-cta::before {
    content: ""; position: absolute; top: -1px; inset-inline: 18%; height: 1px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(241, 226, 176, .95), transparent);
  }
  .mobile-cta .mc-ic {
    width: 48px; height: 48px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
    transition: background .2s, transform .2s;
  }
  .mobile-cta .mc-ic:active { transform: scale(.92); background: rgba(209, 182, 114, .25); }
  .mobile-cta .mc-ic svg { fill: #F1E2B0; }
  .mobile-cta .mc-ic[aria-expanded="true"] { background: rgba(209, 182, 114, .3); border-color: rgba(241, 226, 176, .6); }
  .mobile-cta .mc-book {
    display: grid; place-items: center; min-height: 48px; padding: 0 12px;
    background: linear-gradient(135deg, #E9D49A 0%, #D1B672 45%, #B8995A 100%);
    color: #1C332D; font-weight: 800; letter-spacing: .01em;
    box-shadow: 0 6px 16px rgba(143, 115, 64, .4), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(143, 115, 64, .35);
    transition: transform .2s;
  }
  .mobile-cta .mc-book:active { transform: scale(.97); }
  /* WhatsApp panel sits just above the floating bar */
  .wa-panel { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @media (max-width: 640px) { .mobile-cta { background: rgba(22, 42, 37, .94); } }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }
@media (max-width: 640px) {
  .mobile-cta .mc-book::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
    transform: translateX(130%); animation: mcSheen 5s ease-in-out 1.5s infinite;
  }
}
@keyframes mcSheen { 0%, 62% { transform: translateX(130%); } 100% { transform: translateX(-130%); } }
@media (prefers-reduced-motion: reduce) { .mobile-cta .mc-book::after { animation: none; } }

/* ============================================================
   v22 — founder band, booking day/time, crumbs, tabs, a11y
   ============================================================ */

/* ----- founder + credentials band ----- */
.founder-band { overflow: hidden; }
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder-photo { position: relative; justify-self: center; width: min(360px, 100%); margin: 0; }
.founder-photo img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%;
  border-radius: 200px 200px 18px 18px; position: relative; z-index: 1;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.fp-ring {
  position: absolute; inset: -14px; border-radius: 214px 214px 30px 30px; z-index: 0;
  border: 1px solid rgba(209, 182, 114, .55);
}
.fp-ring::after {
  content: ""; position: absolute; inset: -16px; border-radius: inherit;
  border: 1px dashed rgba(209, 182, 114, .22);
}
.founder-copy h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 6px 0 4px; color: #F4EFE2; }
.fc-lead { color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.cred-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cred {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(209, 182, 114, .25); color: #EDE9DD; font-weight: 500; line-height: 1.6; font-size: .95rem;
  transition: border-color .3s, transform .3s, background .3s;
}
.cred:hover { border-color: rgba(209, 182, 114, .6); transform: translateY(-3px); background: rgba(209, 182, 114, .08); }
.cred-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(209, 182, 114, .14); }
.cred-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { width: min(270px, 78%); }
  .founder-copy { text-align: start; }
}
@media (max-width: 560px) {
  .cred-list { grid-template-columns: 1fr; gap: 9px; }
  .cred { padding: 11px 13px; font-size: .9rem; }
  .cred-ic { width: 34px; height: 34px; }
  .founder-band .btn-row { display: flex; flex-wrap: nowrap; gap: 8px; }
  .founder-band .btn { flex: 1; padding: 12px 6px; font-size: .86rem; white-space: nowrap; }
}

/* ----- booking: preferred day + time window ----- */
.fl-label small { font-weight: 400; color: var(--muted); }
.day-strip {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 6px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.day-chip, .slot-chip {
  flex: none; display: grid; gap: 1px; text-align: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); border-radius: 12px;
  font-family: var(--font-body); color: var(--text); transition: all .2s;
}
.day-chip { min-width: 84px; padding: 8px 10px; scroll-snap-align: start; }
.day-chip b, .slot-chip b { font-size: .84rem; color: var(--green-deep); }
.day-chip span, .slot-chip span { font-size: .76rem; color: var(--muted); }
.slot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-chip { padding: 9px 6px; }
.day-chip[aria-pressed="true"], .slot-chip[aria-pressed="true"] {
  background: var(--green); border-color: var(--green); box-shadow: 0 6px 16px rgba(43, 74, 66, .22);
}
.day-chip[aria-pressed="true"] b, .slot-chip[aria-pressed="true"] b,
.day-chip[aria-pressed="true"] span, .slot-chip[aria-pressed="true"] span { color: #fff; }
.day-chip:focus-visible, .slot-chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.when-note { font-size: .76rem; color: var(--muted); margin-top: 8px; }

/* ----- breadcrumbs ----- */
.crumbs { display: flex; align-items: center; gap: 6px; font-size: .8rem; margin-bottom: 14px; color: #C9CFC6; }
.crumbs a { color: var(--gold); }
.crumbs a:hover { text-decoration: underline; }
.crumbs svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .7; }

/* ----- practice areas: sticky jump tabs ----- */
.area-tabs {
  position: sticky; top: var(--hdr-h, 76px); z-index: 40;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(28, 51, 45, .06);
}
.at-inner { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.at-inner::-webkit-scrollbar { display: none; }
.area-tabs a {
  flex: none; padding: 7px 14px; border-radius: 999px; font-size: .84rem; font-weight: 500;
  color: var(--green-deep); border: 1px solid var(--line); background: #fff; transition: all .2s;
}
.area-tabs a:hover { border-color: var(--gold); }
.area-tabs a.on { background: var(--green); border-color: var(--green); color: #fff; }
.p-card[id^="area-"] { scroll-margin-top: calc(var(--hdr-h, 76px) + 70px); }

/* ----- accessibility: skip link + visible keyboard focus ----- */
.skip-link {
  position: fixed; top: 10px; inset-inline-start: 10px; z-index: 10000;
  background: var(--green-deep); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 700;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; outline: 2px solid var(--gold); }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-deep); outline-offset: 3px;
}
.on-dark a:focus-visible, .site-footer a:focus-visible, .on-dark button:focus-visible { outline-color: var(--gold); }
/* 404 page */
.nf-hero .hero-inner { padding: 90px 0 80px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.nf-links a { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--green-deep); font-weight: 500; }
.nf-links a:hover { border-color: var(--gold); color: var(--gold-deep); }
.founder-photo img { height: auto; }
.form-wrap > *, .consult-form, .when-field { min-width: 0; }
.day-strip { max-width: 100%; }
.fl-label small { font-size: .82rem; }
.crumbs a { padding: 8px 0; }
.brand-name span { font-size: .76rem; }

/* ============================================================
   v23 — about arch photo: readable on mobile (no washed-out sky)
   ============================================================ */
@media (max-width: 640px) {
  .arch-frame { width: min(280px, 72vw); }
  .split { gap: 30px; }
  .hero-figure .fig-star { top: -16px; inset-inline-end: -14px; width: 38px; height: 38px; }
}
/* the big px radii stopped clipping the img in Chrome — use %-based arch + clip-path on the frame */
.arch-frame { border-radius: 50% 50% 4px 4px / 38.5% 38.5% 4px 4px; clip-path: inset(0 round 50% 50% 4px 4px / 38.5% 38.5% 4px 4px); }
.hero-figure::before { border-radius: 50% 50% 12px 12px / 36% 36% 12px 12px; }

/* ============================================================
   v24 — about teaser: text + arch photo read as ONE section
   ============================================================ */
.about-teaser { background: linear-gradient(180deg, #F2F1EC, #EDEBE3); }
.about-teaser .split { align-items: center; }
@media (max-width: 860px) {
  .about-teaser { padding: 46px 0 50px; }
  .about-teaser .split { gap: 26px; }
  /* photo sits directly under its own text, inside the same tinted band */
  .about-teaser .arch-frame { width: min(280px, 72vw); }
  .about-teaser .hero-figure { margin-top: 4px; }
}
/* v25 — mobile: arch photo first, then the "من نحن" text under it */
@media (max-width: 860px) {
  .about-teaser .hero-figure { order: -1; margin-top: 0; }
}

/* ============================================================
   v26 — fine detail layer (certificate frames, hairlines, corners)
   ============================================================ */

/* brand text selection */
::selection { background: rgba(209, 182, 114, .5); color: #1C332D; }

/* branded scrollbar */
html { scrollbar-color: #2B4A42 #ECEAE3; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #ECEAE3; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #3A5C52, #1C332D); border-radius: 8px; border: 3px solid #ECEAE3; }
::-webkit-scrollbar-thumb:hover { background: #8F7340; }

/* certificate-style double frame with corner seals (deed/attestation look) */
.cert-frame { position: absolute; inset: 13px; pointer-events: none; border: 1px solid rgba(209, 182, 114, .4); }
.cert-frame::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(209, 182, 114, .16); }
.cert-frame .cf-c { position: absolute; width: 15px; height: 15px; fill: var(--gold); filter: drop-shadow(0 0 5px rgba(28, 51, 45, .9)); }
.cf-tl { top: -8px; left: -8px; } .cf-tr { top: -8px; right: -8px; }
.cf-bl { bottom: -8px; left: -8px; } .cf-br { bottom: -8px; right: -8px; }
.page-hero .cert-frame { z-index: 0; }
@media (max-width: 640px) {
  .cert-frame { inset: 9px; }
  .cert-frame .cf-c { width: 12px; height: 12px; }
}

/* fine white hairline matte inside photos (gallery framing) */
.card-photo::before {
  content: ""; position: absolute; inset: 8px; z-index: 1; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .4);
}
.a-thumb { position: relative; }
.a-thumb::after, .step-photo::after {
  content: ""; position: absolute; inset: 6px; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .38); border-radius: 8px;
}
.step-item .step-photo { position: relative; }
.arch-frame::before {
  content: ""; position: absolute; inset: 9px; z-index: 1; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50% 50% 3px 3px / 38.5% 38.5% 3px 3px;
}
.portrait-frame img { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 26px 60px rgba(28, 51, 45, .22); }

/* gold corner brackets that grow on hover (light cards) */
.serve-card, .d-tile, .fact-tile, .rv-why-card {
  background-image:
    linear-gradient(rgba(177, 146, 83, .75), rgba(177, 146, 83, .75)),
    linear-gradient(rgba(177, 146, 83, .75), rgba(177, 146, 83, .75));
  background-repeat: no-repeat;
  background-position: calc(100% - 11px) 11px, calc(100% - 11px) 11px;
  background-size: 20px 1px, 1px 20px;
  transition: background-size .4s cubic-bezier(.2, .7, .2, 1), transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.serve-card:hover, .d-tile:hover, .fact-tile:hover, .rv-why-card:hover { background-size: 34px 1px, 1px 34px; }

/* steps: numbered ring medallions */
.step-item .s-ord {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid rgba(143, 115, 64, .45); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FFFDF6, #F4EFE2);
  box-shadow: 0 3px 10px rgba(28, 51, 45, .08);
  font-size: 1rem; margin-inline-end: 10px;
}

/* FAQ answers ease in */
.faq details[open] .faq-a { animation: faqIn .38s cubic-bezier(.2, .7, .2, 1); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* value chips: gold tick line draws under on hover */
.value-chip { position: relative; overflow: hidden; }
.value-chip::after {
  content: ""; position: absolute; inset-inline: 30%; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .35s ease;
}
.value-chip:hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .faq details[open] .faq-a { animation: none; }
  .serve-card, .d-tile, .fact-tile, .rv-why-card, .value-chip::after { transition: none; }
}
