/**
 * 4K Dental Models — Stylesheet
 * ─────────────────────────────────────────────────────────────────────────────
 * Design direction: Warm ivory editorial luxury (light mode).
 * Source: design-handoff/4k-dental-models-design-system (UI kit v2).
 *
 * Typography:
 *   - Headlines: DM Serif Display (EN)  /  Amiri (AR) — both serif with italic
 *   - Body/UI:   Outfit (EN)            /  Cairo (AR)
 *
 * Core tokens are defined on :root. Legacy var names (--glass-bg etc.) are kept
 * as aliases to the new system so existing page markup continues to render.
 * ─────────────────────────────────────────────────────────────────────────────
 */

/* ─── FONT IMPORT ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600;700;800&family=Cairo:wght@400;600;700;800&family=Amiri:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ─── DESIGN TOKENS ───────────────────────────────────────────────────────── */
:root {
  /* Core palette — warm ivory editorial */
  --bg:            #F8F5EF;   /* Page background — warm ivory */
  --bg-alt:        #FFFFFF;   /* Card / section surface */
  --surface:       #FFFFFF;   /* Alias — card surface */
  --dark:          #0E0C09;   /* Near-black text / CTA / footer */
  --text:          #0E0C09;   /* Primary text colour */
  --muted:         #7A7468;   /* Body copy, captions */
  --muted-soft:    #A8A195;   /* Very muted, footnotes */
  --border:        #E8E3D8;   /* Cream hairline */
  --border-strong: #D8D0C0;   /* Stronger cream line */

  /* Gold accent (editorial amber) */
  --gold:          #C49A2C;   /* Brand accent */
  --gold-light:    #EED97A;   /* Italic highlight / on-dark accent */
  --gold-bg:       #FBF6E8;   /* Subtle gold tint background */
  --gold-border:   rgba(196,154,44,0.25);

  /* Semantic */
  --success-bg:    #DCF2E3;
  --success-text:  #1F6B3A;
  --success-border:#B5E2C2;
  --error-bg:      #FDE8E7;
  --error-text:    #9B2221;
  --error-border:  #F4B7B4;

  /* Shadows */
  --shadow-xs:     0 1px 4px rgba(14,12,9,0.04);
  --shadow-soft:   0 2px 16px rgba(14,12,9,0.06);
  --shadow-card:   0 12px 40px rgba(14,12,9,0.10);
  --shadow-hero:   0 32px 80px rgba(14,12,9,0.16);
  --shadow-panel:  0 20px 56px rgba(14,12,9,0.12);

  /* Radii */
  --radius-sm:     10px;
  --radius:        14px;
  --radius-md:     18px;
  --radius-lg:     20px;
  --radius-xl:     24px;
  --radius-pill:   999px;

  /* Typography */
  --font-display:  'DM Serif Display', 'Amiri', Georgia, serif;
  --font-body:     'Outfit', 'Cairo', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-arabic-display: 'Amiri', 'DM Serif Display', Georgia, serif;
  --font-arabic-body:    'Cairo', 'Outfit', system-ui, sans-serif;

  /* Spacing */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-7: 28px; --space-8: 32px;
  --space-10: 40px; --space-12: 48px; --space-14: 56px; --space-16: 64px;
  --space-20: 80px; --space-24: 96px;

  --section-py: 80px;
  --section-py-lg: 96px;
  --container:  min(1280px, 92%);

  /* Motion */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;  --dur-med: 0.3s;  --dur-slow: 0.6s;

  /* Legacy aliases — keep existing page markup working */
  --bg-primary:   var(--bg);
  --bg-secondary: var(--bg-alt);
  --glass-bg:     var(--surface);
  --glass-border: 1px solid var(--border);
  --gold-soft:    var(--gold-light);
  --gold-glow:    rgba(196,154,44,0.20);
  --line:         var(--border);
  --text-dark:    var(--dark);
}

/* Arabic locale — switch display fonts */
html[lang="ar"] {
  --font-display: var(--font-arabic-display);
  --font-body:    var(--font-arabic-body);
}

