@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --cream: #F5F8FC;
  --beige: #EDF2F8;
  --sand: #DCE6F0;
  --nude: #C0D2E4;
  --gold: #1A5FAD;
  --gold-light: #3A80CC;
  --gold-dark: #0F3F80;
  --gold-pale: #E5F0FC;
  --rose-pale: #E8F3FC;
  --blush: #BAD4EE;
  --earth: #1A3D70;
  --earth-light: #3E6FA8;
  --white: #FFFFFF;
  --dark: #0D1929;
  --dark2: #122238;
  --blue-accent: #1A5FAD;
  --text-primary: #0D1929;
  --text-secondary: #2E4A6A;
  --text-light: #6A8AAA;
  --nav-height: 72px;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-script: 'Poppins', sans-serif;
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(13,25,41,0.06);
  --shadow-md: 0 8px 32px rgba(13,25,41,0.10);
  --shadow-lg: 0 20px 64px rgba(13,25,41,0.14);
  --shadow-gold: 0 8px 32px rgba(26,95,173,0.20);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text-primary); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ── Utilities ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 40px; }
.container-xs { max-width: 720px; margin: 0 auto; padding: 0 40px; }
.text-center { text-align: center; }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--dark); }

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 20px 0;
}
.text-center .section-divider { margin: 20px auto; }

/* ── Loading Screen ── */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
}
.loading-logo span { color: var(--gold-light); }
.loading-bar {
  width: 160px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.loading-bar-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  background: var(--gold);
  animation: loadBar 1.6s var(--ease-expo) forwards;
}
@keyframes loadBar { from { width: 0 } to { width: 100% } }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 1px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--white); box-shadow: var(--shadow-gold); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(26,95,173,0.30); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--text-primary); }
.btn-secondary:hover { background: var(--text-primary); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-gold-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-gold-outline:hover { background: var(--gold); color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark2); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 10px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all 0.4s var(--ease-smooth);
}
.nav.transparent { background: transparent; }
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26,95,173,0.12);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-img { width: 36px; height: 36px; object-fit: contain; filter: brightness(0) invert(1); transition: filter 0.3s; }
.nav.scrolled .nav-logo { color: var(--text-primary); }
.nav.scrolled .nav-logo-img { filter: none; }
.nav-logo em { color: var(--gold-light); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color 0.3s;
}
.nav.scrolled .nav-link { color: var(--text-secondary); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-smooth);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--white); }
.nav.scrolled .nav-link:hover { color: var(--text-primary); }
/* My Comfort nav highlight */
.mc-nav-link {
  color: var(--gold-light, #3A80CC) !important;
  font-weight: 600;
}
.nav.scrolled .mc-nav-link { color: var(--gold, #1A5FAD) !important; }
.mc-nav-link::after { background: var(--gold-light, #3A80CC) !important; }
.nav-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  border-radius: 1px;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--gold); border-color: var(--gold); }
.nav.scrolled .nav-cta { border-color: var(--gold); color: var(--gold); }
.nav.scrolled .nav-cta:hover { background: var(--gold); color: var(--white); }

/* MyCW portal button in desktop nav */
.nav-mycw {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.75);
  border-radius: 100px;
  transition: all 0.25s;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-mycw i { font-size: 12px; }
.nav-mycw:hover {
  background: rgba(26,95,173,0.18);
  border-color: var(--gold-light);
  color: var(--white);
}
.nav.scrolled .nav-mycw {
  border-color: rgba(26,95,173,0.30);
  color: var(--gold);
}
.nav.scrolled .nav-mycw:hover {
  background: rgba(26,95,173,0.10);
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* MyCW portal button in mobile menu */
.nav-mycw-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(26,95,173,0.07);
  border: 1px solid rgba(26,95,173,0.22);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s;
  margin-top: 8px;
  letter-spacing: 0.05em;
}
.nav-mycw-mobile:hover {
  background: rgba(26,95,173,0.14);
  border-color: var(--gold);
}

.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.nav-hamburger span { display: block; width: 24px; height: 1px; background: var(--white); transition: all 0.3s; }
.nav.scrolled .nav-hamburger span { background: var(--text-primary); }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: rgba(250,248,245,0.98);
  backdrop-filter: blur(20px);
  padding: 24px 32px 32px;
  border-bottom: 1px solid var(--sand);
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s var(--ease-smooth);
}
.nav-mobile.open { display: block; transform: translateY(0); opacity: 1; }
.nav-mobile .nav-link {
  display: block;
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--beige);
}
.nav-mobile .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ── Scroll Video Hero ── */
.scroll-hero {
  height: 600vh;
  position: relative;
}
.scroll-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060d1a;
}
/* ── Aurora animated background ── */
@keyframes aurora {
  from { background-position: 50% 50%, 50% 50%; }
  to   { background-position: 350% 50%, 350% 50%; }
}

