/* ============================================================
   Dr. Amany Physiotherapy — public site styles
   ============================================================ */
:root {
  --teal-900: #1c3a26;
  --teal-800: #234a30;
  --teal-700: #2c5e3d;
  --teal-600: #36774c;
  --teal-500: #44935f;
  --teal-100: #dcefe1;
  --teal-50: #eff8f1;
  /* Minimalist palette: warm beige instead of gold/yellow */
  --gold-500: #d2c2a0;
  --gold-600: #b3a075;
  --ink-900: #1d2620;
  --ink-700: #36433a;
  --ink-500: #617165;
  --ink-300: #9cab9f;
  --bg: #faf8f2;
  --card: #ffffff;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(28, 58, 38, 0.07);
  --shadow-md: 0 10px 34px rgba(28, 58, 38, 0.12);
  --shadow-lg: 0 24px 60px rgba(28, 58, 38, 0.18);
  --font-en: 'Manrope', system-ui, sans-serif;
  --font-ar: 'Cairo', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  /* semantic tokens (overridden by themes below) */
  --heading: var(--teal-900);
  --surface-2: #ffffff;
  --line: rgba(28, 58, 38, 0.08);
  --input-bg: #fcfdfb;
  --input-border: #dfe8dd;
  --hero-tint: #f3f7ee;
  --header-glass: rgba(250, 248, 242, 0.75);
  --header-solid: rgba(255, 255, 255, 0.92);
  --glass: rgba(255, 255, 255, 0.94);
  --footer-bg: var(--ink-900);
}

/* ============================ themes ============================
   Selected in Admin → Site Settings → Theme. Applied as
   <html data-theme="...">. "emerald" is the :root default above. */
html[data-theme='ocean'] {
  --teal-900: #103445; --teal-800: #15465c; --teal-700: #1c5d7a;
  --teal-600: #247797; --teal-500: #3293b8;
  --teal-100: #d8ecf4; --teal-50: #edf6fa;
  --gold-500: #d29a4e; --gold-600: #b07c33;
  --ink-900: #16242b; --ink-700: #34464f; --ink-500: #5d717b; --ink-300: #98a9b1;
  --bg: #f5f9fb; --hero-tint: #eaf3f6;
  --line: rgba(16, 52, 69, 0.09);
  --header-glass: rgba(245, 249, 251, 0.75);
  --shadow-sm: 0 2px 10px rgba(16, 52, 69, 0.07);
  --shadow-md: 0 10px 34px rgba(16, 52, 69, 0.12);
  --shadow-lg: 0 24px 60px rgba(16, 52, 69, 0.18);
}
html[data-theme='royal'] {
  --teal-900: #2c2350; --teal-800: #382c66; --teal-700: #46387f;
  --teal-600: #574699; --teal-500: #6c59b5;
  --teal-100: #e5e0f4; --teal-50: #f2effa;
  --ink-900: #221d33; --ink-700: #413a56; --ink-500: #6b6481; --ink-300: #a39cb6;
  --bg: #faf9fc; --hero-tint: #f1eef8;
  --line: rgba(44, 35, 80, 0.09);
  --header-glass: rgba(250, 249, 252, 0.75);
  --shadow-sm: 0 2px 10px rgba(44, 35, 80, 0.07);
  --shadow-md: 0 10px 34px rgba(44, 35, 80, 0.12);
  --shadow-lg: 0 24px 60px rgba(44, 35, 80, 0.18);
}
html[data-theme='rose'] {
  --teal-900: #581c3a; --teal-800: #6d2549; --teal-700: #86305b;
  --teal-600: #a03e70; --teal-500: #b85587;
  --teal-100: #f5dde9; --teal-50: #faeef4;
  --gold-500: #c89455; --gold-600: #a87633;
  --ink-900: #2e1d26; --ink-700: #4f3a45; --ink-500: #77626c; --ink-300: #ab99a2;
  --bg: #fbf7f9; --hero-tint: #f8eef3;
  --line: rgba(88, 28, 58, 0.09);
  --header-glass: rgba(251, 247, 249, 0.75);
  --shadow-sm: 0 2px 10px rgba(88, 28, 58, 0.07);
  --shadow-md: 0 10px 34px rgba(88, 28, 58, 0.12);
  --shadow-lg: 0 24px 60px rgba(88, 28, 58, 0.18);
}
html[data-theme='midnight'] {
  --heading: #cfe8d6;
  --teal-100: #27392c; --teal-50: #1d2a21;
  --teal-500: #54ad72; --teal-600: #3f9560; --teal-700: #4ba368;
  --ink-900: #e9f1ea; --ink-700: #c6d3c9; --ink-500: #93a698; --ink-300: #637268;
  --bg: #111813; --card: #1a241d; --surface-2: #151d18;
  --hero-tint: #141d17;
  --line: rgba(255, 255, 255, 0.09);
  --input-bg: #16201a; --input-border: #2c3a30;
  --header-glass: rgba(17, 24, 19, 0.78);
  --header-solid: rgba(20, 28, 22, 0.94);
  --glass: rgba(26, 36, 29, 0.92);
  --footer-bg: #0b110d;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 34px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
}
/* dark theme: a few light-on-dark fixes where the palette swap isn't enough */
html[data-theme='midnight'] .main-nav a.active { color: var(--heading); }
html[data-theme='midnight'] .btn-ghost { color: var(--ink-900); }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-en);
  background: var(--bg);
  color: var(--ink-900);
  line-height: 1.65;
  overflow-x: hidden;
}