/* ─── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: var(--font-arabic-body); }
body[class^="page-"]::before,
body[class^="page-"]::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
body[class^="page-"]::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(196,154,44,0.10), transparent 24%),
    radial-gradient(circle at 88% 78%, rgba(14,12,9,0.05), transparent 18%);
}
body[class^="page-"]::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,0.16), transparent 40%);
  opacity: 0.7;
}
a  { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--gold); }
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-8) 0; }

::selection { background: var(--gold); color: var(--dark); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─── LAYOUT PRIMITIVES ───────────────────────────────────────────────────── */
.container { width: var(--container); margin: 0 auto; }
.section { padding: var(--section-py) 0; }
.section-lg { padding: var(--section-py-lg) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #fff; }

/* ─── TYPOGRAPHY ──────────────────────────────────────────────────────────── */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; color: var(--dark); }
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 600; }
h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; color: var(--dark); }

em, .italic { font-style: italic; color: var(--gold); }
strong { font-weight: 700; color: var(--dark); }
p  { color: var(--muted); line-height: 1.75; font-size: 1rem; }
.lead { font-size: 1.08rem; font-weight: 300; line-height: 1.75; color: var(--muted); max-width: 54ch; }

/* Hero headline — huge serif, italic-gold emphasis */
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 5.5vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--dark);
}
.hero-h1 em { font-style: italic; color: var(--gold); }
html[lang="ar"] .hero-h1 { font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.15; }

/* Page hero h1 */
.page-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--dark);
}
.page-h1 em { font-style: italic; color: var(--gold); }

/* Eyebrow — gold line + UPPERCASE */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  display: block;
  flex-shrink: 0;
}
html[lang="ar"] .eyebrow { letter-spacing: 0.06em; }

/* Kickers / labels */
.kicker {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--gold-bg);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.chip--dark { background: var(--dark); color: #fff; }
.chip--dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--dark); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; box-shadow: 0 8px 20px rgba(14,12,9,0.20); }

.btn-outline { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--dark); background: var(--gold-bg); }

.btn-ghost { background: transparent; color: var(--dark); border-color: transparent; padding: 10px 16px; }
.btn-ghost:hover { background: var(--gold-bg); color: var(--gold); }

.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-light); }

.btn-on-dark { background: #fff; color: var(--dark); border-color: transparent; }
.btn-on-dark:hover { background: var(--gold-light); color: var(--dark); }

.btn-on-dark-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.2); }
.btn-on-dark-outline:hover { background: rgba(255,255,255,0.08); color: #fff; }

.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { width: 100%; }

/* Legacy aliases — keep inherited .button / .cta working */
.button, .cta, .cta-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-pill); font-weight: 600;
  background: var(--dark); color: #fff; cursor: pointer;
  transition: all var(--dur-fast) var(--ease); font-size: 0.92rem; white-space: nowrap;
  text-decoration: none; border: none; font-family: var(--font-body);
}
.button:hover, .cta:hover, .cta-primary:hover {
  transform: translateY(-2px); background: #000; color: #fff;
  box-shadow: 0 8px 20px rgba(14,12,9,0.20);
}

