/* ═══════════════════════════════════════════════════════════
   MAQUETA · R.G Smart Technology (renovación 2026-10)
   Hereda tokens y fuentes de style.css. Base clara y sobria.
   Estructura inspirada en páginas de producto; identidad propia.
   ═══════════════════════════════════════════════════════════ */

.mq-wrap { max-width: 1120px; margin: 0 auto; }
.mq-flag {
  position: fixed; left: 12px; bottom: 12px; z-index: 400;
  background: oklch(0.14 0.01 254 / .88); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  padding: 6px 10px; border-radius: 6px; pointer-events: none;
}

/* ─── Etiquetas y textos comunes ─── */
.mq-kicker {
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}
.mq-wrap > h2, .mq-building h2, .mq-about h2 { text-align: left; }
.mq-lead { font-size: 1.05rem; line-height: 1.72; color: var(--ink-muted); max-width: 60ch; }
.mq-note { font-size: .74rem; color: var(--ink-muted); }
.mq-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mq-tags span {
  font-size: .7rem; font-weight: 600; padding: 3px 10px; border-radius: 100px;
  color: var(--c, var(--blue));
  background: color-mix(in oklab, var(--c, var(--blue)) 9%, white);
  border: 1px solid color-mix(in oklab, var(--c, var(--blue)) 24%, white);
}

/* ─── Botón secundario (sobre fondo claro) ─── */
.mq-btn-line {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 26px; border-radius: 10px;
  border: 1px solid var(--border-md); background: #fff;
  font-weight: 600; font-size: .95rem; color: var(--ink);
  transition: border-color .2s, color .2s, transform .2s;
}
.mq-btn-line:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ─────────────────────────── HÉROE ─────────────────────────── */
.mq-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 56px) var(--pad) 72px;
  background:
    radial-gradient(ellipse 60% 55% at 85% 10%, var(--blue-dim) 0%, transparent 70%),
    linear-gradient(var(--bg-alt), var(--bg-page));
}
.mq-hero-grid { display: grid; gap: 48px; align-items: center; }
.mq-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 100px;
  background: #fff; border: 1px solid var(--border);
  font-size: .8rem; font-weight: 500; color: var(--ink-muted);
  box-shadow: var(--sh-sm); margin-bottom: 22px;
}
.mq-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.7rem, 7vw, 4.9rem); font-weight: 900;
  line-height: .96; letter-spacing: -.02em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 18px; text-wrap: balance;
}
.mq-hero h1 em { color: var(--blue); }
.mq-sub { font-size: 1.08rem; line-height: 1.72; color: var(--ink-muted); max-width: 52ch; margin-bottom: 30px; }
.mq-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.mq-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.mq-facts li { font-size: .84rem; font-weight: 500; color: var(--ink-muted); }
.mq-facts li::before { content: "✓"; color: var(--c-auto); font-weight: 700; margin-right: 7px; }

/* ─── Panel ilustrativo del héroe ─── */
.mq-panel {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 0 0 18px; max-width: 460px; margin: 0 auto;
}
.mq-panel-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-size: .74rem; font-weight: 600; color: var(--ink-muted);
}
.mq-panel-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-md); }
.mq-panel-bar span { margin-left: 8px; }
.mq-stock { list-style: none; padding: 14px 16px 6px; }
.mq-stock li { display: grid; grid-template-columns: 1fr 90px 30px; align-items: center; gap: 12px; padding: 8px 0; font-size: .84rem; }
.mq-stock b { height: 8px; border-radius: 8px; background: var(--border); position: relative; overflow: hidden; }
.mq-stock b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 8px; background: var(--c-auto); }
.mq-stock b.mid::after { background: var(--c-cctv); }
.mq-stock b.low::after { background: var(--c-build); }
.mq-stock em { font-weight: 600; text-align: right; color: var(--ink); }
.mq-alert {
  margin: 8px 16px 0; padding: 9px 12px; border-radius: 10px;
  background: color-mix(in oklab, var(--c-build) 9%, white);
  border: 1px solid color-mix(in oklab, var(--c-build) 22%, white);
  color: var(--c-build); font-size: .78rem;
}
.mq-ticks { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 16px 4px; font-size: .78rem; font-weight: 600; color: var(--c-auto); }
.mq-panel .mq-note { padding: 6px 16px 0; }