/* Layer 1: full-fill deep aurora (behind video, fallback) */
.hero-aurora-base {
  position: absolute;
  inset: -10px;
  background-image:
    repeating-linear-gradient(100deg, #060d1a 0%, #060d1a 7%, transparent 10%, transparent 12%, #060d1a 16%),
    repeating-linear-gradient(100deg, #1d4ed8 10%, #6366f1 15%, #3b82f6 20%, #a78bfa 25%, #2563eb 30%);
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(14px);
  animation: aurora 50s linear infinite;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

/* Layer 2: aurora shimmer OVER the video (screen blend = adds light glow) */
.hero-aurora {
  position: absolute;
  inset: -10px;
  background-image:
    repeating-linear-gradient(100deg, transparent 0%, transparent 7%, #1a3a8a 10%, transparent 12%, transparent 16%),
    repeating-linear-gradient(100deg, #3b82f6 10%, #818cf8 15%, #93c5fd 20%, #c4b5fd 25%, #60a5fa 30%);
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(30px);
  animation: aurora 35s linear infinite;
  opacity: 0.14;
  z-index: 2;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-aurora::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(100deg, transparent 0%, transparent 7%, #1a3a8a 10%, transparent 12%, transparent 16%),
    repeating-linear-gradient(100deg, #3b82f6 10%, #818cf8 15%, #93c5fd 20%, #c4b5fd 25%, #60a5fa 30%);
  background-size: 200%, 100%;
  background-position: 50% 50%, 50% 50%;
  animation: aurora 20s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.08;
}

#heroVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 1;
  /* GPU-accelerated compositing for maximum smoothness */
  will-change: transform;
  transform: translateZ(0);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Ultra-light overlay — video at full color fidelity */
  background:
    linear-gradient(to bottom, rgba(6,13,26,0.10) 0%, transparent 25%, transparent 70%, rgba(6,13,26,0.35) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-scenes {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-scene {
  position: absolute;
  text-align: center;
  padding: 0 40px;
  width: 100%;
  max-width: 900px;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  will-change: opacity, transform;
}
.hero-scene.visible { pointer-events: auto; }
.hero-scene > * { opacity: 0; transform: translateY(20px); will-change: opacity, transform; }

/* Hero progress bar */
.hero-progress {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 72px;
  z-index: 4;
  background: rgba(255,255,255,0.12);
  z-index: 3;
  border-radius: 2px;
}
.hero-progress-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: var(--gold-light);
  border-radius: 2px;
  transition: none;
}

.scene1-script { display: none; }
.scene1-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  display: block;
}
.scene2-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.scene3-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 16px;
}
.scene3-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 32px;
}
.scene3-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 2.5s both;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: top; opacity: 0; }
}

/* ── Hero Chapters ── */
.hero-chapter {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
.hero-chapter.ch-active { pointer-events: auto; }

/* Chapter 1 – centered brand */
#hc1 { display: flex; align-items: center; justify-content: center; text-align: center; }
.hc1-inner {
  width: 100%;
  max-width: 100%;
  padding: 0 32px;
  box-sizing: border-box;
}
.hc-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 20px;
  will-change: opacity, transform;
}
.hc1-tagline {
  font-size: clamp(26px, 3.5vw, 52px);
  font-weight: 300;
  color: rgba(255,255,255,0.90);
  line-height: 1.4;
  margin-top: 18px;
  will-change: opacity, transform;
}
.hc-brand {
  font-family: var(--font-display);
  font-size: clamp(44px, 11.5vw, 180px);
  font-weight: 700; color: #fff;
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
  will-change: opacity, transform;
}
.hc-brand-sub {
  font-size: clamp(16px, 2.5vw, 32px); font-weight: 300;
  color: var(--gold-light); letter-spacing: 0.4em;
  text-transform: uppercase; margin-top: 10px;
  will-change: opacity, transform;
}

/* Chapter 2 – services, bottom-left cinematic */
#hc2 { display: flex; align-items: flex-end; padding: 0 0 80px 80px; }
.hc2-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.30em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 24px; will-change: opacity;
}
.hc2-list { display: flex; flex-direction: column; gap: 4px; }
.hc2-item {
  display: flex; align-items: baseline; gap: 16px; color: #fff;
  will-change: opacity, transform, filter;
}
.hc2-num {
  font-size: 10px; font-weight: 700; color: var(--gold-light);
  letter-spacing: 0.1em; width: 20px; flex-shrink: 0; opacity: 0.7;
}
.hc2-item > span:last-child {
  font-size: clamp(24px, 3.8vw, 56px); font-weight: 700; line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 32px rgba(0,0,0,0.5);
}

/* Chapter 3 – doctor, left-center bold */
#hc3 {
  display: flex; align-items: center;
  justify-content: flex-start; padding: 0 0 0 80px;
}
.hc3-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.30em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 20px; will-change: opacity;
}
.hc3-name {
  font-size: clamp(36px, 6vw, 80px); font-weight: 800;
  color: #fff; line-height: 1.0; letter-spacing: -0.02em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
  will-change: opacity, transform;
}
.hc3-role {
  font-size: 14px; color: rgba(255,255,255,0.50);
  margin: 14px 0 0; font-weight: 400; letter-spacing: 0.06em;
  will-change: opacity, transform;
}
.hc3-divider {
  width: 48px; height: 1px; background: var(--gold-light);
  margin: 24px 0; will-change: opacity, transform;
}
.hc3-stats { display: flex; gap: 40px; }
.hc3-stat {
  display: flex; flex-direction: column; align-items: flex-start;
  will-change: opacity, transform;
}
.hc3-num {
  font-size: clamp(28px, 3.5vw, 48px); font-weight: 800; color: var(--gold-light); line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgba(58,128,204,0.5);
}
.hc3-lbl { font-size: 9px; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 0.16em; margin-top: 6px; }

/* Chapter 4 – CTA, full centered cinematic */
#hc4 { display: flex; align-items: center; justify-content: center; text-align: center; }
.hc4-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 24px; will-change: opacity;
}
.hc4-title {
  font-size: clamp(44px, 7.5vw, 110px); font-weight: 800;
  color: #fff; line-height: 1.0; margin-bottom: 0;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 60px rgba(0,0,0,0.35);
  will-change: opacity, transform;
}
.hc4-line {
  width: 60px; height: 1px; background: rgba(255,255,255,0.35);
  margin: 32px auto; will-change: opacity, transform;
}
.hc4-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; will-change: opacity, transform; }

/* Chapter navigation dots (left) */
.hero-chapter-nav {
  position: absolute; left: 28px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 5;
}
.hero-chap-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.25); transition: all 0.4s ease; cursor: pointer;
}
.hero-chap-dot.active { background: var(--gold-light); height: 22px; border-radius: 3px; }

/* ── Page Header (inner pages) ── */
.page-header {
  padding: 160px 0 80px;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(26,95,173,0.18) 0%, transparent 65%);
}
.page-header-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
}
.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  position: relative;
}
.page-header-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-top: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  position: relative;
}

/* ── Sections ── */
section { padding: 100px 0; }
.section-header { margin-bottom: 60px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}
.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 540px;
  margin-top: 14px;
  font-weight: 300;
}
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── Intro / About Preview ── */
.intro-section { background: var(--cream); padding: 120px 0; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-image-wrap { position: relative; height: 540px; }
.intro-img-main {
  width: 100%;
  height: 100%;
  border-radius: 2px;
}
.intro-img-badge {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 160px;
  height: 160px;
  background: var(--gold-pale);
  border: 2px solid var(--gold-light);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
}
.intro-badge-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1;
}
.intro-badge-text {
  font-size: 11px;
  color: var(--earth-light);
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.3;
}
.intro-content { padding: 20px 0; }
.intro-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 16px;
}
.intro-text { font-size: 14px; color: var(--text-secondary); line-height: 1.85; font-weight: 300; margin-bottom: 14px; }
.intro-features { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.intro-feature { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-secondary); }
.feature-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ── Services Preview ── */
.services-preview { background: var(--white); }
.services-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--sand);
  border: 1px solid var(--sand);
}
.service-card-home {
  background: var(--white);
  padding: 40px 28px;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.service-card-home::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-smooth);
}
.service-card-home:hover { background: var(--cream); transform: translateY(-4px); box-shadow: var(--shadow-md); z-index: 1; }
.service-card-home:hover::after { transform: scaleX(1); }
.svc-icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 20px;
}
.svc-title { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.svc-desc { font-size: 13px; color: var(--text-light); line-height: 1.7; font-weight: 300; margin-bottom: 20px; }
.svc-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}
.service-card-home:hover .svc-link { gap: 14px; }

