:root {
  color-scheme: light only;
  --bg: #fbf8f2;
  --bg-2: #f3eee3;
  --ink: #1d2a20;
  --ink-2: #4b5a4f;
  --muted: #7d8a80;
  --line: #e2dccd;
  --brand: #2f5d3a;
  --brand-2: #3f7a4d;
  --accent: #e8a33d;
  --dark: #13201a;
  --dark-2: #1c2e25;
  --ok: #2e8b57;
  --bad: #c0392b;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 40, 25, .08);
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Fraunces', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
section { padding: 88px 0; }
.alt { background: var(--bg-2); }
.dark { background: var(--dark); color: #eef3ee; }
.dark .lead, .dark p { color: #b9c8bd; }
.dark .eyebrow { color: var(--accent); }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #1d1405; }
.btn-primary:hover { background: #f0b34f; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn-sm { padding: .55em 1em; font-size: .9rem; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(19, 32, 26, .92); backdrop-filter: blur(10px); color: #fff; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-size: 1.35rem; font-weight: 700; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; font-size: 17px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: #d6e2d9; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--dark); padding: 12px 16px 20px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links .btn { margin-top: 8px; justify-content: center; }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% 0%, #2a4a37 0%, var(--dark) 60%); color: #fff; padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero p.lead { color: #c4d3c8; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 6px 14px; border-radius: 999px; font-size: .85rem; margin-bottom: 20px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 28px 0 16px; }
.hero-note { display: flex; gap: 20px; flex-wrap: wrap; font-size: .88rem; color: #9fb3a5; }
.hero-note span::before { content: '✓ '; color: var(--accent); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Teléfono simulado */
.phone { width: 280px; margin-inline: auto; background: #0b120e; border-radius: 40px; padding: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.45); border: 1px solid #2b3a31; position: relative; }
.phone-screen { background: #1a1a1a; border-radius: 30px; min-height: 520px; padding: 18px 14px; overflow: hidden; position: relative; }
.phone-time { color: #fff; text-align: center; font-size: 13px; font-weight: 600; margin-bottom: 10px; opacity: .8; }
.push { background: rgba(255,255,255,.92); color: #111; border-radius: 16px; padding: 10px 12px; font-size: 12.5px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; animation: drop .6s ease both; }
.push .ic { width: 28px; height: 28px; border-radius: 7px; flex: none; display: grid; place-items: center; font-size: 15px; }
.push b { display: block; font-size: 12px; }
@keyframes drop { from { transform: translateY(-20px); opacity: 0; } }

/* Tarjeta (pase) */
.pass { border-radius: 18px; padding: 16px; color: #fff; background: var(--brand); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.pass-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 700; }
.pass-logo { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.2); display: grid; place-items: center; overflow: hidden; font-size: 18px; }
.pass-logo img { width: 100%; height: 100%; object-fit: cover; }
.stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 12px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255,255,255,.45); display: grid; place-items: center; font-size: 20px; transition: transform .3s; }
.stamp.on { background: rgba(255,255,255,.95); border-style: solid; border-color: #fff; transform: scale(1.02); }
.stamp.stage { border-color: var(--accent); }
.pass-row { display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.pass-row b { display: block; font-size: 15px; text-transform: none; letter-spacing: 0; opacity: 1; }
.pass-qr { background: #fff; border-radius: 10px; padding: 10px; width: 130px; margin: 14px auto 0; }
.pass-qr img, .pass-qr canvas, .pass-qr svg { display: block; width: 100%; height: auto; }

/* Grillas y tarjetas */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.dark .card { background: var(--dark-2); border-color: #2c4136; box-shadow: none; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #fdf0d9; color: #8a5a10; text-transform: uppercase; letter-spacing: .05em; }
.tag.green { background: #e1efe4; color: var(--brand); }

/* Pasos */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* Carrusel */
.carousel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 18px; scrollbar-width: thin; }
.carousel > * { scroll-snap-align: start; flex: 0 0 260px; }
.carousel-ctrl { display: flex; gap: 8px; }
.carousel-ctrl button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; }

/* Comparativa */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { background: var(--bg-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.compare td.no { color: var(--bad); }
.compare td.yes { color: var(--ok); font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* Precios */
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 10px 0 34px; }
.toggle button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.toggle button.on { background: var(--brand); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; text-align: left; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 20px 50px rgba(47,93,58,.18); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .08em; }
.plan .price { font-family: var(--display); font-size: 2.8rem; font-weight: 700; line-height: 1; margin: 10px 0 4px; }
.plan .price small { font-family: var(--font); font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan .save { font-size: .85rem; color: var(--ok); font-weight: 600; min-height: 1.4em; }
.plan ul { list-style: none; padding: 0; margin: 18px 0; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; font-size: .95rem; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-2); font-weight: 800; }
.plan .limits { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 18px; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-2); }

/* Formularios */
label { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(63,122,77,.15); }
.range-row { display: flex; align-items: center; gap: 12px; }
.range-row input[type=range] { flex: 1; padding: 0; border: 0; box-shadow: none; }
.range-row output { min-width: 70px; font-weight: 700; text-align: right; }
.result { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 24px; margin-top: 18px; }
.result .big { font-family: var(--display); font-size: 2.4rem; font-weight: 700; }

/* Footer */
footer { background: var(--dark); color: #a9bbaf; padding: 56px 0 30px; font-size: .92rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
footer h4 { color: #fff; font-size: .95rem; margin: 0 0 12px; }
footer a { color: #a9bbaf; text-decoration: none; display: block; padding: 4px 0; }
footer a:hover { color: #fff; }
footer .bottom { border-top: 1px solid #2a3c32; margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 8px 24px rgba(0,0,0,.25); text-decoration: none; z-index: 60; }
.page-head { background: var(--dark); color: #fff; padding: 64px 0 56px; }
.page-head .lead { color: #bccbc0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.toc a { background: rgba(255,255,255,.08); color: #e4ece6; padding: 7px 13px; border-radius: 999px; text-decoration: none; font-size: .88rem; }
.toc a:hover { background: rgba(255,255,255,.18); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.feature:nth-child(even) .feature-visual { order: -1; }
.feature-visual { background: var(--bg-2); border-radius: 22px; min-height: 220px; display: grid; place-items: center; font-size: 72px; }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; } .feature:nth-child(even) .feature-visual { order: 0; } }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.search { position: relative; max-width: 560px; }
.search input { padding-left: 44px; font-size: 1.05rem; }
.search::before { content: '🔍'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); }
.hidden { display: none !important; }
/* Con el modo de contraste de Windows, la tarjeta y los colores de muestra conservan sus colores reales */
@media (forced-colors: active) {
  .pass, .pass *, .pass-qr, .swatches button, .logo-mark, .push .ic { forced-color-adjust: none; }
}
.stat-big { font-family: var(--display); font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1; }
