/* TasklyFamily · web. Estilo «Familiar»: blanco, centrado, móviles en abanico.
   Colores del logo: naranja #EE7F3B, azul marino #14304F, dorado #F2B53A, cielo #AEDCF6. */
@font-face { font-family: "Nunito"; src: url("/fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/fonts/nunito-sans.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --navy: #14304F; --orange: #EE7F3B; --orange-dark: #C2571F; --orange-soft: #FFF1E7; --gold: #F2B53A;
  --sky: #AEDCF6; --sky-bg: #F4F9FE; --sky-line: #E3EEF7;
  --ink: #101828; --muted: #475467; --subtle: #98A2B3; --line: #E6E8EE; --bg: #FFFFFF; --card: #FFFFFF;
  --done: #17B26A;
  --display: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } * { animation: none !important; transition: none !important } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6 }
img { max-width: 100%; display: block }
a { color: var(--orange-dark) }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: var(--gutter) }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.1; text-wrap: balance; margin: 0 }
.eyebrow { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange-dark) }
.skip { position: absolute; left: -9999px } .skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10 }

/* Menú */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent }
.nav .container { display: flex; align-items: center; gap: 18px; height: 68px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--display); font-weight: 900; font-size: 19px; margin-right: auto }
.brand img { width: 38px; height: 38px; border-radius: 11px }
.nav .links { display: flex; gap: 22px; font-weight: 700; font-size: 15px }
.nav .links a { color: var(--navy); text-decoration: none; opacity: .8 }
.nav .links a:hover { opacity: 1 }
.lang { font-weight: 800; font-size: 13px; color: var(--navy); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px }
@media (max-width: 820px) { .nav .links { display: none } }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 9px; border-radius: 15px; padding: 15px 22px; font-family: var(--display); font-weight: 800; font-size: 16.5px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease }
.btn:hover { transform: translateY(-1px) }
.btn.primary { background: var(--navy); color: #fff; box-shadow: 0 10px 22px rgba(20,48,79,.22) }
.btn.soft { background: var(--orange-soft); color: var(--orange-dark); cursor: default }
.btn.soft:hover { transform: none }
.btn.small { padding: 9px 14px; font-size: 14px; border-radius: 12px; box-shadow: none }
.btn svg { flex: none }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center }

/* Portada */
.hero { text-align: center; padding-top: clamp(28px, 6vw, 64px); overflow: hidden }
.hero h1 { font-weight: 900; font-size: clamp(38px, 6.4vw, 66px); letter-spacing: -1.2px; max-width: 15ch; margin: 10px auto 0 }
.hl { background: linear-gradient(transparent 62%, #FCDDB8 62%); padding: 0 6px; border-radius: 4px }
.hero .lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 52ch; margin: 18px auto 28px }
.trust { display: flex; gap: 8px 18px; flex-wrap: wrap; justify-content: center; margin-top: 18px; font-size: 14.5px; font-weight: 700; color: var(--muted) }
.trust span::before { content: "✓ "; color: var(--done) }
.fan { position: relative; height: 470px; max-width: 820px; margin: 44px auto 0 }
.fan .phone { position: absolute; top: 24px; left: 50%; transform-origin: 50% 100% }
.fan .phone:nth-child(1) { transform: translateX(-50%) translateX(-230px) rotate(-8deg) scale(.9) }
.fan .phone:nth-child(2) { transform: translateX(-50%); z-index: 2; top: 0 }
.fan .phone:nth-child(3) { transform: translateX(-50%) translateX(230px) rotate(8deg) scale(.9) }
@media (max-width: 760px) { .fan { height: 440px } .fan .phone:nth-child(1), .fan .phone:nth-child(3) { display: none } }

/* Secciones */
section { scroll-margin-top: 76px }
.band { background: var(--sky-bg); border-top: 1px solid var(--sky-line); border-bottom: 1px solid var(--sky-line) }
.block { padding-block: clamp(48px, 8vw, 88px) }
.head { text-align: center; max-width: 640px; margin: 0 auto 36px; display: grid; gap: 10px }
.head h2 { font-size: clamp(30px, 4.2vw, 42px); font-weight: 900; letter-spacing: -.6px }
.head p { margin: 0; color: var(--muted) }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step }
.step { background: #fff; border: 1px solid var(--sky-line); border-radius: 20px; padding: 22px; display: grid; gap: 6px; align-content: start }
.step .n { font-family: var(--display); font-weight: 900; font-size: 13px; letter-spacing: .6px; color: var(--navy); opacity: .55 }
.step h3 { font-size: 21px }
.step p { margin: 0; color: var(--muted); font-size: 15.5px }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr } }
.feature { border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 8px; align-content: start; background: var(--card) }
.feature h3 { font-size: 19.5px }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px }
.tile { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center }

