/* =========================================================
   PsicoAlive — Psicóloga Aura Paredes Suárez
   Paleta: cian/turquesa de su marca + naranja cálido
   Tipografía: Fredoka (títulos) + Nunito (texto)
   ========================================================= */
:root {
  --c-50: #f1fbfd;
  --c-100: #dcf4f9;
  --c-200: #b5e8f2;
  --c-300: #7fd6e8;
  --c-400: #3fbfd9;
  --c-500: #16a6c3;
  --c-600: #0b88a6;
  --c-700: #096b86;
  --c-900: #0b3446;
  --ink: #123040;
  --muted: #56707e;
  --orange: #f59e2c;
  --orange-soft: #ffe7c7;
  --pink: #ffb3c1;
  --white: #fff;
  --bg: #f4fbfd;
  --ig: linear-gradient(135deg, var(--c-400), var(--c-600));

  --title: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, sans-serif;

  --r-lg: 32px;
  --r-md: 24px;
  --shadow: 0 18px 40px -18px rgba(11, 52, 70, 0.22);
  --shadow-sm: 0 8px 22px -14px rgba(11, 52, 70, 0.3);
  --shadow-lg: 0 30px 60px -24px rgba(11, 52, 70, 0.3);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: clip; }
body {
  font-family: var(--body); font-size: 1.05rem; line-height: 1.7; color: var(--ink);
  background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
strong { font-weight: 800; color: var(--c-700); }
::selection { background: var(--c-200); }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-top: 40px; }

