/* ==========================================================
   Demo 2 — hero centrado con eslogan, circuito y cotizador horizontal
   (se carga después de styles.css y solo sobrescribe)
   ========================================================== */
:root { --font-script: "Kaushan Script", cursive; }

/* ---------- Cabecera flotante tipo píldora ---------- */
.header-float {
  position: fixed; top: 16px; left: 0; right: 0; background: transparent; border: 0; backdrop-filter: none;
}
.header-float .container {
  height: 68px; padding: 0 .7rem 0 .7rem; border-radius: 999px;
  background: rgba(11, 27, 63, .55); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.6);
  transition: background .3s;
}
.header-float.scrolled .container { background: rgba(7, 19, 48, .92); }
.brand-badge { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(0,0,0,.5); }
.brand-badge img { width: 38px; height: 38px; }
.header-float .brand-name { color: #fff; font-weight: 400; }
.header-float .brand-sub { color: var(--orange); }
.header-float .nav a { color: #E3E9F7; }
.header-float .nav a:hover { color: #fff; }
.header-float .menu-toggle span { background: #fff; }

/* ---------- Hero ---------- */
.hero2 {
  position: relative; isolation: isolate; overflow: clip; color: #fff;
  /* deja a la vista la franja naranja de cifras al cargar */
  min-height: calc(100svh - var(--strip-h)); display: flex; align-items: center;
  padding: 7.5rem 0 3rem;
  background:
    radial-gradient(ellipse 55% 40% at 50% 30%, rgba(29,62,142,.55), transparent 100%),
    radial-gradient(circle at 12% 88%, rgba(245,144,30,.18), transparent 40%),
    radial-gradient(circle at 88% 16%, rgba(245,144,30,.10), transparent 35%),
    linear-gradient(180deg, #1D3E8E 0%, #12285A 40%, #071330 100%);
}
:root { --strip-h: 58px; }
/* Franja de cifras: fina, número y texto en la misma línea */
.stats .container { align-items: center; padding-block: 0; border-right: 0; }
.stats .container > div { height: var(--strip-h); padding: 0 .5rem; display: flex; align-items: center; justify-content: center; gap: .55rem; }
.stats strong { display: inline; font-size: 2rem; line-height: 1; }
.stats span { font-size: .9rem; line-height: 1.15; text-align: left; }
@media (max-width: 920px) {
  .stats .container { grid-template-columns: repeat(4, 1fr); }
  .stats .container > div { flex-direction: column; gap: .15rem; padding: 0 .2rem; border-right: 1px solid rgba(7,19,48,.15); }
  .stats .container > div:nth-child(2) { border-right: 1px solid rgba(7,19,48,.15); }
  .stats strong { font-size: 1.45rem; }
  .stats span { font-size: .64rem; letter-spacing: .02em; line-height: 1.1; text-align: center; }
}
.hero2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--orange); }
.hero2-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero2-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.circuit {
  position: absolute; inset: 0; opacity: .22;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(50% - 470px), transparent calc(50% - 410px), transparent calc(50% + 410px), #000 calc(50% + 470px));
  mask-image: linear-gradient(90deg, #000 0, #000 calc(50% - 470px), transparent calc(50% - 410px), transparent calc(50% + 410px), #000 calc(50% + 470px));
}
.circuit svg { position: absolute; top: 0; height: 100%; width: 380px; overflow: visible; }
.circuit-l { left: 0; } .circuit-r { right: 0; }
.circuit-l { display: none; } /* el texto está a la izquierda: sin trazas detrás */
.circuit { -webkit-mask-image: none; mask-image: none; }
.circuit .tr { fill: none; stroke: #8FA3D1; stroke-width: 2; stroke-linejoin: round; }
.circuit .sym { fill: none; stroke: #C9D5F0; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.circuit .pad { fill: #071330; stroke: #C9D5F0; stroke-width: 2; }
.circuit .bolt { fill: var(--orange); }
.circuit .cur {
  fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 7 93; stroke-dashoffset: 100; animation: current 3.6s linear infinite;
  filter: drop-shadow(0 0 4px rgba(245,144,30,.8));
}
@keyframes current { to { stroke-dashoffset: 0; } }

.hero2-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; text-align: left; }
.hero2-copy { min-width: 0; }
.hero2-title { margin: 0; }
.hero2-title .l1, .hero2-title .l2 { text-wrap: balance; }
.hero2-title .l1 {
  display: block; font-weight: 800; font-size: clamp(2.2rem, 4.3vw, 4rem); line-height: 1.02; letter-spacing: -.03em;
  text-shadow: 0 4px 24px rgba(0,0,0,.45); animation: fadeUp .8s both;
}
.hero2-title .l2 {
  display: block; font-family: var(--font-script); font-weight: 400; font-stretch: normal; letter-spacing: 0;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem); line-height: 1.15; padding-bottom: .1em; margin-top: .05em;
  background: linear-gradient(100deg, #FFC27A 0%, #F5901E 50%, #FFB14F 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.35)); animation: fadeUp .8s .25s both;
}
/* Titular y subtítulo siempre en una sola línea: el tamaño se adapta al ancho de la columna */
.hero2-copy { container-type: inline-size; }
.hero2-title .l1, .hero2-title .l2 { white-space: nowrap; text-wrap: nowrap; }
.hero2-title .l1 { font-size: min(4rem, 9.6cqi); }
.hero2-title .l2 { font-size: min(4.4rem, 10.3cqi); }
.hero2-lead { color: #D5DDF0; font-size: 1.15rem; max-width: 30em; margin: 1rem 0 0; animation: fadeUp .8s .4s both; }

.hero2-meta {
  margin-top: 1.8rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.8rem;
  animation: fadeUp .8s .5s both;
}
.hero2-meta ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; font-size: .9rem; font-weight: 600; color: #E3E9F7; }
.hero2-meta li { display: flex; align-items: center; gap: .45rem; }
.hero2-meta li svg { color: var(--orange); }
/* Botón Llamar: estilo de Marks Electric (oscuro translúcido, borde claro, icono de auriculares en acento) */
.call-pill {
  display: inline-flex; align-items: center; gap: .8rem; flex: none;
  padding: 1rem 1.7rem; border-radius: 16px; border: 2px solid rgba(255,255,255,.45);
  background: rgba(3, 9, 24, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; letter-spacing: .01em; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 30px -16px rgba(0,0,0,.7);
  transition: border-color .2s, background .2s, transform .15s;
}
.call-pill svg { color: var(--orange); flex: none; }
.call-pill:hover { border-color: var(--orange); background: rgba(3, 9, 24, .8); transform: translateY(-2px); }

/* ---------- Cotizador horizontal ---------- */
.quoter-h { width: 100%; text-align: left; background: #F4F6FB; border-radius: 20px; }
.quoter-h .quoter-head { background: transparent; color: var(--ink); padding: 1.2rem 1.4rem .3rem; flex-direction: column; align-items: flex-start; gap: .9rem; }
.qh-title { display: flex; align-items: center; gap: .7rem; }
.qh-title h2 { font-size: 1.15rem; margin: 0; }
.qh-title small { color: var(--muted); font-weight: 600; font-size: .78rem; }
.qh-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--orange); color: var(--navy-950); display: grid; place-items: center; }
.quoter-h .steps { display: flex; align-items: center; gap: .5rem; }
.quoter-h .steps b { width: 22px; height: 1px; background: #C9D0DE; }
.quoter-h .stp { display: flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.quoter-h .stp i {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .75rem; font-weight: 800;
  background: #DDE3EF; color: var(--muted);
}
.quoter-h .stp i.on { background: var(--navy-900); color: #fff; }
.quoter-h .stp:has(i.on) { color: var(--ink); }
.quoter-h .quoter-body { padding: .9rem 1.4rem 1.4rem; }
.quoter-h .q-label { font-size: .9rem; color: var(--muted); }
.quoter-h .q-services { grid-template-columns: repeat(2, 1fr); max-height: 300px; }
.quoter-h .q-option { background: #fff; }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; align-items: end; }
.q-row .field { margin-bottom: 0; }
.q-row .field:empty { display: none; }
.q-row-2 { grid-template-columns: 1fr 1fr; margin-bottom: .8rem; }
.quoter-h .toggle-row .q-option { padding: .72rem .7rem; text-align: center; position: relative; }
.quoter-h .toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.quoter-h .toggle-row .q-option:has(input:checked) { border-color: var(--orange); background: var(--orange-100); }
.quoter-h .q-nav { justify-content: flex-end; }
.quoter-h .q-nav .btn { flex: 0 0 auto; }
.quoter-h .q-row .field:has(.toggle-row) { grid-column: 1 / -1; }
.quoter-h .q-nav { margin-top: 1rem; }
.q-split { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.q-split .q-result { margin: 0; text-align: left; padding: 1.2rem 1.3rem; }
.q-split .q-note { color: #9FAED0; }

/* ---------- Cotizador compacto ---------- */
.mini-q {
  width: 100%; max-width: 470px; justify-self: end; text-align: left;
  /* fondo gris azulado suave: menos brillo que el blanco puro, no compite con el titular */
  background: #E9EEF6; color: var(--ink); border-radius: 22px; padding: 1.3rem 1.4rem 1.4rem;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.65); animation: fadeUp .8s .3s both;
}
.mini-q.resizing { overflow: hidden; transition: height .45s cubic-bezier(.22,.8,.24,1); }
.mini-q .mq-chip:not(.on), .mini-q .mq-prefix { background: #fff; }
.mq-head { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.qh-logo { flex: none; display: grid; place-items: center; }
.qh-logo img { width: 42px; height: 42px; }
.mq-head h2 { font-size: 1.2rem; margin: 0; }
.mq-head small { color: var(--muted); font-weight: 600; font-size: .78rem; }
.mq-step { display: none; }
.mq-step.active { display: block; animation: fadeUp .3s ease; }
.mq-label { display: block; font-weight: 700; font-size: .85rem; margin: 0 0 .5rem; }
/* 5 botones en una sola línea */
.mq-chips { display: flex; flex-wrap: nowrap; gap: .35rem; margin-bottom: 1.1rem; }
.mq-chips > * { flex: 1 1 auto; } /* el ancho de cada botón se adapta a su texto */
.mq-chip {
  font: inherit; font-size: .82rem; font-weight: 600; color: var(--ink); text-align: center; white-space: nowrap;
  padding: .55rem .2rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper);
  cursor: pointer; transition: border-color .15s, background .15s, color .15s; min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.mq-chip:hover { border-color: var(--navy-700); }
.mq-chip.on { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
/* "Otro" + desplegable propio */
.mq-chips { position: relative; }
.mq-chips > .mq-more { flex: 0 0 4.8rem; width: 4.8rem; display: inline-flex; align-items: center; justify-content: center; gap: .25rem; padding-inline: .45rem; }
.mq-more span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mq-chev { flex: none; transition: transform .2s ease; }
.mq-more.open { border-color: var(--navy-700); }
.mq-more.open .mq-chev { transform: rotate(180deg); }
.mq-chips > .mq-menu {
  position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; width: min(100%, 290px);
  max-height: 264px; overflow-y: auto; overscroll-behavior: contain;
  padding: .35rem; background: #fff; border: 1px solid rgba(11,27,63,.08); border-radius: 14px;
  box-shadow: 0 22px 44px -16px rgba(11,27,63,.45), 0 2px 6px rgba(11,27,63,.06);
  transform-origin: top right; animation: mqMenu .18s cubic-bezier(.2,.8,.2,1);
  scrollbar-width: thin; scrollbar-color: #C9D3EC transparent;
}
.hero2.menu-open { overflow: visible; z-index: 5; }
.mini-q { position: relative; z-index: 2; } /* el menú queda por encima de la línea naranja del hero */
.mq-chips > .mq-menu.up { top: auto; bottom: calc(100% + 6px); transform-origin: bottom right; }
@keyframes mqMenu { from { opacity: 0; transform: translateY(-4px) scale(.97); } }
.mq-opt {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%;
  font: inherit; font-size: .88rem; font-weight: 500; color: var(--ink); text-align: left;
  padding: .55rem .7rem; border: 0; border-radius: 9px; background: none; cursor: pointer;
}
.mq-opt svg { flex: none; color: var(--orange); opacity: 0; }
.mq-opt:hover, .mq-opt:focus-visible { background: #EEF2FA; outline: none; }
.mq-opt.on { font-weight: 700; color: var(--navy-900); background: #FFF3E4; }
.mq-opt.on svg { opacity: 1; }
#mq-next:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.mq-back { background: none; border: 0; padding: 0; font: inherit; font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; margin-bottom: .7rem; }
.mq-back:hover { color: var(--ink); }
/* Tarjeta de precio: un solo bloque compacto (servicio · precio · zona) */
.mq-result { background: linear-gradient(135deg, var(--navy-900), #142C66); color: #fff; border-radius: 16px; padding: .8rem 1.1rem .75rem; margin-bottom: .9rem; position: relative; overflow: hidden; }
.mq-result::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(245,144,30,.22), transparent 70%); pointer-events: none; }
.mq-res-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.mq-res-top span { font-size: .85rem; font-weight: 600; color: #C9D3EC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mq-res-top small { flex: none; font-size: .7rem; font-weight: 700; letter-spacing: .02em; color: #fff; background: rgba(255,255,255,.12); border-radius: 999px; padding: .15rem .55rem; }
.mq-result strong { display: block; font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 1.65rem; line-height: 1.2; color: var(--orange); margin: .1rem 0 .45rem; white-space: nowrap; }
.mq-where { display: flex; align-items: center; flex-wrap: wrap; gap: .1rem .35rem; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.mq-where svg { color: var(--orange); flex: none; }
.mq-where b { font-weight: 700; }
.mq-where span { color: #6F80A8; }
.mq-where small { font-size: .82rem; color: #C9D3EC; }

.mq-qty { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; font-weight: 600; font-size: .9rem; }
.mq-stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.mq-stepper button { width: 36px; height: 34px; border: 0; background: var(--paper); font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.mq-stepper button:hover { background: var(--navy-100); }
.mq-stepper b { min-width: 34px; text-align: center; }
.mq-m2 { display: flex; align-items: center; gap: .4rem; }
.mq-m2 input { width: 80px; font: inherit; padding: .4rem .6rem; border: 1.5px solid var(--line); border-radius: 10px; text-align: center; }

.mq-urgent { display: block; position: relative; padding-left: 1.75rem; text-align: left; font-weight: 700; font-size: .92rem; line-height: 1.4; margin-bottom: 1rem; cursor: pointer; }
.mq-urgent input { position: absolute; left: 0; top: .1rem; margin: 0; width: 18px; height: 18px; accent-color: var(--orange); }
.mq-urgent small { font-weight: 500; color: var(--muted); }

/* Teléfono primero */
.mq-call-row { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.mq-call-row:focus-within { border-color: var(--navy-700); box-shadow: 0 0 0 3px var(--navy-100); }
.mq-call-row.bad { border-color: #D64545; box-shadow: 0 0 0 3px rgba(214,69,69,.15); animation: mqShake .35s ease; }
@keyframes mqShake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.mq-prefix { display: grid; place-items: center; padding: 0 .7rem; background: var(--paper); font-weight: 700; color: var(--muted); border-right: 1.5px solid var(--line); }
.mq-call-row input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; letter-spacing: .03em; padding: .75rem .8rem; }
.mq-call-row .btn { border-radius: 0; padding: .6rem 1.1rem; box-shadow: none; transform: none; }
.mq-privacy-note { margin: .5rem 0 0; font-size: .75rem; line-height: 1.4; color: var(--muted); }
.mq-privacy-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* WhatsApp como alternativa */
.mq-or { display: flex; align-items: center; gap: .7rem; margin: .9rem 0 .7rem; font-size: .75rem; font-weight: 600; color: var(--muted); }
.mq-or::before, .mq-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-wa-line { background: #fff; color: #15803D; border: 1.5px solid #25D366; box-shadow: none; }
.btn-wa-line svg { width: 20px; height: 20px; fill: #25D366; }
.btn-wa-line:hover { background: #EEFBF2; }
.mini-q .q-note { text-align: center; margin-top: .8rem; }
.mini-q .q-done { padding: .5rem 0; }

/* ---------- Indicador de scroll ---------- */
.scroll-cue { position: absolute; right: 1.6rem; bottom: 1.8rem; display: flex; align-items: center; gap: .7rem; }
.scroll-cue span { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.scroll-cue i { position: relative; width: 1px; height: 40px; background: rgba(255,255,255,.2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%; background: var(--orange); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(200%); } }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .header-float .container { width: calc(100% - 24px); }
  .header-float .nav.open { top: 78px; border-radius: 20px; background: var(--navy-950); }
  .circuit { display: none; }
  .hero2-inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero2-lead { margin-inline: auto; }
  .hero2-meta { align-items: center; }
  .hero2-meta ul { justify-content: center; }
  .mini-q { justify-self: center; }
  .quoter-h .q-services { max-height: 260px; }
}
@media (max-width: 640px) {
  .hero2 { padding-top: 7rem; }
  .brand-badge { width: 44px; height: 44px; }
  .brand-badge img { width: 32px; height: 32px; }
  .header-float .brand-name { font-size: 1.15rem; }
  .quoter-h .quoter-head { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .quoter-h .stp { font-size: .75rem; }
  .quoter-h .steps b { width: 10px; }
  .quoter-h .q-services { grid-template-columns: 1fr 1fr; }
  .q-row, .q-row-2 { grid-template-columns: 1fr; }
  .call-pill { font-size: 1.05rem; padding: .9rem 1.4rem; }
  .mini-q { padding: 1.1rem 1rem 1.2rem; }
  .mq-chips { gap: .25rem; }
  .mq-chip { font-size: .74rem; padding: .55rem .35rem; overflow: visible; }
  .scroll-cue { display: none; }
}

/* ---------- Tarjetas de servicio desplegables ---------- */
.services { align-items: start; }
.service[data-expand] { cursor: pointer; }
.svc-toggle {
  display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; margin: .2rem 0 .6rem;
  font: inherit; font-size: .82rem; font-weight: 700; color: var(--navy-700); background: none; border: 0; padding: 0; cursor: pointer;
}
.svc-toggle svg { transition: transform .3s ease; }
.service.open .svc-toggle svg { transform: rotate(180deg); }
.service.featured .svc-toggle { color: var(--orange); }
.svc-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.22,.8,.24,1); }
.service.open .svc-more { grid-template-rows: 1fr; }
.svc-more > div { overflow: hidden; min-height: 0; }
.svc-more p { flex: none; font-size: .9rem; margin: 0 0 .6rem; }
.svc-more ul { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: .35rem; font-size: .86rem; }
.svc-more li { position: relative; padding-left: 1.1rem; color: var(--ink); }
.svc-more li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.service.featured .svc-more li { color: #E3E9F7; }
.svc-more a { color: var(--orange-600); font-weight: 700; text-decoration: none; }
.service.featured .svc-more a { color: var(--orange); }
@media (prefers-reduced-motion: reduce) { .svc-more, .svc-toggle svg { transition: none; } }

/* ==========================================================
   Páginas interiores (Precios, Boletín CIE)
   ========================================================== */
.page-hero {
  position: relative; isolation: isolate; overflow: clip; color: #fff;
  padding: 9rem 0 3.5rem;
  background:
    radial-gradient(ellipse 60% 60% at 80% 10%, rgba(29,62,142,.6), transparent 70%),
    radial-gradient(circle at 8% 100%, rgba(245,144,30,.16), transparent 40%),
    linear-gradient(180deg, #1D3E8E 0%, #12285A 45%, #071330 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--orange); }
.crumbs { display: flex; gap: .45rem; flex-wrap: wrap; font-size: .82rem; color: #9FAED0; margin-bottom: 1.2rem; list-style: none; padding: 0; }
.crumbs a { color: #C9D3EC; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "›"; margin-right: .45rem; color: #6F80A8; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 1rem; max-width: 16em; text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.page-hero h1 em { font-style: normal; color: var(--orange); }
.page-hero .lead { color: #D5DDF0; font-size: 1.12rem; max-width: 38em; margin: 0 0 1.6rem; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero-facts { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .9rem; font-weight: 600; color: #E3E9F7; }
.hero-facts li { display: flex; align-items: center; gap: .45rem; }
.hero-facts svg { width: 15px; height: 15px; color: var(--orange); }
.price-badge {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 1.4rem 1.5rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.price-badge small { display: block; color: #B7C3E0; font-size: .82rem; font-weight: 600; }
.price-badge strong { display: block; font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.7rem); color: var(--orange); line-height: 1.1; margin: .2rem 0 .4rem; }
.price-badge p { margin: 0; font-size: .86rem; color: #C9D3EC; }

/* Tabla de precios */
.price-group { margin-bottom: 2.2rem; }
.price-group h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; margin: 0 0 .8rem; }
.price-group h3 svg { width: 22px; height: 22px; color: var(--orange); }
.ptable { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; align-items: center; padding: .9rem 1.2rem; border-top: 1px solid var(--line); }
.prow:first-child { border-top: 0; }
.prow:hover { background: #F7F9FD; }
.prow b { display: block; font-size: .98rem; }
.prow small { display: block; color: var(--muted); font-size: .82rem; margin-top: .1rem; }
.prow .amt { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 1.1rem; color: var(--navy-700); white-space: nowrap; text-align: right; }
.prow .amt span { display: block; font-family: var(--font-body); font-stretch: normal; font-weight: 600; font-size: .72rem; color: var(--muted); }
.prow .go { font-size: .85rem; font-weight: 700; color: var(--orange-600); text-decoration: none; white-space: nowrap; }
.prow .go:hover { text-decoration: underline; }
.price-notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0 0 3rem; }
.price-note { background: var(--paper); border-radius: 16px; padding: 1.1rem 1.2rem; }
.price-note svg { width: 24px; height: 24px; color: var(--orange); margin-bottom: .5rem; }
.price-note b { display: block; font-size: .98rem; margin-bottom: .2rem; }
.price-note p { margin: 0; font-size: .88rem; color: var(--muted); }

/* Bloques de contenido */
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.icard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; }
.section-alt .icard { border-color: transparent; }
.icard svg { width: 26px; height: 26px; color: var(--orange); margin-bottom: .7rem; }
.icard h3 { font-size: 1.08rem; margin: 0 0 .4rem; }
.icard p { margin: 0; color: var(--muted); font-size: .93rem; }
.factor-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.factor-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .8rem; align-items: start; }
.factor-list .n { width: 34px; height: 34px; border-radius: 10px; background: var(--navy-900); color: var(--orange); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.factor-list b { display: block; }
.factor-list p { margin: .1rem 0 0; color: var(--muted); font-size: .93rem; }
.callout { display: flex; gap: 1rem; align-items: flex-start; background: var(--orange-100); border-radius: 16px; padding: 1.2rem 1.3rem; margin-top: 1.6rem; }
.callout svg { width: 24px; height: 24px; flex: none; color: var(--orange-600); }
.callout p { margin: 0; font-size: .94rem; }

@media (max-width: 920px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .price-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .page-hero { padding: 7.5rem 0 2.8rem; }
  .cards-2, .price-notes { grid-template-columns: minmax(0, 1fr); }
  .prow { grid-template-columns: minmax(0, 1fr) auto; padding: .85rem 1rem; }
  .prow .go { grid-column: 1 / -1; justify-self: start; margin-top: -.3rem; }
}

/* ==========================================================
   Landing empresas (B2B) con estilo Demo 2
   ========================================================== */
.hero2-b2b { padding-top: 6.5rem; padding-bottom: 2rem; }
.hero2-b2b .hero2-title .l1 { font-size: min(4rem, 6.9cqi); }
.hero2-b2b .hero2-title .l2 { font-size: min(4.4rem, 10cqi); }
.b2b-card .mq-head { margin-bottom: .9rem; }
.bq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem .7rem; margin-bottom: .9rem; }
.bq-field { display: block; min-width: 0; }
.bq-field.full { grid-column: 1 / -1; }
.bq-field > span { display: block; font-weight: 700; font-size: .8rem; margin: 0 0 .3rem; }
.bq-field em { font-style: normal; font-weight: 500; color: var(--muted); }
.bq-field input, .bq-field select, .bq-field textarea {
  width: 100%; font: inherit; font-size: .92rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: .6rem .75rem; transition: border-color .2s, box-shadow .2s;
}
.bq-field textarea { resize: vertical; min-height: 2.9rem; }
.bq-field select {
  appearance: none; -webkit-appearance: none; padding-right: 2rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%230E1726' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .7rem center / 11px;
}
.bq-field input:focus, .bq-field select:focus, .bq-field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px var(--navy-100); }
.bq-field input.bad { border-color: #D64545; box-shadow: 0 0 0 3px rgba(214,69,69,.15); }
.b2b-card .mq-call-row input { padding: .6rem .75rem; font-size: .95rem; }
.b2b-card .mq-urgent { margin-bottom: .9rem; }
.b2b-card .mq-privacy-note { text-align: center; margin-top: .6rem; }
.b2b-card .q-done { padding: 1rem 0 .5rem; text-align: center; }
.b2b-list a { color: var(--orange-600); }
@media (max-width: 640px) {
  .bq-grid { gap: .55rem .5rem; }
  .bq-field input, .bq-field select { font-size: .88rem; padding-inline: .6rem; }
}

/* ---------- Cotizador: fuego en "Es urgente" ---------- */
.mq-urgent .fire { font-size: 1.05em; line-height: 1; }
