/* ley21719.valladares.org — corporativo, fondo blanco, azul marino institucional (#0b1f4b)
   con acento turquesa como la app; rojo/ámbar solo para hablar de multas. */
:root {
  --navy: #0b1f4b;
  --navy-2: #13306b;
  --teal: #0d9488;
  --teal-2: #5eead4;
  --red: #c2410c;
  --amber: #b45309;
  --bg: #ffffff;
  --bg-2: #f4f6fa;
  --ink: #0f1b33;
  --ink-2: #44506a;
  --ink-3: #6b7690;
  --line: #e3e7ef;
  --shadow: 0 1px 3px rgba(11, 31, 75, .06), 0 16px 40px -22px rgba(11, 31, 75, .3);
  --radius: 16px;
  --wrap: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
.h3 { font-size: 1.25rem; }
.mt { margin-top: 1.6em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.fine, .muted { color: var(--ink-3); font-size: .88rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 760px; }
.lead strong { color: var(--navy); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1em; padding: 6px 12px; border-radius: 8px; background: #e7f6f4; color: var(--teal); font-weight: 700; font-size: .8rem; letter-spacing: .02em; }
.eyebrow-light { background: rgba(94, 234, 212, .14); color: var(--teal-2); }
.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 17px; height: 17px; }
.ic-xs { width: 12px; height: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font: 650 .97rem var(--font); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 22px -12px rgba(11, 31, 75, .8); }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-lg { padding: 14px 22px; font-size: 1.02rem; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--navy-2); font: 600 .92rem var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 15px; border-radius: 12px; background: #0b0b10; color: #fff; text-decoration: none; transition: transform .15s; }
.store:hover { transform: translateY(-2px); }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: .7rem; color: #c9cbd6; }
.store b { font-size: 1.15rem; font-weight: 650; }
.store-ic { width: 26px; height: 26px; }
.stores-sm .store { padding: 7px 14px 7px 11px; } .stores-sm .store b { font-size: .98rem; } .stores-sm .store-ic { width: 20px; height: 20px; }

/* Franja de independencia */
.topnote { background: var(--navy); color: #dbe4f5; font-size: .84rem; }
.topnote-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-top: 7px; padding-bottom: 7px; }
.topnote span { display: inline-flex; align-items: center; gap: 6px; }
.topnote b { color: #fff; }
.topnote a { color: var(--teal-2); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.topnote a:hover { text-decoration: underline; }

/* Encabezado */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { border-radius: 9px; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-size: 1.12rem; font-weight: 800; }
.brand small { font-size: .74rem; color: var(--ink-3); font-weight: 600; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav > a:not(.btn) { padding: 8px 11px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .94rem; }
.nav > a:not(.btn):hover, .nav > a[aria-current] { color: var(--navy); background: var(--bg-2); }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; }
.nav-burger { display: none; margin-left: auto; padding: 8px; cursor: pointer; color: var(--navy); }
@media (max-width: 920px) {
  .nav-burger { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav > a:not(.btn) { padding: 12px; }
  .nav-cta { margin: 8px 0 0; }
}

/* Hero */
.hero { padding: 54px 0 40px; background: linear-gradient(180deg, #f4f7fc 0%, #fff 80%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Cuenta regresiva */
.countdown { padding: 26px; border-radius: 20px; background: var(--navy); color: #fff; box-shadow: 0 30px 60px -30px rgba(11, 31, 75, .8); position: relative; overflow: hidden; }
.countdown::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(94, 234, 212, .25), transparent 70%); }
.cd-label { margin: 0 0 14px; color: #c7d4ee; font-weight: 600; font-size: .95rem; }
.cd-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; z-index: 1; }
.cd-units div { display: flex; flex-direction: column; align-items: center; padding: 14px 6px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.cd-units b { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.cd-units div:first-child b { color: var(--teal-2); }
.cd-units span { margin-top: 6px; font-size: .78rem; color: #a9b8d8; text-transform: uppercase; letter-spacing: .06em; }
.cd-live { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--teal-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cd-live[hidden] { display: none; }
.cd-live small { color: #c7d4ee; font-weight: 500; font-size: .95rem; }
.cd-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; color: #c7d4ee; font-size: .92rem; position: relative; z-index: 1; flex-wrap: wrap; }
.cd-foot span { display: inline-flex; align-items: center; gap: 6px; }
.countdown .link-btn { color: var(--teal-2); }
.countdown.is-live .cd-units { display: none; }
.countdown-wide { max-width: 760px; margin: 0 auto; }

.facts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.facts li { padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.facts b { font-size: 1.45rem; color: var(--navy); font-weight: 800; }
.facts span { color: var(--ink-3); font-size: .88rem; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

/* Secciones */
.sec { padding: 76px 0; }
.sec-tight { padding: 36px 0 60px; }
.sec-alt { background: var(--bg-2); }
.sec-navy { background: linear-gradient(135deg, var(--navy), #0f2c66); color: #e5ecfa; }
.sec-navy h2 { color: #fff; }
.sec-navy .lead { color: #c7d4ee; }
.sec-navy .fine { color: #a9b8d8; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .sec { padding: 56px 0; } }
.card { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.pillar { display: flex; flex-direction: column; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c8d3e8; }
.pillar-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #eaf0fb; color: var(--navy-2); margin-bottom: 12px; }
.pillar:nth-child(2) .pillar-ic { background: #fff1e8; color: var(--red); }
.pillar:nth-child(3) .pillar-ic { background: #e7f6f4; color: var(--teal); }
.pillar p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.more { color: var(--navy-2); font-weight: 650; font-size: .92rem; display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--navy); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; color: var(--ink-2); }
.ticks .ic { color: var(--teal); margin-top: 4px; }
.ticks.warn .ic { color: var(--red); }
.ticks-light li { color: #dbe4f5; } .ticks-light .ic { color: var(--teal-2); }

/* Multas */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 20px; }
.level { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 5px solid #f59e0b; box-shadow: var(--shadow); }
.level-grave { border-top-color: #ea580c; } .level-gravisima { border-top-color: #b91c1c; }
.level-name { font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.level b { display: block; font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin: 4px 0 8px; }
.level b small { font-size: 1rem; color: var(--ink-3); }
.level p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) { .levels { grid-template-columns: 1fr; } }
.sim { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; font-weight: 650; color: var(--navy); font-size: .93rem; }
.field small { font-weight: 400; color: var(--ink-3); }
.field input, .field select { font: 600 1.05rem var(--font); color: var(--ink); background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(19, 48, 107, .12); }
.sim-out { padding: 16px 18px; border-radius: 14px; background: #fff4ed; border: 1px solid #fed7c3; display: flex; flex-direction: column; gap: 2px; }
.sim-out small { color: var(--amber); font-weight: 700; }
.sim-out > b { font-size: 2rem; color: #9a3412; font-weight: 800; font-variant-numeric: tabular-nums; }
.sim-out span { display: flex; flex-direction: column; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #fdba8c; }
.sim-out span b { font-size: 1.3rem; color: #9a3412; }

/* App */
.app-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.phones { position: relative; height: 520px; }
.phone { position: absolute; width: 230px; border-radius: 36px; padding: 9px; background: #0b0f1d; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 2px #2b3250; }
.phone img { border-radius: 28px; }
.phone-front { left: 8%; top: 10px; transform: rotate(-4deg); z-index: 2; animation: float 7s ease-in-out infinite; }
.phone-back { right: 6%; top: 60px; transform: rotate(5deg); opacity: .95; }
@keyframes float { 50% { transform: rotate(-4deg) translateY(-10px); } }
@media (max-width: 860px) { .app-grid { grid-template-columns: 1fr; } .phones { height: 460px; max-width: 420px; margin: 0 auto; width: 100%; } .phone { width: 190px; } }

/* Aviso y aliado */
.disclaimer { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 28px; border-radius: 20px; background: #f3f8f7; border: 1px solid #cfe9e5; }
.disc-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; color: var(--teal); border: 1px solid #cfe9e5; }
.disc-ic .ic { width: 28px; height: 28px; }
.disclaimer p { color: var(--ink-2); }
.partner { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 700; margin-bottom: 12px; transition: box-shadow .2s, transform .15s; }
.partner:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.partner img { width: 200px; height: auto; }
.partner span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 600px) { .disclaimer { grid-template-columns: 1fr; } }

/* Páginas */
.page-head { padding: 40px 0 10px; background: linear-gradient(180deg, #f4f7fc, #fff); }
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .87rem; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.timeline { list-style: none; margin: 24px 0 0; padding: 0 0 0 22px; border-left: 3px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.tl { position: relative; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.tl::before { content: ""; position: absolute; left: -33px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--navy-2); }
.tl-key { border-color: var(--teal); box-shadow: var(--shadow); }
.tl-key::before { background: var(--teal); border-color: var(--teal); }
.tl-date { display: inline-block; font-weight: 700; color: var(--teal); font-size: .9rem; margin-bottom: 4px; }
.tl p { margin: 0; color: var(--ink-2); }
.rights { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.right { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.right-k { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 10px; }
.right p { margin: 0; color: var(--ink-2); }
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.term { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.term b { font-size: 1.35rem; color: var(--navy); }
.term span { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 860px) { .terms { grid-template-columns: 1fr 1fr; } }

/* Checklist */
.progress-card { text-align: center; position: sticky; top: 100px; }
.prog-label { font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.ring { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring-bg { stroke: var(--bg-2); }
.ring-fg { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .5s ease; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; color: var(--navy); }
.prog-count { color: var(--ink-2); margin: 10px 0; }
.prog-actions { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.prog-done { margin: 14px 0 0; padding: 12px; border-radius: 12px; background: #e7f6f4; color: #0f5d56; font-weight: 600; }
.checklist { display: grid; gap: 18px; }
.ck-group { margin: 0; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.ck-group legend { display: flex; align-items: center; gap: 10px; padding: 0 6px; font-weight: 800; color: var(--navy); font-size: 1.08rem; }
.ck-group legend > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--navy); color: #fff; font-size: .85rem; }
.ck-group legend small { margin-left: 6px; font-weight: 600; color: var(--ink-3); font-size: .85rem; }
.ck { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--line); cursor: pointer; }
.ck:last-child { border-bottom: 0; }
.ck input { position: absolute; opacity: 0; pointer-events: none; }
.ck-box { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 2px; border-radius: 7px; border: 2px solid #c3cce0; color: transparent; transition: background .15s, border-color .15s; }
.ck input:checked + .ck-box { background: var(--teal); border-color: var(--teal); color: #fff; }
.ck input:focus-visible + .ck-box { box-shadow: 0 0 0 4px rgba(13, 148, 136, .25); }
.ck-text { display: flex; flex-direction: column; }
.ck-text b { font-weight: 600; color: var(--ink); }
.ck-text small { color: var(--ink-3); }
.ck input:checked ~ .ck-text b { color: var(--ink-3); }
@media (max-width: 860px) { .progress-card { position: static; } }

/* Preguntas */
.faq-wrap { max-width: 860px; }
.faq { margin-top: 24px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2, .faq summary h3 { margin: 0; font-size: 1.05rem; color: var(--navy); }
.faq-chev { color: var(--navy-2); transition: transform .2s; }
.faq details[open] .faq-chev { transform: rotate(180deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* Aparición al desplazar */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Pie */
.foot { position: relative; background: #fff; border-top: 1px solid var(--line); padding: 54px 0 30px; font-size: .93rem; }
.foot-band { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--teal), #22d3ee, #6366f1, var(--navy)); background-size: 200% 100%; animation: band 9s linear infinite; }
@keyframes band { to { background-position: -200% 0; } }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 28px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 8px; }
.foot-grid a:not(.brand):not(.store) { color: var(--ink-2); text-decoration: none; }
.foot-grid a:not(.brand):not(.store):hover { color: var(--navy); text-decoration: underline; }
.foot-brand p { color: var(--ink-2); margin: 6px 0 0; }
.foot-h { font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.studio-sign { margin-top: 40px; padding: 30px 20px 6px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; }
.studio-ante { margin: 0 0 12px; color: var(--ink-3); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.studio { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; padding: 10px 20px 10px 10px; border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s; }
.studio:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(99, 102, 241, .5); }
.studio-logo { border-radius: 14px; flex: none; }
.studio-v { stroke-dasharray: 560; stroke-dashoffset: 560; }
.studio-sign.in .studio-v { animation: draw 1.4s cubic-bezier(.6, .1, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.studio-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.studio-name { font-size: 1.4rem; font-weight: 800; }
.studio-name span { background: linear-gradient(120deg, #22d3ee, #6366f1 50%, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.studio-txt small { color: var(--ink-3); font-size: .8rem; font-weight: 600; }
.studio-about { max-width: 640px; margin: 14px auto 6px; color: var(--ink-2); font-size: .92rem; }
.studio-legal { margin: 0; color: var(--ink-3); font-size: .8rem; }
.foot-legal { margin-top: 18px; color: var(--ink-3); font-size: .82rem; text-align: center; }
.foot-legal p { margin: 0 0 4px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }
.notfound { min-height: 60vh; display: grid; place-items: center; }
.big404 { font-size: 6rem; font-weight: 800; color: var(--navy); margin: 0; }

.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 18px 20px; background: #fff; color: var(--ink); border: 1.5px solid var(--navy); border-radius: 16px; box-shadow: 0 20px 60px -10px rgba(11, 31, 75, .35); font-size: .9rem; }
.cookie-banner[hidden] { display: none; }
.cookie-text p { margin: 0; color: var(--ink-2); }
.cookie-title { font-weight: 700; color: var(--navy) !important; margin-bottom: 2px !important; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-btn { font: 650 .92rem var(--font); padding: 10px 18px; border-radius: 10px; cursor: pointer; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); }
.cookie-btn:hover { background: var(--navy); color: #fff; }
@media (max-width: 620px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-actions .cookie-btn { flex: 1; } }

@media print {
  .topnote, .top, .foot, .cookie-banner, .disclaimer, .page-head .crumbs, .prog-actions { display: none !important; }
  .sec { padding: 12px 0; } .sec-alt { background: #fff; } .ck-group { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .studio-v { stroke-dashoffset: 0; }
}

/* Móvil: que las columnas de grid no se ensanchen por su contenido */
.two-col > *, .hero-grid > *, .app-grid > * { min-width: 0; }
@media (max-width: 520px) {
  .countdown { padding: 20px 16px; }
  .cd-units { gap: 6px; }
  .cd-units div { padding: 12px 2px; }
  .cd-units span { font-size: .64rem; letter-spacing: .02em; }
  .field input, .field select { font-size: 1rem; }
}

/* ── Insignias de descarga (aspecto oficial) ───────────────── */
.stores { align-items: center; }
.stores-center { justify-content: center; }
.badge { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; height: 52px; min-width: 172px; padding: 0 18px 0 14px; border-radius: 11px; background: #000; color: #fff; border: 1px solid #a6a6a6; text-decoration: none; transition: transform .15s, box-shadow .2s; }
.badge:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .6); }
.badge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 6s ease-in-out infinite; }
.badge + .badge::after { animation-delay: 1.4s; }
.badge-ic { width: 26px; height: 26px; flex: none; }
.badge span { display: flex; flex-direction: column; line-height: 1.05; }
.badge small { font-size: .66rem; letter-spacing: .02em; color: #fff; opacity: .9; }
.badge b { font-size: 1.32rem; font-weight: 600; letter-spacing: -.01em; }
.stores-sm .badge { height: 44px; min-width: 0; padding: 0 14px 0 11px; } .stores-sm .badge b { font-size: 1.08rem; } .stores-sm .badge-ic { width: 22px; height: 22px; }
@keyframes sheen { 0%, 72% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* Botón del encabezado */
.app-cta { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), #1d3f8a); color: #fff; text-decoration: none; box-shadow: 0 10px 22px -12px rgba(11, 31, 75, .9); transition: transform .15s, box-shadow .2s; }
.app-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(11, 31, 75, .9); }
.app-cta img { border-radius: 7px; }
.app-cta span { display: flex; flex-direction: column; line-height: 1.05; }
.app-cta small { font-size: .66rem; color: var(--teal-2); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.app-cta b { font-size: .92rem; }

/* Tarjeta de descarga con QR */
.dl-card { margin: 26px 0 14px; padding: 22px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); max-width: 520px; }
.dl-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.dl-head img { border-radius: 14px; }
.dl-head span { display: flex; flex-direction: column; line-height: 1.2; }
.dl-head b { color: var(--navy); font-size: 1.1rem; }
.dl-head small { color: var(--ink-3); }
.dl-qrs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--navy); font-weight: 650; font-size: .88rem; transition: border-color .2s, transform .15s; }
.dl-qr:hover { border-color: var(--navy-2); transform: translateY(-2px); }
.dl-qr img { width: 120px; height: 120px; }
.dl-qr span { display: inline-flex; align-items: center; gap: 5px; }
.dl-or { text-align: center; color: var(--ink-3); font-size: .85rem; margin: 14px 0 0; }
.dl-card .stores { margin: 10px 0 0; }
@media (max-width: 700px) { .dl-qrs { display: none; } .dl-or { display: none; } }
.ticks.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
@media (max-width: 560px) { .ticks.two { grid-template-columns: 1fr; } }

/* Teléfono con pantallas que cambian solas (efecto GIF) */
.phone-show { position: relative; height: 560px; display: grid; place-items: center; }
.phone-show .phone { position: relative; width: 250px; border-radius: 40px; padding: 10px; background: #0b0f1d; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8), inset 0 0 0 2px #2b3250; transform: rotate(-3deg); }
.slides { position: relative; border-radius: 31px; overflow: hidden; aspect-ratio: 540 / 1173; background: #fff; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s ease, transform 3s ease; }
.slides img.on { opacity: 1; transform: none; }
.badge-float { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 700; font-size: .88rem; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); animation: bob 6s ease-in-out infinite; }
.badge-float .ic { color: var(--teal); }
.bf1 { left: 0; top: 18%; } .bf2 { right: 0; top: 48%; animation-delay: -2s; } .bf3 { left: 6%; bottom: 12%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 860px) { .phone-show { height: 520px; } .phone-show .phone { width: 220px; } }

/* ── Bloque del aliado (rojo corporativo de Gobierna Tus Datos) ── */
.sec-partner { padding: 70px 0; background: linear-gradient(180deg, #fff, #f7f8fb); }
.partner-band { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(11, 31, 75, .45); }
.pb-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 40px 30px; background: linear-gradient(135deg, #af0303 0%, #7a0202 100%); color: #fff; text-align: center; }
.pb-brand img { width: min(300px, 90%); height: auto; position: relative; z-index: 1; }
.pb-brand p { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; opacity: .92; position: relative; z-index: 1; }
.pb-shine { position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 255, 255, .16) 80%, transparent 90%); animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pb-body { padding: 36px; }
.pb-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.pb-body .lead { font-size: 1.02rem; }
.pb-steps { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: s; }
.pb-steps li { position: relative; padding: 14px; border-radius: 14px; background: #fdf3f3; border: 1px solid #f5d4d4; display: flex; flex-direction: column; gap: 3px; }
.pb-steps li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #af0303; color: #fff; font-weight: 800; font-size: .82rem; margin-bottom: 4px; }
.pb-steps li b { color: var(--navy); font-size: .97rem; }
.pb-steps li small { color: var(--ink-2); font-size: .84rem; line-height: 1.4; }
.pb-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 18px; color: #af0303; font-weight: 800; z-index: 1; }
.btn-partner { background: linear-gradient(135deg, #af0303, #7a0202); color: #fff; box-shadow: 0 14px 28px -14px rgba(175, 3, 3, .8); }
.btn-partner:hover { filter: brightness(1.08); }
.pb-body .fine { margin-top: 14px; }
@media (max-width: 960px) { .partner-band { grid-template-columns: 1fr; } .pb-steps { grid-template-columns: 1fr 1fr; } .pb-steps li::after { display: none; } }
@media (max-width: 480px) { .pb-steps { grid-template-columns: 1fr; } .pb-body { padding: 24px; } }

/* ── Efectos corporativos ──────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55; }
.hero .wrap { position: relative; z-index: 1; }
.cd-units b { display: inline-block; }
.cd-units b.flip { animation: flip .45s ease; }
@keyframes flip { 0% { transform: translateY(-30%); opacity: .2; } 100% { transform: none; opacity: 1; } }
.countdown { animation: glow 4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 30px 70px -26px rgba(13, 148, 136, .55); } }
.topnote a { position: relative; }
@media (prefers-reduced-motion: reduce) { .net { display: none; } .pb-shine { animation: none; } }
.top .nav > a.app-cta, .top .nav > a.app-cta:hover { color: #fff; background: linear-gradient(135deg, var(--navy), #1d3f8a); padding: 6px 14px 6px 6px; border-radius: 12px; }
