/* Virtual Dent · v3 "Cálido y cercano"
   Tokens follow the landing-page-design skill: Tailwind type scale, fixed spacing scale,
   Tailwind radii, one accent (brand blue), one cool gray family, flat surfaces. */

:root {
  /* Color: cool blue tinted neutrals + one accent */
  --bg: #F4F7FB;
  --surface: #FFFFFF;
  --tint: #EAF1F8;
  --tint-2: #DDE8F4;
  --line: #D3DEEA;
  --ink: #0F1B2B;
  --ink-2: #435267;
  --ink-3: #6A7A8F;
  --accent: #1C75BC;
  --accent-hover: #16609B;
  --accent-soft: #E0ECF8;
  --on-accent: #FFFFFF;
  --shadow: 0 24px 48px -24px rgba(22, 64, 110, 0.28);
  --shadow-sm: 0 8px 24px -12px rgba(22, 64, 110, 0.22);

  /* Spacing scale */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* Radius (Tailwind) */
  --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --dur: 700ms;
  --dur-reveal: 1000ms;

  /* Z scale */
  --z-base: 1; --z-raised: 10; --z-menu: 40; --z-nav: 50; --z-skip: 60;

  --container: 1200px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* subtle grain to break digital flatness */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-nav);
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p, li, dd, dt { text-wrap: pretty; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--r-lg); }

.container { width: 100%; max-width: calc(var(--container) + var(--s-300) * 2); margin-inline: auto; padding-inline: var(--s-300); }

.skip {
  position: fixed; top: var(--s-200); left: var(--s-200); z-index: var(--z-skip);
  padding: var(--s-75) var(--s-100); background: var(--accent); color: var(--on-accent);
  border-radius: var(--r-full); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600;
  transform: translateY(-200%); transition: transform 300ms var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  background: var(--accent); color: var(--on-accent);
  font-size: 1rem; line-height: 1.5rem; font-weight: 600;
  border: 0; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: background-color 300ms var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn i { font-size: 1.25rem; }
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: scale(0.98); }
.btn--sm { font-size: 0.875rem; line-height: 1.25rem; }
.btn--sm i { font-size: 1rem; }
.btn--lg { padding-inline: var(--s-300); padding-block: var(--s-100); }
.btn--block { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: var(--s-50);
  color: var(--accent); font-weight: 600;
  border-radius: var(--r-md);
  transition: gap 300ms var(--ease), color 300ms var(--ease);
}
.link:hover { gap: var(--s-75); color: var(--accent-hover); }
.link:active { transform: translateY(1px); }

/* ---------- Island nav ---------- */
.nav-wrap {
  position: fixed; top: var(--s-300); left: 0; right: 0; z-index: var(--z-nav);
  display: flex; justify-content: center; pointer-events: none;
  padding-inline: var(--s-200);
}
.nav {
  pointer-events: auto;
  width: max-content; max-width: 100%;
  display: flex; align-items: center; gap: var(--s-300);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-300);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 32px -16px rgba(22, 64, 110, 0.35);
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__logo img { height: 32px; width: auto; }
.nav__links { display: flex; gap: var(--s-50); }
.nav__links a {
  display: block; padding: var(--s-75) var(--s-100); border-radius: var(--r-full);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink-2);
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.nav__links a:hover { background: var(--tint); color: var(--ink); }
.nav__links a.is-current { background: var(--accent-soft); color: var(--accent); }