html[lang='ar'] body { font-family: var(--font-ar); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ----------------------------- header ----------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: var(--header-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.site-header.scrolled {
  background: var(--header-solid);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--heading);
  white-space: nowrap;
}
.brand .logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-900));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}
.brand small {
  display: block;
  font-weight: 600;
  font-size: 0.68rem;
  color: var(--teal-600);
  letter-spacing: 0.4px;
}
.logo-badge-img { width: 48px; height: 44px; object-fit: contain; flex: 0 0 48px; }
.site-footer .logo-badge-img {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  padding: 3px;
}

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-700);
  transition: var(--transition);
}
.main-nav a:hover { color: var(--teal-700); background: var(--teal-50); }
.main-nav a.active { color: var(--teal-800); background: var(--teal-100); }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.lang-toggle {
  border: 1.5px solid var(--teal-600);
  background: transparent;
  color: var(--teal-700);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  transition: var(--transition);
}
.lang-toggle:hover { background: var(--teal-600); color: #fff; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--heading);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ----------------------------- sections ----------------------------- */
section { padding: 5.5rem 0; }
section:nth-of-type(even) { background: var(--surface-2); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0.7rem;
  position: relative;
  display: inline-block;
}
.section-head h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-500));
}
html[dir='rtl'] .section-head h2::after { transform: translateX(50%); }
.section-head p { color: var(--ink-500); margin-top: 1.2rem; font-size: 1.02rem; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ----------------------------- hero ----------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5rem;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(68, 147, 95, 0.16), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(210, 194, 160, 0.14), transparent 60%),
    linear-gradient(180deg, var(--hero-tint) 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--teal-100);
  color: var(--teal-700);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}
