﻿/* DIRECTION LOCK — الابتسامة المشرقة / Bright Smile Dental
   Aesthetic: organic clinical calm — soft curves, sky-to-mint air, floating warmth
   Fonts: Noto Kufi Arabic (AR display) + IBM Plex Sans Arabic (body) / EN: Inter
   Signature: SVG curved section dividers + floating mint/sky blob accents + glass float-card
   Motion personality: gentle, breathing, softly rounded
   Every rule serves this lock. Logical properties throughout. */

/* ===== TOKENS ===== */
:root {
  --air: #f7fbfc;
  --air-2: #eef7f7;
  --teal: #0e7c86;
  --teal-deep: #0a5b63;
  --mint: #7fd6c2;
  --sky: #cfeef2;
  --ink: #1f3a3e;
  --muted: #5a7a7e;
  --ink-soft: #4a6a6e;
  --white: #ffffff;
  --font-ar-head: "Noto Kufi Arabic", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  --r-xs: 6px; --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 9999px;
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --dur-fast: 180ms; --dur-base: 320ms; --dur-slow: 600ms;
  --shadow-1: 0 4px 16px rgba(10, 91, 99, 0.07);
  --shadow-2: 0 14px 40px rgba(10, 91, 99, 0.12);
  --header-h: 72px;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--air); color: var(--ink);
  line-height: 1.75; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .brand { font-family: var(--font-ar-head); font-weight: 700; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: -0.01em; }

h1, h2, h3 { line-height: 1.3; }
h1 { font-size: clamp(2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }

.skip-link { position: absolute; inset-inline-start: -9999px; top: 0; background: var(--teal); color: var(--white); padding: 0.75rem 1.25rem; z-index: 100; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { inset-inline-start: 0; }

/* ===== LAYOUT ===== */
.container { width: min(1160px, 92%); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-head { max-width: 620px; margin-block-end: clamp(2rem, 5vw, 3.25rem); }
.section-head h2 { margin-block-start: 0.6rem; }
.eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; color: var(--teal); }
/* ===== HEADER ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(247, 251, 252, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  border-block-end: 1px solid rgba(14, 124, 134, 0.12);
}
.header-inner { width: min(1160px, 92%); margin-inline: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-size: 1.25rem; font-weight: 700; color: var(--teal-deep); text-decoration: none; }

.lang-toggle {
  font-family: var(--font-body); font-weight: 600; font-size: 0.85rem;
  background: var(--white); color: var(--teal);
  border: 1px solid rgba(14,124,134,0.25); border-radius: var(--r-full);
  padding: 0.32rem 0.95rem; cursor: pointer; box-shadow: var(--shadow-1);
  transition: border-color var(--dur-base), color var(--dur-base);
}
.lang-toggle:hover { border-color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav ul { display: flex; gap: 1.6rem; list-style: none; }
.primary-nav a:not(.nav-cta) {
  color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding-block: 0.3rem; border-block-end: 2px solid transparent; border-radius: 2px;
  transition: color var(--dur-base), border-color var(--dur-base);
}
.primary-nav a:not(.nav-cta):hover { color: var(--teal); border-color: var(--mint); }
.nav-toggle { display: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 0.85rem 1.9rem;
  font-size: 0.95rem; font-weight: 600;
  border-radius: var(--r-full); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background var(--dur-base), color var(--dur-base), border-color var(--dur-base), transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 8px 24px -8px rgba(14, 124, 134, 0.5); }
.btn-primary:hover { background: var(--teal-deep); color: var(--white); }
.btn-ghost { border-color: rgba(14,124,134,0.35); color: var(--teal-deep); background: rgba(255,255,255,0.6); }
.btn-ghost:hover { border-color: var(--teal); }

/* ===== HERO (organic â€” blobs + float card) ===== */
.hero { position: relative; padding-block: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)) clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; pointer-events: none; }
.blob-a { width: 46vw; height: 46vw; background: var(--mint); inset-block-start: -18%; inset-inline-end: -12%; animation: blob-drift 22s var(--ease-soft) infinite alternate; }
.blob-b { width: 34vw; height: 34vw; background: var(--sky); inset-block-end: -14%; inset-inline-start: -10%; animation: blob-drift 26s var(--ease-soft) infinite alternate-reverse; }
@keyframes blob-drift { from { translate: 0 0; scale: 1; } to { translate: 3rem 2rem; scale: 1.12; } }

.hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; position: relative; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-lede { margin-block: 1.4rem 2.2rem 0; max-width: 34rem; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-phone { color: var(--teal-deep); text-decoration: none; font-weight: 600; padding-inline-start: 1rem; border-inline-start: 1px solid rgba(14,124,134,0.2); }
.hero-trust { list-style: none; display: flex; gap: 1.4rem; flex-wrap: wrap; margin-block-start: 1.8rem; }
.hero-trust li { display: flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; font-weight: 500; color: var(--teal-deep); }
.tick { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

.hero-figure { position: relative; }
.hero-photo {
  aspect-ratio: 4 / 5; border-radius: var(--r-xl);
  background:
    linear-gradient(160deg, rgba(10, 91, 99, 0.18), rgba(10, 91, 99, 0.38)),
    url("https://images.unsplash.com/photo-1588776814546-1ffcf47267b5?auto=format&fit=crop&w=1000&q=80") center/cover;
  box-shadow: var(--shadow-2);
}
.float-card {
  position: absolute; inset-block-end: 1.4rem; inset-inline-start: -1.4rem;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
  border: 1px solid rgba(14, 124, 134, 0.15); border-radius: var(--r);
  padding: 0.9rem 1.3rem; box-shadow: var(--shadow-2);
  display: grid; gap: 0.1rem; animation: float-bob 5s var(--ease-soft) infinite alternate;
}
.float-card strong { font-size: 1.3rem; color: var(--teal); line-height: 1.1; }
.float-card span { font-size: 0.78rem; color: var(--muted); }
.fc-1 { inset-inline-end: 1.2rem; inset-inline-start: auto; inset-block-end: 1.8rem; }
@keyframes float-bob { from { translate: 0 0; } to { translate: 0 -10px; } }

/* ===== HERO ENTRANCE ===== */
@keyframes hero-rise { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
.hero-rise { opacity: 0; animation: hero-rise 0.8s var(--ease-soft) forwards; }
.hero-rise.d1 { animation-delay: 0.1s; }
.hero-rise.d2 { animation-delay: 0.24s; }
.hero-rise.d3 { animation-delay: 0.38s; }
.hero-rise.d4 { animation-delay: 0.52s; }
.hero-rise.d5 { animation-delay: 0.7s; }

.scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; translate: -50% 0; width: 26px; height: 42px; opacity: 0.65; }
.cue-line { display: block; width: 2px; height: 100%; margin-inline: auto; background: linear-gradient(to bottom, transparent, var(--teal) 30%, transparent 90%); overflow: hidden; position: relative; border-radius: 2px; }
.cue-line::after { content: ""; position: absolute; inset-inline: 0; block-size: 40%; background: var(--teal); border-radius: 2px; animation: cue-drop 2.4s var(--ease-soft) infinite; }
@keyframes cue-drop { 0% { inset-block-start: -40%; opacity: 0; } 25% { opacity: 1; } 100% { inset-block-start: 110%; opacity: 0; } }

/* ===== EMERGENCY BANNER (DNA: replaces marquee) ===== */
.emergency-banner { background: var(--teal); color: var(--white); padding-block: 0.85rem; border-block: 1px solid rgba(255,255,255,0.18); }
.emergency-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; text-align: center; }
.emergency-inner strong { font-size: 0.95rem; letter-spacing: 0.02em; }
.emergency-inner span { font-size: 0.88rem; opacity: 0.92; }
.emergency-call {
  background: var(--white); color: var(--teal); font-weight: 700; font-size: 0.9rem;
  padding: 0.3rem 1.1rem; border-radius: 999px; text-decoration: none;
  transition: transform var(--dur-base) var(--ease-soft);
}
.emergency-call:hover { transform: scale(1.05); }

/* ===== TEAM ===== */
.team { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.team-card {
  background: var(--air); border-radius: var(--r-lg); padding: 1.75rem;
  border: 1px solid rgba(14, 124, 134, 0.1); display: flex; flex-direction: column; gap: 0.55rem;
}
.team-photo {
  block-size: 130px; border-radius: var(--r); margin-block-end: 0.75rem;
  background-color: var(--teal);
  background-image: linear-gradient(160deg, rgba(255,255,255,0.18), transparent 55%), url("https://images.unsplash.com/photo-1559839734-2b71a197ec24?auto=format&fit=crop&w=500&q=80");
  background-size: cover; background-position: center;
}
.team-photo.photo-2 { background-image: linear-gradient(160deg, rgba(255,255,255,0.18), transparent 55%), url("https://images.unsplash.com/photo-1588776814546-1ffcf47267b5?auto=format&fit=crop&w=500&q=80"); }
.team-photo.photo-3 { background-image: linear-gradient(160deg, rgba(255,255,255,0.18), transparent 55%), url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=500&q=80"); }
.team-card h3 { font-size: 1.15rem; }
.team-role { color: var(--teal); font-size: 0.85rem; font-weight: 600; }
.team-bio { font-size: 0.88rem; color: var(--ink-soft); }

/* ===== INSURANCE STRIP ===== */
.insurance-strip { background: var(--air); padding-block: 1.6rem; border-block: 1px solid rgba(14, 124, 134, 0.12); }
.insurance-inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.insurance-title { font-weight: 700; font-size: 0.9rem; color: var(--teal); }
.insurance-list { display: flex; gap: 0.9rem 2rem; flex-wrap: wrap; justify-content: center; }
.insurance-list li { font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); list-style: none; }
.insurance-more { color: var(--teal) !important; font-weight: 500 !important; }

/* ===== PROGRESS ===== */
.progress-bar {
  position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  transform-origin: var(--origin, left); transform: scaleX(0); border-radius: 0 0 2px 2px;
  transition: transform 0.1s linear;
}
html[dir="rtl"] .progress-bar { --origin: right; }
/* ===== SERVICES BENTO ===== */
.services { background: var(--air); }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(200px, auto); gap: 1.25rem; }
.bento-card {
  background: var(--white); border-radius: var(--r-lg); padding: 1.9rem;
  border: 1px solid rgba(14, 124, 134, 0.1); box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base), border-color var(--dur-base);
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: rgba(14, 124, 134, 0.25); }
.span-2 { grid-column: span 2; }
.bento-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--sky); color: var(--teal-deep); border-radius: var(--r-full);
  margin-block-end: 0.4rem;
}
.bento-icon svg { width: 26px; height: 26px; }
.bento-card h3 { color: var(--teal-deep); }
.bento-card p { font-size: 0.95rem; color: var(--muted); flex: 1; }
.bento-price { font-weight: 700; color: var(--teal); font-size: 0.95rem; }

