/* =========================================================
   Cool Security Soluciones — hoja de estilos
   Tokens → base → componentes → secciones → adaptable
   ========================================================= */

:root {
  --navy: #123c4c;
  --navy-deep: #0b2833;
  --petrol: #087d98;
  --petrol-soft: #6fd0e6;   /* petróleo sobre fondos oscuros */
  --orange: #ff852f;
  --orange-hover: #ff9a52;
  --on-orange: #1a2f37;

  --ink: #14323e;
  --muted: #4f6873;
  --line: #dae5e9;
  --pale: #eef5f7;
  --white: #fff;

  --f-body: 'Manrope', system-ui, sans-serif;
  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(18, 60, 76, .06);
  --shadow-md: 0 14px 40px rgba(18, 60, 76, .12);
  --shadow-lg: 0 24px 60px rgba(11, 40, 51, .18);

  --gutter: 48px;
  --section: 110px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font: 16px/1.7 var(--f-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: #ffd7b8; color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { pointer-events: none; }

.wrap { width: min(1280px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--section); scroll-margin-top: 90px; }

.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

/* Titulares: condensados, en mayúsculas, con acento petróleo */
h1, h2 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: 1.02;
  color: var(--navy);
}
h2 { font-size: clamp(36px, 4.2vw, 56px); }
h2 span { color: var(--petrol); }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.015em; font-weight: 800; color: var(--navy); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--petrol); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 2px; background: var(--orange); }
.eyebrow--light { color: var(--petrol-soft); }

.sec-head { margin-bottom: 56px; }
.sec-head > p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 58ch; }
.sec-head--center { text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center > p:not(.eyebrow) { margin-inline: auto; }
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.sec-head--split > p { max-width: 46ch; margin: 0 !important; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 13px 24px;
  border: 2px solid transparent; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { min-height: 58px; padding: 16px 30px; font-size: 16px; }
.btn--p { background: var(--orange); color: var(--on-orange); box-shadow: 0 8px 22px rgba(255, 133, 47, .28); }
.btn--p:hover { background: var(--orange-hover); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--petrol); transform: translateY(-2px); }

.link { display: inline-flex; align-items: center; gap: 10px; color: var(--petrol); font-weight: 800; font-size: 15px; text-decoration: none; }
.link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.link:hover svg { transform: translateX(4px); }

/* ---------- Franja superior ---------- */
.topbar { background: var(--navy-deep); color: #c9dde4; font-size: 13px; font-weight: 600; }
.topbar .wrap { display: flex; align-items: center; gap: 32px; min-height: 40px; }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 16px; height: 16px; fill: none; stroke: var(--orange); stroke-width: 1.8; }
.topbar-right { margin-left: auto; }

/* ---------- Cabecera ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.top.is-scrolled { box-shadow: 0 6px 24px rgba(18, 60, 76, .08); }
.top > .wrap { height: 84px; display: flex; align-items: center; gap: 32px; }
.marca { display: flex; flex-shrink: 0; margin-right: auto; }
.brand-logo { width: 230px; height: 64px; object-fit: cover; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { position: relative; padding-block: 8px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--navy); }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--orange); transition: right .2s; }
.nav a:hover::after { right: 0; }
.header-quote { min-height: 46px; padding: 11px 20px; font-size: 14px; }
.quote-mobile { display: none; }
.menu-toggle { display: none; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--navy); }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Portada ---------- */
.hero { position: relative; isolation: isolate; padding: 110px 0 190px; color: #fff; overflow: hidden; background: var(--navy-deep); }
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; opacity: 0; transition: opacity 1.2s ease; }
.hero-bg.is-on { opacity: 1; animation: heroZoom 8s ease-out both; }
.hero-bg--elec { object-position: 50% 28%; }
.hero-bg--seg { object-position: 50% 6%; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
/* Velo: marino que se disuelve hacia la foto, con un matiz petróleo abajo, en vez de un bloque plano */
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 120% at 0% 100%, rgba(8, 125, 152, .38), transparent 58%),
    linear-gradient(98deg, rgba(8, 30, 39, .93) 0%, rgba(11, 40, 51, .84) 26%, rgba(14, 50, 63, .56) 46%, rgba(18, 60, 76, .2) 64%, rgba(18, 60, 76, 0) 80%),
    linear-gradient(0deg, rgba(11, 40, 51, .5), transparent 42%);
}
.hero-inner { max-width: 1280px; }
.hero h1 { color: #fff; font-size: clamp(48px, 6.4vw, 86px); line-height: .96; max-width: 17ch; text-wrap: balance; text-shadow: 0 2px 24px rgba(8, 30, 39, .35); }
.hero h1 span { display: block; color: var(--petrol-soft); }
.hero-lead { max-width: 50ch; margin-top: 26px; font-size: 19px; line-height: 1.65; color: #dceaef; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 52px; }
.hero-badges li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: #e9f3f6; }
.badge-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(111, 208, 230, .55); background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); }
.badge-ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; }
.wave-accent { fill: var(--petrol); opacity: .9; }
.wave-fill { fill: var(--white); }

/* ---------- Tarjetas de especialidad ---------- */
.quick-cards { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: -120px; }
.qcard { display: flex; flex-direction: column; gap: 12px; padding: 34px 32px 30px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); text-decoration: none; border-bottom: 4px solid transparent; transition: transform .25s, border-color .25s, box-shadow .25s; }
.qcard:hover { transform: translateY(-6px); border-bottom-color: var(--orange); }
.qcard-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--petrol), var(--navy)); margin-bottom: 8px; box-shadow: 0 8px 18px rgba(8, 125, 152, .3); }
.qcard-ic svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.qcard h2 { font-size: 30px; }
.qcard p { color: var(--muted); font-size: 15px; flex: 1; }
.qcard-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; font-weight: 800; color: var(--petrol); }
.qcard-more svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.qcard:hover .qcard-more svg { transform: translateX(4px); }

/* ---------- Compromisos: panel formal con cabecera marina ---------- */
.compromisos { padding-block: 96px 40px; }
.comp-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.comp-head { display: flex; flex-direction: column; justify-content: center; padding: 48px 44px; background: var(--navy); }
.comp-head h2 { color: #fff; font-size: clamp(30px, 3vw, 42px); }
.comp-head h2 span { color: var(--petrol-soft); }
.comp-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 15px; line-height: 1.6; color: #c9dde4; }
.compromisos-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.compromisos-list li { display: flex; flex-direction: column; padding: 48px 34px 40px; border-left: 1px solid var(--line); }
.compromisos-list li:first-child { border-left: 0; }
.compromisos-list h3 { font-family: var(--f-display); font-size: 28px; font-weight: 700; line-height: 1.05; letter-spacing: 0; text-transform: uppercase; }
.compromisos-list h3::before { content: ''; display: block; width: 32px; height: 3px; margin-bottom: 22px; border-radius: 2px; background: var(--orange); }
.compromisos-list p { font-size: 16px; line-height: 1.6; color: var(--muted); margin-top: 14px; }
.compromisos-list .c-meta { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--navy); }
.c-meta span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.compromisos-list li > p:not(.c-meta) { margin-bottom: 28px; }