.hero .kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--heading);
  margin-bottom: 1.2rem;
}
.hero h1 .accent { color: var(--teal-600); }
.hero p.lead { color: var(--ink-500); font-size: 1.07rem; max-width: 54ch; margin-bottom: 2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
  color: #fff;
  box-shadow: 0 10px 24px rgba(54, 119, 76, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(54, 119, 76, 0.45); }
.btn-ghost {
  background: var(--card);
  color: var(--teal-800);
  border: 1.5px solid var(--teal-100);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--teal-500); transform: translateY(-3px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-visual { position: relative; }
.hero-visual .visual-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(150deg, var(--teal-700), var(--teal-900));
  aspect-ratio: 4 / 4.4;
  display: grid;
  place-items: center;
}
.hero-visual .visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .visual-frame svg { width: 72%; height: auto; opacity: 0.95; }
.hero-visual .visual-frame.light {
  background:
    radial-gradient(420px 320px at 50% 36%, rgba(210, 194, 160, 0.16), transparent 70%),
    linear-gradient(160deg, #fffdf7, #f3ecd9);
  border: 1px solid rgba(210, 194, 160, 0.35);
}
.hero-visual .visual-frame.light img.logo-hero { width: 86%; height: auto; object-fit: contain; }
.float-chip {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow-md);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--heading);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip .chip-ico { font-size: 1.25rem; color: var(--teal-600); display: inline-flex; }
.float-chip .chip-ico svg { width: 20px; height: 20px; }
.float-chip small { display: block; font-weight: 600; color: var(--ink-500); font-size: 0.72rem; }
.chip-1 { top: 8%; inset-inline-start: -7%; }
.chip-2 { bottom: 10%; inset-inline-end: -6%; animation-delay: 1.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ----------------------------- about ----------------------------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: center; }
.about-visual { position: relative; }
.about-visual .photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 4.6;
  background: linear-gradient(150deg, var(--teal-100), var(--teal-50));
  display: grid;
  place-items: center;
}
.about-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
/* Our Story portrait sits in a clean square frame */
#our-story .about-visual .photo { aspect-ratio: 1 / 1; }
.about-visual .photo svg { width: 62%; height: auto; }
.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 2px solid var(--teal-500);
  transform: translate(16px, 16px);
  z-index: -1;
  opacity: 0.35;
}
html[dir='rtl'] .about-visual::after { transform: translate(-16px, 16px); }
.about-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--heading); margin-bottom: 1.1rem; }
.about-copy p { color: var(--ink-500); margin-bottom: 1rem; }
.about-highlights { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.75rem; }
.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}
.about-highlights li::before { content: '✓'; color: var(--teal-600); font-weight: 800; }

/* ----------------------------- stats ----------------------------- */
.stats-band {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
  border-radius: 26px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 220px at 80% 0%, rgba(210, 194, 160, 0.16), transparent 60%);
}
.stats-band h2 {
  position: relative;
  text-align: center;
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 2.2rem;
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; color: #fff; }
.stat .ico { margin-bottom: 0.5rem; color: var(--gold-500); }
.stat .ico svg { width: 30px; height: 30px; }
.stat .num { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--gold-500); }
.stat .lbl { font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); font-weight: 600; }

