/* ==========================================================================
   NutriLife Clinic — Design System
   Clinical Editorial · Plum + Gold + Cream · Arabic RTL / English LTR
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --plum-950: #2b0a24;
  --plum-900: #3d0f33;
  --plum-800: #521344;
  --plum-700: #6b1a57;
  --plum-600: #7f2469;
  --plum-100: #eedbe6;
  --plum-50:  #f9eff5;

  --gold-700: #8f6f28;
  --gold-600: #b8913f;
  --gold-100: #f4e8cf;

  --ink:       #221a1e;
  --ink-2:     #574a50;
  --ink-3:     #7c6f74;

  --sand:      #fbf5e9;
  --sand-2:    #f3e9d7;
  --paper:     #fffaf1;
  --line:      #e9ddc8;
  --line-dark: #4a2440;

  /* Type */
  --font-sans: "IBM Plex Sans Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Serif", "IBM Plex Sans Arabic", Georgia, serif;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  /* Elevation (soft, not neumorphic) */
  --sh-1: 0 1px 2px rgba(34, 26, 30, .05), 0 1px 3px rgba(34, 26, 30, .04);
  --sh-2: 0 4px 12px rgba(34, 26, 30, .06), 0 1px 3px rgba(34, 26, 30, .04);
  --sh-3: 0 18px 40px -18px rgba(61, 15, 51, .28), 0 2px 8px rgba(34, 26, 30, .04);
  --sh-4: 0 40px 80px -40px rgba(61, 15, 51, .45);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 180ms;

  /* Layout */
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--plum-100); color: var(--plum-950); }

:focus-visible {
  outline: 3px solid var(--plum-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 300;
  background: var(--plum-950);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.container-narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-sm { padding-block: clamp(40px, 6vw, 72px); }
.section-tight { padding-block: clamp(32px, 4vw, 56px); }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }
.bg-deep { background: var(--plum-950); color: var(--sand); }
.bg-soft { background: var(--plum-50); }
.hairline { border-top: 1px solid var(--line); }

.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-6); }
.center { text-align: center; }

.grid { display: grid; gap: var(--sp-5); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 4. Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--plum-700);
  margin-bottom: var(--sp-4);
}
[dir="rtl"] .eyebrow { letter-spacing: 0; }
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: .6;
}
.bg-deep .eyebrow { color: #e8cf9d; }
.bg-soft .eyebrow { color: var(--plum-800); }

.display {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
}
[dir="rtl"] .display { line-height: 1.22; letter-spacing: -0.01em; }

h1, .h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.14; letter-spacing: -0.02em; }
[dir="rtl"] h1, [dir="rtl"] .h1 { line-height: 1.3; letter-spacing: -0.005em; }

h2, .h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -0.015em; }
[dir="rtl"] h2, [dir="rtl"] .h2 { line-height: 1.4; }

h3, .h3 { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.35; }
h4, .h4 { font-size: 17px; }