/* ---------- Servicios: fichas con foto y alcance ---------- */
.servicios { padding-top: 90px; }
.srv { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); scroll-margin-top: 110px; }
.srv + .srv { margin-top: 32px; }
.srv--rev .srv-photo { order: 2; }
.srv-photo { position: relative; min-height: 460px; }
.srv-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.srv-tag { position: absolute; left: 24px; top: 24px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 6px; background: rgba(11, 40, 51, .9); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.srv-tag svg { width: 18px; height: 18px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.srv-body { display: flex; flex-direction: column; padding: 52px 56px; }
.srv-kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.srv-num { padding: 1px 9px 2px; border-radius: 4px; background: var(--navy); color: #fff; font-family: var(--f-display); font-size: 18px; font-weight: 700; letter-spacing: .06em; line-height: 1.3; }
.srv-body h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 3.3vw, 46px); line-height: 1; letter-spacing: 0; margin: 16px 0 14px; }
.srv-lead { font-size: 17px; color: var(--muted); max-width: 52ch; }
.srv-label { margin-top: 30px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.checks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin-bottom: 32px; }
.checks li { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; line-height: 1.4; }
.checks svg { flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: var(--petrol); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.srv-foot { margin-top: auto; }
.srv-common { display: flex; align-items: center; gap: 14px 32px; margin-top: 32px; padding: 22px 28px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--pale); }
.srv-common-t { font-family: var(--f-display); font-size: 22px; font-weight: 700; line-height: 1.1; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.srv-common ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.srv-common li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; }
.srv-common li svg { width: 19px; height: 19px; fill: none; stroke: var(--petrol); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.srv-common .link { margin-left: auto; white-space: nowrap; }

/* ---------- Explorador del espacio ---------- */
.explorar { background: var(--pale); position: relative; }
.explorar-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 56px; align-items: center; }
.explorar-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin-top: 16px; }
.tabs { display: grid; gap: 10px; margin-top: 30px; }
.tab { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; font-size: 16px; font-weight: 800; color: var(--navy); text-align: left; transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s; }
.tab svg { width: 26px; height: 26px; fill: none; stroke: var(--petrol); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab:hover { border-color: var(--petrol); }
.tab[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.tab[aria-pressed="true"] svg { stroke: var(--orange); }
.explorar-visual { min-width: 0; }
.space-scene { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-md); overflow: hidden; isolation: isolate; }
.space-scene > img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.scene-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* Efectos de la escena: foco de luz + animación propia de cada especialidad */
.scene-effect { opacity: 0; transition: opacity .6s ease; }
.space-scene[data-active="0"] .effect-clima,
.space-scene[data-active="1"] .effect-elec,
.space-scene[data-active="2"] .effect-seg { opacity: 1; }
.scene-lines * { transform-box: view-box; }
.scene-dim { fill: #0b2833; opacity: .4; }

/* Climatización */
.cool-glow { transform-origin: 445px 300px; animation: breathe 4s ease-in-out infinite; }
.air-curtain { opacity: .75; animation: glow 4s ease-in-out infinite; }
.air-wave { fill: none; stroke: #e6f9ff; stroke-width: 6; stroke-linecap: round; transform-origin: 458px 300px; filter: drop-shadow(0 0 6px rgba(111, 208, 230, .9)); opacity: 0; animation: wave 3.3s cubic-bezier(.3, 0, .4, 1) infinite; }
.air-wave:nth-of-type(3) { animation-delay: 1.1s; }
.air-wave:nth-of-type(4) { animation-delay: 2.2s; }
.device-ring { fill: none; stroke: #7fd8ee; stroke-width: 3; transform-origin: 443px 207px; animation: ring 2.8s ease-out infinite; }

/* Electricidad */
.wire-track { fill: none; stroke: #ffb27a; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.wire-pulse { fill: none; stroke: #fff2e2; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 90 1000; stroke-dashoffset: 90; animation: travel 2.4s cubic-bezier(.55, 0, .35, 1) infinite; }
.wire-pulse--b { animation-delay: .8s; }
.panel-glow { fill: rgba(255, 133, 47, .08); stroke: var(--orange); stroke-width: 4; animation: glow 2.4s ease-in-out infinite; }
.lamp-glow { transform-origin: 813px 392px; animation: lamp 2.4s ease-in-out infinite; }
.desk-glow { transform-origin: 1290px 548px; animation: lamp 2.4s ease-in-out infinite .8s; }

/* Seguridad electrónica */
.cam-cone { opacity: .9; }
.cam-beam { transform-origin: 1322px 162px; animation: scan 5s ease-in-out infinite alternate; mix-blend-mode: screen; }
.cam-ping { fill: none; stroke: #6fd0e6; stroke-width: 3; transform-origin: 1322px 162px; animation: ping 2.4s ease-out infinite; }
.cam-ping--b { animation-delay: 1.2s; }
.cam-dot { fill: #ff4d3d; animation: blink 1.6s steps(2, jump-none) infinite; filter: drop-shadow(0 0 6px #ff4d3d); }

@keyframes wave { 0% { opacity: 0; transform: translateY(-20px) scale(.75); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(230px) scale(1.35); } }
@keyframes breathe { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18); } }
@keyframes travel { 0% { stroke-dashoffset: 90; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -1000; opacity: 0; } }
@keyframes glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes lamp { 0%, 55% { opacity: .35; transform: scale(.9); } 75% { opacity: 1; transform: scale(1.05); } 100% { opacity: .35; transform: scale(.9); } }
@keyframes scan { from { transform: rotate(-14deg); } to { transform: rotate(12deg); } }
@keyframes ping { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.scene-pin { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 12px; border: 0; border-radius: 999px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 16px rgba(18, 60, 76, .18); transition: background-color .2s, color .2s; }
.scene-pin::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #93b0ba; }
.scene-pin[aria-pressed="true"] { background: var(--navy); color: #fff; }
.scene-pin[aria-pressed="true"]::before { background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 133, 47, .3); }
/* Etiquetas junto a cada equipo: aire (arriba), tablero (a su izquierda), cámara (a su izquierda) */
.pin-clima { left: 18.5%; top: 4%; }
.pin-elec { right: 25.5%; top: 30%; }
.pin-seg { right: 16%; top: 10%; }
.scene-caption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 4px 0; font-size: 13px; color: var(--muted); }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 10px; border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; }
.motion-toggle svg { width: 13px; height: 13px; }
.motion-off .scene-lines * { animation-play-state: paused !important; }

/* ---------- Multimarca ---------- */

/* ---------- Clientes ---------- */
.clientes-sec { padding-top: 40px; }
.clientes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cliente { position: relative; padding: 36px 32px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s; }
.cliente:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.cliente-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--pale); margin-bottom: 22px; }
.cliente-ic svg { width: 40px; height: 40px; fill: none; stroke: var(--petrol); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cliente-tag { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); filter: brightness(.82); }
.cliente h3 { font-size: 22px; margin: 6px 0 12px; }
.cliente p:last-child { color: var(--muted); font-size: 15px; }

/* ---------- Método ---------- */
.metodo { position: relative; background: var(--navy); color: #fff; padding-top: 150px; overflow: hidden; }
.metodo::after { content: ''; position: absolute; right: -160px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(111, 208, 230, .05); pointer-events: none; }
.metodo-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 80px; fill: var(--white); }
.metodo h2 { color: #fff; }
.metodo h2 span { color: var(--petrol-soft); }
.metodo .sec-head > p { color: #c3d9e1; }
.pasos { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: paso; }
.pasos::before { content: ''; position: absolute; top: 31px; left: 32px; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, rgba(111, 208, 230, .5) 0 8px, transparent 8px 14px); }
.paso { position: relative; }
.paso-n { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); border: 2px solid var(--petrol-soft); font-family: var(--f-display); font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 22px; }
.paso--pago .paso-n { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.paso h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.paso p { color: #c3d9e1; font-size: 15px; }
.pago { display: inline-block; margin-top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 133, 47, .16); color: #ffb47e; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.method-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 56px; padding: 20px 24px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #d6e6ec; font-size: 15px; max-width: 860px; }
.method-note svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: var(--orange); stroke-width: 1.8; }

/* ---------- Cifras ---------- */
.cifras { background: var(--navy-deep); color: #fff; }
.cifras-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cifra { padding: 38px 28px; display: flex; align-items: center; gap: 18px; }
.cifra + .cifra { border-left: 1px solid rgba(255, 255, 255, .1); }
.cifra:first-child { padding-left: 0; }
.cifra b { font-family: var(--f-display); font-size: 60px; line-height: 1; font-weight: 700; color: var(--orange); white-space: nowrap; }
.cifra span { font-size: 15px; color: #c3d9e1; line-height: 1.4; max-width: 16ch; }

/* ---------- Empresa ---------- */
.empresa-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.empresa-grid > div > p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin-top: 20px; max-width: 52ch; }
.equipo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.equipo > li { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--r-md); background: var(--pale); }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--f-display); font-size: 26px; font-weight: 700; }
.equipo li:nth-child(2) .avatar { background: var(--petrol); }
.equipo li:nth-child(3) .avatar { background: #1f5a6d; }
.equipo li:nth-child(4) .avatar { background: var(--orange); color: var(--on-orange); }
.equipo h3 { font-size: 19px; }
.equipo p { font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* ---------- Cobertura ---------- */
.cobertura { padding-top: 0; }
.zonas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.zona { position: relative; padding: 34px 32px; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); overflow: hidden; }
.zona::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--petrol); }
.zona--lima::after { background: var(--orange); }
.zona-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--pale); margin-bottom: 18px; }
.zona-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--petrol); stroke-width: 1.8; }
.zona--lima .zona-ic svg { stroke: #d9661a; }
.zona-tag { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.zona h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 44px; line-height: 1; letter-spacing: 0; margin: 6px 0 12px; }
.zona p { color: var(--muted); font-size: 15px; }

/* ---------- Preguntas ---------- */
.preguntas { background: var(--pale); }
.preguntas-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.preguntas-grid > div > p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin-top: 18px; max-width: 34ch; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--r-md); border: 1.5px solid transparent; transition: border-color .2s; }
.faq details[open] { border-color: var(--petrol); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; font-size: 17px; font-weight: 800; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pale); color: var(--petrol); font-size: 22px; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: '−'; background: var(--petrol); color: #fff; }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* ---------- Contacto ---------- */
.contacto { position: relative; background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, #14566a); color: #fff; overflow: hidden; }
.contacto::before { content: ''; position: absolute; left: -200px; top: -200px; width: 560px; height: 560px; border-radius: 50%; border: 80px solid rgba(111, 208, 230, .05); pointer-events: none; }
.cont { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.cont-info h2 { color: #fff; font-size: clamp(40px, 4.6vw, 62px); }
.cont-info h2 span { color: var(--petrol-soft); display: block; }
.cont-info > p:not(.eyebrow) { color: #c9dde4; font-size: 18px; margin-top: 20px; max-width: 40ch; }
.canales { display: grid; gap: 14px; margin-top: 40px; }
.canales li { display: flex; align-items: center; gap: 16px; }
.canal-ic { display: grid; place-items: center; flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.canal-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--orange); stroke-width: 1.8; }
.canales small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol-soft); }
.canales b { display: block; font-size: 17px; font-weight: 700; }

.form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.form h2 { font-size: 36px; }
.quote-intro { font-size: 15px; color: var(--muted); margin: 8px 0 28px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.campo { margin-bottom: 18px; }
.campo label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 800; color: var(--navy); }
.optional { font-weight: 500; color: var(--muted); font-size: 13px; }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c9d8de; border-radius: var(--r-sm); background: #fbfdfd; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(8, 125, 152, .14); background: #fff; }
.campo input::placeholder, .campo textarea::placeholder { color: #7a8f98; }
.campo textarea { min-height: 110px; resize: vertical; }
.campo input[aria-invalid="true"] { border-color: #b63e27; }
.form .btn { width: 100%; margin-top: 4px; }
.err { display: block; margin-top: 6px; color: #a93824; font-size: 14px; font-weight: 600; }
.err:empty { display: none; }
.nota { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Pie ---------- */
.footer { background: #fff; padding: 72px 0 28px; border-top: 1px solid var(--line); }
.pie { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; font-size: 15px; color: var(--muted); }
.pie-brand p { margin-top: 16px; max-width: 34ch; }
.pie .brand-logo { width: 230px; height: 64px; }
.pie h4 { font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.pie li + li { margin-top: 10px; }
.pie a { text-decoration: none; }
.pie a:hover { color: var(--petrol); text-decoration: underline; }
.reclamo { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-size: 14px; font-weight: 700; color: var(--navy); }
.reclamo svg { width: 20px; height: 20px; fill: none; stroke: var(--petrol); stroke-width: 1.8; }
.legal { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- WhatsApp flotante ---------- */
.wa { position: fixed; z-index: 35; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px; border-radius: 999px; background: #1a7a52; color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; box-shadow: 0 10px 28px rgba(18, 60, 76, .28); transition: background-color .2s, transform .2s; }
.wa:hover { background: #136141; transform: translateY(-2px); }
.wa svg { width: 26px; height: 26px; }

/* =========================================================
   Adaptable
   ========================================================= */
@media (max-width: 1180px) {
  :root { --gutter: 32px; }
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .nav a[href="#preguntas"] { display: none; }
  .brand-logo { width: 200px; height: 56px; }
  .comp-panel { grid-template-columns: 1fr; }
  .comp-head { padding: 36px 40px; }
  .compromisos-list li { padding: 36px 28px 32px; }
  .srv-body { padding: 40px; }
  .checks { grid-template-columns: 1fr; }
  .srv-common { flex-wrap: wrap; }
  .cont { gap: 48px; }
}

@media (max-width: 960px) {
  :root { --section: 84px; }
  .topbar-hide { display: none !important; }
  .top > .wrap { height: 74px; gap: 14px; }
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(18, 60, 76, .1); }
  .nav.is-open a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav.is-open a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }

  .hero { padding: 80px 0 170px; }
  .hero-shade { background: linear-gradient(90deg, rgba(11, 40, 51, .95), rgba(11, 40, 51, .78) 60%, rgba(18, 60, 76, .4)); }
  .quick-cards { grid-template-columns: 1fr; gap: 16px; margin-top: -110px; }
  .qcard { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; padding: 24px; }
  .qcard-ic { grid-row: span 3; margin: 0; width: 58px; height: 58px; }
  .qcard h2 { font-size: 26px; }

  .compromisos-list { grid-template-columns: 1fr; }
  .compromisos-list li { display: grid; grid-template-columns: minmax(0, 1fr) 200px; column-gap: 32px; align-items: center; padding: 28px 40px; border-left: 0; border-top: 1px solid var(--line); }
  .compromisos-list h3 { grid-column: 1; }
  .compromisos-list li > p:not(.c-meta) { grid-column: 1; margin-bottom: 0; }
  .compromisos-list .c-meta { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; padding: 0 0 0 24px; border-top: 0; border-left: 1px solid var(--line); }
  .compromisos-list h3::before { margin-bottom: 14px; }
  .compromisos-list li:first-child { border-top: 0; }

  .srv, .srv--rev { grid-template-columns: 1fr; }
  .srv--rev .srv-photo { order: 0; }
  .srv + .srv { margin-top: 24px; }
  .srv-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .checks { grid-template-columns: 1fr 1fr; }
  .srv-common { flex-direction: column; align-items: flex-start; }
  .srv-common .link { margin-left: 0; }

  .explorar-grid { grid-template-columns: 1fr; gap: 36px; }
  .tabs { grid-template-columns: repeat(3, 1fr); }
  .tab { flex-direction: column; text-align: center; gap: 8px; padding: 14px 8px; font-size: 14px; }

  .clientes, .zonas { grid-template-columns: 1fr; gap: 16px; }
  .cliente { display: grid; grid-template-columns: auto 1fr; column-gap: 22px; padding: 26px; }
  .cliente-ic { grid-row: span 3; margin: 0; width: 64px; height: 64px; }

  .metodo { padding-top: 120px; }
  .sec-head--split { display: block; }
  .sec-head--split > p { margin-top: 18px !important; }
  .pasos { grid-template-columns: 1fr; gap: 0; }
  .pasos::before { top: 10px; bottom: 10px; left: 31px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(111, 208, 230, .5) 0 8px, transparent 8px 14px); }
  .paso { display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; padding-bottom: 28px; }
  .paso-n { grid-row: span 3; margin: 0; }
  .paso h3 { margin-top: 16px; }
  .pago { justify-self: start; }

  .cifras-grid { grid-template-columns: 1fr 1fr; }
  .cifra { padding: 28px 20px; }
  .cifra:nth-child(3) { padding-left: 0; border-left: 0; }
  .cifra:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }

  .empresa-grid, .preguntas-grid, .cont { grid-template-columns: 1fr; gap: 40px; }
  .pie { grid-template-columns: 1fr 1fr; }
  .pie-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; --section: 68px; }
  body { font-size: 16px; }
  h2 { font-size: 38px; }
  .topbar { font-size: 12px; }
  .topbar .wrap { justify-content: center; min-height: 36px; }
  .topbar-right { display: none !important; }
  .top > .wrap { height: 66px; gap: 10px; }
  .brand-logo { width: 160px; height: 46px; }
  .header-quote { min-height: 44px; padding: 10px 16px; }
  .header-quote svg { display: none; }
  .quote-desktop { display: none; }
  .quote-mobile { display: inline; }
  .menu-toggle { width: 44px; height: 44px; }

  .hero { padding: 56px 0 150px; }
  .hero-shade { background: linear-gradient(180deg, rgba(11, 40, 51, .82), rgba(11, 40, 51, .92) 55%, rgba(11, 40, 51, .96)); }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 17px; margin-top: 20px; }
  .hero-actions { flex-direction: column; margin-top: 28px; }
  .hero-actions .btn { width: 100%; }
  .hero-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin-top: 36px; }
  .hero-badges li { font-size: 13px; gap: 10px; line-height: 1.3; }
  .badge-ic { width: 40px; height: 40px; flex-shrink: 0; }
  .badge-ic svg { width: 20px; height: 20px; }
  .hero-wave { height: 70px; }
  .quick-cards { margin-top: -90px; }
  .qcard { padding: 20px; column-gap: 16px; }
  .qcard-ic { width: 50px; height: 50px; }
  .qcard-ic svg { width: 25px; height: 25px; }
  .qcard h2 { font-size: 24px; }
  .qcard p { font-size: 14px; }

  .compromisos { padding-block: 64px 24px; }
  .sec-head { margin-bottom: 36px; }
  .sec-head > p:not(.eyebrow) { font-size: 16px; }
  .comp-head { padding: 30px 22px; }
  .comp-head h2 { font-size: 32px; }
  .compromisos-list li { display: flex; align-items: stretch; padding: 24px 22px; }
  .compromisos-list h3 { font-size: 24px; }
  .compromisos-list p { font-size: 15px; margin-top: 10px; }
  .compromisos-list .c-meta { flex-direction: row; align-items: baseline; gap: 10px; margin-top: 16px; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .srv-photo { aspect-ratio: 3 / 2; }
  .srv-body { padding: 28px 22px; }
  .srv-body h3 { font-size: 36px; }
  .srv-lead { font-size: 16px; }
  .srv-label { margin-top: 24px; }
  .checks { grid-template-columns: 1fr; margin-bottom: 26px; }
  .srv-body .btn { width: 100%; }
  .srv-tag { left: 14px; top: 14px; font-size: 11px; padding: 7px 11px; }
  .srv-common { padding: 20px 22px; }
  .srv-common ul { flex-direction: column; }

  .tab { font-size: 12px; padding: 12px 4px; }
  .tab svg { width: 22px; height: 22px; }
  .scene-pin { font-size: 9px; min-height: 28px; padding: 4px 8px; gap: 5px; }
  .scene-pin::before { width: 6px; height: 6px; }
  .pin-clima { top: 3%; }
  .pin-seg { top: 7%; right: 15%; }
  .pin-elec { right: 25%; top: 29%; }
  .scene-caption { font-size: 12px; }

  .cliente { grid-template-columns: 1fr; padding: 24px; }
  .cliente-ic { grid-row: auto; margin-bottom: 14px; width: 56px; height: 56px; }
  .cliente-ic svg { width: 32px; height: 32px; }

  .metodo { padding-top: 100px; }
  .metodo-wave { height: 44px; }
  .paso { grid-template-columns: 52px 1fr; column-gap: 16px; }
  .paso-n { width: 52px; height: 52px; font-size: 24px; }
  .pasos::before { left: 25px; }
  .paso h3 { margin-top: 12px; }
  .method-note { font-size: 14px; padding: 16px; margin-top: 28px; }

  .cifra { flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px 16px; }
  .cifra b { font-size: 46px; }
  .cifra span { font-size: 13px; }

  .equipo { grid-template-columns: 1fr; gap: 12px; }
  .equipo > li { padding: 0; }
  .zona { padding: 26px 22px; }
  .zona h3 { font-size: 38px; }

  .faq summary { font-size: 16px; padding: 18px 56px 18px 18px; }
  .faq summary::after { right: 14px; }
  .faq details p { padding: 0 18px 18px; font-size: 15px; }

  .cont-info h2 { font-size: 42px; }
  .form { padding: 26px 18px; }
  .form h2 { font-size: 30px; }
  .f2 { grid-template-columns: 1fr; gap: 0; }

  .pie { grid-template-columns: 1fr; gap: 28px; }
  .legal { flex-direction: column; gap: 6px; padding-bottom: 72px; }

  .wa { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; }
  .wa span { display: none; }
  .hero-in-view .wa { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Ajustes tras revisión visual */
.clientes-sec { padding-bottom: 56px; }
.cifra span { max-width: 20ch; }
.empresa h2 { font-size: clamp(36px, 3.8vw, 52px); }
@media (max-width: 620px) { .clientes-sec { padding-bottom: 32px; } }
@media (max-width: 620px) {
  .zona { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
  .zona-ic { grid-row: span 3; margin: 0; width: 46px; height: 46px; }
  .zona h3 { font-size: 34px; margin: 2px 0 6px; }
}
@media (max-width: 620px) {
  .pie { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .pie > div:last-child { grid-column: 1 / -1; }
}

/* ---------- Portada móvil: foto protagonista, poco texto, una acción ---------- */
.hero-loc, .lead-short, .hero-proof { display: none; }
@media (max-width: 620px) {
  .topbar { display: none; }
  .hero { min-height: calc(100svh - 66px); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 128px; }
  .hero-bg { object-position: 74% 0; }
  .hero-bg--elec { object-position: 58% 0; }
  .hero-bg--seg { object-position: 76% 0; }
  .hero-shade { background: linear-gradient(180deg, rgba(11, 40, 51, .25) 0%, rgba(11, 40, 51, .05) 22%, rgba(11, 40, 51, .7) 46%, rgba(11, 40, 51, .95) 64%, var(--navy-deep) 100%); }
  .hero .eyebrow, .lead-full, .hero-badges { display: none; }
  .hero-loc { position: absolute; top: 16px; left: var(--gutter); display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(11, 40, 51, .62); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .18); font-size: 13px; font-weight: 700; color: #fff; }
  .hero-loc svg { width: 15px; height: 15px; fill: none; stroke: var(--orange); stroke-width: 2; }
  .hero h1 { font-size: 44px; line-height: .98; }
  .lead-short { display: inline; }
  .hero-lead { font-size: 17px; margin-top: 14px; color: #d3e5eb; }
  .hero-actions { gap: 4px; margin-top: 22px; }
  .hero-actions .btn--ghost { min-height: 44px; border: 0; background: none; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .4); }
  .hero-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 10px; }
  .hero-proof li { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: #e6f1f4; }
  .hero-proof svg { width: 16px; height: 16px; fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
}
@media (max-width: 620px) { .hero { min-height: min(calc(100svh - 66px), 780px); } }

/* ---------- Multimarca: rubro → marca → equipos ---------- */
.marcas { background: linear-gradient(180deg, #fff 0%, var(--pale) 100%); }
.rubros { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto; padding: 6px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.rubro { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--navy); font-size: 15px; font-weight: 800; transition: background-color .25s, color .25s; }
.rubro svg { width: 22px; height: 22px; fill: none; stroke: var(--petrol); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rubro:hover { background: var(--pale); }
.rubro[aria-pressed="true"] { background: var(--navy); color: #fff; }
.rubro[aria-pressed="true"] svg { stroke: var(--orange); }

.marca-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.chip { position: relative; min-height: 46px; padding: 10px 22px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: #3e5d69; font-size: 15px; font-weight: 800; letter-spacing: .02em; transition: border-color .2s, color .2s, background-color .2s, transform .2s; }
.chip:hover { border-color: var(--petrol); color: var(--navy); transform: translateY(-2px); }
.chip[aria-pressed="true"] { border-color: var(--petrol); background: #e2f3f7; color: var(--navy); box-shadow: 0 0 0 3px rgba(8, 125, 152, .12); }

.vitrina { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; margin-top: 36px; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.vitrina-info { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 40px 36px; color: #fff; background: radial-gradient(120% 80% at 0% 0%, #1b5568 0%, var(--navy) 45%, var(--navy-deep) 100%); overflow: hidden; }
.vitrina-info::after { content: ''; position: absolute; right: -90px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(111, 208, 230, .06); }
.vitrina-rubro { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(111, 208, 230, .14); color: var(--petrol-soft); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vitrina-marca { margin-top: 18px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(44px, 4.6vw, 64px); line-height: .95; overflow-wrap: anywhere; }
.vitrina-texto { margin-top: 14px; color: #c9dde4; font-size: 16px; }
.vitrina-servicios { display: grid; gap: 10px; margin: 22px 0 30px; }
.vitrina-servicios li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.vitrina-servicios svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(255, 133, 47, .18); fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vitrina-info .btn { margin-top: auto; position: relative; z-index: 1; white-space: normal; text-align: left; }

.vitrina-equipos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px; align-content: center; }
.eq-card { display: grid; gap: 14px; padding: 16px; border-radius: var(--r-md); background: var(--pale); border: 1.5px solid transparent; transition: border-color .25s, background-color .25s, transform .25s; }
.eq-card:hover { border-color: rgba(8, 125, 152, .35); background: #fff; transform: translateY(-3px); }
.eq-art { display: grid; place-items: center; aspect-ratio: 2 / 1; border-radius: var(--r-sm); background: #fff; }
.eq-art svg { width: auto; height: 82%; transition: transform .35s; }
.eq-card:hover .eq-art svg { transform: scale(1.06); }
.eq-card h3 { font-size: 17px; }
.eq-card p { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.vitrina-equipos[data-count="1"] { grid-template-columns: 1fr; }
.vitrina-equipos[data-count="1"] .eq-card,
.vitrina-equipos[data-count="3"] .eq-card:last-child { grid-column: 1 / -1; grid-template-columns: 220px 1fr; align-items: center; gap: 22px; }
.vitrina-equipos[data-count="1"] .eq-card h3 { font-size: 22px; }

.vitrina.is-changing .eq-card { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 70ms); }
.vitrina.is-changing .vitrina-marca, .vitrina.is-changing .vitrina-rubro { animation: rise .4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.marcas-nota { margin: 22px auto 0; max-width: 70ch; text-align: center; font-size: 14px; color: var(--muted); }

@media (max-width: 960px) {
  .vitrina { grid-template-columns: 1fr; }
  .vitrina-info { padding: 30px 28px; }
  .vitrina-servicios { grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 18px; margin: 18px 0 24px; }
}
@media (max-width: 620px) {
  .hide-sm { display: none; }
  .rubros { width: 100%; grid-template-columns: repeat(3, 1fr); border-radius: var(--r-md); }
  .rubro { flex-direction: column; gap: 4px; padding: 10px 4px; border-radius: 10px; font-size: 13px; }
  .marca-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .marca-chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; scroll-snap-align: start; min-height: 42px; padding: 8px 18px; font-size: 14px; }
  .vitrina { margin-top: 20px; }
  .vitrina-info { padding: 26px 22px; }
  .vitrina-marca { font-size: 46px; }
  .vitrina-servicios { grid-template-columns: 1fr; }
  .vitrina-info .btn { width: 100%; justify-content: center; text-align: center; }
  .vitrina-equipos { grid-template-columns: 1fr; padding: 16px; gap: 12px; }
  .eq-card, .vitrina-equipos[data-count="1"] .eq-card, .vitrina-equipos[data-count="3"] .eq-card:last-child { grid-template-columns: 112px 1fr; align-items: center; gap: 14px; padding: 12px; }
  .eq-art { aspect-ratio: 16 / 11; }
  .eq-art svg { width: 86%; height: auto; }
  .eq-card h3, .vitrina-equipos[data-count="1"] .eq-card h3 { font-size: 16px; }
  .eq-card p { font-size: 13px; }
}

/* ---------- Multimarca v2: escenas animadas, entorno y logos ---------- */
.eq-card { gap: 12px; padding: 10px; background: #fff; border: 1.5px solid var(--line); }
.eq-card:hover { border-color: rgba(8, 125, 152, .4); box-shadow: var(--shadow-md); }
.vitrina .eq-art { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: #eef5f7; }
.vitrina .eq-art > svg { display: block; width: 100%; height: 100%; transition: transform .5s ease; }
.vitrina .eq-card:hover .eq-art > svg { transform: scale(1.04); }
.eq-txt { padding: 0 6px 6px; }
.eq-card h3 { font-size: 16px; line-height: 1.3; }
.eq-env { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.eq-env svg { width: 15px; height: 15px; fill: none; stroke: var(--orange); stroke-width: 2; }
.vitrina-equipos[data-count="1"] .eq-card,
.vitrina-equipos[data-count="3"] .eq-card:last-child { grid-template-columns: minmax(0, 1.2fr) 1fr; gap: 24px; }

/* Logos de marca */
.chip:has(img) { display: inline-flex; align-items: center; padding: 8px 20px; }
.chip img { display: block; height: 22px; width: auto; max-width: 104px; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .25s, opacity .25s; }
.chip:hover img, .chip[aria-pressed="true"] img { filter: none; opacity: 1; }
.vitrina-marca.has-logo { margin-top: 20px; }
.logo-plate { display: inline-flex; align-items: center; justify-content: center; min-width: 170px; min-height: 76px; padding: 16px 24px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.logo-plate img { display: block; height: 44px; width: auto; max-width: 230px; object-fit: contain; }

/* Animaciones de las escenas */
.eq-art .fx-wave { opacity: 0; transform-box: fill-box; transform-origin: center top; animation: fxWave 2.7s ease-out infinite; }
.eq-art .fx-spin { transform-box: fill-box; transform-origin: center; animation: fxSpin 1.1s linear infinite; }
.eq-art .fx-blink { animation: fxBlink 1.4s ease-in-out infinite; }
.eq-art .fx-glow { animation: fxGlow 2.4s ease-in-out infinite; }
.eq-art .fx-flow { stroke-dasharray: 18 100; stroke-dashoffset: 18; animation: fxFlow 2.4s cubic-bezier(.45, 0, .55, 1) infinite; }
.eq-art .fx-water { animation-duration: 1.6s; }
.eq-art .fx-scan { transform-box: view-box; transform-origin: var(--ox) var(--oy); animation: fxScan 3.6s ease-in-out infinite alternate; }
.eq-art .fx-ping { transform-box: fill-box; transform-origin: center; animation: fxPing 2.2s ease-out infinite; }
.eq-art .fx-fade { opacity: .15; animation: fxFade 1.8s ease-in-out infinite; }
.eq-art .fx-scanline { animation: fxLine 3s linear infinite; }
.eq-art .d1 { animation-delay: .8s; }
.eq-art .d2 { animation-delay: 1.6s; }
@keyframes fxWave { 0% { opacity: 0; transform: translateY(-4px) scale(.7); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(36px) scale(1.25); } }
@keyframes fxSpin { to { transform: rotate(360deg); } }
@keyframes fxBlink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes fxGlow { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
@keyframes fxFlow { 0% { stroke-dashoffset: 18; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes fxScan { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
@keyframes fxPing { 0% { opacity: .9; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.18); } }
@keyframes fxFade { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }
@keyframes fxLine { 0% { transform: translateY(0); opacity: 0; } 10%, 90% { opacity: .55; } 100% { transform: translateY(70px); opacity: 0; } }

@media (max-width: 620px) {
  .vitrina-equipos { grid-template-columns: 1fr 1fr; padding: 12px; gap: 10px; }
  .eq-card, .vitrina-equipos[data-count="1"] .eq-card, .vitrina-equipos[data-count="3"] .eq-card:last-child { grid-template-columns: 1fr; gap: 8px; padding: 6px; align-items: start; }
  .vitrina-equipos[data-count="1"] { grid-template-columns: 1fr; }
  .vitrina .eq-art { aspect-ratio: 16 / 10; }
  .vitrina .eq-art > svg { width: 100%; height: 100%; }
  .eq-txt { padding: 0 4px 6px; }
  .eq-card h3, .vitrina-equipos[data-count="1"] .eq-card h3 { font-size: 14px; }
  .eq-env { font-size: 12px; gap: 4px; }
  .chip img { height: 18px; }
  .logo-plate { min-height: 64px; padding: 12px 18px; }
  .logo-plate img { height: 36px; }
}

/* ---------- Multimarca v3: ficha de marca y color propio ---------- */
.vitrina { --brand: #087d98; }
.vitrina-info { gap: 0; padding: 30px 30px 32px; }
.vitrina-info::before { content: ''; position: absolute; top: -90px; right: -90px; width: 240px; height: 240px; border-radius: 50%; background: var(--brand); opacity: .28; filter: blur(60px); transition: background-color .5s; pointer-events: none; }
.marca-plate { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; min-height: 132px; padding: 22px 24px; border-radius: 16px; background: #fff; box-shadow: 0 16px 36px rgba(0, 0, 0, .22); overflow: hidden; }
.marca-plate::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--brand); transition: background-color .5s; }
.marca-plate-logo { display: grid; place-items: center; width: 100%; }
.marca-plate-logo img { display: block; width: auto; height: auto; max-width: 82%; max-height: 70px; }
.logo-texto { font-family: var(--f-display); font-size: 50px; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .02em; color: var(--navy); }
.marca-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 24px; }
.marca-nombre { font-family: var(--f-display); font-size: 34px; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.vitrina-info .vitrina-texto { position: relative; z-index: 1; margin-top: 10px; font-size: 15px; }
.marca-ficha { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 20px 0 0; padding: 14px 0; border-block: 1px solid rgba(255, 255, 255, .12); }
.marca-ficha > div + div { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .12); }
.marca-ficha dt { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol-soft); }
.marca-ficha dd { margin: 4px 0 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
.vitrina-info .vitrina-servicios { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.vitrina-info .vitrina-servicios li { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 700; }
.vitrina-info .btn { width: 100%; justify-content: center; text-align: center; }
.vitrina.is-changing .marca-plate-logo, .vitrina.is-changing .marca-nombre { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }

/* Acentos de cada marca dentro de las escenas */
.eq-art .ac { fill: var(--brand); transition: fill .4s; }
.eq-art .ac-s { stroke: var(--brand); transition: stroke .4s; }
.eq-tag { filter: drop-shadow(0 2px 4px rgba(18, 60, 76, .14)); }

@media (max-width: 960px) {
  .vitrina-info { padding: 26px 24px 28px; }
  .vitrina-info .vitrina-servicios { margin: 16px 0 22px; }
}
@media (max-width: 620px) {
  .vitrina-info { padding: 20px 18px 22px; }
  .marca-plate { min-height: 108px; padding: 18px; }
  .marca-plate-logo img { max-height: 56px; }
  .logo-texto { font-size: 42px; }
  .marca-nombre { font-size: 28px; }
  .marca-ficha dd { font-size: 13px; }
  .marca-ficha > div + div { padding-left: 10px; }
}
.eq-txt { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; align-items: start; }
.eq-txt h3 { grid-column: 1; grid-row: 1; }
.eq-txt .eq-env { grid-column: 1; grid-row: 2; }
.eq-logo { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: inline-flex; align-items: center; height: 28px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.eq-logo img { display: block; height: 15px; width: auto; max-width: 70px; }
.eq-logo b { font-size: 12px; font-weight: 800; color: var(--navy); }
@media (max-width: 620px) { .eq-txt { grid-template-columns: 1fr; } .eq-logo { grid-row: auto; grid-column: 1; justify-self: start; height: 22px; padding: 3px 8px; margin-bottom: 6px; order: -1; } .eq-logo img { height: 12px; } .eq-txt h3, .eq-txt .eq-env { grid-row: auto; } }

/* ---------- Tarjetas de especialidad v2: ilustración animada ---------- */
.qcard { gap: 0; padding: 0; overflow: hidden; border-bottom: 0; }
.qcard:hover { border-bottom-color: transparent; box-shadow: 0 30px 70px rgba(11, 40, 51, .24); }
.qcard-art { position: relative; aspect-ratio: 2 / 1; background: radial-gradient(130% 120% at 0% 0%, #1d5c70 0%, var(--navy) 48%, var(--navy-deep) 100%); }
.qcard-art svg { display: block; width: 100%; height: 100%; }
.qcard-art::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 4px; background: var(--orange); transition: width .4s ease; }
.qcard:hover .qcard-art::after { width: 100%; }
.qcard-body { position: relative; display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 0 28px 26px; }
.qcard .qcard-ic { position: relative; z-index: 1; width: 60px; height: 60px; margin: -30px 0 4px; border: 4px solid #fff; }

/* Animaciones */
.qcard-art .qa-wave { opacity: 0; transform-box: fill-box; transform-origin: center top; animation: qWave 2.8s ease-out infinite; }
.qcard-art .qa-flake { opacity: 0; animation: qFall 3.2s linear infinite; }
.qcard-art .qa-curtain { animation: qBreath 3.4s ease-in-out infinite; }
.qcard-art .qa-led, .qcard-art .qs-rec { animation: qBlink 1.5s ease-in-out infinite; }
.qcard-art .qe-pulse { stroke-dasharray: 16 100; stroke-dashoffset: 16; animation: qFlow 2.1s cubic-bezier(.45, 0, .55, 1) infinite; filter: drop-shadow(0 0 4px #ff852f); }
.qcard-art .qe-glow { opacity: .15; transform-box: fill-box; transform-origin: center; animation: qGlow 2.1s ease-in-out infinite; }
.qcard-art .qe-ring { opacity: 0; transform-box: fill-box; transform-origin: center; animation: qRing 2.1s ease-out infinite; }
.qcard-art .qe-fan { transform-box: fill-box; transform-origin: center; animation: qSpin 1.3s linear infinite; }
.qcard-art .qs-scan { transform-box: view-box; transform-origin: 78px 44px; animation: qScan 3.6s ease-in-out infinite alternate; }
.qcard-art .qs-notif { transform-box: fill-box; transform-origin: center; animation: qNotif 4.2s ease-in-out infinite; }
.qcard-art .qd1 { animation-delay: .7s; }
.qcard-art .qd2 { animation-delay: 1.4s; }
.qcard-art .qd3 { animation-delay: 2s; }
.qcard-art .qd4 { animation-delay: 2.6s; }
.qcard-art .qd5 { animation-delay: 1s; }
@keyframes qWave { 0% { opacity: 0; transform: translateY(-4px) scale(.7); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(54px) scale(1.3); } }
@keyframes qFall { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(6px, 76px); } }
@keyframes qBreath { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes qBlink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes qFlow { 0% { stroke-dashoffset: 16; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes qGlow { 0%, 65% { opacity: .12; transform: scale(.8); } 82% { opacity: .9; transform: scale(1.12); } 100% { opacity: .12; transform: scale(.8); } }
@keyframes qRing { 0%, 70% { opacity: 0; transform: scale(.9); } 80% { opacity: .9; } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes qSpin { to { transform: rotate(360deg); } }
@keyframes qScan { from { transform: rotate(-14deg); } to { transform: rotate(10deg); } }
@keyframes qNotif { 0% { opacity: 0; transform: translateY(8px) scale(.85); } 10% { opacity: 1; transform: translateY(-2px) scale(1.04); } 16%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }

@media (max-width: 960px) {
  .qcard { display: flex; flex-direction: column; padding: 0; }
  .qcard .qcard-ic { grid-row: auto; width: 56px; height: 56px; margin: -28px 0 4px; }
  .qcard-art { aspect-ratio: 5 / 2; }
  .qcard-body { padding: 0 24px 22px; }
}
@media (max-width: 620px) {
  .qcard { padding: 0; }
  .qcard-art { aspect-ratio: 2 / 1; }
  .qcard-body { padding: 0 18px 20px; gap: 8px; }
  .qcard .qcard-ic { width: 52px; height: 52px; margin-top: -26px; }
}

/* ---------- Nosotros v2: tarjetas de socio con avatar ilustrado ---------- */
.equipo { gap: 18px; }
.equipo-nota { margin-top: 14px !important; font-size: 13px !important; color: var(--muted); }
.socio { display: flex !important; flex-direction: column; gap: 0 !important; align-items: stretch !important; padding: 0 !important; overflow: hidden; background: #fff !important; border: 1px solid rgba(18, 60, 76, .08); box-shadow: 0 14px 34px rgba(11, 40, 51, .08); transition: transform .3s ease, box-shadow .3s ease; }
.socio:hover { transform: translateY(-4px); box-shadow: 0 26px 56px rgba(11, 40, 51, .16); }
.socio-art { position: relative; aspect-ratio: 280 / 130; background: radial-gradient(130% 120% at 0% 0%, #1d5c70 0%, var(--navy) 50%, var(--navy-deep) 100%); }
.socio:nth-child(4) .socio-art { background: radial-gradient(130% 120% at 0% 0%, #1d5c70 0%, #0f4556 50%, var(--navy-deep) 100%); }
.socio-art::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 4px; background: var(--orange); transition: width .4s ease; }
.socio:hover .socio-art::after { width: 100%; }
.socio-art svg { display: block; width: 100%; height: 100%; }
.socio-body { padding: 18px 20px 20px; }
.socio-titulo { font-size: 11px !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol) !important; margin: 0 !important; }
.equipo .socio h3 { font-family: var(--f-display); font-size: 26px; font-weight: 700; text-transform: uppercase; line-height: 1.05; margin-top: 4px; color: var(--navy); }
.equipo .socio-area { font-size: 14px; font-weight: 700; color: var(--ink, #1a2f37); margin-top: 4px; }
/* Animaciones de socios */
.socio-art .tm-float { animation: tmFloat 4s ease-in-out infinite; }
.socio-art .tm-line { stroke-dasharray: 100; stroke-dashoffset: 100; animation: tmDraw 4.5s ease-out infinite; }
.socio-art .tm-stamp { transform-box: fill-box; transform-origin: center; animation: tmStamp 4.5s ease-out infinite; }
.socio-art .tm-blink { animation: qBlink 1.4s ease-in-out infinite; }
.socio-art .tm-pulse { stroke-dasharray: 22 100; stroke-dashoffset: 22; animation: qFlow 2s cubic-bezier(.45, 0, .55, 1) infinite; filter: drop-shadow(0 0 4px #ff852f); }
.socio-art .tm-scan { transform-box: view-box; transform-origin: 254px 46px; animation: qScan 3.4s ease-in-out infinite alternate; }
.socio-art .tm-bolt { transform-box: fill-box; transform-origin: center; animation: tmBolt 2s ease-in-out infinite; }
.socio-art .tm-wave { opacity: 0; transform-box: fill-box; transform-origin: center top; animation: tmWave 2.7s ease-out infinite; }
.socio-art .tm-wrench { transform-box: view-box; transform-origin: 203px 125px; animation: tmWrench 2.4s ease-in-out infinite; }
.socio-art .tm-type { stroke-dasharray: 100; stroke-dashoffset: 100; animation: tmDraw 4s steps(8) infinite; }
.socio-art .tm-pop { transform-box: fill-box; transform-origin: 20% 100%; animation: tmPop 4s ease-out infinite; }
.socio-art .td1 { animation-delay: .5s; }
.socio-art .td2 { animation-delay: 1s; }
.socio-art .td3 { animation-delay: 1.5s; }
@keyframes tmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes tmDraw { 0% { stroke-dashoffset: 100; } 45%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes tmStamp { 0%, 50% { opacity: 0; transform: scale(1.8); } 60%, 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@keyframes tmBolt { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 #ff852f); } 50% { transform: scale(1.12); filter: drop-shadow(0 0 8px #ff852f); } }
@keyframes tmWave { 0% { opacity: 0; transform: translateY(0) scale(.8); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(36px) scale(1.15); } }
@keyframes tmWrench { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-22deg); } }
@keyframes tmPop { 0%, 40% { opacity: 0; transform: scale(.6); } 50%, 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }

@media (max-width: 620px) {
  .equipo { grid-template-columns: 1fr 1fr; gap: 12px; }
  .socio-body { padding: 14px 14px 16px; }
  .equipo .socio h3 { font-size: 21px; }
  .equipo .socio-area { font-size: 13px; }
}
@media (max-width: 440px) {
  .equipo { grid-template-columns: 1fr; }
}
@media (min-width: 961px) {
  .empresa-grid { align-items: start; }
  .empresa-grid > div:first-child { position: sticky; top: 120px; }
}

/* ---------- Nosotros v3: avatares estilo app ---------- */
.socio-art { aspect-ratio: 280 / 150; overflow: hidden; }
.socio-body { padding: 18px 20px 22px; }
.socio-art .w-temp { font-family: var(--f-display); font-size: 24px; font-weight: 700; fill: #fff; }
.socio-art .av-bob { animation: avBob 5s ease-in-out infinite; }
.socio-art .av-blink { transform-box: fill-box; transform-origin: center; animation: avBlink 4.6s ease-in-out infinite; }
.socio:nth-child(2) .av-blink { animation-delay: 1.3s; }
.socio:nth-child(3) .av-blink { animation-delay: 2.4s; }
.socio:nth-child(4) .av-blink { animation-delay: .7s; }
.socio-art .w-float { animation: tmFloat 4.4s ease-in-out infinite; }
.socio-art .w-ring { stroke-dasharray: 100; stroke-dashoffset: 100; animation: wRing 4.4s cubic-bezier(.3, 0, .2, 1) infinite; }
.socio-art .w-check { stroke-dasharray: 30; stroke-dashoffset: 30; animation: wCheck 4.4s ease-out infinite; }
.socio-art .w-blink { animation: qBlink 1.4s ease-in-out infinite; }
.socio-art .w-toggle-bg { fill: rgba(255, 255, 255, .22); animation: wToggleBg 3.2s ease-in-out infinite; }
.socio-art .w-toggle { animation: wToggle 3.2s ease-in-out infinite; }
.socio-art .w-bolt { transform-box: fill-box; transform-origin: center; animation: tmBolt 3.2s ease-in-out infinite; }
.socio-art .w-scan { animation: wScan 2.6s ease-in-out infinite alternate; opacity: .8; filter: drop-shadow(0 0 4px #6fd0e6); }
.socio-art .w-ping { transform-box: fill-box; transform-origin: center; animation: wPing 1.6s ease-out infinite; }
.socio-art .w-arc { stroke-dasharray: 75 100; stroke-dashoffset: 75; animation: wArc 4s ease-in-out infinite; }
.socio-art .w-snow { transform-box: fill-box; transform-origin: center; animation: qSpin 6s linear infinite; }
.socio-art .w-wrench { transform-box: fill-box; transform-origin: 15% 85%; animation: tmWrench 2.2s ease-in-out infinite; }
.socio-art .w-fan { transform-box: fill-box; transform-origin: center; animation: qSpin 1.2s linear infinite; }
.socio-art .w-banner { animation: wBanner 4.8s cubic-bezier(.2, .8, .2, 1) infinite; }
.socio-art .w-type { stroke-dasharray: 100; stroke-dashoffset: 100; animation: tmDraw 4.8s steps(10) infinite; }
.socio-art .w-dot { animation: wDot 1.2s ease-in-out infinite; }
.socio-art .wd1 { animation-delay: .2s; }
.socio-art .w-type.wd1 { animation-delay: .6s; }
.socio-art .w-type.wd2 { animation-delay: 1.2s; }
.socio-art .w-dot.wd2 { animation-delay: .4s; }
.socio-art .w-float.wd2 { animation-delay: 1.2s; }
@keyframes avBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2.5px) rotate(-.6deg); } }
@keyframes avBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes wRing { 0% { stroke-dashoffset: 100; } 55%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wCheck { 0%, 50% { stroke-dashoffset: 30; } 62%, 100% { stroke-dashoffset: 0; } }
@keyframes wToggleBg { 0%, 30% { fill: rgba(255, 255, 255, .22); } 40%, 90% { fill: #34c759; } 100% { fill: rgba(255, 255, 255, .22); } }
@keyframes wToggle { 0%, 30% { transform: translateX(0); } 40%, 90% { transform: translateX(11px); } 100% { transform: translateX(0); } }
@keyframes wScan { from { transform: translateY(0); } to { transform: translateY(50px); } }
@keyframes wPing { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(3); } }
@keyframes wArc { 0% { stroke-dashoffset: 75; } 50%, 80% { stroke-dashoffset: 20; } 100% { stroke-dashoffset: 75; } }
@keyframes wBanner { 0% { opacity: 0; transform: translateY(-18px); } 12%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-18px); } }
@keyframes wDot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- Nosotros v4: fila de avatares sin tarjeta ---------- */
.empresa-head { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; }
.empresa-intro p { color: var(--muted); font-size: 17px; max-width: 52ch; }
.empresa-intro .equipo-nota { margin-top: 10px !important; }
.empresa-fila .equipo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.empresa-fila .socio { display: flex !important; flex-direction: column; align-items: center !important; text-align: center; padding: 0 !important; background: none !important; border: 0; box-shadow: none; overflow: visible; }
.empresa-fila .socio:hover { transform: none; box-shadow: none; }
.socio-av { position: relative; width: min(100%, 220px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(120% 120% at 20% 10%, #1d5c70 0%, var(--navy) 55%, var(--navy-deep) 100%); box-shadow: 0 22px 44px rgba(11, 40, 51, .2), inset 0 0 0 6px rgba(255, 255, 255, .06); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.socio-av > svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border-radius: 50%; }
.socio:hover .socio-av { transform: translateY(-6px) scale(1.03); box-shadow: 0 30px 60px rgba(11, 40, 51, .28), inset 0 0 0 6px rgba(255, 133, 47, .5); }
.socio-badge { position: absolute; right: 4%; bottom: 6%; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: #fff; border: 4px solid #fff; box-shadow: 0 10px 22px rgba(255, 133, 47, .4); animation: tmFloat 3.6s ease-in-out infinite; }
.socio-badge svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.socio:nth-child(2) .socio-badge { animation-delay: .9s; }
.socio:nth-child(3) .socio-badge { animation-delay: 1.8s; }
.socio:nth-child(4) .socio-badge { animation-delay: 2.7s; }
.empresa-fila .socio h3 { margin-top: 22px; font-family: var(--f-display); font-size: 30px; font-weight: 700; text-transform: uppercase; line-height: 1; color: var(--navy); }
.empresa-fila .socio-area { margin-top: 8px; max-width: 24ch; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--muted); }
@media (max-width: 960px) {
  .empresa-head { grid-template-columns: 1fr; gap: 18px; }
  .empresa-fila .equipo { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; margin-top: 44px; }
}
@media (max-width: 620px) {
  .empresa-fila .equipo { gap: 32px 16px; }
  .socio-badge { width: 42px; height: 42px; border-width: 3px; }
  .socio-badge svg { width: 19px; height: 19px; }
  .empresa-fila .socio h3 { margin-top: 16px; font-size: 23px; }
  .empresa-fila .socio-area { font-size: 13px; }
}

/* ---------- Tu espacio: selector claro ---------- */
.tabs-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); }
.tabs-hint svg { width: 20px; height: 20px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: tapHint 1.8s ease-in-out infinite; }
.explorar-copy .tabs { margin-top: 12px; gap: 12px; }
.tab { position: relative; gap: 16px; padding: 14px 18px 14px 14px; cursor: pointer; box-shadow: 0 6px 16px rgba(11, 40, 51, .06); transition: transform .2s, border-color .2s, background-color .2s, color .2s, box-shadow .2s; }
.tab:hover { transform: translateY(-2px); border-color: var(--petrol); box-shadow: 0 14px 28px rgba(11, 40, 51, .12); }
.tab:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.tab-ic { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(8, 125, 152, .1); transition: background-color .2s; }
.tab .tab-ic svg { width: 26px; height: 26px; }
.tab-txt { display: grid; gap: 2px; flex: 1; }
.tab-name { font-size: 17px; font-weight: 800; }
.tab-sub { font-size: 13px; font-weight: 600; color: var(--muted); transition: color .2s; }
.tab-check { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: #fff; transition: background-color .2s, border-color .2s; }
.tab-check svg { width: 16px; height: 16px; fill: none; stroke: var(--on-orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.tab:hover .tab-check { border-color: var(--petrol); }
.tab[aria-pressed="true"] .tab-ic { background: rgba(255, 255, 255, .12); }
.tab[aria-pressed="true"] .tab-sub { color: var(--petrol-soft); }
.tab[aria-pressed="true"] .tab-check { background: var(--orange); border-color: var(--orange); }
.tab[aria-pressed="true"] .tab-check svg { opacity: 1; transform: none; }
.tab[aria-pressed="true"]:hover { transform: none; }
.tabs--hint .tab[aria-pressed="false"] .tab-check { animation: tabPulse 2s ease-out infinite; }
.tabs--hint .tab[data-service="2"] .tab-check { animation-delay: .5s; }
@keyframes tabPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 133, 47, .55); border-color: var(--orange); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 133, 47, 0); } }
@keyframes tapHint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px) scale(.92); } }
@media (max-width: 960px) {
  .tab { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px 8px 14px; }
  .tab-txt { justify-items: center; }
  .tab-check { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; }
  .tab-check svg { width: 13px; height: 13px; }
}
@media (max-width: 620px) {
  .tab-ic { width: 40px; height: 40px; }
  .tab .tab-ic svg { width: 22px; height: 22px; }
  .tab-name { font-size: 13px; }
  .tab-sub { display: none; }
  .tab-check { top: 6px; right: 6px; width: 20px; height: 20px; }
}
.explorar-copy > p.tabs-hint { margin-top: 26px; font-size: 12px; color: var(--petrol); }
.tab .tab-check svg { stroke: #fff; stroke-width: 3; width: 15px; height: 15px; }

/* ---------- Tarjetas de especialidad: carrusel horizontal en móvil ---------- */
.qdots { display: none; }
@media (max-width: 620px) {
  .quick-cards { display: flex; gap: 12px; margin-top: -84px; margin-inline: 0; padding: 4px var(--gutter) 18px; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .quick-cards::-webkit-scrollbar { display: none; }
  .quick-cards .qcard { flex: 0 0 84%; scroll-snap-align: start; border-radius: 18px; box-shadow: 0 14px 34px rgba(11, 40, 51, .16); }
  .quick-cards .qcard:hover { transform: none; }
  .qcard-art { aspect-ratio: 16 / 7; }
  .qcard-body { padding: 0 16px 16px; gap: 6px; }
  .qcard .qcard-ic { width: 44px; height: 44px; margin: -22px 0 2px; border-width: 3px; }
  .qcard .qcard-ic svg { width: 20px; height: 20px; }
  .qcard h2 { font-size: 21px; }
  .qcard p { font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .qcard-more { font-size: 13px; }
  .qdots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
  .qdots span { width: 7px; height: 7px; border-radius: 999px; background: rgba(18, 60, 76, .2); transition: width .3s, background-color .3s; }
  .qdots span.is-on { width: 22px; background: var(--orange); }
}

/* ---------- Multimarca v4: ficha de marca clara ---------- */
.vitrina-info { padding: 34px 32px 32px; color: var(--ink); background: linear-gradient(180deg, #f7fbfc 0%, #eef5f7 100%); border-right: 1px solid var(--line); }
.vitrina-info::before { top: 0; left: 0; right: 0; width: auto; height: 4px; border-radius: 0; opacity: 1; filter: none; background: var(--brand); }
.vitrina-info::after { display: none; }
.fm-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fm-logo { display: flex; align-items: center; width: 100%; min-height: 84px; margin-top: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.fm-logo img { display: block; width: auto; height: auto; max-width: 78%; max-height: 60px; }
.fm-logo .logo-texto { font-size: 48px; color: var(--navy); }
.fm-rubro { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.fm-rubro::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); transition: background-color .4s; }
.fm-spec { width: 100%; margin: 14px 0 28px; }
.fm-spec > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(18, 60, 76, .16); }
.fm-spec dt { font-size: 14px; color: var(--muted); }
.fm-spec dd { margin: 0; font-size: 14px; font-weight: 800; color: var(--navy); text-align: right; }
.vitrina-info .btn { margin-top: auto; }
.vitrina.is-changing .fm-logo, .vitrina.is-changing .fm-rubro { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
@media (max-width: 960px) {
  .vitrina-info { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .vitrina-info { padding: 22px 18px 20px; }
  .fm-logo { min-height: 64px; padding-bottom: 14px; }
  .fm-logo img { max-height: 46px; }
  .fm-logo .logo-texto { font-size: 38px; }
  .fm-spec { margin: 8px 0 20px; }
  .fm-spec > div { padding: 10px 0; }
  .fm-spec dt, .fm-spec dd { font-size: 13px; }
}
.vitrina-info .btn { margin-top: 0; }

/* ---------- Multimarca v5: botón sobrio y motivo por rubro ---------- */
.fm-cta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 54px; padding: 6px 6px 6px 20px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; transition: background-color .25s, transform .25s; }
.fm-cta:hover { background: var(--navy-deep); transform: translateY(-1px); }
.fm-cta:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.fm-cta-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-cta-ic { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; background: var(--brand); transition: background-color .4s, transform .25s; }
.fm-cta:hover .fm-cta-ic { transform: translateX(3px); }
.fm-cta-ic svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }



/* ---------- Cobertura v2: mapa referencial ---------- */
.cob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1080px; margin: 0 auto; }
.cob-map { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #c7e6ef; box-shadow: var(--shadow-lg); }
.cob-map svg { display: block; width: 100%; height: auto; }
.cob-map figcaption { position: absolute; left: 14px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: 11px; font-weight: 700; color: var(--muted); }
.cob-land { fill: #f7fbfc; }
.cob-coast { fill: none; stroke: #8fc9d8; stroke-width: 2.5; stroke-linejoin: round; }
.cob-sea-txt { font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; fill: #6aaabb; }
.cob-swell path { animation: cobSwell 6s ease-in-out infinite; }
.cob-swell path:nth-child(2) { animation-delay: 2s; }
.cob-swell path:nth-child(3) { animation-delay: 4s; }
.cob-route { fill: none; stroke: var(--navy); stroke-opacity: .35; stroke-width: 2.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.cob-route-pulse { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 100; stroke-dashoffset: 10; filter: drop-shadow(0 0 4px rgba(255, 133, 47, .8)); animation: cobRoute 4.5s cubic-bezier(.45, 0, .55, 1) infinite; }
.cob-pin { transition: opacity .3s; }
.cob-dot { fill: var(--petrol); stroke: #fff; stroke-width: 3; transition: transform .3s; }
.cob-halo { fill: var(--petrol); opacity: .14; }
.cob-ring { fill: none; stroke: var(--petrol); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: cobPing 2.4s ease-out infinite; }
.cob-pin--lima .cob-dot, .cob-pin--lima .cob-halo { fill: var(--orange); }
.cob-pin--lima .cob-ring { stroke: var(--orange); stroke-dasharray: 4 4; animation-delay: .8s; }
.cob-pin[data-pin="ica"] .cob-ring { animation-delay: 1.6s; }
.cob-lbl { font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: .02em; fill: var(--navy); }
.cob-sub { font-family: var(--f-body); font-size: 10.5px; font-weight: 700; fill: var(--muted); }
.cob-north circle { fill: #fff; fill-opacity: .9; }
.cob-north path { fill: var(--navy); }
.cob-map[data-zona="ica"] .cob-pin:not([data-pin="ica"]),
.cob-map[data-zona="chincha"] .cob-pin:not([data-pin="chincha"]),
.cob-map[data-zona="lima"] .cob-pin:not([data-pin="lima"]) { opacity: .35; }
.cob-map[data-zona="ica"] [data-pin="ica"] .cob-dot,
.cob-map[data-zona="chincha"] [data-pin="chincha"] .cob-dot,
.cob-map[data-zona="lima"] [data-pin="lima"] .cob-dot { transform: scale(1.35); }

.cob-list { display: grid; gap: 14px; }
.cob-item { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: var(--r-md); background: #fff; border: 1.5px solid var(--line); cursor: default; transition: border-color .25s, box-shadow .25s, transform .25s; }
.cob-item:hover, .cob-item:focus-visible { border-color: var(--petrol); box-shadow: var(--shadow-md); transform: translateX(-4px); outline: none; }
.cob-item--lima:hover, .cob-item--lima:focus-visible { border-color: var(--orange); }
.cob-ic { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(8, 125, 152, .1); }
.cob-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--petrol); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cob-item--lima .cob-ic { background: rgba(255, 133, 47, .14); }
.cob-item--lima .cob-ic svg { stroke: #d9661a; }
.cob-tag { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cob-item h3 { font-family: var(--f-display); font-size: 30px; font-weight: 700; line-height: 1; text-transform: uppercase; color: var(--navy); margin: 2px 0 4px; }
.cob-item p { font-size: 14px; color: var(--muted); }
@keyframes cobPing { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes cobRoute { 0% { stroke-dashoffset: 10; opacity: 0; } 8%, 92% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes cobSwell { 0%, 100% { transform: translateX(0); opacity: .3; } 50% { transform: translateX(10px); opacity: .9; } }
@media (max-width: 960px) {
  .cob-grid { grid-template-columns: 1fr; gap: 24px; max-width: 560px; }
}
@media (max-width: 620px) {
  .cob-list { gap: 10px; }
  .cob-item { padding: 14px 16px; gap: 14px; }
  .cob-ic { width: 42px; height: 42px; }
  .cob-item h3 { font-size: 24px; }
  .cob-item p { font-size: 13px; }
}

/* ---------- Tarjetas de especialidad v3: foto de equipo ---------- */
.qcard-art { background: linear-gradient(180deg, #ffffff 0%, #eef4f6 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.qcard-art img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 14px 0 8px; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.qcard:hover .qcard-art img { transform: scale(1.05); }
.qcard .qcard-ic { background: var(--navy); }

/* ---------- Multimarca: selector por pasos y vitrina en un solo bloque ---------- */
.marcas-box { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.msel { padding: 6px 32px; }
.msel-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 24px; padding: 18px 0; }
.msel-row + .msel-row { border-top: 1px solid var(--line); }
.msel-lab { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.msel-lab b { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; letter-spacing: 0; }
.marcas-box .rubros { margin: 0; justify-content: start; border: 0; background: var(--pale); box-shadow: none; }
.marcas-box .marca-chips { justify-content: flex-start; margin-top: 0; }
.marcas-box .chip { min-height: 52px; border-radius: 12px; }
.marcas-box .chip img { height: 24px; }
.marcas-box .vitrina { margin-top: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.vitrina-main { display: flex; flex-direction: column; min-width: 0; }
.eq-head { padding: 28px 28px 0; }
.vitrina-main .vitrina-equipos { flex: 1; padding-top: 18px; }
.fm-incl { width: 100%; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.fm-incl ul { display: grid; gap: 10px; margin-top: 14px; }
.fm-incl li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--navy); }
.fm-incl svg { flex-shrink: 0; width: 18px; height: 18px; fill: none; stroke: var(--petrol); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.marcas-otra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 18px 32px; border-top: 1px solid var(--line); background: var(--pale); font-size: 15px; color: var(--muted); }
.marcas-otra b { color: var(--navy); }
@media (max-width: 960px) {
  .msel-row { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 620px) {
  .msel { padding: 2px 18px; }
  .msel-row { padding: 16px 0; }
  .marcas-box .marca-chips { margin-inline: -18px; padding: 2px 18px 6px; scroll-padding-inline: 18px; }
  .marcas-box .chip { min-height: 46px; }
  .marcas-box .chip img { height: 20px; }
  .eq-head { padding: 20px 14px 0; }
  .vitrina-main .vitrina-equipos { padding-top: 14px; }
  .fm-incl { margin-top: 20px; padding-top: 18px; }
  .marcas-otra { padding: 16px 18px; }
}

/* ---------- Tu espacio: selector en una fila de tres fichas (escritorio) ---------- */
@media (min-width: 961px) {
  .explorar-copy .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .tab { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 26px 6px 20px; }
  .tab-ic { width: 64px; height: 64px; }
  .tab .tab-ic svg { width: 32px; height: 32px; }
  .tab-txt { justify-items: center; align-content: start; gap: 4px; }
  .tab-name { font-size: 15px; }
  .tab-sub { font-size: 12px; line-height: 1.35; padding-inline: 4px; }
  .tab-check { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; }
  .tab .tab-check svg { width: 13px; height: 13px; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .explorar-copy .tabs { gap: 8px; }
  .tab-name { font-size: 14px; }
  .tab-ic { width: 54px; height: 54px; }
}

/* ---------- Escala general: en escritorio todo se ve al 90 % ---------- */
@media (min-width: 961px) {
  html { zoom: .9; }
}

/* =========================================================
   Adaptable ampliado: móviles pequeños, tablet y pantallas grandes
   ========================================================= */
/* Columnas que no se ensanchan por su contenido */
@media (max-width: 960px) {
  .tabs, .explorar-copy .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tab { min-width: 0; }
}
/* Móviles pequeños (≤360 px) */
@media (max-width: 360px) {
  .hero h1 { font-size: 38px; }
  .tabs, .explorar-copy .tabs { gap: 6px; }
  .tab { padding: 14px 2px 12px; }
  .tab-name { font-size: 12px; }
  .tab-check { width: 18px; height: 18px; }
  .srv-body { padding: 24px 18px; }
  .comp-head h2 { font-size: 29px; }
}
/* Tablet (621–960 px): las tres especialidades en una fila */
@media (min-width: 621px) and (max-width: 960px) {
  .quick-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .qcard-art { aspect-ratio: 3 / 2; }
  .qcard-body { padding: 0 16px 18px; gap: 6px; }
  .qcard .qcard-ic { width: 48px; height: 48px; margin: -24px 0 2px; }
  .qcard .qcard-ic svg { width: 22px; height: 22px; }
  .qcard h2 { font-size: 21px; }
  .qcard p { font-size: 13px; line-height: 1.5; }
  .qcard-more { font-size: 13px; }
}
/* Laptop pequeña (961–1180 px): fichas de "Tu espacio" sin detalle para que no se aprieten */
@media (min-width: 961px) and (max-width: 1180px) {
  .tab-sub { display: none; }
  .tab { padding: 22px 4px 18px; }
}
/* Pantallas grandes: el contenido crece con el monitor en vez de quedar como una columna angosta */
@media (min-width: 1700px) {
  html { zoom: 1; }
  .hero { padding-block: 140px 220px; }
  .hero-bg { object-position: 72% 24%; }
  .hero-bg--elec { object-position: 50% 20%; }
  .hero-bg--seg { object-position: 50% 4%; }
}
@media (min-width: 2200px) {
  html { zoom: 1.25; }
  .hero-bg { object-position: 72% 15%; }
  .hero-bg--elec { object-position: 50% 14%; }
  .hero-bg--seg { object-position: 50% 2%; }
}
@media (min-width: 3000px) { html { zoom: 1.5; } }
@media (min-width: 3800px) { html { zoom: 1.85; } }
@media (max-width: 620px) {
  .rubros, .marcas-box .rubros { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rubro { min-width: 0; }
}
@media (max-width: 360px) {
  .rubro { font-size: 11px; letter-spacing: -.01em; padding: 10px 0; }
  .marcas-box .rubros { padding: 4px; gap: 2px; }
  .msel { padding-inline: 14px; }
  .msel-lab { font-size: 12px; }
}