/* ----------------------------- services ----------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
html[dir='rtl'] .service-card::before { transform-origin: right; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .svc-ico {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  margin-bottom: 1.1rem;
}
.service-card .svc-ico svg { width: 30px; height: 30px; }
.service-card .svc-img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.12rem; font-weight: 800; color: var(--heading); margin-bottom: 0.55rem; }
.service-card p { color: var(--ink-500); font-size: 0.93rem; }

/* ----------------------------- steps ----------------------------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; }
.step-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 2.4rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-card .step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: -4.2rem auto 1rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--teal-900);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(28, 58, 38, 0.4);
  border: 4px solid var(--bg);
}
section:nth-of-type(even) .step-card .step-num { border-color: var(--surface-2); }
.step-card h3 { font-weight: 800; color: var(--heading); margin-bottom: 0.5rem; font-size: 1.08rem; }
.step-card p { color: var(--ink-500); font-size: 0.93rem; }
.steps-grid { margin-top: 4.5rem; }

/* ----------------------------- testimonials ----------------------------- */
.testi-slider { position: relative; }
.testi-track {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.2rem 1.4rem;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 min(420px, 86%);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.testi-card .quote-mark { font-size: 2.6rem; line-height: 1; color: var(--gold-500); font-weight: 800; }
.testi-card blockquote { color: var(--ink-700); font-size: 0.97rem; flex: 1; margin: 0.4rem 0 1.2rem; }
.testi-who { display: flex; align-items: center; gap: 0.8rem; }
.testi-who .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-800));
  font-size: 1rem;
}
.testi-who .who-name { font-weight: 800; color: var(--heading); font-size: 0.95rem; }
.testi-who .who-role { font-size: 0.8rem; color: var(--ink-500); font-weight: 600; }
.testi-nav { display: flex; justify-content: center; gap: 0.7rem; margin-top: 0.4rem; }
.testi-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--teal-100);
  background: var(--card);
  color: var(--teal-700);
  font-size: 1.1rem;
  font-weight: 800;
  transition: var(--transition);
}
.testi-nav button:hover { background: var(--teal-600); color: #fff; border-color: var(--teal-600); }

/* ----------------------------- certifications ----------------------------- */
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.cert-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  color: var(--ink-700);
  font-size: 0.93rem;
  transition: var(--transition);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.cert-card .cert-ico {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
}
.cert-card .cert-ico svg { width: 24px; height: 24px; }
.cert-card img { flex: 0 0 48px; width: 48px; height: 48px; object-fit: cover; border-radius: 12px; }

/* ----------------------------- custom section ----------------------------- */
.custom-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 820px; margin-inline: auto; }
.custom-grid.has-image { grid-template-columns: 0.8fr 1.2fr; max-width: none; align-items: center; }
.custom-grid img { border-radius: 20px; box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.custom-body p { color: var(--ink-500); margin-bottom: 1rem; }

/* ----------------------------- contact ----------------------------- */
.contact-band {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
  border-radius: 26px;
  padding: 3.4rem 2.6rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 200px at 15% 0%, rgba(68, 147, 95, 0.35), transparent 60%),
    radial-gradient(420px 200px at 85% 100%, rgba(210, 194, 160, 0.24), transparent 60%);
}
.contact-band > * { position: relative; }
.contact-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 0.8rem; }
.contact-band p { color: rgba(255, 255, 255, 0.8); max-width: 52ch; margin: 0 auto 2rem; }
.contact-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 0; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.contact-card:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }
.contact-card .cc-ico { display: inline-flex; }
.contact-card .cc-ico svg { width: 22px; height: 22px; }

/* ----------------------------- footer ----------------------------- */
.site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, 0.75); padding: 3rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.2rem; }
.footer-brand .brand { color: #fff; margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.92rem; max-width: 38ch; }
.site-footer h4 { color: #fff; font-size: 0.95rem; font-weight: 800; margin-bottom: 0.9rem; }
.footer-links { list-style: none; display: grid; gap: 0.5rem; }
.footer-links a { font-size: 0.92rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-500); }
.footer-contact { list-style: none; display: grid; gap: 0.55rem; font-size: 0.92rem; }
.footer-contact .fc-ico { display: inline-flex; vertical-align: -0.18em; color: var(--gold-500); }
.footer-contact .fc-ico svg { width: 16px; height: 16px; }
.socials { display: flex; gap: 0.6rem; margin-top: 1rem; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: var(--transition);
  font-size: 1rem;
}
.socials a:hover { background: var(--teal-600); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.65); }
.footer-bottom a:hover { color: var(--gold-500); }

/* ----------------------------- floating elements ----------------------------- */
.whatsapp-fab {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.1); }

.to-top {
  position: fixed;
  bottom: 96px;
  inset-inline-end: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--teal-800);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 90;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--teal-600); }

/* ----------------------------- responsive ----------------------------- */
@media (max-width: 1020px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { max-width: 420px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .burger { display: flex; }
  .main-nav {
    position: fixed;
    top: 64px;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface-2);
    padding: 1rem 1.2rem 1.4rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: var(--transition);
    z-index: -1;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 0.8rem 1rem; border-radius: 12px; }
}