@media (min-width: 920px) {
  .mq-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

/* ─────────────────────────── Secciones ─────────────────────────── */
.mq-pain, .mq-services, .mq-building, .mq-work, .mq-about, .mq-faq, .mq-cta { padding: 72px var(--pad); }

/* ─── ¿Te suena familiar? ─── */
.mq-pain-grid { display: grid; gap: 14px; margin-top: 26px; grid-template-columns: 1fr; }
.mq-pain-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--sh-sm);
}
.mq-n {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-dim); color: var(--blue); font-weight: 700; font-size: .85rem; margin-bottom: 12px;
}
.mq-pain-card p { font-size: 1.02rem; font-weight: 500; line-height: 1.5; color: var(--ink); }
.mq-bridge { margin-top: 26px; font-size: 1.08rem; color: var(--ink-muted); }
.mq-bridge strong { color: var(--blue); }

/* ─── Servicios ─── */
.mq-svc-main, .mq-svc-more { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 26px; }
.mq-svc-more { margin-top: 16px; }
.mq-svc {
  background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--c, var(--blue));
  border-radius: var(--r-lg); padding: 24px; transition: transform .25s, box-shadow .25s;
}
.mq-svc:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.mq-svc h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: .01em; line-height: 1.1; margin-bottom: 10px; color: var(--ink);
}
.mq-svc-big h3 { font-size: 1.55rem; }
.mq-svc-sm h3 { font-size: 1.2rem; }
.mq-svc p { font-size: .95rem; line-height: 1.62; color: var(--ink-muted); }
.mq-svc-sm { padding: 20px; }

/* ─── Lo que estamos construyendo ─── */
.mq-building-grid { display: grid; gap: 36px; align-items: center; }
.mq-checks { list-style: none; margin: 20px 0 28px; display: grid; gap: 12px; }
.mq-checks li { position: relative; padding-left: 32px; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.mq-checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: color-mix(in oklab, var(--c-auto) 14%, white);
  color: var(--c-auto); font-size: .8rem; font-weight: 700;
}
.mq-building-card {
  background: var(--bg-alt); border: 1px dashed var(--border-md); border-radius: var(--r-lg);
  padding: 26px; display: grid; gap: 10px;
}
.mq-badge {
  justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  color: var(--c-cctv); background: color-mix(in oklab, var(--c-cctv) 12%, white);
  border: 1px solid color-mix(in oklab, var(--c-cctv) 28%, white);
}
.mq-mod {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px;
  font-weight: 600; font-size: .95rem;
}
.mq-mod i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex-shrink: 0; }

/* ─── Trabajo realizado ─── */
.mq-work-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 26px; }
.mq-case { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; }
.mq-shot {
  aspect-ratio: 16 / 10; display: grid; place-items: center; margin-bottom: 14px;
  border-radius: 12px; border: 1px dashed var(--border-md);
  background: repeating-linear-gradient(135deg, var(--bg-alt) 0 12px, #fff 12px 24px);
  color: var(--ink-muted); font-size: .8rem; font-weight: 600;
}
.mq-case h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.mq-case p { font-size: .92rem; line-height: 1.55; color: var(--ink-muted); }

/* ─── Quién te atiende ─── */
.mq-about-grid { display: grid; gap: 32px; align-items: center; }
.mq-photo {
  aspect-ratio: 4 / 5; max-width: 320px; width: 100%; margin: 0 auto; display: grid; place-items: center;
  border-radius: var(--r-lg); border: 1px dashed var(--border-md);
  background: repeating-linear-gradient(135deg, var(--bg-alt) 0 14px, #fff 14px 28px);
  color: var(--ink-muted); font-weight: 600; font-size: .9rem;
}

@media (min-width: 600px) {
  .mq-pain-grid { grid-template-columns: repeat(2, 1fr); }
  .mq-work-grid, .mq-svc-more { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 920px) {
  .mq-pain-grid { grid-template-columns: repeat(4, 1fr); }
  .mq-svc-main, .mq-svc-more { grid-template-columns: repeat(3, 1fr); }
  .mq-work-grid { grid-template-columns: repeat(3, 1fr); }
  .mq-building-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .mq-about-grid { grid-template-columns: 320px 1fr; gap: 56px; }
}

/* ─── Preguntas frecuentes ─── */
.mq-faq-wrap { max-width: 760px; }
.mq-faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  margin-top: 12px; padding: 0 20px;
}
.mq-faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.mq-faq summary::-webkit-details-marker { display: none; }
.mq-faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--blue); line-height: 1; }
.mq-faq details[open] summary::after { content: "–"; }
.mq-faq details p { padding: 0 0 18px; font-size: .96rem; line-height: 1.65; color: var(--ink-muted); }

