/* =========================================================
   Dacom Fibra — Web comercial
   Hoja de estilos global
   ========================================================= */

/* ---------- Variables de marca ---------- */
:root {
  --brand:        #f07316;   /* naranja Dacom */
  --brand-dark:   #d15f00;
  --brand-2:      #f9a825;   /* dorado */
  --accent:       #ff6a13;   /* naranja CTA */
  --accent-dark:  #e85600;

  --ink:          #16120d;   /* texto principal (negro cálido) */
  --ink-soft:     #56514a;   /* texto secundario */
  --muted:        #948d82;   /* texto tenue */
  --line:         #efe9e1;   /* bordes cálidos */
  --bg:           #ffffff;
  --bg-soft:      #faf7f2;    /* off-white cálido */
  --bg-warm:      #fff3e9;    /* melocotón muy suave */
  --bg-dark:      #16161b;    /* secciones oscuras / footer */
  --bg-dark-2:    #202028;

  --ok:           #16a34a;

  --radius:       18px;
  --radius-sm:    12px;
  --radius-lg:    28px;
  --shadow:       0 8px 30px rgba(30, 22, 12, .07);
  --shadow-lg:    0 30px 64px rgba(30, 22, 12, .13);
  --maxw:         1200px;

  --grad:         linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  --font:         "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-head:    "Poppins", "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); font-weight: 600; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 1rem; }

