/* =========================================================
   CIVISUAL — hoja de estilos
   Fuentes alojadas en el propio sitio (no se llama a Google
   ni a ningún otro servidor externo al cargar la página).
   ========================================================= */

@font-face { font-family: 'Geist'; src: url('../fonts/Geist-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('../fonts/Geist-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/GeistMono-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/GeistMono-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #101010; color: #eeeeee; font-family: 'Geist', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
a { color: #eeeeee; text-decoration: none; }
a:hover { color: #fafafa; }
img { max-width: 100%; }

/* ---------- Accesibilidad ---------- */
/* Enlace para saltar directo al contenido (visible al usar Tab) */
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: #fafafa; color: #101010; padding: 12px 16px; border-radius: 3px; font-size: 15px; }
.skip:focus { top: 12px; color: #101010; }
/* Contorno visible al navegar con teclado en cualquier elemento interactivo */
:focus-visible { outline: 2px solid #ee6018; outline-offset: 3px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Base ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; width: 100%; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }
.mono { font-family: 'Geist Mono', ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: -0.24px; text-transform: uppercase; line-height: 1.2; }
.muted { color: #8a8380; }
.stone { color: #b8b3b0; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #ee6018; display: inline-block; flex-shrink: 0; }
.dot-g { width: 6px; height: 6px; border-radius: 50%; background: #a0ca92; display: inline-block; flex-shrink: 0; }

/* ---------- Botones ---------- */
.btn-light { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; background: #fafafa; color: #101010; border-radius: 3px; font-size: 15px; border: none; cursor: pointer; font-family: inherit; transition: background .15s cubic-bezier(.4,0,.2,1); }
.btn-light:hover { background: #d9d5d2; color: #101010; }
.btn-ink { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; background: #101010; color: #eeeeee; border-radius: 3px; font-size: 15px; transition: background .15s cubic-bezier(.4,0,.2,1); }
.btn-ink:hover { background: #2b2725; color: #fafafa; }
.ghost { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid #3d3a39; border-radius: 3px; color: #eeeeee; font-size: 15px; transition: border-color .15s, color .15s; }
.ghost:hover { border-color: #fafafa; color: #fafafa; }
.mini { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #3d3a39; border-radius: 3px; color: #eeeeee; font-size: 13px; white-space: nowrap; transition: border-color .15s; background: transparent; font-family: inherit; cursor: pointer; }
.mini:hover { border-color: #fafafa; }
/* Botón de compra todavía sin enlace de pago */
.soon { opacity: .55; cursor: not-allowed; }
.soon:hover { border-color: #3d3a39; background: inherit; }
.btn-light.soon:hover { background: #fafafa; }
.btn-ink.soon:hover { background: #101010; }

.chip { min-height: 44px; padding: 0 16px; border-radius: 3px; border: 1px solid #3d3a39; background: transparent; color: #b8b3b0; font-family: inherit; font-size: 14px; cursor: pointer; text-align: left; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: #8a8380; color: #eeeeee; }
.chip[aria-pressed="true"] { background: #eeeeee; border-color: #eeeeee; color: #101010; }

.tab { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 20px; min-height: 44px; border: 1px solid #1d1a18; border-radius: 10px; background: transparent; color: #8a8380; cursor: pointer; text-align: left; font-family: inherit; transition: border-color .15s, color .15s, background .15s; }
.tab:hover { border-color: #3d3a39; color: #eeeeee; }
.tab[aria-pressed="true"] { border-color: #eeeeee; color: #eeeeee; background: #1d1a18; }

.card { border: 1px solid #1d1a18; border-radius: 10px; transition: border-color .15s; }
.card:hover { border-color: #3d3a39; }
.combo .sub { color: #8a8380; }
.combo .save { color: #a0ca92; }
.combo.hi { background: #eeeeee; color: #101010; border-color: #eeeeee; }
.combo.hi .sub { color: #4d4947; }
.combo.hi .save { color: #3f6b34; }
.mrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 0; border-bottom: 1px solid #1d1a18; }
.mrow:hover { border-bottom-color: #3d3a39; }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: #101010; border-bottom: 1px solid #1d1a18; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.nav-links { display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; text-transform: uppercase; }
@media (max-width: 760px) { .nav-links .opt { display: none; } }

/* ---------- Marquesina ---------- */
.marquee { position: relative; overflow: hidden; border-top: 1px solid #1d1a18; border-bottom: 1px solid #1d1a18; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: civ-marquee 90s linear infinite; }
.marquee:hover .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
.tk { display: inline-flex; align-items: baseline; gap: 10px; padding: 0 28px; white-space: nowrap; color: #8a8380; font-size: 16px; border-left: 1px solid #1d1a18; }
.marquee-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 12px; background: #101010; border: 1px solid #3d3a39; border-radius: 3px; color: #b8b3b0; cursor: pointer; }
@keyframes civ-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee-btn { display: none; } }

input[type=range] { width: 100%; accent-color: #ee6018; height: 32px; margin: 0; cursor: pointer; }

/* ---------- Preguntas ---------- */
.faq { border-bottom: 1px solid #1d1a18; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 18px; color: #eeeeee; letter-spacing: -0.3px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { flex-shrink: 0; transition: transform .2s; }
.faq[open] .chev { transform: rotate(45deg); }
.faq p { padding: 0 0 22px; font-size: 16px; line-height: 1.5; color: #8a8380; max-width: 760px; }
.faq p a { color: #eeeeee; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Aviso de pagos en preparación ---------- */
.notice { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border: 1px solid #3d3a39; border-radius: 10px; font-size: 14px; color: #b8b3b0; line-height: 1.45; }
.notice a { color: #eeeeee; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pie ---------- */
.foot a { font-size: 14px; color: #8a8380; }
.foot a:hover { color: #eeeeee; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Páginas legales ---------- */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: -1.4px; margin: 16px 0 12px; }
.legal h2 { font-size: 24px; letter-spacing: -0.5px; margin: 44px 0 14px; }
.legal p, .legal li { font-size: 16px; line-height: 1.6; color: #b8b3b0; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.legal a { color: #eeeeee; text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: #eeeeee; font-weight: 500; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid #1d1a18; color: #b8b3b0; vertical-align: top; }
.legal th { color: #eeeeee; font-weight: 500; }
/* Datos que el dueño del sitio debe completar */
.fill { background: rgba(238, 96, 24, 0.16); color: #ffb48c; padding: 1px 6px; border-radius: 3px; }
.legal a.btn-light { color: #101010; text-decoration: none; }
