/* EGC · páginas de funciones (SEO). Misma identidad que la home. */
:root {
  --red: #D7141A; --red-bright: #F2353B; --black: #0B0B0D; --ink: #111214; --ink-2: #4A4D55; --ink-3: #767A84;
  --bg: #FFFFFF; --bg-2: #F3F3F5; --line: #DCDDE2; --on-black-2: #A9ACB3;
  --f-display: "Archivo", "Arial Black", Arial, sans-serif; --f-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.angosto { max-width: 760px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 900; letter-spacing: -.025em; line-height: 1.06; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 7.4vw, 58px); }
h2 { font-size: clamp(27px, 5vw, 38px); }
h3 { font-size: 20px; font-weight: 800; letter-spacing: -.015em; }
p { margin: 0; }
.eyebrow { font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red-bright); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; display: block; width: 34px; height: 4px; background: currentColor; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #B00F14; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }

/* Barra superior */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11,11,13,.94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.1); }
.top .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.top img { height: 34px; width: auto; }
.top nav { display: flex; align-items: center; gap: 10px; }
.top .blog { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; font-weight: 600; font-size: 15px; color: #fff; text-decoration: none; border: 2px solid var(--red-bright); border-radius: 12px; }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 420px) { .top img { height: 28px; } .top nav { gap: 6px; } .top .btn, .top .blog { padding: 0 14px; } }

/* Hero */
.hero { position: relative; background: var(--black); color: #fff; padding: 40px 0 56px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 85% 20%, rgba(242,53,59,.22), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px; }
.hero .wrap { position: relative; }
.miga { font-size: 14px; color: var(--on-black-2); margin-bottom: 26px; }
.miga a { color: #fff; text-decoration: none; }
.miga a:hover { text-decoration: underline; }
.hero h1 { margin-top: 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #FF4D52 0%, #FF8A3D 55%, #FFC24D 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #C9CBD1; font-size: 19px; margin-top: 18px; max-width: 36em; }
.hero .acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .nota { color: var(--on-black-2); font-size: 15px; margin-top: 12px; }
.hero .grid { display: grid; gap: 36px; align-items: center; }
.hero figure { margin: 0; }
.hero figure img { border-radius: 18px; background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.hero figure img.cel { width: min(300px, 78vw); margin: 0 auto; border-radius: 30px; border: 10px solid #26272B; }
@media (min-width: 880px) { .hero .grid { grid-template-columns: 1.1fr .9fr; } }

section { padding: 60px 0; }
.bg-gris { background: var(--bg-2); }
.sub { color: var(--ink-2); font-size: 18px; margin-top: 14px; max-width: 44em; }
.texto p { color: var(--ink-2); margin-top: 14px; font-size: 17.5px; }
.texto p b, .texto li b { color: var(--ink); }
.texto ul { margin: 16px 0 0; padding-left: 0; list-style: none; display: grid; gap: 12px; }
.texto li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--ink-2); }
.texto li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--red); margin-top: 8px; }
.split { display: grid; gap: 34px; align-items: center; margin-top: 30px; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } .split.inv > :first-child { order: 2; } }
figure.doc { margin: 0; }
figure.doc img { border-radius: 14px; border: 1px solid #DDDEE2; background: #fff; box-shadow: 0 18px 44px rgba(17,18,20,.16); margin: 0 auto; }
figure.doc img.cel { width: min(280px, 72vw); border-radius: 26px; border: 8px solid #1B1C1F; }
figure.doc figcaption { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 10px; }

.cards { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card .n { font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: .18em; color: var(--red); }
.card h3 { margin: 8px 0 8px; }
.card p { color: var(--ink-2); font-size: 16px; }

.regla { margin-top: 26px; background: #FFF6DB; border: 2px solid #E0A100; border-radius: 14px; padding: 16px 18px; color: #3B2F00; font-size: 16px; }
.regla b { color: #111214; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-family: var(--f-mono); color: var(--red); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--ink-2); margin-top: 12px; font-size: 16px; }

.otras { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 720px) { .otras { grid-template-columns: 1fr 1fr; } }
.otras a { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; transition: border-color .12s, transform .12s; }
.otras a:hover { border-color: #F4C3C5; transform: translateY(-2px); }
.otras b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 18px; }
.otras span { color: var(--ink-2); font-size: 15px; }

.cierre { background: var(--black); color: #fff; text-align: center; }
.cierre p { color: var(--on-black-2); margin-top: 12px; }
.cierre .btn { margin-top: 24px; }

footer { background: var(--black); color: var(--on-black-2); padding: 40px 0 60px; font-size: 15px; border-top: 1px solid rgba(255,255,255,.1); }
footer img { height: 44px; width: auto; margin-bottom: 18px; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0; }
footer .fin { border-top: 1px solid rgba(255,255,255,.12); margin-top: 22px; padding-top: 18px; font-size: 13px; }
