/* Layout: minimalista y espacioso. Títulos enormes centrados, bloques redondeados que se alternan sobre fondo azul noche, una batería como protagonista, enlaces con flecha. */
:root {
  --bg: #12233F;
  --bg-2: #0D1A31;
  --tile: #1A2E52;
  --tile-2: #243B67;
  --ink: #F5F7FA;
  --muted: #B1BED6;
  --line: #33497A;
  --brand: #2059AD;
  --link: #6AA5FF;
  --accent: #E0C24A;
  --accent-ink: #1A1500;
  --ok: #4FD08C;
  --warn: #F2B84B;
  --crit: #FF8D7E;
  --f-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
:root { --logo: url(logo.png); }
.logo-img { display: block; background: var(--logo) center / contain no-repeat; aspect-ratio: 620 / 257; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--bg); color: var(--ink); font: 17px/1.5 var(--f-sans); letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg-2); }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.07; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 9vw, 5.6rem); }
h2 { font-size: clamp(2rem, 5.4vw, 3.5rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }

.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.center { text-align: center; }
.lede { font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: var(--muted); letter-spacing: -0.015em; line-height: 1.35; }
.eyebrow { font-size: 1.05rem; font-weight: 600; color: var(--accent); letter-spacing: -0.01em; }

/* Nav */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg-2) 82%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; }
.brand .logo-img { height: 48px; }
.nav { display: flex; gap: 22px; margin: 0 auto; }
.nav { gap: 6px; }
.nav a { text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 6px 14px; border-radius: 999px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="true"] { color: var(--ink); background: var(--tile-2); }
.site-head .btn { margin-left: 0; }
@media (max-width: 900px) {
  html { scroll-padding-top: 116px; }
  .site-head .wrap { flex-wrap: wrap; row-gap: 0; padding-top: 6px; }
  .site-head .btn { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
}

/* Botones y enlaces */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 24px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: 500 1.05rem var(--f-sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.12); }
.btn.yellow { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn.sm { min-height: 32px; padding: 4px 14px; font-size: 0.82rem; }
.btn.block { width: 100%; }
.more { color: var(--link); text-decoration: none; font-size: 1.15rem; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; }

/* Hero */
.hero { padding-block: 88px 96px; background: radial-gradient(ellipse 70% 60% at 50% 0%, color-mix(in srgb, var(--brand) 42%, transparent), transparent), var(--bg-2); overflow: hidden; }
.hero .stack { display: grid; gap: 18px; justify-items: center; }
.hero h1 span { background: linear-gradient(90deg, var(--link), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { max-width: 30ch; }
.hero .actions { margin-top: 10px; }
.product { position: relative; margin: 40px auto 0; width: min(620px, 100%); padding-bottom: 56px; }
.product::before { content: ""; position: absolute; inset: -10% -20% 0; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 55%, transparent), transparent); }
.product .logo-img { position: relative; width: 100%; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.open { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 4px 14px; border-radius: 999px; background: var(--tile-2); font-weight: 600; font-size: 0.85rem; color: var(--muted); }
.open::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.open.on { color: var(--ok); }
.open.on::before { background: var(--ok); }
.sede .row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.sede .nums { font-variant-numeric: tabular-nums; font-weight: 600; }
.sede .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.hours { margin: 16px 0 0; display: grid; gap: 10px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

/* Tiles */
.sec { padding-block: 96px; }
.sec.alt { background: var(--bg-2); }
.sec-head { display: grid; gap: 14px; justify-items: center; text-align: center; margin: 0 auto 48px; max-width: 28ch; }
.sec-head.wide { max-width: 40ch; }
.sec-head p { font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--muted); line-height: 1.35; }
.tile { background: var(--tile); border-radius: 28px; padding: clamp(24px, 4vw, 44px); }
.marcas { margin-top: 20px; display: grid; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-tile { display: grid; gap: 14px; align-content: start; justify-items: start; }
.cat-tile h3 { font-size: 2rem; }
.cat-tile .btn { margin-top: 6px; }
.cat-tools { display: grid; gap: 18px; }
.cat-tools h3 { font-size: 1.5rem; }
.fchip { min-height: 38px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 500 0.92rem var(--f-sans); cursor: pointer; }
.fchip:hover { background: var(--tile-2); }
.fchip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.plist { list-style: none; margin: 24px 0 0; padding: 0; }
.plist li { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 0.8fr) auto; gap: 12px 20px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.plist .ref { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.plist .brand-name { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.plist .st small { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.plist .st b { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.plist-foot { display: grid; gap: 14px; justify-items: center; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }
.plist-empty { padding: 24px 0 8px; color: var(--muted); }
@media (max-width: 640px) { .plist li { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plist li > div:first-child { grid-column: 1 / -1; } .plist .btn { grid-column: 1 / -1; width: 100%; } }
.about { max-width: 66ch; margin: 0 auto; display: grid; gap: 18px; font-size: 1.15rem; color: var(--muted); line-height: 1.55; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* Formularios */
.field { display: grid; gap: 8px; margin-top: 18px; }
.field label { font-weight: 600; font-size: 0.95rem; }
select, input[type="month"], input[type="search"] { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); font: 500 1rem var(--f-sans); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--brand); }

/* Buscador */
.finder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .finder { grid-template-columns: minmax(0, 1fr); } }
.finder h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.result { display: grid; gap: 14px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.spec { background: var(--tile-2); border-radius: 20px; padding: 18px; }
.spec small { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.spec strong { display: block; margin-top: 4px; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.spec strong em { font-style: normal; font-size: 1rem; font-weight: 600; margin-left: 4px; color: var(--accent); }
.note { font-size: 0.88rem; color: var(--muted); }

/* Diagnóstico */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.symptoms { display: grid; gap: 10px; margin-top: 18px; }
.symptoms .check { margin-top: 0; padding: 14px 16px; border-radius: 16px; background: var(--tile-2); border: 2px solid transparent; }
.symptoms .check:has(input:checked) { border-color: var(--accent); }
.pill { display: inline-block; width: fit-content; padding: 4px 14px; border-radius: 999px; font-weight: 600; font-size: 0.85rem; background: var(--tile-2); color: var(--muted); }
.pill.ok { background: color-mix(in srgb, var(--ok) 20%, transparent); color: var(--ok); }
.pill.warn { background: color-mix(in srgb, var(--warn) 20%, transparent); color: var(--warn); }
.pill.crit { background: color-mix(in srgb, var(--crit) 20%, transparent); color: var(--crit); }
.verdict { display: grid; gap: 14px; justify-items: start; align-content: start; }
.verdict h3 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.levels { list-style: none; margin: 6px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 0.92rem; width: 100%; }
.levels li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.levels .pill { text-align: center; font-size: 0.75rem; }

/* Edad */
.agebar { position: relative; margin: 34px 0 38px; }
.track { position: relative; display: flex; height: 14px; border-radius: 999px; }
.track .z { display: block; height: 100%; }
.z.ok { background: var(--ok); border-radius: 999px 0 0 999px; }
.z.warn { background: var(--warn); }
.z.crit { background: var(--crit); border-radius: 0 999px 999px 0; }
.marker { position: absolute; top: -9px; width: 8px; height: 32px; background: var(--ink); border: 3px solid var(--tile); border-radius: 999px; transform: translateX(-50%); transition: left .3s; }
.ticks { position: relative; height: 22px; margin-top: 12px; font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.ticks .first { transform: none; }
.ticks .last { transform: translateX(-100%); }

/* Etiqueta */
.bignums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: center; }
.bignums b { display: block; font-size: clamp(2.6rem, 10vw, 6.4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--ink), var(--muted)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bignums small { display: block; margin-top: 10px; font-size: clamp(0.8rem, 2.2vw, 1.05rem); color: var(--muted); font-weight: 500; }
.defs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 56px 0 0; }
@media (max-width: 860px) { .defs { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.defs div { background: var(--tile); border-radius: 24px; padding: 26px; }
.defs dt { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.defs dd { margin: 6px 0 0; color: var(--muted); }

/* Tecnologías */
.tech-card { display: grid; gap: 18px; align-content: start; }
.tech-card .tag { width: fit-content; padding: 4px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 0.85rem; }
.tech-card h3 { font-size: 2rem; }
.tech-card dl { margin: 0; display: grid; gap: 14px; }
.tech-card dt { font-size: 0.82rem; font-weight: 600; color: var(--link); }
.tech-card dd { margin: 2px 0 0; }

/* Mitos */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--tile); border-radius: 22px; }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tile-2); color: var(--ink); font-size: 1.4rem; font-weight: 400; line-height: 1; }
details[open] summary::after { content: "–"; }
details .ans { padding: 0 26px 24px; color: var(--muted); display: grid; gap: 10px; }
.vt { width: fit-content; padding: 3px 12px; border-radius: 999px; font-weight: 600; font-size: 0.8rem; }
.vt.false { background: color-mix(in srgb, var(--crit) 20%, transparent); color: var(--crit); }
.vt.half { background: color-mix(in srgb, var(--warn) 20%, transparent); color: var(--warn); }

/* Cuidados */
.tip { background: var(--tile); border-radius: 24px; padding: 26px; display: grid; gap: 8px; align-content: start; }
.tip .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--brand); display: grid; place-items: center; margin-bottom: 10px; }
.tip .ico svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tip h3 { font-size: 1.2rem; }
.tip p { color: var(--muted); font-size: 0.95rem; }

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: s; background: var(--tile); border-radius: 28px; padding: 30px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); font-size: 4.2rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--accent); }
.steps p { color: var(--muted); }

/* Reseñas y sedes */
.reviews { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.reviews > div { flex: 1 1 380px; min-width: 0; display: grid; gap: 12px; }
.reviews h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.zones { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.zones span { padding: 6px 16px; border-radius: 999px; background: var(--tile); font-weight: 500; font-size: 0.95rem; }
.sede dl { margin: 16px 0 0; display: grid; gap: 14px; }
.sede dt { font-size: 0.82rem; font-weight: 600; color: var(--link); }
.sede dd { margin: 2px 0 0; }
.todo { display: inline-block; padding: 3px 12px; border: 1px dashed var(--line); border-radius: 999px; color: var(--muted); font-size: 0.9rem; }

.cta { text-align: center; }
.cta .stack { display: grid; gap: 28px; justify-items: center; }
.cta h2 { max-width: 18ch; }
footer { background: var(--bg-2); color: var(--muted); padding-block: 22px; font-size: 0.8rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.sec-head h1 { font-size: clamp(2rem, 5.4vw, 3.5rem); }
.linktile { display: grid; gap: 8px; align-content: start; text-decoration: none; color: inherit; border-radius: 24px; padding: 26px; }
.linktile:hover { background: var(--tile-2); }
.linktile h3 { font-size: 1.5rem; }
.linktile .more { margin-top: 8px; }
.footnav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footnav a { color: var(--muted); text-decoration: none; }
.footnav a:hover { color: var(--ink); }
