/* vitary — “Apple.com marketing” system: clarity, type, one breath of color */

:root {
  /* —— Brand book: packages/config/src/tailwind.ts (vitaTheme) + indigo (AI) */
  --brand-teal: #0A7B6E;
  --brand-teal-rgb: 10, 123, 110;
  --brand-teal-2: #12A090;
  --brand-teal-2-rgb: 18, 160, 144;
  --brand-teal-pale: #E0F0EE;
  --brand-teal-dark: #075a50;
  --brand-coral: #D96C4A;
  --brand-coral-rgb: 217, 108, 74;
  --brand-coral-light: #F2A98A;
  --brand-coral-light-rgb: 242, 169, 138;
  --brand-coral-pale: #FBF0EB;
  --brand-warm: #F7F5F1;
  --brand-border: #E2E8E6;
  --brand-ink: #1A2421;
  --brand-ink-mid: #4A5754;
  --brand-ink-light: #8A9592;
  --brand-indigo: #6366F1;
  --brand-indigo-rgb: 99, 102, 241;
  --brand-dark: #0F1F1C;
  --brand-dark-2: #162820;
  /* Surfaces: light, airy default (on-brand) */
  --z: #ffffff;
  --z1: #F7F5F1;
  --z2: #EEF4F2;
  --z3: #E0F0EE;
  /* apps/dashboard: teal-ghost / success (KPI deltas) */
  --brand-teal-ghost: #eef8f6;
  --surface: #ffffff;
  --line: rgba(10, 123, 110, 0.12);
  --line2: rgba(10, 123, 110, 0.2);
  /* Primary text = ink */
  --tx: var(--brand-ink);
  --tx2: var(--brand-ink-mid);
  --tx3: var(--brand-ink-light);
  --tx-on-dark: #F7F5F1;
  --teal: var(--brand-teal);
  --teal2: var(--brand-teal-2);
  --teal-d: var(--brand-teal-dark);
  --coral: var(--brand-coral);
  --coral2: var(--brand-coral-light);
  /* apps/dashboard KpiCard / surfaces */
  --dashboard-border: 222, 228, 226;
  --success: 22, 163, 74;
  --success-pale: 220, 252, 231;
  --danger: 220, 38, 38;
  --danger-pale: 254, 226, 226;
  --indigo-600: 99, 102, 241;
  /* Apple’s default “ease” curve */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --display: "Fraunces", "Iowan Old Style", "Palatino", ui-serif, Georgia, serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, monospace;
  --max: 980px;
  --max-wide: 1120px;
  --gutter: max(22px, 4vw);
  /* One stroke system for inline SVGs (avoids 1.4/1.5/2/ hairline mix on @2x) */
  --icon-st-24: 1.7;
  --icon-st-huli: 1.95;
  /* Dashboard mock: sidebar + chrome — slightly stronger than default --icon-st-24 so glyphs read at ~20px */
  --icon-st-dash: 1.9;
  --icon-st-16: 2;
  --icon-st-faq: 1.9;
  --icon-st-10: 1.7;
  /* Apple global nav is ~44px; slightly taller for this wordmark + links */
  --nav-h: 44px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --apple-pill: 980px;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
  --shadow-2: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 80px -30px rgba(var(--brand-teal-rgb), 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059; /* 17/25 — SF-like rhythm */
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--tx2);
  background: var(--brand-warm);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}
body.nav-m-open {
  overflow: hidden;
  touch-action: none;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
/* Fixed square: global max-width:100% + flex/stretched rows was distorting the 32×32 mark */
img[src$="monogram.svg"] {
  max-width: none;
  aspect-ratio: 1;
  object-fit: contain;
  flex-shrink: 0;
  align-self: center;
}
img[src$="monogram.svg"]:not([class]) {
  width: 32px;
  height: 32px;
}
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: rgba(var(--brand-teal-rgb), 0.2); color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: 3px; }

/* Deprecated overlays — kept for any legacy class reference */
.noise, .grid-fine { display: none; }

/* —— Wordmark: apps/dashboard VitaryLogo (Fraunces italic 300) + .vita-dot in globals.css */
.vitary-word,
.wm {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--brand-ink);
  position: relative;
}
.vitary-word--sidebar { font-size: 1.15rem; }
/* Dot on the dotless ı */
.vita-dot {
  position: relative;
  display: inline-block;
}
.vita-dot::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--brand-coral);
  width: 0.17em;
  height: 0.17em;
  top: 0.14em;
  left: 82%;
  transform: translateX(-50%);
}

/* —— Monogram: nav + in-column mark; background stays minimal (cf. apple.com product heroes) */
.nav-home {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  min-width: min-content;
  text-decoration: none;
  color: inherit;
}
/* Match apps/dashboard VitaryLogo size="md" (1.25rem word + 28px tile) */
.nav-mono {
  width: 28px; height: 28px;
  border-radius: 25%;
  flex-shrink: 0;
}
.nav-home:hover .nav-mono { filter: brightness(1.05); }
.nav-home .vitary-word {
  margin: 0;
  white-space: nowrap;
  font-synthesis: none;
  font-stretch: 100%;
}

/* In-column mark — hero: large “product symbol” (Apple.com-style presence), small elsewhere */
.hero-mark { margin: 0 auto 0.65rem; }
.hero-mark img {
  display: block;
  width: 28px; height: 28px;
  margin: 0 auto;
  border-radius: 25%;
  opacity: 0.88;
  filter: drop-shadow(0 2px 20px rgba(var(--brand-teal-rgb), 0.12));
}
@media (min-width: 700px) {
  .hero-mark { margin-bottom: 0.75rem; }
  .hero-mark img { width: 30px; height: 30px; opacity: 0.9; }
}
/* —— Hero monogram: escala y ambiente (presencia fuerte, sin competir con el título) */
.hero-mark--stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(20rem, 90vw);
  min-height: clamp(6.5rem, 24vw, 9.5rem);
  margin: 0 auto 1.1rem;
  padding: 0.35rem 0 0.5rem;
  overflow: visible;
}
@media (min-width: 700px) {
  .hero-mark--stage { margin-bottom: 1.35rem; min-height: clamp(7rem, 18vw, 10rem); max-width: 22rem; }
}
@media (min-width: 1100px) {
  .hero-mark--stage { max-width: 24rem; }
}
.hero-mark__glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(120%, 22rem);
  height: min(90%, 11rem);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 55% 50% at 50% 50%,
    rgba(var(--brand-teal-rgb), 0.2) 0%,
    rgba(18, 160, 144, 0.08) 40%,
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(24px);
  opacity: 0.95;
}
.hero-mono-ambient {
  position: absolute;
  inset: -12% -8% 8% -8%;
  pointer-events: none;
  z-index: 0;
}
.hero-mono-dot {
  position: absolute;
  border-radius: 50%;
  display: block;
  opacity: 0.5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.hero-mono-dot--1 { width: 5px; height: 5px; left: 8%; top: 22%; background: rgba(var(--brand-coral-rgb), 0.75); }
.hero-mono-dot--2 { width: 3px; height: 3px; right: 12%; top: 18%; background: rgba(var(--brand-teal-rgb), 0.85); }
.hero-mono-dot--3 { width: 4px; height: 4px; left: 18%; bottom: 20%; background: rgba(18, 160, 144, 0.65); }
.hero-mono-dot--4 { width: 2px; height: 2px; right: 24%; top: 42%; background: rgba(232, 130, 110, 0.8); }
.hero-mono-dot--5 { width: 3px; height: 3px; left: 40%; top: 8%; background: rgba(var(--brand-indigo-rgb), 0.4); }
.hero-mono-dot--6 { width: 3px; height: 3px; right: 6%; bottom: 28%; background: rgba(var(--brand-teal-rgb), 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .hero-mono-dot--1 { animation: hero-mono-drift 7s ease-in-out infinite; }
  .hero-mono-dot--2 { animation: hero-mono-drift 8.5s ease-in-out 0.5s infinite; }
  .hero-mono-dot--3 { animation: hero-mono-drift 6.5s ease-in-out 1s infinite; }
  .hero-mono-dot--4 { animation: hero-mono-drift 9s ease-in-out 0.2s infinite; }
  .hero-mono-dot--5 { animation: hero-mono-drift 7.2s ease-in-out 0.8s infinite; }
  .hero-mono-dot--6 { animation: hero-mono-drift 8s ease-in-out 0.3s infinite; }
}
@keyframes hero-mono-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; }
  50% { transform: translate(3px, -4px) scale(1.1); opacity: 0.7; }
}
.hero-mark--stage .hero-mark__img {
  position: relative;
  z-index: 1;
  width: clamp(4.8rem, 16vw, 7.75rem);
  height: auto;
  max-width: none;
  border-radius: 24%;
  opacity: 1;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.4) inset, 0 20px 48px -12px rgba(10, 60, 55, 0.28);
  filter: drop-shadow(0 8px 32px rgba(var(--brand-teal-rgb), 0.32));
}
@media (min-width: 700px) {
  .hero-mark--stage .hero-mark__img {
    width: clamp(5.75rem, 12vw, 8.5rem);
  }
}
@media (min-width: 1100px) {
  .hero-mark--stage .hero-mark__img {
    width: clamp(7.25rem, 10.5rem, 9rem);
  }
}

/* Section watermarks: one corner per block, stays behind copy */
.brand-ghost { position: relative; overflow: hidden; }
.brand-ghost > .inner { position: relative; z-index: 1; }
.brand-ghost::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(32vw, 16rem);
  height: min(32vw, 16rem);
  max-height: 40vh;
  background: url("monogram.svg") center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
.brand-ghost--tl::after { top: 5%; left: -6%; }
.brand-ghost--br::after { bottom: 3%; right: -5%; }
.brand-ghost--tr::after { top: 6%; right: -4%; }
.section.light.brand-ghost::after { opacity: 0.032; }