.burger {
  display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: var(--r-full);
  background: var(--tint); cursor: pointer; transition: background-color 300ms var(--ease), transform 300ms var(--ease);
}
.burger:hover { background: var(--tint-2); }
.burger:active { transform: scale(0.98); }
.burger span {
  position: absolute; left: 11px; top: 19px; width: 18px; height: 2px; border-radius: var(--r-full);
  background: var(--ink); transition: transform var(--dur) var(--ease);
}
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.menu-open .burger span:first-child { transform: translateY(0) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(0) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(64px); backdrop-filter: blur(64px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity var(--dur) var(--ease); }
.menu ul { display: grid; gap: var(--s-200); text-align: center; overflow: hidden; padding: var(--s-200); }
.menu li { transform: translateY(48px); opacity: 0; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.menu-open .menu li { transform: none; opacity: 1; }
.menu-open .menu li:nth-child(1) { transition-delay: 100ms; }
.menu-open .menu li:nth-child(2) { transition-delay: 150ms; }
.menu-open .menu li:nth-child(3) { transition-delay: 200ms; }
.menu-open .menu li:nth-child(4) { transition-delay: 250ms; }
.menu-open .menu li:nth-child(5) { transition-delay: 300ms; }
.menu-open .menu li:nth-child(6) { transition-delay: 350ms; }
.menu-open .menu li:nth-child(7) { transition-delay: 400ms; }
.menu a:not(.btn) { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.02em; }
.menu a.is-current { color: var(--accent); }
.menu .btn { margin-top: var(--s-300); }

/* ---------- Shared text ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-75);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent); margin-bottom: var(--s-200);
}
h2 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -0.01em; }
.section__lead { font-size: 1.125rem; line-height: 1.75rem; color: var(--ink-2); max-width: 36rem; }
.section__lead strong { color: var(--ink); }

.section { padding-top: var(--s-800); padding-bottom: var(--s-900); }
.section--tint { background: var(--tint); }
.section__head { margin-bottom: var(--s-600); max-width: 680px; }
.section__head h2 + .section__lead { margin-top: var(--s-200); }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-400); }
.section__head--split .section__lead { max-width: 24rem; }

.icon-bubble {
  display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: var(--r-2xl); background: var(--accent-soft); color: var(--accent); font-size: 1.5rem;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), transform var(--dur) var(--ease);
}
.icon-bubble--light { background: rgba(255, 255, 255, 0.18); color: var(--on-accent); }

.checks { display: grid; gap: var(--s-100); margin-top: var(--s-300); }
.checks li { display: flex; gap: var(--s-75); align-items: flex-start; color: var(--ink-2); }
.checks i { color: var(--accent); font-size: 1.25rem; margin-top: var(--s-25); }

/* ---------- Status pill ---------- */
.status-pill {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-50) var(--s-100) var(--s-50) var(--s-75);
  border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink-2);
}
.status-pill__dot { position: relative; width: 8px; height: 8px; border-radius: var(--r-full); background: var(--ink-3); }
.status-pill.is-open { color: var(--ink); }
.status-pill.is-open .status-pill__dot { background: var(--accent); }
.status-pill.is-open .status-pill__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent);
  animation: ping 2000ms var(--ease) infinite;
}
.status-pill strong { color: var(--accent); }
.status-pill--sm { font-size: 0.75rem; line-height: 1rem; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.6; } 80%, 100% { transform: scale(3); opacity: 0; } }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--s-900) + var(--s-700)); padding-bottom: var(--s-800); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-700); align-items: center; }
.hero__copy { max-width: 680px; }
.hero__title {
  margin-top: var(--s-300);
  font-size: 3.75rem; line-height: 1; letter-spacing: -0.03em; font-weight: 600;
  padding-bottom: var(--s-75);
  background: linear-gradient(90deg, #000000, #666666);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin-top: var(--s-300); font-size: 1.125rem; line-height: 1.75rem; color: var(--ink-2); max-width: 34rem; }
.hero__actions { margin-top: var(--s-400); display: flex; flex-wrap: wrap; gap: var(--s-200); align-items: center; }
.hero__proof { margin-top: var(--s-400); display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-300); color: var(--ink-2); font-size: 0.875rem; line-height: 1.25rem; }
.hero__proof li { display: flex; align-items: center; gap: var(--s-75); }
.hero__proof i { color: var(--accent); font-size: 1rem; }
.hero__proof strong { color: var(--ink); }

/* Collage: three real photos that float in and overlap */
.collage { position: relative; width: 100%; aspect-ratio: 100 / 104; }
.collage__img {
  position: absolute; overflow: hidden; border-radius: var(--r-3xl);
  background: var(--tint-2);
  box-shadow: 0 0 0 8px var(--bg), var(--shadow);
  transform: rotate(var(--rot, 0deg));
}
.collage__img img { width: 100%; height: 100%; object-fit: cover; }
.collage__img--a { top: 0; right: 0; width: 76%; aspect-ratio: 4 / 3; --rot: 2deg; }
.collage__img--a img { object-position: 30% 40%; }
.collage__img--b { left: 0; top: 30%; width: 40%; aspect-ratio: 3 / 5; --rot: -3deg; z-index: var(--z-base); }
.collage__img--b img { object-position: 45% 50%; }
.collage__img--c { right: 2%; bottom: 0; width: 56%; aspect-ratio: 16 / 10; --rot: 1.5deg; }
.collage__img--c img { object-position: 20% 30%; }
.collage__chip {
  position: absolute; left: 30%; top: 59%; z-index: var(--z-raised);
  display: flex; align-items: center; gap: var(--s-100);
  padding: var(--s-100) var(--s-200) var(--s-100) var(--s-100);
  background: var(--surface); border-radius: var(--r-2xl); box-shadow: var(--shadow);
  font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2);
}
.collage__chip strong { color: var(--ink); }
.collage__chip-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-xl); background: var(--accent); color: var(--on-accent); font-size: 1.25rem; }