/* ─── Cierre ─── */
.mq-cta, .mq-cta { background: var(--blue); text-align: center; }
.mq-cta h2 { color: #fff; max-width: 22ch; margin: 0 auto 14px; text-align: center; }
.mq-cta .mq-lead { color: oklch(1 0 0 / .82); margin: 0 auto 28px; }

/* ─── Pie ─── */
.mq-footer { padding: 26px var(--pad); text-align: center; font-size: .82rem; color: var(--ink-muted); border-top: 1px solid var(--border); }

/* ─── Celular ─── */
@media (max-width: 599px) {
  .mq-hero { padding-bottom: 56px; }
  .mq-pain, .mq-services, .mq-building, .mq-work, .mq-about, .mq-faq, .mq-cta { padding-top: 56px; padding-bottom: 56px; }
  .mq-actions .btn-wa, .mq-actions .mq-btn-line { width: 100%; justify-content: center; }
  .mq-stock li { grid-template-columns: 1fr 70px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-svc, .mq-btn-line { transition: none; }
}

/* ═══════════ v2 (18-oct-2026): más vida, con moderación ═══════════
   Brillos solo como acentos (héroe, franja que se mueve y bloque "En desarrollo").
   Sin degradados en titulares. Azul de marca + un celeste claro como "neón". */
:root { --mq-night: oklch(0.15 0.03 254); --mq-neon: oklch(0.78 0.14 230); }

/* ─── Brillos del héroe ─── */
.mq-glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.mq-glow-a { width: 380px; height: 380px; right: 4%; top: 70px; background: oklch(0.62 0.17 240 / .40); }
.mq-glow-b { width: 280px; height: 280px; right: 24%; bottom: -50px; background: oklch(0.80 0.11 215 / .32); }
.mq-hero .mq-wrap { position: relative; z-index: 1; }
.mq-panel { box-shadow: 0 0 0 1px oklch(0.60 0.14 254 / .22), 0 24px 64px oklch(0.55 0.16 254 / .24); }

/* ─── Demostración interactiva ─── */
.mq-stock b::after { transition: width .5s ease, background .3s; }
.mq-toast {
  min-height: 1.5em; margin: 8px 16px 0; font-size: .8rem; font-weight: 600; color: var(--c-auto);
  opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s;
}
.mq-toast.show { opacity: 1; transform: none; }
.mq-demo-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 10px 16px 0; }
.mq-demo-row .mq-note { padding: 0; }
.mq-sim {
  background: var(--blue); color: #fff; border: 0; border-radius: 9px;
  padding: 9px 14px; font-weight: 600; font-size: .84rem;
  transition: background .2s, transform .15s;
}
.mq-sim:hover { background: var(--blue-dk); }
.mq-sim:active { transform: scale(.97); }

/* ─── Franja que se mueve ─── */
.mq-marquee {
  position: relative; overflow: hidden; background: var(--mq-night); color: #fff;
  padding: 18px 0; border-block: 1px solid oklch(1 0 0 / .08);
}
.mq-marquee::before, .mq-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.mq-marquee::before { left: 0; background: linear-gradient(90deg, var(--mq-night), transparent); }
.mq-marquee::after { right: 0; background: linear-gradient(270deg, var(--mq-night), transparent); }
.mq-track { display: flex; width: max-content; animation: mq-scroll 42s linear infinite; }
.mq-marquee:hover .mq-track { animation-play-state: paused; }
.mq-track ul { display: flex; flex-shrink: 0; list-style: none; }
.mq-track li {
  position: relative; padding: 0 30px; white-space: nowrap;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.35rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.mq-track li::after {
  content: ""; position: absolute; right: -4px; top: 50%; width: 7px; height: 7px; border-radius: 50%;
  background: var(--mq-neon); box-shadow: 0 0 10px var(--mq-neon); transform: translateY(-50%);
}
@keyframes mq-scroll { to { transform: translateX(-50%); } }

/* ─── Bloque oscuro "En desarrollo" ─── */
.mq-dark { position: relative; overflow: hidden; background: var(--mq-night); color: #fff; }
.mq-dark::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -8%; top: -30%;
  border-radius: 50%; background: oklch(0.55 0.17 245 / .30); filter: blur(95px); pointer-events: none;
}
.mq-dark > .mq-wrap { position: relative; }
.mq-dark .mq-kicker { color: var(--mq-neon); }
.mq-dark h2 { color: #fff; }
.mq-dark h2 em { color: var(--mq-neon); }
.mq-dark .mq-lead { color: oklch(1 0 0 / .76); }
.mq-dark .mq-checks li { color: oklch(1 0 0 / .94); }
.mq-dark .mq-checks li::before { background: oklch(0.78 0.14 230 / .16); color: var(--mq-neon); }
.mq-dark .mq-building-card {
  background: oklch(1 0 0 / .05); border: 1px solid oklch(1 0 0 / .16);
  box-shadow: 0 0 70px oklch(0.60 0.15 240 / .20);
}
.mq-dark .mq-mod { background: oklch(1 0 0 / .06); border-color: oklch(1 0 0 / .13); color: #fff; }
.mq-dark .mq-note { color: oklch(1 0 0 / .62); }

/* ─── Casos y detalles ─── */
.mq-case { position: relative; }
.mq-badge-top { position: absolute; top: 30px; right: 30px; z-index: 1; }
.mq-proof { margin-top: 24px; font-size: .98rem; color: var(--ink-muted); }
.mq-svc:hover { box-shadow: 0 10px 34px color-mix(in oklab, var(--c, var(--blue)) 22%, transparent); }

@media (min-width: 920px) {
  .mq-svc-more { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 599px) {
  .mq-track li { font-size: 1.15rem; padding: 0 22px; }
  .mq-glow-a { width: 260px; height: 260px; right: -60px; top: 40px; }
  .mq-glow-b { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .mq-track ul { flex-wrap: wrap; justify-content: center; padding: 0 var(--pad); row-gap: 8px; }
  .mq-track ul + ul { display: none; }
  .mq-marquee::before, .mq-marquee::after { display: none; }
  .mq-stock b::after, .mq-toast { transition: none; }
}

/* ─── Foto "Quién te atiende" ─── */
.mq-photo-img { width: 100%; max-width: 520px; height: auto; margin: 0 auto; border-radius: var(--r-lg); box-shadow: var(--sh-md); }
@media (min-width: 920px) {
  .mq-about-grid { grid-template-columns: 460px 1fr; }
  .mq-photo-img { margin: 0; }
}

/* ─── Capturas de los casos ─── */
.mq-shot-img {
  display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left;
  border-radius: 12px; border: 1px solid var(--border); margin-bottom: 14px; background: var(--bg-alt);
}

/* ═══════════ v3 (18-oct-2026): ampliar imágenes, franja final y brillo suave en servicios ═══════════ */

/* ─── Franjas de color de los servicios: "neón" suave (brillan un poco, sin incandescer) ─── */
.mq-svc {
  border-top-color: color-mix(in oklab, var(--c, var(--blue)) 78%, white);
  box-shadow: 0 -3px 14px -3px color-mix(in oklab, var(--c, var(--blue)) 50%, transparent);
}
.mq-svc:hover {
  box-shadow: 0 -4px 20px -2px color-mix(in oklab, var(--c, var(--blue)) 62%, transparent),
              0 10px 34px color-mix(in oklab, var(--c, var(--blue)) 20%, transparent);
}

/* ─── Imágenes de los casos: se agrandan un poco con el cursor y se amplían con clic ─── */
.mq-zoom {
  position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0;
  border: 0; border-radius: 12px; overflow: hidden; background: none; cursor: zoom-in; font: inherit;
}
.mq-zoom .mq-shot-img { margin: 0; transition: transform .45s ease; }
.mq-zoom:hover .mq-shot-img, .mq-zoom:focus-visible .mq-shot-img { transform: scale(1.05); }
.mq-zoom-hint {
  position: absolute; right: 10px; bottom: 10px; padding: 5px 12px; border-radius: 100px;
  background: oklch(0.14 0.02 254 / .84); color: #fff; font-size: .74rem; font-weight: 600;
  opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s;
}
.mq-zoom:hover .mq-zoom-hint, .mq-zoom:focus-visible .mq-zoom-hint { opacity: 1; transform: none; }
@media (hover: none) { .mq-zoom-hint { opacity: 1; transform: none; } }

/* ─── Ventana de imagen ampliada ─── */
.mq-lightbox {
  border: 0; padding: 0; margin: auto; background: transparent; overflow: visible;
  max-width: min(96vw, 1400px); max-height: 94vh;
}
.mq-lightbox::backdrop { background: oklch(0.10 0.025 254 / .86); backdrop-filter: blur(5px); }
.mq-lightbox figure { position: relative; margin: 0; }
.mq-lightbox img {
  display: block; margin: 0 auto; width: auto; height: auto; max-width: 100%; max-height: 80vh;
  border-radius: 14px; background: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,.5), 0 0 0 1px oklch(1 0 0 / .12);
}
.mq-lightbox figcaption { margin-top: 12px; text-align: center; font-size: .9rem; color: oklch(1 0 0 / .86); }
.mq-lb-close {
  position: absolute; top: -14px; right: -14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; box-shadow: var(--sh-md);
}
.mq-lb-close:hover { background: var(--bg-alt); }
body:has(dialog[open]) { overflow: hidden; }

/* ─── Franja final: más presencia (luces azules, rejilla tenue, botón con brillo) ─── */
.mq-cta {
  position: relative; overflow: hidden; padding: 104px var(--pad);
  background:
    radial-gradient(ellipse 55% 85% at 12% 15%, oklch(0.62 0.17 240 / .55), transparent 62%),
    radial-gradient(ellipse 50% 75% at 92% 92%, oklch(0.78 0.12 215 / .34), transparent 62%),
    linear-gradient(135deg, oklch(0.40 0.17 258), oklch(0.29 0.14 262));
  border-top: 1px solid oklch(0.78 0.14 230 / .55);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / .14);
}
.mq-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(oklch(1 0 0 / .06) 1px, transparent 1px), linear-gradient(90deg, oklch(1 0 0 / .06) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 30%, transparent 85%);
}
.mq-cta-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.mq-cta-glow-a { width: 360px; height: 360px; left: -80px; top: -90px; background: oklch(0.70 0.15 235 / .38); }
.mq-cta-glow-b { width: 320px; height: 320px; right: -60px; bottom: -110px; background: oklch(0.82 0.11 215 / .30); }
.mq-cta-inner { position: relative; z-index: 1; }
.mq-cta-kicker {
  display: inline-block; margin-bottom: 16px; padding: 6px 14px; border-radius: 100px;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mq-neon); background: oklch(1 0 0 / .08); border: 1px solid oklch(0.78 0.14 230 / .4);
  box-shadow: 0 0 18px oklch(0.78 0.14 230 / .22);
}
.mq-cta h2 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); max-width: 20ch; margin: 0 auto 16px; }
.mq-cta h2 em { color: var(--mq-neon); text-shadow: 0 0 22px oklch(0.78 0.14 230 / .45); }
.mq-cta .mq-lead { color: oklch(1 0 0 / .86); margin: 0 auto 30px; }
.mq-cta-btn { padding: 17px 34px; font-size: 1.05rem; box-shadow: 0 0 0 0 oklch(0.72 0.24 142 / .5), 0 10px 34px oklch(0.72 0.24 142 / .45); animation: mq-pulse 2.6s ease-out infinite; }
@keyframes mq-pulse { 0% { box-shadow: 0 0 0 0 oklch(0.72 0.24 142 / .45), 0 10px 34px oklch(0.72 0.24 142 / .45); } 70% { box-shadow: 0 0 0 16px oklch(0.72 0.24 142 / 0), 0 10px 34px oklch(0.72 0.24 142 / .45); } 100% { box-shadow: 0 0 0 0 oklch(0.72 0.24 142 / 0), 0 10px 34px oklch(0.72 0.24 142 / .45); } }
.mq-cta-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 32px; }
.mq-cta-points li {
  padding: 8px 16px; border-radius: 100px; font-size: .88rem; font-weight: 500; color: #fff;
  background: oklch(1 0 0 / .08); border: 1px solid oklch(1 0 0 / .22);
}
.mq-cta-points li::before { content: "✓"; color: var(--mq-neon); font-weight: 700; margin-right: 8px; }