/* ── Products Preview ── */
/* ── Service Catalog Grid (home) ── */
.svc-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 8px;
}
.svc-catalog-col {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 2px;
  padding: 28px 24px;
  transition: box-shadow 0.3s;
}
.svc-catalog-col:hover { box-shadow: var(--shadow-md); }
.svc-catalog-head {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc-catalog-head i { color: var(--gold); font-size: 14px; }
.svc-catalog-list { display: flex; flex-direction: column; gap: 10px; }
.svc-catalog-list li {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 8px;
}
.svc-catalog-list li i { color: var(--gold); font-size: 9px; flex-shrink: 0; }
@media (max-width: 900px) { .svc-catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .svc-catalog-grid { grid-template-columns: 1fr; } }

.products-preview { background: var(--cream); }
.products-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  box-shadow: var(--shadow-sm);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-img-wrap { height: 260px; overflow: hidden; background: var(--beige); position: relative; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 24px; transition: transform 0.5s var(--ease-smooth); }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 1px;
}
.product-body { padding: 24px; }
.product-cat { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.product-name { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.product-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; font-weight: 300; margin-bottom: 20px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--font-display); font-size: 22px; color: var(--text-primary); }

/* ── Stats ── */
.stats-section { background: var(--dark); padding: 72px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}
.stat-item { background: var(--dark); padding: 48px 24px; text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

/* ── Testimonials ── */
.testimonials-section { background: var(--white); }
.testimonials-wrapper { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.6s var(--ease-smooth); }
.testimonial-item { min-width: 100%; padding: 0 12%; text-align: center; }
.testimonial-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 24px; }
.star { color: var(--gold); font-size: 16px; }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 32px;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 16px; }
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nude), var(--blush));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--earth);
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 600; }
.author-title { font-size: 12px; color: var(--text-light); font-weight: 300; }
.testimonials-nav { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.t-dot {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: var(--sand);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.t-dot.active { background: var(--gold); width: 24px; }

/* ── CTA Section ── */
.cta-section {
  background: var(--beige);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 180px;
  font-weight: 700;
  color: rgba(26,95,173,0.06);
  letter-spacing: 0.15em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.cta-script { display: none; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.cta-text { font-size: 15px; color: var(--text-secondary); max-width: 440px; margin: 0 auto 36px; font-weight: 300; line-height: 1.8; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer { background: var(--dark); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 56px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: 0.04em; color: var(--white); margin-bottom: 14px; }
.footer-logo em { color: var(--gold-light); font-style: normal; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; font-weight: 300; max-width: 260px; margin-bottom: 28px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  transition: all 0.3s;
  text-decoration: none;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(26,95,173,0.08); }
.footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 13px; color: rgba(255,255,255,0.45); font-weight: 300; transition: color 0.3s; }
.footer-link:hover { color: var(--white); }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-icon { color: var(--gold); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.footer-contact-text { font-size: 13px; color: rgba(255,255,255,0.45); font-weight: 300; line-height: 1.5; }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-link { font-size: 12px; color: rgba(255,255,255,0.25); transition: color 0.3s; }
.footer-bottom-link:hover { color: rgba(255,255,255,0.5); }


/* ── Services Page ── */
.services-page-section { background: var(--white); }
.services-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--sand);
  border: 1px solid var(--sand);
}
.service-row {
  background: var(--white);
  padding: 44px 56px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 40px;
  align-items: start;
  transition: background 0.3s;
}
.service-row:hover { background: var(--cream); }
.service-row-left {}
.service-row-num { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--sand); line-height: 1; margin-bottom: 6px; }
.service-row-name { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.service-row-duration { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 6px; }
.service-row-body {}
.service-row-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.8; font-weight: 300; margin-bottom: 16px; }
.service-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.service-tag { font-size: 11px; padding: 4px 12px; background: var(--gold-pale); color: var(--earth); border-radius: 999px; }
.service-row-right { text-align: right; }
.service-price { font-family: var(--font-display); font-size: 22px; color: var(--text-primary); margin-bottom: 14px; }
.service-price-note { display: block; font-size: 11px; color: var(--text-light); letter-spacing: 0.08em; margin-bottom: 4px; }

/* ── Products Page ── */
.products-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.product-card-full {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--sand);
  transition: all 0.4s var(--ease-smooth);
}
.product-card-full:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--nude); }
.product-full-img { height: 280px; background: var(--beige); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-full-img img { width: 100%; height: 100%; object-fit: contain; padding: 28px; transition: transform 0.5s var(--ease-smooth); }
.product-card-full:hover .product-full-img img { transform: scale(1.07); }
.product-full-body { padding: 24px; }

/* ── About ── */
.about-hero-section { background: var(--cream); padding: 120px 0; }
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-hero-img { height: 520px; border-radius: 2px; overflow: hidden; }
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  padding: 44px 36px;
  background: var(--white);
  border-radius: 2px;
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 48px; height: 48px;
  background: var(--gold-pale);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 20px;
}
.value-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.value-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; font-weight: 300; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.team-card { text-align: center; }
.team-avatar-wrap {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 3px solid var(--gold-pale);
  background: linear-gradient(135deg, var(--nude), var(--blush));
  transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.team-card:hover .team-avatar-wrap { border-color: var(--gold); transform: scale(1.05); }
.team-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar-initials { font-family: var(--font-body); font-size: 36px; font-weight: 700; color: var(--earth); }
.team-name { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 4px; }
.team-role { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; margin-bottom: 12px; }
.team-bio { font-size: 13px; color: var(--text-light); line-height: 1.7; font-weight: 300; }

/* ── Service Table (products page) ── */
.svc-table-section { margin-bottom: 72px; }
.svc-table-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
}
.svc-table-icon {
  width: 48px; height: 48px;
  background: var(--gold-pale);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
}
.svc-table-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.svc-table-title {
  font-family: var(--font-display); font-size: 26px;
  font-weight: 600; color: var(--text-primary); line-height: 1.2;
}
.svc-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.svc-table thead tr {
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}
.svc-table th {
  padding: 12px 16px; text-align: left;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-light);
}
.svc-table td {
  padding: 16px 16px; border-bottom: 1px solid var(--cream);
  color: var(--text-secondary); font-weight: 300; line-height: 1.5;
  vertical-align: middle;
}
.svc-table td strong { color: var(--text-primary); font-weight: 600; }
.svc-table tbody tr:hover { background: var(--cream); }
.svc-tag-sm {
  display: inline-block; font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; padding: 2px 8px;
  background: var(--gold-pale); color: var(--gold);
  border-radius: 2px; margin: 2px 2px 2px 0;
}
@media (max-width: 768px) {
  .svc-table { display: block; overflow-x: auto; }
  .svc-table-header { gap: 14px; }
  .svc-table-title { font-size: 20px; }
}

/* ── Doctor Showcase ── */
.dr-showcase {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 16px;
}
.dr-showcase-img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.dr-showcase-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
.dr-showcase-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--dark);
  color: var(--white);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dr-showcase-badge i { color: var(--gold); }