/* ─── HEADER / NAV ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,245,239,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--dur-med) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(248,245,239,0.96);
  border-bottom-color: var(--gold-border);
  box-shadow: 0 4px 20px rgba(14,12,9,0.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.site-brand { display: flex; align-items: center; gap: 12px; color: var(--dark); }
.site-brand__mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: #fff;
}
.site-brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.site-brand__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.site-brand__sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a {
  padding: 9px 15px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: capitalize;
  transition: all var(--dur-fast) var(--ease);
  border: 1px solid transparent;
}
.site-nav a:hover { color: var(--dark); background: rgba(255,255,255,0.72); border-color: var(--border); }
.site-nav a.is-active {
  color: var(--dark);
  background: #fff;
  box-shadow: 0 1px 8px rgba(14,12,9,0.08);
  border-color: rgba(196,154,44,0.24);
  position: relative;
}
.site-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
}

.site-header__cta { display: flex; gap: 10px; align-items: center; }
.lang-toggle {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  transition: all var(--dur-fast) var(--ease);
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-bg); }

.site-header__wa {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--dark);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.site-header__wa:hover { background: #000; color: #fff; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  padding: 10px;
  background: transparent;
}
.hamburger span { width: 100%; height: 1.5px; background: var(--dark); border-radius: 2px; display: block; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: rgba(14,12,9,0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
}
.mobile-menu.is-open { display: block; }
.mobile-menu__drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: -12px 0 40px rgba(14,12,9,0.15);
}
html[dir="rtl"] .mobile-menu__drawer { right: auto; left: 0; box-shadow: 12px 0 40px rgba(14,12,9,0.15); }

.mobile-menu__drawer a {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--muted);
  display: block;
  border-left: 3px solid transparent;
  text-transform: capitalize;
}
.mobile-menu__drawer a.is-active {
  color: var(--dark);
  background: var(--gold-bg);
  border-left-color: var(--gold);
  font-weight: 600;
}
html[dir="rtl"] .mobile-menu__drawer a { border-left: none; border-right: 3px solid transparent; }
html[dir="rtl"] .mobile-menu__drawer a.is-active { border-right-color: var(--gold); }
.mobile-menu__close { font-size: 1.4rem; padding: 6px 10px; color: var(--muted); }

/* ─── HERO (home) ─────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 0;
  background: var(--bg);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero {
  position: relative;
  overflow: clip;
}
.hero::before {
  content: '';
  position: absolute;
  top: 40px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,154,44,0.12), transparent 70%);
  pointer-events: none;
}
html[dir="rtl"] .hero::before {
  right: auto;
  left: -120px;
}
.hero__copy p { margin-bottom: 36px; max-width: 46ch; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__copy .eyebrow { margin-bottom: 26px; }
.word-wrap {
  display: inline-block;
  overflow: hidden;
  margin-inline-end: 0.24em;
  padding-top: 0.12em;
  margin-top: -0.12em;
}
.word-wrap:last-child { margin-inline-end: 0; }
.word {
  display: inline-block;
  animation: wordReveal 0.75s var(--ease-reveal) both;
}
.shimmer-gold {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 38%, var(--gold) 62%, var(--gold-light) 82%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-h1:hover .shimmer-gold {
  animation: shimmer 1.8s linear infinite;
}

.hero__stats {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero__stat-v {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1;
}
.hero__stat-l {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.hero__stack { position: relative; height: 580px; }
.hero__stack-main {
  position: absolute;
  right: 0; top: 0;
  width: 88%;
  height: 480px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  animation: float 7s ease-in-out infinite;
}
.hero__stack-main img { width: 100%; height: 100%; object-fit: cover; }
.hero__stack-card {
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 240px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.hero__stack-card:hover { transform: translateY(-4px); box-shadow: 0 22px 56px rgba(14,12,9,0.12); }
.hero__stack-card h3,
.hero__stack-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin: 10px 0 6px;
  line-height: 1.25;
}
.hero__stack-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
}
.hero__stack-card .btn {
  padding: 10px;
  font-size: 0.82rem;
  width: 100%;
}
.hero__stack-side {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 42%;
  height: 160px;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(14,12,9,0.12);
}
.hero__stack-side img { width: 100%; height: 100%; object-fit: cover; }
.hero__mobile-media {
  display: none;
  margin: 22px 0 34px;
}
.hero__mobile-frame {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
}
.hero__mobile-frame::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(14,12,9,0) 0%, rgba(14,12,9,0.3) 100%);
  pointer-events: none;
}
.hero__mobile-main,
.hero__mobile-thumb {
  display: block;
  object-fit: cover;
}
.hero__mobile-main {
  width: 100%;
  height: 100%;
}
.hero__mobile-thumb {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 102px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 2px solid rgba(255,255,255,0.92);
  box-shadow: 0 18px 30px rgba(14,12,9,0.18);
}
html[dir="rtl"] .hero__mobile-thumb {
  left: auto;
  right: 16px;
}
.hero__mobile-note {
  margin-top: 14px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 28px rgba(14,12,9,0.06);
}
.hero__mobile-note p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

html[dir="rtl"] .hero__stack-main { right: auto; left: 0; border-radius: 24px 24px 0 0; }
html[dir="rtl"] .hero__stack-card  { left: auto; right: 0; }
html[dir="rtl"] .hero__stack-side  { right: auto; left: 2%; }

/* ─── PRESTIGE STRIP (marquee) ────────────────────────────────────────────── */
.prestige {
  background: var(--dark);
  padding: 14px 0;
  overflow: hidden;
}
.prestige__marquee { overflow: hidden; }
.prestige__inner,
.prestige__track {
  display: flex;
  gap: 40px;
  align-items: center;
}
.prestige__track {
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.prestige__track:hover { animation-play-state: paused; }
.prestige__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  font-family: var(--font-body);
}
.prestige__item::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.6rem;
}