/* entrance */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(64px) rotate(0deg) scale(0.94); filter: blur(12px); }
  to { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)) scale(1); filter: blur(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); filter: blur(12px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
[data-i="0"] { --i: 0; } [data-i="1"] { --i: 1; } [data-i="2"] { --i: 2; } [data-i="3"] { --i: 3; } [data-i="4"] { --i: 4; }
.js .collage__img, .js .collage__chip { animation: floatIn 1400ms var(--ease) both; animation-delay: calc(300ms + var(--i, 0) * 180ms); }
.js .collage__chip { --rot: 0deg; }
.js [data-hero-in] { animation: fadeUp 1100ms var(--ease) both; animation-delay: calc(80ms + var(--i, 0) * 110ms); }

/* ---------- Logos marquee ---------- */
.logos { padding-bottom: var(--s-700); }
.logos__title { text-align: center; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink-3); margin-bottom: var(--s-300); }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 40s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: var(--s-200); padding-right: var(--s-200); }
.marquee__group li {
  flex: none; width: 192px; height: 96px; display: grid; place-items: center;
  background: var(--surface); border-radius: var(--r-2xl); padding: var(--s-300);
}
.marquee__group img { max-width: 128px; max-height: 40px; width: auto; height: auto; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pillars bento ---------- */
.bento-pillars {
  display: grid; gap: var(--s-200);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas: "photo stat wide1 wide1" "photo wide2 wide2 plan";
}
.pillar {
  display: flex; flex-direction: column; gap: var(--s-200);
  padding: var(--s-400); border-radius: var(--r-3xl); background: var(--surface);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar p { color: var(--ink-2); }
.pillar h3 { margin-top: auto; }
.pillar--photo { grid-area: photo; padding: 0; overflow: hidden; min-height: 480px; position: relative; }
.pillar--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.pillar--stat { grid-area: stat; }
.pillar--tint { grid-area: wide1; background: var(--tint-2); }
.pillar--accent { grid-area: wide2; background: var(--accent); color: var(--on-accent); }
.pillar--accent p { color: rgba(255, 255, 255, 0.86); }
.pillar--accent .icon-bubble { background: rgba(255, 255, 255, 0.18); color: var(--on-accent); }
.bento-pillars > .pillar:last-child { grid-area: plan; }
.pillar__num { display: flex; align-items: baseline; font-size: 3.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); margin-top: auto; font-variant-numeric: tabular-nums; }
.pillar--stat h3 { margin-top: 0; }

/* ---------- Tagline ---------- */
.tagline { padding-top: var(--s-900); padding-bottom: var(--s-900); }
.tagline__text {
  max-width: 680px; margin-inline: auto;
  font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance;
}
.tagline__text .w { color: rgba(15, 27, 43, 0.28); transition: color var(--dur) var(--ease); }
.tagline__text .w.is-on { color: var(--ink); }
.tagline__text .w.is-key.is-on { color: var(--accent); }

/* ---------- Treatments bento ---------- */
.bento-trat { display: grid; gap: var(--s-200); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trat {
  position: relative; display: flex; flex-direction: column; gap: var(--s-100);
  padding: var(--s-300); border-radius: var(--r-3xl); background: var(--surface);
  min-height: 240px; overflow: hidden; isolation: isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color 300ms var(--ease);
}
.trat .icon-bubble { margin-bottom: var(--s-200); }
.trat__title { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; letter-spacing: -0.01em; }
.trat__desc { font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); text-wrap: pretty; }
.trat__cta {
  margin-top: auto; padding-top: var(--s-200);
  display: inline-flex; align-items: center; gap: var(--s-50);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--accent);
  transition: gap 300ms var(--ease);
}
.trat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trat:hover .icon-bubble { background: var(--accent); color: var(--on-accent); transform: rotate(-6deg) scale(1.04); }
.trat:hover .trat__cta { gap: var(--s-75); }
.trat:active { transform: scale(0.98); }
.trat:focus-visible { border-radius: var(--r-3xl); }