@media (max-width: 720px) {
  section { padding: 4rem 0; }
  .brand { min-width: 0; flex: 1; font-size: 0.92rem; gap: 0.5rem; }
  .brand > span:not(.logo-badge) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand .logo-badge { width: 36px; height: 36px; border-radius: 10px; font-size: 0.8rem; flex: 0 0 36px; }
  .logo-badge-img { width: 38px; height: 36px; flex: 0 0 38px; }
  .brand small { display: none; }
  .lang-toggle { padding: 0.35rem 0.75rem; font-size: 0.78rem; }
  .services-grid, .steps-grid, .certs-grid { grid-template-columns: 1fr; }
  .steps-grid { gap: 3rem; }
  .custom-grid.has-image { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .chip-1 { inset-inline-start: 2%; }
  .chip-2 { inset-inline-end: 2%; }
  .stats-band, .contact-band { padding: 2.4rem 1.4rem; }
  .hero { min-height: auto; }
}

/* ----------------------------- nav book CTA ----------------------------- */
.nav-book {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--teal-900) !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(28, 58, 38, 0.35);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-book:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(28, 58, 38, 0.45); background: linear-gradient(135deg, var(--gold-500), var(--gold-600)) !important; }

/* ----------------------------- price list ----------------------------- */
.pricelist-panel {
  max-width: 760px;
  margin-inline: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.8rem;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 1.05rem 0.2rem;
}
.price-row + .price-row { border-top: 1px dashed var(--line); }
.price-row .pr-name { font-weight: 700; color: var(--ink-700); font-size: 1rem; }
.price-row .pr-dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.price-row .pr-price { font-weight: 800; color: var(--teal-700); font-size: 1.12rem; white-space: nowrap; }
.price-row .pr-price small { color: var(--ink-300); font-weight: 700; font-size: 0.78rem; }
.price-group {
  display: inline-block;
  margin: 1.3rem 0 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-800));
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-group:first-child { margin-top: 0; }

/* ----------------------------- branches ----------------------------- */
.branches-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; max-width: 920px; margin-inline: auto; }
.branch-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem 1.7rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.branch-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--heading);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.branch-card h3::before {
  content: '';
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background: var(--teal-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.branch-card .b-line { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink-500); font-size: 0.93rem; }
.branch-card .b-line .b-ico { flex: 0 0 auto; display: inline-flex; color: var(--teal-600); }
.branch-card .b-line .b-ico svg { width: 18px; height: 18px; }
.branch-card .b-actions { display: flex; gap: 0.6rem; margin-top: 0.9rem; flex-wrap: wrap; }
.branch-card .b-actions .btn { padding: 0.6rem 1.2rem; font-size: 0.88rem; }

/* ----------------------------- booking page ----------------------------- */
.book-main { padding: 7.5rem 0 4rem; min-height: 100vh; }
.book-head { text-align: center; margin-bottom: 2.2rem; }
.book-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--heading); margin-bottom: 0.6rem; }
.book-head p { color: var(--ink-500); max-width: 60ch; margin-inline: auto; font-size: 0.97rem; }

.book-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.6rem; align-items: start; }
.book-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 1.6rem;
}
.book-panel h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-500);
  font-weight: 800;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.book-panel h2 .step-chip {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-600); color: #fff;
  display: grid; place-items: center;
  font-size: 0.78rem;
}

/* calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.cal-head .cal-title { font-weight: 800; color: var(--heading); font-size: 1.02rem; }
.cal-head button {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1.5px solid var(--teal-100); background: var(--card);
  color: var(--teal-700); font-size: 1rem; font-weight: 800;
  transition: var(--transition);
}
.cal-head button:hover:not(:disabled) { background: var(--teal-600); color: #fff; border-color: var(--teal-600); }
.cal-head button:disabled { opacity: 0.35; cursor: not-allowed; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 0.72rem; font-weight: 800; color: var(--ink-300); text-transform: uppercase; padding: 0.4rem 0; }
.cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background: transparent;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-700);
  transition: 0.15s ease;
}
.cal-day:not(:disabled):hover { background: var(--teal-50); border-color: var(--teal-100); }
.cal-day:disabled { color: var(--ink-300); opacity: 0.55; cursor: not-allowed; }
.cal-day.today { border-color: var(--gold-500); }
.cal-day.selected { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }

/* slots */
.slots-wrap { margin-top: 1.3rem; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot {
  padding: 0.6rem 0.4rem;
  border-radius: 10px;
  border: 1.5px solid var(--input-border);
  background: var(--input-bg);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-700);
  transition: 0.15s ease;
  text-align: center;
}
.slot:hover { border-color: var(--teal-500); color: var(--teal-700); }
.slot.selected { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.slots-empty { color: var(--ink-300); font-weight: 600; font-size: 0.9rem; padding: 0.8rem 0; }

/* booking form */
.book-form .field { margin-bottom: 1rem; }
.book-form .f-label { font-weight: 700; font-size: 0.86rem; color: var(--ink-700); margin-bottom: 0.35rem; display: block; }
.book-form input, .book-form select, .book-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  font-size: 0.93rem;
  font-family: inherit;
  background: var(--input-bg);
  transition: 0.2s;
}
.book-form input:focus, .book-form select:focus, .book-form textarea:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(68, 147, 95, 0.14);
}
.book-form textarea { min-height: 70px; resize: vertical; }