.lead {
  font-size: clamp(16.5px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 62ch;
}
.muted { color: var(--ink-3); }
.small { font-size: 14px; line-height: 1.65; }
.tiny { font-size: 12.5px; letter-spacing: .02em; }

.display em, .h1 em, .h2 em {
  font-style: italic;
  color: var(--plum-700);
  font-family: var(--font-display);
  font-weight: 400;
}
[dir="rtl"] .display em, [dir="rtl"] .h1 em, [dir="rtl"] .h2 em {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 500;
}
.bg-deep em { color: #e8cf9d; }

.serif { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }

.num, .latin { direction: ltr; unicode-bidi: isolate; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--plum-900);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--plum-800); box-shadow: var(--sh-3); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-wa { --btn-bg: #8f6f28; }
.btn-wa:hover { background: #7a5e20; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--paper); border-color: var(--ink); box-shadow: var(--sh-1); }

.btn-light { --btn-bg: #fff; --btn-fg: var(--plum-950); }
.btn-light:hover { background: var(--plum-50); }

.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--plum-800);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: gap var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.link-arrow:hover { gap: 14px; border-color: currentColor; }
.link-arrow svg { width: 16px; height: 16px; }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

/* ---------- 6. Top bar ---------- */
.topbar {
  background: var(--plum-950);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  letter-spacing: .01em;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar-addr { display: inline-flex; align-items: center; gap: 8px; }
.topbar-addr svg { width: 14px; height: 14px; opacity: .8; }
.topbar-links { display: inline-flex; align-items: center; gap: 18px; }
.topbar-links a { transition: color var(--dur) var(--ease); }
.topbar-links a:hover { color: #fff; }
.topbar .lang { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; }
.topbar .lang svg { width: 13px; height: 13px; }

/* ---------- 7. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(61,15,51,.35); background: rgba(250,248,243,.95); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name {
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--plum-950);
}
.logo-sub {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 3px;
}
[dir="rtl"] .logo-sub { letter-spacing: .04em; font-size: 10px; }

/* Nav list */
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-radius: var(--r-full);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-link:hover { color: var(--ink); background: rgba(107, 26, 87, .07); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--plum-900); font-weight: 600; background: var(--plum-50); }
.nav-link svg { width: 13px; height: 13px; opacity: .6; transition: transform var(--dur) var(--ease); }

.has-menu:hover > .nav-link svg,
.has-menu:focus-within > .nav-link svg { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.has-menu:hover > .submenu,
.has-menu:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.submenu a:hover { background: var(--plum-50); color: var(--plum-900); }
.submenu a small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 400; }
.submenu .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--plum-600); flex: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  align-items: center;
  justify-content: center;
}
.burger svg { width: 20px; height: 20px; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.drawer[hidden] { display: none; }
.drawer.is-open { display: block; }
.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(43, 10, 36, .45);
  backdrop-filter: blur(3px);
  opacity: 0;
  animation: fadeIn 220ms var(--ease) forwards;
}
.drawer-panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(88vw, 380px);
  background: var(--sand);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  transform: translateX(100%);
  animation: slideIn 260ms var(--ease) forwards;
  box-shadow: var(--sh-4);
}
[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-close {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--paper);
  display: grid; place-items: center;
}
.drawer-close svg { width: 18px; height: 18px; }
.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.drawer-nav a svg { width: 16px; height: 16px; opacity: .45; }
[dir="ltr"] .drawer-nav a svg { transform: scaleX(-1); }
.drawer-nav a.is-sub { padding-inline-start: 18px; font-size: 15.5px; color: var(--ink-2); }
.drawer-foot { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideIn { to { transform: translateX(0); } }

/* ---------- 8. Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 72px) clamp(40px, 6vw, 80px); }
.hero::before {
  content: "";
  position: absolute;
  inset-inline-end: -12%;
  top: -30%;
  width: 62vw; height: 62vw;
  max-width: 780px; max-height: 780px;
  background: radial-gradient(circle at 50% 50%, rgba(184,145,63,.16), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  position: relative;
}
.hero-copy > * + * { margin-top: var(--sp-5); }
.hero-copy .display { max-width: 15ch; }
[dir="rtl"] .hero-copy .display { max-width: 18ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(150deg, var(--plum-800), var(--plum-950) 62%);
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--sh-4);
  display: grid;
  place-items: center;
}
.hero-frame .grain {
  position: absolute; inset: 0;
  opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle at 30% 20%, #000, transparent 72%);
}
.hero-frame-content { position: relative; padding: 34px; width: 100%; color: #fff; }
.hero-frame-content .label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.86); text-shadow: 0 1px 2px rgba(0,0,0,.65), 0 2px 14px rgba(0,0,0,.55); }
.hero-frame-content blockquote {
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.45;
  margin-top: 14px;
  font-weight: 500;
}
.hero-frame-content cite { display: block; margin-top: 20px; font-style: normal; font-size: 13.5px; color: #e8cf9d; }

.hero-badge {
  position: relative;
  z-index: 3;
  margin-top: -16px;
  margin-inline-start: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--sh-3);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 290px;
}
.hero-badge svg { width: 22px; height: 22px; color: var(--plum-700); flex: none; }
.hero-badge b { display: block; font-size: 14px; }
.hero-badge span { font-size: 12px; color: var(--ink-3); line-height: 1.4; display: block; }

/* ---------- 9. Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.stat { padding: 22px 24px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; font-size: clamp(22px, 2.2vw, 29px); font-weight: 600; letter-spacing: -0.02em; color: var(--plum-900); line-height: 1.2; }
.stat span { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; display: block; margin-top: 4px; }

/* ---------- 10. Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: #ddcfb6; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.card .card-cta { margin-top: auto; padding-top: 20px; }

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--plum-50);
  color: var(--plum-800);
  margin-bottom: 18px;
  flex: none;
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge.is-gold { background: var(--gold-100); color: var(--gold-700); }
.icon-badge.is-deep { background: var(--plum-900); color: #fff; }

/* Service card with big index */
.service-card { position: relative; overflow: hidden; }
.service-card .idx {
  position: absolute;
  inset-inline-end: 20px;
  top: 14px;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--plum-50);
  pointer-events: none;
}
.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: var(--sand-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

/* ---------- 11. Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, var(--plum-100), var(--plum-50));
  min-height: 340px;
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.split-media.is-deep { background: linear-gradient(160deg, var(--plum-800), var(--plum-950)); border-color: var(--line-dark); }
.split-media .ph-label {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-start: 14px;
  font-size: 11px;
  letter-spacing: .08em;
  background: rgba(255,255,255,.85);
  color: var(--ink-2);
  padding: 5px 10px;
  border-radius: var(--r-full);
}

/* ---------- 12. Lists ---------- */
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.checklist svg { width: 18px; height: 18px; color: var(--plum-600); flex: none; margin-top: 3px; }
.checklist li.is-no { color: var(--ink-3); }
.checklist li.is-no svg { color: var(--ink-3); opacity: .8; }
.bg-deep .checklist li { color: rgba(255,255,255,.8); }
.bg-deep .checklist svg { color: #e8cf9d; }
.bg-deep .checklist li.is-no { color: rgba(255,255,255,.55); }
.bg-deep .checklist li.is-no svg { color: rgba(255,255,255,.45); }

.spec-list { display: grid; gap: 0; }
.spec-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.spec-list li:first-child { border-top: 1px solid var(--line); }
.spec-list .n {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--plum-700);
  direction: ltr;
}
.spec-list h3 { font-size: 17.5px; margin-bottom: 4px; }
.spec-list p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- 13. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 1.5px solid var(--line); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -14px;
  inset-inline-start: 0;
  background: var(--sand);
  padding-inline-end: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--plum-700);
}
.bg-paper .step::before { background: var(--paper); }
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