/* ─── CARD — generic ──────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1), box-shadow 0.3s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-7px) scale(1.015); box-shadow: 0 30px 70px rgba(14,12,9,0.13); border-color: rgba(196,154,44,0.32); }
.card__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__body { padding: 20px 22px; }
.card__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; line-height: 1.3; }
.card__desc { color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.card__chip { margin-bottom: 10px; }
.card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.78rem; }
.card__meta-sku { font-family: 'Courier New', monospace; color: var(--gold); letter-spacing: 0.06em; }
.card__meta-count { color: var(--muted); }
.card a { display: block; color: inherit; }

/* Bento category grid (home) */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento .card .card__media { aspect-ratio: 16 / 9; }

.bundle-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.bundle-strip--compact .bundle-card__media { aspect-ratio: 4 / 3; }
.bundle-card {
  display: block;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.bundle-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-card);
}
.bundle-card__media {
  aspect-ratio: 4 / 4.2;
  overflow: hidden;
  background: var(--gold-bg);
}
.bundle-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.bundle-card:hover .bundle-card__media img { transform: scale(1.05); }
.bundle-card__body { padding: 18px 18px 20px; }
.bundle-card__tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bundle-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.18;
  margin: 14px 0 8px;
  color: var(--dark);
}
.bundle-card__desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  min-height: 2.8em;
}
.bundle-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.77rem;
  color: var(--muted);
}

/* Product mini card (hub all-products grid) */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all var(--dur-fast) var(--ease);
  display: block;
  color: inherit;
}
.mini-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow-soft); }
.mini-card__sku { font-family: 'Courier New', monospace; font-size: 0.72rem; color: var(--gold); letter-spacing: 0.06em; margin-bottom: 6px; }
.mini-card__name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--dark); line-height: 1.35; }

/* ─── NUMBERED LIST — 01 / 02 / 03 pattern ────────────────────────────────── */
.num-list { display: grid; gap: 24px; }
.num-list__item {
  display: flex;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.num-list__num {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  min-width: 24px;
  padding-top: 4px;
}
.num-list__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.num-list__desc {
  font-family: var(--font-body);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── CTA BAND (dark, rounded, on ivory bg) ───────────────────────────────── */
.cta-band {
  background: var(--dark);
  color: #fff;
  border-radius: 28px;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,154,44,0.15), transparent 70%);
  pointer-events: none;
}
html[dir="rtl"] .cta-band::after { right: auto; left: -60px; }

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}
.cta-band h2 em { color: var(--gold-light); font-style: italic; }
.cta-band p { color: rgba(255,255,255,0.60); max-width: 52ch; font-size: 1rem; }

.cta-band__actions { display: flex; flex-direction: column; gap: 10px; }

/* ─── SECTION HEADER (eyebrow + h2 + optional action) ─────────────────────── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head__copy h2 { margin-top: 6px; }
.section-head__copy h2 em { font-style: italic; color: var(--gold); }

/* ─── CATALOG ROW (horizontal card w/ image left) ─────────────────────────── */
.catalog-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--dur-med) var(--ease);
}
.catalog-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.catalog-row__media { overflow: hidden; background: var(--bg); }
.catalog-row__media img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.catalog-row__body { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.catalog-row__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--dark);
  margin: 14px 0 4px;
  line-height: 1.15;
}
.catalog-row__tagline { color: var(--gold); font-weight: 600; font-size: 0.88rem; margin-bottom: 12px; }
.catalog-row__desc    { color: var(--muted); font-size: 0.92rem; line-height: 1.7; max-width: 52ch; margin-bottom: 20px; }