.book-summary {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin: 1.1rem 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-700);
}
.book-summary .bs-row { display: flex; justify-content: space-between; gap: 1rem; }
.book-summary .bs-row strong { color: var(--heading); }
.book-notice { font-size: 0.83rem; color: var(--ink-500); margin-top: 0.9rem; line-height: 1.6; }
.book-submit { width: 100%; justify-content: center; font-size: 1rem; }
.book-error { background: #fdf0ef; color: #c4453a; font-weight: 600; font-size: 0.87rem; padding: 0.7rem 1rem; border-radius: 10px; margin-bottom: 0.9rem; }

.book-success { text-align: center; padding: 2.5rem 1rem; }
.book-success .big { font-size: 3rem; margin-bottom: 0.8rem; color: var(--teal-600); line-height: 0; }
.book-success .big svg { width: 60px; height: 60px; }
.book-success h3 { color: var(--heading); font-size: 1.3rem; margin-bottom: 0.6rem; }
.book-success p { color: var(--ink-500); font-size: 0.95rem; max-width: 44ch; margin: 0 auto 1.4rem; }

@media (max-width: 880px) {
  .book-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .branches-grid { grid-template-columns: 1fr; }
  .pricelist-panel { padding: 1rem 1.2rem; }
  .price-row { flex-wrap: wrap; }
  .book-main { padding-top: 6.2rem; }
}

/* ----------------------------- service detail page ----------------------------- */
.service-card { display: block; }
.svc-more {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--gold-600);
  transition: var(--transition);
}
.service-card:hover .svc-more { color: var(--teal-600); }

.svc-main { padding: 7.5rem 0 4rem; min-height: 80vh; }

.svc-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.6rem;
}
.svc-hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--teal-100);
  color: var(--teal-700);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.2rem;
}
.svc-hero .kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.svc-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 0.9rem;
}
.svc-hero .lead { color: var(--ink-500); font-size: 1.05rem; margin-bottom: 1.6rem; max-width: 56ch; }
.svc-hero-visual {
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(300px 240px at 50% 40%, rgba(210, 194, 160, 0.16), transparent 70%),
    linear-gradient(150deg, var(--teal-50), var(--teal-100));
  border: 1px solid var(--teal-100);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.4;
  display: grid;
  place-items: center;
}
.svc-hero-img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero-ico { color: var(--teal-600); filter: drop-shadow(0 12px 22px rgba(28, 58, 38, 0.2)); }
.svc-hero-ico svg { width: clamp(4.5rem, 10vw, 7rem); height: auto; }

.svc-intro {
  max-width: 820px;
  margin: 0 auto 2.2rem;
  font-size: 1.04rem;
}
.svc-intro p { color: var(--ink-700); margin-bottom: 1.1rem; }

.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-bottom: 1.6rem; }
.svc-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem 1.7rem;
}
.svc-panel h2 { font-size: 1.15rem; font-weight: 800; color: var(--heading); margin-bottom: 1.1rem; }
.svc-list { list-style: none; display: grid; gap: 0.7rem; }
.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink-700);
  font-size: 0.95rem;
  font-weight: 600;
}
.svc-list li::before { content: '✓'; color: var(--teal-600); font-weight: 800; flex: 0 0 auto; }
.svc-expect { margin-bottom: 1.6rem; }
.svc-expect p { color: var(--ink-500); margin-bottom: 0.9rem; font-size: 0.98rem; }
.svc-expect p:last-child { margin-bottom: 0; }