/* ---------- 14. Doctor band ---------- */
.band-doctor { position: relative; overflow: hidden; }
.band-doctor::after {
  content: "";
  position: absolute;
  inset-inline-end: -10%;
  top: -40%;
  width: 55vw; height: 55vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(184,145,63,.35), transparent 66%);
  pointer-events: none;
}
.band-doctor .split-media { background: linear-gradient(160deg, #521344, #2b0a24); border: 1px solid rgba(255,255,255,.12); }
.band-doctor .lead { color: rgba(255,255,255,.75); }

.cred-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-5); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  padding: 7px 13px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  font-weight: 500;
}
.chip svg { width: 14px; height: 14px; color: var(--plum-700); }
.bg-deep .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.85); }
.bg-deep .chip svg { color: #e8cf9d; }

/* ---------- 15. Media / logos strip ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 52px);
}
.logo-strip span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-3);
  opacity: .75;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}
.logo-strip span:hover { opacity: 1; color: var(--plum-800); }

/* ---------- 16. Results grid ---------- */
.ba-card {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--sh-1);
}
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 1 / .78; background: var(--plum-50); }
.ba-side { position: relative; display: grid; place-items: center; }
.ba-side:first-child { border-inline-end: 1px solid var(--line); }
.ba-side .ba-tag {
  position: absolute;
  top: 10px; inset-inline-start: 10px;
  font-size: 10.5px;
  letter-spacing: .08em;
  background: rgba(255,255,255,.9);
  padding: 3px 8px;
  border-radius: var(--r-full);
  color: var(--ink-2);
  font-weight: 600;
}
.ba-side svg { width: 34px; height: 34px; color: var(--plum-700); opacity: .35; }
.ba-meta { padding: 14px 16px; }
.ba-meta b { font-size: 14px; display: block; }
.ba-meta span { font-size: 12px; color: var(--ink-3); }