/* ===== ABOUT ===== */
.about { background: var(--white); border-radius: var(--r-xl); width: min(1160px, 92%); margin-inline: auto; }
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about-media {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--mint), var(--teal));
  box-shadow: var(--shadow-2);
}
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-copy h2 { margin-block-end: 1.2rem; }
.about-copy p + p { margin-block-start: 1rem; color: var(--muted); }
.about-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-block-start: 2rem; padding-block-start: 1.5rem; border-block-start: 1px solid rgba(14,124,134,0.15); }
.about-facts strong { display: block; font-size: 1.35rem; color: var(--teal); }
.about-facts span { font-size: 0.82rem; color: var(--muted); }

/* ===== SMILES (scroll-snap rail) ===== */
.smiles { background: var(--air); }
.quote-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 32vw, 380px);
  gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-block-end: 1rem; padding-inline: 4px;
  scrollbar-width: thin; scrollbar-color: var(--mint) transparent;
}
.quote {
  scroll-snap-align: start; background: var(--white); border-radius: var(--r-lg);
  padding: 1.8rem; box-shadow: var(--shadow-1); border-block-start: 3px solid var(--mint);
  display: flex; flex-direction: column; gap: 1rem;
}
.quote p { font-size: 0.97rem; color: var(--ink); flex: 1; }
.quote footer { font-size: 0.8rem; color: var(--muted); }
.quote cite { font-style: normal; font-weight: 700; color: var(--teal-deep); }

/* ===== FAQ ===== */
.faq { background: var(--air-2); }
.faq-list { display: grid; gap: 0.9rem; max-width: 760px; }
.faq-item {
  background: var(--white); border-radius: var(--r); padding: 1.2rem 1.5rem;
  border: 1px solid rgba(14, 124, 134, 0.12); box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-base);
}
.faq-item[open] { box-shadow: var(--shadow-2); }
.faq-item summary {
  cursor: pointer; font-weight: 600; color: var(--teal-deep);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--teal); flex-shrink: 0;
  transition: rotate var(--dur-base) var(--ease-soft);
}
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item p { margin-block-start: 0.8rem; font-size: 0.93rem; color: var(--muted); }

/* ===== BOOK ===== */
.book { background: var(--white); border-radius: var(--r-xl); width: min(1160px, 92%); margin-inline: auto; }
.book-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.book-details { display: grid; gap: 1.15rem; margin-block-start: 1.75rem; }
.book-details > div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; border-block-end: 1px solid rgba(14,124,134,0.12); padding-block-end: 1.15rem; }
.book-details dt { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); padding-block-start: 0.2rem; }
.book-details dd { color: var(--muted); }
.book-details a { color: var(--muted); }
.book-note { margin-block-start: 1.5rem; font-size: 0.9rem; color: var(--teal-deep); font-style: italic; }

