/* ============================================================
   Monteblack Internet — Hoja de estilos
   Paleta: #191919 fondo · #b91d17 rojo · #f1f2f2 crema
   Font:   Montserrat
   ============================================================ */

:root {
  --ink: #191919;
  --bg: #f1f2f2;
  --bg-2: #ffffff;
  --bg-3: #f7f7f7;
  --red: #b91d17;
  --red-2: #d42420;
  --text: #191919;
  --cream: #f1f2f2;
  --muted: rgba(25,25,25,.58);
  --line: rgba(0,0,0,.09);
  --green: #1f9d55;
  --font: 'Montserrat', system-ui, sans-serif;
  --radius: 14px;
  --max: 1100px;
  --fs-h1: clamp(2rem, 6vw, 3.6rem);
  --fs-h2: clamp(1.5rem, 3.6vw, 2.2rem);
  --fs-body: clamp(.95rem, 1.1vw, 1.05rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  font-size: var(--fs-body); line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red-2); }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
p.lead { color: var(--muted); max-width: 60ch; }
section { padding: clamp(56px, 8vw, 96px) 0; }
.sec-head { margin-bottom: clamp(24px, 4vw, 40px); display: grid; gap: 10px; }

/* ── NAV ─────────────────────────────────────────────── */
#nav {
  position: sticky; top: 0; z-index: 100; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; background: rgba(241,242,242,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
#nav .logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
#nav .logo img { height: 30px; width: auto; filter: invert(1) brightness(.15); }
#nav .logo .sub { font-size: .6rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--red); padding-left: 10px; border-left: 1px solid rgba(0,0,0,.18); line-height: 1.1; white-space: nowrap; }
@media (max-width: 420px) { #nav .logo img { height: 26px; } #nav .logo .sub { font-size: .52rem; letter-spacing: 2px; padding-left: 8px; } }
.trust .btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.trust .btn-ghost:hover { border-color: #fff; }
#nav .links { display: flex; align-items: center; gap: 14px; }
#nav .links a { font-size: .62rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); transition: color .2s; }
#nav .links a:hover, #nav .links a.active { color: var(--text); }
#nav .links .hide-m { display: none; }
#nav .links .btn { font-size: .62rem; padding: 9px 14px; }
@media (min-width: 720px) { #nav { padding: 0 28px; } #nav .logo img { height: 36px; } #nav .links { gap: 22px; } #nav .links a { font-size: .68rem; letter-spacing: 2px; } }
@media (min-width: 1000px) { #nav .links { gap: 28px; } #nav .links .hide-m { display: inline; } }
[hidden] { display: none !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: .85rem;
  letter-spacing: .5px; transition: transform .15s, background .2s, box-shadow .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(185,29,23,.25); }
.btn-red:hover { background: var(--red-2); }
.btn-ghost { border: 1px solid rgba(0,0,0,.22); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-wa { background: #25d366; color: #0b1a10; }
.btn-wa:hover { background: #2ee070; }
.btn-sm { padding: 10px 16px; font-size: .75rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ── HERO ────────────────────────────────────────────── */
.hero { position: relative; min-height: min(86svh, 760px); display: grid; align-items: end; padding: 0; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; z-index: 0; }
.hero .bg picture { display: block; width: 100%; height: 100%; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(1.1); transform: scale(1.04); animation: kb 18s ease-in-out infinite alternate; }
@keyframes kb { to { transform: scale(1.12) translateY(-1.5%); } }
.hero .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,25,25,.1) 0%, rgba(25,25,25,.6) 55%, rgba(25,25,25,.92) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 110px 0 56px; display: grid; gap: 18px; color: var(--cream); }
.hero p.lead { color: rgba(241,242,242,.72); }
.hero .proof { color: rgba(241,242,242,.6); }
.hero .proof b { color: #fff; }
.hero .btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; }
.hero h1 span { color: var(--red-2); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero .proof { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .8rem; margin-top: 14px; }
.hero .proof b { color: var(--text); font-weight: 700; }

/* ── CARDS ───────────────────────────────────────────── */
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: grid; gap: 12px; align-content: start; position: relative;
  border-bottom: 3px solid rgba(0,0,0,.1); box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: transform .2s, border-color .2s, background .2s;
}
.card:hover { transform: translateY(-3px); border-bottom-color: var(--red); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.card.rec { border-bottom-color: var(--red); }
.card .tag { justify-self: start; font-size: .6rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; background: var(--red); color: #fff; padding: 5px 9px; border-radius: 999px; margin-bottom: -2px; }
.card h3 { font-size: 1.15rem; }
.card .price .sub { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; margin-top: 4px; letter-spacing: 0; text-transform: none; }

/* ── PRECIOS DE REFERENCIA ───────────────────────────── */
.price-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .price-strip { grid-template-columns: repeat(4, 1fr); } }
.price-strip a { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; display: grid; gap: 4px; transition: transform .15s, border-color .2s; }
.price-strip a:hover { transform: translateY(-2px); border-color: var(--red); }
.price-strip small { font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.price-strip b { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; }
.price-strip span { font-size: .78rem; color: var(--red); font-weight: 700; }

/* ── CONFIANZA ───────────────────────────────────────── */
.trust { background: var(--ink); color: var(--cream); }
.trust .eyebrow { color: var(--red-2); }
.trust .lead { color: rgba(241,242,242,.65); }
.trust .quote { font-size: clamp(1.3rem, 3.2vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; max-width: 22ch; }
.trust .wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .trust .wrap { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photos img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; filter: saturate(1.05); transition: transform .3s; }
.photos img:nth-child(2) { transform: translateY(18px); }
.photos img:hover { transform: scale(1.03); }
.photos img:nth-child(2):hover { transform: translateY(18px) scale(1.03); }
.clients { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.clients span { font-size: .72rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(241,242,242,.5); white-space: nowrap; }

/* ── VIDEO ───────────────────────────────────────────── */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 16px 48px rgba(0,0,0,.15); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-sec .wrap { display: grid; gap: 22px; }
@media (min-width: 900px) { .video-sec .wrap { grid-template-columns: .8fr 1.2fr; align-items: center; } }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.checks li::before { content: '✓'; color: var(--green); font-weight: 800; flex: none; }

/* ── NOSOTROS ────────────────────────────────────────── */
.about .wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { .about .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.about img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.about .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.about p + p { margin-top: 12px; }

/* Botón secundario de texto */
.btn-link { display: inline-flex; justify-content: center; width: 100%; padding: 10px; font-size: .82rem; font-weight: 700; color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.btn-link:hover { color: var(--red-2); }
.card p { color: var(--muted); font-size: .92rem; }
.card .price { font-size: 1.35rem; font-weight: 800; }
.card .price small { font-size: .7rem; color: var(--muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-left: 6px; }
.card ul { list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: .9rem; }
.card ul li::before { content: '•'; color: var(--red-2); margin-right: 8px; }
.card .btn { justify-self: start; margin-top: 6px; }

/* ── BANNER ──────────────────────────────────────────── */
.banner { background: var(--bg-2); border-block: 1px solid var(--line); padding: 36px 0; }
.banner .wrap { display: grid; gap: 14px; align-items: center; }
@media (min-width: 720px) { .banner .wrap { grid-template-columns: 1.2fr 1fr; gap: 32px; } }
.banner img { border-radius: var(--radius); width: 100%; aspect-ratio: 16/6; object-fit: cover; }
.banner strong { font-size: 1.25rem; font-weight: 800; display: block; }
.banner span { color: var(--muted); }

/* ── SPEED ───────────────────────────────────────────── */
.speed { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 720px) { .speed { grid-template-columns: 1fr 1fr 1fr; } }
.speed div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.speed b { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; display: block; }
.speed small { color: var(--muted); font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; }
.note { color: var(--muted); font-size: .8rem; }

/* ── CALCULADORA ─────────────────────────────────────── */
.calc { display: grid; gap: 20px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1.15fr .85fr; align-items: start; } .calc .result { position: sticky; top: 76px; } }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 22px; }
.field { display: grid; gap: 10px; }
.field > label { font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--bg); padding: 5px; border-radius: 12px; border: 1px solid var(--line); }
.seg button { padding: 12px 8px; border-radius: 9px; font-size: .78rem; font-weight: 700; color: var(--muted); transition: all .2s; line-height: 1.25; }
.seg button.on { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(185,29,23,.3); }
.seg button:not(.on):hover { color: var(--text); background: var(--bg-3); }
.stepper { display: inline-grid; grid-template-columns: 48px 1fr 48px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; width: 100%; max-width: 240px; }
.stepper button { height: 50px; font-size: 1.4rem; font-weight: 300; color: var(--text); transition: background .15s; }
.stepper button:hover { background: var(--bg-3); }
.stepper output { text-align: center; font-weight: 800; font-size: 1.2rem; }
.stepper output small { display: block; font-size: .62rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.row { display: flex; flex-wrap: wrap; gap: 20px 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(0,0,0,.16); font-size: .8rem; font-weight: 600; color: var(--muted); transition: all .2s; }
.chips button.on { border-color: var(--red); color: var(--red); background: rgba(185,29,23,.08); }
.chips button:hover { color: var(--text); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s; }
.toggle:hover { border-color: rgba(0,0,0,.3); }
.toggle.on { border-color: var(--red); }
.toggle b { display: block; font-size: .9rem; }
.toggle span { color: var(--muted); font-size: .78rem; }
.toggle .sw { flex: none; width: 44px; height: 26px; border-radius: 999px; background: #cfcfcf; position: relative; transition: background .2s; }
.toggle .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.toggle.on .sw { background: var(--red); }
.toggle.on .sw::after { transform: translateX(18px); }
.text { width: 100%; padding: 13px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; outline: none; transition: border-color .2s; }
.text:focus { border-color: var(--red); }
.text::placeholder { color: rgba(25,25,25,.35); }

.result { background: linear-gradient(160deg, #fff3f2, var(--bg-2) 55%); box-shadow: 0 12px 40px rgba(0,0,0,.08); border: 1px solid rgba(185,29,23,.35); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; }
.result .eyebrow { color: var(--muted); }
.result .total { font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.result .total small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.result .alt { color: var(--muted); font-size: .9rem; }
.result .alt b { color: var(--text); }
.result .lines { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; font-size: .88rem; }
.result .lines div { display: flex; justify-content: space-between; gap: 12px; }
.result .lines span { color: var(--muted); }
.result .lines small { display: block; color: var(--muted); font-size: .72rem; }
.result .terms { display: grid; gap: 6px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.result .terms b { color: var(--text); }
.result .btn { width: 100%; }
.result .est { font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: #b8780f; font-weight: 700; }
.result.off .total { font-size: 1.3rem; }
.pulse { animation: pulse .35s ease; }
@keyframes pulse { 0% { transform: scale(.985); opacity: .6; } 100% { transform: none; opacity: 1; } }

/* ── TABLA PRECIOS (plegable) ────────────────────────── */
details.fold { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
details.fold summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
details.fold summary::-webkit-details-marker { display: none; }
details.fold summary::after { content: '+'; font-size: 1.4rem; font-weight: 300; color: var(--red-2); transition: transform .2s; }
details.fold[open] summary::after { transform: rotate(45deg); }
details.fold .inner { padding: 0 22px 22px; display: grid; gap: 18px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); }
th { font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
td:last-child, th:last-child { text-align: right; }
td b { font-weight: 800; }
.tbl-title { font-size: .95rem; font-weight: 800; }

/* ── EQUIPOS ─────────────────────────────────────────── */
.equip img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 6px; }
.equip .inc { font-size: .62rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); font-weight: 700; }

.equip .ph { aspect-ratio: 4/3; border-radius: 10px; margin-bottom: 6px; background: linear-gradient(135deg, #e9e9e9, #d8d8d8); display: grid; place-content: center; text-align: center; gap: 2px; }
.equip .ph span { font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; color: #555; }
.equip .ph small { font-size: .65rem; letter-spacing: 1.5px; text-transform: uppercase; color: #999; font-weight: 700; }
.photos img:first-child { object-position: center 30%; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: .95rem; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red-2); font-weight: 300; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq .a { padding: 0 18px 16px; color: var(--muted); font-size: .92rem; display: grid; gap: 8px; }
.faq .a b { color: var(--text); }
.faq .a ul { padding-left: 18px; }

/* ── CTA + FOOTER ────────────────────────────────────── */
.cta { background: var(--red); color: #fff; text-align: center; }
.cta .wrap { display: grid; gap: 14px; justify-items: center; }
.cta p { opacity: .85; max-width: 50ch; }
.cta .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
footer { padding: 36px 0 110px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
footer .wrap { display: grid; gap: 14px; }
footer .fl { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a:hover { color: var(--text); }
@media (min-width: 720px) { footer { padding-bottom: 36px; } footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }

/* WhatsApp flotante (móvil) */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.4); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* Barra fija con el total (solo móvil) */
.sticky-total { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: rgba(241,242,242,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(110%); transition: transform .3s ease; }
.sticky-total.show { transform: none; }
.sticky-total .st-l { display: grid; line-height: 1.15; min-width: 0; }
.sticky-total .st-l small { font-size: .6rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.sticky-total .st-l b { font-size: 1.05rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-total .st-l b em { font-style: normal; font-size: .75rem; color: var(--muted); font-weight: 600; }
.sticky-total .btn { padding: 11px 16px; font-size: .75rem; flex: none; }
body.has-sticky .wa-float { display: none; }
@media (min-width: 900px) { .sticky-total { display: none; } body.has-sticky .wa-float { display: grid; } }

/* Reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .hero .bg img { animation: none; } }

/* ── RED PERSONALIZADA / CASOS ───────────────────────── */
.red-sec { background: radial-gradient(1200px 600px at 85% 20%, rgba(185,29,23,.25), transparent 60%), var(--ink); }
.red-sec .red-list li { color: rgba(241,242,242,.8); }
.case { color: inherit; }
.case .more { color: var(--red); font-weight: 700; font-size: .85rem; margin-top: 4px; }
.case:hover .more { color: var(--red-2); }

/* Listas y notas dentro de secciones oscuras */
.trust .checks li, .trust .note { color: rgba(241,242,242,.8); }
.trust .checks li::before { color: #3ddc84; }
/* Hero escritorio con la foto de la Libertadores (vertical): mostrar la carpa y el equipo */
@media (min-width: 720px) { .hero .bg .hero-lib { object-position: center 38%; filter: brightness(.5) saturate(1.05); } }

/* ── Anclas con margen para el menú fijo ───────────────── */
[id] { scroll-margin-top: 76px; }

/* ── Menú móvil ────────────────────────────────────────── */
#nav .links-desk { display: none; align-items: center; gap: 22px; }
#nav .links-desk a { font-size: .66rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
#nav .links-desk a:hover, #nav .links-desk a.active { color: var(--text); }
.nav-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); }
.nav-burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .2s; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { position: fixed; top: 60px; left: 0; right: 0; z-index: 99; background: rgba(241,242,242,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; display: none; flex-direction: column; box-shadow: 0 16px 40px rgba(0,0,0,.12); }
body.menu-open .nav-mobile { display: flex; }
.nav-mobile > a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: .95rem; }
.nav-mobile > a.active { color: var(--red); }
.nav-mobile > a.btn { border-bottom: 0; }
@media (min-width: 1000px) { #nav .links-desk { display: flex; } .nav-burger, .nav-mobile { display: none !important; } }

/* ── Desplegable compacto de equipo y opcionales ───────── */
.opt-fold { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.opt-fold summary { list-style: none; cursor: pointer; padding: 13px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.opt-fold summary::-webkit-details-marker { display: none; }
.opt-fold summary small { font-size: .72rem; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--red); text-align: right; }
.opt-fold summary::after { content: '+'; font-size: 1.2rem; font-weight: 300; color: var(--red-2); margin-left: 6px; }
.opt-fold[open] summary::after { content: '\2212'; }
.opt-fold .opt-inner { padding: 0 14px 14px; display: grid; gap: 16px; }
.opt-fold .toggle { padding: 10px 12px; }
.opt-fold .toggle b { font-size: .85rem; }
.opt-fold .toggle span { font-size: .72rem; }