/* ---------- 17. Branches ---------- */
.branch {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.branch:hover { border-color: #ddcfb6; box-shadow: var(--sh-2); }
.branch .b-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.branch h3 { font-size: 17px; }
.branch .badge {
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-full);
  background: var(--plum-50);
  color: var(--plum-800);
  font-weight: 600;
  flex: none;
}
.branch .b-meta { font-size: 13.5px; color: var(--ink-2); display: flex; align-items: flex-start; gap: 8px; }
.branch .b-meta svg { width: 15px; height: 15px; flex: none; margin-top: 4px; opacity: .5; }

/* ---------- 18. CTA band ---------- */
.cta-band {
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(circle at 85% 15%, rgba(184,145,63,.55), transparent 55%),
    linear-gradient(140deg, var(--plum-900), var(--plum-950));
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 12px; max-width: 46ch; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-band .actions .btn { width: 100%; }
.cta-note { font-size: 12px; color: rgba(255,255,255,.5); text-align: center; }

/* ---------- 19. Page hero ---------- */
.page-hero { padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--plum-800); }
.crumbs svg { width: 12px; height: 12px; opacity: .5; }
[dir="rtl"] .crumbs svg { transform: scaleX(-1); }
.page-hero .display { max-width: 20ch; }

/* ---------- 20. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  cursor: pointer;
  font-weight: 500;
  font-size: 16.5px;
  list-style: none;
  transition: color var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--plum-800); }
.faq summary .plus {
  width: 26px; height: 26px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  position: relative;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; background: var(--ink-2); border-radius: 2px;
}
.faq summary .plus::before { width: 11px; height: 1.5px; }
.faq summary .plus::after { width: 1.5px; height: 11px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.faq details[open] summary .plus { background: var(--plum-900); border-color: var(--plum-900); }
.faq details[open] summary .plus::before, .faq details[open] summary .plus::after { background: #fff; }
.faq details[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq .answer { padding-bottom: 24px; padding-inline-end: 48px; color: var(--ink-2); font-size: 15px; line-height: 1.75; }

/* ---------- 21. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--sh-1);
}
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--sand);
  font-size: 15px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--plum-600);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(184,145,63,.13);
}
.field .hint { font-size: 12px; color: var(--ink-3); }
.form-note { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; line-height: 1.6; }

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .ic {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--plum-50); color: var(--plum-800);
  display: grid; place-items: center; flex: none;
}
.contact-row .ic svg { width: 18px; height: 18px; }
.contact-row .k { font-size: 12px; color: var(--ink-3); margin-bottom: 2px; }
.contact-row .v { font-size: 15px; font-weight: 500; }
.contact-row .v a:hover { color: var(--plum-800); text-decoration: underline; text-underline-offset: 3px; }
.phone-list { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.phone-list a { direction: ltr; unicode-bidi: isolate; }

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

/* ---------- 22. Footer ---------- */
.site-footer { background: var(--plum-950); color: rgba(255,255,255,.72); padding-block: clamp(44px, 6vw, 72px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); }
.site-footer .logo-name { color: #fff; }
.site-footer .logo-sub { color: rgba(255,255,255,.45); }
.footer-about p { font-size: 13.5px; line-height: 1.75; margin-top: 16px; max-width: 34ch; }
.footer-col h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 600; margin-bottom: 16px; }
[dir="rtl"] .footer-col h4 { letter-spacing: .02em; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14px; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.socials a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}

/* ---------- 23. WhatsApp float ---------- */
.wa-float {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-end: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding-inline: 20px;
  border-radius: var(--r-full);
  background: #8f6f28;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 14px 34px -10px rgba(143,111,40,.55);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.wa-float:hover { transform: translateY(-3px); background: #7a5e20; box-shadow: 0 20px 44px -12px rgba(143,111,40,.65); }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float span { white-space: nowrap; }

/* ---------- 24. Reveal animation ---------- */
.reveal { opacity: 1; transform: none; transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media print { .reveal, .js .reveal:not(.is-in) { opacity: 1 !important; transform: none !important; } }
.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 25. Responsive ---------- */
@media (max-width: 1080px) {
  .nav-list { display: none; }
  .burger { display: inline-flex; }
  .nav-actions .btn-desktop { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .hero-frame { aspect-ratio: 4 / 3.4; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .page-hero .display { max-width: none; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .topbar-addr { display: none; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-badge { margin-inline-start: 12px; margin-top: -12px; max-width: 270px; }
  .logo-sub { display: none; }
  .wa-float span { display: none; }
  .wa-float { width: 56px; padding-inline: 0; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .ba-pair { aspect-ratio: 1 / .9; }
  .faq .answer { padding-inline-end: 0; }
}

/* ---------- 25b. Brand wordmark (recreated from the official logo) ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-word {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  line-height: 1;
  direction: ltr;
  unicode-bidi: isolate;
}
.brand-word .w-nutri {
  font-family: "Kaushan Script", "Segoe Script", cursive;
  font-size: 27px;
  color: var(--plum-700);
  transform: rotate(-1.5deg);
  display: inline-block;
}
.brand-word .w-life {
  font-family: "Yellowtail", "Segoe Script", cursive;
  font-size: 32px;
  color: var(--gold-600);
  margin-left: -4px;
  transform: translateY(3px) rotate(-2deg);
  display: inline-block;
}
.brand-tag {
  display: block;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 5px;
}
.site-footer .brand-word .w-nutri { font-size: 30px; color: var(--plum-700); }
.site-footer .brand-word .w-life { font-size: 36px; color: var(--gold-600); }
.brand-badge {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fffaf0, #f6ecd9);
  border: 1px solid #ecdfc7;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 36px -20px rgba(43, 10, 36, .55);
}
.brand-badge .brand-word .w-nutri { font-size: 26px; }
.brand-badge .brand-word .w-life { font-size: 31px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 26. Media & imagery ---------- */
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-frame img.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero-frame .veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(43, 10, 36, .10) 0%, rgba(43, 10, 36, .3) 38%, rgba(43, 10, 36, .82) 76%, rgba(43, 10, 36, .95) 100%);
}
.hero-frame .frame-top {
  position: absolute;
  inset-block-start: 22px;
  inset-inline: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-frame .frame-chip {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  background: rgba(43, 10, 36, .35);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: var(--r-full);
}
[dir="rtl"] .hero-frame .frame-chip { letter-spacing: .02em; text-transform: none; font-size: 11.5px; }
.hero-frame-content { position: relative; z-index: 2; margin-top: auto; padding: 30px; }
.hero-frame { display: flex; flex-direction: column; justify-content: flex-end; }
.hero-frame-content blockquote { text-shadow: 0 2px 20px rgba(0,0,0,.25); }

.media-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--plum-50);
  border: 1px solid var(--line);
}
.media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-card.tall img { aspect-ratio: 4 / 4.6; }
.media-card figcaption { padding: 14px 16px; font-size: 12.5px; color: var(--ink-3); background: var(--paper); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}
.section-head .lead { margin-top: 12px; }

.doctor-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 70% 18%, rgba(184, 145, 63, .3), transparent 58%),
    linear-gradient(150deg, #521344, #2b0a24);
  aspect-ratio: 4 / 4.7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  color: #fff;
}
.doctor-visual .dv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.doctor-visual .dv-mark {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 26px;
  color: #e8cf9d;
}
.doctor-visual .dv-label {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
[dir="rtl"] .doctor-visual .dv-label { letter-spacing: .02em; font-size: 11px; }
.doctor-visual h3 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 12px; }
.doctor-visual p { color: rgba(255,255,255,.7); font-size: 13.5px; margin-top: 6px; }
.doctor-visual .dv-watermark {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
  font-family: "Kaushan Script", "Segoe Script", cursive;
  font-size: clamp(52px, 5.4vw, 78px);
  line-height: 1;
  color: rgba(255, 255, 255, .09);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.doctor-visual .dv-top, .doctor-visual .dv-bottom { position: relative; z-index: 1; }
.doctor-visual .dv-stat { display: flex; gap: 28px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); }
.doctor-visual .dv-stat b { display: block; font-size: 19px; color: #fff; }
.doctor-visual .dv-stat span { font-size: 11.5px; color: rgba(255,255,255,.55); }

/* Doctor photo — standalone figure on plum gradient */
.dv-figure-b {
  max-width: 380px; width: 100%; margin: 0;
  border-radius: var(--r-lg, 18px); overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 70px rgba(43,10,36,.28);
  background: linear-gradient(160deg, var(--plum-800) 0%, var(--plum-950) 100%);
}
.dv-figure-b img {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: center top;
  border-bottom: 1px solid rgba(232,207,157,.28);
}
.dv-figure-b .dv-name { padding: 18px 20px 0; }
.dv-figure-b .dv-name h3 { margin: 0; font-size: 19px; color: #fff; font-weight: 600; }
.dv-figure-b .dv-name p { margin: 4px 0 0; font-size: 12.5px; color: rgba(255,250,241,.78); letter-spacing: .01em; }
.dv-figure-b .dv-stat { display: flex; gap: 28px; padding: 14px 20px 20px; margin-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.dv-figure-b .dv-stat b { display: block; font-size: 19px; color: #fff; }
.dv-figure-b .dv-stat span { font-size: 11.5px; color: rgba(255,255,255,.55); }
@media (max-width: 600px) {
  .dv-figure-b .dv-stat { gap: 16px; }
  .dv-figure-b .dv-stat span { font-size: 10.5px; }
}

@media (max-width: 600px) {
  .doctor-visual { aspect-ratio: auto; padding: 24px; }
  .doctor-visual .dv-watermark { display: none; }
  .doctor-visual .dv-stat { gap: 16px; }
  .doctor-visual .dv-stat span { font-size: 10.5px; }
}

.media-note {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 10px;
  display: block;
}

.quote-block {
  border-inline-start: 3px solid var(--plum-600);
  padding-inline-start: 22px;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.65;
  color: var(--plum-900);
  font-weight: 500;
}
.quote-block cite { display: block; margin-top: 12px; font-size: 13px; font-style: normal; color: var(--ink-3); font-weight: 400; }

.feature-panel {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: var(--sh-2);
}

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--r-full);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.mini-stat { display: flex; align-items: baseline; gap: 10px; }
.mini-stat b { font-size: 28px; font-weight: 600; color: var(--plum-900); letter-spacing: -.02em; }
.mini-stat span { font-size: 13px; color: var(--ink-3); }

/* ---------- 27. Interior pages ---------- */
html[lang="en"] .display,
html[lang="en"] .page-title,
html[lang="en"] h1, html[lang="en"] .h1,
html[lang="en"] h2, html[lang="en"] .h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.01em;
}
html[lang="en"] .display { line-height: 1.02; }

.page-title {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.14;
  letter-spacing: -.025em;
  font-weight: 600;
}
[dir="rtl"] .page-title { line-height: 1.32; letter-spacing: -.005em; }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.page-hero .lead { margin-top: 18px; }
.page-hero .hero-cta, .page-hero .pill-row { margin-top: 26px; }
.page-hero-grid .display, .page-hero-grid .page-title { max-width: none; }

.hero-note { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--ink-3); margin-top: 16px; max-width: 56ch; line-height: 1.6; }
.hero-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--plum-600); }
.bg-deep .hero-note { color: rgba(255, 255, 255, .6); }

.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-media .veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(43, 10, 36, .05) 40%, rgba(43, 10, 36, .78) 100%);
}
.split-media .ph-label { z-index: 2; }
.split-media.is-deep .ph-label { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }

.img-caption { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 10px; }

.timeline { display: grid; }
.timeline li { display: grid; grid-template-columns: 132px 1fr; gap: 22px; padding-block: 24px; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when { font-family: var(--font-display); font-size: 15px; letter-spacing: .06em; color: var(--plum-700); direction: ltr; }
[dir="rtl"] .timeline .when { direction: rtl; }
.timeline h3 { font-size: 17px; margin-bottom: 6px; }
.timeline p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }

.details-list { display: grid; gap: 0; }
.details-list > div { padding-block: 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; font-size: 14.5px; }
.details-list > div:first-child { border-top: 1px solid var(--line); }
.details-list dt { color: var(--ink-3); }
.details-list dd { font-weight: 500; text-align: end; }

@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid .split-media { max-width: 560px; }
}
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .details-list > div { flex-direction: column; gap: 4px; }
  .details-list dd { text-align: start; }
}