.trat--hero { grid-column: span 2; grid-row: span 2; justify-content: flex-end; color: var(--on-accent); padding: var(--s-400); min-height: 496px; }
.trat__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1200ms var(--ease); }
.trat--hero::before { content: ""; position: absolute; inset: 0; background: rgba(12, 32, 56, 0.58); z-index: -1; }
.trat--hero:hover .trat__bg { transform: scale(1.04); }
.trat--hero .trat__body { display: flex; flex-direction: column; gap: var(--s-100); max-width: 26rem; }
.trat--hero .trat__title { font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -0.02em; }
.trat--hero .trat__desc { font-size: 1rem; line-height: 1.5rem; color: rgba(255, 255, 255, 0.88); }
.trat--hero .trat__cta { color: var(--on-accent); }
.trat--hero:hover .icon-bubble { background: var(--surface); color: var(--accent); }

.trat--kids { grid-column: span 2; flex-direction: row; gap: var(--s-300); padding: var(--s-75); background: var(--tint-2); }
.trat__photo { flex: 0 0 44%; border-radius: var(--r-2xl); overflow: hidden; }
.trat__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 25% 40%; transition: transform 1200ms var(--ease); }
.trat--kids:hover .trat__photo img { transform: scale(1.05); }
.trat--kids .trat__body { display: flex; flex-direction: column; gap: var(--s-100); padding: var(--s-200) var(--s-200) var(--s-200) 0; }

.trat--help { background: var(--accent); color: var(--on-accent); }
.trat--help .trat__desc { color: rgba(255, 255, 255, 0.86); }
.trat--help .trat__cta { color: var(--on-accent); }
.trat--help:hover { background: var(--accent-hover); }
.trat--help:hover .icon-bubble { background: var(--surface); color: var(--accent); }

