/* ProWireless — lenguaje visual de kuantabridge.com con marca ProWireless. Denso, tipografía contenida, con movimiento. */
:root {
  --ink: #12161c; --ink-2: #2b333d; --muted: #5d6875; --soft: #8a94a0;
  --line: #e4e7ea; --line-2: #cfd4d9; --bg: #fff; --gray: #f5f6f7;
  --dark: #14181e; --darker: #0c0f13;
  --brand: #e68817; --brand-2: #f6a640; --brand-ink: #b06208; --brand-soft: #fdf1df;
  --r: 12px; --r-btn: 9px; --wrap: 1180px; --pad: clamp(18px, 3.4vw, 36px);
  --display: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --text: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(18, 22, 28, 0.05), 0 22px 50px -26px rgba(18, 22, 28, 0.3);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.028em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: #fbd9a8; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; }

/* Barra superior y menú */
.top { background: var(--dark); color: #c9cfd6; font-size: 12.5px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 34px; }
.top span + span, .top a + a { margin-left: 16px; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.top a:hover { color: #fff; } .top b { color: #fff; font-weight: 500; }
.top i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #35d07f; margin-right: 8px; box-shadow: 0 0 0 0 rgba(53, 208, 127, 0.6); animation: late 2.2s infinite; }
@keyframes late { 70% { box-shadow: 0 0 0 7px rgba(53, 208, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0); } }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav__bar { display: flex; align-items: center; gap: 26px; min-height: 64px; }
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: flex; gap: 24px; margin-left: 12px; }
.nav__links a { position: relative; font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 6px 0; transition: color 0.2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav__cta > a:not(.btn) { font-size: 14.5px; font-weight: 500; }
.nav__cta > a:not(.btn):hover { color: var(--brand-ink); }
.nav__toggle { display: none; }

/* Botones */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--r-btn); border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 14.5px var(--text); cursor: pointer; white-space: nowrap; transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.25s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(18, 22, 28, 0.55); }
.btn:hover svg { transform: translateX(3px); }
.btn--line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--ink); }
.btn--brand { background: linear-gradient(180deg, #f39a2b, #e2830f); border-color: #e2830f; color: #1a1104; }
.btn--brand:hover { box-shadow: 0 12px 28px -12px rgba(230, 136, 23, 0.8); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; color: var(--brand-ink); }
.more svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.more:hover svg, a:hover > .more svg, a:hover .more svg { transform: translateX(4px); }

/* Piezas comunes */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 500 11.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-ink); }
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--brand); }
.center .eyebrow::after { content: ""; width: 20px; height: 2px; background: var(--brand); }
.tag { display: inline-block; padding: 2px 7px; border-radius: 6px; background: var(--gray); border: 1px solid var(--line); font: 500 11px var(--mono); color: var(--ink-2); white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.lead { font-size: clamp(15.5px, 1.25vw, 17px); line-height: 1.6; color: var(--muted); }
.label { font: 500 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); }
.section { padding: clamp(48px, 5.6vw, 78px) 0; }
.section--gray { background: var(--gray); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: clamp(32px, 4vw, 52px) 0; }
.head { max-width: 680px; margin-bottom: clamp(24px, 3vw, 38px); }
.head h2 { font-size: clamp(24px, 2.5vw, 34px); margin-top: 12px; }
.head p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.center { text-align: center; margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.center .actions, .actions.center { justify-content: center; }
.icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.icon svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(36px, 4.4vw, 60px) 0 clamp(40px, 5vw, 64px); text-align: center; background: #fff; }
.rings { position: absolute; left: 50%; top: 400px; width: 1300px; height: 1300px; transform: translateX(-50%); pointer-events: none; z-index: -1; }
.rings circle { fill: none; stroke: var(--line); stroke-width: 1.3; }
.rings .arc { stroke: var(--brand); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 300 4200; transform-origin: 50% 50%; transform-box: fill-box; animation: gira 30s linear infinite; }
.rings .arc2 { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 120 3200; animation-duration: 46s; animation-direction: reverse; }
@keyframes gira { to { transform: rotate(360deg); } }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 4px 13px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; color: var(--muted); box-shadow: 0 6px 18px -10px rgba(18, 22, 28, 0.3); }
.badge b { padding: 3px 8px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 10px var(--mono); letter-spacing: 0.08em; }
.hero h1 { font-size: clamp(30px, 3.6vw, 50px); font-weight: 700; letter-spacing: -0.035em; max-width: 20ch; margin: 0 auto 14px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #e2830f, #f6a640 60%, #e2830f); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: brillo 6s linear infinite; }
@keyframes brillo { to { background-position: -200% 0; } }
.hero .lead { max-width: 640px; margin-inline: auto; }
.hero .stats { margin-top: clamp(28px, 3.4vw, 44px); text-align: left; }
.pros { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.pros li { display: flex; align-items: center; gap: 7px; }
.pros li::before { content: ""; width: 15px; height: 15px; background: no-repeat center / 15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e68817' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Consola de cobertura (tarjeta oscura tipo centro de monitoreo) */
.frame { position: relative; text-align: left; color: #e8ecf0; border: 1px solid #262e39; border-radius: 16px; background: #0f141a; box-shadow: 0 30px 70px -34px rgba(12, 15, 19, 0.75); overflow: hidden; }
.frame__bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #222a34; background: #131920; }
.frame__url { display: flex; align-items: center; gap: 9px; font: 500 11.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #9aa6b3; margin-right: auto; }
.frame__url::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #35d07f; animation: late 2.2s infinite; }
.frame__body { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr) minmax(0, 0.62fr); align-items: stretch; }
.frame__body--2 { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }
.frame__panel { padding: clamp(18px, 2.2vw, 30px); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #222a34; }
.frame__panel h2, .frame__panel h3 { font-size: clamp(19px, 1.9vw, 25px); margin: 0 0 10px; color: #fff; }
.frame__panel p { color: #9aa6b3; font-size: 14px; min-height: 6.4em; }
.frame__map { position: relative; padding: clamp(6px, 1.2vw, 16px); background: radial-gradient(80% 80% at 55% 45%, #18212c, #0c1117 78%); display: grid; place-items: center; }
.hud { position: absolute; font: 500 10.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #6f7c8a; pointer-events: none; }
.hud--tl { left: 14px; top: 12px; } .hud--br { right: 14px; bottom: 12px; text-align: right; }
.hud b { color: #f6a640; font-weight: 500; }
.frame__map::before, .frame__map::after { content: ""; position: absolute; width: 18px; height: 18px; border: 1.5px solid #3a4756; pointer-events: none; }
.frame__map::before { right: 12px; top: 12px; border-left: 0; border-bottom: 0; }
.frame__map::after { left: 12px; bottom: 12px; border-right: 0; border-top: 0; }
.frame__side { border-left: 1px solid #222a34; padding: clamp(16px, 1.8vw, 24px); background: #131920; }
.frame .label { color: #6f7c8a; }
.mini { margin-top: 12px; display: grid; }
.mini a { display: grid; grid-template-columns: 30px 1fr 14px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #222a34; font-size: 13.5px; font-weight: 500; color: #d7dde3; transition: color 0.2s, padding 0.3s var(--ease); }
.mini a:last-child { border-bottom: 0; }
.mini a:hover { color: #f6a640; padding-left: 4px; }
.mini .icon { width: 30px; height: 30px; border-radius: 8px; background: rgba(246, 166, 64, 0.12); color: #f6a640; }
.mini .icon svg { width: 16px; height: 16px; }
.mini a > svg { width: 14px; height: 14px; color: #6f7c8a; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; border-top: 1px solid #222a34; }
.kpis div { padding: 12px 0 0; }
.kpis div + div { padding-left: 16px; border-left: 1px solid #222a34; }
.kpis b { display: block; font: 700 clamp(20px, 2vw, 26px) / 1.05 var(--display); letter-spacing: -0.02em; color: #fff; }
.kpis span { color: #9aa6b3; font-size: 12.5px; }
.frame__nota { margin-top: 16px; font-size: 11.5px; color: #6f7c8a !important; min-height: 0 !important; }
.capas { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid #2a333f; border-radius: 8px; background: #0f141a; }
.capas button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; border: 0; background: transparent; color: #9aa6b3; font: 500 12.5px var(--text); cursor: pointer; white-space: nowrap; transition: color 0.2s, background 0.2s; }
.capas button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, #9aa4b2); box-shadow: 0 0 8px var(--c, transparent); }
.capas button:hover { color: #fff; }
.capas button[aria-pressed="true"] { background: #f39a2b; color: #1a1104; }
.capas button[aria-pressed="true"]::before { background: #1a1104; box-shadow: none; }
.capas [data-capa="fibra"] { --c: #f39a2b; } .capas [data-capa="inalambrico"] { --c: #e8ecf0; } .capas [data-capa="lte"] { --c: #19c2b1; }
[data-info] { display: none; }
[data-vista="todas"] [data-info="todas"], [data-vista="fibra"] [data-info="fibra"], [data-vista="inalambrico"] [data-info="inalambrico"], [data-vista="lte"] [data-info="lte"] { display: block; animation: entra 0.45s var(--ease); }
@keyframes entra { from { opacity: 0; transform: translateY(6px); } }

/* Mapa */
.mapa { width: 100%; height: auto; display: block; }
.n-grat { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; stroke-dasharray: 2 7; }
.n-gtxt { font: 500 15px var(--mono); fill: #52606e; }
.n-brillo { fill: rgba(243, 154, 43, 0.3); }
.n-tierra { stroke: none; }
.n-costa { fill: none; stroke: #7d8b9a; stroke-width: 1.6; stroke-linejoin: round; }
.m-capa { transition: opacity 0.6s var(--ease); }
.m-ltefill { opacity: 0.5; }
.m-cel-punto { fill: #eafffb; }
.m-cel-onda { fill: none; stroke: #b9fff5; stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: onda 3.6s ease-out infinite; animation-delay: calc(var(--i) * -0.6s); }
.m-cel-onda2 { animation-delay: calc(var(--i) * -0.6s - 1.8s); }
.m-enlace { fill: none; stroke: rgba(232, 236, 240, 0.5); stroke-width: 1.3; stroke-dasharray: 3 6; animation: flujo 6s linear infinite; }
.m-punto { fill: #e8ecf0; stroke: #0f141a; stroke-width: 2; }
.m-onda { fill: none; stroke: #e8ecf0; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: onda 3.2s ease-out infinite; animation-delay: calc(var(--i) * -0.45s); }
.m-onda2 { animation-delay: calc(var(--i) * -0.45s - 1.6s); }
@keyframes onda { from { transform: scale(0.15); opacity: 0.9; } to { transform: scale(1); opacity: 0; } }
.m-ruta { fill: none; stroke: #f39a2b; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.m-ruta--glow { stroke-width: 11; opacity: 0.75; }
.m-ruta--resp { stroke-dasharray: 2 9; stroke-width: 2.8; opacity: 0.85; }
.m-flujo { fill: none; stroke: #fff; stroke-width: 4.6; stroke-linecap: round; stroke-dasharray: 1 60; animation: flujo 4.5s linear infinite; }
@keyframes flujo { to { stroke-dashoffset: -244; } }
.m-nodo { fill: #0f141a; stroke: #f39a2b; stroke-width: 2.6; }
.m-nodo--hub { fill: #f39a2b; stroke: #fff; }
.m-txt { font: 500 17px var(--mono); letter-spacing: 0.06em; fill: #d7dde3; paint-order: stroke; stroke: #0f141a; stroke-width: 5px; stroke-linejoin: round; transition: opacity 0.5s; }
.mapa--compacto .m-txt--min { display: none; }
[data-vista="todas"] .m-lte { opacity: 0.3; }
[data-vista="todas"] .m-celda { display: none; }
[data-vista="fibra"] .m-lte, [data-vista="fibra"] .m-ina { opacity: 0.04; }
[data-vista="inalambrico"] .m-lte { opacity: 0.04; }
[data-vista="inalambrico"] .m-fib, [data-vista="lte"] .m-fib { opacity: 0.12; }
[data-vista="lte"] .m-ina { opacity: 0.06; }
[data-vista="inalambrico"] .m-txt, [data-vista="lte"] .m-txt { opacity: 0.85; }

/* Franjas */
.strip { background: var(--gray); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.strip .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 36px; }
.words { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; }
.words span { font: 700 18px var(--display); letter-spacing: -0.01em; color: #9aa3ad; transition: color 0.25s; }
.words span:hover { color: var(--ink); }
.marquee { overflow: hidden; margin-top: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; animation: corre 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes corre { to { transform: translateX(calc(-50% - 24px)); } }
.marquee img { height: 46px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: 0.62; mix-blend-mode: multiply; transition: filter 0.3s, opacity 0.3s, transform 0.3s; }
.marquee img:hover { filter: none; opacity: 1; transform: scale(1.06); }

/* Columnas con línea superior */
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.col { position: relative; padding-top: 18px; border-top: 2px solid var(--line); }
.col::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 38%; background: var(--ink); transition: width 0.5s var(--ease), background 0.3s; }
.col:nth-child(even)::before { background: var(--brand); }
.col:hover::before { width: 100%; background: var(--brand); }
.col:hover .icon { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.col h3 { font-size: 17px; margin: 12px 0 6px; }
.col p { color: var(--muted); font-size: 14px; }
.col .tags { margin-top: 12px; }

/* Sección oscura */
.dark { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(55% 90% at 88% 0%, rgba(230, 136, 23, 0.28), transparent 62%), radial-gradient(40% 70% at 0% 100%, rgba(15, 165, 150, 0.14), transparent 65%), var(--dark); }
.dark .eyebrow { color: var(--brand-2); }
.dark .lead, .dark p { color: #aab3bd; }
.dark .more { color: var(--brand-2); }
.dark .rings { top: -420px; left: auto; right: -520px; transform: none; width: 1000px; height: 1000px; z-index: -1; }
.dark .rings circle { stroke: rgba(255, 255, 255, 0.09); }
.dark .rings .arc { stroke: var(--brand); } .dark .rings .arc2 { stroke: #fff; }
.duo { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.duo h2 { font-size: clamp(24px, 2.6vw, 36px); margin: 12px 0 12px; }
.stack { display: grid; gap: 10px; }
.panel { display: block; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: var(--r); background: rgba(255, 255, 255, 0.045); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color 0.25s, background 0.25s, transform 0.35s var(--ease); }
a.panel:hover { border-color: var(--c, var(--brand)); background: rgba(255, 255, 255, 0.08); transform: translateX(6px); }
.panel h3 { display: flex; align-items: center; gap: 9px; font: 600 15px var(--text); letter-spacing: 0; }
.panel h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--brand)); box-shadow: 0 0 12px var(--c, var(--brand)); }
.panel h3 small { margin-left: auto; font: 500 11px var(--mono); color: #8a94a0; }
.panel p { font-size: 13.5px; margin-top: 6px; }
.panel .tags { margin-top: 10px; }
.dark .tag { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.1); color: #d5dbe1; }

/* Tarjetas */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color 0.25s, box-shadow 0.3s, transform 0.3s var(--ease); }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(246, 166, 64, 0.22), transparent); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
a.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-3px); }
a.card:hover::before { transform: scaleX(1); } a.card:hover::after { opacity: 1; }
a.card:hover .icon { background: var(--brand); color: #fff; }
.card__top { display: flex; align-items: center; gap: 12px; }
.card__top small { margin-left: auto; font: 500 11px var(--mono); color: var(--soft); }
.card h3 { font-size: 17px; }
.card p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.ticks { margin-top: 12px; display: grid; gap: 5px; }
.ticks li { display: grid; grid-template-columns: 15px 1fr; gap: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.ticks li::before { content: ""; width: 14px; height: 14px; margin-top: 3px; background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e68817' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.card .tags { margin: 14px 0 16px; }
.card .more { margin-top: auto; }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.stat { position: relative; padding: 20px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 700 clamp(28px, 3vw, 40px) / 1 var(--display); letter-spacing: -0.03em; }
.stat b sup { font-size: 0.6em; vertical-align: baseline; color: var(--brand); }
.stat > span { display: block; margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.stat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.2s; }
.stats.in .stat::after { transform: scaleX(1); }

/* Consorcio y clientes */
.socio { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.25s; }
.socio:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.socio__logo { height: 54px; display: flex; align-items: center; }
.socio__logo img { max-height: 48px; max-width: 130px; object-fit: contain; }
.socio small { font: 500 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-ink); }
.socio h3 { font-size: 16px; }
.socio p { color: var(--muted); font-size: 13.5px; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.logo { height: 110px; display: grid; place-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.logo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logo img { max-height: 64px; max-width: 100%; object-fit: contain; }

/* Caja y cierre */
.box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(120deg, var(--gray), #fff 60%, var(--brand-soft)); }
.box h2 { font-size: clamp(20px, 2.2vw, 26px); margin: 10px 0 6px; }
.box p { color: var(--muted); max-width: 56ch; }
.box small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--soft); text-align: center; }
.close { text-align: center; padding: clamp(56px, 7vw, 92px) 0; }
.close h2 { font-size: clamp(26px, 3.2vw, 42px); max-width: 20ch; margin-inline: auto; }
.close p { font-size: 16px; max-width: 520px; margin: 14px auto 0; }
.close .rings .arc2 { display: none; }
.close .rings { top: auto; bottom: -820px; left: 50%; right: auto; transform: translateX(-50%); width: 1100px; height: 1100px; }

/* Páginas internas */
.phead { position: relative; overflow: hidden; isolation: isolate; padding: clamp(32px, 4.4vw, 56px) 0; border-bottom: 1px solid var(--line); background: var(--gray); }
.phead .rings { top: -380px; left: auto; right: -420px; transform: none; width: 900px; height: 900px; }
.phead h1 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.035em; margin: 12px 0 12px; max-width: 22ch; }
.phead .lead { max-width: 620px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--soft); margin-bottom: 16px; }
.crumbs a:hover { color: var(--brand-ink); }
.svc { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(20px, 3.4vw, 48px); align-items: start; }
.svc__nav { position: sticky; top: 88px; display: grid; }
.svc__nav a { padding: 8px 14px; border-left: 2px solid var(--line); font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.svc__nav a:hover { color: var(--ink); }
.svc__nav a.is-on { color: var(--ink); border-left-color: var(--brand); }
.svc__list { display: grid; gap: 14px; }
.sblock { position: relative; overflow: hidden; padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: box-shadow 0.3s, border-color 0.25s; }
.sblock:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.sblock__top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.sblock__top .label { color: var(--brand-ink); }
.sblock h2 { font-size: clamp(20px, 2.2vw, 26px); margin-top: 3px; }
.sblock > p { color: var(--muted); font-size: 15.5px; max-width: 72ch; }
.sblock .tags { margin-top: 14px; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 16px; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.checks li::before { content: ""; width: 15px; height: 15px; margin-top: 4px; background: no-repeat center / 15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e68817' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.quote { padding-left: clamp(18px, 2.4vw, 28px); border-left: 3px solid var(--brand); }
.quote p { font: 600 clamp(19px, 2.2vw, 27px) / 1.3 var(--display); letter-spacing: -0.02em; max-width: 34ch; margin-top: 12px; }
.quote p em { font-style: normal; color: var(--brand-ink); }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.datos { margin-top: 18px; border-top: 1px solid var(--line); }
.datos > * { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.datos i { color: var(--brand); margin-top: 3px; } .datos i svg { width: 20px; height: 20px; }
.datos small { display: block; font: 500 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.datos b { font-weight: 500; font-size: 15.5px; }
.datos a:hover b { color: var(--brand-ink); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.field { display: grid; gap: 5px; } .field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; font: 400 14.5px var(--text); color: var(--ink); padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__msg { font-size: 13.5px; color: var(--muted); }
.form__msg[data-state="ok"] { color: #1c7a43; font-weight: 600; }
.form__msg[data-state="error"] { color: #b03024; font-weight: 600; }

/* Pie */
.foot { background: var(--darker); color: #aab3bd; padding: clamp(40px, 5vw, 60px) 0 24px; font-size: 13.5px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.foot img { height: 38px; width: auto; }
.foot p { margin-top: 14px; max-width: 34ch; }
.foot h4 { font: 500 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot li { margin-bottom: 7px; }
.foot a:hover { color: #fff; }
.foot__end { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12.5px; color: #7f8994; }

/* Aparición */
.js [data-r] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--d, 0) * 60ms); }
.js [data-r].in { opacity: 1; transform: none; }

/* Adaptable */
@media (max-width: 1640px) { .pill { display: none; } }
@media (max-width: 1020px) {
  .cols, .grid, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .duo, .contact { grid-template-columns: minmax(0, 1fr); }
  .frame__body, .frame__body--2 { grid-template-columns: minmax(0, 1fr); }
  .frame__panel { border-right: 0; border-bottom: 1px solid #222a34; }
  .frame__panel p { min-height: 0; }
  .frame__side { border-left: 0; border-top: 1px solid #222a34; }
  .mini { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .svc { grid-template-columns: 1fr; }
  .svc__nav { position: static; display: flex; overflow-x: auto; }
  .svc__nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid var(--line); }
  .svc__nav a.is-on { border-bottom-color: var(--brand); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .top span + span { display: none; }
  .nav__bar { flex-wrap: wrap; gap: 0 16px; }
  .nav__toggle { display: grid; place-items: center; margin-left: auto; width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; }
  .nav__toggle svg { width: 19px; height: 19px; }
  .nav__links, .nav__cta { display: none; width: 100%; margin: 0; }
  .nav.is-open .nav__links { display: grid; gap: 0; padding: 6px 0; border-top: 1px solid var(--line); }
  .nav.is-open .nav__cta { display: flex; padding: 10px 0 16px; }
  .nav__links a { padding: 11px 0; font-size: 15.5px; }
  .nav__links a::after { display: none; }
  .nav__cta .btn { flex: 1; }
}
@media (max-width: 680px) {
  .cols, .cols--3, .grid, .grid--2, .grid--4, .checks, .form, .foot__grid, .mini { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .frame__bar { flex-wrap: wrap; }
  .capas button { padding: 5px 7px; font-size: 11.5px; }
  .m-txt { font-size: 24px; }
  .frame__map { padding: 30px 8px; }
  .frame__url { font-size: 10px; }
  .logos { grid-template-columns: 1fr 1fr; }
  .logo { height: 92px; padding: 16px; }
  .box { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-r] { opacity: 1; transform: none; }
}