.dr-showcase-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.dr-showcase-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.15;
}
.dr-showcase-bio {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 16px;
}
.dr-showcase-stats {
  display: flex;
  gap: 36px;
  padding: 24px 0;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  margin: 28px 0;
}
.dr-showcase-stat {}
.dr-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.dr-stat-lbl {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dr-showcase-creds { display: flex; flex-direction: column; gap: 10px; }
.dr-cred {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dr-cred i { color: var(--gold); font-size: 13px; flex-shrink: 0; }
@media (max-width: 1024px) {
  .dr-showcase { grid-template-columns: 1fr; gap: 40px; }
  .dr-showcase-img img { height: 360px; }
  .dr-showcase-stats { gap: 24px; }
}

/* ── Auth / Login ── */
.auth-page { min-height: 100vh; display: flex; }
.auth-left {
  flex: 0 0 480px;
  background: var(--dark);
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(26,95,173,0.18), transparent 60%);
  pointer-events: none;
}
.auth-left-logo { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--white); letter-spacing: 0.04em; margin-bottom: 48px; position: relative; }
.auth-left-logo em { color: var(--gold-light); font-style: normal; }
.auth-left-title { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--white); line-height: 1.25; margin-bottom: 20px; position: relative; }
.auth-left-text { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.8; font-weight: 300; position: relative; max-width: 340px; }
.auth-left-features { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.auth-feature { display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.55); }
.auth-check { width: 20px; height: 20px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 10px; flex-shrink: 0; }
.auth-right {
  flex: 1;
  background: var(--white);
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 40px);
}
.auth-form-title { font-family: var(--font-display); font-size: 32px; font-weight: 400; margin-bottom: 6px; }
.auth-form-sub { font-size: 14px; color: var(--text-light); font-weight: 300; margin-bottom: 36px; }
.auth-tabs { display: flex; gap: 0; margin-bottom: 36px; border-bottom: 1px solid var(--sand); }
.auth-tab {
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: all 0.3s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.auth-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.auth-form-panel { display: none; }
.auth-form-panel.active { display: block; }
.auth-switch { font-size: 13px; color: var(--text-light); margin-top: 20px; }
.auth-switch a { color: var(--gold); font-weight: 500; }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--sand);
  border-radius: 2px;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  font-weight: 300;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(26,95,173,0.10);
}
.form-input::placeholder { color: var(--text-light); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  font-size: 12px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-secondary); cursor: pointer; }
.form-check input { width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; }

/* ── Client Portal ── */
.portal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - var(--nav-height));
  margin-top: var(--nav-height);
}
.portal-sidebar {
  background: var(--dark2);
  padding: 36px 0;
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}
.portal-user-block {
  padding: 0 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.portal-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
}
.portal-user-name { font-family: var(--font-display); font-size: 18px; color: var(--white); margin-bottom: 3px; }
.portal-user-since { font-size: 12px; color: rgba(255,255,255,0.35); }
.portal-nav-section { padding: 0 12px; margin-bottom: 20px; }
.portal-nav-label { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.25); padding: 0 8px; margin-bottom: 6px; }
.portal-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 2px;
  position: relative;
  text-decoration: none;
}
.portal-nav-item:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.portal-nav-item.active { color: var(--white); background: rgba(26,95,173,0.12); }
.portal-nav-item.active::before {
  content: '';
  position: absolute;
  left: -12px; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
}
.portal-nav-icon { font-size: 15px; width: 18px; text-align: center; }
.portal-main { background: var(--cream); padding: 44px; }
.portal-header { margin-bottom: 36px; }
.portal-title { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 4px; }
.portal-subtitle { font-size: 14px; color: var(--text-light); }
.portal-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.portal-stat-card {
  background: var(--white);
  padding: 24px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold);
}
.portal-stat-val { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1; margin-bottom: 6px; }
.portal-stat-label { font-size: 11px; color: var(--text-light); letter-spacing: 0.1em; text-transform: uppercase; }
.portal-section-title { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin-bottom: 20px; }
.appointment-list { background: var(--white); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-sm); }
.appt-item {
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--beige);
  transition: background 0.2s;
}
.appt-item:hover { background: var(--cream); }
.appt-item:last-child { border-bottom: none; }
.appt-date-day { font-family: var(--font-display); font-size: 28px; font-weight: 400; color: var(--gold); line-height: 1; }
.appt-date-mon { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); }
.appt-service { font-weight: 500; font-size: 14px; margin-bottom: 3px; }
.appt-details { font-size: 12px; color: var(--text-light); }
.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.badge-confirmed { background: #E8F5E9; color: #2E7D32; }
.badge-pending { background: var(--gold-pale); color: var(--gold-dark); }
.badge-completed { background: var(--beige); color: var(--earth); }
.badge-cancelled { background: #FFEBEE; color: #C62828; }

/* ── Appointments Booking ── */
.booking-page { background: var(--cream); padding: 80px 0 120px; min-height: 100vh; padding-top: calc(var(--nav-height) + 60px); }
.booking-wrap { max-width: 860px; margin: 0 auto; padding: 0 32px; }
.booking-steps-bar {
  display: flex;
  align-items: center;
  margin-bottom: 56px;
}
.booking-step-item { display: flex; align-items: center; gap: 10px; }
.step-circle {
  width: 34px; height: 34px;
  border: 1px solid var(--sand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s;
  flex-shrink: 0;
}
.step-text { font-size: 12px; font-weight: 500; color: var(--text-light); white-space: nowrap; }
.booking-step-item.active .step-circle { background: var(--gold); border-color: var(--gold); color: var(--white); }
.booking-step-item.active .step-text { color: var(--text-primary); }
.booking-step-item.done .step-circle { background: var(--dark); border-color: var(--dark); color: var(--white); }
.step-line { flex: 1; height: 1px; background: var(--sand); margin: 0 12px; }
.booking-panel { background: var(--white); border: 1px solid var(--sand); border-radius: 4px; padding: 44px; }
.booking-panel-title { font-family: var(--font-display); font-size: 26px; font-weight: 400; margin-bottom: 8px; }
.booking-panel-sub { font-size: 14px; color: var(--text-light); margin-bottom: 32px; font-weight: 300; }
.booking-step-panel { display: none; }
.booking-step-panel.active { display: block; }
.svc-options-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svc-opt {
  padding: 18px 16px;
  border: 1px solid var(--sand);
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}
.svc-opt:hover { border-color: var(--gold-light); background: var(--gold-pale); }
.svc-opt.selected { border-color: var(--gold); background: var(--gold-pale); }
.svc-opt-name { font-family: var(--font-display); font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.svc-opt-time { font-size: 11px; color: var(--text-light); }
.specialist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.spec-opt {
  padding: 20px 12px;
  border: 1px solid var(--sand);
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}
.spec-opt:hover { border-color: var(--gold-light); background: var(--gold-pale); }
.spec-opt.selected { border-color: var(--gold); background: var(--gold-pale); }
.spec-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nude), var(--blush));
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--earth);
  overflow: hidden;
}
.spec-avatar img { width: 100%; height: 100%; object-fit: cover; }
.spec-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.spec-role { font-size: 11px; color: var(--text-light); }
.time-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.time-slot {
  padding: 11px;
  border: 1px solid var(--sand);
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
}
.time-slot:hover { border-color: var(--gold-light); background: var(--gold-pale); }
.time-slot.selected { background: var(--gold); border-color: var(--gold); color: var(--white); }
.time-slot.unavailable { opacity: 0.35; cursor: not-allowed; pointer-events: none; }
.booking-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; }
.booking-confirm-box { background: var(--cream); border-radius: 4px; padding: 28px; margin-bottom: 24px; }
.confirm-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--sand); font-size: 14px; }
.confirm-row:last-child { border-bottom: none; }
.confirm-label { color: var(--text-light); font-weight: 300; }
.confirm-value { font-weight: 500; }