.spot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center }
.spot .copy { display: grid; gap: 14px; min-width: 0 }
.spot h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -.5px }
.spot p { margin: 0; color: var(--muted) }
.spot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px }
.spot li { display: flex; gap: 10px; align-items: flex-start }
.spot li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--done) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2Z'/%3E%3C/svg%3E") center / 14px no-repeat }
.spot .art { display: flex; justify-content: center }
.spot.flip .art { order: -1 }
@media (max-width: 820px) { .spot { grid-template-columns: 1fr } .spot.flip .art { order: 0 } }

.who { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center }
.who span { background: #fff; border: 1px solid var(--sky-line); border-radius: 999px; padding: 10px 18px; font-weight: 800; font-family: var(--display); color: var(--navy) }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; background: #fff }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--navy); display: flex; justify-content: space-between; gap: 12px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--orange) }
.faq details[open] summary::after { content: "–" }
.faq details p { margin: 0 0 18px; color: var(--muted) }

.final { text-align: center; display: grid; gap: 18px; justify-items: center }
.final h2 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 900; letter-spacing: -.6px; max-width: 18ch }
.final img { width: 84px; height: 84px; border-radius: 24px; box-shadow: 0 12px 26px rgba(194,87,31,.2) }

footer { border-top: 1px solid var(--line); padding-block: 28px; font-size: 14.5px; color: var(--muted) }
footer .container { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center }
footer .brand { font-size: 16px; margin-right: auto }
footer .brand img { width: 30px; height: 30px; border-radius: 9px }
footer a { color: var(--muted); text-decoration: none; font-weight: 700 }
footer a:hover { color: var(--navy) }