/* Transición suave entre páginas */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.25s ease both vt-out; }
::view-transition-new(root) { animation: 0.45s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
main { animation: page-in 0.6s var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Íconos vectoriales ---------- */
.ico {
  width: 1em; height: 1em; flex: none; overflow: visible;
  fill: none; stroke: var(--is, var(--c-700)); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round;
}
.ic-d { fill: var(--id, var(--c-200)); }
.ic-a { fill: var(--ia, var(--orange)); stroke: var(--is, var(--c-700)); }
.ic-w { fill: var(--iw, #fff); }
.tile {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  font-size: 34px; background: linear-gradient(145deg, var(--white), var(--c-100));
  box-shadow: inset 0 0 0 1.5px var(--c-100), 0 8px 16px -10px rgba(11, 52, 70, 0.35);
  transition: transform 0.5s var(--spring);
}
.tile-lg { width: 76px; height: 76px; border-radius: 24px; font-size: 48px; }
.tile-glass { background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.35); --is: #fff; --id: rgba(255,255,255,0.28); --iw: rgba(255,255,255,0.9); }

/* ---------- Cerebrito (símbolo SVG) ---------- */
.br-body { fill: var(--bf, #c8f0f8); stroke: var(--bs, #16a6c3); stroke-width: 4; stroke-linejoin: round; }
.br-fold { fill: none; stroke: var(--bs, #16a6c3); stroke-width: 3.2; stroke-linecap: round; opacity: 0.75; }
.br-blush { fill: var(--pink); opacity: 0.75; }
.br-eyes { transform-origin: 60px 58px; animation: blink 5s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }

/* ---------- Lienzos de fondo y efectos ---------- */
#bg, #fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#bg { z-index: 0; }
#fx { z-index: 90; }
main, .footer { position: relative; z-index: 1; }

/* ---------- Logo (solo nombre) ---------- */
.logo {
  position: relative; display: inline-flex; align-items: baseline;
  font: 700 1.7rem/1 var(--title); letter-spacing: -0.01em; color: var(--c-900);
}
.logo span { color: var(--c-500); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1.02rem/1 var(--title); letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.45s var(--spring), box-shadow 0.35s, background 0.3s;
}
.btn:hover { transform: translateY(-4px) scale(1.03); }
.btn:active { transform: scale(0.96); }
.btn .arrow { transition: transform 0.4s var(--spring); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-sm { padding: 12px 20px; font-size: 0.95rem; }
.btn svg, .btn-ic { width: 20px; height: 20px; flex: none; }
.btn-primary {
  color: var(--white); background: linear-gradient(135deg, var(--c-400), var(--c-600));
  box-shadow: 0 8px 0 -2px var(--c-700), 0 18px 30px -10px rgba(11, 136, 166, 0.55);
}
.btn-primary:hover { box-shadow: 0 11px 0 -2px var(--c-700), 0 24px 36px -12px rgba(11, 136, 166, 0.6); }
.btn-primary:active { box-shadow: 0 3px 0 -2px var(--c-700); }
.btn-soft { background: var(--white); color: var(--c-700); box-shadow: inset 0 0 0 2px var(--c-200); }
.btn-soft:hover { box-shadow: inset 0 0 0 2px var(--c-400), var(--shadow); }
.btn-white { background: var(--white); color: var(--c-700); box-shadow: 0 8px 0 -2px rgba(0,0,0,0.12); }
.btn-outline { color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.14); }
.btn-ig { color: var(--white); background: var(--ig); box-shadow: 0 12px 24px -12px rgba(11, 136, 166, 0.55); }

/* Botón redondo de Instagram */
.ig-btn, .wa-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--white);
  background: var(--ig); box-shadow: 0 10px 20px -10px rgba(11, 136, 166, 0.6);
  transition: transform 0.45s var(--spring);
}
.wa-btn { background: #25d366; box-shadow: 0 10px 20px -10px rgba(37, 211, 102, 0.8); }
.ig-btn:hover, .wa-btn:hover { transform: translateY(-3px) rotate(-8deg) scale(1.08); }
.ig-btn svg, .wa-btn svg { width: 24px; height: 24px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 12px; left: 0; right: 0; margin-inline: auto; z-index: 50;
  width: min(1180px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 26px; border-radius: 999px;
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.scrolled { background: rgba(255,255,255,0.88); backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 10px 16px; border-radius: 999px; font: 500 1rem/1 var(--title); color: var(--c-900);
  transition: background 0.3s, color 0.3s;
}
.nav-links a:hover { background: var(--c-100); color: var(--c-600); }
.nav-links a.active { background: var(--c-500); color: var(--white); box-shadow: 0 8px 16px -8px rgba(11,136,166,0.7); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--c-500); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2.5px; border-radius: 3px; background: var(--white); transition: transform 0.4s var(--spring), opacity 0.3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
  background: rgba(241, 251, 253, 0.97); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-menu nav a {
  padding: 10px 26px; border-radius: 999px; font: 600 1.9rem/1.2 var(--title); color: var(--c-900);
  opacity: 0; transform: translateY(16px); transition: opacity 0.4s, transform 0.5s var(--spring), background 0.3s;
}
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: 0.05s; } .mobile-menu.open nav a:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: 0.15s; } .mobile-menu.open nav a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu nav a.active { background: var(--c-500); color: var(--white); }
.mm-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Hero (Inicio) ---------- */
.hero {
  position: relative; min-height: 100svh; width: min(1160px, 100% - 32px); margin-inline: auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 50px;
  padding: 120px 0 60px;
}
.pill {
  display: inline-block; padding: 9px 18px; border-radius: 999px; background: var(--white);
  font: 600 0.88rem/1.2 var(--title); color: var(--c-600); box-shadow: var(--shadow);
}
.wordmark {
  margin: 0 0 8px; font: 700 clamp(3.6rem, 9vw, 7rem)/0.95 var(--title); letter-spacing: -0.03em;
  color: var(--c-900); white-space: nowrap;
}
.wordmark .w-alive { color: var(--c-500); }
.wordmark .ch {
  display: inline-block; opacity: 0; transform: translateY(60%) rotate(8deg) scale(0.6);
  animation: pop 0.7s var(--spring) forwards; animation-delay: calc(var(--i) * 70ms + 200ms);
}
.wordmark .ch:hover { animation: wiggle 0.6s var(--spring); opacity: 1; transform: none; color: var(--orange); }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes wiggle { 0%, 100% { transform: none; } 30% { transform: translateY(-14px) rotate(-8deg); } 60% { transform: translateY(0) rotate(5deg); } }
.hero-sub { font: 500 1.35rem/1.3 var(--title); color: var(--c-700); }
.hero-sub strong { color: var(--c-900); font-weight: 600; }
.hero-lead { max-width: 540px; margin-top: 18px; color: var(--muted); font-size: 1.12rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px 8px 10px; border-radius: 999px; background: var(--white);
  box-shadow: 0 6px 16px -8px rgba(11,52,70,0.25); font: 500 0.98rem/1.2 var(--title); color: var(--c-900);
  transition: transform 0.4s var(--spring);
}
.chips li .ico { font-size: 28px; }
.chips li:hover { transform: translateY(-4px) rotate(-3deg); }
.chips .chip-accent { background: var(--orange); color: var(--white); --is: #fff; --id: rgba(255,255,255,0.3); --ia: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Carrusel estilo historias ---------- */
.stories {
  --dur: 5.5s;
  position: relative; width: 100%; max-width: 420px; justify-self: center; outline: none;
  padding: 0 30px;
}
.story-stack { position: relative; aspect-ratio: 4 / 5; user-select: none; }
.story {
  position: absolute; inset: 0; border-radius: 28px; overflow: hidden; background: var(--c-900);
  box-shadow: var(--shadow-lg);
  transition: transform 0.8s var(--spring), opacity 0.6s, filter 0.6s;
  transform: scale(0.8); opacity: 0; z-index: 0;
}
.story img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.story.is-active { transform: none; opacity: 1; z-index: 3; }
.story.is-active img { animation: kenburns 6s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.story.is-next { transform: translateX(22%) rotate(7deg) scale(0.86); opacity: 0.75; z-index: 2; filter: saturate(0.7) brightness(0.9); }
.story.is-prev { transform: translateX(-22%) rotate(-7deg) scale(0.86); opacity: 0.75; z-index: 1; filter: saturate(0.7) brightness(0.9); }
.story-bars { position: absolute; top: 14px; left: 50px; right: 50px; z-index: 5; display: flex; gap: 6px; pointer-events: none; }
.story-bars span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.4); overflow: hidden; }
.story-bars i { display: block; height: 100%; width: 0; background: var(--white); border-radius: inherit; }
.story-bars span.done i { width: 100%; }
.story-bars span.run i { animation: fill var(--dur) linear forwards; }
@keyframes fill { to { width: 100%; } }
.stories.offscreen .story-bars i { animation-play-state: paused; }
.story-head {
  position: absolute; top: 28px; left: 50px; z-index: 5; display: flex; align-items: center; gap: 8px;
  color: var(--white); pointer-events: none; text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.story-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--white); padding: 2px; box-shadow: 0 0 0 2px var(--orange); }
.story-avatar svg { width: 26px; height: 22px; }
.story-head b { font: 600 0.95rem/1 var(--title); }
.story-head small { font-size: 0.8rem; opacity: 0.85; }
.story-mascot { position: absolute; z-index: 7; width: 110px; height: 92px; right: -8px; bottom: -36px; animation: bob 4s ease-in-out infinite; --bf: #e3f8fc; --bs: var(--c-700); filter: drop-shadow(0 12px 14px rgba(11,52,70,0.25)); pointer-events: none; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

/* ---------- Modalidades ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.modes-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
.mode {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-md);
  background: var(--white); box-shadow: var(--shadow-sm); transition: transform 0.45s var(--spring);
}
.mode:hover { transform: translateY(-6px); }
.mode:hover .tile { transform: rotate(-8deg) scale(1.08); }
.mode strong { display: block; font: 600 1.15rem/1.2 var(--title); color: var(--c-900); }
.mode small { color: var(--muted); font-weight: 600; font-size: 0.92rem; line-height: 1.4; display: block; margin-top: 3px; }
.mode.big { padding: 28px; }
.mode.big strong { font-size: 1.4rem; }

/* ---------- Encabezados ---------- */
.label {
  display: inline-block; padding: 7px 16px; border-radius: 999px; margin-bottom: 14px;
  background: var(--c-100); color: var(--c-600); font: 600 0.85rem/1.2 var(--title); letter-spacing: 0.04em; text-transform: uppercase;
}
.label.light { background: rgba(255,255,255,0.18); color: var(--white); }
.h-big { font: 600 clamp(2rem, 4.6vw, 3.2rem)/1.1 var(--title); color: var(--c-900); letter-spacing: -0.01em; }
mark { background: linear-gradient(transparent 58%, var(--orange-soft) 58%); color: inherit; padding: 0 4px; border-radius: 4px; }
.block { margin-top: 110px; }
.head-center { text-align: center; margin-bottom: 44px; }

/* Encabezado de páginas internas */
.page-hero { position: relative; width: min(900px, 100% - 32px); margin: 0 auto; padding: 150px 0 70px; text-align: center; }
.page-hero h1 { font: 700 clamp(2.6rem, 7vw, 4.6rem)/1.05 var(--title); color: var(--c-900); letter-spacing: -0.02em; }
.page-hero h1 span { color: var(--c-500); }
.page-hero > p:last-child { max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: 1.12rem; }
.crumbs { display: inline-flex; gap: 8px; margin-bottom: 18px; padding: 7px 16px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); font: 500 0.9rem/1.2 var(--title); color: var(--muted); }
.crumbs a { color: var(--c-600); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--c-300); }

/* ---------- ¿Te gustaría? ---------- */
.wish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wish {
  padding: 34px 28px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); text-align: center;
  transition: transform 0.5s var(--spring), box-shadow 0.4s;
}
.wish .tile { margin: 0 auto 18px; }
.wish:hover { transform: translateY(-10px) rotate(-1.5deg); box-shadow: var(--shadow-lg); }
.wish:hover .tile { transform: scale(1.12) rotate(8deg); }
.wish p { font: 500 1.3rem/1.3 var(--title); color: var(--c-900); }
.wish p strong { font-weight: 700; color: var(--c-500); }
.wish-answer { max-width: 640px; margin: 40px auto 0; text-align: center; font: 500 1.3rem/1.45 var(--title); color: var(--muted); }
.wish-answer strong { color: var(--orange); font-weight: 700; }

/* ---------- Servicios (resumen en Inicio) ---------- */
.mini-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mini-service {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border-radius: var(--r-lg);
  background: var(--white); box-shadow: var(--shadow); transition: transform 0.5s var(--spring), box-shadow 0.4s;
}
.mini-service:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.mini-service:hover .tile { transform: rotate(-8deg) scale(1.1); }
.mini-service h3 { margin-top: 6px; font: 600 1.25rem/1.2 var(--title); color: var(--c-900); }
.mini-service p { color: var(--muted); font-size: 0.95rem; line-height: 1.5; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font: 600 0.95rem/1 var(--title); color: var(--c-600); }
.more .ico { font-size: 18px; transition: transform 0.4s var(--spring); }
.mini-service:hover .more .ico { transform: translateX(5px); }

/* ---------- Sobre mí ---------- */
.about { display: grid; grid-template-columns: 380px 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.profile { padding: 16px 16px 26px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); text-align: center; }
.profile-photo { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; margin-bottom: 20px; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.profile:hover .profile-photo img { transform: scale(1.05); }
.profile h2 { font: 600 1.55rem/1.2 var(--title); color: var(--c-900); }
.role { color: var(--c-600); font-weight: 700; font-size: 0.95rem; }
.traits { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 18px; }
.traits span { padding: 6px 14px; border-radius: 999px; background: var(--orange-soft); color: #9a5a0a; font: 500 0.88rem/1.3 var(--title); transition: transform 0.4s var(--spring); }
.traits span:hover { transform: rotate(-4deg) scale(1.08); }
.profile-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.about-text .h-big { margin-bottom: 22px; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 1.1rem; }
.about-points { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.about-points div { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-sm); }
.about-points b { font: 600 1rem/1.2 var(--title); color: var(--c-900); }

/* Formación */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.edu {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--white); box-shadow: var(--shadow-sm); transition: transform 0.45s var(--spring);
}
.edu:hover { transform: translateY(-6px) scale(1.02); }
.edu:hover .tile { transform: rotate(-8deg); }
.edu strong { display: block; font: 500 1.05rem/1.3 var(--title); color: var(--c-900); }
.edu small { color: var(--c-600); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.edu.main { background: linear-gradient(135deg, var(--c-400), var(--c-600)); }
.edu.main strong { color: var(--white); font-size: 1.15rem; }
.edu.main small { color: var(--c-100); }
.edu.main .tile { background: rgba(255,255,255,0.18); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.35); --is: #fff; --id: rgba(255,255,255,0.28); --iw: rgba(255,255,255,0.9); }

/* ---------- Servicios ---------- */
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.help {
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 16px; border-radius: var(--r-md); text-align: center;
  background: var(--white); box-shadow: var(--shadow-sm); transition: transform 0.45s var(--spring), box-shadow 0.4s;
}
.help .tile { width: 72px; height: 72px; border-radius: 24px; font-size: 44px; }
.help:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.help:hover .tile { transform: scale(1.1) rotate(-6deg); }
.help b { font: 500 1.08rem/1.25 var(--title); color: var(--c-900); }
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service {
  position: relative; overflow: hidden; padding: 32px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow);
  transition: transform 0.5s var(--spring), box-shadow 0.4s;
}
.service::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%;
  background: var(--c-50); transition: transform 0.6s var(--ease);
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service:hover::after { transform: scale(1.8); }
.service:hover .tile { transform: rotate(-8deg) scale(1.06); }
.service-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.service h3 { font: 600 1.5rem/1.2 var(--title); color: var(--c-900); }
.service-top p { color: var(--muted); font-size: 0.95rem; line-height: 1.45; margin-top: 4px; }
.service ul { position: relative; z-index: 1; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.service li {
  padding: 8px 16px 8px 34px; border-radius: 999px; background: var(--c-50); position: relative;
  font-weight: 600; font-size: 0.95rem; color: var(--c-900);
}
.service li::before { content: "✓"; position: absolute; left: 13px; color: var(--c-500); font-weight: 800; }

/* Propuesta de valor */
.value {
  position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px); border-radius: 40px;
  background: linear-gradient(135deg, var(--c-500), var(--c-700)); color: var(--white); box-shadow: var(--shadow-lg);
}
.value .tile { margin-bottom: 20px; }
.value .h-big { color: var(--white); max-width: 640px; margin-bottom: 22px; }
.value p { position: relative; z-index: 1; max-width: 700px; color: rgba(255,255,255,0.9); margin-bottom: 14px; font-size: 1.1rem; }
.value .btn { margin-top: 14px; position: relative; z-index: 1; }
.value-brain { position: absolute; right: -30px; bottom: -40px; width: 300px; height: 250px; opacity: 0.2; --bf: #fff; --bs: #fff; transform: rotate(-12deg); }

/* ---------- Tarifas ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column; align-items: center; padding: 32px 24px; border-radius: var(--r-lg);
  background: var(--white); box-shadow: var(--shadow); text-align: center; transition: transform 0.5s var(--spring);
}
.price:hover { transform: translateY(-10px); }
.price:hover .tile { transform: rotate(-8deg) scale(1.08); }
.price h2 { margin: 18px 0 10px; font: 600 1.3rem/1.25 var(--title); color: var(--c-900); min-height: 2.5em; display: grid; place-items: center; }
.time { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--c-50); color: var(--c-600); font: 600 0.9rem/1.2 var(--title); }
.time .ico { font-size: 20px; }
.amount { margin-top: 18px; font: 700 2.3rem/1 var(--title); color: var(--c-600); }
.amount small { display: block; margin-top: 6px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.price .desc { margin-top: 16px; padding-top: 16px; border-top: 2px dashed var(--c-100); color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.price.featured { background: linear-gradient(160deg, var(--c-400), var(--c-700)); transform: translateY(-8px); }
.price.featured:hover { transform: translateY(-16px); }
.price.featured h2, .price.featured .amount { color: var(--white); }
.price.featured .amount small, .price.featured .desc { color: var(--c-100); }
.price.featured .desc { border-color: rgba(255,255,255,0.25); }
.price.featured .time { background: rgba(255,255,255,0.2); color: var(--white); --is: #fff; --id: rgba(255,255,255,0.3); --ia: #fff; }
.badge { position: absolute; top: -14px; left: 50%; translate: -50% 0; padding: 6px 16px; border-radius: 999px; background: var(--orange); color: var(--white); font: 600 0.85rem/1.2 var(--title); box-shadow: 0 8px 16px -6px rgba(245,158,44,0.7); }

/* Beneficios */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 920px; margin: 0 auto; }
.benefits li {
  display: flex; align-items: center; gap: 14px; padding: 16px 22px 16px 16px; border-radius: 22px; background: var(--white);
  box-shadow: var(--shadow-sm); font-weight: 600; color: var(--c-900); line-height: 1.45;
  transition: transform 0.45s var(--spring);
}
.benefits li .ico { font-size: 34px; --id: var(--c-500); --is: #fff; }
.benefits li:hover { transform: scale(1.03); }
.benefits li:last-child { grid-column: 1 / -1; justify-self: center; }

/* Frase */
.quote { margin-top: 110px; text-align: center; max-width: 860px; }
.quote-brain { width: 80px; height: 66px; margin: 0 auto 14px; animation: bob 4s ease-in-out infinite; }
.quote p { font: 500 clamp(1.4rem, 3vw, 2rem)/1.4 var(--title); color: var(--c-900); }
.quote cite { display: inline-block; margin-top: 18px; font-style: normal; font-weight: 800; color: var(--c-500); }
.quote cite::before { content: "— "; }

/* Llamado a la acción */
.cta-section { padding: 110px 0 40px; }
.contact-card {
  position: relative; overflow: hidden; text-align: center; padding: clamp(50px, 8vw, 90px) 24px; border-radius: 44px;
  background: linear-gradient(135deg, var(--c-400), var(--c-600)); color: var(--white); box-shadow: var(--shadow-lg);
}
.contact-card h2 { position: relative; font: 700 clamp(2.2rem, 5vw, 3.6rem)/1.1 var(--title); }
.contact-card p { position: relative; max-width: 540px; margin: 14px auto 0; color: rgba(255,255,255,0.92); }
.contact-card .cta { justify-content: center; position: relative; }
.cc-brain { position: absolute; opacity: 0.22; --bf: #fff; --bs: #fff; animation: bob 5s ease-in-out infinite; }
.b-a { width: 180px; height: 150px; left: -30px; top: -20px; }
.b-b { width: 130px; height: 110px; right: 20px; bottom: -20px; animation-delay: -2s; }

/* ---------- Contacto ---------- */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: start; padding-bottom: 40px; }
.contact-photo { position: sticky; top: 110px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-side { display: grid; gap: 22px; }
.quick { display: grid; gap: 14px; padding: 32px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
.quick h2 { font: 600 1.7rem/1.2 var(--title); color: var(--c-900); }
.quick > p { color: var(--muted); margin-top: -8px; }
.quick label { display: grid; gap: 6px; font: 500 0.95rem/1.2 var(--title); color: var(--c-900); }
.quick input[type="text"], .quick select {
  width: 100%; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--c-100); background: var(--c-50);
  color: var(--ink); font-weight: 600; outline: none; transition: border-color 0.3s, background 0.3s;
}
.quick input:focus, .quick select:focus { border-color: var(--c-400); background: var(--white); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 18px; background: var(--c-50); }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 11px; border-radius: 14px; text-align: center; cursor: pointer; font-weight: 500; color: var(--muted); transition: background 0.3s, color 0.3s; }
.seg input:checked + span { background: var(--c-500); color: var(--white); box-shadow: 0 6px 14px -6px rgba(11,136,166,0.7); }
.seg input:focus-visible + span { outline: 2px solid var(--c-400); }
.quick .btn { margin-top: 6px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c-card {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-md); background: var(--white);
  box-shadow: var(--shadow-sm); transition: transform 0.45s var(--spring);
}
a.c-card:hover { transform: translateY(-5px); }
.c-card small { display: block; color: var(--muted); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.c-card b { font: 600 1.05rem/1.2 var(--title); color: var(--c-900); word-break: break-word; }
.c-ic { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--ig); color: var(--white); }
.c-ic svg { width: 30px; height: 30px; }

/* ---------- Pie de página ---------- */
.footer { margin-top: 60px; padding: 50px 0 30px; background: rgba(255,255,255,0.75); backdrop-filter: blur(6px); border-top: 1px solid var(--c-100); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; align-items: start; }
.footer-grid p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.footer-grid nav { display: grid; gap: 6px; }
.footer-grid nav a { font: 500 1rem/1.4 var(--title); color: var(--c-900); width: fit-content; }
.footer-grid nav a:hover { color: var(--c-500); }
.footer-contact { display: grid; gap: 10px; font-weight: 600; color: var(--c-900); }
.footer-contact > a, .footer-contact > span { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact .ico { font-size: 26px; }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.copy { text-align: center; margin-top: 36px; color: var(--muted); font-size: 0.85rem; }

/* Aparición al hacer scroll (con rebote) */
.reveal { opacity: 0; transform: translateY(40px) scale(0.96); transition: opacity 0.8s var(--ease), transform 0.9s var(--spring); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 10px 11px; }
  .nav-cta { display: none; }
  .prices, .mini-services, .help-grid { grid-template-columns: repeat(2, 1fr); }
  .edu-grid { grid-template-columns: repeat(2, 1fr); }
  .price.featured { transform: none; }
}
@media (max-width: 880px) {
  .nav { padding-left: 22px; }
  .nav-links { display: none; }
  .burger { display: block; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 110px; gap: 40px; min-height: auto; }
  .hero-lead { margin-inline: auto; }
  .chips, .cta { justify-content: center; }
  .stories { max-width: 380px; }
  .modes, .modes-2 { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .about { grid-template-columns: 1fr; }
  .profile { max-width: 420px; margin-inline: auto; width: 100%; }
  .wish-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .services, .benefits { grid-template-columns: 1fr; }
  .benefits li:last-child { justify-self: stretch; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-photo { position: relative; top: 0; max-width: 420px; width: 100%; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid nav, .footer-contact { justify-items: center; }
  .footer-grid nav a { margin-inline: auto; }
  .footer-social { justify-content: center; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .nav .ig-btn { width: 40px; height: 40px; }
  .wordmark { font-size: clamp(3rem, 16vw, 4.4rem); }
  .hero-sub { font-size: 1.15rem; }
  .stories { padding: 0 20px; }
  .story.is-next { transform: translateX(12%) rotate(5deg) scale(0.88); }
  .story.is-prev { transform: translateX(-12%) rotate(-5deg) scale(0.88); }
  .story-bars { left: 38px; right: 38px; }
  .story-head { left: 38px; }
  .story-mascot { width: 84px; height: 70px; bottom: -28px; }
  .edu-grid, .prices, .mini-services, .contact-cards { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .help { padding: 20px 10px; }
  .help b { font-size: 0.98rem; }
  .price h2 { min-height: 0; }
  .service { padding: 26px 20px; }
  .service-top { flex-direction: column; align-items: flex-start; }
  .block { margin-top: 90px; }
  .page-hero { padding-top: 120px; padding-bottom: 50px; }
  .quick { padding: 24px 20px; }
  .btn { padding: 15px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  /* Se mantienen las animaciones, solo las apariciones son más cortas */
  .reveal { transform: translateY(16px); transition-duration: 0.5s; }
}

/* ---------- Instagram en el pie de página ---------- */
.ig-pill { display: inline-flex; align-items: center; gap: 10px; padding: 4px 16px 4px 4px; border-radius: 16px; background: var(--c-50); font: 600 0.98rem/1 var(--title); color: var(--c-700); transition: background 0.3s; }
.ig-pill:hover { background: var(--c-100); }
.ig-pill .ig-btn { width: 38px; height: 38px; border-radius: 12px; }
.ig-pill .ig-btn svg { width: 21px; height: 21px; }

/* ---------- Video (reel) ---------- */
.video-section { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.video-text .h-big { margin-bottom: 20px; }
.video-text p { color: var(--muted); font-size: 1.1rem; max-width: 520px; }
.reel {
  position: relative; justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 16; border-radius: 36px; padding: 10px;
  background: linear-gradient(145deg, var(--c-400), var(--c-700)); box-shadow: var(--shadow-lg);
}
.reel video { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; background: var(--c-900); cursor: pointer; display: block; }
.reel-sound {
  position: absolute; left: 50%; bottom: 34px; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border: 0; border-radius: 999px; cursor: pointer; color: var(--white);
  background: rgba(11, 52, 70, 0.55); backdrop-filter: blur(8px); font: 600 0.92rem/1 var(--title);
  transition: transform 0.4s var(--spring), background 0.3s, padding 0.4s var(--ease);
}
.reel-sound:hover { transform: scale(1.06); background: rgba(11, 52, 70, 0.75); }
.reel-sound svg { width: 20px; height: 20px; }
.reel-sound .on { display: none; }
.reel.sound-on .reel-sound .on { display: block; }
.reel.sound-on .reel-sound .off, .reel.sound-on .reel-sound span { display: none; }
.reel.sound-on .reel-sound { padding: 11px; left: auto; right: 22px; translate: none; }
.reel-progress { position: absolute; left: 26px; right: 26px; top: 22px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.35); overflow: hidden; }
.reel-progress i { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); }
.reel-brain { position: absolute; width: 96px; height: 80px; left: -40px; bottom: 40px; animation: bob 4s ease-in-out infinite; --bf: #e3f8fc; --bs: var(--c-700); filter: drop-shadow(0 12px 14px rgba(11,52,70,0.25)); pointer-events: none; }
@media (max-width: 880px) {
  .video-section { grid-template-columns: 1fr; text-align: center; }
  .video-text p { margin-inline: auto; }
  .video-text .cta { justify-content: center; }
  .reel-brain { left: -24px; width: 76px; height: 64px; }
}

/* ---------- Cápsula de información ---------- */
.capsule { display: grid; grid-template-columns: 1fr 440px; gap: clamp(30px, 6vw, 80px); align-items: center; }
.capsule-info .h-big { margin-bottom: 16px; }
.capsule-info > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 22px; max-width: 520px; }
.signal-list { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.signal-list button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border: 0; border-radius: 18px;
  background: var(--white); box-shadow: var(--shadow-sm); cursor: pointer; text-align: left;
  font: 500 1.02rem/1.25 var(--title); color: var(--c-900);
  transition: transform 0.45s var(--spring), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.signal-list b {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--c-100); color: var(--c-600); font: 700 1.1rem/1 var(--title); transition: background 0.3s, color 0.3s;
}
.signal-list button:hover { transform: translateX(6px); }
.signal-list button.active { background: linear-gradient(135deg, var(--c-400), var(--c-600)); color: var(--white); box-shadow: 0 12px 24px -12px rgba(11,136,166,0.7); transform: translateX(8px); }
.signal-list button.active b { background: rgba(255,255,255,0.22); color: var(--white); }

.post { background: var(--white); border-radius: 30px; box-shadow: var(--shadow-lg); overflow: hidden; }
.post-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; }
.post-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c-50); box-shadow: 0 0 0 2px var(--c-400); }
.post-avatar svg { width: 30px; height: 25px; }
.post-head b { display: block; font: 600 0.98rem/1.1 var(--title); color: var(--c-900); }
.post-head small { color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.post-count { margin-left: auto; padding: 5px 11px; border-radius: 999px; background: var(--c-50); color: var(--c-600); font: 600 0.82rem/1 var(--title); }
.post-viewport { overflow: hidden; aspect-ratio: 4 / 5; touch-action: pan-y; cursor: grab; user-select: none; }
.post-viewport:active { cursor: grabbing; }
.post-track { display: flex; height: 100%; transition: transform 0.7s var(--ease); }
.post-slide { flex: 0 0 100%; height: 100%; }
.post-slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.post-dots { display: flex; justify-content: center; gap: 7px; padding: 14px; }
.post-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--c-200); cursor: pointer; transition: width 0.4s var(--spring), background 0.3s; }
.post-dots button.active { width: 26px; background: var(--c-500); }

/* ---------- Tips ---------- */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tip {
  position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow);
  transition: transform 0.5s var(--spring), box-shadow 0.4s;
}
.tip::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--c-300), var(--c-500)); }
.tip:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tip:hover .tile { transform: rotate(-8deg) scale(1.08); }
.tip-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tip-cat { padding: 6px 12px; border-radius: 999px; background: var(--c-50); color: var(--c-600); font: 600 0.8rem/1 var(--title); text-transform: uppercase; letter-spacing: 0.05em; }
.tip h3 { font: 600 1.3rem/1.2 var(--title); color: var(--c-900); margin-bottom: 8px; }
.tip p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.tip.hidden { display: none; }
.tip.pop { animation: tipPop 0.6s var(--spring) both; }
@keyframes tipPop { from { opacity: 0; transform: translateY(16px) scale(0.95); } }
.tip-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.tip-filters button {
  padding: 11px 20px; border: 0; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); cursor: pointer;
  font: 500 0.98rem/1 var(--title); color: var(--c-900); transition: background 0.3s, color 0.3s, transform 0.4s var(--spring);
}
.tip-filters button:hover { transform: translateY(-3px); }
.tip-filters button.active { background: var(--c-500); color: var(--white); box-shadow: 0 8px 16px -8px rgba(11,136,166,0.7); }
.tips-note { max-width: 640px; margin: 30px auto 0; text-align: center; color: var(--muted); font-size: 0.92rem; }

@media (max-width: 1080px) {
  .capsule { grid-template-columns: 1fr 380px; }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .capsule { grid-template-columns: 1fr; }
  .capsule-info { text-align: center; }
  .capsule-info > p { margin-inline: auto; }
  .signal-list { max-width: 460px; margin-inline: auto; }
  .post { order: -1; width: 100%; max-width: 440px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .tips-grid { grid-template-columns: 1fr; }
}

/* ---------- Animación de entrada (letras cayendo) ---------- */
html.has-splash, html.has-splash body { overflow: hidden; }
.splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; cursor: pointer;
  background: radial-gradient(circle at 50% 45%, var(--white), var(--bg) 55%, var(--c-100));
  transition: opacity 0.6s ease 0.3s, visibility 0s linear 0.9s;
}
.splash.out { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-word { display: flex; font: 700 clamp(3.6rem, 16vw, 8rem)/1 var(--title); letter-spacing: -0.03em; }
.sp { --fc: var(--c-900); }
.sa { --fc: var(--c-500); }
.sch {
  display: inline-block; color: var(--fc); opacity: 0; transform-origin: 50% 100%;
  text-shadow: 0 10px 22px rgba(11, 52, 70, 0.14);
  /* 1) caída con rebotes  2) ola de color al final */
  animation:
    letterDrop 0.9s calc(var(--i) * 70ms + 120ms) both,
    letterWave 0.5s var(--spring) calc(var(--i) * 45ms + 1.55s);
}
/* Gravedad: acelera al caer, se aplasta al tocar el suelo y rebota dos veces */
@keyframes letterDrop {
  0%   { opacity: 0; transform: translateY(-75vh) rotate(-18deg); color: var(--orange); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  8%   { opacity: 1; }
  42%  { transform: translateY(0) rotate(0) scale(1.18, 0.78); color: var(--orange); animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); }
  58%  { transform: translateY(-34px) rotate(-6deg) scale(0.94, 1.08); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  72%  { transform: translateY(0) rotate(3deg) scale(1.08, 0.9); animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); }
  82%  { transform: translateY(-9px) rotate(-1deg) scale(0.98, 1.02); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  91%  { transform: translateY(0) scale(1.03, 0.97); }
  100% { opacity: 1; transform: none; color: var(--fc); }
}
/* Ola: cada letra salta y se pinta de naranja un instante (como al pasar el mouse) */
@keyframes letterWave {
  0%, 100% { transform: none; color: var(--fc); }
  35% { transform: translateY(-16px) rotate(-7deg); color: var(--orange); }
  65% { transform: translateY(2px) rotate(3deg); }
}
/* Salida: las letras suben y se desvanecen una tras otra */
.splash.out .sch { animation: letterOut 0.45s cubic-bezier(0.55, 0, 1, 0.45) calc(var(--i) * 30ms) both; }
@keyframes letterOut {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-40px) scale(0.9); filter: blur(4px); }
}
/* La página espera a que termine la entrada */
html.splashed .wordmark .ch { animation-delay: calc(var(--i) * 70ms + 2600ms); }

/* ---------- Propuestas de valor ---------- */
.vp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.vp-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(30px, 4vw, 48px); border-radius: 36px; }
.vp-card .tile { margin-bottom: 18px; }
.vp-card h3 { font: 600 clamp(1.6rem, 3vw, 2.2rem)/1.15 var(--title); margin-bottom: 14px; position: relative; z-index: 1; }
.vp-card > p { position: relative; z-index: 1; font-size: 1.02rem; margin-bottom: 12px; }
.vp-card .btn { margin-top: auto; position: relative; z-index: 1; }
.vp-family { background: linear-gradient(160deg, var(--white), var(--c-50)); box-shadow: var(--shadow-lg); border: 1.5px solid var(--c-100); }
.vp-family h3 { color: var(--c-900); }
.vp-family > p { color: var(--muted); }
.vp-card.value h3 { color: var(--white); }
.vp-card.value > p { max-width: none; }
.vp-list { position: relative; z-index: 1; list-style: none; display: grid; gap: 10px; margin: 10px 0 28px; }
.vp-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; line-height: 1.45; }
.vp-list .ico { font-size: 26px; margin-top: -1px; }
.vp-family .vp-list li { color: var(--c-900); }
.vp-family .vp-list .ico { --id: var(--c-500); --is: #fff; }
.vp-card.value .vp-list li { color: var(--white); }
.vp-card.value .vp-list .ico { --id: rgba(255,255,255,0.25); --is: #fff; }
.vp-brain { position: absolute; right: -30px; bottom: -40px; width: 260px; height: 215px; opacity: 0.12; transform: rotate(-12deg); pointer-events: none; }
.vp-card.value .value-brain { width: 260px; height: 215px; }

/* ---------- ¿Por qué elegir PsicoAlive? ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why {
  position: relative; overflow: hidden; padding: 30px 26px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow);
  transition: transform 0.5s var(--spring), box-shadow 0.4s;
}
.why:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.why:hover .tile { transform: rotate(-8deg) scale(1.08); }
.why .tile { margin-bottom: 18px; }
.why-n { position: absolute; top: 14px; right: 22px; font: 700 3.2rem/1 var(--title); color: var(--c-50); transition: color 0.4s; }
.why:hover .why-n { color: var(--c-100); }
.why h3 { font: 600 1.3rem/1.2 var(--title); color: var(--c-900); margin-bottom: 8px; }
.why p { color: var(--muted); font-size: 0.97rem; line-height: 1.55; }
@media (max-width: 1080px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) { .vp-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Título del Inicio (nombre + frase para Google) ---------- */
.hero-title { margin: 0; font-weight: inherit; }
.hero-title .wordmark { display: block; }
.hero-title .hero-sub { display: block; margin-top: 6px; }

/* ---------- Preguntas frecuentes ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border-radius: 24px; background: var(--white); box-shadow: var(--shadow-sm); transition: box-shadow 0.4s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font: 600 1.12rem/1.35 var(--title); color: var(--c-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-600); }
.faq-icon { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--c-100); transition: background 0.3s, transform 0.45s var(--spring); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; border-radius: 2px; background: var(--c-600); translate: -50% -50%; transition: transform 0.4s var(--spring); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--c-500); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--white); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-item p { padding: 0 24px 22px; color: var(--muted); font-size: 1.02rem; line-height: 1.65; animation: faqIn 0.45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Menú del celular: animación mientras se hace scroll ---------- */
.burger span { transform: scaleX(var(--s, 1)); }
.burger.scrolling span { transition: transform 0.12s linear, opacity 0.3s; }
.burger span:nth-child(1) { transform-origin: left center; }
.burger span:nth-child(2) { transform-origin: center; }
.burger span:nth-child(3) { transform-origin: right center; }
/* Punto naranja que orbita alrededor del botón (con una pista muy tenue) */
.burger::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 3.5px, var(--orange) 0 3.4px, transparent 4.4px);
  box-shadow: inset 0 0 0 1.5px rgba(245, 158, 44, 0.18);
  opacity: 0; transition: opacity 0.45s ease;
  animation: burgerOrbit 1.5s linear infinite; animation-play-state: paused;
}
.burger.scrolling::before { opacity: 1; animation-play-state: running; }
@keyframes burgerOrbit { to { transform: rotate(360deg); } }
/* Con el menú abierto, las rayas forman la X sin escalar */
.burger[aria-expanded="true"] span { --s: 1; }