@media (max-width: 599px) {
  .mq-cta { padding: 72px var(--pad); }
  .mq-lb-close { top: -10px; right: -6px; }
  .mq-lightbox img { max-height: 74vh; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-zoom .mq-shot-img { transition: none; }
  .mq-zoom:hover .mq-shot-img, .mq-zoom:focus-visible .mq-shot-img { transform: none; }
  .mq-cta-btn { animation: none; }
}

/* ═══════════ v4 (18-oct-2026): franja que se mueve con cuadritos de rejilla ═══════════
   Mismos cuadritos de la franja final, más tenues para no competir con el texto. */
.mq-marquee {
  background:
    linear-gradient(oklch(1 0 0 / .06) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, oklch(1 0 0 / .06) 1px, transparent 1px) 0 0 / 30px 30px,
    radial-gradient(ellipse 55% 160% at 50% 50%, oklch(0.52 0.17 250 / .34), transparent 72%),
    var(--mq-night);
  border-block: 1px solid oklch(0.78 0.14 230 / .30);
  box-shadow: inset 0 0 46px oklch(0.55 0.17 250 / .22);
}

/* ═══════════ v5 (18-oct-2026): integración al index (valores, compromisos y cobertura) ═══════════ */
.mq-values { list-style: none; display: grid; gap: 14px; margin: 24px 0 28px; }
.mq-values li { position: relative; padding-left: 32px; font-size: .96rem; line-height: 1.45; color: var(--ink-muted); }
.mq-values li strong { display: block; font-weight: 600; color: var(--ink); }
.mq-values li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-dim); color: var(--blue); font-size: .72rem; font-weight: 700;
}
.mq-pledges { margin-top: 60px; }
.mq-pledges-title { max-width: 46ch; margin: 0 auto 22px; text-align: center; font-size: 1.05rem; font-weight: 600; line-height: 1.45; color: var(--ink-muted); }
.mq-pledge-grid { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr; }
.mq-pledge-grid li { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-sm); }
.mq-pledge-grid strong {
  display: block; margin-bottom: 8px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.22rem; letter-spacing: .01em; text-transform: uppercase; color: var(--ink);
}
.mq-pledge-grid p { font-size: .93rem; line-height: 1.58; color: var(--ink-muted); }