/* ---------- Before / after ---------- */
.casos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-700); align-items: center; }
.casos__copy h2 + .section__lead { margin-top: var(--s-200); }
.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 654 / 578; width: 100%; max-width: 520px; justify-self: end; border-radius: var(--r-3xl); overflow: hidden;
  background: var(--tint-2); box-shadow: var(--shadow); user-select: none; touch-action: pan-y;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__tag {
  position: absolute; top: var(--s-200); padding: var(--s-50) var(--s-100); border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.75rem; line-height: 1rem; font-weight: 600; pointer-events: none;
}
.compare__tag--l { left: var(--s-200); }
.compare__tag--r { right: var(--s-200); color: var(--accent); }
.compare__handle { position: absolute; inset: 0; pointer-events: none; transform: translateX(calc(var(--pos) - 50%)); }
.compare__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--surface); }
.compare__handle span {
  position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  display: grid; place-items: center; border-radius: var(--r-full);
  background: var(--surface); color: var(--accent); font-size: 1.25rem; box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease);
}
.compare.is-dragging .compare__handle span { transform: scale(1.1); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:has(.compare__range:focus-visible) .compare__handle span { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Steps: sticky stacking cards ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-700); align-items: start; }
.steps__head { position: sticky; top: calc(var(--s-900) + var(--s-400)); }
.steps__head h2 + .section__lead { margin-top: var(--s-200); }
.steps__head .btn { margin-top: var(--s-400); }
.stack { display: grid; gap: var(--s-400); }
[data-n="0"] { --n: 0; } [data-n="1"] { --n: 1; } [data-n="2"] { --n: 2; } [data-n="3"] { --n: 3; }
.stack__card {
  position: sticky; top: calc(var(--s-900) + var(--s-400) + var(--n) * var(--s-200));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-75);
  height: 360px; grid-template-rows: minmax(0, 1fr); padding: var(--s-75); border-radius: var(--r-3xl);
  background: var(--surface); box-shadow: 0 -8px 32px -16px rgba(22, 64, 110, 0.22);
  transform-origin: 50% 0;
  will-change: transform;
}
.stack__text { padding: var(--s-300); display: flex; flex-direction: column; gap: var(--s-100); }
.stack__text p { color: var(--ink-2); }
.stack__num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: auto;
  border-radius: var(--r-2xl); background: var(--accent-soft); color: var(--accent);
  font-weight: 600; font-variant-numeric: tabular-nums;
}
.stack__text h3 { margin-top: var(--s-400); font-size: 1.5rem; line-height: 2rem; }
.stack__card img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-2xl); min-height: 0; }
.stack__card:nth-child(2) img { object-position: 50% 40%; }
.stack__card:nth-child(4) img { object-position: 50% 35%; }

/* ---------- Testimonials ---------- */
.quote { position: relative; padding: var(--s-700); border-radius: var(--r-3xl); background: var(--surface); }
.quote__mark { position: absolute; top: var(--s-400); right: var(--s-500); font-size: 6rem; line-height: 1; color: var(--accent-soft); }
.quote__stage { display: grid; max-width: 56rem; position: relative; }
.quote__item {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); filter: blur(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), filter var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.quote__item.is-active { opacity: 1; visibility: visible; transform: none; filter: blur(0); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), filter var(--dur) var(--ease); }
.quote__item p { font-size: 1.875rem; line-height: 2.25rem; font-weight: 500; letter-spacing: -0.02em; text-wrap: pretty; }
.quote__item footer { margin-top: var(--s-300); font-weight: 600; color: var(--accent); }
.quote__people { margin-top: var(--s-600); display: flex; flex-wrap: wrap; gap: var(--s-75); }
.quote__people button {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-50) var(--s-200) var(--s-50) var(--s-50);
  border: 1px solid var(--line); border-radius: var(--r-full); background: var(--surface);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink-2); cursor: pointer;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease);
}
.quote__people button:hover { background: var(--tint); color: var(--ink); }
.quote__people button:active { transform: scale(0.98); }
.quote__people button.is-active { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent); }
.avatar {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-xl);
  background: var(--tint-2); color: var(--ink); font-size: 0.75rem; line-height: 1rem; font-weight: 600;
}
.is-active .avatar { background: var(--accent); color: var(--on-accent); }
.quote__people .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.quote.is-playing .is-active .bar { animation: progress var(--quote-dur, 7000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Sedes ---------- */
.sedes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-200); }
.sede { display: flex; flex-direction: column; gap: var(--s-200); padding: var(--s-400); border-radius: var(--r-3xl); background: var(--surface); }
.sede__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-200); flex-wrap: wrap; }
.sede h3 { font-size: 1.5rem; line-height: 2rem; display: flex; align-items: center; gap: var(--s-75); }
.sede h3 i { color: var(--accent); }
.sede__line { display: flex; gap: var(--s-100); color: var(--ink-2); }
.sede__line i { color: var(--accent); font-size: 1.25rem; margin-top: var(--s-25); flex: none; }
.sede__line a { color: var(--ink); font-weight: 500; border-radius: var(--r-md); transition: color 300ms var(--ease); }
.sede__line a:hover { color: var(--accent); }
.sede__actions { margin-top: auto; padding-top: var(--s-200); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-300); }
.hours { display: grid; gap: var(--s-50); }
.hours div {
  display: flex; justify-content: space-between; gap: var(--s-200); flex-wrap: wrap;
  padding: var(--s-100) var(--s-200); border-radius: var(--r-xl);
  transition: background-color 300ms var(--ease);
}
.hours dt { color: var(--ink-2); }
.hours dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.hours .is-today { background: var(--accent-soft); }
.hours .is-today dt { color: var(--accent); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-75); }
.chips li {
  padding: var(--s-75) var(--s-200); border-radius: var(--r-full); background: var(--tint);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
}