/* Móvil dibujado con la app (datos de ejemplo) */
.phone { width: 260px; height: 530px; border-radius: 40px; border: 10px solid #0F1B2D; background: #F7F8FA; overflow: hidden; position: relative; box-shadow: 0 30px 60px rgba(20,48,79,.25); flex: none; text-align: left; color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.3 }
.phone .sb { height: 26px; font-size: 10.5px; font-weight: 700; display: flex; justify-content: space-between; padding: 7px 20px 0 }
.phone .in { padding: 4px 12px; display: grid; gap: 9px }
.phone .tt { text-align: center; font-weight: 800; font-size: 20px }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #EEF0F3; border-radius: 10px; padding: 3px; font-size: 11px; font-weight: 700; text-align: center }
.seg i { font-style: normal; padding: 5px }
.seg i.on { background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08) }
.pnl { background: #fff; border: 1px solid #E6E8EE; border-radius: 14px; overflow: hidden }
.goal { padding: 9px 10px; display: grid; gap: 5px; font-size: 10.5px }
.goal .k { color: #C2571F; font-weight: 800 }
.goal b { font-size: 12.5px }
.tr { height: 7px; border-radius: 4px; background: #EEF0F3; display: flex; gap: 2px; overflow: hidden }
.tr i { display: block; height: 100% }
.rowh { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800 }
.rowh span { color: #C2571F }
.rk { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 12px }
.rk + .rk { border-top: 1px solid #EEF0F3 }
.ring { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; position: relative; flex: none }
.ring .av { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px }
.crown { position: absolute; top: -5px; right: -5px; width: 16px; height: 16px; border-radius: 50%; background: #F2B53A; border: 2px solid #fff; display: grid; place-items: center }
.rk .t { flex: 1; display: grid; gap: 4px }
.rk .t b { font-size: 12.5px }
.bar { height: 4px; border-radius: 2px; background: #EEF0F3; overflow: hidden }
.bar i { display: block; height: 100% }
.pts { font-weight: 800; font-size: 14px }
.pts.lead { color: #EE7F3B }
.tb { position: absolute; left: 8px; right: 8px; bottom: 10px; height: 48px; background: #fff; border: 1px solid #E6E8EE; border-radius: 18px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 4px; box-shadow: 0 6px 12px rgba(16,24,40,.1) }
.tb i { border-radius: 12px; font-style: normal; font-size: 8.5px; font-weight: 700; color: #98A2B3; display: grid; place-items: center; padding-top: 14px; position: relative }
.tb i::before { content: ""; position: absolute; top: 7px; width: 13px; height: 13px; border-radius: 4px; background: currentColor; opacity: .5 }
.tb i.on { background: #FFF1E7; color: #EE7F3B }
.ph { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 12.5px }
.ph small { margin-left: auto; font-size: 11px; color: #475467; font-weight: 700 }
.task { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 12px }
.task + .task { border-top: 1px solid #EEF0F3 }
.ck { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #D0D5DD; display: grid; place-items: center; flex: none }
.ck.done { background: #17B26A; border-color: #17B26A }
.ck.done::after { content: ""; width: 7px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) }
.task .nm { flex: 1 }
.task.d .nm { text-decoration: line-through; color: #98A2B3 }
.task .p { font-weight: 800 }
.wa { background: #E7DDD3 }
.wa .chat { text-align: center; font-size: 11px; font-weight: 700; color: #3B4A54 }
.card { border-radius: 14px; overflow: hidden; background: #FFFBF7; border: 1px solid #F1E6DC }
.card .top { background: linear-gradient(135deg, #EE7F3B, #F29A4A 55%, #F2B53A); color: #fff; padding: 12px; font-weight: 800; font-size: 15px; line-height: 1.15 }
.card .top small { display: block; font-weight: 600; font-size: 10px; opacity: .92; margin-top: 3px }
.card .row { padding: 7px 10px; font-size: 11px; display: flex; gap: 5px; flex-wrap: wrap; align-items: center; border-top: 1px solid #F4ECE4 }
.card .row.lead { color: #C2571F; font-weight: 700 }
.chip { padding: 2px 7px; border-radius: 99px; background: #F7F3EF; font-size: 10px }
.chip.g { background: #E7F8EF; color: #067647 }
.bubble { justify-self: end; background: #D9FDD3; border-radius: 10px; padding: 6px 9px; font-size: 11px }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 22px 22px 0 0; padding: 14px 14px 22px; display: grid; gap: 8px; box-shadow: 0 -10px 30px rgba(16,24,40,.12) }
.sheet .grab { width: 36px; height: 4px; border-radius: 2px; background: #D0D5DD; justify-self: center }
.sheet b { font-size: 14px; text-align: center }
.sheet .opt { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; font-size: 12.5px; font-weight: 700 }
.sheet .opt.sel { background: #FFF1E7; outline: 2px solid #EE7F3B }
.dim { position: absolute; inset: 0; background: rgba(16,24,40,.35) }

/* Páginas de texto (privacidad, confirmado) */
.page { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 64px) var(--gutter) 64px }
.page h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 900; margin-bottom: 8px }
.page h2 { font-size: 22px; margin: 32px 0 8px }
.page p, .page li { color: #344054 }
.page .meta { color: var(--muted); font-size: 15px }
.center-card { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 32px var(--gutter) }
.center-card > div { display: grid; gap: 14px; justify-items: center; max-width: 440px }
.center-card img { width: 96px; height: 96px; border-radius: 26px }
.center-card h1 { font-size: 34px; font-weight: 900 }
.center-card p { margin: 0; color: var(--muted) }
