/* Mi camino · Landing — misma identidad que la app ("Orgánico cálido"). */
:root {
  --bg: #FBF6EE; --bg-deep: #F3E9DA; --surface: #FFFDF9; --line: #EADCCB; --line-strong: #DCC9B3;
  --ink: #3A2D28; --ink-2: #6B5A51; --ink-3: #8C7B70;
  --terra: #D07A52; --terra-strong: #A9502F; --terra-soft: #F7E2D6;
  --sage: #9DAE8F; --sage-strong: #546A47; --sage-soft: #E6EDDF;
  --plum: #7A4368; --plum-deep: #6A3659; --plum-soft: #F1E2EB;
  --primary: #A9502F; --primary-hover: #95442A; --on-primary: #fff;
  --font-display: 'Nunito', ui-rounded, system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-xl: 28px; --r-lg: 20px; --pill: 999px;
  --shadow: 0 1px 2px rgba(58, 45, 40, .05), 0 18px 40px -20px rgba(58, 45, 40, .3);
  color-scheme: light;
}
/* Modo oscuro opcional (botón del encabezado). La landing abre siempre en claro. */
:root[data-theme="dark"] {
    --bg: #1B1613; --bg-deep: #2A221D; --surface: #241D19; --line: #392E28; --line-strong: #4D3F37;
    --ink: #F3E9DF; --ink-2: #CDBDB0; --ink-3: #A08E82;
    --terra: #E08B63; --terra-strong: #F0A783; --terra-soft: #3A271F;
    --sage-strong: #B9CDA9; --sage-soft: #242E25; --plum: #DCA8C9; --plum-deep: #5C3050; --plum-soft: #33232E;
    --primary: #E0916A; --primary-hover: #EBA27E; --on-primary: #1B1613;
    --shadow: 0 18px 40px -20px rgba(0, 0, 0, .6);
    color-scheme: dark;
}
.theme-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 1.125rem; cursor: pointer; }
.theme-toggle:hover { border-color: var(--terra); color: var(--terra-strong); }
.theme-toggle .icofont-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icofont-sun { display: inline-block; }
:root[data-theme="dark"] .theme-toggle .icofont-moon { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 16px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
a { color: var(--terra-strong); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--pill); z-index: 50; }
.skip-link:focus { top: 12px; }
.eyebrow { font-family: var(--font-display); font-weight: 800; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--terra-strong); margin-bottom: 10px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--pill); border: 1.5px solid transparent; font-family: var(--font-display); font-weight: 800; font-size: 1rem; text-decoration: none; transition: background .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 1.0625rem; }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--primary) 80%, transparent); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--ghost { color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface); }
.btn--soon { background: var(--surface); color: var(--ink-2); border-color: var(--line-strong); cursor: default; }
.btn i { font-size: 1.25em; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: inherit; text-underline-offset: 4px; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; color: var(--plum); letter-spacing: -.02em; }
.site-nav { display: none; gap: 28px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .9375rem; }
.site-nav a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: radial-gradient(90% 70% at 100% 0%, var(--terra-soft), transparent 60%), radial-gradient(70% 60% at 0% 100%, var(--sage-soft), transparent 60%); }
.hero__inner { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 10vw, 5.25rem); font-weight: 800; color: var(--plum); }
.hero__lead { font-size: clamp(1.125rem, 2.4vw, 1.375rem); color: var(--ink-2); margin-top: 16px; max-width: 34ch; }
.hero__principles { margin-top: 18px; font-family: var(--font-display); font-weight: 800; color: var(--terra-strong); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.hero__blob { position: absolute; width: min(520px, 110%); fill: var(--terra-soft); }

/* Maqueta del teléfono (pantalla Hoy) */
.phone { position: relative; width: 280px; aspect-ratio: 9 / 19; border-radius: 42px; padding: 10px; background: #2B221E; box-shadow: var(--shadow), inset 0 0 0 2px #4A3C35; transform: rotate(-3deg); }
.phone__screen { height: 100%; border-radius: 33px; overflow: hidden; background: #FBF6EE; color: #3A2D28; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 11px; line-height: 1.35; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; }
.phone__logo { width: 22px; height: 22px; border-radius: 50% 50% 50% 8%; background: #D07A52; }
.phone__avatar { width: 24px; height: 24px; border-radius: 50%; background: #F7E2D6; color: #A9502F; display: grid; place-items: center; font-weight: 800; font-size: 9px; }
.phone__date { color: #6B5A51; font-weight: 700; margin-top: 6px; }
.phone__hello { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-top: -6px; }
.phone__card { border-radius: 16px; padding: 10px 12px; background: #fff; border: 1px solid #EADCCB; display: flex; flex-direction: column; gap: 3px; }
.phone__card small { font-weight: 800; color: #6B5A51; font-size: 9.5px; }
.phone__card strong { font-family: var(--font-display); font-size: 12.5px; }
.phone__card--important { border: 1.5px solid #D07A52; }
.phone__card--important small { color: #A9502F; }
.phone__card--action { background: #7A4368; border: 0; color: #fff; }
.phone__card--action small, .phone__card--action span { color: #F1D9E8; }
.phone__card--action strong { font-size: 14px; line-height: 1.3; }
.phone__btns { display: flex; gap: 6px; margin-top: 6px; }
.phone__btns i { flex: 1; font-style: normal; text-align: center; padding: 6px; border-radius: 99px; background: rgba(255,255,255,.15); font-weight: 800; }
.phone__btns i.on { background: #fff; color: #7A4368; }
.phone__tabs { margin-top: auto; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid #EADCCB; }
.phone__tabs i { width: 30px; height: 12px; border-radius: 99px; background: #EADCCB; }
.phone__tabs i.on { background: #F7E2D6; outline: 2px solid #D07A52; }

/* Secciones */
.section { padding: 88px 0; }
.section--tint { background: var(--bg-deep); }
.section--plum { background: var(--plum-deep); color: #fff; }
.section--plum h2 { color: #fff; }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section__head p:last-child, .section h2 + p { color: var(--ink-2); margin-top: 14px; font-size: 1.125rem; }
.section--plum p, .section--plum h2 + p { color: #F1D9E8; }
.section h2 { font-size: clamp(1.875rem, 4.5vw, 2.75rem); font-weight: 800; }

.principles { display: grid; gap: 16px; }
.principle { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; }
.principle__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; background: var(--terra-soft); color: var(--terra-strong); font-size: 1.5rem; margin-bottom: 14px; }
.principle h3 { font-size: 1.375rem; }
.principle p { color: var(--ink-2); margin-top: 6px; }

.split { display: grid; gap: 48px; align-items: center; }
.steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-family: var(--font-display); font-weight: 800; }
.steps strong { color: var(--ink); }
.areas__title { font-size: 1.25rem; margin-bottom: 16px; }
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.areas li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.areas li span { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sage-soft); color: var(--sage-strong); font-size: 1.125rem; }
.areas__me { grid-column: 1 / -1; background: var(--terra-soft) !important; border-color: transparent !important; }
.areas__me span { background: var(--surface) !important; color: var(--terra-strong) !important; }

/* Portadas de libros */
.books { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 460px; margin-inline: auto; }
.cover { aspect-ratio: 13 / 20; border-radius: 4px 12px 12px 4px; padding: 14% 10%; display: flex; flex-direction: column; justify-content: space-between; text-align: center; box-shadow: inset 6px 0 0 rgba(0,0,0,.12), var(--shadow); }
.cover:nth-child(even) { transform: translateY(24px); }
.cover__kicker { font-size: .625rem; letter-spacing: .25em; text-transform: uppercase; opacity: .85; }
.cover__title { font-family: Georgia, 'Times New Roman', serif; font-size: 1.375rem; line-height: 1.1; }
.cover__sub { font-family: Georgia, serif; font-style: italic; font-size: .8125rem; opacity: .9; }
.cover--clasico { background: radial-gradient(120% 90% at 50% 30%, #5B2C43, #4A2236); color: #E6CC94; outline: 1.5px solid rgba(230, 204, 148, .55); outline-offset: -10px; }
.cover--clasico .cover__title { font-style: italic; }
.cover--botanico { background: radial-gradient(110% 80% at 30% 20%, #4C6344, #3F5238); color: #F1EBDC; }
.cover--moderno { background: linear-gradient(#B4593A 0 62%, #F3ECE3 62%); color: #fff; text-align: left; }
.cover--moderno .cover__title { font-family: var(--font-display); font-weight: 800; }
.cover--moderno .cover__sub { color: #7A4368; font-style: normal; font-weight: 700; }
.cover--album { background: repeating-linear-gradient(93deg, rgba(90, 60, 30, .06) 0 1px, transparent 1px 6px), #A9875F; color: #3A2E25; }
.cover--album .cover__title { background: #FFFCF6; padding: 10px 8px; transform: rotate(-2deg); box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); font-family: 'Segoe Print', 'Bradley Hand', cursive; font-weight: 700; }
.cover--album .cover__kicker, .cover--album .cover__sub { color: #FFFBF2; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; color: var(--ink-2); }
.checks i { color: var(--sage-strong); margin-top: 5px; }

/* Privacidad */
.privacy { display: flex; gap: 24px; align-items: flex-start; max-width: 820px; }
.privacy__icon { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: 1.75rem; }
.privacy p { margin-top: 12px; font-size: 1.125rem; }
.privacy .link { margin-top: 16px; color: #fff; }

/* Precios */
.plans { display: grid; gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.25rem; }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; margin: 10px 0 16px; }
.plan__price small { font-size: 1rem; color: var(--ink-2); font-weight: 700; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--sage-strong); font-weight: 800; }
.plan--featured { border: 2px solid var(--terra); background: linear-gradient(160deg, var(--terra-soft), var(--surface) 60%); }
.plan__badge { position: absolute; top: -14px; left: 24px; background: var(--primary); color: var(--on-primary); font-family: var(--font-display); font-weight: 800; font-size: .875rem; padding: 4px 14px; border-radius: var(--pill); }

/* Cierre */
.section--cta { background: radial-gradient(80% 80% at 50% 0%, var(--terra-soft), transparent 70%); }
.cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.cta p { color: var(--ink-2); max-width: 46ch; }
.id7d { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding: 14px 18px; border-radius: var(--r-xl); background: linear-gradient(120deg, var(--terra-soft), var(--surface) 75%); border: 1px solid var(--line); color: var(--ink); text-decoration: none; text-align: left; max-width: 520px; width: 100%; }
.id7d:hover { border-color: var(--terra); }
.id7d__logo { flex: none; width: 108px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: #FFFDF9; border: 1px solid var(--line); }
.id7d__logo img { width: 84px; height: auto; }
.id7d > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.id7d strong { font-family: var(--font-display); }
.id7d small { color: var(--ink-2); }
.id7d > i { color: var(--terra-strong); }

/* Pie */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg-deep); }
.site-footer__inner { display: grid; gap: 20px; }
.site-footer__brand p { color: var(--ink-2); font-weight: 700; margin-top: 6px; font-size: .9375rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__links a { color: var(--ink-2); font-weight: 700; text-decoration: none; }
.site-footer__links a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__copy { color: var(--ink-3); font-size: .875rem; }

/* Páginas legales */
.legal { max-width: 760px; padding: 48px 0 80px; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; margin-bottom: 20px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: 24px; }
.legal__content h2 { font-size: 1.375rem; margin: 32px 0 10px; }
.legal__content p, .legal__content li { color: var(--ink); }
.legal__content p + p { margin-top: 12px; }
.legal__content ul { padding-left: 22px; }
.legal__content li + li { margin-top: 6px; }
.not-found { padding: 96px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.not-found p { color: var(--ink-2); }

@media (min-width: 720px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; }
  .site-footer__copy { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .site-nav { display: flex; }
  .hero { padding: 72px 0 96px; }
  .hero__inner { grid-template-columns: 1.1fr .9fr; }
  .principles { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse > :first-child { order: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
