/* ============================================================================
   ELECTROFERRETERO JYD · Hoja de estilos v2 «Anatomía de la red»
   Porcelana + azul de marca + amarillo solo como señal «viva».
   Tipografía única: Archivo variable (ancho expandido para titulares).
   ============================================================================ */
:root {
    --ink: #0E1A2B;
    --navy: #13213C;
    --navy-2: #1C2F52;
    --navy-3: #0A1322;
    --volt: #F5B400;
    --volt-2: #FFC933;
    --volt-soft: #FFF4D1;
    --copper: #B8642F;
    --bg: #F4F6F9;
    --surface: #FFFFFF;
    --line: #DDE3EA;
    --line-2: #EBEFF4;
    --steel: #566376;
    --steel-2: #8C97A8;
    --wa: #25D366;
    --r-lg: 22px;
    --r: 16px;
    --r-sm: 10px;
    --shadow: 0 1px 2px rgba(14,26,43,.05), 0 10px 30px rgba(14,26,43,.07);
    --shadow-lg: 0 30px 70px rgba(14,26,43,.16);
    --font: 'Archivo', 'Segoe UI', system-ui, sans-serif;
    --wrap: 1280px;
    --header-h: 78px;
    --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-stretch: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; background: var(--volt); color: var(--navy); padding: 8px 14px; z-index: 5000; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Tipografía ---------- */
.display, .hero-title, .sec-title, .page-hero h1 { font-family: var(--font); font-stretch: 114%; font-weight: 760; letter-spacing: -.022em; line-height: 1.02; color: var(--navy); margin: 0; text-wrap: balance; }
.sec-title { font-size: clamp(30px, 3.4vw, 50px); }
.sec-top { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.sec-lead { color: var(--steel); font-size: 18px; margin: 0; max-width: 46ch; }
.prose p { color: var(--steel); font-size: 18px; margin: 0 0 16px; max-width: 62ch; }
.hl { position: relative; white-space: normal; color: var(--navy); background: linear-gradient(var(--volt), var(--volt)) no-repeat 0 94% / 0% .14em; animation: wire-in 1.1s .35s var(--ease) forwards; }
@keyframes wire-in { to { background-size: 100% .14em; } }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--font); font-stretch: 106%; font-weight: 650; font-size: 16px; letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn .fa-arrow-right { transition: transform .2s var(--ease); }
.btn:hover .fa-arrow-right { transform: translateX(3px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); box-shadow: 0 10px 24px rgba(19,33,60,.25); }
.btn-line, .btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover, .btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-volt, .btn-yellow { background: var(--volt); color: var(--navy); }
.btn-volt:hover, .btn-yellow:hover { background: var(--volt-2); box-shadow: 0 10px 24px rgba(245,180,0,.35); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: var(--volt); color: var(--volt); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1EB957; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn .quote-count { background: var(--navy); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow i { font-size: 13px; transition: transform .2s var(--ease); }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-3); color: #AEB8C8; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--volt); margin-right: 8px; font-size: 12px; }
.topbar-social { display: flex; gap: 16px; }
.topbar-social i { margin: 0; color: #AEB8C8; font-size: 14px; transition: color .2s; }
.topbar-social a:hover i { color: var(--volt); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line-2); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(14,26,43,.07); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-img { height: var(--logo-footer-height, 72px); width: auto; max-width: 100%; object-fit: contain; }
.site-header > .wrap > .brand { flex: 0 1 250px; min-width: 0; }
.site-header .brand-img { height: var(--logo-height, 60px); max-width: 250px; width: 100%; object-position: left center; }
.site-header .header-actions { flex-shrink: 0; }
@media (max-width: 1080px) {
    .site-header > .wrap { gap: 12px; }
    .site-header > .wrap > .brand { flex: 0 1 240px; margin-right: auto; }
    .site-header .brand-img { height: var(--logo-mobile-height, 44px); max-width: 100%; }
}
.brand-mark { width: 44px; height: 44px; border-radius: 13px; background: var(--navy); display: grid; place-items: center; flex-shrink: 0; position: relative; }
.brand-mark::after { content: ''; position: absolute; right: -3px; top: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--volt); border: 2px solid #fff; }
.brand-mark svg { width: 24px; height: 24px; fill: var(--volt); }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-words strong { font-stretch: 112%; font-weight: 800; font-size: 19px; color: var(--navy); letter-spacing: .01em; }
.brand-sub { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.brand-sub b { color: var(--navy); font-stretch: 120%; font-weight: 800; font-size: 12.5px; letter-spacing: .16em; padding: 2px 7px 1px 8px; border: 1.5px solid var(--volt); border-radius: 5px; background: var(--volt-soft); }
.brand-sub em { font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--steel-2); }

.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.main-nav > ul > li > a, .main-nav > ul > li > button { position: relative; display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 999px; background: none; border: 0; font-family: var(--font); font-weight: 550; font-size: 15.5px; color: var(--ink); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > button:hover, .has-mega.open > button { background: var(--bg); }
.main-nav > ul > li > a.is-active, .main-nav > ul > li > button.is-active { color: var(--navy); font-weight: 700; }
.main-nav > ul > li > a.is-active::after, .main-nav > ul > li > button.is-active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--volt); }
.main-nav .fa-chevron-down { font-size: 10px; transition: transform .2s; color: var(--steel-2); }
.has-mega.open .fa-chevron-down { transform: rotate(180deg); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line-2); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega .wrap { display: grid; grid-template-columns: repeat(4, 1fr) 1.15fr; gap: 28px; padding-top: 30px; padding-bottom: 34px; height: auto; align-items: start; }
.mega h4 { font-stretch: 110%; font-weight: 700; font-size: 16px; color: var(--navy); margin: 0 0 10px; display: flex; gap: 10px; align-items: center; }
.mega h4 a { text-decoration: none; }
.mega h4 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mega h4 i { width: 30px; height: 30px; border-radius: 9px; background: var(--bg); color: var(--navy); display: grid; place-items: center; font-size: 13px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; margin: 0 -10px; border-radius: 8px; font-size: 14.5px; color: var(--steel); text-decoration: none; }
.mega li a span { color: var(--steel-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mega li a:hover { background: var(--bg); color: var(--navy); }
.mega-cta { background: var(--navy); color: #fff; border-radius: var(--r); padding: 24px; }
.mega-cta p { margin: 0 0 16px; color: #BFC8D6; font-size: 14.5px; line-height: 1.5; }
.mega-cta strong { display: block; font-stretch: 114%; font-size: 22px; font-weight: 760; margin-bottom: 8px; }
.mega-cta .btn { min-height: 44px; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; font-size: 15px; text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.icon-btn:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.quote-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .2s; }
.quote-btn:hover { background: var(--navy-2); }
.quote-btn i { color: var(--volt); }
.quote-count { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--volt); color: var(--navy); font-size: 13px; display: grid; place-items: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.quote-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; }

/* Buscador */
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 26px 0 22px; display: none; }
.search-panel.open { display: block; animation: drop .25s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.search-form { position: relative; max-width: 780px; margin: 0 auto; }
.search-form input { width: 100%; height: 60px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); padding: 0 66px 0 26px; font-family: inherit; font-size: 18px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.search-form input:focus { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 5px rgba(245,180,0,.25); }
.search-form button { position: absolute; right: 7px; top: 7px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 16px; cursor: pointer; }
.search-results { max-width: 780px; margin: 12px auto 0; display: grid; gap: 2px; }
.search-item { display: flex; align-items: center; gap: 14px; padding: 8px 14px; border-radius: 12px; text-decoration: none; }
.search-item:hover { background: var(--bg); }
.search-item img { width: 50px; height: 50px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.search-item strong { display: block; font-weight: 650; color: var(--navy); }
.search-item small { color: var(--steel-2); }
.search-empty { text-align: center; color: var(--steel); padding: 12px; }

/* ============================================================================
   HERO · Anatomía de la red
   ============================================================================ */
.hero { position: relative; background: radial-gradient(1200px 600px at 78% 20%, #fff 0%, rgba(255,255,255,0) 60%), var(--bg); overflow: hidden; border-bottom: 1px solid var(--line-2); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(19,33,60,.045) 1px, transparent 1px); background-size: 80px 100%; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; min-height: min(760px, calc(100vh - 116px)); }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 16px 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 550; color: var(--steel); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 0 rgba(245,180,0,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(245,180,0,0); } 100% { box-shadow: 0 0 0 0 rgba(245,180,0,0); } }
.hero-slides { position: relative; }
.hero-slide { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .6s ease, transform .6s var(--ease), visibility .6s; }
.hero-slide.active { opacity: 1; visibility: visible; position: relative; transform: none; }
.hero-title { font-size: clamp(44px, 5.4vw, 80px); line-height: .98; margin-bottom: 24px; }
.hero-sub { font-size: 19px; color: var(--steel); max-width: 48ch; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-dots { display: flex; gap: 8px; margin-top: 28px; }
.hero-dots button { width: 28px; height: 4px; border: 0; border-radius: 2px; background: rgba(19,33,60,.16); cursor: pointer; padding: 0; transition: width .3s var(--ease), background .3s; }
.hero-dots button.active { background: var(--navy); width: 48px; }
.hero-stats { display: flex; gap: 0; margin: 46px 0 0; max-width: 520px; border-top: 1px solid var(--line); }
.hero-stats div { flex: 1; padding: 18px 0 0; }
.hero-stats div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.hero-stats dt { font-size: 13.5px; color: var(--steel-2); font-weight: 550; order: 2; }
.hero-stats dd { margin: 0 0 2px; font-stretch: 118%; font-weight: 780; font-size: 42px; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Poste interactivo */
.hero-visual { position: relative; z-index: 1; }
.pole-wrap { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 560 / 640; }
.pole { width: 100%; height: 100%; overflow: visible; display: block; }
.pole .wires path { fill: none; stroke: url(#gWire); stroke-width: 1.8; }
.pole .wires .wire-lv { stroke: url(#gWireLv); stroke-width: 4; stroke-linecap: round; }
.pole .current path { fill: none; stroke: url(#gVolt); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 18 1600; animation: current 5.5s linear infinite; filter: drop-shadow(0 0 4px rgba(245,180,0,.8)); }
.pole .current path:nth-child(2) { animation-delay: -1.8s; }
.pole .current path:nth-child(3) { animation-delay: -3.6s; }
@keyframes current { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }
.pole .ground { stroke: var(--navy); stroke-width: 2; }
.pole .hatch line { stroke: #B5BFCC; stroke-width: 1; }
.pole .pole-body { stroke: var(--navy); stroke-width: 2; }
.pole .part { fill: #fff; stroke: var(--navy); stroke-width: 2; }
.pole .insulator path { fill: #fff; stroke: var(--navy); stroke-width: 1.6; stroke-linejoin: round; }
.pole .bracket { stroke: var(--navy); stroke-width: 3; stroke-linecap: round; }
.pole .guy { stroke: var(--steel); stroke-width: 1.6; stroke-dasharray: 6 5; }
.pole .drop { fill: none; stroke: #33415A; stroke-width: 2; }
.pole .arm { fill: none; stroke: var(--navy); stroke-width: 4; stroke-linecap: round; }
.pole .window { fill: var(--volt-soft); stroke: var(--navy); stroke-width: 1; }
.pole .beam { fill: rgba(245,180,0,.14); animation: beam 4s ease-in-out infinite; }
@keyframes beam { 50% { fill: rgba(245,180,0,.24); } }
.pole .copper { stroke: var(--copper); stroke-width: 2.4; }
.pole .copper.rod { stroke-width: 5; stroke-linecap: round; }

.hotspot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 0; padding: 0; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 750; cursor: pointer; z-index: 3; box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 4px 12px rgba(14,26,43,.25); transition: transform .25s var(--ease), background .2s, color .2s; }
.hotspot::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--volt); opacity: 0; animation: ping 2.6s infinite; }
.hotspot:nth-of-type(2n)::before { animation-delay: .8s; }
.hotspot:nth-of-type(3n)::before { animation-delay: 1.6s; }
@keyframes ping { 0% { transform: scale(.9); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.hotspot:hover, .hotspot.active { background: var(--volt); color: var(--navy); transform: scale(1.15); }
.hotspot.active::before { animation: none; }
.pole-card { position: absolute; z-index: 4; width: 280px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); padding: 14px; animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.pole-card .pc-top { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; }
.pole-card img { width: 84px; height: 84px; object-fit: contain; background: var(--bg); border-radius: 12px; padding: 6px; }
.pole-card small { display: block; color: var(--steel-2); font-size: 12.5px; font-weight: 550; }
.pole-card h3 { margin: 2px 0 0; font-stretch: 108%; font-size: 17px; font-weight: 720; line-height: 1.15; color: var(--navy); }
.pole-card p { margin: 10px 0 12px; font-size: 14px; color: var(--steel); line-height: 1.45; }
.pole-card .pc-actions { display: flex; gap: 8px; }
.pole-card .pc-actions button { flex: 1; min-height: 38px; border-radius: 999px; font-family: inherit; font-weight: 650; font-size: 14px; cursor: pointer; }
.pc-view { background: #fff; border: 1.5px solid var(--line); color: var(--navy); }
.pc-view:hover { border-color: var(--navy); }
.pc-add { background: var(--navy); border: 1.5px solid var(--navy); color: #fff; }
.pc-add.added { background: var(--volt); border-color: var(--volt); color: var(--navy); }
.pole-hint { text-align: center; color: var(--steel-2); font-size: 14px; margin: 10px 0 0; }
.pole-hint i { color: var(--navy); margin-right: 6px; }

/* ---------- Cinta de frases ---------- */
.ticker { background: #fff; color: var(--navy); overflow: hidden; border-bottom: 1px solid var(--line-2); contain: paint; }
.ticker-track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 22px; padding: 22px 26px; font-stretch: 108%; font-weight: 560; font-size: 19px; white-space: nowrap; letter-spacing: -.01em; }
.ticker-item svg { width: 16px; height: 16px; fill: var(--volt); flex-shrink: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; }
.section-soft { background: var(--bg); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy .sec-title { color: #fff; }
.center-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 48px; }

/* Servicios: circuito */
.circuit { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.circuit::before { content: ''; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 16px); }
.svc-card { position: relative; padding-top: 80px; display: flex; flex-direction: column; }
.svc-node { position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); color: var(--navy); display: grid; place-items: center; font-size: 19px; z-index: 1; transition: background .25s, color .25s; }
.svc-card:hover .svc-node { background: var(--volt); border-color: var(--volt); }
.svc-img { margin: 0 0 20px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.04); }
.svc-card h3 { margin: 0 0 10px; font-stretch: 110%; font-weight: 720; font-size: 22px; line-height: 1.12; color: var(--navy); }
.svc-card p { margin: 0 0 14px; color: var(--steel); font-size: 16px; }
.svc-card ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 7px; font-size: 15px; }
.svc-card li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.svc-card li::before { content: ''; width: 14px; height: 2px; background: var(--volt); margin-top: 11px; }
.svc-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* Categorías */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cat-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.cat-panel:hover { box-shadow: var(--shadow); border-color: #CAD2DC; }
.cat-main { display: grid; grid-template-columns: 1fr 230px; gap: 16px; padding: 30px 30px 20px; text-decoration: none; color: inherit; }
.cat-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: var(--volt); display: grid; place-items: center; font-size: 18px; margin-bottom: 18px; }
.cat-text h3 { margin: 0 0 10px; font-stretch: 112%; font-weight: 750; font-size: 28px; line-height: 1.05; letter-spacing: -.02em; color: var(--navy); }
.cat-text p { margin: 0 0 18px; color: var(--steel); font-size: 15.5px; max-width: 36ch; }
.cat-count { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--navy); font-size: 15px; }
.cat-count i { font-size: 12px; transition: transform .2s var(--ease); }
.cat-main:hover .cat-count i { transform: translateX(4px); }
.cat-stack { position: relative; height: 220px; }
.plate { position: absolute; width: 132px; height: 132px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .45s var(--ease); }
.plate img { width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; }
.plate-1 { top: 0; right: 70px; z-index: 2; }
.plate-2 { top: 64px; right: 0; width: 116px; height: 116px; }
.plate-3 { top: 96px; right: 118px; width: 104px; height: 104px; }
.cat-main:hover .plate-1 { transform: translate(-6px, -6px) rotate(-4deg); }
.cat-main:hover .plate-2 { transform: translate(6px, 2px) rotate(5deg); }
.cat-main:hover .plate-3 { transform: translate(-4px, 8px); }
.cat-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 18px 30px 28px; border-top: 1px dashed var(--line); }
.cat-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--bg); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 520; transition: background .2s, color .2s; }
.cat-chips a small { color: var(--steel-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.cat-chips a:hover { background: var(--navy); color: #fff; }
.cat-chips a:hover small { color: var(--volt); }

/* Tarjeta de producto */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.pcard:hover { border-color: #CAD2DC; box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard-media { position: relative; display: block; margin: 10px 10px 0; aspect-ratio: 1; background: var(--bg); border: 0; border-radius: 14px; padding: 0; cursor: zoom-in; overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; transition: transform .45s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-media .tag { position: absolute; left: 10px; top: 10px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 650; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); }
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex-grow: 1; }
.pcard-line { font-size: 13px; color: var(--steel-2); font-weight: 550; margin-bottom: 4px; }
.pcard-title { font-stretch: 106%; font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -.01em; color: var(--navy); margin: 0 0 8px; }
.pcard-desc { font-size: 14.5px; color: var(--steel); line-height: 1.45; margin: 0 0 16px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-price { font-weight: 700; color: var(--navy); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.pcard-actions { display: flex; gap: 8px; align-items: center; margin-top: auto; }
.add-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 999px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-family: inherit; font-weight: 650; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.add-btn:hover { background: var(--navy); color: #fff; }
.add-btn.added { background: var(--volt); border-color: var(--volt); color: var(--navy); }
.add-btn.added .fa-plus::before { content: "\f00c"; }
.wa-mini { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #E9F9EF; color: #128C4A; text-decoration: none; font-size: 18px; transition: background .2s, color .2s; }
.wa-mini:hover { background: var(--wa); color: #fff; }

/* Carrusel */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; }
.rail-nav { display: flex; gap: 8px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(255px, calc((100% - 66px) / 4)); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 20px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rail > * { scroll-snap-align: start; }

/* Cómo cotizar */
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.flow-copy p { color: #BFC8D6; font-size: 19px; margin: 18px 0 30px; max-width: 44ch; }
.flow { list-style: none; margin: 0; padding: 0; position: relative; }
.flow::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--volt), rgba(245,180,0,.15)); }
.flow li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: center; padding: 16px 0; }
.flow-n { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); border: 2px solid var(--volt); color: var(--volt); display: grid; place-items: center; font-stretch: 118%; font-weight: 800; font-size: 22px; z-index: 1; }
.flow li:first-child .flow-n { background: var(--volt); color: var(--navy); }
.flow p { margin: 0; font-size: 19px; color: #E4E9F1; line-height: 1.45; }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.section-navy.cta-sec, .cta-strip + * { margin: 0; }
.section-navy .cta-strip { padding: 0; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.contact-info { background: var(--navy); color: #fff; padding: 52px 46px; position: relative; overflow: hidden; }
.contact-info::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: 40px; height: 120px; border-top: 2px solid rgba(255,255,255,.08); border-radius: 50%; pointer-events: none; }
.contact-info .sec-title { color: #fff; font-size: clamp(32px, 3.2vw, 46px); margin-bottom: 14px; }
.contact-info > p { color: #BFC8D6; margin: 0 0 34px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; z-index: 1; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; }
.contact-list i { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.07); color: var(--volt); display: grid; place-items: center; }
.contact-list small { display: block; color: #8E9AAD; font-size: 13px; }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--volt); }
.contact-social { display: flex; gap: 10px; margin-top: 32px; position: relative; z-index: 1; }
.contact-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #fff; text-decoration: none; }
.contact-social a:hover { background: var(--volt); border-color: var(--volt); color: var(--navy); }
.contact-form { padding: 52px 46px; }
.contact-form h3 { font-stretch: 112%; font-weight: 740; font-size: 26px; color: var(--navy); margin: 0 0 24px; letter-spacing: -.015em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { font-family: inherit; font-size: 16px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(245,180,0,.25); }
.field textarea { min-height: 124px; resize: vertical; }
.check-line { display: flex; gap: 10px; align-items: center; margin: 16px 0; font-size: 15px; color: var(--steel); }
.check-line input { width: 18px; height: 18px; accent-color: var(--navy); }
.form-note { font-size: 13.5px; color: var(--steel-2); margin: 12px 0 0; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #E7F7EE; color: #146C3D; }
.form-msg.err { display: block; background: #FDECEC; color: #A42121; }
.hp { position: absolute; left: -9999px; }
.map { height: 420px; margin-top: 90px; border-top: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: #9FAABB; font-size: 15px; position: relative; overflow: hidden; }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.footer-cta h2 { margin: 0; color: #fff; font-stretch: 114%; font-weight: 750; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.02em; line-height: 1.05; max-width: 20ch; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-top: 60px; padding-bottom: 50px; }
.site-footer .brand-words strong { color: #fff; }
.site-footer .brand-sub b { background: transparent; color: var(--volt); }
.site-footer .brand-mark::after { border-color: var(--navy-3); }
.site-footer .brand-mark { background: #1B2A45; }
.footer-about p { margin: 18px 0 20px; line-height: 1.6; max-width: 38ch; }
.site-footer h4 { font-stretch: 110%; font-weight: 700; font-size: 15px; color: #fff; margin: 4px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; color: #9FAABB; transition: color .2s; }
.site-footer a:hover { color: var(--volt); }
.footer-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.footer-contact i { color: var(--volt); margin-top: 5px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: var(--volt); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-size: 13.5px; }
.footer-bottom strong { color: #fff; font-weight: 600; }

/* ---------- Flotantes ---------- */
.float-wa { position: fixed; right: 24px; bottom: 24px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 30px; text-decoration: none; box-shadow: 0 12px 28px rgba(37,211,102,.4); z-index: 990; transition: transform .2s var(--ease); }
.float-wa:hover { transform: scale(1.08); }
.float-quote { position: fixed; right: 24px; bottom: 94px; z-index: 990; display: none; align-items: center; gap: 10px; padding: 0 8px 0 16px; height: 48px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 650; font-size: 15px; box-shadow: var(--shadow-lg); }
.float-quote.show { display: inline-flex; animation: pop .3s var(--ease); }
.float-quote i { color: var(--volt); }
.to-top { position: fixed; left: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; z-index: 990; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; visibility: visible; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 14px 16px 14px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; z-index: 3000; opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; max-width: calc(100vw - 32px); font-size: 15px; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast i { color: var(--volt); }
.toast a { background: var(--volt); color: var(--navy); font-weight: 700; white-space: nowrap; text-decoration: none; padding: 6px 14px; border-radius: 999px; }

/* ---------- Modal de producto ---------- */
.modal { position: fixed; inset: 0; background: rgba(10,19,34,.6); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 2500; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { background: #fff; width: 100%; max-width: 1000px; max-height: 92vh; overflow: auto; border-radius: 26px; display: grid; grid-template-columns: 1.05fr 1fr; position: relative; transform: translateY(16px) scale(.98); transition: transform .3s var(--ease); }
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 17px; cursor: pointer; z-index: 2; }
.modal-close:hover { background: var(--navy); color: #fff; }
.qv-media { background: var(--bg); padding: 30px; }
.qv-main { position: relative; aspect-ratio: 1; background: #fff; border-radius: 20px; }
.qv-main img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.qv-thumbs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.qv-thumbs button { width: 64px; height: 64px; border: 2px solid transparent; border-radius: 12px; background: #fff; padding: 5px; cursor: pointer; }
.qv-thumbs button.active { border-color: var(--navy); }
.qv-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.qv-info { padding: 44px 38px 34px; display: flex; flex-direction: column; }
.qv-line { color: var(--steel-2); font-weight: 550; font-size: 14.5px; }
.qv-info h2 { font-size: clamp(28px, 3vw, 38px); margin: 6px 0 12px; }
.qv-code { display: inline-block; font-size: 13px; font-weight: 600; background: var(--bg); padding: 4px 12px; border-radius: 999px; color: var(--navy); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.qv-desc { color: var(--steel); margin: 0 0 18px; }
.specs { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.specs th { width: 44%; color: var(--steel-2); font-weight: 550; }
.specs td { color: var(--navy); font-weight: 600; }
.qv-buy { margin-top: auto; display: grid; gap: 10px; }
.qv-row { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; height: 52px; flex-shrink: 0; background: #fff; }
.qty button { width: 42px; height: 100%; border: 0; background: transparent; color: var(--navy); font-size: 19px; cursor: pointer; }
.qty button:hover { background: var(--bg); }
.qty input { width: 54px; height: 100%; border: 0; text-align: center; font-family: inherit; font-weight: 750; font-size: 18px; color: var(--navy); -moz-appearance: textfield; background: transparent; font-variant-numeric: tabular-nums; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qv-row .btn { flex: 1; }

/* ---------- Encabezado de página interna ---------- */
.page-hero { position: relative; background: var(--bg); padding: 64px 0 58px; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.page-hero::after { content: ''; position: absolute; right: -40px; top: 0; bottom: 0; width: min(560px, 48%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 300' fill='none'%3E%3Cpath d='M-20 60 Q140 130 300 70 Q440 128 600 60' stroke='%239AA6B6' stroke-width='1.6'/%3E%3Cpath d='M-20 30 Q160 96 300 36 Q450 96 600 30' stroke='%239AA6B6' stroke-width='1.6'/%3E%3Cpath d='M-20 150 Q150 196 300 160 Q450 196 600 150' stroke='%2333415A' stroke-width='3'/%3E%3Crect x='292' y='24' width='16' height='300' fill='%23fff' stroke='%2313213C' stroke-width='2'/%3E%3Crect x='232' y='64' width='136' height='10' rx='2' fill='%23fff' stroke='%2313213C' stroke-width='2'/%3E%3Ccircle cx='300' cy='36' r='5' fill='%23F5B400'/%3E%3C/svg%3E") right center / contain no-repeat; opacity: .9; pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--steel-2); margin-bottom: 16px; }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.page-hero h1 { font-size: clamp(38px, 4.8vw, 66px); max-width: 17ch; }
.page-hero p { color: var(--steel); margin: 16px 0 0; max-width: 58ch; font-size: 18px; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 68px; align-items: start; }
.about-media { position: sticky; top: calc(var(--header-h) + 30px); margin: 0; }
.about-media img { border-radius: var(--r-lg); width: 100%; }
.about-badge { position: absolute; left: 20px; bottom: 20px; background: #fff; color: var(--navy); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow); }
.about-badge b { font-stretch: 118%; font-weight: 800; font-size: 20px; margin-right: 4px; }
.benefits { display: grid; gap: 12px; margin-top: 30px; }
.benefit { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.benefit i { width: 50px; height: 50px; border-radius: 14px; background: var(--bg); color: var(--navy); display: grid; place-items: center; font-size: 19px; }
.benefit h3 { font-stretch: 110%; font-weight: 720; font-size: 19px; color: var(--navy); margin: 2px 0 4px; }
.benefit p { margin: 0; color: var(--steel); font-size: 15.5px; line-height: 1.5; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.mv-k { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; color: var(--navy); margin-bottom: 14px; }
.mv-k::before { content: ''; width: 26px; height: 3px; background: var(--volt); border-radius: 2px; }
.mv p { margin: 0; font-stretch: 106%; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--navy); font-weight: 480; letter-spacing: -.01em; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.trust-text .sec-title { margin-bottom: 24px; }
.trust-quote { margin: 28px 0 0; padding: 20px 24px; border-radius: var(--r); background: var(--bg); font-stretch: 106%; font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--navy); position: relative; }
.trust-quote::before { content: '“'; position: absolute; left: 18px; top: -18px; font-size: 64px; color: var(--volt); line-height: 1; font-weight: 800; }
.wheel-box { position: relative; }
.wheel { width: 100%; max-width: 540px; margin: 0 auto; display: block; overflow: visible; }
.wheel .seg { cursor: pointer; outline: none; }
.wheel .seg path { fill: var(--c, var(--navy)); opacity: .9; transition: transform .3s var(--ease), opacity .2s; transform-origin: 300px 300px; }
.wheel .seg:hover path, .wheel .seg.is-on path, .wheel .seg:focus-visible path { opacity: 1; transform: scale(1.04); }
.wheel .seg text { font-family: var(--font); fill: #fff; pointer-events: none; paint-order: stroke; stroke: rgba(10,19,34,.35); stroke-width: 3px; }
.wheel .seg .n { font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.wheel .seg .t { font-weight: 700; font-stretch: 108%; }
.wheel .hub { fill: #fff; }
.wheel .hub-ring { fill: none; stroke: var(--volt); stroke-width: 3; stroke-dasharray: 4 10; animation: spin 40s linear infinite; transform-origin: 300px 300px; }
.wheel .hub-bolt { fill: var(--navy); }
@keyframes spin { to { transform: rotate(360deg); } }
.wheel-caption { text-align: center; min-height: 64px; margin-top: 10px; }
.wheel-caption strong { display: block; font-stretch: 112%; font-size: 22px; font-weight: 740; color: var(--navy); }
.wheel-caption span { color: var(--steel); }

/* ---------- Certificaciones y marcas ---------- */
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; align-content: start; transition: border-color .25s, box-shadow .25s; }
.cert:hover { border-color: #CAD2DC; box-shadow: var(--shadow); }
.cert-icon { grid-row: span 3; width: 64px; height: 64px; border-radius: 18px; background: var(--navy); color: var(--volt); display: grid; place-items: center; font-size: 25px; }
.cert-icon img { width: 44px; height: 44px; object-fit: contain; }
.cert h2, .cert h3 { font-stretch: 110%; font-weight: 720; font-size: 22px; color: var(--navy); margin: 4px 0 8px; line-height: 1.15; }
.cert p { margin: 0; color: var(--steel); line-height: 1.55; }
.cert .link-arrow { margin-top: 16px; justify-self: start; }
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 150px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.brand-tile:hover { border-color: var(--navy); transform: translateY(-3px); }
.brand-tile small { color: var(--steel-2); font-size: 13.5px; }
.brand-word { font-stretch: 120%; font-weight: 800; font-size: 32px; color: var(--navy); letter-spacing: -.02em; }
.brand-logo { max-height: 56px; max-width: 150px; object-fit: contain; }

/* ---------- Catálogo ---------- */
.catalog { display: grid; grid-template-columns: 290px 1fr; gap: 36px; align-items: start; padding-top: 44px; padding-bottom: 100px; }
.cat-side { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; }
.side-block { padding: 20px 20px 16px; border-bottom: 1px solid var(--line-2); }
.side-block:last-child { border-bottom: 0; }
.side-block h3 { font-stretch: 110%; font-weight: 700; font-size: 15px; color: var(--navy); margin: 0 0 12px; }
.side-search { position: relative; }
.side-search input { width: 100%; height: 46px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 46px 0 16px; font-family: inherit; font-size: 15px; outline: none; background: var(--bg); }
.side-search input:focus { border-color: var(--navy); background: #fff; }
.side-search button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; cursor: pointer; }
.side-all { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.side-all.active, .side-all:hover { background: var(--bg); }
.acc { border-top: 1px solid var(--line-2); }
.acc > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 4px; cursor: pointer; font-weight: 650; color: var(--navy); font-size: 15px; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary i { font-size: 10px; transition: transform .2s; color: var(--steel-2); }
.acc[open] > summary i { transform: rotate(180deg); }
.acc ul { list-style: none; margin: 0 0 10px; padding: 0; }
.acc li a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 12px; border-radius: 10px; font-size: 14.5px; color: var(--steel); text-decoration: none; }
.acc li a small { color: var(--steel-2); font-variant-numeric: tabular-nums; }
.acc li a:hover { background: var(--bg); color: var(--navy); }
.acc li a.active { background: var(--navy); color: #fff; font-weight: 600; }
.acc li a.active small { color: var(--volt); }
.acc .acc-cat { font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 0 12px 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 13px; border-radius: 999px; background: var(--bg); font-size: 14px; text-decoration: none; color: var(--ink); font-weight: 520; border: 1.5px solid transparent; }
.chip:hover { border-color: var(--navy); }
.chip.active { background: var(--navy); color: #fff; }
.cat-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cat-toolbar h2 { font-stretch: 112%; font-weight: 750; font-size: 28px; color: var(--navy); margin: 0; line-height: 1.05; letter-spacing: -.02em; }
.cat-toolbar p { margin: 4px 0 0; color: var(--steel-2); font-size: 14.5px; }
.cat-tools { display: flex; gap: 10px; align-items: center; }
.cat-tools select { height: 44px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; font-family: inherit; font-size: 14.5px; background: #fff; color: var(--ink); }
.filter-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters a { display: inline-flex; align-items: center; gap: 8px; background: var(--volt-soft); border: 1px solid #F3DC8F; padding: 6px 14px; border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--navy); font-weight: 600; }
.empty { grid-column: 1 / -1; text-align: center; padding: 64px 20px; background: var(--bg); border-radius: var(--r-lg); }
.empty i { font-size: 36px; color: var(--navy); margin-bottom: 14px; }
.empty h3 { font-stretch: 112%; font-size: 26px; font-weight: 740; color: var(--navy); margin: 0 0 6px; }
.empty p { color: var(--steel); margin: 0 0 20px; }
.empty .btn { margin: 4px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 46px; height: 46px; padding: 0 12px; display: grid; place-items: center; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 650; color: var(--navy); background: #fff; font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--navy); }
.pager .current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .disabled { opacity: .4; }
.line-intro { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: var(--bg); border-radius: var(--r); padding: 16px 20px; margin-bottom: 22px; }
.line-intro i { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: var(--volt); display: grid; place-items: center; font-size: 18px; }
.line-intro p { margin: 0; color: var(--steel); font-size: 15.5px; }

/* ---------- Lista de cotización ---------- */
.quote-page { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: start; padding-top: 44px; padding-bottom: 100px; }
.quote-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.quote-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.quote-head h2 { font-stretch: 112%; font-weight: 740; font-size: 24px; color: var(--navy); margin: 0; }
.quote-head button { border: 0; background: none; color: #A42121; font-weight: 600; cursor: pointer; font-size: 14.5px; }
.q-item { display: grid; grid-template-columns: 76px 1fr auto auto; gap: 16px; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line-2); }
.q-item img { width: 76px; height: 76px; object-fit: contain; border-radius: 14px; background: var(--bg); padding: 6px; mix-blend-mode: multiply; }
.q-item h3 { font-stretch: 106%; font-weight: 700; font-size: 17px; color: var(--navy); margin: 0; line-height: 1.2; }
.q-item small { color: var(--steel-2); }
.q-item .qty { height: 44px; }
.q-item .qty input { width: 50px; font-size: 17px; }
.q-remove { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: #A42121; cursor: pointer; }
.q-remove:hover { background: #A42121; border-color: #A42121; color: #fff; }
.q-empty { padding: 64px 24px; text-align: center; }
.q-empty i { font-size: 40px; color: var(--navy); }
.q-empty h3 { font-stretch: 112%; font-size: 26px; font-weight: 740; color: var(--navy); margin: 14px 0 6px; }
.q-empty p { color: var(--steel); margin: 0 0 20px; }
.q-summary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 16px 24px; background: var(--bg); font-weight: 600; color: var(--navy); }
.quote-form { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; }
.quote-form h2 { font-stretch: 112%; font-weight: 740; font-size: 24px; color: var(--navy); margin: 0 0 6px; }
.quote-form > form > p, .quote-form > p { color: var(--steel); margin: 0 0 18px; font-size: 15.5px; }
.quote-form .form-grid { grid-template-columns: 1fr; gap: 12px; }
.quote-form .btn { margin-top: 18px; }
.quote-done { text-align: center; padding: 20px 0; }
.quote-done i { font-size: 50px; color: var(--wa); }
.quote-done h3 { font-stretch: 112%; font-size: 26px; font-weight: 740; color: var(--navy); margin: 12px 0 6px; }
.quote-done code { background: var(--volt); color: var(--navy); padding: 4px 12px; border-radius: 999px; font-weight: 700; font-family: inherit; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1200px) {
    .main-nav > ul > li > a, .main-nav > ul > li > button { padding: 0 10px; font-size: 15px; }
    .quote-btn .lbl { display: none; }
    .quote-btn { padding: 0 8px 0 14px; }
    .mega .wrap { grid-template-columns: repeat(2, 1fr); }
    .mega-cta { display: none; }
    .rail { grid-auto-columns: minmax(250px, calc((100% - 44px) / 3)); }
}
@media (max-width: 1080px) {
    :root { --header-h: 70px; }
    .topbar-info .hide-md { display: none; }
    .menu-toggle { display: grid; }
    .main-nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 90vw); background: #fff; z-index: 1100; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; padding: 84px 18px 30px; box-shadow: var(--shadow-lg); margin: 0; }
    .main-nav.open { transform: none; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav > ul > li > a, .main-nav > ul > li > button { height: auto; padding: 14px 16px; width: 100%; justify-content: space-between; border-radius: 12px; font-size: 18px; }
    .main-nav > ul > li > a.is-active, .main-nav > ul > li > button.is-active { background: var(--bg); }
    .main-nav > ul > li > a.is-active::after, .main-nav > ul > li > button.is-active::after { left: auto; right: 16px; bottom: auto; top: 50%; margin: -2.5px 0 0; }
    .mega { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; border: 0; background: transparent; }
    .has-mega.open .mega { display: block; }
    .mega .wrap { grid-template-columns: 1fr; gap: 18px; padding: 10px 16px 16px; }
    .nav-close { position: absolute; top: 18px; right: 18px; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(10,19,34,.5); z-index: 1050; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
    .nav-backdrop.open { opacity: 1; visibility: visible; }
    .hero-grid { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding-top: 44px; padding-bottom: 40px; }
    .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
    .sec-top { grid-template-columns: 1fr; gap: 14px; margin-bottom: 38px; }
    .cats { grid-template-columns: 1fr; }
    .flow-grid, .trust, .about, .contact, .mv { grid-template-columns: 1fr; gap: 40px; }
    .about-media { position: relative; top: 0; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .catalog { grid-template-columns: 1fr; padding-top: 26px; }
    .filter-toggle { display: inline-flex; }
    .cat-side { position: fixed; inset: 0 auto 0 0; width: min(340px, 90vw); max-height: none; border-radius: 0; z-index: 1200; transform: translateX(-100%); transition: transform .3s var(--ease); }
    .cat-side.open { transform: none; box-shadow: var(--shadow-lg); }
    .side-close { display: grid !important; }
    .quote-page { grid-template-columns: 1fr; }
    .quote-form { position: static; }
    .modal-box { grid-template-columns: 1fr; }
    .qv-media { padding: 22px; }
    .qv-main { max-width: 360px; margin: 0 auto; }
    .rail { grid-auto-columns: minmax(240px, 46%); }
    .page-hero::after { opacity: .35; }
}
@media (min-width: 1081px) { .nav-close, .nav-backdrop { display: none; } }
@media (max-width: 720px) {
    body { font-size: 16px; }
    .wrap { padding: 0 18px; }
    .topbar-social, .topbar-info .hide-sm { display: none; }
    .brand-words strong { font-size: 17px; }
    .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
    .brand-sub em { display: none; }
    .header-actions { gap: 6px; }
    .header-actions .icon-btn { width: 40px; height: 40px; }
    .header-actions .search-toggle, .header-actions a.icon-btn { display: none; }
    .section { padding: 76px 0; }
    .hero-title { font-size: clamp(38px, 11vw, 52px); }
    .hero-sub { font-size: 17px; }
    .hero-stats dd { font-size: 34px; }
    .hero-stats div + div { padding-left: 16px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-visual > .pole-card { position: relative; left: auto; top: auto; width: auto; margin: 10px 0 0; min-height: 196px; }
    .pole-hint { margin-top: 12px; }
    .hotspot { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 11px; }
    .cat-main { grid-template-columns: 1fr; padding: 24px 22px 10px; }
    .cat-stack { height: 150px; order: -1; }
    .plate-1 { right: auto; left: 0; width: 110px; height: 110px; }
    .plate-2 { top: 30px; right: auto; left: 96px; width: 100px; height: 100px; }
    .plate-3 { top: 20px; right: auto; left: 186px; width: 92px; height: 92px; }
    .cat-chips { padding: 16px 22px 22px; }
    .circuit::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 10px, transparent 10px 16px); }
    .svc-card { padding: 0 0 0 76px; }
    .form-grid { grid-template-columns: 1fr; }
    .contact-info, .contact-form { padding: 34px 24px; }
    .contact { border-radius: 22px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
    .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pcard-media { margin: 6px 6px 0; }
    .pcard-body { padding: 12px 12px 14px; }
    .pcard-title { font-size: 15.5px; }
    .pcard-desc { display: none; }
    .add-btn { font-size: 13.5px; min-height: 38px; }
    .wa-mini { width: 38px; height: 38px; font-size: 16px; }
    .rail { grid-auto-columns: 72%; }
    .q-item { grid-template-columns: 60px 1fr; gap: 10px 14px; padding: 14px 16px; }
    .q-item img { width: 60px; height: 60px; }
    .q-item .qty { grid-column: 2; justify-self: start; }
    .q-remove { grid-column: 2; grid-row: 2; justify-self: end; }
    .qv-info { padding: 26px 22px; }
    .certs { grid-template-columns: 1fr; }
    .cert { padding: 24px; grid-template-columns: 52px 1fr; column-gap: 16px; }
    .cert-icon { width: 52px; height: 52px; font-size: 21px; }
    .page-hero { padding: 44px 0 40px; }
    .page-hero::after { display: none; }
    .float-wa { right: 16px; bottom: 16px; width: 54px; height: 54px; font-size: 28px; }
    .float-quote { right: 16px; bottom: 82px; }
    .to-top { left: 16px; bottom: 16px; }
}

/* ============================================================================
   MAGIA: ESTILOS FORZADOS PARA PÍLDORAS WHATSAPP (AMBOS VERDES Y SÓLIDOS)
   ============================================================================ */
html body a.float-wa.wa-pill-btn, 
html body a.jyd-wa2-btn.wa-pill-btn {
    background: #25D366 !important;
    background-color: #25D366 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 5px 5px 5px 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    flex-direction: row !important;
    z-index: 9999 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html body a.float-wa.wa-pill-btn:hover, 
html body a.jyd-wa2-btn.wa-pill-btn:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5) !important;
    background: #1EB957 !important;
    background-color: #1EB957 !important;
}

html body a.float-wa.wa-pill-btn .wa-pill-text, 
html body a.jyd-wa2-btn.wa-pill-btn .wa-pill-text { 
    display: flex !important; flex-direction: column !important; text-align: right !important; margin-right: 14px !important; justify-content: center !important; 
}

html body a.float-wa.wa-pill-btn .wa-pill-top, 
html body a.jyd-wa2-btn.wa-pill-btn .wa-pill-top { 
    font-family: var(--font) !important; font-size: 13px !important; font-weight: 700 !important; opacity: 0.95 !important; line-height: 1.2 !important; margin-bottom: 1px !important; color: #ffffff !important; background: transparent !important;
}

html body a.float-wa.wa-pill-btn .wa-pill-bottom, 
html body a.jyd-wa2-btn.wa-pill-btn .wa-pill-bottom { 
    font-family: var(--font) !important; font-size: 19px !important; font-weight: 900 !important; line-height: 1.2 !important; letter-spacing: -0.02em !important; color: #ffffff !important; background: transparent !important;
}

html body a.float-wa.wa-pill-btn .wa-pill-icon, 
html body a.jyd-wa2-btn.wa-pill-btn .wa-pill-icon { 
    width: 46px !important; height: 46px !important; background: #ffffff !important; background-color: #ffffff !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; color: #25D366 !important; font-size: 28px !important; flex-shrink: 0 !important; box-shadow: inset 0 2px 6px rgba(0,0,0,0.1) !important; 
}

/* Anulamos la interferencia de cualquier pseudo-elemento que genere transparencias indeseadas */
html body a.float-wa.wa-pill-btn::before, 
html body a.float-wa.wa-pill-btn::after, 
html body a.jyd-wa2-btn.wa-pill-btn::before, 
html body a.jyd-wa2-btn.wa-pill-btn::after { 
    display: none !important; animation: none !important; background: none !important;
}