.catalog-row__listbox {
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.catalog-row__listbox-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.catalog-row__listbox ul {
  padding-inline-start: 18px;
  display: grid;
  gap: 5px;
  list-style: disc;
}
.catalog-row__listbox li { color: var(--dark); font-size: 0.88rem; }

.catalog-row__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.catalog-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.catalog-row__sku {
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.catalog-row__arrow {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.catalog-row:hover .catalog-row__arrow { color: var(--dark); }

/* Filter row */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  background: #fff;
  color: var(--dark);
  border: 1.5px solid var(--border);
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.filter-btn:hover { border-color: var(--dark); color: var(--dark); }
.filter-btn.is-active { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ─── PRODUCT DETAIL ──────────────────────────────────────────────────────── */
.product-hero {
  background: var(--bg);
  padding: 60px 0 40px;
}
.product-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.product-sku {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}
.product-hero__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background-color: var(--bg-alt);
}

.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: var(--border-strong); }
.breadcrumb [aria-current="page"] { color: var(--dark); font-weight: 600; }

/* Badge strip (under product title) */
.badge-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.badge-strip .chip { background: var(--bg); border: 1px solid var(--border); color: var(--muted); }

/* Clinical content grid */
.clinical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.clinical-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  position: relative;
  overflow: hidden;
}
.clinical-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--gold);
  opacity: 0.7;
}
html[dir="rtl"] .clinical-card::before { inset: 0 0 0 auto; }
.clinical-card--errors::before  { background: #E0A04A; }
.clinical-card--success::before { background: #6FA86F; }
.clinical-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}
.clinical-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.clinical-card ul { display: grid; gap: 8px; margin-top: 8px; }
.clinical-card li {
  color: var(--dark);
  font-size: 0.88rem;
  line-height: 1.55;
  padding-inline-start: 18px;
  position: relative;
}
.clinical-card li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.clinical-card--errors li::before  { background: #E0A04A; }
.clinical-card--success li::before { background: #6FA86F; }

/* Product meta grid */
.product-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 44px);
  margin-top: 32px;
}
.spec-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.spec-list > div {
  display: grid;
  grid-template-columns: minmax(140px, 40%) 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.spec-list > div:last-child { border-bottom: none; }
.spec-list dt, .spec-list .spec-key { font-weight: 700; color: var(--dark); font-family: var(--font-body); }
.spec-list dd, .spec-list .spec-val { color: var(--muted); font-family: var(--font-body); }

/* Outcomes column */
.outcomes-list h3 { margin-bottom: 14px; }
.outcomes-list ul { display: grid; gap: 10px; }
.outcomes-list li {
  color: var(--dark);
  font-size: 0.94rem;
  padding-inline-start: 24px;
  position: relative;
  line-height: 1.55;
}
.outcomes-list li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Related products */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ─── FORM ────────────────────────────────────────────────────────────────── */
.form-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 4px 24px rgba(14,12,9,0.06);
}
.form-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 12px;
}
.form-grid { display: grid; gap: 20px; }
.form-field { display: grid; gap: 6px; }
.form-field label,
.form-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
}
.form-input, .form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--bg);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease);
  width: 100%;
}
.form-input:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); background: #fff; }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ─── CONTACT INFO PANEL (dark card) ──────────────────────────────────────── */
.info-panel {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
}
.info-panel__title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.info-row {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.info-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-row__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.info-row__val { color: #fff; font-size: 0.9rem; }
.info-row__val:hover { color: var(--gold-light); }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 60px 0 28px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.site-footer__brand-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #fff;
}
.site-footer__brand-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 36ch;
  margin-bottom: 20px;
}
.site-footer__region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(196,154,44,0.35);
  background: rgba(196,154,44,0.08);
}
.site-footer__region-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.site-footer__region-txt { color: var(--gold-light); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; }

.site-footer__col-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a,
.site-footer__col span { color: rgba(255,255,255,0.55); font-size: 0.88rem; }
.site-footer__col a:hover { color: #fff; }

.site-footer__rule {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__copy,
.site-footer__tag { color: rgba(255,255,255,0.35); font-size: 0.82rem; }
.site-footer__tag { font-family: var(--font-display); font-style: italic; }

/* ─── RESEARCH / PHILOSOPHY CARDS ─────────────────────────────────────────── */
.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.philosophy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: all var(--dur-med) var(--ease);
}
.philosophy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.philosophy-card__bar { width: 32px; height: 2.5px; background: var(--gold); border-radius: 2px; margin-bottom: 16px; }
.philosophy-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.philosophy-card p { font-size: 0.9rem; line-height: 1.7; color: var(--muted); }

/* ─── CLIENTS STRIP ───────────────────────────────────────────────────────── */
.clients-strip {
  background: var(--bg-alt);
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-strip .logo-placeholder {
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(251,246,232,0.95));
  border-style: solid;
  border-color: rgba(196,154,44,0.16);
  box-shadow: var(--shadow-xs);
}
.clients-strip__label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.clients-strip__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-placeholder {
  width: 110px;
  height: 48px;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-soft);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg);
}