/* ---------- FAQ side by side ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-400); align-items: start; }
.faq__list { display: grid; gap: var(--s-50); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-200);
  padding: var(--s-200) var(--s-300); border: 0; border-radius: var(--r-2xl); background: transparent;
  text-align: left; font-weight: 500; color: var(--ink-2); cursor: pointer;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 300ms var(--ease);
}
.faq__q i { flex: none; color: var(--accent); opacity: 0; transform: translateX(-8px); transition: opacity 300ms var(--ease), transform var(--dur) var(--ease); }
.faq__q:hover { background: var(--tint); color: var(--ink); }
.faq__q:active { transform: scale(0.98); }
.is-active > .faq__q { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }
.is-active > .faq__q i { opacity: 1; transform: none; }
.faq__a { display: none; }
.faq__panel {
  position: sticky; top: calc(var(--s-900) + var(--s-400));
  display: flex; flex-direction: column; gap: var(--s-300);
  padding: var(--s-500); border-radius: var(--r-3xl); background: var(--tint);
  min-height: 360px;
}
.faq__panel-q { font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.faq__panel-a { font-size: 1.125rem; line-height: 1.75rem; color: var(--ink-2); }
.faq__panel .link { margin-top: auto; }
.faq__panel.is-swapping .faq__panel-q, .faq__panel.is-swapping .faq__panel-a { opacity: 0; transform: translateY(8px); filter: blur(4px); }
.faq__panel-q, .faq__panel-a { transition: opacity 400ms var(--ease), transform 400ms var(--ease), filter 400ms var(--ease); }

/* ---------- Final CTA + composer ---------- */
.cta { padding-top: 0; }
.cta__box {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-700); align-items: center;
  padding: var(--s-700); border-radius: var(--r-3xl); background: var(--tint-2);
}
.cta__copy h2 + .section__lead { margin-top: var(--s-200); }
.form { display: grid; gap: var(--s-300); padding: var(--s-400); border-radius: var(--r-2xl); background: var(--surface); box-shadow: var(--shadow); }
.field { display: grid; gap: var(--s-75); border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; padding: 0; }
.field legend { margin-bottom: var(--s-75); }
.field input[type="text"], .select select {
  width: 100%; padding: var(--s-100) var(--s-200); border-radius: var(--r-xl);
  border: 1px solid var(--line); background: var(--bg); font-size: 1rem; line-height: 1.5rem;
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.field input[type="text"]::placeholder { color: var(--ink-3); }
.field input[type="text"]:hover, .select select:hover { border-color: var(--ink-3); }
.field input[type="text"]:focus, .select select:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: #B4232C; }
.field__error { font-size: 0.875rem; line-height: 1.25rem; color: #B4232C; min-height: 0; }
.field__error:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; padding-right: var(--s-600); cursor: pointer; }
.select i { position: absolute; right: var(--s-200); top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-3); }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-50); padding: var(--s-50); border-radius: var(--r-xl); background: var(--tint); }
.seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: block; text-align: center; padding: var(--s-75) var(--s-100); border-radius: var(--r-lg);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink-2);
  transition: background-color 300ms var(--ease), color 300ms var(--ease), box-shadow 300ms var(--ease), transform 300ms var(--ease);
}
.seg label:hover span { color: var(--ink); }
.seg label:active span { transform: scale(0.98); }
.seg input:checked + span { background: var(--surface); color: var(--accent); font-weight: 600; box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.preview { padding: var(--s-200); border-radius: var(--r-xl); background: var(--accent-soft); }
.preview__label { display: inline-flex; align-items: center; gap: var(--s-50); font-size: 0.75rem; line-height: 1rem; font-weight: 600; color: var(--accent); }
.preview__text { margin-top: var(--s-50); font-size: 0.875rem; line-height: 1.25rem; color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--tint); padding-top: var(--s-700); padding-bottom: var(--s-500); font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--s-400); }
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { margin-top: var(--s-200); max-width: 20rem; }
.footer__grid > div > p + p { margin-top: var(--s-75); }
.footer__h { font-weight: 600; color: var(--ink); }
.footer a { border-radius: var(--r-md); transition: color 300ms var(--ease); }
.footer a:hover { color: var(--accent); }
.social { display: flex; gap: var(--s-75); margin-top: var(--s-300); }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-xl);
  background: var(--surface); color: var(--ink); font-size: 1.25rem;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 300ms var(--ease);
}
.social a:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.social a:active { transform: scale(0.98); }
.footer__bottom { margin-top: var(--s-600); padding-top: var(--s-300); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-100); }