.foot-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
  color: inherit;
  width: max-content;
  max-width: 100%;
}
.foot-mono {
  width: 32px;
  height: 32px;
  border-radius: 25%;
  flex-shrink: 0;
}
.foot-brand:hover .foot-mono { filter: brightness(1.05); }
.foot-brand .vitary-word.foot-wordmark { margin: 0; line-height: 1; font-size: 1.3rem; }
.foot-lead { color: #737373; font-size: 13px; line-height: 1.5; margin: 0.35rem 0 0; max-width: 22rem; }

/* —— Kicker (quiet label — no chrome) */
.kicker {
  display: block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--teal2);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.kicker-apple { margin: 0 auto 1.1rem; max-width: 34rem; }
/* Hero eyebrow — micro-label (brand: teal / ink) */
.hero .kicker-apple {
  color: var(--brand-teal);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.hero .kicker-join { color: var(--brand-ink-mid); font-weight: 400; }
.kicker-join { color: var(--tx3); font-weight: 400; margin: 0 0.25rem; }
.kicker-pill { /* legacy: flatten */ border: 0; background: none; box-shadow: none; padding: 0; }
.kicker-sep { opacity: 0.45; }
.kicker-dot { display: none; }
.kicker-dot-subtle { display: none; }

/* —— Type (large display + SF-like body) */
h1, h2, h3, .h1, .h2 { font-family: var(--display); color: var(--brand-ink); font-weight: 500; }
.h1 {
  font-size: clamp(2.75rem, 5.2vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 500;
  font-variation-settings: "SOFT" 40, "WONK" 0.4;
  margin: 0;
}
/* Hero headline: two-beat type lockup (product + tagline) */
.h1-apple {
  font-family: var(--font);
  margin: 0 auto;
  max-width: 20ch;
  font-kerning: normal;
  text-wrap: balance;
  font-variation-settings: normal;
  font-synthesis: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem; /* children set optical sizes */
  line-height: 1.15;
}
.h1-apple-l1 {
  display: block;
  font-size: clamp(2.4rem, 3.1vw + 0.4rem, 3.5rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--brand-ink);
  max-width: 18ch;
  text-shadow: none;
}
.h1-apple-l2 {
  display: block;
  font-size: clamp(1.65rem, 2.2vw + 0.3rem, 2.6rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--brand-ink-mid);
  max-width: 24ch;
  text-shadow: none;
}
@media (min-width: 600px) {
  .h1-apple { max-width: 28rem; }
  .h1-apple-l1 { max-width: 22ch; }
}
.h2 {
  font-size: clamp(2rem, 2.5vw + 1rem, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
}
/* Dark sections: use system for headlines (Apple.com pattern) */
.section:not(.light) .h2 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.07;
}
.italic-em { color: var(--coral2); font-style: italic; font-weight: 400; }
.muted { color: var(--tx2); line-height: 1.5; }
.lead { font-size: 1.1875rem; color: var(--tx2); line-height: 1.55; letter-spacing: -0.02em; }
.lead-apple {
  max-width: min(32rem, 100%);
  margin: 0.5rem auto 0;
  color: var(--brand-ink-mid);
  font-size: clamp(1.0625rem, 0.2vw + 0.75rem, 1.25rem);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: none;
}
@media (min-width: 700px) {
  .hero .lead-apple { margin-top: 1.25rem; }
}

/* —— Reveal (slow, small movement — not “marketing bouncy”) */
.reveal {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 1.15s var(--ease), transform 1.15s var(--ease);
}
.reveal.visible { opacity: 1; transform: translate3d(0, 0, 0); }
.d0 { transition-delay: 0s; }
.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.1s; }
.d3 { transition-delay: 0.15s; }
.d4 { transition-delay: 0.2s; }
.d5 { transition-delay: 0.25s; }
.d6 { transition-delay: 0.3s; }
.d7 { transition-delay: 0.36s; }
/* Stagger: second hero headline line (title “cut”) */
.d2b { transition-delay: 0.2s; }

/* —— Nav: full-bleed, hairline, content paddings like apple.com */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  min-height: var(--nav-h);
  height: var(--nav-h);
  padding: 0 max(22px, 4vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.5px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background 0.35s var(--ease), border-color 0.35s;
}
@media (min-width: 921px) {
  .nav {
    display: grid;
    /* L = logo, C = links (scroll strip), R = CTAs — center column is min 0, links scroll; never justify:center or row bleeds into logo */
    grid-template-columns: max-content minmax(0, 1fr) auto;
    align-items: center;
    /* Breathing room: logo + link strip + CTAs were abutting; Apple-style inter-column space */
    column-gap: clamp(1.1rem, 2.2vw, 1.75rem);
  }
  .nav .nav-home { justify-self: start; }
  .nav-mid {
    min-width: 0;
    justify-self: stretch;
    align-self: stretch;
  }
  .nav-rt {
    justify-self: end;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .nav-rt .btn-ghost,
  .nav-rt .btn-primary { white-space: nowrap; }
}
/* Mid-width: compact type + single-line labels (nowrap); strip scrolls, never wraps into logo */
@media (min-width: 921px) and (max-width: 1180px) {
  .nav-mid { gap: 0 0.55rem; }
  .nav-mid a { font-size: 11px; letter-spacing: -0.02em; }
}
.nav.solid {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line2);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
}
/* Horizontal link strip is desktop-only — on small screens, .nav-mid is the full-screen menu ( below ), never row+wrap+max-h or it becomes multi-column. */
@media (min-width: 921px) {
  .nav-mid {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0 1.25rem;
    min-height: 0;
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0 0.3rem; /* side cushion inside strip; main logo↔links gap = grid column-gap */
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    /* Link strip can scroll; hide track (Apple-style — less noise than a visible thin bar) */
    scrollbar-width: none;
  }
  .nav-mid::-webkit-scrollbar {
    display: none;
  }
  .nav-mid a {
    white-space: nowrap;
    flex: 0 0 auto;
  }
}
.nav-mid a {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  color: var(--brand-ink-mid);
  padding: 0.35rem 0;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
@media (min-width: 921px) {
  .nav-mid a::after { display: none; }
}
.nav-mid a:hover { color: var(--brand-ink); }
.nav-rt { display: flex; align-items: center; gap: 0.5rem; }

/* —— UI icons: consistent stroke (Lucide / SF-style ~1.75 @ 24 viewBox) */
.nav-rt svg,
.btn-ghost svg,
.btn-primary:not(.btn-lg) svg,
.btn-sec svg {
  stroke-width: var(--icon-st-16);
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}
.btn-apple.btn-lg svg,
a.btn-primary.btn-lg svg {
  stroke-width: var(--icon-st-16);
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}
.h-ico svg :where(path, line, circle, rect, polyline, ellipse),
.dash-ico svg :where(path, line, circle, rect, polyline, ellipse),
.dash-bell svg :where(path, line, circle, rect, polyline, ellipse),
.dash-inbox-sico svg :where(path, line, circle, rect, polyline, ellipse),
.dash-ch-icon svg :where(path, line, circle, rect, polyline, ellipse) {
  stroke-width: var(--icon-st-24);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.h-ico svg,
.dash-ico svg,
.dash-bell svg,
.dash-inbox-sico svg,
.dash-ch-icon svg {
  shape-rendering: geometricPrecision;
}
.kpi-arr :where(path) {
  stroke-width: var(--icon-st-10);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq-icon svg :where(path, line) {
  stroke-width: var(--icon-st-faq);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq-icon svg {
  shape-rendering: geometricPrecision;
}
.fq-btn .ico svg {
  shape-rendering: geometricPrecision;
}
.bcell-ico svg :where(path, line, circle, rect, polyline, ellipse) {
  stroke-width: var(--icon-st-24);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bcell-ico svg { shape-rendering: geometricPrecision; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0 1rem; min-height: 32px; border-radius: var(--apple-pill);
  font-size: 12px; font-weight: 400; color: var(--brand-ink-mid);
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--brand-ink); background: #fff; border-color: var(--brand-teal); }
.btn-ghost .lbl { font-weight: 400; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 36px; padding: 0 1.1rem; border-radius: var(--apple-pill);
  font-size: 12px; font-weight: 500;
  color: #fff;
  background: var(--brand-teal);
  box-shadow: 0 1px 2px rgba(var(--brand-teal-rgb), 0.25);
  border: 0;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
.btn-primary:hover { background: var(--brand-teal-dark); }
.btn-primary:active { transform: scale(0.99); }
.btn-primary:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: 2px; }

.btn-apple { min-height: 56px; padding: 0 2.25rem; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.hero .btn-apple { box-shadow: 0 2px 12px rgba(var(--brand-teal-rgb), 0.28); }
.hero .btn-apple:hover { background: var(--brand-teal-dark); }

.btn-lg { min-height: 56px; padding: 0 2.25rem; font-size: 17px; font-weight: 500; border-radius: var(--apple-pill); }

/* Legacy: link-style CTA (unused in hero) */
.btn-apple-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 0.75rem; border-radius: 0;
  font-size: 17px; font-weight: 400;
  background: transparent; border: 0;
  color: var(--brand-teal);
  transition: opacity 0.2s;
}
.btn-apple-ghost:hover { opacity: 0.7; }
/* Hero secondary — Stripe-style outline (reads on any gradient) */
.btn-hero-sec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--brand-border);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-hero-sec:hover { background: #fff; border-color: var(--line2); }
.btn-hero-sec:active { transform: scale(0.99); }
.btn-hero-sec:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: 2px; }

/* Outlined / secondary on cards (pricing) */
.btn-sec {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.35rem; border-radius: var(--apple-pill);
  font-size: 14px; font-weight: 500; color: var(--brand-ink);
  border: 1px solid var(--brand-border);
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.btn-sec:hover { background: var(--brand-teal-pale); border-color: var(--line2); }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line);
}
.hamburger span { display: block; height: 2px; width: 100%; background: var(--tx2); border-radius: 1px; transition: 0.2s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* —— Hero: Apple.com pattern — type first, one calm light field, no canvas / “tech demo” stack */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 0.75rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 900px) {
  .hero { padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 1.25rem; min-height: min(100dvh, 56rem); }
}
/* Base: warm paper + soft teal light (brand book) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(18, 160, 144, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--brand-warm) 40%, var(--brand-teal-pale) 100%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
/* One very slow conic — barely perceptible drift (feels “premium”, not a spinner) */
.hero-aurora {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 160vmax;
  height: 160vmax;
  margin: -80vmax 0 0 -80vmax;
  background: conic-gradient(
    from 210deg at 50% 50%,
    rgba(var(--brand-teal-rgb), 0.1) 0deg,
    rgba(var(--brand-teal-2-rgb), 0.08) 100deg,
    rgba(var(--brand-indigo-rgb), 0.06) 200deg,
    rgba(var(--brand-coral-rgb), 0.05) 280deg,
    rgba(var(--brand-teal-rgb), 0.09) 360deg
  );
  filter: blur(88px) saturate(1.08);
  opacity: 0.5;
  animation: hero-aurora-rotate 140s linear infinite;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-aurora { will-change: transform; }
}
@keyframes hero-aurora-rotate {
  to { transform: rotate(360deg); }
}
/* Second, slower counter-rotating wash — depth like graded footage */
.hero-aurora--slow {
  opacity: 0.26;
  filter: blur(100px) saturate(1.12);
  mix-blend-mode: soft-light;
  animation-duration: 200s;
  animation-direction: reverse;
}
/* Anamorphic-style light band — slow pan (cinematic) */
.hero-lens {
  position: absolute;
  top: -18%;
  bottom: 0;
  left: -45%;
  right: -45%;
  background: linear-gradient(
    118deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 39%,
    rgba(255, 255, 255, 0.06) 47.5%,
    rgba(18, 160, 144, 0.09) 50%,
    rgba(255, 255, 255, 0) 52.5%,
    transparent 100%
  );
  transform: translateX(-14%) rotate(0.6deg);
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.75;
}
/* Center lift — “breathing” + drift reads like a locked-off shot with live light */
.hero-bloom {
  position: absolute;
  left: 50%;
  top: 34%;
  width: min(100vw, 64rem);
  height: 75vh;
  max-height: 36rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse 70% 60% at 50% 42%,
    rgba(var(--brand-teal-rgb), 0.1) 0%,
    rgba(var(--brand-indigo-rgb), 0.04) 45%,
    transparent 65%
  );
  filter: blur(56px);
  opacity: 0.9;
  pointer-events: none;
}
/* Two orbs: slow Ken Burns–style drift (video plate feel) */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px) saturate(1.05);
  mix-blend-mode: multiply;
  pointer-events: none;
  will-change: transform;
}
.hero-blob-1 {
  width: 50vmax;
  height: 50vmax;
  left: -10%;
  top: -8%;
  background: radial-gradient(circle, rgba(var(--brand-teal-rgb), 0.16) 0%, transparent 65%);
  opacity: 0.45;
  transform: translate(0, 0) scale(1);
}
.hero-blob-2 {
  width: 44vmax;
  height: 44vmax;
  right: -12%;
  top: 4%;
  background: radial-gradient(circle, rgba(var(--brand-coral-rgb), 0.1) 0%, transparent 70%);
  opacity: 0.35;
  transform: translate(0, 0) scale(1);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 88% 58% at 50% 28%, rgba(255, 255, 255, 0) 0%, rgba(26, 36, 33, 0.03) 70%, rgba(10, 123, 110, 0.05) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 38%, rgba(224, 240, 238, 0.5) 100%);
  pointer-events: none;
}
/* Single fine grid, static (Apple: structure without motion clutter) */
.hero-grid-fine {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 100% 72% at 50% 26%, #000, transparent 74%);
  opacity: 0.2;
  pointer-events: none;
  will-change: background-position;
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' fill='%23fff'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  will-change: opacity;
}
@media (min-width: 900px) {
  .hero-grain { opacity: 0.028; }
}
/* Hairline: static, not strobing */
.hero-rim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(var(--brand-teal-rgb), 0.2) 50%, transparent 95%);
  opacity: 0.6;
  pointer-events: none;
}