/* ---------- Utilidades ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section   { padding: 104px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #d9e2f2; }
.section--dark h2, .section--dark h3 { color: #fff; }

.center    { text-align: center; }
.mx-auto   { margin-left: auto; margin-right: auto; }
.maxw-680  { max-width: 680px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--brand-2); }

.lead { font-size: 1.22rem; line-height: 1.6; color: var(--ink-soft); }
.section--dark .lead { color: #aebbd6; }

.text-muted { color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(255, 106, 19, .22); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 106, 19, .3); }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(240, 115, 22, .2); }
.btn--brand:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.14); color: #fff; transform: translateY(-2px); }

/* Tarjeta de oferta del hero */
.hero__offer-tag { display: inline-block; background: var(--bg-warm); color: var(--brand); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.hero__offer h3 { font-size: 1.4rem; margin-bottom: 2px; }
.hero__offer-price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 16px; }
.hero__offer-price b { font-size: 3.1rem; font-weight: 800; letter-spacing: -.035em; line-height: 1; color: var(--ink); }
.hero__offer-price span { color: var(--muted); font-weight: 600; }
.hero__offer ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.hero__offer li { display: flex; gap: 10px; align-items: center; color: var(--ink-soft); font-size: .94rem; }
.hero__offer li svg { color: var(--ok); flex: none; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg-dark);
  color: #cdd8ee;
  font-size: .86rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  gap: 16px;
}
.topbar a { color: #cdd8ee; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__left { display: flex; gap: 22px; align-items: center; }
.topbar__phone { font-weight: 700; color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.header.is-stuck { box-shadow: 0 6px 20px rgba(13, 28, 70, .07); border-bottom-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav__menu .has-sub > a { display: inline-flex; align-items: center; gap: 5px; }
.nav__menu a:hover { color: var(--brand); background: var(--bg-soft); }
.nav__menu a.is-active { color: var(--brand); }
.nav__menu .caret { font-size: .72em; opacity: .8; }
.has-sub { position: relative; }
.subnav {
  position: absolute; top: calc(100% + 14px); left: 0; min-width: 220px;
  list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
/* Puente invisible entre el enlace y el desplegable (evita que se cierre al pasar el ratón). */
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: block; padding: 11px 14px; border-radius: 9px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.subnav a:hover, .subnav a.is-active { background: var(--bg-soft); color: var(--brand); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center; justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .25s, opacity .25s;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after  { position: absolute; top: 6px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle.is-open span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__text { font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); font-weight: 800; text-transform: lowercase; }
.logo__text b { color: var(--ink); font-weight: 800; }
.logo__suf { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .62em; color: var(--brand); margin-left: 5px; }
.logo__sub {
  font-size: .62rem; font-weight: 800; letter-spacing: .28em;
  text-transform: uppercase; color: var(--muted); display: block; margin-top: -4px;
}
.section--dark .logo__text, .footer .logo__text,
.section--dark .logo__text b, .footer .logo__text b { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--brand);
  color: #fff;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; top: -180px; right: -90px; background: rgba(255,255,255,.10); }
.hero::after { width: 300px; height: 300px; bottom: -140px; left: 42%; background: rgba(255,255,255,.07); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero p.lead { color: rgba(255,255,255,.92); }
.hero .hero__badge { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); color: #fff; box-shadow: none; }
.hero .hero__badge .dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.22); }
.hero__trust { color: rgba(255,255,255,.92); }
.hero__trust svg { color: #fff; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 92px 0 112px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22,163,74,.18); }
.hero p.lead { max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 26px; color: var(--ink-soft); font-size: .92rem; }
.hero__trust div { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { color: var(--brand); flex: none; }

.hero__visual { position: relative; }
.hero__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}
.hero__card h3 { margin-bottom: 4px; }
.speed {
  display: flex; align-items: baseline; gap: 8px;
  margin: 18px 0 6px;
}
.speed b { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.speed span { color: var(--muted); font-weight: 600; }
.meter { height: 10px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 92%; background: var(--grad); border-radius: 999px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.hero__stats div { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.hero__stats b { display: block; font-size: 1.25rem; }
.hero__stats span { font-size: .76rem; color: var(--muted); }
.hero__float {
  position: absolute; left: -26px; bottom: -22px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem;
}
.hero__float .ping { width: 12px; height: 12px; border-radius: 50%; background: var(--brand-2); position: relative; }
.hero__float .ping::after { content:""; position:absolute; inset:0; border-radius:50%; background: var(--brand-2); animation: ping 1.6s infinite; }
@keyframes ping { 0%{ transform: scale(1); opacity:.6;} 100%{ transform: scale(2.6); opacity:0;} }

/* ---------- Logos / confianza ---------- */
.partners { padding: 36px 0; border-bottom: 1px solid var(--line); }
.partners p { text-align: center; color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.partners__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; align-items: center; opacity: .7; }
.partners__row span { font-weight: 800; font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Grid de tarjetas / features ---------- */
.section__head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--bg-warm);
  color: var(--brand);
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ink-soft); margin: 0; }

/* ---------- Tarjetas de precio ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.plan--featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan--featured .plan__price b { color: var(--brand); }
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: .74rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.plan__name { font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.plan__speed { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 8px 0 2px; }
.plan__speed small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.plan__desc { color: var(--ink-soft); font-size: .9rem; min-height: 0; margin: 2px 0 0; }
.plan__price { display: flex; align-items: baseline; flex-wrap: nowrap; gap: 5px; margin: 12px 0 2px; }
.plan__price b { font-size: 2.5rem; font-weight: 800; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.plan__price span { color: var(--muted); font-weight: 600; white-space: nowrap; }
.plan__note { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.plan__tv { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-warm); color: var(--brand); font-weight: 700; font-size: .76rem; padding: 4px 10px; border-radius: 999px; margin: 2px 0 6px; }
.plan__tv svg { width: 14px; height: 14px; }
.plan ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.plan li { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-soft); font-size: .88rem; }
.plan li svg { color: var(--ok); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* ---------- Banda cobertura / CTA ---------- */
.bandcta {
  background: var(--grad);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.bandcta h2 { color: #fff; }
.bandcta p { color: rgba(255,255,255,.9); margin: 0; }
.bandcta__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
@media (max-width: 980px) { .bandcta__actions { justify-content: flex-start; } }
.coverage-form { display: flex; gap: 10px; flex-wrap: wrap; }
.coverage-form input {
  flex: 1; min-width: 200px;
  border: none; border-radius: 999px; padding: 15px 20px;
  font-size: 1rem; font-family: inherit;
}
.coverage-form input:focus { outline: 3px solid rgba(255,255,255,.5); }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; padding: 0 10px; }
.step__num {
  counter-increment: step;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 16px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.3rem;
}
.step__num::before { content: counter(step); }

/* ---------- Testimonios ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.quote p { font-size: 1.02rem; color: var(--ink); font-style: italic; }
.quote__stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; }
.quote__who b { display: block; font-size: .95rem; }
.quote__who span { font-size: .82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__cat { max-width: 820px; margin: 34px auto 6px; font-size: 1.15rem; color: var(--brand); font-family: var(--font-head); }
.faq__cat:first-child { margin-top: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 1.08rem; font-weight: 700; color: var(--ink);
  padding: 22px 40px 22px 0; position: relative;
}
.faq__q::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--brand); transition: transform .25s;
}
.faq__item.is-open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { color: var(--ink-soft); padding-bottom: 22px; margin: 0; }

/* ---------- Page hero (subpáginas) ---------- */
.pagehero {
  background:
    radial-gradient(900px 360px at 80% -20%, rgba(249,168,37,.16), transparent 60%),
    var(--bg-soft);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.pagehero h1 { margin-bottom: 12px; }
.pagehero p { max-width: 620px; margin: 0 auto; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--brand); }
.edacom-logo { display: block; width: min(300px, 74%); height: auto; margin: 4px auto 22px; }
.stats-band { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 64px; background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: 40px 28px; box-shadow: var(--shadow-lg); }
.stats-band .stat { text-align: center; }
.stats-band .stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 3.1rem; line-height: 1; letter-spacing: -.02em; }
.stats-band .stat__label { display: block; margin-top: 8px; color: rgba(255,255,255,.92); font-weight: 600; max-width: 220px; }

/* ---------- Accesibilidad ---------- */
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 2000; background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 12px; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.2); transition: top .15s ease; }
.skip-link:focus { top: 0; outline: none; }
:focus-visible { outline: 3px solid rgba(240,115,22,.55); outline-offset: 2px; border-radius: 4px; }
#main:focus { outline: none; }

/* ---------- Aviso de cookies ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: var(--bg-dark, #16161b); color: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: 0 16px 44px rgba(0,0,0,.34); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { margin: 0; font-size: .9rem; line-height: 1.5; flex: 1; min-width: 220px; color: rgba(255,255,255,.9); }
.cookie-banner__text a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.4); }
.cookie-banner .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 560px) { .cookie-banner__actions { width: 100%; } .cookie-banner__actions .btn { flex: 1; } }

/* ---------- Toggle facturación ---------- */
.billing-toggle { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; margin-top: 20px; }
.billing-toggle button { border: none; background: none; cursor: pointer; font-family: inherit; font-weight: 700; padding: 9px 18px; border-radius: 999px; color: var(--ink-soft); transition: .2s; }
.billing-toggle button.is-active { background: var(--brand); color: #fff; }
.billing-toggle .save { font-size: .78rem; color: var(--ok); font-weight: 700; }

/* ---------- Tabla comparativa ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
table.compare th:first-child, table.compare td:first-child { text-align: left; font-weight: 600; color: var(--ink-soft); }
table.compare thead th { font-size: 1.05rem; font-weight: 800; }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare svg { color: var(--ok); }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px;
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(240,115,22,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.checkbox input { margin-top: 4px; }
.form__note { font-size: .82rem; color: var(--muted); }
.form-msg { border-radius: 12px; padding: 14px 16px; font-weight: 600; display: none; }
.form-msg.is-ok { display: block; background: #e9f9ef; color: #15803d; border: 1px solid #bbf0cc; margin-bottom: 10px; }
.form-msg.is-err { display: block; background: #fdeaea; color: #b3261e; border: 1px solid #f6c9c9; margin-bottom: 10px; }

/* ---------- Info contacto ---------- */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); border-radius: var(--radius); padding: 20px; }
.contact-card svg { color: var(--brand); flex: none; }
.contact-card b { display: block; }
.contact-card a, .contact-card span { color: var(--ink-soft); }

/* ---------- Coverage result ---------- */
.coverage-result { margin-top: 18px; display: none; border-radius: var(--radius); padding: 20px; font-weight: 600; }
.coverage-result.is-ok { display: block; background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.3); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #aebbd6; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #aebbd6; font-size: .94rem; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__about p { font-size: .94rem; max-width: 320px; margin: 16px 0; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer__social a:hover { background: var(--brand); }
.footer__bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .85rem; color: var(--muted);
}
.footer__bottom a:hover { color: #fff; }

/* ---------- Animación al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { max-width: 460px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .bandcta { grid-template-columns: 1fr; padding: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .nav__menu, .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__menu {
    display: flex; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 14px 22px 20px;
  }
  .nav__menu a { padding: 13px 12px; }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 4px 14px; margin: 0; }
  .subnav::before { display: none; }
  .subnav a { padding: 10px 12px; font-weight: 600; }
  .nav__menu .caret { display: none; }
  .header { position: sticky; }
  .grid--3, .grid--4, .pricing, .steps { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .topbar__left { gap: 14px; }
  .topbar__right { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .plan, .card { padding: 24px 20px; }
  .plan__price b { font-size: 2.6rem; }
  .bandcta { padding: 28px 20px; }
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.62rem; }
  .lead { font-size: 1.08rem; }
  .section { padding: 52px 0; }
  .section__head { margin-bottom: 38px; }
  .hero__grid { padding: 60px 0 70px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .topbar__left a:not(.topbar__phone) { display: none; }
  .config-summary { padding: 22px; }
  .cov-checker__panel { padding: 22px; }
}

/* ---------- Chips (canales, dispositivos) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: 0 auto; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .92rem; color: var(--ink); box-shadow: var(--shadow); }
.section--soft .chip { background: #fff; }

/* ---------- Páginas legales ---------- */
.legal-prose { white-space: pre-wrap; color: var(--ink-soft); line-height: 1.85; font-size: 1.02rem; }
.legal-prose a { color: var(--brand); }

/* ---------- Contenido de páginas creadas desde el panel ---------- */
.container--narrow { max-width: 820px; }
.page-prose { color: var(--ink-soft); line-height: 1.8; font-size: 1.05rem; }
.page-prose > *:first-child { margin-top: 0; }
.page-prose h2 { font-family: var(--font-head); color: var(--ink); font-size: 1.7rem; line-height: 1.25; margin: 2em 0 .5em; }
.page-prose h3 { font-family: var(--font-head); color: var(--ink); font-size: 1.32rem; line-height: 1.3; margin: 1.6em 0 .4em; }
.page-prose h4 { font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; margin: 1.4em 0 .4em; }
.page-prose p { margin: 0 0 1.1em; }
.page-prose ul, .page-prose ol { margin: 0 0 1.2em; padding-left: 1.4em; display: grid; gap: .5em; }
.page-prose li { padding-left: .2em; }
.page-prose a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.page-prose a:hover { color: var(--accent); }
.page-prose strong { color: var(--ink); font-weight: 700; }
.page-prose img { max-width: 100%; height: auto; border-radius: var(--radius); margin: .6em 0 1.2em; display: block; }
.page-prose > img:only-child, .page-prose p > img { margin-left: auto; margin-right: auto; }

/* ---------- Aviso de mantenimiento para el admin ---------- */
.admin-maint-bar {
  background: #16161b; color: #ffd9bf; font-size: .9rem; font-weight: 600;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 18px; padding: 10px 18px; text-align: center; border-bottom: 2px solid var(--brand);
}
.admin-maint-bar strong { color: #fff; }
.admin-maint-bar__actions { display: inline-flex; gap: 14px; }
.admin-maint-bar a { color: #ffb27a; text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.admin-maint-bar a:hover { color: #fff; }

/* ---------- Página de mantenimiento ---------- */
.maint { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(1000px 520px at 85% -20%, var(--bg-warm), transparent 60%), var(--bg); }
.maint__box { max-width: 520px; text-align: center; }
.maint__logo { width: 64px; height: 64px; margin: 0 auto 20px; }
.maint h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 12px; }
.maint p { color: var(--ink-soft); font-size: 1.12rem; }
.maint__contact { font-size: 1rem; margin-top: 18px; }
.maint__contact a { color: var(--brand); font-weight: 700; }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff;
  padding: 13px 20px 13px 15px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  font-weight: 700; font-size: .95rem;
  transition: transform .15s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 36px rgba(37, 211, 102, .55); color: #fff; }
.wa-float svg { flex: none; }
@media (max-width: 560px) {
  .wa-float { padding: 14px; right: 16px; bottom: 16px; }
  .wa-float span { display: none; }
}

/* ---------- Configurador de tarifas ---------- */
.configurator { display: grid; grid-template-columns: 1.4fr .9fr; gap: 26px; align-items: start; }
.config-panel { display: grid; gap: 22px; }
.config-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.config-step h3 { margin-bottom: 16px; }
.config-options { display: grid; gap: 10px; }
.config-opt {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s;
}
.config-opt:hover { border-color: var(--brand); }
.config-opt:has(input:checked) { border-color: var(--brand); background: rgba(240, 115, 22, .05); }
.config-opt input { accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.config-opt__name { flex: 1; font-weight: 600; }
.config-opt__name b { color: var(--brand); }
.config-opt__price { font-weight: 800; color: var(--ink); white-space: nowrap; }
.config-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.config-line:last-child { border-bottom: none; }
.config-line__info b { display: block; }
.config-line__info span { font-size: .84rem; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button {
  width: 36px; height: 36px; border-radius: 9px; border: 1.5px solid var(--line);
  background: #fff; font-size: 1.2rem; font-weight: 700; color: var(--brand);
  cursor: pointer; line-height: 1; transition: border-color .15s, background .15s;
}
.stepper button:hover { border-color: var(--brand); background: var(--bg-soft); }
.stepper span { min-width: 30px; text-align: center; font-weight: 800; font-size: 1.05rem; }
.config-summary {
  background: var(--bg-dark); color: #dbe4f5; border-radius: var(--radius-lg);
  padding: 28px; position: sticky; top: 90px; box-shadow: var(--shadow-lg);
}
.config-summary h3 { color: #fff; margin-bottom: 16px; }
.config-summary ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.config-summary li { display: flex; justify-content: space-between; gap: 10px; font-size: .94rem; }
.config-summary li b { color: #fff; }
.config-summary li.config-empty { color: #93a1c0; justify-content: center; font-style: italic; }
.config-summary li.cfg-disc, .config-summary li.cfg-disc b { color: #7ee0a8; }
.config-save { color: #7ee0a8; font-weight: 700; font-size: .9rem; margin: -6px 0 14px; min-height: 1.1em; }
.config-opt__price.config-tv-free { color: var(--ok); font-weight: 700; font-size: .82rem; }
.config-total { display: flex; align-items: baseline; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); margin-bottom: 18px; }
.config-total > span { color: #93a1c0; margin-right: auto; font-weight: 600; }
.config-total b { font-size: 2.1rem; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.config-total small { color: #93a1c0; }
.config-summary .btn { margin-bottom: 10px; }
.config-summary .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.config-summary .btn--ghost:hover { border-color: #fff; color: #fff; }
.config-note { font-size: .78rem; color: #93a1c0; margin: 4px 0 0; text-align: center; }
.is-disabled { opacity: .5; pointer-events: none; }

/* ---------- Comprobador de cobertura con mapa ---------- */
.cov-checker { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: stretch; }
.cov-checker__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.cov-search { display: flex; gap: 8px; margin: 16px 0 4px; }
.cov-search input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; font-family: inherit; font-size: 1rem; }
.cov-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(240, 115, 22, .12); }
.cov-map-public { min-height: 440px; border-radius: var(--radius-lg); border: 1px solid var(--line); z-index: 0; }
.cov-result { margin-top: 14px; border-radius: 14px; font-size: .95rem; }
.cov-result.is-ok { background: #e9f9ef; border: 1px solid #bbf0cc; color: #15803d; padding: 16px; }
.cov-result.is-no { background: var(--bg-warm); border: 1px solid #f5d9c2; color: var(--ink); padding: 16px; }
.cov-result.is-loading { color: var(--muted); padding: 12px 4px; }
.cov-result .muted { color: var(--muted); }
@media (max-width: 820px) {
  .cov-checker { grid-template-columns: 1fr; }
  .cov-map-public { min-height: 340px; order: -1; }
}
@media (max-width: 860px) {
  .configurator { grid-template-columns: 1fr; }
  .config-summary { position: static; }
}

/* ============================================================
   Rediseño estilo O2 — componentes
   ============================================================ */

/* Barra de confianza (pills) */
.trustbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.trustbar__item {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-weight: 600; font-size: .92rem; color: var(--ink);
  box-shadow: var(--shadow);
}
.trustbar__item svg { color: var(--brand); flex: none; }

/* Mosaico de categorías de producto (home) */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-tile {
  position: relative; display: block; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-tile__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 20px; color: #fff; background: var(--brand);
}
.cat-tile h3 { margin-bottom: 6px; font-size: 1.2rem; }
.cat-tile p { color: var(--ink-soft); margin: 0 0 16px; font-size: .94rem; }
.cat-tile__from { font-size: .82rem; color: var(--muted); font-weight: 600; }
.cat-tile__from b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.cat-tile__link { font-weight: 700; color: var(--brand); font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }
.cat-tile:hover .cat-tile__link { gap: 10px; }

/* Pestañas de tarifas */
.tabs {
  display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px; margin: 0 auto 40px; max-width: 100%;
}
.tab-btn {
  border: none; background: none; cursor: pointer; font-family: var(--font-head);
  font-weight: 700; font-size: .98rem; color: var(--ink-soft);
  padding: 11px 22px; border-radius: 999px; transition: background .2s, color .2s; white-space: nowrap;
}
.tab-btn:hover { color: var(--brand); }
.tab-btn.is-active { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(240, 115, 22, .3); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Ajuste O2: hero y tarjetas más limpias */
.plan { border-radius: var(--radius-lg); }
.plan__speed, .plan__price b { font-family: var(--font-head); }
.hero__badge { border-radius: 999px; }

@media (max-width: 900px) { .cat-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-tiles { grid-template-columns: 1fr; } .tabs { width: 100%; } }

/* ---------- Pedido «Lo quiero» (asistente) ---------- */
.pedido-grid { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.pedido-main { min-width: 0; }
.pedido-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 24px; flex-wrap: wrap; }
.pedido-steps li { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--muted); font-size: .9rem; flex: 1; min-width: 130px; }
.pedido-steps li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--muted); font-weight: 800; flex: none; }
.pedido-steps li.is-active { color: var(--ink); }
.pedido-steps li.is-active span { border-color: var(--brand); color: var(--brand); }
.pedido-steps li.is-done span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pedido-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.pedido-step h2 { margin: 0 0 16px; }
.pedido-prod { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.pedido-prod strong { font-size: 1.1rem; }
.pedido-prod__price { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--brand); white-space: nowrap; }
.pedido-incluye { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.pedido-incluye li, .pedido-aside__trust li { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-soft); font-size: .92rem; }
.pedido-incluye li svg, .pedido-aside__trust li svg { color: var(--ok); flex: none; margin-top: 3px; }
.pedido-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.fld { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.fld input { font-family: inherit; font-size: 1rem; padding: 11px 14px; border: 1px solid #cfd8e8; border-radius: 10px; }
.fld input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(240,115,22,.14); }
.fld .req { color: var(--accent); }
.fld small { font-weight: 400; color: var(--muted); }
.radio { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; cursor: pointer; font-weight: 600; }
.radio input { accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.radio:has(input:checked) { border-color: var(--brand); background: rgba(240,115,22,.05); }
.port-block { padding: 20px 0; border-top: 1px solid var(--line); }
.port-block:first-child { border-top: none; padding-top: 0; }
.port-block h3 { margin: 0 0 4px; }
.port-block .muted { margin: 0 0 10px; }
.port-num { margin-top: 12px; }
.pedido-review { display: grid; gap: 10px; }
.pedido-review .rev { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); font-size: .93rem; color: var(--ink-soft); }
.pedido-review .rev b { display: block; color: var(--ink); margin-bottom: 4px; }
.pedido-aside { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 90px; box-shadow: var(--shadow); }
.pedido-aside h2 { margin: 0 0 6px; }
.pedido-aside__row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); margin-top: 10px; }
.pedido-aside__label { color: var(--muted); }
.pedido-aside__total b { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--brand); white-space: nowrap; }
.pedido-aside__trust { list-style: none; padding: 16px 0 0; margin: 10px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.pedido-done { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 30px; box-shadow: var(--shadow); max-width: 620px; margin: 0 auto; }
.pedido-done__icon { width: 68px; height: 68px; border-radius: 50%; background: #e9f9ef; color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.form-msg { border-radius: 10px; padding: 12px 16px; font-size: .92rem; }
.form-msg.is-err { background: #fdeaea; color: #a3241b; border: 1px solid #f2c4c0; }
@media (max-width: 860px) { .pedido-grid { grid-template-columns: 1fr; } .pedido-aside { position: static; } }

/* ---------- Pedido: paso «Mejora tu tarifa» ---------- */
.mejora-sec { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; transition: border-color .15s; }
.mejora-sec.is-open { border-color: var(--brand); }
.mejora-head { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 18px; background: none; border: 0; cursor: pointer; font: inherit; color: inherit; text-align: left; }
.mejora-head__ic { width: 42px; height: 42px; border-radius: 10px; background: var(--bg-warm); color: var(--brand); display: grid; place-items: center; flex: none; }
.mejora-head__ic svg { width: 22px; height: 22px; }
.mejora-head__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mejora-head__txt strong { font-size: 1.02rem; color: var(--ink); }
.mejora-head__txt small { color: var(--muted); font-size: .85rem; }
.mejora-head__chev { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2, #cfd8e8); color: var(--brand); display: grid; place-items: center; flex: none; position: relative; transition: background .15s, border-color .15s, color .15s; }
.mejora-head__chev::before, .mejora-head__chev::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.mejora-head__chev::before { width: 12px; height: 2px; }
.mejora-head__chev::after { width: 2px; height: 12px; transition: transform .2s; }
.mejora-sec.is-open .mejora-head__chev { background: var(--brand); border-color: var(--brand); color: #fff; }
.mejora-sec.is-open .mejora-head__chev::after { transform: translate(-50%, -50%) scaleY(0); }
.mejora-body { padding: 0 18px 18px; }
.mejora-total { margin-top: 22px; padding: 16px 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: 1.02rem; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.mejora-total b { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--brand); }
.mejora-total small { color: var(--ok); font-weight: 700; margin-left: auto; }
