/* ProgresoPOS Preventa · el sitio (30-11-2026). Naranjo, como el programa. */
:root {
  --naranjo: #f97316;
  --naranjo-fuerte: #c2410c;
  --naranjo-oscuro: #7c2d12;
  --naranjo-tenue: #fff7ed;
  --tinta: #111827;
  --tenue: #4b5563;
  --apagado: #6b7280;
  --borde: #e5e7eb;
  --fondo: #ffffff;
  --fondo-alterno: #f8fafc;
  --barra: #1f2430;
  --ok: #047857;
  --radio: 16px;
  --ancho: 1180px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--tinta);
  background: var(--fondo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
.contenedor { width: min(var(--ancho), 100% - 2.5rem); margin-inline: auto; }
.seccion { padding: 5.5rem 0; }
.alterna { background: var(--fondo-alterno); border-block: 1px solid var(--borde); }
.cabeza-seccion { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.cabeza-seccion p { color: var(--tenue); font-size: 1.1rem; margin-top: 0.9rem; }
.antetitulo { display: inline-block; color: var(--naranjo-fuerte); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.8rem; }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.85rem 1.4rem; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: transform 0.15s, background 0.15s, border-color 0.15s; cursor: pointer; font-size: 1rem; }
.boton:hover { transform: translateY(-1px); }
.boton.principal { background: var(--naranjo); color: #fff; box-shadow: 0 10px 24px -12px rgba(249, 115, 22, 0.9); }
.boton.principal:hover { background: #ea580c; }
.boton.secundario { background: #fff; border-color: var(--borde); color: var(--tinta); }
.boton.secundario:hover { border-color: #cbd5e1; }
.boton.grande { padding: 1.05rem 1.7rem; font-size: 1.08rem; }
.boton svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* La barra de arriba */
.barra { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--borde); }
.barra .contenedor { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.marca { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; font-weight: 800; font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.2rem; }
.marca img { width: 40px; height: 40px; border-radius: 11px; }
.marca small { display: block; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.72rem; color: var(--naranjo-fuerte); letter-spacing: 0.06em; text-transform: uppercase; }
.menu { display: flex; gap: 1.6rem; margin-left: auto; }
.menu a { text-decoration: none; color: var(--tenue); font-weight: 600; font-size: 0.95rem; }
.menu a:hover { color: var(--tinta); }
.barra .boton { padding: 0.65rem 1.1rem; font-size: 0.95rem; }
@media (max-width: 900px) { .menu { display: none; } .barra .boton { margin-left: auto; } }

/* Portada */
.portada { padding: 4.5rem 0 3rem; background: radial-gradient(1200px 500px at 85% -10%, #ffedd5 0%, rgba(255, 237, 213, 0) 60%), #fff; }
.portada .contenedor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 3rem; align-items: center; }
.portada p.bajada { color: var(--tenue); font-size: 1.2rem; margin: 1.3rem 0 2rem; max-width: 560px; }
.portada .acciones { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.portada .nota { margin-top: 1rem; color: var(--apagado); font-size: 0.92rem; }
.portada .nota b { color: var(--ok); }
.marco { border-radius: 14px; border: 1px solid var(--borde); background: #fff; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.35), 0 8px 20px -12px rgba(15, 23, 42, 0.2); overflow: hidden; }
.marco .puntos { display: flex; gap: 6px; padding: 10px 12px; background: #f3f4f6; border-bottom: 1px solid var(--borde); }
.marco .puntos i { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.marco .puntos i:first-child { background: #fca5a5; }
.marco .puntos i:nth-child(2) { background: #fcd34d; }
.marco .puntos i:nth-child(3) { background: #86efac; }
@media (max-width: 960px) { .portada .contenedor { grid-template-columns: 1fr; } }

/* Para quién */
.rubros { padding: 1.6rem 0; border-block: 1px solid var(--borde); background: var(--fondo-alterno); }
.rubros .contenedor { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem 1.6rem; color: var(--tenue); font-weight: 600; }
.rubros b { color: var(--tinta); }

/* Cómo funciona */
.pasos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; counter-reset: paso; }
.paso { position: relative; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 1.4rem 1.2rem; }
.paso::before { counter-increment: paso; content: counter(paso); display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--naranjo); color: #fff; font-weight: 800; margin-bottom: 0.9rem; }
.paso h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.paso p { color: var(--tenue); font-size: 0.93rem; }
.paso small { display: inline-block; margin-top: 0.8rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--naranjo-tenue); color: var(--naranjo-fuerte); font-weight: 700; font-size: 0.75rem; }
@media (max-width: 1000px) { .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pasos { grid-template-columns: 1fr; } }

/* Bloques con captura */
.bloque { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 3.5rem; align-items: center; }
.bloque + .bloque { margin-top: 5rem; }
.bloque.invertido > :first-child { order: 2; }
.bloque p { color: var(--tenue); font-size: 1.07rem; margin-top: 1rem; }
.bloque ul { margin: 1.3rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.bloque li { display: flex; gap: 0.6rem; align-items: flex-start; }
.bloque li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--naranjo-tenue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 960px) { .bloque { grid-template-columns: 1fr; gap: 2rem; } .bloque.invertido > :first-child { order: 0; } }

/* Funciones */
.funciones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.funcion { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 1.4rem; }
.funcion .ico { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--naranjo-tenue); color: var(--naranjo-fuerte); margin-bottom: 0.9rem; }
.funcion .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.funcion p { color: var(--tenue); font-size: 0.95rem; margin-top: 0.4rem; }
@media (max-width: 960px) { .funciones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .funciones { grid-template-columns: 1fr; } }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.rol { border-radius: var(--radio); padding: 1.5rem; background: var(--barra); color: #fff; }
.rol span { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 999px; background: rgba(249, 115, 22, 0.2); color: #fdba74; font-weight: 700; font-size: 0.78rem; margin-bottom: 0.8rem; }
.rol p { color: #d1d5db; font-size: 0.95rem; margin-top: 0.5rem; }
@media (max-width: 960px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } }

/* Precios */
.planes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--borde); border-radius: 20px; padding: 2rem 1.7rem; }
.plan.destacado { border: 2px solid var(--naranjo); box-shadow: 0 24px 50px -30px rgba(249, 115, 22, 0.8); position: relative; }
.plan.destacado::before { content: 'Recomendado'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--naranjo); color: #fff; font-weight: 700; font-size: 0.8rem; padding: 0.25rem 0.9rem; border-radius: 999px; }
.plan .precio { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2.6rem; font-weight: 800; margin-top: 0.8rem; }
.plan .precio small { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--apagado); }
.plan .detalle { color: var(--tenue); font-size: 0.95rem; margin-top: 0.3rem; }
.plan ul { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: 0.55rem; font-size: 0.95rem; }
.plan li { display: flex; gap: 0.5rem; }
.plan li::before { content: '✓'; color: var(--ok); font-weight: 800; }
.plan .boton { margin-top: auto; }
.extras { margin-top: 2rem; border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; background: #fff; }
.extras table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.extras th, .extras td { padding: 0.9rem 1.2rem; text-align: right; border-bottom: 1px solid var(--borde); }
.extras th:first-child, .extras td:first-child { text-align: left; }
.extras thead th { background: var(--fondo-alterno); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--apagado); }
.extras tr:last-child td { border-bottom: 0; }
.letra-chica { color: var(--apagado); font-size: 0.9rem; text-align: center; margin-top: 1.2rem; }
@media (max-width: 960px) { .planes { grid-template-columns: 1fr; } }

/* Tramos mensuales (1-12-2026) */
.tramos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.tramo { position: relative; background: #fff; border: 1px solid var(--borde); border-radius: 18px; padding: 1.6rem 1.3rem; text-align: center; }
.tramo h3 { font-size: 1.05rem; }
.tramo .precio { font-family: 'Bricolage Grotesque', sans-serif; font-size: 2rem; font-weight: 800; margin-top: 0.6rem; }
.tramo .precio small { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--apagado); }
.tramo .detalle { color: var(--ok); font-weight: 600; font-size: 0.92rem; margin-top: 0.2rem; }
.tramo.destacado { border: 2px solid var(--naranjo); box-shadow: 0 24px 50px -30px rgba(249, 115, 22, 0.8); }
.tramo.destacado::before { content: 'Recomendado'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--naranjo); color: #fff; font-weight: 700; font-size: 0.76rem; padding: 0.2rem 0.8rem; border-radius: 999px; white-space: nowrap; }
.extras td:last-child { color: var(--tenue); }
@media (max-width: 1000px) { .tramos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tramos { grid-template-columns: 1fr; } }

/* Descargas */
.descargas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.descarga { display: flex; gap: 1.2rem; align-items: flex-start; background: #fff; border: 1px solid var(--borde); border-radius: 20px; padding: 1.8rem; }
.descarga .ico { flex: none; width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--naranjo-tenue); color: var(--naranjo-fuerte); }
.descarga .ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.descarga p { color: var(--tenue); font-size: 0.95rem; margin: 0.4rem 0 1.1rem; }
.descarga .req { font-size: 0.85rem; color: var(--apagado); margin-top: 0.8rem; }
@media (max-width: 860px) { .descargas { grid-template-columns: 1fr; } }

/* Preguntas */
.preguntas { max-width: 820px; margin: 0 auto; display: grid; gap: 0.8rem; }
details { background: #fff; border: 1px solid var(--borde); border-radius: 14px; padding: 1.1rem 1.3rem; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::after { content: '+'; color: var(--naranjo-fuerte); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--tenue); margin-top: 0.7rem; }

/* Cierre y pie */
.cierre { background: var(--barra); color: #fff; padding: 5rem 0; text-align: center; }
.cierre p { color: #d1d5db; font-size: 1.15rem; margin: 1rem auto 2rem; max-width: 620px; }
.cierre .acciones { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; }
.cierre .boton.secundario { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.pie { padding: 2.5rem 0; color: var(--apagado); font-size: 0.9rem; }
.pie .contenedor { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.pie a { text-decoration: none; }
.pie a:hover { color: var(--tinta); }