/* ── Recommendations Quiz ── */
.quiz-page { min-height: 100vh; background: var(--cream); padding: calc(var(--nav-height) + 60px) 0 100px; }
.quiz-wrap { max-width: 700px; margin: 0 auto; padding: 0 32px; }
.quiz-progress-track { display: flex; gap: 4px; margin-bottom: 44px; }
.quiz-prog-bar { flex: 1; height: 3px; background: var(--sand); border-radius: 2px; transition: background 0.4s; }
.quiz-prog-bar.filled { background: var(--gold); }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeInUp 0.4s var(--ease-expo) both; }
.quiz-q { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); font-weight: 400; margin-bottom: 8px; line-height: 1.3; }
.quiz-hint { font-size: 14px; color: var(--text-light); margin-bottom: 28px; font-weight: 300; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-opt {
  padding: 18px 20px;
  border: 1px solid var(--sand);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  background: var(--white);
  font-weight: 400;
  text-align: left;
}
.quiz-opt:hover { border-color: var(--gold-light); background: var(--gold-pale); }
.quiz-opt.selected { border-color: var(--gold); background: var(--gold-pale); }
.quiz-opt-icon { font-size: 22px; flex-shrink: 0; }
.quiz-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.quiz-counter { font-size: 13px; color: var(--text-light); }
.quiz-results { display: none; }
.quiz-results.visible { display: block; animation: fadeInUp 0.6s var(--ease-expo) both; }
.results-header { text-align: center; padding: 20px 0 48px; }
.results-title { font-family: var(--font-display); font-size: clamp(24px, 3.5vw, 38px); font-weight: 600; margin-bottom: 12px; }
.results-sub { font-size: 15px; color: var(--text-secondary); font-weight: 300; }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.result-card { background: var(--white); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-md); transition: transform 0.3s; }
.result-card:hover { transform: translateY(-4px); }
.result-type-bar { padding: 6px 0; background: var(--gold); color: var(--white); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; }
.result-type-bar.service { background: var(--dark); }
.result-body { padding: 22px; }
.result-name { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.result-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; font-weight: 300; margin-bottom: 18px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.contact-info-items { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  font-size: 16px;
  flex-shrink: 0;
}
.contact-info-content {}
.contact-info-label { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-info-val { font-size: 14px; color: var(--text-secondary); line-height: 1.5; font-weight: 300; }
.contact-map-box {
  background: var(--beige);
  height: 360px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--sand);
}
.map-placeholder-text { text-align: center; color: var(--earth-light); }
.map-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.social-grid { display: flex; gap: 12px; margin-top: 32px; }
.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--sand);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s;
  text-decoration: none;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .services-grid-home { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .portal-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 968px) {
  .nav-links, .nav-cta, .nav-mycw { display: none; }
  .nav-hamburger { display: flex; }
  .intro-grid, .about-hero-grid, .contact-grid, .auth-left { display: none; }
  .auth-left { display: none; }
  .intro-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
  .about-hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
  .products-grid-home, .products-page-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 16px; }
  .service-row-right { text-align: left; }
  .portal-layout { grid-template-columns: 1fr; }
  .portal-sidebar { position: static; height: auto; }
  .portal-main { padding: 24px; }
  section { padding: 72px 0; }
  .container, .container-sm, .container-xs { padding: 0 20px; }
  .svc-options-grid { grid-template-columns: repeat(2, 1fr); }
  .specialist-grid { grid-template-columns: repeat(2, 1fr); }
  .time-slots { grid-template-columns: repeat(3, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --nav-height: 64px; }
  .products-grid-home, .products-page-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .services-grid-home { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .portal-stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .booking-panel { padding: 24px 20px; }
  .svc-options-grid { grid-template-columns: 1fr; }
  .specialist-grid { grid-template-columns: repeat(2, 1fr); }
  .time-slots { grid-template-columns: repeat(3, 1fr); }
  .quiz-options { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .appt-item { grid-template-columns: 48px 1fr; }
  .appt-item > :nth-child(3), .appt-item > :nth-child(4) { grid-column: 2; }
  .auth-right { padding: 40px 24px; padding-top: calc(var(--nav-height) + 40px); }
  .booking-steps-bar { flex-wrap: wrap; gap: 8px; }
  .step-line { display: none; }
  #hc2 { padding: 0 0 56px 32px; }
  .hc2-item > span:last-child { font-size: 22px; }
  #hc3 { padding: 0 0 0 32px; }
  .hc3-name { font-size: 40px; }
  .hc3-stats { gap: 24px; }
  .hc4-title { font-size: 44px; letter-spacing: -0.02em; }
  .hero-chapter-nav { display: none; }
  .gallery-card { flex: 0 0 300px; }
  .gallery-track { padding: 0 24px; }
  .gallery-header { padding: 0 24px 36px; }
  .tgrid { grid-template-columns: 1fr; }
}

/* ── Gallery4 Carousel ── */
.gallery-section {
  background: var(--dark);
  padding: 80px 0;
  overflow: hidden;
}
.gallery-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  max-width: 1280px; margin: 0 auto;
  padding: 0 48px 48px;
}
.gallery-nav { display: flex; gap: 10px; }
.gallery-nav-btn {
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff;
  background: transparent;
  transition: all 0.3s;
  font-size: 14px;
}
.gallery-nav-btn:hover { background: var(--gold); border-color: var(--gold); }
.gallery-carousel-wrap { overflow: hidden; }
.gallery-track {
  display: flex; gap: 20px;
  padding: 0 48px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-card {
  flex: 0 0 400px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-card-img {
  width: 100%; height: 300px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
  display: block;
}
.gallery-card:hover .gallery-card-img { transform: scale(1.04); }
.gallery-card-info {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
}
.gallery-card-title { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 5px; }
.gallery-card-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ── Testimonials Grid ── */
.tgrid-section { background: var(--beige); padding: 100px 0; }
.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.tcard {
  background: var(--white);
  border-radius: 6px;
  padding: 36px 32px;
  border: 1px solid var(--sand);
  transition: transform 0.3s, box-shadow 0.3s;
}
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tcard-quote {
  font-size: 52px; line-height: 1;
  color: var(--gold); font-weight: 700;
  margin-bottom: 14px; display: block;
}
.tcard-text {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 28px;
  font-weight: 400;
}
.tcard-footer { display: flex; align-items: center; gap: 14px; }
.tcard-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--gold);
  font-size: 18px; flex-shrink: 0;
}
.tcard-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.tcard-role { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* ── Lightbox Dialog ── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  cursor: pointer;
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-overlay.open .lightbox-content {
  transform: scale(1) translateY(0);
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(90vh - 60px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: block;
}
.lightbox-caption {
  margin-top: 16px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
  backdrop-filter: blur(8px);
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
.gallery-card { cursor: zoom-in; }

/* ── DockMorph: mobile bottom navigation ── */
.dock-morph {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: none;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 28px;
  background: rgba(10,20,36,0.80);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 8px 40px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,255,255,0.06);
}
@media (max-width: 768px) {
  .dock-morph { display: flex; }
}

/* Bilingual select dropdowns */
html[lang="en"] select.lang-select-es { display: none; }
html:not([lang="en"]) select.lang-select-en { display: none; }
.dm-item {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.55);
  font-size: 19px;
  text-decoration: none;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.dm-bubble {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(58,128,204,0.5), rgba(26,95,173,0.22) 50%, transparent 75%);
  opacity: 0;
  transform: scale(0.45);
  transition: opacity 0.25s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 0;
}
.dm-item i { position: relative; z-index: 1; }
.dm-item:hover .dm-bubble,
.dm-item.dm-active .dm-bubble {
  opacity: 1;
  transform: scale(1.3);
}
.dm-item:hover,
.dm-item.dm-active { color: #fff; }
.dm-item.dm-cta {
  background: var(--gold);
  color: #fff;
}
.dm-item.dm-cta .dm-bubble {
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,0.35), transparent 70%);
}
.dm-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(10,20,36,0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-body);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: 0;
}
.dm-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── MY COMFORT CALLOUT (homepage) ── */
.mc-callout-section {
  background: var(--dark, #0D1929);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.mc-callout-section::before {
  content: '';
  position: absolute;
  top: 0; left: -20%; width: 60%; height: 100%;
  background: radial-gradient(ellipse at 30% 50%, rgba(26,95,173,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.mc-callout-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.mc-callout-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.mc-callout-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.mc-callout-desc strong { color: rgba(255,255,255,0.85); }
.mc-callout-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.mc-callout-features div {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mc-callout-features i {
  color: var(--gold-light, #3A80CC);
  font-size: 12px;
}
.mc-callout-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* Preview card */
.mc-callout-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(58,128,204,0.20);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(12px);
}
.mc-callout-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.mc-callout-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(26,95,173,0.20);
  border: 1px solid rgba(58,128,204,0.30);
  display: flex; align-items: center; justify-content: center;
}
.mc-callout-avatar img { width: 30px; height: 30px; object-fit: contain; }
.mc-callout-card-seal {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold-light, #3A80CC);
  margin-bottom: 3px;
}
.mc-callout-card-seal i { margin-right: 4px; }
.mc-callout-card-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.mc-callout-preview-q {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.70);
  margin-bottom: 14px;
}
.mc-callout-preview-opts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.mc-callout-preview-opts span {
  font-size: 11px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.40);
  display: flex; align-items: center; gap: 5px;
  transition: all 0.2s;
}
.mc-callout-preview-opts span.active {
  background: rgba(26,95,173,0.20);
  border-color: rgba(58,128,204,0.40);
  color: rgba(255,255,255,0.85);
}
.mc-callout-progress {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.mc-callout-prog-fill {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--gold, #1A5FAD), var(--gold-light, #3A80CC));
  border-radius: 3px;
}
@media (max-width: 768px) {
  .mc-callout-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mc-callout-right { display: none; }
}

/* ════════════════════════════════════════════════════
   BILINGUAL LANGUAGE SYSTEM
   html[lang="en"] shows .t-en, hides .t-es
   default (lang="es") shows .t-es, hides .t-en
════════════════════════════════════════════════════ */

html[lang="en"] .t-es { display: none !important; }
html:not([lang="en"]) .t-en { display: none !important; }

/* Nav language toggle (desktop) */
.nav-lang-toggle {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px; cursor: pointer; padding: 5px 12px;
  transition: all 0.2s; font-family: var(--font-body);
  flex-shrink: 0;
}
.nav.scrolled .nav-lang-toggle {
  color: rgba(6,13,26,0.45);
  background: rgba(6,13,26,0.05);
  border-color: rgba(6,13,26,0.12);
}
.nav-lang-toggle:hover {
  background: rgba(26,95,173,0.12);
  color: var(--navy, #0D1929);
  border-color: rgba(26,95,173,0.30);
}

/* Language toggle in mobile menu */
.nav-lang-mobile {
  background: transparent; border: 1px solid rgba(6,13,26,0.14);
  border-radius: 100px; padding: 9px 22px; font-size: 12px; font-weight: 600;
  color: rgba(6,13,26,0.42); cursor: pointer; font-family: var(--font-body);
  transition: all 0.2s; margin-top: 8px;
}
.nav-lang-mobile:hover {
  background: rgba(26,95,173,0.08);
  color: var(--navy, #0D1929);
  border-color: rgba(26,95,173,0.25);
}

/* ════════════════════════════════════════════════════
   PORTAL / BOOK CTA — two-column split section
════════════════════════════════════════════════════ */

.portal-cta-section {
  background: var(--dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.portal-cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 10% 50%, rgba(26,95,173,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 90% 50%, rgba(26,95,173,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.portal-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left — book */
.portal-cta-book {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.portal-cta-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
  display: block;
}
.portal-cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.portal-cta-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 28px;
}
.portal-cta-book .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.portal-cta-book .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  padding: 10px 20px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.05em;
}
.portal-cta-book .btn-ghost:hover {
  border-color: rgba(26,95,173,0.4);
  color: var(--gold-light);
}

/* Vertical divider */
.portal-cta-divider {
  width: 1px;
  height: 320px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0.08) 70%, transparent);
  justify-self: center;
}

/* Right — portal */
.portal-cta-portal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.portal-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(26,95,173,0.15);
  border: 1px solid rgba(26,95,173,0.30);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.portal-cta-portal-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 10px;
}
.portal-cta-portal-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 28px;
}

/* Steps */
.portal-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 28px;
}
.portal-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.portal-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(26,95,173,0.20);
  border: 1px solid rgba(26,95,173,0.35);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.portal-step-body { flex: 1; }
.portal-step-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2px;
}
.portal-step-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
  font-weight: 300;
}
.portal-access-btn {
  width: 100%;
  justify-content: center;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 860px) {
  .portal-cta-grid {
    grid-template-columns: 1fr;
    gap: 48px 0;
  }
  .portal-cta-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.10), transparent);
    justify-self: start;
  }
  .portal-access-btn {
    width: auto;
  }
}

