/* tulocalcito.com: la misma línea visual de la app (colores y letra de iOS; Inter fuera de Apple). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(../fonts/inter.woff2) format('woff2');
}

:root {
  --bg: #FFFFFF;
  --bg-2: #F5F5F7;
  --cell: #FFFFFF;
  --label: #1D1D1F;
  --label-2: #6C6C70;
  --label-3: #A2A2A7;
  --sep: #E3E3E8;
  --accent: #0A6CFF;
  --accent-soft: #E7F0FF;
  --green: #1DA851;
  --star: #FF9F0A;
  --sombra: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --bg-2: #111113; --cell: #1C1C1E;
    --label: #F5F5F7; --label-2: #98989F; --label-3: #636366; --sep: #2C2C2E;
    --accent: #3D8EFF; --accent-soft: #0F2546; --green: #30D158;
    --sombra: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* barra superior */
.barra {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: .5px solid var(--sep);
}
.barra .dentro {
  max-width: 1040px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.marca { display: flex; align-items: center; gap: 10px; color: var(--label); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.marca:hover { text-decoration: none; }
.marca img { width: 34px; height: 34px; border-radius: 8px; }
.barra nav { display: flex; gap: 18px; font-size: 15px; }
.barra nav a { color: var(--label-2); }
.barra nav a:hover { color: var(--label); text-decoration: none; }

/* portada */
.portada { text-align: center; padding: 72px 20px 56px; max-width: 820px; margin: 0 auto; }
.portada .icono { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--sombra); }
.portada h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.07; letter-spacing: -.025em; margin: 26px 0 14px; font-weight: 800; }
.portada p.sub { font-size: clamp(18px, 2.4vw, 22px); color: var(--label-2); margin: 0 auto; max-width: 620px; }
.pronto {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  padding: 10px 18px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  font-weight: 600; font-size: 15px;
}
.pronto .punto { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.probar { display: block; margin-top: 14px; font-size: 15px; }

.seccion { background: var(--bg-2); padding: 64px 20px; }
.seccion.blanca { background: var(--bg); }
.seccion .dentro { max-width: 1040px; margin: 0 auto; }
.seccion h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 10px; text-align: center; font-weight: 800; }
.seccion p.intro { text-align: center; color: var(--label-2); max-width: 620px; margin: 0 auto 36px; font-size: 19px; }
.tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tarjeta { background: var(--cell); border-radius: 18px; padding: 24px; box-shadow: var(--sombra); }
.tarjeta .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.tarjeta h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.01em; }
.tarjeta p { margin: 0; color: var(--label-2); font-size: 16px; }

.precio { max-width: 520px; margin: 0 auto; text-align: center; background: var(--cell); border-radius: 22px; padding: 32px 28px; box-shadow: var(--sombra); }
.precio .monto { font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.precio .monto small { font-size: 20px; font-weight: 600; color: var(--label-2); letter-spacing: 0; }
.precio ul { text-align: left; padding: 0; margin: 22px 0 0; list-style: none; }
.precio li { padding: 9px 0 9px 30px; border-top: .5px solid var(--sep); position: relative; }
.precio li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2.4px solid var(--green); border-bottom: 2.4px solid var(--green); transform: rotate(-45deg); }

/* documentos */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 8px; font-weight: 800; }
.doc .fecha { color: var(--label-2); font-size: 15px; margin: 0 0 28px; }
.doc .resumen { background: var(--bg-2); border-radius: 16px; padding: 18px 20px; margin: 0 0 32px; }
.doc .resumen p { margin: 0 0 8px; }
.doc .resumen ul { margin: 0; padding-left: 20px; }
.doc h2 { font-size: 24px; letter-spacing: -.015em; margin: 40px 0 10px; line-height: 1.25; }
.doc h3 { font-size: 19px; margin: 26px 0 6px; }
.doc p, .doc li { color: var(--label); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc .nota { color: var(--label-2); font-size: 15px; }
.boton {
  display: inline-block; background: var(--accent); color: #fff !important; font-weight: 600;
  padding: 12px 22px; border-radius: 12px; margin: 6px 0;
}
.boton:hover { text-decoration: none; filter: brightness(1.08); }
.pasos { counter-reset: paso; list-style: none; padding: 0 !important; }
.pasos li { counter-increment: paso; position: relative; padding: 8px 0 8px 44px; }
.pasos li::before {
  content: counter(paso); position: absolute; left: 0; top: 6px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: 15px;
}
details { border-top: .5px solid var(--sep); padding: 14px 0; }
details:last-of-type { border-bottom: .5px solid var(--sep); }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--label-3); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: var(--label-2); }

/* pie */
.pie { border-top: .5px solid var(--sep); padding: 28px 20px 40px; font-size: 14px; color: var(--label-2); }
.pie .dentro { max-width: 1040px; margin: 0 auto; }
.pie nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.pie nav a { color: var(--label-2); }
.pie p { margin: 4px 0; }

@media (max-width: 640px) {
  .barra nav { display: none; }
  .portada { padding-top: 48px; }
  .seccion { padding: 48px 20px; }
}