/* ─── ALERTS / MESSAGES ───────────────────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: 12px; font-size: 0.92rem; margin-bottom: 16px; }
.alert-success { background: var(--success-bg); color: var(--success-text); border: 1px solid var(--success-border); }
.alert-error   { background: var(--error-bg);   color: var(--error-text);   border: 1px solid var(--error-border); }

/* ─── MISC UTILS ──────────────────────────────────────────────────────────── */
.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metric-band__item { min-width: 0; }
.metric-band__value {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.08;
  margin-bottom: 6px;
}
.metric-band__label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.editorial-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}
.editorial-grid--split { grid-template-columns: 1.05fr 0.95fr; }
.editorial-grid--balanced { grid-template-columns: repeat(2, 1fr); }

.editorial-media {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.editorial-media--wide { aspect-ratio: 4 / 3; }
.editorial-media--tall { aspect-ratio: 4 / 5; }
.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-soft);
}
.editorial-panel--soft { background: var(--gold-bg); }
.editorial-panel--dark {
  background: var(--dark);
  border-color: transparent;
  color: #fff;
}
.editorial-panel--dark h2,
.editorial-panel--dark h3,
.info-panel h2,
.info-panel h3 { color: #fff; }
.editorial-panel--dark p,
.info-panel p { color: rgba(255,255,255,0.72); }
.editorial-panel--dark .eyebrow,
.info-panel .eyebrow { color: var(--gold-light); }
.editorial-panel--dark .eyebrow::before,
.info-panel .eyebrow::before { background: var(--gold-light); }

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.route-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.route-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.route-card__num {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 14px;
}
.route-card__title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}
.route-card__text {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.route-card__footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}
.route-card__bundle {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  color: inherit;
}
.route-card__bundle strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: stretch;
}
.info-social {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.info-social__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.info-social__row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.82rem;
}
.info-social__row a:hover {
  border-color: var(--gold-light);
  background: rgba(238,217,122,0.12);
  color: #fff;
}
.info-footer-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  font-size: 0.86rem;
  line-height: 1.7;
}
.form-note {
  margin-top: -4px;
  font-size: 0.82rem;
  color: var(--muted);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.serif { font-family: var(--font-display); }
.italic { font-style: italic; }
.flex { display: flex; }
.grid { display: grid; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.w-full { width: 100%; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-reveal), transform 0.8s var(--ease-reveal); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .clinical-grid, .related-grid, .philosophy-grid, .route-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .editorial-grid--split,
  .editorial-grid--balanced,
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stack { display: none; }
  .hero__mobile-media { display: block; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .catalog-row { grid-template-columns: 1fr; }
  .catalog-row__media img { height: 220px; min-height: 220px; }
  .product-hero__grid { grid-template-columns: 1fr; }
  .product-meta-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-header__wa { display: none; }
  .hamburger { display: inline-flex; }
  .bundle-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header__inner { gap: 12px; }
  .site-brand { gap: 10px; min-width: 0; }
  .site-brand > span:last-child { min-width: 0; }
  .site-brand__title { font-size: 0.95rem; }
  .site-brand__sub { letter-spacing: 0.08em; }
  .lang-toggle { padding: 8px 12px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section { padding: 56px 0; }
  .section-lg { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .clinical-grid, .related-grid, .philosophy-grid, .mini-grid, .route-grid, .metric-band { grid-template-columns: 1fr; }
  .bundle-strip {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }
  .bundle-strip .bundle-card {
    min-width: min(82vw, 320px);
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .hero__stats { gap: 16px; }
  .hero__stats > div { flex: 1 1 40%; }
  .site-brand__sub { display: none; }
  .site-brand__title { font-size: 0.88rem; }
  .lang-toggle { padding: 8px 11px; font-size: 0.74rem; }
  .hamburger { width: 38px; height: 38px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .catalog-row__body { padding: 22px 24px; }
  .cta-band { padding: 32px 24px; }
  .cta-band__actions { flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
}

/* ─── ANIMATIONS ──────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes wordReveal {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.fade-up { animation: fadeUp 0.7s var(--ease-reveal) both; }

/* ─── JS-INJECTED UI: BACK-TO-TOP, PROGRESS, LIGHTBOX, FORM ERRORS ────────── */

/* Back-to-top button (injected by main.js line ~136) */
.back-to-top {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--dark);
  color: var(--bg);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 999;
  transition: background 0.2s ease, transform 0.2s ease;
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

/* Scroll progress bar (injected at top of body) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  z-index: 1001;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* Form validation: field error state (added by JS) */
.form-input.error,
input.error,
textarea.error,
select.error {
  border-color: var(--error-border) !important;
  box-shadow: 0 0 0 3px rgba(155, 34, 33, 0.10);
}

/* Form-level error banner (toggled by JS) */
.form-error {
  display: none;
  background: var(--error-bg);
  color: var(--error-text);
  border: 1px solid var(--error-border);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

/* Lightbox overlay (injected by main.js) */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 12, 9, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox-overlay.open {
  display: flex;
  animation: fadeUp 0.25s ease both;
}
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  cursor: default;
}
.lightbox-inner img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hero);
}
.lightbox-close {
  position: absolute;
  top: -44px;
  inset-inline-end: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* Pill-nav (scroll-spy subnav, e.g. on product detail pages) */
.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-nav a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  background: var(--surface);
  transition: all 0.2s ease;
}
.pill-nav a:hover {
  color: var(--dark);
  border-color: var(--gold);
}
.pill-nav a.active {
  background: var(--gold-bg);
  color: var(--dark);
  border-color: var(--gold);
}

/* Lazy-load fade-in (main.js adds .loaded when visible) */
img.loaded {
  opacity: 1;
  transition: opacity 0.4s ease;
}
body:not(.admin-body) img[loading="lazy"]:not(.loaded) {
  opacity: 0;
}
.wa-fab {
  display: none;
}
.wa-fab::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold-light);
  box-shadow: 0 0 0 0 rgba(238,217,122,0.55);
}

@media (max-width: 768px) {
  .prestige__track {
    animation: none;
    gap: 20px;
    padding: 0 4%;
  }

  .wa-fab {
    display: inline-flex;
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 120;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 999px;
    background: var(--dark);
    color: #fff;
    border: 1px solid rgba(196,154,44,0.3);
    box-shadow: 0 18px 40px rgba(14,12,9,0.18);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    gap: 10px;
    animation: pulseGold 2.4s ease-in-out infinite;
  }

  .wa-fab:hover {
    color: #fff;
    background: #000;
  }
}

/* Admin overlay suppression: ensure lightbox overlay cannot block admin UI */
.admin-body .lightbox-overlay,
.admin-body .lightbox-overlay.open {
  display: none !important;
}

/* ─── Newsletter band (sits above footer) ─────────────────────────────────── */
.newsletter-band {
  background: var(--dark);
  color: #f5f2eb;
  padding: 56px 0;
  border-top: 1px solid rgba(196,154,44,0.18);
}
.newsletter-band__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
.newsletter-band__copy { min-width: 0; }
.newsletter-band__eyebrow {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
}
.newsletter-band__h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin: 14px 0 12px;
  color: #fff;
}
.newsletter-band__privacy {
  font-size: 0.84rem;
  color: rgba(245,242,235,0.65);
  margin: 0;
}
.newsletter-band__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}
.newsletter-band__input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.newsletter-band__input::placeholder { color: rgba(245,242,235,0.45); }
.newsletter-band__input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 0 0 3px rgba(196,154,44,0.18);
}
.newsletter-band__btn {
  flex-shrink: 0;
  padding: 14px 28px;
}
.newsletter-band__msg {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.newsletter-band__msg--ok {
  background: rgba(196,154,44,0.12);
  color: var(--gold-light);
  border: 1px solid rgba(196,154,44,0.32);
}
.newsletter-band__msg--info {
  background: rgba(255,255,255,0.06);
  color: rgba(245,242,235,0.85);
  border: 1px solid rgba(255,255,255,0.14);
}
.newsletter-band__msg--err {
  background: rgba(244,183,180,0.12);
  color: #f4b7b4;
  border: 1px solid rgba(244,183,180,0.32);
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 760px) {
  .newsletter-band { padding: 40px 0; }
  .newsletter-band__inner { grid-template-columns: 1fr; gap: 22px; }
  .newsletter-band__form { flex-direction: column; align-items: stretch; }
  .newsletter-band__btn { width: 100%; }
}

/* ─── Accessibility: skip link + focus-visible ────────────────────────────── */
.skip-link {
  position: fixed;
  top: 8px;
  inset-inline-start: 8px;
  z-index: 2000;
  background: var(--dark);
  color: var(--gold-light);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ─── Cookie consent banner ───────────────────────────────────────────────── */
.cookie-consent {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 1500;
  max-width: 560px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent__text {
  flex: 1 1 240px;
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
}
.cookie-consent__actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-consent__actions .btn { padding: 8px 16px; font-size: 0.82rem; }

/* ─── Respect reduced-motion: disable decorative animation ────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .prestige__track { animation: none !important; }
  .word { opacity: 1 !important; transform: none !important; }
}

/* ─── Insights hub + article ──────────────────────────────────────────────── */
.insight-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}
.insight-filter__chip {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.insight-filter__chip:hover { border-color: var(--gold); color: var(--dark); }
.insight-filter__chip.is-active {
  background: var(--gold-bg);
  border-color: var(--gold);
  color: var(--dark);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.insight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--gold); }
.insight-card__media { aspect-ratio: 5 / 3; overflow: hidden; background: var(--gold-bg); }
.insight-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.insight-card:hover .insight-card__media img { transform: scale(1.04); }
.insight-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.insight-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.insight-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 8px;
}
.insight-card__summary { font-size: 0.88rem; color: var(--muted); line-height: 1.6; flex: 1; margin: 0; }
.insight-card__meta { display: flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 0.78rem; color: var(--muted-soft); }

/* Article hero */
.insight-hero__inner { max-width: 760px; }
.insight-hero__meta { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--muted); margin-bottom: 16px; }
.insight-chip { background: var(--gold-bg); border: 1px solid var(--gold-border); color: var(--dark); }
.insight-hero__dot { color: var(--muted-soft); }
.insight-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.insight-hero__summary { font-size: 1.1rem; color: var(--muted); line-height: 1.6; margin: 0 0 22px; max-width: 680px; }
.insight-hero__byline { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; font-weight: 500; }
.insight-hero__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--dark); color: var(--gold-light);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.85rem;
}
.insight-hero__media {
  margin-top: 36px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 2 / 1;
  box-shadow: var(--shadow-card);
}
.insight-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Article body typography */
.insight-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text);
}
.insight-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 40px 0 14px;
}
.insight-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.28rem;
  margin: 30px 0 10px;
}
.insight-body p { margin: 0 0 20px; }
.insight-body ul, .insight-body ol { margin: 0 0 22px; padding-inline-start: 24px; }
.insight-body li { margin-bottom: 8px; }
.insight-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.insight-body a:hover { color: var(--dark); }
.insight-body strong { font-weight: 700; color: var(--dark); }
.insight-body code {
  font-family: 'Courier New', monospace;
  font-size: 0.92em;
  background: var(--gold-bg);
  padding: 2px 6px;
  border-radius: 5px;
}
.insight-body blockquote {
  margin: 28px 0;
  padding: 4px 22px;
  border-inline-start: 3px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--dark);
  line-height: 1.5;
}
.insight-body hr { border: 0; border-top: 1px solid var(--border); margin: 36px 0; }

.insight-cta {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 28px 30px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .insight-cta { flex-direction: column; align-items: flex-start; }
}

/* ─── Product video (lazy YouTube facade) ─────────────────────────────────── */
.product-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow-card);
}
.product-video__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-video__facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,12,9,0.10), rgba(14,12,9,0.42));
  transition: background 0.25s ease;
}
.product-video__facade:hover::after { background: linear-gradient(180deg, rgba(14,12,9,0.05), rgba(14,12,9,0.30)); }
.product-video__play {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline-start: 6px;
  box-shadow: 0 10px 30px rgba(14,12,9,0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.product-video__facade:hover .product-video__play { transform: scale(1.08); background: var(--gold-light); }
.product-video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