.book-form {
  background: var(--air); border: 1px solid rgba(14,124,134,0.14);
  padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--r-lg); box-shadow: var(--shadow-1);
}
.book-form h3 { color: var(--teal-deep); margin-block-end: 1.4rem; }
.field { margin-block-end: 1.1rem; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--teal-deep); margin-block-end: 0.4rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem; font: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid rgba(14, 124, 134, 0.16); border-radius: var(--r);
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(14, 124, 134, 0.1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-error { margin-block-start: 0.35rem; font-size: 0.8rem; color: #c0492f; }
.field.invalid input, .field.invalid select { border-color: #c0492f; }
.form-success { margin-block-start: 1rem; padding: 0.9rem 1rem; background: #e6f7ef; color: #14614b; border-radius: var(--r); font-size: 0.9rem; }
.book-form .btn { width: 100%; }

/* ===== FOOTER ===== */
.site-footer { background: var(--teal-deep); color: rgba(247, 251, 252, 0.75); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1fr; gap: 2rem; }
.brand-footer { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-block-end: 0.5rem; }
.site-footer h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-block-end: 0.75rem; }
.site-footer a { color: rgba(247, 251, 252, 0.75); }
.site-footer a:hover { color: var(--mint); }
.legal { margin-block-start: 2.5rem; padding-block-start: 1.5rem; border-block-start: 1px solid rgba(127, 214, 194, 0.2); font-size: 0.8rem; color: rgba(247, 251, 252, 0.5); }
.legal-links a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== LEGAL PAGE ===== */
.legal-page { padding-block-start: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)); }
.legal-card { max-width: 760px; }
.legal-card h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-block: 0.6rem 1.5rem; }
.legal-card h2 { font-size: 1.15rem; margin-block: 1.8rem 0.6rem; color: var(--teal); }
.legal-card p + p { margin-block-start: 0.9rem; }
.legal-card .btn { margin-block-start: 2rem; }

/* ===== STICKY MOBILE BAR ===== */
.mobile-action-bar {
  position: fixed; inset: auto 0 0 0; z-index: 60; display: none;
  grid-template-columns: 1fr 1fr 1.4fr;
  background: rgba(10, 91, 99, 0.97); backdrop-filter: blur(10px);
  border-block-start: 1px solid rgba(127, 214, 194, 0.4);
}
.mobile-action-bar a { display: grid; place-items: center; min-height: 56px; font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.action-call { color: var(--mint); }
.action-wa { color: #4cc95b; border-inline: 1px solid rgba(127, 214, 194, 0.3); }
.action-cta { background: var(--mint); color: var(--teal-deep); }

/* ===== REVEALS ===== */
.reveal { opacity: 0; translate: 0 24px; transition: opacity 0.8s var(--ease-soft), translate 0.8s var(--ease-soft); }
.reveal.visible { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
  .hero-rise { opacity: 1; animation: none; }
  .blob-a, .blob-b, .float-card { animation: none; }
  .cue-line::after { animation: none; opacity: 0; }
  .progress-bar { transition: none; }
  .btn, .bento-card { transition: none; }
  .btn:hover, .bento-card:hover { transform: none; }
  .emergency-call:hover { transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .book-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 480px; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .nav-toggle {
    display: grid; place-items: center; gap: 5px; width: 44px; height: 44px;
    background: var(--white); border: 1px solid rgba(14,124,134,0.2); border-radius: var(--r-sm); cursor: pointer; z-index: 60;
  }
  .nav-toggle .bar { width: 20px; height: 2px; background: var(--teal-deep); border-radius: 2px; transition: transform var(--dur-base), opacity var(--dur-base); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column;
    background: rgba(247, 251, 252, 0.98); padding: 2.5rem 8%;
    align-items: flex-start; gap: 1.5rem;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
  }
  .primary-nav.open { opacity: 1; visibility: visible; }
  .primary-nav ul { flex-direction: column; gap: 1.25rem; }
  .primary-nav ul li { opacity: 0; translate: 0 -8px; transition: opacity 0.4s var(--ease-soft), translate 0.4s var(--ease-soft); }
  .primary-nav.open ul li { opacity: 1; translate: 0 0; transition-delay: calc(var(--i, 0) * 40ms); }
  .nav-cta { margin-block-start: 0.5rem; }

  .bento-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .about-facts { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-phone { display: none; }
  .mobile-action-bar { display: grid; }
  body { padding-block-end: 56px; }
  .scroll-cue { display: none; }
  .float-card { inset-inline-start: 0.8rem; }
}

/* ===== HERO COPY + BOOK INFO + SOCIAL ===== */
.hero-copy { display: grid; gap: 1.05rem; align-content: center; }
.book-info { display: grid; gap: 0.9rem; align-content: start; }
.social { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.social a { color: rgba(247, 251, 252, 0.8); text-decoration: none; border-block-end: 2px solid var(--mint); padding-block-end: 0.2rem; font-weight: 600; }
.social a:hover { color: var(--mint); }
