/* Mis Ratos · web pública */
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--cream) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(58,38,20,.4); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink-2); font-weight: 600; text-decoration: none; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--coral-2); }
@media (max-width: 860px) { .nav a.hide-m { display: none; } .nav { gap: 14px; } }

/* Portada */
.hero { position: relative; overflow: hidden; padding: 56px 0 90px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 820px; height: 820px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #FDE7C4 0%, rgba(253,231,196,0) 62%); z-index: -1; }
.hero::after { content: ""; position: absolute; left: -260px; bottom: -280px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, #F9D9CC 0%, rgba(249,217,204,0) 65%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .soft { font-style: italic; font-weight: 450; color: var(--coral); }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.28rem); color: var(--ink-2); max-width: 36ch; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--ink-3); font-size: .95rem; }
.trust span { display: inline-flex; gap: 8px; align-items: center; }
.trust svg { width: 20px; height: 20px; color: var(--sage); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 28px; } }

/* Maqueta del dispositivo */
.stage { position: relative; height: 600px; }
.device { position: absolute; inset: 10px 40px 0 60px; background: #1F1A28; border-radius: 46px; padding: 14px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.05); transform: rotate(2.2deg); }
.screen { height: 100%; border-radius: 34px; overflow: hidden; background: linear-gradient(180deg, #FFF8EE 0%, var(--cream) 100%); display: flex; flex-direction: column; padding: 26px 24px; }
.screen .bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.screen .chip { display: inline-flex; gap: 8px; align-items: center; background: #E6F0FA; color: #2D5C87; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .85rem; }
.screen .dots { display: flex; gap: 6px; }
.screen .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.screen .dots i.on { background: var(--sage); }
.screen .q { font-family: var(--display); font-size: 1.62rem; line-height: 1.2; margin: 8px 0 20px; font-weight: 560; }
.screen .big-emoji { font-size: 74px; text-align: center; margin: 4px 0 8px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.12)); }
.screen .opt { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 2px solid var(--line); font-weight: 700; font-size: 1.1rem; margin-bottom: 11px; }
.screen .opt b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--ink-2); font-size: .95rem; }
.screen .opt.ok { border-color: var(--sage); background: var(--sage-soft); color: var(--sage-2); animation: okpulse 2.6s 1.2s infinite; }
.screen .opt.ok b { background: var(--sage); color: #fff; }
@keyframes okpulse { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(78,154,114,0); } 80% { box-shadow: 0 0 0 10px rgba(78,154,114,.18); } }
.float { position: absolute; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; gap: 12px; align-items: center; font-weight: 700; animation: bob 6s ease-in-out infinite; }
.float .emoji { font-size: 30px; }
.float small { display: block; font-weight: 400; color: var(--ink-3); font-size: .82rem; }
.float.f1 { left: -6px; top: 70px; }
.float.f2 { right: -4px; top: 250px; animation-delay: -2s; }
.float.f3 { left: 8px; bottom: 54px; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 960px) { .stage { height: 560px; max-width: 470px; margin: 0 auto; width: 100%; } .device { inset: 10px 20px 0 30px; } }
@media (max-width: 520px) { .float.f2 { right: -8px; } .float { padding: 10px 13px; font-size: .9rem; } .stage { height: 520px; } .screen .q { font-size: 1.35rem; } }

/* Secciones */
section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.15rem; color: var(--ink-2); }
.band { background: var(--paper); border-block: 1px solid var(--line); }
.ink-band { background: var(--ink); color: #F6EEE3; }
.ink-band h2, .ink-band h3 { color: #fff; }
.ink-band .muted { color: #BDB3C8; }

.quote-big { font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.25; font-weight: 450; max-width: 30ch; }
.quote-big em { color: var(--sun); font-style: italic; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { padding: 34px 30px; position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 26px; right: 28px; font-family: var(--display); font-size: 4.5rem; line-height: 1; color: var(--cream-2); font-weight: 700; }
.step .emoji { font-size: 44px; margin-bottom: 18px; }
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Mismo tema, distinta persona */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.persona { padding: 30px; overflow: hidden; position: relative; }
.persona .who { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.persona .avatar { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: var(--sun-soft); }
.persona .who b { font-family: var(--display); font-size: 1.35rem; display: block; font-weight: 600; }
.persona .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.persona .tag-no { background: #F3EDE6; color: var(--ink-3); text-decoration: line-through; }
.mini-q { background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.mini-q .t { font-size: .8rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.mini-q p { font-family: var(--display); font-size: 1.22rem; line-height: 1.3; margin: 0; }
.mini-q + .mini-q { margin-top: 12px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* Juegos */
.games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.game { padding: 24px 22px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.game:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.game .emoji { font-size: 38px; margin-bottom: 14px; }
.game h3 { font-size: 1.18rem; margin-bottom: 6px; }
.game p { margin: 0; color: var(--ink-3); font-size: .95rem; line-height: 1.45; }
@media (max-width: 1000px) { .games { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .games { grid-template-columns: 1fr 1fr; gap: 10px; } .game { padding: 18px 16px; } .game p { display: none; } }

/* Principios */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.principle { display: flex; gap: 18px; }
.principle .ic { flex: none; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; background: rgba(255,255,255,.08); }
.principle h3 { font-size: 1.22rem; margin-bottom: 6px; }
.principle p { margin: 0; color: #CFC5D9; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } }

/* Familia */
.family-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.report { padding: 30px; }
.report .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.report .head b { font-family: var(--display); font-size: 1.4rem; font-weight: 600; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 150px; margin-bottom: 10px; }
.bars i { display: block; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--coral) 0%, #EE8E6C 100%); }
.bars i.off { background: var(--cream-2); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; text-align: center; color: var(--ink-3); font-size: .85rem; font-weight: 700; margin-bottom: 22px; }
.hl { display: flex; gap: 12px; padding: 13px 0; border-top: 1px dashed var(--line); color: var(--ink-2); }
.hl .emoji { font-size: 22px; }
.list-check { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.list-check li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' fill='none'%3E%3Cpath d='M1.5 5.5l3.8 3.8L12.5 2' stroke='%233B7F5C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
@media (max-width: 900px) { .family-grid { grid-template-columns: 1fr; } }

/* Dispositivos */
.devices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dev { padding: 30px; text-align: center; }
.dev .emoji { font-size: 46px; margin-bottom: 14px; }
.dev p { color: var(--ink-3); margin: 0; }
@media (max-width: 800px) { .devices { grid-template-columns: 1fr; } }

/* Precios */
.prices { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 22px; align-items: stretch; }
.price { padding: 34px 30px; display: flex; flex-direction: column; }
.price.featured { background: var(--ink); color: #F6EEE3; border-color: var(--ink); box-shadow: var(--shadow-lg); position: relative; }
.price.featured h3 { color: #fff; }
.price .amount { font-family: var(--display); font-size: 3rem; font-weight: 600; line-height: 1; margin: 14px 0 4px; }
.price .amount small { font-size: 1rem; font-family: var(--text); font-weight: 400; color: var(--ink-3); }
.price.featured .amount small, .price.featured .muted { color: #BDB3C8; }
.price ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; flex: 1; }
.price li { display: flex; gap: 10px; }
.price li::before { content: "✓"; font-weight: 700; color: var(--sage); }
.price.featured li::before { color: var(--sun); }
.ribbon { position: absolute; top: -14px; left: 30px; background: var(--sun); color: #5B3B00; font-weight: 700; font-size: .8rem; padding: 6px 13px; border-radius: 999px; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; } }

/* Preguntas */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-weight: 700; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.8rem; color: var(--coral); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 0 22px; max-width: 64ch; }

.final { text-align: center; padding: 110px 0; position: relative; overflow: hidden; }
.final h2 { max-width: 18ch; margin: 0 auto 18px; }
.final p { color: var(--ink-2); font-size: 1.15rem; margin-bottom: 30px; }

footer.site { padding: 56px 0 46px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .95rem; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site a { color: var(--ink-2); text-decoration: none; }
footer.site a:hover { color: var(--coral-2); }
.disclaimer { max-width: 60ch; margin-top: 12px; font-size: .88rem; }

/* Páginas legales */
.legal { padding: 60px 0 90px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-2); }

/* Aparición suave */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.float.f3 { bottom: -14px; left: -14px; }
.logo { white-space: nowrap; }
@media (max-width: 520px) {
  .top .wrap { height: 66px; }
  .top .logo { font-size: 1.2rem; gap: 8px; }
  .top .logo-mark { width: 32px; height: 32px; }
  .nav .btn.small { padding: 0 .9em; }
  .cta-row .btn { width: 100%; }
}