.svc-note {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 14px;
  padding: 1rem 1.3rem;
  font-weight: 700;
  color: var(--ink-700);
  font-size: 0.95rem;
  margin-bottom: 2.2rem;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--teal-900);
  box-shadow: 0 10px 24px rgba(28, 58, 38, 0.4);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(28, 58, 38, 0.5); }

.svc-cta-band {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
  border-radius: 24px;
  padding: 2.6rem 2rem;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2.6rem;
}
.svc-cta-band h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 800; margin-bottom: 0.6rem; }
.svc-cta-band p { color: rgba(255, 255, 255, 0.8); margin-bottom: 1.5rem; }

.svc-others h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-300);
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.svc-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.svc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.svc-chip:hover { border-color: var(--teal-500); color: var(--teal-700); transform: translateY(-2px); }
.svc-chip span { display: inline-flex; color: var(--teal-600); }
.svc-chip span svg { width: 18px; height: 18px; }

/* inline text icons (headings, buttons, notes) — scale with the text */
.inline-ico { display: inline-flex; vertical-align: -0.16em; }
.inline-ico svg { width: 1.05em; height: 1.05em; }

.svc-notfound { text-align: center; padding: 4rem 0; }
.svc-notfound .big { font-size: 3rem; margin-bottom: 0.8rem; }
.svc-notfound h1 { color: var(--heading); font-size: 1.5rem; margin-bottom: 1.4rem; }

.mini-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 1.4rem 0;
  font-size: 0.85rem;
}

@media (max-width: 1020px) {
  .svc-hero { grid-template-columns: 1fr; }
  .svc-hero-visual { max-width: 380px; margin-inline: auto; width: 100%; }
  .svc-cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .svc-main { padding-top: 6.2rem; }
  .svc-hero { gap: 1.6rem; }
  .svc-cta-band { padding: 2rem 1.3rem; }
}

/* ----------------------------- exercise library ----------------------------- */
.lib-page { padding: 1rem 0 1.5rem; }
.lib-page .section-head { text-align: center; margin-bottom: 0.6rem; }
.lib-page .section-head h1 { color: var(--heading); font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
.lib-intro { max-width: 60ch; margin: 0 auto 2rem; text-align: center; color: var(--ink-500); }
.lib-intro p { margin-bottom: 0.6rem; }

.lib-banner {
  max-width: 760px;
  margin: 0 auto 1.6rem;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  background: var(--teal-50);
  border: 1px dashed var(--teal-500);
  color: var(--teal-700);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

.ex-group {
  color: var(--heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 1.8rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--line);
}
.ex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.ex-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.ex-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ex-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.ex-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ex-video-missing {
  display: grid;
  place-items: center;
  background: var(--teal-50);
  color: var(--ink-500);
  font-size: 0.88rem;
  text-align: center;
  padding: 1rem;
}
.ex-body { padding: 1rem 1.2rem 1.3rem; }
.ex-body h3 { color: var(--heading); font-size: 1.05rem; font-weight: 800; margin-bottom: 0.4rem; }
.ex-body p { color: var(--ink-500); font-size: 0.92rem; line-height: 1.55; }

.lib-empty {
  text-align: center;
  color: var(--ink-500);
  padding: 2.5rem 1rem;
  background: var(--surface-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.lib-coming { text-align: center; padding: 4rem 1rem; }
.lib-coming .big { color: var(--teal-600); line-height: 0; margin-bottom: 1rem; }
.lib-coming .big svg { width: 64px; height: 64px; }
.lib-coming h1 { color: var(--heading); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.8rem; }
.lib-coming p { color: var(--ink-500); max-width: 46ch; margin: 0 auto 1.6rem; }