/* Cinematic “graded plate” — keyframes (motion gated below) */
@keyframes hero-lens-sweep {
  0% { transform: translateX(-18%) rotate(0.75deg); opacity: 0.58; }
  100% { transform: translateX(16%) rotate(-0.45deg); opacity: 0.9; }
}
@keyframes hero-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(4.5%, 2.5%) scale(1.065); }
}
@keyframes hero-blob-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3.5%, 2%) scale(1.055); }
}
@keyframes hero-bloom-breathe {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.88; }
  100% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.98; }
}
@keyframes hero-grid-drift {
  0% { background-position: 50% 0, 50% 0; }
  100% { background-position: calc(50% + 32px) 0, calc(50% - 20px) 10px; }
}
@keyframes hero-grain-breathe {
  0% { opacity: 0.02; }
  100% { opacity: 0.038; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-canvas { contain: layout style; }
  .hero-lens { animation: hero-lens-sweep 32s ease-in-out infinite alternate; }
  .hero-blob-1 { animation: hero-blob-1 56s ease-in-out infinite alternate; }
  .hero-blob-2 { animation: hero-blob-2 70s ease-in-out infinite alternate; }
  .hero-bloom { animation: hero-bloom-breathe 44s ease-in-out infinite alternate; }
  .hero-grid-fine { animation: hero-grid-drift 180s linear infinite; }
  .hero-grain { animation: hero-grain-breathe 10s ease-in-out infinite alternate; }
}

/* —— Hero: copy + “showreel” (CSS storyboard, reads like a short product film) */
.hero-pair {
  display: flex;
  flex-direction: column;
  /* stretch so hero-col--show is full width; 100% children (showreel) don’t collapse with align center */
  align-items: stretch;
  justify-content: center;
  gap: 1.75rem;
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  padding: 0.5rem 0 0;
}
@media (min-width: 900px) {
  .hero-pair {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    padding-top: 0.25rem;
  }
  .hero-col--copy { flex: 1 1 0; min-width: 0; max-width: 36rem; }
  .hero-col--show { flex: 0 1 20rem; width: 100%; max-width: 22rem; }
}
/* Mobile: full-width track; center would shrink the showreel to min-content and break 100% sizing */
.hero-col--show {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
@media (min-width: 900px) {
  .hero-col--show { display: block; }
}
.hero-col--copy { text-align: center; }
.hero-below {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-showreel {
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  box-sizing: border-box;
  min-width: 0;
}
.hero-film {
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: 1rem;
  background: linear-gradient(145deg, #f2f4f3 0%, #e8edeb 40%, #dce8e4 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 18px 40px -16px rgba(10, 60, 55, 0.28),
    0 0 0 0.5px rgba(var(--brand-teal-rgb), 0.12);
  padding: 0.35rem;
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-film { animation: hero-film-float 8s ease-in-out infinite; }
}
@keyframes hero-film-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.008); }
}
.hero-film__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.5) 47%, rgba(255, 255, 255, 0) 55%, transparent 100%);
  background-size: 200% 100%;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.55;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-film__shine { animation: hero-film-shine 7s ease-in-out infinite; }
}
@keyframes hero-film-shine {
  0%, 100% { background-position: 0% 0; opacity: 0.4; }
  50% { background-position: 100% 0; opacity: 0.7; }
}
.hero-film__viewport {
  position: relative;
  border-radius: 0.7rem;
  aspect-ratio: 4 / 3;
  background: #faf9f6;
  overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.04) inset;
}
/* v5: marco de dispositivo, cadencia 20s, pasos 1-2-3 */
.hero-film--v5 { padding: 0.3rem; }
.hero-film__device {
  position: relative;
  z-index: 1;
  border-radius: 0.78rem;
  background: #edeeec;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.06) inset, 0 1px 0 rgba(255, 255, 255, 0.75) inset;
  overflow: hidden;
}
.hero-film__device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.28rem 0.5rem 0.22rem;
  font-size: 0.48rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #1a1a1a;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #f6f6f4 0%, #e9eae8 100%);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
}
/* v5: hora | capítulo (animado) | señal — misma franja */
.hero-film--v5 .hero-film__device-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.2rem 0.28rem;
  padding: 0.28rem 0.4rem 0.22rem;
}
.hero-film__bar-chaps {
  position: relative;
  min-width: 0;
  min-height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-film__chap--bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
}
.hero-film__device-sig {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.hero-film__device-sig::before,
.hero-film__device-sig::after {
  content: "";
  display: block;
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: #2a2a2a;
  opacity: 0.4;
}
.hero-film__device-sig::after {
  width: 0.7rem;
  height: 0.22rem;
  border-radius: 99px;
  opacity: 0.35;
}
.hero-film--v5 .hero-film__viewport {
  aspect-ratio: 4 / 3.2;
  min-height: 10.75rem;
  border-radius: 0.35rem 0.35rem 0 0;
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.12) inset, 0 0 0 0.5px rgba(0, 0, 0, 0.05) inset;
}
@media (min-width: 400px) {
  .hero-film--v5 .hero-film__viewport { min-height: 0; }
}
.hero-film__chap {
  margin: 0;
  padding: 0.1rem 0.26rem;
  font-size: 0.34rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #5a6a66;
  background: rgba(255, 255, 255, 0.92);
  border: 0.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  pointer-events: none;
  line-height: 1.2;
}
/* capítulo superpuesto en la escena (hero sin --v5) */
.hero-film:not(.hero-film--v5) .hero-film__chap {
  position: absolute;
  top: 0.4rem;
  right: 0.45rem;
  z-index: 3;
  font-size: 0.42rem;
  color: #7a8c88;
  background: rgba(255, 255, 255, 0.85);
  border: 0.5px solid rgba(0, 0, 0, 0.05);
}
.hero-film__wa-skin {
  border-radius: 0.4rem;
  background: #e4ddd3;
  padding: 0.28rem 0.32rem 0.32rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-film--v5 .hero-film__scene--wa { padding: 0.5rem 0.55rem 0.5rem; }
.hero-film--v5 .hero-film__wa-hd {
  margin-bottom: 0.32rem;
  color: #3d4d4a;
  text-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.5);
}
.hero-film--v5 .hero-film__wa-sub { color: #5a6a66; }
.hero-film__scene {
  position: absolute;
  inset: 0;
  padding: 0.7rem 0.7rem 0.65rem;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--brand-ink);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-film:not(.hero-film--v5) .hero-film__scene--wa { animation: hero-f-s1 18s var(--ease) infinite; }
  .hero-film:not(.hero-film--v5) .hero-film__scene--cal { animation: hero-f-s2 18s var(--ease) infinite; }
  .hero-film:not(.hero-film--v5) .hero-film__scene--sync { animation: hero-f-s3 18s var(--ease) infinite; }
  .hero-film--v5 .hero-film__scene--wa { animation: hero-f-s1v5 20s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
  .hero-film--v5 .hero-film__scene--cal { animation: hero-f-s2v5 20s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
  .hero-film--v5 .hero-film__scene--sync { animation: hero-f-s3v5 20s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
  .hero-film--v5 .hero-film__chap--bar.hero-film__chap--1 { animation: hero-f-s1v5 20s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
  .hero-film--v5 .hero-film__chap--bar.hero-film__chap--2 { animation: hero-f-s2v5 20s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
  .hero-film--v5 .hero-film__chap--bar.hero-film__chap--3 { animation: hero-f-s3v5 20s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
}
/* Cadencia 18s (heredada) */
@keyframes hero-f-s1 {
  0%, 2% { opacity: 1; }
  35% { opacity: 1; }
  38% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes hero-f-s2 {
  0%, 37% { opacity: 0; }
  40% { opacity: 1; }
  60% { opacity: 1; }
  64% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes hero-f-s3 {
  0%, 64% { opacity: 0; }
  66% { opacity: 1; }
  92% { opacity: 1; }
  98% { opacity: 0; }
  100% { opacity: 0; }
}
/* v5: 20s, más aire y cruces suaves (efecto “3 tomas”) */
@keyframes hero-f-s1v5 {
  0%, 40% { opacity: 1; }
  44% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes hero-f-s2v5 {
  0%, 42% { opacity: 0; }
  45% { opacity: 1; }
  70% { opacity: 1; }
  74% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes hero-f-s3v5 {
  0%, 72% { opacity: 0; }
  75% { opacity: 1; }
  98% { opacity: 1; }
  100% { opacity: 0; }
}
.hero-film__wa-hd {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5a6a66;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.hero-film__wa-sub {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #8a9c98;
  font-size: 0.48rem;
}
.hero-film__wa-body { display: flex; flex-direction: column; gap: 0.35rem; }
.hero-film--v5 .hero-film__wa-body { gap: 0.25rem; }
.hero-film__bubble {
  border-radius: 0.5rem;
  padding: 0.35rem 0.5rem;
  max-width: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-film:not(.hero-film--v5) .hero-film__bubble--p { animation: hero-bubble-in 0.5s var(--ease) 0.1s both; }
  .hero-film:not(.hero-film--v5) .hero-film__bubble--v { animation: hero-bubble-in 0.55s var(--ease) 0.35s both; }
  .hero-film:not(.hero-film--v5) .hero-film__bubble--late { animation: hero-bubble-in 0.5s var(--ease) 0.85s both; }
  .hero-film--v5 .hero-film__seq-1 { animation: hero-bubble-in 0.45s 0.06s var(--ease) both; }
  .hero-film--v5 .hero-film__seq-2 { animation: hero-bubble-in 0.45s 0.38s var(--ease) both; }
  .hero-film--v5 .hero-film__seq-3 { animation: hero-bubble-in 0.42s 0.7s var(--ease) both; }
  .hero-film--v5 .hero-film__seq-typing { animation: hero-bubble-in 0.4s 0.95s var(--ease) both; }
  .hero-film--v5 .hero-film__seq-4 { animation: hero-bubble-in 0.5s 1.35s var(--ease) both; }
  .hero-film:not(.hero-film--v5) .hero-film__apt { animation: hero-apt-pulse 18s var(--ease) infinite; }
  .hero-film--v5 .hero-film__apt--v5 { animation: hero-apt-v5 20s var(--ease) infinite; }
  .hero-film--v5 .hero-film__doti--1 { animation: hero-fdot1 20s var(--ease) infinite; }
  .hero-film--v5 .hero-film__doti--2 { animation: hero-fdot2 20s var(--ease) infinite; }
  .hero-film--v5 .hero-film__doti--3 { animation: hero-fdot3 20s var(--ease) infinite; }
  .hero-film__sync-badges .hero-film__badge--live { animation: hero-live-pill 1.4s ease-in-out infinite; }
}
@keyframes hero-bubble-in {
  0% { opacity: 0; transform: translate3d(0, 0.4rem, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
.hero-film__bubble--p {
  align-self: flex-start;
  background: #fff;
  border: 0.5px solid var(--line2);
  color: var(--brand-ink);
}
.hero-film__bubble--v {
  align-self: flex-end;
  background: #e7f2ef;
  border: 0.5px solid rgba(10, 123, 110, 0.2);
  color: #0d4a44;
  position: relative;
}
.hero-film__bubble--late { align-self: flex-start; }
.hero-film--v5 .hero-film__bubble--p,
.hero-film--v5 .hero-film__bubble--v { font-size: 0.6rem; line-height: 1.36; }
.hero-film--v5 .hero-film__bubble--v strong { font-weight: 600; color: #0a4a45; }
.hero-film__hl { color: var(--brand-teal); font-weight: 600; }
.hero-film__typing-row {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0.05rem 0 0;
}
.hero-film__typing-lab { font-size: 0.42rem; font-weight: 600; color: #5a7a75; }
.hero-film__typing {
  display: inline-flex;
  gap: 2px;
  margin-left: 0.15rem;
  vertical-align: middle;
}
.hero-film__typing span {
  width: 2px;
  height: 2px;
  background: #6a8a84;
  border-radius: 50%;
  display: inline-block;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-film__typing span {
    animation: hero-dot 0.7s ease-in-out infinite;
  }
  .hero-film__typing span:nth-child(2) { animation-delay: 0.12s; }
  .hero-film__typing span:nth-child(3) { animation-delay: 0.24s; }
}
@keyframes hero-dot {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}
.hero-film__cal-hd {
  font-size: 0.6rem;
  font-weight: 700;
  color: #3d4d4a;
  margin-bottom: 0.4rem;
}
.hero-film__cal-hd span { font-weight: 500; color: #7a8c88; }
.hero-film__cal-when {
  margin: 0 0 0.35rem;
  font-size: 0.5rem;
  color: #7a8c88;
  font-weight: 500;
}
.hero-film__cal-grid {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}
.hero-film__cal-cell {
  flex: 1;
  text-align: center;
  font-size: 0.5rem;
  font-weight: 600;
  color: #8a9c98;
  padding: 0.15rem 0;
}
.hero-film__cal-cell--on {
  color: var(--brand-teal);
  font-weight: 800;
  position: relative;
}
.hero-film__cal-cell--on::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 0.02rem;
  height: 2px;
  border-radius: 1px;
  background: var(--brand-teal);
  opacity: 0.9;
}
.hero-film__apt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 0.5px solid var(--line2);
  border-radius: 0.4rem;
  padding: 0.35rem 0.4rem;
  box-shadow: 0 1px 3px rgba(10, 60, 55, 0.06);
}
@keyframes hero-apt-pulse {
  0%, 37% { box-shadow: 0 1px 3px rgba(10, 60, 55, 0.06); }
  40%, 62% { box-shadow: 0 0 0 1px rgba(10, 123, 110, 0.25), 0 4px 12px rgba(10, 123, 110, 0.12); }
  100% { box-shadow: 0 1px 3px rgba(10, 60, 55, 0.06); }
}
@keyframes hero-apt-v5 {
  0%, 44% { box-shadow: 0 1px 3px rgba(10, 60, 55, 0.06), 0 0 0 0 rgba(10, 123, 110, 0); }
  45%, 72% { box-shadow: 0 0 0 1px rgba(10, 123, 110, 0.28), 0 4px 14px rgba(10, 123, 110, 0.14); }
  100% { box-shadow: 0 1px 3px rgba(10, 60, 55, 0.06), 0 0 0 0 rgba(10, 123, 110, 0); }
}
@keyframes hero-fdot1 {
  0%, 42% { background: var(--brand-teal); box-shadow: 0 0 0 1px rgba(10, 123, 110, 0.25); transform: scale(1.2); }
  44%, 100% { background: #d0d5d1; box-shadow: none; transform: scale(1); }
}
@keyframes hero-fdot2 {
  0%, 44% { background: #d0d5d1; transform: scale(1); }
  45%, 72% { background: var(--brand-teal); box-shadow: 0 0 0 1px rgba(10, 123, 110, 0.25); transform: scale(1.2); }
  75%, 100% { background: #d0d5d1; box-shadow: none; transform: scale(1); }
}
@keyframes hero-fdot3 {
  0%, 72% { background: #d0d5d1; transform: scale(1); }
  75%, 98% { background: var(--brand-teal); box-shadow: 0 0 0 1px rgba(10, 123, 110, 0.25); transform: scale(1.2); }
  100% { background: #d0d5d1; box-shadow: none; transform: scale(1); }
}
.hero-film__apt-time {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--brand-teal);
  font-variant-numeric: tabular-nums;
  min-width: 1.6rem;
  white-space: nowrap;
}
.hero-film__apt-ampm { font-size: 0.48rem; font-weight: 600; color: #5a8a82; }
.hero-film__cal-src {
  margin: 0.45rem 0 0;
  font-size: 0.45rem;
  line-height: 1.3;
  color: #8a9c98;
  font-style: italic;
  text-align: left;
  padding: 0 0.1rem;
}
.hero-film__apt-det { flex: 1; min-width: 0; }
.hero-film__apt-det strong { display: block; font-size: 0.6rem; font-weight: 600; color: var(--brand-ink); }
.hero-film__apt-det span { font-size: 0.5rem; color: #7a8c88; }
.hero-film__apt-ok {
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--brand-teal);
  color: #fff;
  font-size: 0.55rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.hero-film__apt--v5 { flex-direction: column; align-items: stretch; gap: 0.22rem; padding: 0.32rem 0.36rem; }
.hero-film__apt-row { display: flex; align-items: center; gap: 0.35rem; }
.hero-film__apt-tag {
  align-self: flex-start;
  font-size: 0.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #0a8a7b, #0a7b6e);
  padding: 0.1rem 0.32rem;
  border-radius: 0.25rem;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
.hero-film__deliv {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  margin: 0.22rem 0 0 0.1rem;
  font-size: 0.4rem;
  font-weight: 600;
  color: #5a7a70;
  text-align: right;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.hero-film__deliv-ic {
  display: inline-flex;
  width: 0.65rem;
  height: 0.65rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10, 123, 110, 0.14);
  color: #0a6a5e;
  font-size: 0.42rem;
  line-height: 1;
  flex-shrink: 0;
}
.hero-film__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.28rem;
  padding: 0.35rem 0.5rem 0.28rem;
  background: linear-gradient(180deg, #e8e9e6 0%, #e2e3e0 100%);
  border-top: 0.5px solid rgba(0, 0, 0, 0.04);
  border-radius: 0 0 0.65rem 0.65rem;
}
.hero-film__doti {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: #d0d5d1;
  flex-shrink: 0;
  transform: scale(1);
  transform-origin: center;
}
.hero-film__sync-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin: 0.15rem 0 0.2rem;
  width: 100%;
}
.hero-film__sync-slab {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.3rem;
  border-radius: 0.3rem;
  border: 0.5px solid rgba(0, 0, 0, 0.07);
  background: #fff;
  color: #3d4d4a;
}
.hero-film__sync-slab--h { color: #0a6a5e; background: #e6f2ef; border-color: rgba(10, 123, 110, 0.2); }
.hero-film__sync-slab--v { color: #0a6a5e; background: #e8f4f0; border-color: rgba(10, 123, 110, 0.22); }
.hero-film__sync-line {
  flex: 1;
  min-width: 0.45rem;
  max-width: 1.2rem;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, #b8d8d0, #7ec4b3, #b8d8d0);
  background-size: 100% 100%;
  opacity: 0.9;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-film--v5 .hero-film__sync-line {
    background: linear-gradient(90deg, #9ec9be 0%, #4aa898 50%, #9ec9be 100%);
    background-size: 200% 100%;
    animation: hero-f-sync-shimmer 2.4s ease-in-out infinite;
  }
}
@keyframes hero-f-sync-shimmer {
  0%, 100% { background-position: 0% 50%; opacity: 0.8; }
  50% { background-position: 100% 50%; opacity: 1; }
}
.hero-film__scene--sync { justify-content: flex-start; text-align: left; align-items: stretch; gap: 0.3rem; }
.hero-film--v5 .hero-film__scene--cal { text-align: left; padding: 0.85rem 0.6rem 0.55rem; }
.hero-film--v5 .hero-film__scene--sync { padding: 0.88rem 0.6rem 0.5rem; }
.hero-film__sync-patient {
  margin: 0 0 0.15rem;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: -0.02em;
}
.hero-film__sync-title {
  font-size: 0.6rem; font-weight: 700; color: var(--brand-ink);
  text-align: center;
  align-self: center;
  width: 100%;
  margin: 0.1rem 0 0.15rem;
}
.hero-film__sync-title span { color: var(--brand-teal); font-weight: 500; }
.hero-film__sync-txt { font-size: 0.5rem; line-height: 1.45; color: #5a6a66; max-width: 15rem; margin: 0; }
.hero-film--v5 .hero-film__sync-txt strong { color: #3d4d4a; }
.hero-film__sync-list {
  list-style: none;
  margin: 0.1rem 0 0.15rem;
  padding: 0;
  font-size: 0.5rem;
  line-height: 1.4;
  color: #3d4d4a;
}
.hero-film__sync-list li { margin: 0.08rem 0; padding: 0; }
.hero-film--v5 .hero-film__sync-badges { justify-content: flex-start; margin-top: 0.15rem; }
.hero-film__sync-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem; margin-top: 0.1rem; }
.hero-film__badge {
  font-size: 0.45rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.2rem 0.35rem; border-radius: 999px;
  background: #eef4f2; color: #4a5a56;
  border: 0.5px solid var(--line2);
}
.hero-film__badge--live { background: rgba(10, 123, 110, 0.12); color: var(--brand-teal); border-color: rgba(10, 123, 110, 0.25); }
@keyframes hero-live-pill {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; box-shadow: 0 0 0 1px rgba(10, 123, 110, 0.35); }
}
.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 48rem;
  min-height: 0;
  padding: 0.5rem 0.25rem 0;
}
/* Hero text: one beat deeper / slower than section reveals — reads like a title over picture */
.hero-inner .reveal {
  transform: translate3d(0, 1.15rem, 0) scale(0.99);
  transition-duration: 1.5s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-property: opacity, transform;
}
.hero-inner .reveal.visible {
  transform: translate3d(0, 0, 0) scale(1);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
}
@media (min-width: 700px) {
  .hero-cta { margin-top: 2.25rem; gap: 1rem 1.15rem; }
}
/* Desktop: left-align copy column — block placed after ALL base rules so cascade wins */
@media (min-width: 900px) {
  .hero-col--copy { text-align: left; }
  .hero-inner { align-items: flex-start; }
  .h1-apple { align-items: flex-start; margin-left: 0; margin-right: 0; }
  .kicker-apple { margin-left: 0; margin-right: auto; }
  .lead-apple { margin-left: 0; margin-right: 0; }
  .hero-cta { justify-content: flex-start; }
}

/* Metrics: footnote weight */
.hero-statrow-apple {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center;
  gap: 0; margin-top: 2.75rem; padding-top: 1.75rem; max-width: 40rem;
  margin-left: auto; margin-right: auto; border: 0;
  border-top: 0.5px solid var(--line);
  background: none;
}
@media (min-width: 900px) {
  .hero-statrow-apple { margin-top: 3.25rem; padding-top: 2rem; }
}
.hstat { text-align: center; min-width: 0; padding: 0.5rem 1.25rem; background: none; border: 0; box-shadow: none; }
.hstat:hover { transform: none; border: 0; box-shadow: none; }
.hstat-sep { width: 0.5px; align-self: stretch; min-height: 2.75rem; background: linear-gradient(180deg, transparent, var(--line2), transparent); margin: 0 0.15rem; }
@media (max-width: 600px) { .hstat-sep { display: none; } }
.hstat-val { font-family: -apple-system, var(--font); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.04em; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.hstat-suffix { font-size: 0.45em; font-weight: 600; }
.hstat-lab { font-size: 12px; font-weight: 400; letter-spacing: -0.01em; color: var(--brand-ink-mid); margin-top: 0.2rem; font-family: var(--font); }

.scroll-cue { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.scroll-cue-apple { padding: 0.25rem 0 0.5rem; opacity: 0.28; }
@media (min-width: 900px) { .scroll-cue-apple { opacity: 0.35; } }
.scroll-cue-line {
  width: 1px; height: 32px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(var(--brand-teal-rgb), 0.45), rgba(10, 123, 110, 0.12) 70%, transparent);
  border-radius: 1px;
  animation: hero-scroll-glow 5.5s ease-in-out infinite;
  opacity: 0.75;
}
@keyframes hero-scroll-glow {
  0%, 100% { opacity: 0.45; transform: scaleY(1); }
  50% { opacity: 0.85; transform: scaleY(1.06); }
}

/* Hero emphasis word: glassy *type* only (no pill — specular + depth + teal bloom) */
.hero .h1-apple-l1 .teal-em {
  font-style: normal;
  font-weight: 600;
  color: var(--brand-teal);
  -webkit-text-fill-color: currentColor;
  text-shadow:
    0 0.5px 0 rgba(255, 255, 255, 0.85),
    0 1px 1px rgba(7, 90, 80, 0.12),
    0 2px 8px rgba(18, 160, 144, 0.25),
    0 8px 28px rgba(10, 123, 110, 0.18);
}
.hero .h1-apple-l1 { text-shadow: none; }
.hero .h1-apple-l2 .italic-em { color: var(--brand-coral); font-style: italic; font-weight: 500; }

/* —— Trust strip (typography only — no chip chrome) */
/* —— Client spotlight (DRC): same section rhythm as “Cómo funciona” + hero-style metrics —— */
.client-spotlight.section.light {
  padding: 3.5rem 0 4.25rem;
}
@media (min-width: 900px) {
  .client-spotlight.section.light { padding: 4.5rem 0 5.5rem; }
}
.client-spotlight__head {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 900px) {
  .client-spotlight__head { margin-bottom: 2.5rem; }
}
.client-spotlight__head .h2 { margin: 0; }
.client-spotlight__panel {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 28px rgba(10, 60, 55, 0.06);
}
@media (min-width: 500px) {
  .client-spotlight__panel { padding: 1.75rem 1.75rem 1.5rem; }
}
.client-spotlight__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
  overflow: visible;
  padding: 0.15rem 0 0.25rem;
}
.client-spotlight__logo {
  display: block;
  width: min(100%, 200px);
  height: auto;
  max-height: 88px;
  object-fit: contain;
  object-position: center;
  /* Override global img { max-width: 100% } width shrink that clipped the mark */
  max-width: min(100%, 200px);
}
.client-spotlight__statrow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 0.5px solid var(--line2);
}
.client-spotlight__statrow .hstat {
  flex: 1 1 7.5rem;
  min-width: 0;
  padding: 0.4rem 0.75rem;
}
.client-spotlight__statrow .hstat-sep { margin: 0.2rem 0.1rem; }
.client-spotlight.section.light .hstat-val.client-spotlight__metric-val { color: var(--brand-teal); }
.client-spotlight__outcome {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--brand-ink-mid);
  margin: 1.1rem 0 0;
  padding-top: 1.05rem;
  border-top: 0.5px solid var(--line2);
}
.client-spotlight__outcome strong {
  color: var(--brand-ink);
  font-weight: 600;
}
.trust {
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
  padding: 1.15rem var(--gutter);
  background: var(--z1);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.75rem 2.5rem;
  max-width: 100%;
}
.trust-mission { margin: 0; font-size: 12px; color: var(--brand-ink-mid); display: flex; align-items: center; gap: 0.5rem; font-weight: 400; letter-spacing: 0.01em; }
.trust-mono { flex-shrink: 0; width: 20px; height: 20px; border-radius: 25%; }
.trust-mission:hover .trust-mono { filter: brightness(1.05); }
.trust-regions { margin: 0; font-size: 12px; font-weight: 400; color: var(--brand-ink-light); letter-spacing: 0.01em; }
/* Legacy — in case of cached HTML */
.trust-flags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.trust-chip { font-size: 12px; color: var(--brand-ink-light); padding: 0; border: 0; background: none; }
.trust-chip:hover { background: none; }

/* —— Sections */
.section {
  position: relative;
  padding: 5.5rem 0 6.5rem;
  border-bottom: 0.5px solid var(--line);
  background: var(--z);
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
@media (min-width: 900px) {
  .section { padding: 7.5rem 0 8.5rem; }
}
.section.alt { background: var(--z2); color: var(--tx2); }
.section.light {
  background: var(--brand-warm);
  color: var(--brand-ink);
  border-color: var(--brand-border);
  background-image: linear-gradient(180deg, #ffffff 0%, var(--brand-warm) 12%, var(--brand-warm) 100%);
}
.section.light h2, .section.light h3, .section.light .h1, .section.light .h2, .section.light .vitary-word, .section.light .hstat-val, .section.light a:not(.btn-primary):not([class^="btn-"]) { color: var(--brand-ink); }
.section.light .h2 { font-family: var(--font); font-weight: 600; letter-spacing: -0.045em; line-height: 1.08; }
.section.light .muted, .section.light p { color: var(--brand-ink-mid); }
.section.light .kicker { color: var(--brand-teal); }
.section .inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section-head { margin-bottom: 3.5rem; }
@media (min-width: 900px) { .section-head { margin-bottom: 4.5rem; } }
.section-head .h2 { margin: 0 0 1.1rem; }
.section-head .lead { max-width: 36rem; margin: 0; }

/* Bento */
.bento { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.bento4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .bento3 { grid-template-columns: 2fr 1fr 1fr; } }
.bcell {
  background: var(--z2);
  padding: 1.75rem 1.5rem; min-height: 140px;
  transition: background 0.25s;
}
@media (min-width: 600px) { .bcell { padding: 2rem; min-height: 0; } }
.bcell:hover { background: var(--brand-teal-pale); }
.bcell h3 { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 600; font-family: var(--font); }
.bcell p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--tx3); }
.bcell-ico { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(var(--brand-teal-rgb), 0.12); color: var(--teal); margin-bottom: 1.25rem; }
.bcell-ico svg { width: 20px; height: 20px; }
.bspan2 { grid-column: span 2; }
@media (max-width: 699px) { .bento4, .bento3 { grid-template-columns: 1fr; } .bspan2 { grid-column: span 1; } }

/* Numbered steps (card rail) */
.flow { display: grid; gap: 1rem; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; } }
.fstep {
  position: relative;
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #fff, var(--z2) 55%);
  transition: border-color 0.3s, box-shadow 0.35s, transform 0.35s var(--ease);
}
@media (max-width: 899px) { .fstep { border-bottom: 1px solid var(--line); } }
.fstep::before {
  content: "";
  position: absolute; top: 0; left: 1.5rem; right: 1.5rem; height: 0.5px;
  background: linear-gradient(90deg, transparent, var(--line2), transparent);
  border-radius: 1px;
}
.fstep:hover {
  border-color: rgba(var(--brand-teal-rgb), 0.28);
  box-shadow: 0 12px 40px -28px rgba(10, 123, 110, 0.18);
  transform: translateY(-1px);
}
.fnum { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--brand-ink-light); text-transform: uppercase; margin-bottom: 0.65rem; }
.ftit { color: var(--tx); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.fstep p { margin: 0; font-size: 0.88rem; color: var(--tx3); line-height: 1.6; }

/* —— VI strip (quiet panel — not a gradient ad) */
.vi-ribbon {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.5rem; border: 0.5px solid var(--brand-border); border-radius: var(--radius-lg);
  background: var(--z);
  margin-bottom: 2.5rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.vi-ribbon h3 { font-family: var(--font); font-size: 1.05rem; color: var(--brand-ink); margin: 0 0 0.35rem; font-weight: 600; letter-spacing: -0.02em; }
.vi-ribbon p { margin: 0; font-size: 0.9rem; color: var(--brand-ink-mid); line-height: 1.6; }
.vi-arrow { color: var(--brand-teal); display: flex; align-items: center; padding: 0 0.5rem; font-size: 1.15rem; }

/* —— Huli table */
.cmp {
  width: 100%;
  font-size: 13px; border-radius: 12px; overflow: hidden;
  border: 1px solid #e5e5e2;
}
.cmp th, .cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #e8e8e3; }
.cmp th { background: #ecebe7; color: #0a0a0a; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.cmp tr:nth-child(even) td { background: rgba(0,0,0,0.02); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp .ok { color: var(--brand-teal); font-weight: 600; }
.cmp .no { color: #a3a3a3; }

.huli-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.9rem; margin: 2.25rem 0; }
.hcard { background: #fcfcfa; padding: 1.5rem 1.4rem; border-radius: var(--radius-lg); border: 1px solid #e0e0dc; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 12px 40px -30px rgba(0,0,0,0.12); transition: border-color 0.25s, box-shadow 0.25s, transform 0.3s; }
.hcard:hover { border-color: #d0d0cc; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 8px 28px -22px rgba(0,0,0,0.08); transform: translateY(-1px); }
.hcard h3 { margin: 0.75rem 0 0.4rem; font-size: 1.02rem; color: #0a0a0a; font-weight: 600; font-family: var(--font); letter-spacing: -0.02em; }
.hcard p { margin: 0; font-size: 0.9rem; color: #4a4a4a; line-height: 1.6; }
.h-ico { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(160deg, rgba(var(--brand-teal-rgb), 0.2), rgba(var(--brand-teal-rgb), 0.06)); display: flex; align-items: center; justify-content: center; color: var(--brand-teal); }
.h-ico svg { width: 26px; height: 26px; }
.h-ico svg :where(path, line, circle, rect, polyline, ellipse) { stroke-width: var(--icon-st-huli); }

.huli-note { font-size: 0.9rem; color: #666; text-align: center; margin: 1.5rem 0 0; }

/* —— Demo (WhatsApp) */
.demo-sec { background: var(--z1); }
.demo-top { text-align: center; margin-bottom: 3rem; }
.demo-top .h2 { margin: 0 0 0.5rem; }
.dlayout { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 800px) { .dlayout { grid-template-columns: 1fr; } }

.ds-list { list-style: none; margin: 0; padding: 0; }
.ds-item {
  display: flex; gap: 14px; padding: 1rem; border-radius: 12px; border: 1px solid var(--line);
  background: var(--z2); margin-bottom: 8px; font-size: 0.9rem; transition: border-color 0.2s, background 0.2s;
}
.ds-item .dot2 { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--tx3); margin-top: 3px; flex-shrink: 0; transition: 0.25s; }
.ds-item .tit { color: var(--tx); font-weight: 500; }
.ds-item .st { color: var(--tx3); font-size: 0.85rem; }
.ds-item.active { border-color: rgba(var(--brand-teal-rgb), 0.45); background: var(--brand-teal-pale); }
.ds-item.active .dot2 { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 12px rgba(var(--brand-teal-rgb), 0.5); }
.ds-item.done .dot2 { background: var(--teal-d); border-color: var(--teal-d); }
.dreplay {
  width: 100%; margin-top: 1rem; height: 42px; border: 1px solid var(--line2); color: var(--tx2);
  font-size: 12px; font-weight: 500; border-radius: 9px; background: transparent;
}
.dreplay { transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s; }
.dreplay:hover { background: var(--brand-teal-pale); color: var(--tx); border-color: rgba(var(--brand-teal-rgb), 0.28); }
.dreplay:active { transform: scale(0.99); }

.pwrap { position: relative; }
/* iPhone 17 Pro Max — 78×163.4 mm, ~90.7% stb, Dynamic Island centered, natural titanium / silver unibody (CSS sim) */
.phone-iphone-17pmax {
  width: min(360px, 100%);
  max-height: min(76vh, 820px);
  aspect-ratio: 78 / 163.4;
  margin: 0 auto;
  position: relative;
  display: flow-root;
  container-type: inline-size;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.38)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.22));
}
.phone-iphone-17pmax .phone--iphone {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
}
.phone--iphone {
  /* ~2.2 mm / side on 78 mm width → 2.8% cqi; outer R ≈ 14% of width (continuous curve) */
  --w: 100cqi;
  --phone-bezel: clamp(7px, 2.8cqw, 10.5px);
  --phone-r-outer: calc(0.14 * var(--w));
  --phone-r-inner: max(22px, calc(var(--phone-r-outer) - var(--phone-bezel)));
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border-radius: var(--phone-r-outer);
  padding: var(--phone-bezel);
  /* “Natural / silver” unibody: cool specular + anodized side falloff */
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.08) 32%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(180deg, #ececee 0%, #c9cbd2 6%, #a8abaf 20%, #7d8085 50%, #5b5c62 100%);
  background-repeat: no-repeat;
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.28) inset,
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
}
/* Tight 5G mmWave / antenna sliver — much subtler than chunky “buttons” */
.phone--iphone::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  top: 22%;
  width: 2px;
  height: 18%;
  min-height: 40px;
  border-radius: 0 1px 1px 0;
  background: linear-gradient(180deg, rgba(60, 62, 68, 0.35) 0%, rgba(30, 31, 34, 0.45) 100%);
  pointer-events: none;
  opacity: 0.7;
  transform: translateX(-0.5px);
}
.phone--iphone::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  top: 18%;
  width: 2px;
  height: 20%;
  min-height: 48px;
  border-radius: 1px 0 0 1px;
  background: linear-gradient(180deg, rgba(55, 57, 62, 0.35) 0%, rgba(28, 29, 32, 0.45) 100%);
  pointer-events: none;
  opacity: 0.7;
  transform: translateX(0.5px);
}
@supports (corner-shape: squircle) {
  .phone--iphone,
  .pscreen {
    corner-shape: squircle;
  }
}
.pscreen {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #000;
  border-radius: var(--phone-r-inner);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 0 0.5px rgba(0, 0, 0, 0.65) inset;
}
.p-top-safe {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 4;
  min-height: 48px;
  padding: 9px 15px 7px 17px;
  /* OLED: true black; Island reads off contrast + its own specular edge */
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.p-time {
  flex: 1 1 0;
  min-width: 0;
  z-index: 1;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f2f2f7;
  font-variant-numeric: tabular-nums;
}
.p-status-ico {
  flex: 1 1 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}
.p-island {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  /* Pro Max: wide island; scales with device width */
  width: min(9.1rem, 40cqi);
  height: 29px;
  padding: 0 12px 0 10px;
  background: linear-gradient(180deg, #121212 0%, #010101 100%);
  border-radius: 100px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 0 0.5px rgba(0, 0, 0, 0.75) inset,
    0 2px 8px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  overflow: hidden;
}
.p-island__glimmer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 42%);
  mix-blend-mode: soft-light;
  pointer-events: none;
  opacity: 0.5;
}
.p-island__cam {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #2e3035 0%, #0b0c0d 72%, #050506 100%);
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.15),
    inset 0 0 0 0.5px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}
.p-sig { display: flex; align-items: flex-end; gap: 1.5px; height: 10px; }
.p-sig i { display: block; width: 2.5px; border-radius: 0.5px; background: #f2f2f7; flex-shrink: 0; font-style: normal; }
.p-sig i:nth-child(1) { height: 3.5px; }
.p-sig i:nth-child(2) { height: 5.5px; }
.p-sig i:nth-child(3) { height: 7.5px; }
.p-sig i:nth-child(4) { height: 9.5px; }
.p-wifi {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 10px;
  margin-left: 1px;
  flex-shrink: 0;
  opacity: 0.95;
  color: #f2f2f7;
}
.p-wifi__svg {
  display: block;
  width: 15px;
  height: 10px;
  flex-shrink: 0;
  overflow: visible;
}
.p-bat {
  width: 22px;
  height: 10px;
  border-radius: 2.5px;
  border: 1px solid rgba(242, 242, 247, 0.35);
  position: relative;
  margin-left: 2px;
  flex-shrink: 0;
}
.p-bat::before {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 1.5px;
  height: 5px;
  background: rgba(242, 242, 247, 0.35);
  border-radius: 0 1px 1px 0;
}
.p-bat::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  right: 4px;
  border-radius: 1px;
  background: #f2f2f7;
  opacity: 0.95;
}
.p-home-bar {
  width: 36%;
  max-width: 120px;
  height: 5px;
  margin: 0 auto 7px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}
.pwh {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 9px;
  flex-shrink: 0;
  background: #0a0f0e;
  color: #f0f0f0;
  font-size: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.pav {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.pav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pnm { font-weight: 600; letter-spacing: -0.02em; }
.pst { color: #4ade80; font-size: 0.6rem; font-weight: 500; }
#dmsgs.pchat {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 11px 12px;
  background: #0d1413;
  scroll-behavior: smooth;
}
.mv, .mp, .mtyping, .mhoff { margin: 0 0 2px; font-size: 0.7rem; line-height: 1.45; max-width: 92%; }
.mtyping { color: #8a9a96; }
.mtyping span { display: inline-block; width: 5px; height: 5px; background: #5c6b68; border-radius: 50%; margin-right: 2px; animation: b1 0.5s ease-in-out infinite; }
.mtyping span:nth-child(2) { animation-delay: 0.12s; }
.mtyping span:nth-child(3) { animation-delay: 0.24s; }
@keyframes b1 { 0%, 100% { transform: scale(0.5); opacity: 0.4; } 50% { transform: scale(1); opacity: 1; } }
.mv, .mp { opacity: 0; transition: opacity 0.25s ease; }
/* Vita: incoming — cool gray bubble */
.mv {
  margin-left: 0;
  background: #2a3d3a;
  color: #f1f4f3;
  border-radius: 4px 12px 12px 12px;
  padding: 7px 10px 8px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
/* Patient: sent — deep green (WhatsApp-like) */
.mp {
  margin-left: auto;
  background: #123d32;
  color: #f7faf8;
  border-radius: 12px 4px 12px 12px;
  padding: 7px 10px 8px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.mtime { font-size: 0.55rem; color: #6b7a78; width: 92%; margin: 0 0 8px; }
.mtime.l { text-align: left; }
.mtime.r { text-align: right; margin-left: auto; }
.mhoff { text-align: center; font-size: 0.65rem; color: #fbbf24; background: rgba(250, 204, 21, 0.1); border-radius: 6px; padding: 4px; margin: 6px 0; }
.mb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  flex-shrink: 0;
  background: #0f1615;
  border-top: 1px solid #252b2a;
}
.mbf { flex: 1; font-size: 0.65rem; color: #6a7875; padding: 5px 8px; border-radius: 16px; background: #151d1b; }
.mb-send { color: var(--brand-teal-2); font-size: 0.9rem; line-height: 1; padding: 2px; flex-shrink: 0; }
@media (max-width: 480px) {
  .phone-iphone-17pmax {
    max-height: min(78vh, 700px);
    width: min(100%, 360px, calc(78vh * 78 / 163.4));
  }
  .phone--iphone::before,
  .phone--iphone::after { display: none; } /* no side slivers on narrow */
}
.dnotif {
  position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%) scale(0.9);
  background: #0f0f0f; border: 1px solid var(--line2); color: #fff; padding: 0.5rem 0.75rem; border-radius: 10px; font-size: 0.65rem;
  display: flex; gap: 0.4rem; align-items: center; width: 88%; max-width: 14rem; opacity: 0; box-shadow: 0 8px 30px #0008;
  pointer-events: none; transition: opacity 0.35s, transform 0.35s;
}
.dnotif.on, .dnotif.show { opacity: 1; transform: translateX(-50%) scale(1); }
.dnotif strong { display: block; }
.dnotif-sub { display: block; color: #9ca3af; font-size: 0.7em; font-weight: 400; }
.pcard3 li.paddon { color: #737373; font-size: 0.78em; }
.pcard3 li.paddon::before { content: "+"; }

/* —— Intelligence grid */
.icard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.75rem; margin-top: 2.5rem; }
.icard {
  position: relative;
  background: var(--z2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.35rem 1.5rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset;
  transition: border-color 0.3s, box-shadow 0.35s, transform 0.4s var(--ease);
  overflow: hidden;
}
.icard::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 0.5px;
  background: linear-gradient(90deg, transparent, var(--line2), transparent);
  opacity: 0.7;
  pointer-events: none;
}
.icard:hover { border-color: rgba(var(--brand-teal-rgb), 0.25); transform: translateY(-1px); box-shadow: 0 10px 36px -28px rgba(10, 123, 110, 0.12); }
.icard h3 { font-size: 0.95rem; margin: 0 0 0.45rem; color: var(--tx); font-weight: 600; letter-spacing: -0.02em; }
.icard p { margin: 0; font-size: 0.84rem; color: var(--tx3); line-height: 1.6; }
.icard.fu { border-color: var(--line2); background: var(--z3); }
.icard .badge-fu { display: inline-block; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-ink-light); margin-bottom: 0.4rem; }
.teal-em { color: var(--teal2); font-style: italic; font-weight: 400; }

/* —— Demo steps (.ds) match original script */
.ds-wrap { list-style: none; margin: 0; padding: 0; }
.ds { display: flex; gap: 14px; padding: 1rem 1.1rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--z2); margin-bottom: 8px; font-size: 0.9rem; transition: border-color 0.25s, background 0.25s, box-shadow 0.3s; }
.ds:hover:not(.active):not(.done) { box-shadow: 0 0 0 1px var(--line) inset; }
.ds .dot2 { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--tx3); margin-top: 3px; flex-shrink: 0; transition: 0.25s; }
.ds .tit { color: var(--tx); font-weight: 500; }
.ds .st { color: var(--tx3); font-size: 0.85rem; }
.ds.active { border-color: rgba(var(--brand-teal-rgb), 0.45); background: var(--brand-teal-pale); }
.ds.active .dot2 { background: var(--teal); border-color: var(--teal); }
.ds.done .dot2 { background: var(--teal-d); border-color: var(--teal-d); }

.huli-cmp-h { text-align: center; font-size: 12px; font-weight: 600; color: #111; margin: 2rem 0 0.75rem; }

.pgrid-3 { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: stretch; }
@media (min-width: 900px) { .pgrid-3 { grid-template-columns: repeat(3, 1fr); } }
.pgrid-precios { display: grid; grid-template-columns: 1fr; gap: 0.75rem; align-items: stretch; }
@media (min-width: 700px) { .pgrid-precios { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .pgrid-precios { grid-template-columns: repeat(4, 1fr); } }
.pfeat { list-style: none; margin: 0; padding: 0; flex: 1; }
.pfeat li { display: flex; gap: 0.4rem; align-items: flex-start; font-size: 0.8rem; color: #3f3f3f; margin-bottom: 0.35rem; }
.pfeat .chk { color: var(--brand-teal); font-weight: 600; flex-shrink: 0; }
.paddon { color: #737373; font-size: 0.78rem; }
.cta-eyebrow { color: var(--tx3); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.cta-eyebrow.bordered { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; padding: 0.2rem 0.6rem; margin: 0 auto 0.5rem; }
.cta-hr { display: flex; align-items: center; gap: 0.5rem; color: var(--tx3); font-size: 0.8rem; margin: 1rem 0; justify-content: center; }
.cta-hr::before, .cta-hr::after { content: ""; flex: 1; max-width: 80px; height: 1px; background: var(--line); }
.pcard3 .pfoot2 { text-align: center; font-size: 11px; color: #a3a3a3; margin-top: 0.6rem; }
.mv.in, .mp.in { opacity: 1; }

.mono { font-family: var(--mono, ui-monospace, monospace); font-size: 0.92em; }

/* —— Dashboard: Sidebar.tsx + KpiCard.tsx + Inbox (ConversationList + chat column) */
.dash-wrap {
  max-width: 1024px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgb(var(--dashboard-border) / 0.55);
  background: var(--brand-warm);
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.08), 0 2px 6px -2px rgba(0, 0, 0, 0.04);
}
.dash-app {
  display: flex;
  min-height: 400px;
  align-items: stretch;
  background: var(--brand-warm);
}
.dash-sidebar {
  width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-right: 1px solid rgb(var(--dashboard-border) / 0.3);
  position: relative;
  overflow: hidden;
}
.dash-sidebar-brand { padding: 1.4rem 1.15rem 0.5rem; }
.dash-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.dash-logo-cluster { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.dash-logo-ico {
  width: 28px;
  height: 28px;
  border-radius: 25%;
  box-shadow: 0 1px 3px rgba(10, 123, 110, 0.25);
  flex-shrink: 0;
}
.dash-logo-cluster .vitary-word { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-bell { color: var(--brand-ink-mid); opacity: 0.9; display: flex; padding: 4px; flex-shrink: 0; }
.dash-bell svg { display: block; }
.dash-sep { height: 1px; margin: 0.65rem 1rem 0; background: rgb(var(--dashboard-border) / 0.3); }
.dash-clinic-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.dash-clinic-name {
  font-size: 12px;
  color: var(--brand-ink-mid);
  line-height: 1.2;
  flex: 1 1 auto;
  min-width: 0;
}
.dash-plan {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-teal);
  background: var(--brand-teal-ghost);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.dash-nav {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0.45rem 0.5rem 0.75rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.dash-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.6rem 0.55rem 0.65rem;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--brand-ink-mid);
  border: none;
  border-radius: 0.75rem;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 0.12s, background 0.12s;
}
.dash-tab__track {
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  background: transparent;
  pointer-events: none;
  transition: background 0.12s;
}
.dash-tab:hover { color: var(--brand-ink); }
.dash-tab:hover .dash-tab__track { background: rgba(0, 0, 0, 0.018); }
.dash-tab[aria-pressed="true"] { color: var(--brand-teal); font-weight: 600; box-shadow: inset 3px 0 0 0 var(--brand-teal); }
.dash-tab[aria-pressed="true"] .dash-tab__track { background: var(--brand-teal-ghost); }
.dash-tab[aria-pressed="true"] .dash-ico { color: var(--brand-teal); }
.dash-ico { display: flex; color: currentColor; flex-shrink: 0; position: relative; z-index: 1; }
.dash-ico svg { display: block; width: 20px; height: 20px; }
.dash-tab .dash-ico svg :where(path, line, circle, rect, polyline, ellipse),
.dash-side-ghost .dash-ico svg :where(path, line, circle, rect, polyline, ellipse) {
  stroke-width: var(--icon-st-dash);
}
.dash-inbox-sico svg { width: 17px; height: 17px; }
.dash-inbox-sico svg :where(path, line, circle, rect, polyline, ellipse) {
  stroke-width: var(--icon-st-dash);
}
.dash-ch-icon svg { width: 17px; height: 17px; }
.dash-ch-icon svg :where(path, line, circle, rect, polyline, ellipse) {
  stroke-width: var(--icon-st-dash);
}
.dash-tab__txt { position: relative; z-index: 1; }
.dash-sidebar-foot {
  padding: 0.4rem 0.5rem 0.75rem;
  border-top: 1px solid rgb(var(--dashboard-border) / 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.dash-side-ghost {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.6rem 0.55rem 0.65rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-ink-mid);
  border: none;
  border-radius: 0.75rem;
  background: transparent;
  text-align: left;
  cursor: default;
  transition: background 0.12s, color 0.12s;
}
.dash-side-ghost:hover { color: var(--brand-ink); background: rgba(0, 0, 0, 0.02); }
.dash-user {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.5rem 0.15rem 0.45rem;
  border-radius: 0.75rem;
}
.dash-user-av {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-2));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(10, 123, 110, 0.35);
}
.dash-user-txt { min-width: 0; }
.dash-user-name { display: block; font-size: 12px; font-weight: 500; color: var(--brand-ink); }
.dash-user-role { display: block; font-size: 10px; text-transform: capitalize; color: var(--brand-ink-light); }
.dash-canvas { flex: 1; min-width: 0; position: relative; }
.dash-canvas > .dash-main2[hidden] { display: none !important; }
.dash-main2 {
  background: var(--brand-warm);
  padding: 1.15rem 1.25rem 1.2rem;
  min-height: 100%;
  overflow: auto;
  max-height: 520px;
}
.dash-main2--inbox {
  padding: 0;
  overflow: hidden;
  max-height: 480px;
  display: flex;
  flex-direction: column;
}
.dash-inbox-shell {
  flex: 1;
  display: flex;
  min-height: 0;
  align-items: stretch;
}
.dash-inbox-listcol {
  width: 38%;
  min-width: 11.5rem;
  max-width: 15.5rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
  border-right: 1px solid rgb(var(--dashboard-border) / 0.35);
  overflow: hidden;
}
.dash-inbox-hd { padding: 0.7rem 0.7rem 0.35rem 0.65rem; }
.dash-inbox-title {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-ink);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.dash-inbox-sub { font-size: 0.5rem; color: var(--brand-ink-mid); margin: 0.2rem 0 0; }
.dash-inbox-search-wrap {
  position: relative;
  margin: 0.2rem 0.55rem 0.45rem;
}
.dash-inbox-sico {
  position: absolute;
  left: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-ink-light);
  display: flex;
  pointer-events: none;
  opacity: 0.7;
}
.dash-inbox-search {
  width: 100%;
  font: inherit;
  font-size: 0.5rem;
  padding: 0.35rem 0.4rem 0.35rem 1.4rem;
  border-radius: 0.4rem;
  border: 1px solid rgb(var(--dashboard-border) / 0.5);
  background: #fafbfa;
  color: var(--brand-ink-mid);
  cursor: default;
}
.dash-inbox-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.25rem;
  padding: 0 0.45rem 0.4rem 0.5rem;
}
.dash-filter {
  font-size: 0.42rem;
  font-weight: 500;
  color: var(--brand-ink-mid);
  background: #f4f4f2;
  padding: 0.15rem 0.3rem 0.15rem 0.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.dash-filter b { font-weight: 600; margin-left: 0.1rem; }
.dash-filter--on { color: var(--brand-teal); background: var(--brand-teal-ghost); border-color: rgba(10, 123, 110, 0.15); }
.dash-circav {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  letter-spacing: -0.02em;
}
.dash-circav--o { background: linear-gradient(145deg, #f59e0b, #d97706); }
.dash-circav--p { background: linear-gradient(145deg, #f472b6, #db2777); }
.dash-circav--u { background: linear-gradient(145deg, #a78bfa, #7c3aed); }
.dash-circav--g { background: linear-gradient(145deg, #34d399, #059669); }
.dash-ch-av {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.dash-ch-av--o { background: linear-gradient(145deg, #f59e0b, #d97706); }
.dash-ch-identity { display: flex; align-items: center; gap: 0.4rem; min-width: 0; }
.dash-ch-head--inbox {
  flex-wrap: wrap;
  padding: 0.45rem 0.4rem 0.4rem 0.5rem;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}
.dash-ch-actions { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; justify-content: flex-end; }
.dash-ch-vita-link { font-size: 0.48rem; font-weight: 600; color: #4f46e5; }
.dash-ch-cta {
  font-size: 0.45rem;
  font-weight: 600;
  color: #fff;
  background: var(--brand-coral);
  padding: 0.22rem 0.4rem;
  border-radius: 0.35rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  cursor: default;
}
.dash-ch-icon { color: var(--brand-ink-mid); opacity: 0.8; display: flex; }
.dash-msg--vita {
  align-self: flex-end;
  text-align: left;
  max-width: 88%;
  background: #eef3f2;
  border: 1px solid rgb(var(--dashboard-border) / 0.35);
  color: var(--brand-ink);
  font-size: 0.48rem;
  line-height: 1.4;
  padding: 0.3rem 0.45rem;
  border-radius: 0.45rem 0.45rem 0.2rem 0.45rem;
}
.dash-msg--vita strong { font-weight: 600; }
.dash-msg--user {
  align-self: flex-start;
  max-width: 88%;
  background: #fff;
  border: 1px solid rgb(var(--dashboard-border) / 0.4);
  font-size: 0.48rem;
  line-height: 1.4;
  padding: 0.3rem 0.45rem;
  border-radius: 0.45rem 0.45rem 0.45rem 0.2rem;
  color: var(--brand-ink);
}
.dash-ch-status {
  text-align: center;
  font-size: 0.4rem;
  font-weight: 500;
  color: #5b4bb3;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  margin: 0.15rem 0.45rem 0.45rem;
}
.dash-status-pill--vita { color: #4f46e5; background: rgba(99, 102, 241, 0.1); }
.dash-main2--metrics { padding: 0; }
.dash-metrics-body { padding: 0.6rem 1rem 1.1rem; }
.dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 0.6rem;
  margin-bottom: 0.5rem;
}
.kpi-card {
  padding: 0.8rem 0.7rem 0.85rem;
  background: var(--surface);
  border: 1px solid rgb(var(--dashboard-border) / 0.4);
  border-radius: 0.75rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.kpi-card:hover { box-shadow: 0 1px 0 #fff inset, 0 2px 6px rgba(0, 0, 0, 0.06); }
.kpi-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-ink-light);
  margin-bottom: 0.32rem;
}
.kpi-value-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem; line-height: 1.1; }
.kpi-value {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
  font-variant-numeric: tabular-nums;
}
.kpi-value--teal { color: var(--brand-teal); }
.kpi-value--coral { color: var(--brand-coral); }
.kpi-subline { font-size: 0.6rem; color: var(--brand-ink-mid); width: 100%; }
.kpi-unit { font-size: 0.85rem; font-weight: 500; color: var(--brand-ink-mid); margin-left: 0.08em; }
.kpi-unit--pct { font-size: 0.8rem; }
.kpi-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.6rem;
  font-weight: 600;
  margin-left: 0.1rem;
  padding: 2px 7px 2px 5px;
  border-radius: 999px;
  vertical-align: middle;
}
.kpi-delta--up { background: rgb(var(--success-pale)); color: rgb(var(--success)); }
.kpi-delta--up.kpi-delta--invert { background: rgb(var(--success-pale)); color: rgb(var(--success)); }
.kpi-arr { flex-shrink: 0; }
.kpi-spark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 1.4rem;
  margin-top: 0.4rem;
}
.kpi-spark > span { flex: 1; min-height: 3px; border-radius: 1px; background: rgba(10, 123, 110, 0.22); opacity: 0.88; }
.kpi-spark--hi { background: var(--brand-teal) !important; opacity: 1 !important; }
.dash-inbox-listcol .dash-conv-scroller {
  width: 100%;
  min-width: 0;
  max-width: none;
  border: 0;
  flex: 1 1 auto;
  min-height: 0;
  background: var(--surface);
  overflow-y: auto;
  padding: 0.1rem 0;
}
.dash-conv-scroller { background: var(--surface); overflow-y: auto; padding: 0.1rem 0; }
.dash-conv-item { position: relative; text-align: left; }
.dash-conv-item + .dash-conv-item { border-top: 1px solid rgb(var(--dashboard-border) / 0.2); }
.dash-conv-bar {
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-teal);
  box-shadow: 0 0 0 0.5px rgba(10, 123, 110, 0.15);
}
.dash-conv-item--active { background: rgba(10, 123, 110, 0.04); }
.dash-conv-body { display: flex; gap: 0.4rem; align-items: flex-start; padding: 0.4rem 0.3rem 0.45rem 0.4rem; }
.dash-conv-item--active .dash-conv-body { padding-left: 0.5rem; }
/* .dash-sqav — legacy; inbox mock uses .dash-circav */
.dash-sqav {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  margin-top: 0.1rem;
  letter-spacing: -0.02em;
}
.dash-sqav--1 { background: linear-gradient(135deg, #0a7b6e, #12a090); }
.dash-sqav--2 { background: linear-gradient(135deg, #d96c4a, #f2a98a); }
.dash-sqav--3 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.dash-conv-main { min-width: 0; flex: 1; }
.dash-conv-row1 { display: flex; justify-content: space-between; align-items: baseline; gap: 0.25rem; }
.dash-conv-name { font-size: 0.52rem; font-weight: 600; color: var(--brand-ink); }
.dash-conv-time { font-size: 0.42rem; color: var(--brand-ink-light); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash-conv-preview { margin: 0.1rem 0 0.12rem; font-size: 0.46rem; color: var(--brand-ink-mid); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dash-status-pill {
  display: inline-block;
  font-size: 0.4rem;
  font-weight: 600;
  padding: 0.1rem 0.28rem;
  border-radius: 999px;
  line-height: 1.2;
}
.dash-status-pill--indigo { color: #4f46e5; background: rgba(99, 102, 241, 0.08); }
.dash-status-pill--coral { color: #c2410c; background: rgba(217, 108, 74, 0.1); }
.dash-status-pill--mute { color: var(--brand-ink-light); background: rgba(0, 0, 0, 0.04); }
.dash-chat-mock {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--brand-warm);
  border-left: 1px solid rgb(var(--dashboard-border) / 0.2);
}
.dash-ch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.45rem 0.5rem 0.4rem;
  border-bottom: 1px solid rgb(var(--dashboard-border) / 0.35);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}
.dash-ch-title { font-size: 0.55rem; font-weight: 600; color: var(--brand-ink); }
.dash-ch-sub { font-size: 0.42rem; color: var(--brand-ink-mid); margin-top: 0.08rem; }
.dash-ch-meta { font-size: 0.4rem; font-weight: 600; color: #4f46e5; background: rgba(99, 102, 241, 0.08); padding: 0.12rem 0.3rem; border-radius: 999px; }
.dash-ch-body { flex: 1; padding: 0.4rem 0.45rem 0.45rem; display: flex; flex-direction: column; gap: 0.3rem; min-height: 0; }
.dash-msg { font-size: 0.48rem; line-height: 1.35; max-width: 85%; padding: 0.28rem 0.4rem; border-radius: 0.45rem; }
.dash-msg--in { background: #fff; border: 1px solid rgb(var(--dashboard-border) / 0.35); color: var(--brand-ink); }
.dash-msg--out { align-self: flex-end; background: rgba(10, 123, 110, 0.12); color: var(--brand-ink); }
.dash-pg-tit { font-size: 0.85rem; font-weight: 600; color: var(--brand-ink); margin: 0 0 0.2rem; }
.dash-pg-sub { font-size: 0.6rem; color: var(--brand-ink-mid); margin: 0 0 0.5rem; line-height: 1.4; }
.dash-pg-sub--mt0 { margin-top: 0; }
.dash-agenda { list-style: none; margin: 0.35rem 0 0; padding: 0; }
.dash-agenda li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.6rem; padding: 0.4rem 0.45rem; border-radius: 0.5rem; border: 1px solid rgb(var(--dashboard-border) / 0.35); background: var(--surface); margin-bottom: 0.35rem; }
.dash-ag-t { color: var(--brand-teal); font-weight: 600; min-width: 2.1rem; font-variant-numeric: tabular-nums; }
.dash-ag-b { color: var(--brand-ink); }
.dash-ag-b--off { color: var(--brand-ink-mid); font-style: italic; }
.dash-ag-s { font-style: normal; color: var(--brand-ink-mid); font-size: 0.55rem; }
.dash-table-wrap { border-radius: 0.5rem; border: 1px solid rgb(var(--dashboard-border) / 0.35); background: var(--surface); overflow: hidden; }
.dash-data-table { width: 100%; border-collapse: collapse; font-size: 0.55rem; }
.dash-data-table th {
  text-align: left;
  font-weight: 600;
  color: var(--brand-ink-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.5rem;
  padding: 0.35rem 0.5rem;
  background: var(--z2);
  border-bottom: 1px solid rgb(var(--dashboard-border) / 0.35);
}
.dash-data-table td { padding: 0.35rem 0.5rem; border-bottom: 1px solid rgb(var(--dashboard-border) / 0.2); color: var(--brand-ink-mid); }
.dash-data-table tbody tr:last-child td { border-bottom: 0; }
.dash-t-name { color: var(--brand-ink); font-weight: 500; }
.dash-t-dim { color: var(--brand-ink-mid); }
.dash-metrics-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.75rem 1rem 0.65rem;
  border-bottom: 1px solid rgb(var(--dashboard-border) / 0.35);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dash-metrics-h1 { font-family: var(--display), var(--font); font-size: 0.95rem; font-weight: 600; color: var(--brand-ink); margin: 0; }
.dash-metrics-ctrl { font-size: 0.5rem; color: var(--brand-ink-mid); }
.dash-msel { border: 1px solid rgb(var(--dashboard-border) / 0.5); background: var(--surface); border-radius: 0.4rem; padding: 0.2rem 0.4rem; font-size: 0.55rem; font-weight: 500; }
.dash-metrics-body .dash-pg-sub { margin-top: 0.35rem; }
.dash-chart-card { margin: 0.6rem 0 0; padding: 0.5rem; border: 1px solid rgb(var(--dashboard-border) / 0.35); border-radius: 0.6rem; background: var(--surface); }
.dash-chart-legend { font-size: 0.5rem; color: var(--brand-ink-mid); margin-bottom: 0.3rem; }
.dash-metrics-bars { display: flex; align-items: flex-end; gap: 2px; height: 2.2rem; padding: 0.15rem 0; }
.dash-metrics-bar { flex: 1; min-height: 3px; border-radius: 1px; background: rgba(10, 123, 110, 0.2); }
.dash-metrics-bar--now { background: var(--brand-teal); }
.pgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; font-size: 0.6rem; }
.pgcell { background: #fff; border: 1px solid rgba(226, 232, 230, 0.8); border-radius: 8px; padding: 0.4rem; }
.pgcell strong { color: var(--brand-ink); display: block; font-size: 0.62rem; }
.table-mini { width: 100%; font-size: 0.55rem; }
.table-mini td { padding: 0.25rem 0.15rem; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
@media (max-width: 800px) {
  .dash-kpi-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .dash-app { flex-direction: column; }
  .dash-sidebar { width: 100%; border-right: 0; border-bottom: 1px solid rgb(var(--dashboard-border) / 0.3); }
  .dash-nav { flex-direction: row; overflow-x: auto; padding: 0.35rem; gap: 0.2rem; flex: 0; }
  .dash-tab { width: auto; white-space: nowrap; flex: 0 0 auto; }
  .dash-sidebar-foot { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .dash-user { flex: 1 1 50%; }
  .dash-inbox-shell { flex-direction: column; }
  .dash-inbox-listcol { width: 100% !important; min-width: 0 !important; max-width: none !important; border-right: 0; border-bottom: 1px solid rgb(var(--dashboard-border) / 0.3); }
  .dash-conv-scroller { max-height: 8rem; }
  .dash-main2 { max-height: none; }
  .dash-main2--inbox { max-height: none; }
  .dash-kpi-row { grid-template-columns: 1fr; }
}

/* —— Pricing */
.pgrid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; align-items: stretch; }
@media (min-width: 1000px) { .pgrid3 { grid-template-columns: repeat(4, 1fr); } }
.pcard3 {
  border: 1px solid #d8d8d2; border-radius: var(--radius-xl); background: #fff; padding: 1.6rem 1.45rem; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04) inset, 0 20px 50px -35px rgba(0,0,0,0.2);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
}
.pcard3:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(0,0,0,0.04) inset, 0 12px 40px -24px rgba(0,0,0,0.1); }
.pcard3.featured { border: 1.5px solid var(--brand-teal); background: linear-gradient(180deg, #f9fdfb, #f4faf8); position: relative; z-index: 1; }
@media (min-width: 900px) {
  .pgrid-3 .pcard3.featured { transform: scale(1.01); }
  .pgrid-3 .pcard3.featured:hover { transform: scale(1.01) translateY(-1px); }
}
.pcard3 h3 { margin: 0 0 0.2rem; font-size: 1.1rem; color: #0a0a0a; font-weight: 600; font-family: var(--font); letter-spacing: -0.02em; }
/* Price: main dollars large; cents smaller — never use <sup> for the dollars */
.pcard3 .amt {
  font-family: var(--font);
  font-size: 2.5rem;
  font-weight: 600;
  color: #0a0a0a;
  margin: 0.2rem 0 0.15rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.pcard3 .amt-cur { font-size: 0.5em; font-weight: 600; vertical-align: 0.28em; margin-right: 0.04em; opacity: 0.92; }
.pcard3 .amt-cents { font-size: 0.5em; font-weight: 600; vertical-align: 0.22em; letter-spacing: 0; }
.pcard3 .amt-unit { font-size: 0.38em; font-weight: 400; color: #737373; margin-left: 0.1em; letter-spacing: 0.01em; white-space: nowrap; vertical-align: 0.12em; }
.pcard3 .amt--custom {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-teal);
  margin: 0.35rem 0 0.2rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-variant-numeric: normal;
}
.pcard3 p.desc { color: #525252; font-size: 0.9rem; margin: 0 0 0.5rem; min-height: 2.4em; }
.pcard3 ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.pcard3 li { position: relative; font-size: 0.8rem; color: #3f3f3f; margin-bottom: 0.4rem; padding-left: 1.1em; }
.pcard3 li::before { content: "—"; position: absolute; left: 0; color: var(--brand-teal); font-size: 0.75em; }
.pcard3 .btn-row { margin-top: 1.2rem; }
.pcard3 a.btn-primary, .pcard3 a.btn-sec { width: 100%; justify-content: center; }
/* Precios: más compacto (precio, padding, listas) */
.pgrid-precios .pcard3 {
  padding: 1.15rem 1.05rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04) inset, 0 12px 36px -28px rgba(0, 0, 0, 0.18);
}
.pgrid-precios .pcard3 h3 { font-size: 0.98rem; margin: 0 0 0.05rem; }
.pgrid-precios .pcard3 .amt {
  font-size: 1.75rem;
  margin: 0.05rem 0 0;
  letter-spacing: -0.035em;
}
.pgrid-precios .pcard3 .amt--custom {
  font-size: 1.2rem;
  margin: 0.15rem 0 0.05rem;
  font-weight: 700;
}
.pgrid-precios .pcard3 p.desc {
  font-size: 0.8rem;
  line-height: 1.35;
  min-height: 0;
  margin: 0 0 0.4rem;
}
.pgrid-precios .pcard3 li {
  font-size: 0.72rem;
  line-height: 1.32;
  margin-bottom: 0.26rem;
  padding-left: 0.95em;
}
.pgrid-precios .pcard3 li.paddon { font-size: 0.68rem; }
.pgrid-precios .pcard3 .btn-row { margin-top: 0.75rem; }
.pgrid-precios .pcard3 .pfoot2 { margin-top: 0.4rem; font-size: 10px; }
/* Misma caja y una línea en los cuatro precios (evita CTA con altura doble) */
.pgrid-precios .pcard3 .btn-row a.btn-precio {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  height: 44px;
  padding: 0 0.9rem;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  line-height: 1.2;
}
.pgrid-precios .pcard3 .btn-row a.btn-sec.btn-precio {
  color: var(--brand-ink);
  border: 1px solid var(--brand-border);
  background: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.pgrid-precios .pcard3 .btn-row a.btn-sec.btn-precio:hover {
  background: var(--brand-teal-pale);
  border-color: var(--line2);
}
.pgrid-precios .pcard3 .btn-row a.btn-primary.btn-precio {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-teal), var(--brand-teal-dark));
  box-shadow: 0 1px 2px rgba(var(--brand-teal-rgb), 0.25);
  border: 0;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
.pgrid-precios .pcard3 .btn-row a.btn-primary.btn-precio:hover {
  background: var(--brand-teal-dark);
}
.pgrid-precios .pcard3 .btn-row a.btn-primary.btn-precio:active { transform: scale(0.99); }
.pop { position: absolute; top: 0; left: 50%; transform: translateX(-50%) translateY(-0.5px); background: linear-gradient(180deg, var(--brand-teal), var(--brand-teal-dark)); color: #fff; font-size: 8px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; padding: 4px 10px; border-radius: 0 0 8px 8px; box-shadow: 0 4px 16px -4px rgba(var(--brand-teal-rgb), 0.45); }
.pfoot { text-align: center; font-size: 11px; color: #a3a3a3; margin-top: 0.5rem; }
.ent { border: 1px dashed #a3a3a3; background: #f9f9f7; }
.tip { border-bottom: 1px dotted #a3a3a3; cursor: help; }

/* —— FAQ (light) */
.fq { max-width: 700px; margin: 0 auto; }
.fitem { border-bottom: 1px solid #e5e5e2; }
.fq-btn {
  display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; text-align: left; color: #111; font-size: 0.95rem; font-weight: 500;
  background: none; border: none; cursor: pointer; font-family: var(--font);
}
.fq-btn .ico { width: 18px; height: 18px; flex-shrink: 0; color: var(--brand-teal); transition: transform 0.25s; }
.fitem.open .fq-btn .ico { transform: rotate(45deg); }
.fq-a { display: none; padding: 0 0 1.1rem; color: #525252; font-size: 0.9rem; line-height: 1.6; }
.fq-a p { margin: 0; }
.fitem.open .fq-a { display: block; }

/* —— FAQ (page: compact cards, single column, scannable) */
.faq-sec .section-head { margin-bottom: 1.5rem; }
@media (min-width: 900px) {
  .faq-sec .section-head { margin-bottom: 2rem; }
}
.faq-list {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.faq-item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  overflow: hidden;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item.open {
  background: #fff;
  border-color: rgba(10, 123, 110, 0.25);
  box-shadow: 0 2px 20px rgba(10, 60, 55, 0.07);
}
.faq-q {
  display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 0.6rem;
  min-height: 2.6rem;
  padding: 0.5rem 0.8rem; text-align: left; color: #111; font-size: 0.9rem; font-weight: 500;
  line-height: 1.3;
  background: none; border: none; cursor: pointer; font-family: var(--font);
  margin: 0;
}
.faq-q:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: 2px; }
.faq-icon { flex-shrink: 0; }
.faq-icon svg {
  width: 18px; height: 18px; display: block;
  transition: transform 0.22s ease;
}
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0.8rem 0.7rem; }
.faq-a p { margin: 0; font-size: 0.86rem; line-height: 1.55; color: #4a4a4a; }
.faq-item.open .faq-a { display: block; }

/* —— CTA: brand dark band (single intentional dark section) */
.cta {
  position: relative; text-align: center; padding: 6rem var(--gutter) 6.5rem;
  background: var(--brand-dark);
  color: var(--tx-on-dark);
  overflow: hidden; border: none; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cta h2, .cta .h2, .cta p, .cta .lead, .cta .lead-apple, .cta .muted, .cta .vitary-word { color: var(--tx-on-dark); }
.cta p { color: rgba(247, 245, 241, 0.85); }
.cta .muted, .cta .kicker, .cta .cta-eyebrow { color: rgba(247, 245, 241, 0.65); }
.cta a:not(.btn-primary):not(.btn-sec) { color: var(--brand-coral-light); }
.cta a:not(.btn-primary):not(.btn-sec):hover { color: #fff; }
.cta-glow2 {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 120%, rgba(var(--brand-teal-rgb), 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(255, 255, 255, 0.03), transparent 50%);
  pointer-events: none;
}
.cta::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-teal-rgb), 0.2), transparent);
  opacity: 0.5;
  pointer-events: none;
}
.cta .inner2 { max-width: 38rem; margin: 0 auto; position: relative; z-index: 1; }
.cta h2 { margin: 0 0 0.5rem; }
.cform { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin: 1.35rem 0; max-width: 100%; }
.cin {
  min-width: 0; flex: 1; max-width: 300px; height: 48px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08); color: var(--tx-on-dark); padding: 0 1rem; font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s;
}
.cin:focus { outline: none; border-color: rgba(var(--brand-teal-2-rgb), 0.7); box-shadow: 0 0 0 3px rgba(var(--brand-teal-rgb), 0.2); }
.cin::placeholder { color: rgba(247, 245, 241, 0.45); }
.cta .btn-sec { border-color: rgba(255, 255, 255, 0.35); color: var(--tx-on-dark); }
.cta .btn-sec:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }
.cok { color: #34d399; font-size: 0.9rem; margin: 0; }
.cform.err .cin { border-color: #f87171; }

/* —— Footer */
.foot { padding: 4.5rem var(--gutter) 2.75rem; background: var(--z1); border-top: 1px solid var(--brand-border); color: var(--tx2); }
.footg { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(2,1fr) 1fr; gap: 2.5rem; font-size: 13px; }
@media (max-width: 800px) { .footg { grid-template-columns: 1fr 1fr; } }
.footg h4 { color: var(--brand-ink-light); text-transform: uppercase; font-size: 10px; letter-spacing: 0.1em; margin: 0 0 0.75rem; font-weight: 500; }
.footg a { color: var(--brand-ink-mid); display: block; margin-bottom: 0.4rem; transition: color 0.2s; }
.footg a:hover { color: var(--brand-teal); }
.footb { max-width: var(--max); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--brand-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 12px; color: var(--brand-ink-mid); }
.footb a { color: var(--brand-ink-mid); }
.footb a:hover { color: var(--brand-teal); }

/* —— Mobile: full-screen vertical list (row+wrap was scoped to ≥921; column+wrap+max-h multi-columned links) */
.nav-mid-h {
  display: none;
  margin: 0;
}
@media (max-width: 920px) {
  .nav-mid {
    position: fixed;
    z-index: 1;
    top: var(--nav-h);
    left: 0;
    right: 0;
    width: 100%;
    /* Do not set bottom + max-height: min(...) together — in WebKit the drawer can height-collapse to ~0, hiding all links. */
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    gap: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: max-height 0.3s var(--ease), opacity 0.2s ease, background-color 0.15s ease, visibility 0s linear 0.3s;
  }
  .nav.m-open .nav-mid {
    /* Single expression: one reliable “rest of screen” height */
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0;
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom, 0px));
    background: #fff;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: max-height 0.3s var(--ease), opacity 0.18s ease, background-color 0.12s ease, visibility 0s linear 0s;
  }
  .nav.m-open .nav-mid-h {
    display: block;
    flex: none;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-ink-light);
    margin: 0;
    padding: 1.25rem max(var(--gutter), env(safe-area-inset-left, 0px)) 0.5rem;
  }
  .nav.m-open .nav-mid a {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    min-height: 3.15rem;
    padding: 0.85rem max(var(--gutter), env(safe-area-inset-left, 0px)) 0.85rem
      max(var(--gutter), env(safe-area-inset-right, 0px));
    box-sizing: border-box;
    border-radius: 0;
    font-size: 1.11rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--brand-ink);
    background: #fff;
    border: 0;
    border-bottom: 0.5px solid rgba(26, 36, 33, 0.09);
    -webkit-tap-highlight-color: transparent;
    transition: background 0.12s ease, color 0.12s ease;
  }
  .nav.m-open .nav-mid a:first-of-type {
    border-top: 0.5px solid rgba(26, 36, 33, 0.08);
  }
  .nav.m-open .nav-mid a:hover,
  .nav.m-open .nav-mid a:focus-visible {
    color: var(--brand-ink);
    background: #faf9f6;
    outline: none;
  }
  .nav.m-open .nav-mid a[href^="#"]::after {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 0.38rem;
    height: 0.38rem;
    border-right: 1.5px solid rgba(26, 36, 33, 0.22);
    border-bottom: 1.5px solid rgba(26, 36, 33, 0.22);
    transform: rotate(-45deg);
  }
  .nav.m-open .nav-mid a[href^="http"]::after {
    content: "↗";
    display: block;
    width: auto;
    height: auto;
    border: none;
    transform: none;
    color: var(--brand-ink-light);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1;
  }
  .hamburger {
    display: flex;
    position: relative;
    z-index: 2;
  }
  .nav-rt { position: relative; z-index: 2; }
  .nav-home { position: relative; z-index: 2; gap: 0.3rem; }
  .nav { padding-left: max(14px, 3vw); padding-right: max(14px, 3vw); }
  .nav-mono { width: 24px; height: 24px; }
  .nav-home .vitary-word { font-size: 1.05rem; }
  .nav-rt .btn-primary { font-size: 12px; padding: 0 0.9rem; min-height: 36px; }
  .nav-rt .btn-ghost { min-height: 36px; padding: 0 0.55rem; }
}

.hidden-xl { }
@media (min-width: 921px) { .hamburger { display: none !important; } }
@media (max-width: 920px) {
  .nav-rt { gap: 6px; }
  .btn-ghost .lbl { display: none; }
}

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

/* —— Motion safety */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-mid { transition: none !important; }
  .reveal, .hstat, .fstep, .icard, .hcard, .pcard3 { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .fstep:hover, .hstat:hover, .icard:hover, .hcard:hover, .pcard3:hover { transform: none !important; }
  .hero-aurora { animation: none !important; transform: none !important; will-change: auto !important; }
  .hero-aurora--slow { display: none !important; }
  .hero-lens { animation: none !important; transform: none !important; opacity: 0.4 !important; will-change: auto !important; }
  .hero-blob-1,
  .hero-blob-2 { animation: none !important; will-change: auto !important; }
  .hero-bloom { animation: none !important; }
  .hero-grid-fine { animation: none !important; will-change: auto !important; }
  .hero-grain { animation: none !important; opacity: 0.02 !important; will-change: auto !important; }
  .scroll-cue-line { animation: none !important; }
  .hero-mark img { filter: none !important; }
  .hero-mark--stage .hero-mark__img { filter: none !important; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset !important; }
  .hero-mono-dot { animation: none !important; transform: none !important; opacity: 0.45 !important; }
  .hero-inner .reveal { transform: none !important; transition: none !important; }
  .hero-inner .reveal.visible { transform: none !important; }
  .hero-film,
  .hero-film__shine,
  .hero-film__scene--wa,
  .hero-film__scene--cal,
  .hero-film__scene--sync,
  .hero-film__bubble--p,
  .hero-film__bubble--v,
  .hero-film__bubble--late,
  .hero-film__seq-1,
  .hero-film__seq-2,
  .hero-film__seq-3,
  .hero-film__seq-4,
  .hero-film__seq-typing,
  .hero-film__apt,
  .hero-film--v5 .hero-film__doti,
  .hero-film__sync-badges .hero-film__badge--live,
  .hero-film--v5 .hero-film__chap--bar { animation: none !important; }
  .hero-film__typing span { animation: none !important; }
  .hero-film:not(.hero-film--v5) .hero-film__scene--wa { opacity: 1 !important; }
  .hero-film:not(.hero-film--v5) .hero-film__scene--cal,
  .hero-film:not(.hero-film--v5) .hero-film__scene--sync { opacity: 0 !important; visibility: hidden; }
  .hero-film--v5 .hero-film__scene--wa,
  .hero-film--v5 .hero-film__scene--cal { opacity: 0 !important; visibility: hidden !important; }
  .hero-film--v5 .hero-film__scene--sync { opacity: 1 !important; visibility: visible !important; }
  .hero-film--v5 .hero-film__bubble--p,
  .hero-film--v5 .hero-film__bubble--v,
  .hero-film--v5 .hero-film__seq-typing { opacity: 1 !important; transform: none !important; }
  .hero-film--v5 .hero-film__apt--v5 { animation: none !important; box-shadow: 0 0 0 1px rgba(10, 123, 110, 0.22), 0 2px 10px rgba(10, 123, 110, 0.1) !important; }
  .hero-film--v5 .hero-film__doti--1,
  .hero-film--v5 .hero-film__doti--2 { background: #d0d5d1 !important; box-shadow: none !important; transform: none !important; }
  .hero-film--v5 .hero-film__doti--3 { background: var(--brand-teal) !important; box-shadow: 0 0 0 1px rgba(10, 123, 110, 0.22) !important; }
  .hero-film--v5 .hero-film__sync-line { animation: none !important; }
  .hero-film--v5 .hero-film__chap--bar.hero-film__chap--1,
  .hero-film--v5 .hero-film__chap--bar.hero-film__chap--2 { opacity: 0 !important; visibility: hidden !important; }
  .hero-film--v5 .hero-film__chap--bar.hero-film__chap--3 { opacity: 1 !important; visibility: visible !important; }
}