/* ════════════════════════════════════════════════════════════
   MOBILE-FIRST PREMIUM OVERHAUL
   Safe areas · 8-pt grid · 52px touch targets · fluid type
   viewport-fit=cover required on all pages (already added)
════════════════════════════════════════════════════════════ */

/* ── Safe area variables ── */
:root {
  --safe-top:    env(safe-area-inset-top,    0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left,   0px);
  --safe-right:  env(safe-area-inset-right,  0px);
}

/* ── Global: remove tap highlight, fast touch ── */
*, *::before, *::after { -webkit-tap-highlight-color: transparent; }
a, button, [role="button"], label { touch-action: manipulation; }

/* ── Nav: Dynamic Island + notch aware ── */
.nav {
  padding-top: env(safe-area-inset-top);
  height: calc(var(--nav-height) + env(safe-area-inset-top));
}
.nav-inner { height: var(--nav-height); }

/* Mobile menu: open below safe-area-adjusted nav ── */
.nav-mobile { top: calc(var(--nav-height) + env(safe-area-inset-top)); }

/* ── DockMorph: always above home indicator ── */
.dock-morph { bottom: calc(20px + env(safe-area-inset-bottom)); }

/* ════════════════════════════════════════════════════
   768 px — tablet / large phone
════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Buttons: premium 52 px touch targets ── */
  .btn {
    min-height: 52px;
    padding: 14px 28px;
    font-size: 13px;
    border-radius: 8px;
    letter-spacing: 0.06em;
  }
  .btn:active { transform: scale(0.97) !important; }
  .btn-sm { min-height: 44px; padding: 10px 20px; font-size: 12px; }

  /* ── Containers ── */
  .container, .container-sm, .container-xs { padding: 0 20px; }

  /* ── Sections ── */
  section { padding: 72px 0; }
  .intro-section { padding: 80px 0; }

  /* ── Typography ── */
  .intro-text { font-size: 15px; line-height: 1.85; }
  .section-subtitle { font-size: 15px; }
  .mc-callout-desc { font-size: 15px; }
  .portal-cta-desc { font-size: 15px; }

  /* ── iOS input zoom fix: 16 px minimum ── */
  input, select, textarea,
  .form-input, .form-select, .mc-notes {
    font-size: 16px !important;
  }

  /* ── Forms ── */
  .form-input, .form-select {
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 8px;
  }

  /* ── Nav mobile drawer ── */
  .nav-mobile { padding: 20px 20px calc(28px + env(safe-area-inset-bottom)); }
  .nav-mobile .nav-link { padding: 16px 0; font-size: 15px; }
  .nav-mobile .btn { margin-top: 16px; min-height: 54px; font-size: 14px; }
  .nav-mycw-mobile { min-height: 52px; border-radius: 8px; font-size: 13px; }

  /* ── Hero chapter padding ── */
  .hc1-inner { padding: 0 20px; }

  /* ── Page header ── */
  .page-header { padding: 120px 0 60px; }
  .page-header-title { font-size: clamp(28px, 7vw, 48px); }

  /* ── Gallery ── */
  .gallery-header { padding: 0 20px 36px; }
  .gallery-track  { padding: 0 20px; }
  .gallery-card   { flex: 0 0 300px; }

  /* ── Testimonials ── */
  .tgrid-section { padding: 72px 0; }
  .tgrid { gap: 16px; margin-top: 40px; }
  .tcard { padding: 28px 22px; }
  .tcard-text { font-size: 14px; line-height: 1.75; }

  /* ── Portal CTA ── */
  .portal-cta-section { padding: 72px 0; }

  /* ── MC callout ── */
  .mc-callout-section { padding: 72px 0; }

  /* ── Stats ── */
  .stats-grid { gap: 16px; }

  /* ── Contact ── */
  .contact-map-box { height: 280px; }
  .contact-info-item { gap: 14px; }

  /* ── Social buttons ── */
  .social-btn { min-height: 44px; }

  /* ── Dock morph ── */
  .dm-item { width: 50px; height: 50px; font-size: 18px; }

  /* ── Footer: clear DockMorph (80px dock height + safe area) ── */
  .footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ════════════════════════════════════════════════════
   640 px — phone (most common breakpoint)