.mq-coverage { padding: 64px var(--pad); }
.mq-coverage h2 { text-align: left; }
.mq-coverage p { max-width: 62ch; line-height: 1.7; color: var(--ink-muted); }
.mq-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mq-chips li { padding: 7px 16px; border-radius: 100px; font-size: .88rem; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--border-md); }

@media (min-width: 600px) { .mq-pledge-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .mq-pledge-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 599px) { .mq-coverage { padding: 48px var(--pad); } .mq-pledges { margin-top: 44px; } }

/* ═══════════ v6 (18-oct-2026): contacto sin tarjeta repetida: "Así trabajamos" en 3 pasos ═══════════ */
.mq-steps { max-width: 820px; margin: 52px auto 0; }
.mq-steps-title { margin-bottom: 22px; text-align: center; font-size: 1.05rem; font-weight: 600; color: var(--ink-muted); }
.mq-steps-list { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: paso; }
.mq-steps-list li {
  position: relative; counter-increment: paso; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-sm);
}
.mq-steps-list li::before {
  content: counter(paso); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px;
  border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: .95rem;
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--blue) 14%, transparent), 0 0 16px color-mix(in oklab, var(--blue) 38%, transparent);
}
.mq-steps-list strong {
  display: block; margin-bottom: 8px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.22rem; letter-spacing: .01em; text-transform: uppercase; color: var(--ink);
}
.mq-steps-list p { font-size: .93rem; line-height: 1.58; color: var(--ink-muted); }
.mq-form-hint { max-width: 52ch; margin: -2px auto 20px; text-align: center; font-size: .95rem; line-height: 1.55; color: var(--ink-muted); }
@media (min-width: 760px) { .mq-steps-list { grid-template-columns: repeat(3, 1fr); } }