@media (max-width: 620px) {
  .hero-frame { aspect-ratio: 4 / 3.6; }
  .hero-frame .frame-top { display: none; }
  .hero-frame-content { padding: 24px; }
}

/* ---------- 27b. Hero — photo variant ---------- */
.hero--photo {
  background: var(--plum-950);
  padding-block: clamp(52px, 6.4vw, 92px) clamp(56px, 6.4vw, 100px);
}
.hero--photo .hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero--photo .hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(.94) contrast(1.02);
}
.hero--photo .hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to left, rgba(43,10,36,.97) 0%, rgba(43,10,36,.93) 24%, rgba(43,10,36,.64) 52%, rgba(43,10,36,.18) 80%, rgba(43,10,36,.36) 100%),
    linear-gradient(180deg, rgba(43,10,36,.6) 0%, rgba(43,10,36,0) 28%, rgba(43,10,36,.55) 100%);
}
[dir="ltr"] .hero--photo .hero-bg::after {
  background:
    linear-gradient(to right, rgba(43,10,36,.97) 0%, rgba(43,10,36,.93) 24%, rgba(43,10,36,.64) 52%, rgba(43,10,36,.18) 80%, rgba(43,10,36,.36) 100%),
    linear-gradient(180deg, rgba(43,10,36,.6) 0%, rgba(43,10,36,0) 28%, rgba(43,10,36,.55) 100%);
}
.hero--photo .container { position: relative; z-index: 1; }
.hero--photo .eyebrow { color: #e8cf9d; }
.hero--photo .eyebrow::before { background: #e8cf9d; }
.hero--photo .display { color: #fffaf1; }
.hero--photo .display em { color: #e8cf9d; }
.hero--photo .lead { color: rgba(255,250,241,.84); }
.hero--photo .lead strong { color: #fffaf1; }
.hero--photo .pill {
  background: rgba(255,250,241,.07);
  border-color: rgba(255,250,241,.22);
  color: rgba(255,250,241,.86);
}
.hero--photo .btn-ghost { color: #fffaf1; border-color: rgba(255,250,241,.4); background: transparent; }
.hero--photo .btn-ghost:hover { background: rgba(255,250,241,.1); border-color: rgba(255,250,241,.62); }

.hero--photo .hero-grid { align-items: end; }
.hero--photo .hero-visual { display: flex; justify-content: flex-end; align-items: flex-end; }
.hero--photo .hero-badge { margin: 0 0 4px; background: rgba(255,250,241,.96); border-color: rgba(232,207,157,.45); }

.hero--photo .hero-quote {
  margin: 0;
  padding-inline-start: 18px;
  border-inline-start: 2px solid var(--gold-600);
  max-width: 46ch;
}
.hero--photo .hero-quote p {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.7;
  color: #e8cf9d;
}
.hero--photo .hero-quote cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(255,250,241,.55);
}

@media (max-width: 1080px) {
  .hero--photo .hero-visual { justify-content: flex-start; }
}
@media (max-width: 860px) {
  .hero--photo .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(43,10,36,.86) 0%, rgba(43,10,36,.9) 100%),
      linear-gradient(to left, rgba(43,10,36,.5), rgba(43,10,36,.2));
  }
  [dir="ltr"] .hero--photo .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(43,10,36,.86) 0%, rgba(43,10,36,.9) 100%),
      linear-gradient(to right, rgba(43,10,36,.5), rgba(43,10,36,.2));
  }
}
@media (max-width: 620px) {
  .hero--photo { padding-block: 40px 48px; }
  .hero--photo .hero-quote p { font-size: 16px; }
  .hero--photo .hero-badge { max-width: 100%; }
}

/* ---------- 28. Print ---------- */
@media print {
  .site-header, .topbar, .wa-float, .site-footer { display: none; }
  body { background: #fff; }
}