════════════════════════════════════════════════════ */
@media (max-width: 640px) {

  /* ── Root ── */
  :root { --nav-height: 60px; }

  /* ── Containers ── */
  .container, .container-sm, .container-xs { padding: 0 16px; }

  /* ── Sections ── */
  section { padding: 56px 0; }
  .intro-section { padding: 64px 0; }
  .tgrid-section { padding: 56px 0; }
  .mc-callout-section { padding: 56px 0; }
  .portal-cta-section { padding: 56px 0; }
  .gallery-section { padding: 56px 0; }

  /* ── Section headers ── */
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: clamp(22px, 6.5vw, 34px); }
  .section-subtitle { font-size: 14px; margin-top: 12px; }

  /* ── Typography ── */
  .intro-text { font-size: 15px; }
  .intro-title { font-size: clamp(20px, 6vw, 30px); }

  /* ── Buttons ── */
  .btn {
    min-height: 52px;
    padding: 14px 24px;
    font-size: 13px;
    border-radius: 8px;
  }
  .btn-full { justify-content: center; }
  .btn-sm { min-height: 44px; }

  /* Hero CTA buttons: side by side ── */
  .hc4-actions .btn { min-width: 0; }

  /* Full-width CTA buttons in content sections ── */
  .portal-cta-book .btn,
  .mc-callout-btn .btn { width: 100%; justify-content: center; }

  /* ── Nav mobile ── */
  .nav-mobile { padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
  .nav-mobile .nav-link { font-size: 14px; padding: 15px 0; }
  .nav-mobile .btn { min-height: 52px; }

  /* ── Page header ── */
  .page-header { padding: 110px 0 48px; }
  .page-header-title { font-size: clamp(26px, 8vw, 40px); }
  .page-header-sub { font-size: 13px; }

  /* ── Hero chapters ── */
  .hc1-inner { padding: 0 16px; }
  #hc2 { padding: 0 0 48px 24px; }
  #hc3 { padding: 0 0 0 24px; }
  .hc2-item > span:last-child { font-size: clamp(20px, 5.5vw, 30px); }
  .hc3-name { font-size: clamp(32px, 9vw, 48px); }
  .hc3-stats { gap: 20px; }
  .hc3-num { font-size: clamp(24px, 6.5vw, 36px); }
  .hc4-title { font-size: clamp(36px, 11vw, 60px); }
  .hc4-actions { gap: 12px; flex-direction: column; align-items: center; }
  .hc4-actions .btn { min-width: 240px; width: auto; }

  /* ── Intro section: image hidden on very small screens ── */
  .intro-image-wrap { height: 320px; }
  .intro-img-badge { width: 120px; height: 120px; bottom: -16px; right: -8px; }
  .intro-badge-num { font-size: 32px; }

  /* ── Service cards ── */
  .service-card-home { padding: 32px 20px; }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* ── Testimonials ── */
  .tgrid { gap: 12px; margin-top: 32px; }
  .tcard { padding: 24px 18px; border-radius: 8px; }
  .tcard-text { font-size: 14px; }
  .tcard-quote { font-size: 40px; }

  /* ── Gallery ── */
  .gallery-header { padding: 0 16px 28px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .gallery-track  { padding: 0 16px; gap: 12px; }
  .gallery-card   { flex: 0 0 260px; }
  .gallery-card-img { height: 210px; }

  /* ── Contact ── */
  .contact-map-box { height: 240px; border-radius: 8px; }
  .contact-info-icon { width: 40px; height: 40px; font-size: 14px; }
  .social-grid { flex-wrap: wrap; }
  .social-btn { flex: 1; min-width: 140px; justify-content: center; }

  /* ── Portal CTA ── */
  .portal-cta-grid { gap: 32px; }
  .portal-cta-title { font-size: clamp(22px, 7vw, 32px); }
  .portal-cta-desc { font-size: 14px; }
  .portal-access-btn { width: 100%; justify-content: center; min-height: 52px; }

  /* ── MC callout ── */
  .mc-callout-title { font-size: clamp(22px, 7vw, 32px); }
  .mc-callout-desc { font-size: 14px; }

  /* ── DockMorph ── */
  .dock-morph {
    bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 6px 8px;
    gap: 0;
    border-radius: 24px;
  }
  .dm-item { width: 48px; height: 48px; font-size: 17px; }

  /* ── Footer ── */
  .footer-grid { gap: 24px; }

  /* ── Forms ── */
  .form-input, .form-select { border-radius: 8px; }
  .form-group { margin-bottom: 16px; }

  /* ── Scroll indicator ── */
  .scroll-indicator { bottom: 24px; }

  /* ── Lightbox ── */
  .lightbox-overlay { padding: 16px; }
}

/* ════════════════════════════════════════════════════
   480 px — iPhone SE / small Android
════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── Containers ── */
  .container, .container-sm, .container-xs { padding: 0 14px; }

  /* ── Sections ── */
  section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-title { font-size: clamp(20px, 6.5vw, 28px); }

  /* ── Hero chapters ── */
  .hc1-inner { padding: 0 14px; }
  .hc-brand { font-size: clamp(36px, 14vw, 64px); }
  .hc-brand-sub { font-size: clamp(12px, 3.5vw, 18px); letter-spacing: 0.25em; }
  .hc1-tagline { font-size: clamp(16px, 4.5vw, 22px); }
  #hc2 { padding: 0 0 40px 16px; }
  #hc3 { padding: 0 0 0 16px; }
  .hc2-item > span:last-child { font-size: clamp(18px, 5.2vw, 26px); }
  .hc3-name { font-size: clamp(28px, 8.5vw, 40px); }
  .hc3-stats { gap: 16px; }
  .hc4-title { font-size: clamp(30px, 10vw, 48px); }

  /* ── Page header ── */
  .page-header { padding: 100px 0 40px; }

  /* ── Intro section ── */
  .intro-image-wrap { height: 260px; }
  .intro-img-badge { display: none; }
  .intro-title { font-size: clamp(20px, 6.5vw, 28px); }

  /* ── Testimonials ── */
  .tcard { padding: 20px 14px; }
  .tcard-text { font-size: 13.5px; }

  /* ── Gallery ── */
  .gallery-card { flex: 0 0 240px; }
  .gallery-card-img { height: 190px; }
  .gallery-track { padding: 0 14px; gap: 10px; }

  /* ── Stats ── */
  .stats-grid { gap: 10px; }

  /* ── Portal steps ── */
  .portal-step { gap: 12px; }
  .portal-step-title { font-size: 13px; }
  .portal-step-desc { font-size: 11px; }

  /* ── MC callout ── */
  .mc-callout-features { gap: 6px; }
  .mc-callout-features div { font-size: 13px; }

  /* ── Footer ── */
  .footer-grid { gap: 20px; }
}