.mq-steps-list li { text-align: left; }

/* ═══════════ v7: línea "incluido" en las tarjetas de servicios (garantía y acompañamiento) ═══════════ */
.mq-incl { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .84rem; font-weight: 600; color: var(--c, var(--blue)); }
.mq-incl::before {
  content: "✓"; display: inline-grid; place-items: center; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  font-size: .68rem; font-weight: 700; background: color-mix(in oklab, var(--c, var(--blue)) 14%, white);
}

/* ═══════════ v8: quinta tarjeta ancha de "¿Te suena familiar?" y enlaces del puente ═══════════ */
.mq-pain-wide {
  display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 22px 26px;
  background: linear-gradient(90deg, color-mix(in oklab, var(--blue) 8%, white), #fff 72%);
  border: 1px solid color-mix(in oklab, var(--blue) 28%, white); border-left: 4px solid var(--blue);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm), 0 0 24px -8px color-mix(in oklab, var(--blue) 38%, transparent);
}
.mq-pain-wide .mq-n { margin: 0; flex-shrink: 0; width: 34px; height: 34px; font-size: .95rem; background: var(--blue); color: #fff; }
.mq-pain-kicker { margin-bottom: 4px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.mq-pain-wide p:last-child { font-size: 1.14rem; font-weight: 500; line-height: 1.45; color: var(--ink); }
.mq-bridge a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.mq-bridge a:hover { text-decoration-thickness: 2px; }
@media (max-width: 599px) { .mq-pain-wide { align-items: flex-start; padding: 18px; gap: 14px; } .mq-pain-wide p:last-child { font-size: 1.02rem; } }

/* ═══════════ v9 (18-oct-2026): accesibilidad y calidad (fase 4) ═══════════ */

/* Contraste: texto oscuro sobre el verde de WhatsApp (10:1; antes blanco con 1,98:1) */
.btn-wa { color: var(--ink); }
.btn-wa svg { fill: currentColor; }
/* Botón flotante: fondo verde más oscuro para que el icono blanco tenga 4,3:1 (mínimo 3:1) */
.wa-float, .wa-float:hover { background: #128C4A; }
.wa-float { transition: opacity .25s, transform .25s, visibility 0s; }
.wa-float.is-hidden { opacity: 0; transform: scale(.8); visibility: hidden; pointer-events: none; transition: opacity .25s, transform .25s, visibility 0s .25s; }

/* Animaciones decorativas limitadas a menos de 5 segundos (WCAG 2.2.2) */
.dot-alive { animation: dotpulse 2s 2; }
.wa-float { animation: wafloat 2.5s 2; }
.mq-cta-btn { animation: mq-pulse 2.4s ease-out 2; }

/* Franja final: menos luz para que el texto cumpla el contraste (blanco 5,5:1 en el punto más claro) */
.mq-cta {
  background:
    radial-gradient(ellipse 55% 85% at 12% 15%, oklch(0.62 0.17 240 / .34), transparent 62%),
    radial-gradient(ellipse 50% 75% at 92% 92%, oklch(0.78 0.12 215 / .22), transparent 62%),
    linear-gradient(135deg, oklch(0.40 0.17 258), oklch(0.29 0.14 262));
}
.mq-cta .mq-lead { color: #fff; }

/* Enlace para saltar al contenido y foco visible sobre fondos oscuros */
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 600; padding: 11px 18px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; transition: top .15s; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.mq-dark :focus-visible, .mq-cta :focus-visible, .mq-marquee :focus-visible { outline-color: var(--mq-neon); }

/* Botones de pausa (franja que se mueve y demostración) */
.mq-pause {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%); z-index: 3; padding: 8px 16px;
  border-radius: 100px; border: 1px solid oklch(1 0 0 / .4); background: oklch(0.15 0.03 254 / .88);
  color: #fff; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer;
}
.mq-pause:hover { border-color: var(--mq-neon); }
.mq-marquee.is-paused .mq-track { animation-play-state: paused; }
.mq-demo-pause {
  padding: 8px 12px; border: 1px solid var(--border-md); border-radius: 9px; background: #fff;
  color: var(--ink); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer;
}
.mq-demo-pause:hover { border-color: var(--blue); color: var(--blue); }
.mq-demo-row { gap: 8px 10px; }

@media (max-width: 599px) { .mq-pause { right: 8px; padding: 6px 12px; } }
@media (prefers-reduced-motion: reduce) { .mq-pause, .mq-demo-pause { display: none; } .wa-float { transition: none; } }

/* ═══════════ v10 (19-oct-2026): arreglos que marcó Lighthouse (saltos de diseño y objetivos táctiles) ═══════════ */

/* Aviso "Stock bajo": reserva siempre su espacio (antes aparecía y empujaba lo de abajo) */
.mq-alert[hidden] { display: block; visibility: hidden; }

/* Botón de pausa de la demo: ancho fijo para que "Pausar demo" y "Reanudar demo" no cambien la altura de la fila */
.mq-demo-pause { min-width: 8.6rem; text-align: center; }

/* Puntos del carrusel de testimonios: área táctil de 24 x 24 px (WCAG 2.2) con el mismo punto visible de 8 px */
.dot { width: 24px; height: 24px; border: 8px solid transparent; background-clip: content-box; box-sizing: border-box; }
.car-dots { gap: 0; }

/* El punto activo crece por dentro (no con scale) para no tapar el área táctil del vecino */
.dot.active { transform: none; border-width: 6px; }
.dot { transition: background .2s, border-width .2s; }

/* ═══════════ v11 (19-oct-2026): trama del héroe (cuadrícula que se curva con el cursor + halo de cuadritos) ═══════════ */
.mq-trama {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}
/* v12 (19-oct-2026): en celular el boton Pausar de la franja va a la izquierda para que el boton flotante de WhatsApp no lo tape */
@media (max-width: 599px) { .mq-pause { right: auto; left: 8px; } }

/* CSP sin unsafe-inline: clases que reemplazan los style= en linea (20-oct-2026) */
html .cv-auto{--c:var(--c-auto)}
html .cv-build{--c:var(--c-build)}
html .cv-cctv{--c:var(--c-cctv)}
html .cv-network{--c:var(--c-network)}
html .cv-repair{--c:var(--c-repair)}
html .cv-web{--c:var(--c-web)}
.msg-form{display:none;text-align:center;margin-top:12px;font-size:.9rem}
.rg-trampa{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.svg-oculto{position:absolute}
.w-22{--w:22%}
.w-46{--w:46%}
.w-68{--w:68%}
.w-82{--w:82%}
