/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px); background: #fffffff2;
  box-shadow: 0 2px 0 #14102a0d;
}
.nav-links { display: flex; gap: 26px; font-weight: 700; white-space: nowrap; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; }
@media (max-width: 1080px) { .nav-links { display: none; } }
@media (max-width: 480px) { .hide-sm { display: none; } .logo { font-size: 22px; } }

/* ---------- Hero: ocupa toda la pantalla ---------- */
:root { --nav-h: 70px; }
@media (max-width: 480px) { :root { --nav-h: 62px; } }
.hero {
  position: relative; overflow: hidden; width: 100%;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 20px) 0 calc(var(--ff-h) + 96px);
  background: linear-gradient(180deg, #4fc1ff 0%, #8fd9ff 45%, #c7ecff 100%);
}
.sky { position: absolute; inset: 0; pointer-events: none; }
.sun { position: absolute; top: 40px; right: 8%; width: 120px; height: 120px; }
.sun span { position: absolute; inset: 18px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff6b0, var(--sun) 60%, #ffb800); box-shadow: 0 0 60px #ffe56a; }
.sun::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(#ffe56a 0 10deg, transparent 10deg 30deg); animation: spin 18s linear infinite;
  mask: radial-gradient(circle, transparent 46%, #000 47%); -webkit-mask: radial-gradient(circle, transparent 46%, #000 47%);
}
@keyframes spin { to { transform: rotate(360deg); } }
.cloud { position: absolute; width: 160px; height: 50px; background: #fff; border-radius: 50px; opacity: .95; animation: drift linear infinite; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 70px; height: 70px; top: -36px; left: 26px; }
.cloud::after { width: 54px; height: 54px; top: -24px; left: 80px; }
.c1 { top: 12%; left: -10%; animation-duration: 60s; animation-delay: -20s; }
.c2 { top: 30%; left: -10%; transform: scale(.7); animation-duration: 80s; animation-delay: -60s; }
.c3 { top: 6%; left: -10%; transform: scale(.55); animation-duration: 95s; animation-delay: -10s; }
.c4 { top: 50%; left: -10%; transform: scale(.85); animation-duration: 70s; animation-delay: -45s; opacity: .7; }
@keyframes drift { from { translate: 0 0; } to { translate: 130vw 0; } }
.rainbow {
  position: absolute; left: 50%; bottom: -260px; width: 900px; height: 900px; translate: -20% 0; border-radius: 50%; opacity: .35;
  background: radial-gradient(circle, transparent 54%, #a855f7 54% 56.5%, #3b82f6 56.5% 59%, #22c55e 59% 61.5%, #facc15 61.5% 64%, #fb923c 64% 66.5%, #ef4444 66.5% 69%, transparent 69%);
}
.floaters span { position: absolute; bottom: -120px; font-family: Outfit, sans-serif; font-weight: 900; animation: rise linear infinite; }
.floaters .balloon { width: 54px; height: 66px; border-radius: 50% 50% 48% 48%; display: grid; place-items: center; color: #fff; font-size: 28px; text-shadow: 0 2px 0 #0002; box-shadow: inset -8px -10px 0 #0000001a; }
.floaters .balloon::after { content: ''; position: absolute; top: 100%; left: 50%; width: 2px; height: 46px; background: #ffffffaa; }
@keyframes rise { 0% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-60vh) rotate(6deg); } 100% { transform: translateY(-120vh) rotate(-6deg); } }

.hero-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; }
.tag { display: inline-block; background: #fff; color: var(--ink); font-weight: 700; padding: 8px 16px; border-radius: 99px; box-shadow: 0 4px 0 #0000000f; animation: popin .6s cubic-bezier(.3, 1.6, .5, 1) backwards; }
.tag-dark { background: #ffffff14; color: var(--green); box-shadow: none; }
.hero h1 { font-size: clamp(40px, 6.4vw, 82px); line-height: .98; margin: 18px 0; color: var(--ink); text-shadow: 0 4px 0 #ffffff80; animation: popin .7s .1s cubic-bezier(.3, 1.4, .5, 1) backwards; }
.hero h1 em {
  font-style: normal; background: linear-gradient(90deg, #ff4d6d, #ff8a3d, #ffc300, #17b56a, #3b82f6, #8b5cf6, #ff4d6d); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; text-shadow: none;
  filter: drop-shadow(0 4px 0 #ffffffaa);
}
@keyframes shine { to { background-position: 200% 0; } }
@keyframes popin { from { opacity: 0; transform: scale(.8) translateY(20px); } }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; max-width: 560px; color: #241d55; animation: popin .7s .2s backwards; }
.signup {
  display: flex; gap: 8px; padding: 8px; margin-top: 26px; max-width: 560px; background: var(--ink); border-radius: 20px;
  box-shadow: 0 12px 30px #14102a40; animation: popin .7s .3s backwards;
}
.signup-input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font: 700 17px Outfit, sans-serif; letter-spacing: .06em; padding: 0 14px; }
.signup-input::placeholder { color: var(--lav); }
.small-print { margin-top: 14px; color: #2a2350; font-weight: 600; }
.small-print a { color: var(--ink); font-weight: 800; }
@media (max-width: 520px) { .signup { flex-direction: column; } .signup-input { padding: 14px; text-align: center; } }

.hero-stage { position: relative; height: clamp(300px, min(42vw, 56svh), 540px); }
.hill { position: absolute; left: -10%; right: -10%; bottom: -40px; height: 46%; border-radius: 50% 50% 0 0; background: radial-gradient(ellipse at 50% 0%, #7ee07a, #3fbf5a 70%); box-shadow: inset 0 14px 0 #9df09a; }
.hill::before, .hill::after { content: '🌼'; position: absolute; font-size: 30px; animation: sway 3s ease-in-out infinite; }
.hill::before { left: 18%; top: 18%; } .hill::after { right: 16%; top: 26%; content: '🌷'; animation-delay: -1.4s; }
@keyframes sway { 50% { transform: rotate(10deg); } }
.hero-friends { position: absolute; left: -4%; right: -4%; bottom: 6%; display: flex; justify-content: center; align-items: flex-end; }
.hero-friends .f { width: 27%; margin: 0 -1%; animation: bounce-in .8s cubic-bezier(.3, 1.6, .5, 1) backwards; cursor: pointer; transition: transform .2s; }
.hero-friends .f:nth-child(2), .hero-friends .f:nth-child(3) { width: 31%; z-index: 1; }
.hero-friends .f:hover { transform: translateY(-10px) scale(1.04); }
@keyframes bounce-in { from { opacity: 0; transform: translateY(80px) scale(.6); } }
.hello-bubble {
  position: absolute; top: 4%; left: 50%; translate: -50% 0; background: #fff; padding: 12px 22px; border-radius: 24px;
  font: 800 clamp(22px, 2.6vw, 34px) Outfit, sans-serif; color: var(--ink); box-shadow: var(--shadow); transition: transform .3s, opacity .3s;
}
.hello-bubble::after { content: ''; position: absolute; left: var(--tail, 50%); bottom: -14px; border: 14px solid transparent; border-top-color: #fff; border-bottom: 0; translate: -50% 0; transition: left .4s; }
.hello-bubble.swap { transform: scale(.7); opacity: 0; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lead, .signup { margin-left: auto; margin-right: auto; }
  .hero-stage { height: clamp(220px, 34svh, 360px); }
  .hero .lead { font-size: 16px; }
  .hero h1 { margin: 12px 0; }
}

/* ---------- Secciones ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(60px, 8vw, 110px) clamp(16px, 4vw, 48px) 20px; }
.section-title { font-size: clamp(32px, 4.4vw, 56px); text-align: center; margin: 0 0 10px; }
.section-sub { text-align: center; font-size: 19px; color: var(--muted); margin: 0 auto 44px; max-width: 640px; }
.wiggle { display: inline-block; animation: sway 1.4s ease-in-out infinite; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 34px 28px 30px; box-shadow: var(--shadow); text-align: center; border-top: 10px solid var(--c); transition: transform .3s; }
.step:hover { transform: translateY(-8px) rotate(-1deg); }
.step-num { position: absolute; top: -26px; left: 50%; translate: -50% 0; width: 48px; height: 48px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font: 900 24px Outfit, sans-serif; box-shadow: 0 5px 0 #0000001f; }
.step-icon { font-size: 64px; margin: 6px 0 6px; animation: float 3s ease-in-out infinite; }
.step:nth-child(2) .step-icon { animation-delay: -1s; } .step:nth-child(3) .step-icon { animation-delay: -2s; }
.step h3 { font-size: 30px; margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 17px; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 44px; } }

.islands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.island-card { position: relative; border-radius: 32px; padding: 30px; color: var(--ink); background: linear-gradient(150deg, var(--a), var(--b)); box-shadow: var(--shadow); overflow: hidden; transition: transform .3s; }
.island-card:hover { transform: translateY(-8px) scale(1.01); }
.island-card::before { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: #ffffff33; top: -80px; right: -60px; }
.island-pic { font-size: 70px; animation: float 3.4s ease-in-out infinite; position: relative; }
.island-card h3 { font-size: 28px; margin: 10px 0 6px; position: relative; }
.island-card p { line-height: 1.5; margin: 0 0 16px; position: relative; font-weight: 600; color: #2a2350; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chips li { background: #fff; color: var(--c); font: 800 18px Outfit, sans-serif; padding: 4px 14px; border-radius: 99px; box-shadow: 0 3px 0 #0000001a; }
.soon { filter: saturate(.9); }
.soon-badge { position: relative; display: inline-block; background: var(--ink); color: var(--green); font-weight: 800; padding: 6px 14px; border-radius: 99px; }
@media (max-width: 900px) { .islands { grid-template-columns: 1fr; } }

.friends { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.friend { background: #fff; border-radius: 32px; padding: 22px 18px 24px; text-align: center; box-shadow: var(--shadow); border: 0; cursor: pointer; transition: transform .25s; position: relative; overflow: hidden; }
.friend::before { content: ''; position: absolute; inset: 0 0 45% 0; background: var(--bg); border-radius: 0 0 50% 50% / 0 0 30% 30%; }
.friend:hover, .friend.talking { transform: translateY(-10px) rotate(-1.5deg); }
.friend .pic { position: relative; width: 78%; margin: 0 auto; }
.friend h3 { position: relative; margin: 8px 0 2px; font-size: 32px; color: var(--c); }
.friend p { position: relative; margin: 0; color: var(--muted); font-weight: 600; line-height: 1.45; }
.friend .say { position: relative; display: inline-block; margin-top: 12px; background: var(--c); color: #fff; font-weight: 800; padding: 6px 14px; border-radius: 99px; }
@media (max-width: 900px) { .friends { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .friends { gap: 12px; } .friend { padding: 14px 10px 18px; } .friend h3 { font-size: 26px; } .friend p { font-size: 14px; } }

/* ---------- Banda de papás ---------- */
.parents-band { position: relative; margin-top: clamp(60px, 8vw, 110px); background: radial-gradient(ellipse at 20% 0%, #2b2373, var(--navy) 60%); color: #e9e6ff; overflow: hidden; border-radius: 48px 48px 0 0; }
.stars-bg { position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 10% 20%, #fff8, transparent), radial-gradient(2px 2px at 30% 70%, #fff6, transparent), radial-gradient(2px 2px at 80% 30%, #fff8, transparent), radial-gradient(3px 3px at 60% 85%, #2fe08a99, transparent), radial-gradient(2px 2px at 90% 75%, #fff6, transparent), radial-gradient(3px 3px at 45% 15%, #ffd23f99, transparent); animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .5; } }
.parents-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: clamp(60px, 7vw, 100px) clamp(16px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.parents-copy h2 { color: #f6f3ff; font-size: clamp(32px, 4vw, 52px); margin: 14px 0; }
.parents-copy p { font-size: 19px; line-height: 1.6; color: var(--lav); }
.checks { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 12px; }
.checks li { padding-left: 38px; position: relative; line-height: 1.5; color: var(--lav); }
.checks li b { color: #fff; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 8px; background: var(--green); color: var(--ink); display: grid; place-items: center; font-weight: 900; }
.panel-mock { background: #fff; border-radius: 28px; padding: 18px 22px 24px; color: var(--ink); box-shadow: 0 30px 80px #0008; transform: rotate(2deg); animation: float 5s ease-in-out infinite; }
.pm-head { display: flex; gap: 6px; margin-bottom: 16px; }
.pm-dot { width: 12px; height: 12px; border-radius: 50%; background: #ff6b6b; } .pm-dot:nth-child(2) { background: var(--sun); } .pm-dot:nth-child(3) { background: var(--green); }
.pm-kid { display: flex; align-items: center; gap: 14px; background: #f3efff; border-radius: 20px; padding: 10px 16px; }
.pm-kid b { display: block; font: 800 22px Outfit, sans-serif; } .pm-kid small { color: var(--muted); font-weight: 600; }
.pm-avatar { width: 64px; height: 64px; border-radius: 50%; background: #efe8ff; overflow: hidden; padding: 4px 4px 0; }
.pm-stars { margin-left: auto; font: 800 22px Outfit, sans-serif; }
.pm-bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin: 20px 4px; }
.pm-bars span { flex: 1; height: var(--h); border-radius: 10px 10px 4px 4px; background: linear-gradient(var(--green), #17b56a); animation: grow 1.4s cubic-bezier(.3, 1.4, .5, 1) backwards; }
.pm-bars span:nth-child(2n) { background: linear-gradient(#a78bfa, #7c3aed); }
.pm-bars span:nth-child(3n) { background: linear-gradient(#ffd23f, #ff9f1a); }
.pm-bars span:nth-child(2) { animation-delay: .1s; } .pm-bars span:nth-child(3) { animation-delay: .2s; } .pm-bars span:nth-child(4) { animation-delay: .3s; } .pm-bars span:nth-child(5) { animation-delay: .4s; } .pm-bars span:nth-child(6) { animation-delay: .5s; } .pm-bars span:nth-child(7) { animation-delay: .6s; }
@keyframes grow { from { height: 0; } }
.pm-words { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-words i { font-style: normal; background: #fef3c7; padding: 4px 12px; border-radius: 99px; font-weight: 700; }
@media (max-width: 900px) { .parents-inner { grid-template-columns: 1fr; } .panel-mock { transform: none; } }

/* ---------- Preguntas ---------- */
.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: 22px; box-shadow: 0 6px 0 #14102a0d; padding: 4px 24px; border-left: 8px solid var(--green); }
.faq details:nth-child(2n) { border-left-color: var(--pink); } .faq details:nth-child(3n) { border-left-color: var(--sun); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font: 800 20px Outfit, sans-serif; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 28px; line-height: 1; color: var(--muted); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; line-height: 1.6; color: var(--muted); font-size: 17px; }

/* ---------- CTA final y pie ---------- */
.final-cta { position: relative; text-align: center; margin-top: clamp(60px, 8vw, 110px); padding: 60px 16px 80px; background: linear-gradient(135deg, #ff8fb1, #ffb86b 35%, #ffe066 60%, #7ee0a8); overflow: hidden; }
.final-cta h2 { position: relative; font-size: clamp(34px, 5vw, 64px); margin: 10px 0 26px; text-shadow: 0 4px 0 #ffffff70; }
.final-friends { display: flex; justify-content: center; gap: 0; max-width: 560px; margin: 0 auto; }
.final-friends > div { width: 25%; animation: float 2.6s ease-in-out infinite; }
.final-friends > div:nth-child(2) { animation-delay: -.6s; } .final-friends > div:nth-child(3) { animation-delay: -1.2s; } .final-friends > div:nth-child(4) { animation-delay: -1.8s; }
.final-btns { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.footer { background: #030304; color: var(--lav); text-align: center; padding: 40px 16px; }
.footer p { margin: 12px 0 0; }
.footer a:not(.logo) { color: var(--green); font-weight: 700; }
.copy { font-size: 14px; opacity: .8; }
.copy b { color: #fff; letter-spacing: .08em; }

/* ---------- Confeti ---------- */
.confetti { position: fixed; z-index: 100; width: 10px; height: 14px; border-radius: 3px; pointer-events: none; animation: confetti 1.3s cubic-bezier(.2, .7, .4, 1) forwards; }
@keyframes confetti { to { transform: translate(var(--dx), calc(var(--dy) + 200px)) rotate(var(--r)); opacity: 0; } }
