/* Portada: cada sección con su propio carácter. Se carga al final. */
:root { --ink: #1B1A17; --cream: #FFFDF8; }

/* etiquetas de sección: mismo gesto en toda la página, legibles sobre cualquier color */
.kicker, .kicker.dark { display: inline-block; padding: 6px 14px; border: 2px solid #1B1A17; border-radius: 999px; background: #FFFDF8; color: #1B1A17 !important; opacity: 1 !important; letter-spacing: .12em; font-size: .72rem; box-shadow: 2px 2px 0 #1B1A17; }
h2 { font-weight: 800; letter-spacing: -.04em; line-height: 1.04; }
.head-left { margin-bottom: 48px; }
.head-left .muted, .why-lead, .prosec .lead { font-size: 1.1rem; line-height: 1.55; }
.wrap { position: relative; z-index: 1; }
.nav a { color: rgba(255,255,255,.88); }

/* manifiesto (amarillo): frase grande con subrayado coral */
.manifesto { padding: 120px 0 140px; }
.manifesto h2 { font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.12; max-width: 22ch; }
.manifesto u { text-decoration-color: #FF5252; text-decoration-thickness: .12em; text-underline-offset: .1em; }
.manifesto .kicker { margin-bottom: 6px; }

/* cifras (crema): cuatro tarjetas de color */
.figures { padding: 110px 0; }
.figures-grid { gap: 22px; }
.fig, .fig:nth-child(n) { border: 2px solid #1B1A17; border-radius: 22px; padding: 22px 22px 24px; box-shadow: 5px 5px 0 #1B1A17; background: var(--c, #00D9C0); transition: transform .25s, box-shadow .25s; }
.fig:nth-child(1) { --c: #2D8CFF; } .fig:nth-child(2) { --c: #FFD60A; } .fig:nth-child(3) { --c: #FF8F7A; } .fig:nth-child(4) { --c: #7EE03A; }
.fig:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #1B1A17; }
.fig strong { font-size: clamp(3rem, 7vw, 4.8rem); color: #1B1A17; }
.fig strong small { color: #1B1A17; opacity: .8; font-size: .8rem; }
.fig p { color: #1B1A17; font-weight: 500; opacity: .92; font-size: .98rem; }

/* por qué (oscuro): el color lo ponen los paneles */
.block-accent { background: #1B1A17; color: #FFFDF8; border-top: 3px solid #00D9C0; border-bottom: 3px solid #00D9C0; padding: 120px 0; }
.block-accent h2 { color: #FFFDF8; }
.why-lead { color: rgba(255,253,248,.82); }
.why-item { color: rgba(255,253,248,.5); border-top-color: rgba(255,253,248,.2); }
.why-item span { color: #00D9C0; }
.why-item:hover { color: #FFFDF8; }
.why-item.active { color: #FFFDF8; }
.why-list li:last-child .why-item { border-bottom-color: rgba(255,253,248,.2); }
.why-stage { min-height: 520px; }
.why-panel { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; background: var(--pc, #FFD60A); background-image: none; border: 3px solid #FFFDF8; border-radius: 22px; box-shadow: 8px 8px 0 var(--pc, #FFD60A); color: #1B1A17; overflow: hidden; }
.wp-art { flex: 1; position: relative; display: flex; align-items: flex-end; padding: 22px 22px 0; background-image: radial-gradient(rgba(27,26,23,.16) 1.4px, transparent 1.6px); background-size: 24px 24px; min-height: 260px; }
.wp-card { position: relative; z-index: 1; margin-bottom: 24px; padding: 16px 18px; max-width: 64%; background: #FFFDF8; border: 2px solid #1B1A17; border-radius: 18px; box-shadow: 5px 5px 0 #1B1A17; color: #1B1A17; }
.wp-card > b { display: block; font-size: .95rem; letter-spacing: -.02em; }
.wp-card small { display: block; margin-top: 8px; font-size: .74rem; color: #5E594E; }
.wp-masc { position: absolute; right: 10px; bottom: 0; width: clamp(120px, 36%, 190px); z-index: 2; }
.wp-faces { display: flex; gap: 8px; margin: 12px 0 10px; }
.wp-faces .who-face { width: 38px; height: 38px; opacity: .5; transition: none; }
.wp-faces .who-face.on { opacity: 1; transform: scale(1.22); }
.wp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.wp-chips span { padding: 4px 11px; border: 2px solid rgba(27,26,23,.25); border-radius: 999px; font-size: .76rem; font-weight: 700; background: #fff; }
.wp-chips span.on { border-color: #1B1A17; background: #00D9C0; }
.wp-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin: 12px 0 6px; }
.wp-cal i { aspect-ratio: 1; border: 2px solid #1B1A17; border-radius: 6px; background: var(--c); }
.wp-card .bars { height: 54px; margin-top: 12px; display: flex; align-items: flex-end; gap: 6px; }
.wp-card .bars i { flex: 1; background: #2D8CFF; border: 2px solid #1B1A17; border-bottom: 0; border-radius: 4px 4px 0 0; }
.wp-insights span { display: block; padding: 9px 12px; margin-bottom: 8px; border: 2px solid #1B1A17; border-radius: 12px; font-size: .84rem; background: #FFFDF8; }
.wp-insights span:nth-child(1) { background: #FFD60A; } .wp-insights span:nth-child(2) { background: #FFFFFF; } .wp-insights span:nth-child(3) { background: #FF8F7A; }
.wp-read { margin-top: 12px; padding: 8px 12px; border: 2px solid #1B1A17; border-radius: 12px; background: #FFD60A; font-size: .82rem; }
.wp-lock { text-align: center; padding: 18px 26px 16px; max-width: 58%; }
.wp-lock svg { width: 62px; margin: 0 auto 6px; display: block; }
.why-panel figcaption { position: static; margin: 0; max-width: none; max-height: none; overflow: visible; border: 0; border-top: 3px solid #1B1A17; border-radius: 0; background: #FFFDF8; padding: 20px 24px 24px; }
.why-panel h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: 6px; color: #1B1A17; }
.why-panel p { color: #2b2924; font-size: 1rem; line-height: 1.5; }

/* dashboard (azul) */
.dash-sec { background: #2D8CFF; padding: 120px 0; overflow: hidden; }
.dash-sec::before { content: ""; position: absolute; left: -110px; top: -130px; width: 340px; height: 340px; border-radius: 50%; background: #7EE03A; border: 3px solid #1B1A17; box-shadow: 10px 10px 0 #1B1A17; }
.dash-sec h2, .dash-sec .muted { color: #1B1A17; }
.dash-sec .muted { font-weight: 500; }

/* para quién (papel con puntos) */
.who { padding: 120px 0; overflow: hidden; }
.who::before { content: ""; position: absolute; left: -90px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: #FF8F7A; border: 3px solid #1B1A17; box-shadow: 10px 10px 0 #1B1A17; }
.who-text { color: #1B1A17; font-weight: 500; font-size: .94rem; }
.who-quote { font-size: 1.28rem; }

/* profesionales (lima) */
.prosec { padding: 120px 0; overflow: hidden; }
.prosec::before { content: ""; position: absolute; left: -100px; bottom: -150px; width: 330px; height: 330px; border-radius: 50%; background: #FFFDF8; border: 3px solid #1B1A17; box-shadow: 10px 10px 0 #1B1A17; }
.proul li { color: #1B1A17; font-weight: 500; }
.pro-mock { transform: rotate(1.2deg); }

/* cómo funciona (coral) */
.day { padding: 120px 0; overflow: hidden; }
.day::before { content: ""; position: absolute; right: -90px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: #FFD60A; border: 3px solid #1B1A17; box-shadow: 10px 10px 0 #1B1A17; }
.day-step b { font-size: 1.45rem; }
.day-step.active b { text-decoration: underline; text-decoration-thickness: .1em; text-underline-offset: .12em; text-decoration-color: #FFFDF8; }
.frame { transform: rotate(-1deg); }

/* emociones (blanco) */
.emotions { background: #FFFDF8; padding: 110px 0 120px; }
.emotions .muted { color: #5E594E; }

/* preguntas (amarillo): cada pregunta es una tarjeta */
.faq { padding: 120px 0; overflow: hidden; }
.faq-list details { background: #FFFDF8; border: 2px solid #1B1A17; border-radius: 16px; padding: 16px 20px; margin-bottom: 14px; box-shadow: 4px 4px 0 #1B1A17; }
.faq-list details:last-child { border: 2px solid #1B1A17; }
.faq-list details[open] { background: #fff; }
.faq-list summary { font-size: 1.08rem; }
.faq-list details p { color: #2b2924; font-weight: 500; }
.faq-list summary::after { background: #FFD60A; }

/* cierre (turquesa) */
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
.cta p { font-size: 1.2rem; font-weight: 500; }

@media (max-width: 899px) {
  .why-stage { min-height: 600px; }
  .wp-card { max-width: 72%; padding: 14px; }
  .wp-masc { width: 120px; }
  .wp-art { min-height: 230px; }
  .dash-sec::before, .who::before, .prosec::before, .day::before { width: 200px; height: 200px; }
  .pro-mock, .frame { transform: none; }
  .manifesto { padding: 100px 0 120px; }
}
@media (prefers-reduced-motion: reduce) { .pro-mock, .frame { transform: none; } }
.manifesto .orb-1 { width: clamp(80px, 12vw, 170px); top: 7%; right: 3%; border: 3px solid #1B1A17; box-shadow: 6px 6px 0 #1B1A17; }
@media (max-width: 899px) { .manifesto .orb-1 { width: 70px; top: 22px; right: 16px; } }

.faq-cta{margin-top:26px}
.faq-cta p{margin:0 0 10px;font-weight:700}
.day-step{color:rgba(27,26,23,.7)}

/* cierre del botón de preguntas: centrado bajo su texto */
.faq-cta{display:inline-flex;flex-direction:column;align-items:center;text-align:center}
.faq-cta p{margin:0 0 12px}

/* cifras: tarjetas oscuras con números de color, letras claras */
.fig,.fig:nth-child(n){background:#1B1A17;border-color:#1B1A17;box-shadow:6px 6px 0 var(--c)}
.fig:nth-child(1){--c:#2D8CFF}.fig:nth-child(2){--c:#FFD60A}.fig:nth-child(3){--c:#FF8F7A}.fig:nth-child(4){--c:#7EE03A}
.fig:hover{box-shadow:9px 9px 0 var(--c)}
.fig strong{color:var(--c)}
.fig strong small{color:#FFFDF8;opacity:.9}
.fig p{color:#FFFDF8;opacity:.92}

/* cómo funciona: la altura no cambia al pasar de un paso a otro (así no hay saltos) */
.day-grid{align-items:start}
@media(min-width:960px){.day-grid{align-items:center}.day-stage{margin-top:-90px}}
.day-step{min-height:116px;align-content:start}
.day-step small{max-height:60px;opacity:0;margin-top:6px;transition:opacity .4s}
.day-step.active small{opacity:1}
.day-step:not(.active) small{visibility:hidden}
.day-step.active small{visibility:visible}

/* menú principal: pocos enlaces y una selección con el mismo lenguaje de los botones */
.nav{gap:6px}
.nav a{padding:8px 16px;border:2px solid transparent;border-radius:999px;font-weight:800;color:rgba(255,255,255,.86);transition:transform .15s,box-shadow .15s,background .2s,color .2s}
.nav a:hover{color:#fff;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.18)}
.nav a.on{background:#00D9C0;color:#04231f;border-color:#1B1A17;box-shadow:3px 3px 0 #FFFDF8;transform:translate(-1px,-1px)}
.nav a.nav-help{display:inline-flex;align-items:center;gap:7px;color:#FFB8A5;border-color:rgba(255,184,165,.55);background:rgba(255,143,122,.12)}
.nav a.nav-help svg{width:14px;height:14px}
.nav a.nav-help:hover{background:#FFB8A5;color:#1B1A17;border-color:#FFB8A5}
.mnav nav a.nav-help{color:#FFB8A5}
.mnav nav a.on{color:#00D9C0}

/* cómo funciona: tarjetas de paso y un teléfono con Bloby */
.day::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(rgba(27,26,23,.12) 1.4px,transparent 1.6px) 0 0/26px 26px}
.day>.wrap{z-index:1}
.day-lead{margin:12px 0 0;font-size:1.1rem;font-weight:600}
.day-list ol{display:grid;gap:14px}
.day-list header{margin-bottom:26px}
.day-step,.day-step:hover{position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;min-height:0;padding:16px 18px;background:#FFFDF8;border:2px solid #1B1A17;border-radius:20px;box-shadow:4px 4px 0 #1B1A17;color:#1B1A17;transition:transform .2s,box-shadow .2s,background .2s;overflow:hidden}
.day-list li:last-child .day-step{border-bottom:2px solid #1B1A17}
.day-step>span{display:grid;place-items:center;width:44px;height:44px;border:2px solid #1B1A17;border-radius:50%;background:var(--sc);color:#1B1A17;font-size:.95rem;font-weight:800;letter-spacing:0;padding:0}
.day-step b{font-size:1.18rem;line-height:1.2;letter-spacing:-.02em;text-decoration:none!important}
.day-step small{display:block;max-height:none;opacity:.8;visibility:visible;margin-top:4px;font-size:.92rem;color:#2b2924;font-weight:500}
.day-step:not(.active) small{visibility:visible}
.ds-ic{width:30px;height:30px;color:#1B1A17;opacity:.5;transition:opacity .2s,transform .3s}
.day-step.active{background:#fff;transform:translate(-3px,-3px);box-shadow:8px 8px 0 var(--sc,#1B1A17),8px 8px 0 2px #1B1A17}
.day-step.active .ds-ic{opacity:1;transform:rotate(-8deg) scale(1.1)}
.day-step.active>span{color:#1B1A17}
.day-step i{position:absolute;left:0;right:0;bottom:0;height:5px;background:#1B1A17;transform:scaleX(0);transform-origin:left}
.day-stage{position:relative;padding-top:90px}
.day-stage::before{content:"";position:absolute;right:-26px;bottom:-30px;width:150px;height:150px;border-radius:50%;background:#7EE03A;border:3px solid #1B1A17;box-shadow:6px 6px 0 #1B1A17;z-index:0}
.day-stage::after{content:"+";position:absolute;left:-14px;top:120px;font-size:2.6rem;font-weight:800;line-height:1;z-index:0}
.frame{position:relative;z-index:1;border-radius:34px;border-width:3px;padding:0 24px 24px;transform:rotate(-1deg)}
.frame-bar{padding:18px 0 14px}
.frame-bar span{font-weight:800}
.day-bloby{position:absolute;z-index:3;top:0;right:22px;width:118px}
.day-bloby .bloby-say{right:calc(100% - 20px);bottom:auto;top:6px;white-space:nowrap;max-width:none}
.day-bloby .bloby-say::after{bottom:auto;top:16px;right:-8px;transform:rotate(-45deg)}
.scene-title{font-size:.78rem;color:#5E594E}
.sc-moods .ck-m{border-width:2px}
@media(max-width:899px){.day-stage{padding-top:84px}.day-bloby{width:96px}.day-step{padding:14px}.ds-ic{display:none}.day-step,.day-step:hover{grid-template-columns:auto 1fr}.frame{transform:none}.day-stage::before{width:100px;height:100px;right:-14px}}

.who-text,.why-panel p,.faq-list details p,.proul li,.day-step small,.fig p{text-align:justify;text-justify:inter-word;hyphens:auto;-webkit-hyphens:auto}

.ck-m svg{filter:grayscale(.2) opacity(.85)}

/* los cinco Bloby de ánimo */
.mood-row{display:flex;flex-wrap:wrap;gap:14px 22px;margin-top:22px}
.mood-row figure{margin:0;display:grid;justify-items:center;gap:6px}
.mood-row .who-face{width:78px;height:78px;display:block;transition:transform .3s}
.mood-row .who-face svg{overflow:visible}
.mood-row figure:hover .who-face{transform:translateY(-6px) rotate(-4deg)}
.mood-row figcaption{font-size:.82rem;font-weight:800}
@media(max-width:520px){.mood-row{gap:10px}.mood-row .who-face{width:54px;height:54px}.mood-row figcaption{font-size:.7rem}}

/* A tu manera */
.ways { background: #FFFDF8; }
.ways-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 28px; }
.way { position: relative; padding: 24px 22px 22px; border: 2px solid #1B1A17; border-radius: 22px; background: #fff; box-shadow: 5px 5px 0 #1B1A17; }
.way::before { content: ""; display: block; width: 46px; height: 12px; margin-bottom: 14px; border: 2px solid #1B1A17; border-radius: 999px; background: var(--c, #FFD60A); }
.way h3 { margin: 0 0 8px; font-size: 1.15rem; color: #1B1A17; } .way p { margin: 0; font-size: .95rem; line-height: 1.5; color: #2b2924; }
.ways .who-cta { margin-top: 30px; }

/* Botón de la cabecera: texto centrado (sin icono, mismo relleno a ambos lados) */
.header-actions .btn { justify-content: center; text-align: center; padding-left: 20px; padding-right: 20px; }
.header-actions .btn-ghost { padding-left: 18px; padding-right: 18px; }
@media (max-width: 420px) { .header-actions .btn-primary, .header-actions .btn-ghost { padding-left: 14px; padding-right: 14px; } }

/* Por qué Dianfy: el escenario ya no se estira con la lista */
@media (min-width: 900px) {
  .why-stage { align-self: start; position: sticky; top: 96px; height: 600px; min-height: 0; }
}
.why-panel .wp-art { min-height: 0; }

/* Fondos con patrones (cada sección, el suyo) */
:root {
  --pt-waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='24'%3E%3Cpath d='M0 12 Q20 0 40 12 T80 12' fill='none' stroke='%23fff' stroke-opacity='.2' stroke-width='2.5'/%3E%3C/svg%3E");
  --pt-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0V48' fill='none' stroke='%231B1A17' stroke-opacity='.10' stroke-width='1.5'/%3E%3C/svg%3E");
  --pt-graph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M24 0V120M48 0V120M72 0V120M96 0V120M0 24H120M0 48H120M0 72H120M0 96H120' stroke='%231B1A17' stroke-opacity='.06'/%3E%3Cpath d='M120 0H0V120' fill='none' stroke='%231B1A17' stroke-opacity='.14' stroke-width='1.5'/%3E%3C/svg%3E");
  --pt-confetti: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect x='14' y='18' width='10' height='4' rx='2' transform='rotate(35 19 20)' fill='%23FF8F7A' fill-opacity='.55'/%3E%3Ccircle cx='80' cy='30' r='4' fill='%232D8CFF' fill-opacity='.4'/%3E%3Crect x='96' y='86' width='10' height='4' rx='2' transform='rotate(-30 101 88)' fill='%237EE03A' fill-opacity='.7'/%3E%3Ccircle cx='38' cy='88' r='3.5' fill='%23FFD60A' fill-opacity='.9'/%3E%3Cpath d='M60 56l4 7 4-7' fill='none' stroke='%231B1A17' stroke-opacity='.18' stroke-width='2'/%3E%3C/svg%3E");
  --pt-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 15v14M15 22h14' stroke='%231B1A17' stroke-opacity='.2' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  --pt-stripes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M-7 7l14-14M0 28L28 0M21 35l14-14' stroke='%231B1A17' stroke-opacity='.07' stroke-width='5'/%3E%3C/svg%3E");
  --pt-sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110'%3E%3Cpath d='M30 22l3 8 8 3-8 3-3 8-3-8-8-3 8-3z' fill='%23fff' fill-opacity='.4'/%3E%3Cpath d='M82 70l2 5 5 2-5 2-2 5-2-5-5-2 5-2z' fill='%23fff' fill-opacity='.3'/%3E%3C/svg%3E");
  --pt-zig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16'%3E%3Cpath d='M0 12l10-8 10 8 10-8 10 8' fill='none' stroke='%231B1A17' stroke-opacity='.09' stroke-width='2.5'/%3E%3C/svg%3E");
  --pt-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cpath d='M18 13l5 10M18 13l-5 10M13 23h10' fill='none' stroke='%23fff' stroke-opacity='.08' stroke-width='2'/%3E%3C/svg%3E");
}
.hero .slides-bg::after { background: var(--pt-waves) 0 0 / 80px 24px; }
.cta .slides-bg::after { background: radial-gradient(rgba(27,26,23,.14) 1.4px, transparent 1.6px) 0 0 / 26px 26px; }
.manifesto { background-image: var(--pt-stripes); }
.day { background-image: var(--pt-grid); }
.dash-sec { background-image: var(--pt-graph); }
.ways { background: #E4DBFF; border-top: 3px solid #1B1A17; border-bottom: 3px solid #1B1A17; }
@media (prefers-reduced-motion: reduce) { .hero .slides-bg::after, .cta .slides-bg::after { background-attachment: scroll; } }

/* Preguntas frecuentes: el + (y la × al abrir) dibujado, centrado en el círculo */
.faq-list summary::after { content: ""; padding: 0; font-size: 0; display: block; background-color: #FFD60A; background-image: linear-gradient(#1B1A17, #1B1A17), linear-gradient(#1B1A17, #1B1A17); background-size: 14px 2.5px, 2.5px 14px; background-position: center; background-repeat: no-repeat; }
.faq-list details[open] summary::after { background-color: #00D9C0; background-image: linear-gradient(#1B1A17, #1B1A17), linear-gradient(#1B1A17, #1B1A17); }
.faq-list details[open] summary::after { background-size: 14px 2.5px, 2.5px 14px; background-position: center; background-repeat: no-repeat; }
.wp-meds span { font-size: .72rem; }

/* Dashboard: comparaciones (sueño, semanas) */
.cmp { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; margin: 14px 0 0; font-size: .9rem; font-weight: 700; }
.cmp-bar { grid-column: 1 / -1; grid-row: 2; height: 16px; border: 2px solid #1B1A17; border-radius: 999px; background: #fff; overflow: hidden; }
.cmp-bar i { display: block; height: 100%; border-right: 2px solid #1B1A17; }
.cmp b { font-size: 1.15rem; }
.cmp small { grid-column: 1 / -1; font-weight: 600; color: #5E594E; font-size: .76rem; }

/* Entre sesiones: verde menta, limpio */
.prosec { background: #A6EDB9; }
/* A tu manera: 3 + 3, simétrico */
.ways-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ways-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ways-grid { grid-template-columns: 1fr; } }

/* Entre sesiones: verde menta, limpio */
.prosec { background: #A6EDB9; }
/* A tu manera: 3 + 3, simétrico */
.ways-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ways-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ways-grid { grid-template-columns: 1fr; } }

/* Dashboard: selector usuario / profesional y vista profesional */
.dash-tabs { display: flex; justify-content: center; gap: 10px; margin: 0 0 22px; flex-wrap: wrap; }
.dash-tabs button { padding: 11px 22px; border: 2px solid #1B1A17; border-radius: 999px; background: #FFFDF8; color: #1B1A17; font-weight: 800; font-size: .95rem; font-family: inherit; box-shadow: 3px 3px 0 #1B1A17; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.dash-tabs button.on { background: #00D9C0; }
.dash-tabs button:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #1B1A17; }
.pd-cohort { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-top: 14px; }
.pd-cohort i { flex: 1; border: 2px solid #1B1A17; border-bottom: 0; border-radius: 5px 5px 0 0; }
.pd-alerts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.pd-alerts li { display: grid; grid-template-columns: 12px auto; gap: 2px 10px; align-items: center; padding: 10px 12px; border: 2px solid #1B1A17; border-radius: 12px; background: #fff; }
.pd-alerts li i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #1B1A17; grid-row: span 2; }
.pd-alerts li span { font-size: .84rem; color: #5E594E; }
.pd-filter { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.pd-filter b { padding: 4px 12px; border: 2px solid #1B1A17; border-radius: 999px; font-size: .78rem; background: #fff; }
.pd-filter b:first-child { background: #FFD60A; }
.pd-table { margin-top: 12px; overflow-x: auto; }
.pd-row { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr .8fr 1fr; gap: 12px; align-items: center; min-width: 560px; padding: 11px 6px; border-top: 2px solid rgba(27,26,23,.14); font-size: .92rem; }
.pd-row.pd-h { border-top: 0; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #5E594E; font-weight: 800; }
.pd-row > span:first-child { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.pd-row > span:first-child i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #1B1A17; flex: none; }
.pd-row em { font-style: normal; }
.pd-sp svg { width: 80px; height: 24px; color: #1B1A17; display: block; }

/* Preguntas frecuentes: la columna del personaje acompaña mientras lees */
.faq { overflow: clip; }
@media (min-width: 900px) { .faq-grid > header { align-self: start; position: sticky; top: 92px; } }
.dfy-faq .bloby-say.r::after { top: 50%; margin-top: -7px; left: -8px; }
.dfy-faq .bloby-say { left: calc(100% - 24px); top: 3%; }

/* Preguntas frecuentes: el bloque de título baja un poco */
@media (min-width: 900px) { .faq-grid > header { padding-top: 28px; } }
.faq { scroll-margin-top: 0; }

/* Casita de inicio en el menú */
.nav .nav-home { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; }
.nav .nav-home svg { width: 19px; height: 19px; flex: none; transition: transform .3s var(--ease, ease); }
.nav .nav-home:hover svg { transform: translateY(-2px) rotate(-6deg); }
.nav .nav-home-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Invitación a bajar en el hero: sin caja, solo gesto animado */
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #1B1A17; text-decoration: none; transition: opacity .4s; }
.scroll-cue.gone { opacity: 0; pointer-events: none; }
.scroll-cue .sc-txt { font-weight: 800; font-size: .86rem; letter-spacing: .02em; text-shadow: 0 1px 0 rgba(255,253,248,.6); animation: cue-pulse 2.4s ease-in-out infinite; }
.scroll-cue .sc-mouse { position: relative; width: 26px; height: 42px; border: 3px solid #1B1A17; border-radius: 14px; background: rgba(255,253,248,.35); }
.scroll-cue .sc-mouse i { position: absolute; left: 50%; top: 7px; width: 4px; height: 9px; margin-left: -2px; border-radius: 3px; background: #1B1A17; animation: cue-wheel 1.6s ease-in-out infinite; }
.scroll-cue .sc-chev { display: flex; flex-direction: column; align-items: center; margin-top: -2px; }
.scroll-cue .sc-chev b { width: 12px; height: 12px; margin-top: -5px; border-right: 3px solid #1B1A17; border-bottom: 3px solid #1B1A17; transform: rotate(45deg); opacity: 0; animation: cue-chev 1.6s ease-in-out infinite; }
.scroll-cue .sc-chev b:nth-child(2) { animation-delay: .2s; } .scroll-cue .sc-chev b:nth-child(3) { animation-delay: .4s; }
.scroll-cue:hover .sc-mouse { background: #FFD60A; }
@keyframes cue-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes cue-chev { 0% { opacity: 0; transform: translateY(-4px) rotate(45deg); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(5px) rotate(45deg); } }
@keyframes cue-pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@media (max-width: 767px) { .scroll-cue .sc-txt { display: none; } .scroll-cue { left: auto; right: 22px; transform: none; bottom: 18px; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue *, .scroll-cue { animation: none !important; } .scroll-cue .sc-chev b { opacity: 1; } }

/* Menú flotante izquierdo */
.rail { display: none; position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 40; flex-direction: column; gap: 4px; padding: 10px 8px; background: #FFFDF8; border: 2px solid #1B1A17; border-radius: 18px; box-shadow: 4px 4px 0 #1B1A17; }
.rail a { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 999px; color: #1B1A17; font-size: .78rem; font-weight: 800; white-space: nowrap; text-decoration: none; transition: background .2s; }
.rail a i { width: 12px; height: 12px; flex: none; border-radius: 50%; border: 2px solid #1B1A17; background: transparent; transition: background .2s, transform .2s; }
.rail a:hover { background: rgba(27,26,23,.08); }
.rail a.on { background: #FFD60A; }
.rail a.on i { background: #1B1A17; transform: scale(1.15); }
.rail a span { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .25s, opacity .2s; }
.rail:hover a span { max-width: 140px; opacity: 1; }
@media (min-width: 1360px) { .rail { display: flex; } }
@media (min-width: 1560px) { .rail a span { max-width: 140px; opacity: 1; } }

/* Mascota en la tarjeta «Con seguimiento profesional» */
.who-face-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Textos del registro (ventana de ingreso y registro) justificados */
.modal-box p.muted:not(.center):not(.error), .modal-box .cchk span, .modal-box .consents, .modal-box #userHint { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }

/* ===== Móvil (solo estética) ===== */
@media (max-width: 767px) {
  /* Botón superior: "Iniciar sesión" en lugar de "Registrarse" */
  .header-actions .btn-primary[data-auth="register"] { display: none; }
  .header-actions .btn-ghost[data-auth="login"] { display: inline-flex; background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
}
@media (max-width: 999px) {
  /* Bloby ya no tapa "Ver cómo funciona" ni "Un minuto al día…" */
  .hero .checkin { margin-top: 92px; }
}
@media (max-width: 899px) {
  /* Bloby del enfoque queda debajo del botón, no detrás */
  main .manifesto { padding-bottom: 190px; }
  main .manifesto .dfy-manifest { bottom: 18px; }
  /* Por qué Dianfy: acordeón, el dibujo se abre debajo del número elegido */
  .why-list li > .why-panel { position: relative; inset: auto; display: none; opacity: 1; visibility: visible; transform: none; height: auto; min-height: 0; margin: 4px 0 22px; }
  .why-list li > .why-panel.active { display: flex; }
  .why-list li > .why-panel .wp-art { min-height: 230px; }
  .why-stage { display: none; }
}
@media (max-width: 520px) {
  /* Cabecera del gráfico dentro de la caja del informe */
  .dash .chart-head { align-items: flex-start; }
  .dash .chart-head h3 { flex: 1 1 100%; min-width: 0; }
  .dash .seg { display: flex; width: 100%; max-width: 100%; }
  .dash .seg button { flex: 1 1 auto; padding: 7px 6px; font-size: .74rem; }
}

/* Selector «Soy usuario / Soy profesional» del ingreso */
.roletabs { gap: 10px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.roletabs button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 8px; border: 2px solid #1B1A17; border-radius: 16px; background: #fff; color: #1B1A17; font-weight: 800; font-size: .88rem; line-height: 1.15; opacity: .72; transition: transform .15s, box-shadow .15s, background .2s, opacity .2s; }
.roletabs button svg { flex: none; width: 20px; height: 20px; }
.roletabs button:hover { opacity: 1; }
.roletabs button.on { opacity: 1; background: #00D9C0; color: #04231f; box-shadow: 3px 3px 0 #1B1A17; transform: translate(-1px, -1px); }
@media (max-width: 380px) { .roletabs button { flex-direction: column; gap: 4px; padding: 10px 6px; } }
