/* Portada pública («/» sin sesión): misma familia visual que la app (tokens de base.css, Nunito), pero autónoma y ligera.
   Claro por defecto; Noche solo si se eligió en Ajustes (html[data-theme="noche"]), como en la app. */
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --bg: #FBF6EE; --surface: #FFFDF9; --sunk: #F5EEE2; --line: #EEE5D7; --line-2: #E2D6C4;
  --ink: #2E3833; --ink-2: #5F6B64;
  --sage: #7E9C85; --sage-ink: #3F5E48; --sage-ink-hover: #355140; --sage-soft: #E4ECE3; --sage-wash: #EFF3EC;
  --peach: #F3B79E; --peach-ink: #A3522F; --peach-soft: #FBE6DB; --peach-wash: #FDF3EC;
  --on-sage: #FFFFFF; --focus: #3F5E48;
  --shadow-1: 0 1px 2px rgba(46, 56, 51, .04), 0 6px 20px rgba(46, 56, 51, .06);
  --shadow-2: 0 18px 50px rgba(46, 56, 51, .18), 0 2px 8px rgba(46, 56, 51, .06);
  --radius: 20px; --radius-sm: 14px;
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[data-theme="noche"] {
  color-scheme: dark;
  --bg: #1C1A17; --surface: #252220; --sunk: #2D2925; --line: #38332D; --line-2: #4A433B;
  --ink: #F1EADF; --ink-2: #C9BFB1;
  --sage: #7FA487; --sage-ink: #A9C9B0; --sage-ink-hover: #BBD6C1; --sage-soft: #2C3A30; --sage-wash: #263129;
  --peach: #C98A6E; --peach-ink: #F2B79C; --peach-soft: #4A2F24; --peach-wash: #35261F;
  --on-sage: #1C1A17; --focus: #A9C9B0;
  --shadow-1: none; --shadow-2: 0 18px 50px rgba(0, 0, 0, .5);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sage-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
.pt-skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 12px; background: var(--sage-ink); color: var(--on-sage); font-weight: 800; text-decoration: none; }
.pt-skip:focus { top: 12px; }
.pt-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.pt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: 14px; }
.pt-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; font-size: 1.15rem; text-decoration: none; }
.pt-brand img { border-radius: 11px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: var(--radius-sm); font: 800 1rem/1.2 var(--font); text-align: center; text-decoration: none; transition: transform .14s, background .2s, box-shadow .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--sage-ink); color: var(--on-sage); box-shadow: 0 6px 16px rgba(63, 94, 72, .22); }
.btn-primary:hover { background: var(--sage-ink-hover); }
.btn-soft { background: var(--sage-soft); color: var(--sage-ink); }
.btn-soft:hover { box-shadow: inset 0 0 0 1.5px var(--sage); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }

.pt-hero { display: grid; gap: 28px; padding: 16px 0 44px; }
.pt-kicker { margin: 0 0 10px; color: var(--peach-ink); font-weight: 800; font-size: .95rem; letter-spacing: .02em; }
.pt-hero h1 { margin: 0 0 14px; font-size: clamp(2rem, 8vw, 3.2rem); line-height: 1.1; letter-spacing: -.01em; }
.pt-lead { margin: 0 0 22px; color: var(--ink-2); font-size: 1.12rem; max-width: 34em; }
.pt-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pt-cta .btn { flex: 1 1 160px; }
.pt-aviso { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--sage-wash); border: 1px solid var(--line-2); font-weight: 700; flex: 1 1 100%; }
.pt-play { display: inline-block; margin: 16px 0 0; padding: 7px 14px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 800; font-size: .92rem; }
.pt-puntos { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.pt-puntos li { padding: 5px 12px; border-radius: 999px; background: var(--peach-soft); color: var(--peach-ink); font-weight: 800; font-size: .9rem; }
.pt-hero-art { display: flex; justify-content: center; }

.pt-phone { margin: 0; width: 100%; max-width: 270px; border: 7px solid var(--ink); border-radius: 36px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-2); }
html[data-theme="noche"] .pt-phone { border-color: #4A433B; }
.pt-phone img { width: 100%; height: auto; }

.pt-sec { padding: 40px 0; }
.pt-sec h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.2; }
.pt-sec-lead { margin: 0 0 24px; color: var(--ink-2); max-width: 40em; }
.pt-grid { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pt-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-1); }
.pt-card h3 { margin: 0 0 6px; font-size: 1.08rem; line-height: 1.3; }
.pt-card p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.pt-card::before { content: ""; display: block; width: 36px; height: 6px; margin-bottom: 14px; border-radius: 6px; background: var(--sage); }
.pt-card:nth-child(3n+2)::before { background: var(--peach); }

.pt-band { background: var(--sage-wash); border-block: 1px solid var(--line); }
.pt-shots { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; justify-items: center; }
.pt-shots li { max-width: 270px; text-align: center; }
.pt-shots .pt-phone { margin: 0 auto; }
.pt-cap { margin: 14px 0 0; font-weight: 800; }
.pt-shots small { display: block; color: var(--ink-2); font-weight: 600; font-size: .92rem; }

.pt-datos { display: grid; gap: 14px; }
.pt-datos .pt-card { background: var(--peach-wash); }
.pt-datos .pt-card::before { background: var(--peach); }

.pt-final { margin: 24px 0 48px; padding: 36px 24px; border-radius: 28px; background: var(--sage-ink); color: var(--on-sage); text-align: center; }
.pt-final h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 5vw, 2rem); }
.pt-final p { margin: 0 auto 20px; max-width: 32em; }
.pt-final .btn-primary { background: var(--surface); color: var(--sage-ink); box-shadow: none; }
html[data-theme="noche"] .pt-final .btn-primary { color: #1C1A17; background: var(--sage-ink); }
.pt-final .pt-cta { justify-content: center; }
.pt-final .pt-cta .btn { flex: 0 1 220px; }
.pt-final .btn-soft { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.pt-final .pt-aviso { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); color: inherit; }
.pt-final :focus-visible { outline-color: #fff; }
html[data-theme="noche"] .pt-final { background: var(--sage-soft); color: var(--ink); }
html[data-theme="noche"] .pt-final .pt-play { background: var(--surface); }

.pt-foot { padding: 28px 0 max(36px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: .95rem; }
.pt-foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 10px; }
.pt-foot p { margin: 0; }

@media (min-width: 720px) {
  body { font-size: 18px; }
  .pt-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-shots { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .pt-datos { grid-template-columns: repeat(3, 1fr); }
  .pt-cta .btn { flex: 0 1 auto; min-width: 190px; }
}
@media (min-width: 960px) {
  .pt-wrap { padding: 0 32px; }
  .pt-hero { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; padding: 40px 0 72px; }
  .pt-hero-art .pt-phone { max-width: 320px; transform: rotate(2deg); }
  .pt-grid { grid-template-columns: repeat(4, 1fr); }
  .pt-sec { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