/* ════════════════════════════════════════════════════════════
   TARGETED FIXES — issues confirmed on device screenshots
════════════════════════════════════════════════════════════ */

/* ── FIX 1: Testimonials — force single column on all phones ── */
@media (max-width: 768px) {
  .tgrid {
    grid-template-columns: 1fr !important;
    gap: 14px;
    margin-top: 36px;
  }
  .tcard { padding: 28px 22px; }
}

/* ── FIX 2: Products page table → cards on mobile ── */
@media (max-width: 768px) {
  .svc-table-section { margin-bottom: 48px; }

  /* Hide the desktop table header row */
  .svc-table thead { display: none; }

  /* Turn table/body/rows/cells all into block elements */
  .svc-table,
  .svc-table tbody { display: block; width: 100%; }

  .svc-table tr {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(13,25,41,0.08);
    border-radius: 14px;
    padding: 18px 16px;
    margin-bottom: 10px;
    gap: 4px;
    box-shadow: 0 1px 8px rgba(13,25,41,0.04);
  }
  .svc-table tr:hover { background: var(--cream); }

  .svc-table td {
    padding: 3px 0;
    border: none;
    font-size: 14px;
    line-height: 1.5;
  }
  /* Treatment name — first cell */
  .svc-table td:first-child {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
  }
  /* Description — second cell */
  .svc-table td:nth-child(2) {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.65;
  }
  /* Duration / Time — third cell */
  .svc-table td:nth-child(3) {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 2px;
  }
  /* Tags — fourth cell */
  .svc-table td:nth-child(4) { margin-top: 4px; }
  /* Button cell — last */
  .svc-table td:last-child {
    padding-top: 12px;
    margin-top: 4px;
  }
  .svc-table td:last-child .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 13px;
  }
}

/* ── FIX 3: About — Misión/Visión inline grid → single column ── */
@media (max-width: 640px) {
  .about-mv-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 40px !important;
  }
  .about-mv-grid > div {
    padding: 28px 22px !important;
    border-radius: 8px !important;
  }
}

/* ── FIX 4: Service rows — reduce padding on mobile ── */
@media (max-width: 768px) {
  .service-row { padding: 28px 20px; gap: 20px; }
  .service-row-num { font-size: 28px; }
  .service-row-name { font-size: 18px; }
  .service-row-desc { font-size: 14px; margin-bottom: 12px; }
  .service-row-right { text-align: left; }
  .service-row-right .btn { width: 100%; justify-content: center; min-height: 48px; }
}

/* ── FIX 5: Dr showcase — single column on mobile ── */
@media (max-width: 640px) {
  .dr-showcase { gap: 28px; }
  .dr-showcase-img img { height: 280px; border-radius: 8px; }
  .dr-showcase-name { font-size: 26px; }
  .dr-showcase-stats { gap: 16px; }
  .dr-stat-num { font-size: 26px; }
  .dr-showcase-creds { gap: 8px; }
  .dr-cred { font-size: 13px; }
}

/* ── FIX 6: products.html bottom CTA inline flex → column ── */
@media (max-width: 640px) {
  /* The bottom CTA in products page uses inline style flex */
  .svc-table-section ~ div[style] .btn,
  section > div > div[style*="text-align:center"] .btn { width: 100%; justify-content: center; }
}