/* ---------- Scroll reveals ---------- */
[data-d="1"] { --d: 1; } [data-d="2"] { --d: 2; } [data-d="3"] { --d: 3; }
.js [data-reveal] {
  opacity: 0; transform: translateY(64px); filter: blur(12px);
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease), filter var(--dur-reveal) var(--ease);
  transition-delay: calc(var(--d, 0) * 120ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }
/* once revealed, hover transforms run on the normal curve without the stagger delay */
.js .trat.is-in, .js .pillar.is-in { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color 300ms var(--ease), opacity var(--dur-reveal) var(--ease), filter var(--dur-reveal) var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .burger { display: inline-block; }
  .nav { gap: var(--s-200); }
}
@media (max-width: 1100px) {
  .hero__title { font-size: 3rem; }
  .bento-trat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trat--hero { min-height: 400px; grid-row: auto; }
  .bento-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "photo stat" "photo plan" "wide1 wide1" "wide2 wide2"; }
  .pillar--photo { min-height: 400px; }
}
@media (max-width: 960px) {
  .hero { padding-top: calc(var(--s-900) + var(--s-500)); }
  .hero__grid, .casos, .steps, .faq, .cta__box { grid-template-columns: minmax(0, 1fr); }
  .compare { justify-self: center; }
  .hero__grid { gap: var(--s-600); }
  .collage { max-width: 560px; margin-inline: auto; }
  .steps__head { position: static; }
  .cta__box { padding: var(--s-500); gap: var(--s-500); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .faq__panel { display: none; }
  .faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease); }
  .faq__a p { overflow: hidden; padding-inline: var(--s-300); color: var(--ink-2); }
  .faq__item.is-active .faq__a { grid-template-rows: 1fr; }
  .faq__item.is-active .faq__a p { padding-top: var(--s-200); padding-bottom: var(--s-200); }
  .faq__q i { opacity: 1; transform: rotate(90deg); }
  .is-active > .faq__q i { transform: rotate(-90deg); }
}
@media (max-width: 640px) {
  .container { padding-inline: var(--s-200); }
  .nav-wrap { top: var(--s-200); }
  .nav { width: 100%; justify-content: space-between; padding-left: var(--s-200); }
  .nav .btn--sm span { display: none; }
  .nav .btn--sm { padding: var(--s-100); }
  .hero__title { font-size: 2.25rem; line-height: 2.5rem; }
  .hero__sub { font-size: 1rem; line-height: 1.5rem; }
  .hero__actions .btn { width: 100%; }
  .collage__chip { left: auto; right: 0; top: 56%; font-size: 0.75rem; line-height: 1rem; }
  h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .section { padding-top: var(--s-700); padding-bottom: var(--s-800); }
  .section__head { margin-bottom: var(--s-500); }
  .bento-pillars { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "stat" "wide1" "wide2" "plan"; }
  .pillar { padding: var(--s-300); }
  .pillar--photo { min-height: 0; aspect-ratio: 4 / 3; }
  .bento-trat { grid-template-columns: minmax(0, 1fr); }
  .trat, .trat--hero, .trat--kids { grid-column: auto; min-height: 0; }
  .trat--hero { min-height: 400px; padding: var(--s-300); }
  .trat--kids { flex-direction: column; }
  .trat__photo { aspect-ratio: 16 / 10; flex: none; }
  .trat--kids .trat__body { padding: 0 var(--s-200) var(--s-200); }
  .stack__card { grid-template-columns: minmax(0, 1fr); height: auto; grid-template-rows: auto; top: calc(var(--s-900) + var(--n) * var(--s-200)); }
  .stack__card img { aspect-ratio: 16 / 10; height: auto; order: -1; }
  .stack__text { padding: var(--s-200); }
  .stack__text h3 { margin-top: var(--s-200); font-size: 1.25rem; line-height: 1.75rem; }
  .stack__num { width: 40px; height: 40px; border-radius: var(--r-xl); margin-bottom: 0; }
  .quote { padding: var(--s-300); }
  .quote__mark { font-size: 3.75rem; top: var(--s-200); right: var(--s-200); }
  .quote__item p { font-size: 1.25rem; line-height: 1.75rem; }
  .quote__stage { margin-top: var(--s-500); }
  .sedes { grid-template-columns: minmax(0, 1fr); }
  .sede { padding: var(--s-300); }
  .cta__box { padding: var(--s-300) var(--s-200); }
  .form { padding: var(--s-300); border-radius: var(--r-lg); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .marquee__group li { width: 160px; height: 80px; }
}

/* ---------- Reduced motion: everything visible, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js [data-hero-in], .js .collage__img, .js .collage__chip { opacity: 1; transform: none; filter: none; animation: none; }
  .js .collage__img { transform: rotate(var(--rot, 0deg)); }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; justify-content: center; }
  .marquee__group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .tagline__text .w { color: var(--ink); }
  .tagline__text .w.is-key { color: var(--accent); }
  .status-pill.is-open .status-pill__dot::after { display: none; }
  .stack__card { transform: none !important; }
}

/* Mobile refinements */
@media (max-width: 640px) {
  .nav { gap: var(--s-75); }
  .nav .btn--sm { margin-left: auto; }
  .hero__title br, .tagline__text br { display: none; }
  .trat:not(.trat--hero):not(.trat--kids) {
    display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--s-200); row-gap: var(--s-50);
    align-items: start; padding: var(--s-200);
  }
  .trat:not(.trat--hero):not(.trat--kids) .icon-bubble { grid-row: span 3; margin-bottom: 0; }
  .trat:not(.trat--hero):not(.trat--kids) .trat__cta { padding-top: var(--s-50); }
}
