/* ============================================================================
   GAS 3000 · web institucional v5 (landing de alto impacto)
   Tipografías de marca autoalojadas: Bebas Neue (titulares) y Jost (texto).
   ============================================================================ */
@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Lo que lleva el atributo hidden no se ve nunca, aunque su componente defina display */
[hidden] { display: none !important; }

/* Layout: a dark "combustion chamber". Real product cutouts float over a live blue flame, then the page alternates
   between navy bands and porcelain bands. Each section has one motion idea: orbit, marquee, pinned horizontal gallery,
   expanding panels, tilt, a light line that runs the process. */
:root {
  --ink: #07111F; --ink-2: #0C1B30; --ink-3: #12263F; --line: #1E3350;
  --porcelain: #EEF2F6; --porcelain-ink: #0E1B2C;
  --mist: #9FB2C8; --flame: #3FA9FF; --flame-hot: #9BE4FF;
  --res: #F08A3C; --com: #3FB37F; --ind: #8B6CF0;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: "Jost", "Segoe UI", system-ui, sans-serif;
  --mono: "Jost", "Segoe UI", system-ui, sans-serif;
  --gl: max(16px, env(safe-area-inset-left, 0px)); --gr: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: #E7EEF6; font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--flame-hot); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.band { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.light { background: var(--porcelain); color: var(--porcelain-ink); }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--flame); display: inline-flex; gap: 10px; align-items: center; }
.light .eyebrow { color: #1F6FC2; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--display);  text-wrap: balance; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(36px, 5.6vw, 72px); line-height: 1; font-weight: 760; }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; font-weight: 700; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--mist); max-width: 58ch; }
.light .lede { color: #44566C; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s ease, background .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-flame { background: var(--flame); color: #041021; box-shadow: 0 8px 30px rgba(63, 169, 255, .35); }
.btn-flame:hover { background: var(--flame-hot); box-shadow: 0 10px 40px rgba(155, 228, 255, .5); }
.btn-ghost { border-color: #35506F; color: #E7EEF6; background: transparent; }
.btn-ghost:hover { border-color: var(--flame); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.glow { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 30px rgba(63, 169, 255, .18)); }

/* header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--ink) 74%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
header.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--display);  letter-spacing: .02em; }
.brand svg { width: 22px; height: 28px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.nav a { text-decoration: none; color: var(--mist); transition: color .2s; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--flame); transform: scaleX(0); transition: transform .3s; }
.nav a:hover, .nav a.on { color: #fff; }
.nav a.on::after { transform: scaleX(1); }
.top .btn { padding: 11px 17px; font-size: 14px; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--flame), var(--flame-hot)); }
@media (max-width: 900px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* 1 · hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(40px, 6vw, 80px) 0; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 70% 60%, transparent 0, rgba(7, 17, 31, .35) 55%, var(--ink) 85%), linear-gradient(180deg, transparent 70%, var(--ink)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px; align-items: center; }
.badge-sit { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border: 1px solid #2A4566; border-radius: 999px; background: rgba(12, 27, 48, .7); font-size: 13px; color: #CFE0F2; }
.badge-sit b { font: 600 11px/1 var(--mono); letter-spacing: .1em; padding: 6px 9px; border-radius: 999px; background: var(--flame); color: #041021; }
.hero h1 { margin-top: 24px; font-size: clamp(48px, 8vw, 120px); line-height: .9; font-weight: 800;  }
.hero h1 .w { display: inline-block; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--flame) 10%, var(--flame-hot) 55%, #fff 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 50% { background-position: 100% 0; } }
.hero .lede { margin-top: 22px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stage { position: relative; aspect-ratio: 1 / 1; max-width: 100%; }
.stage .orbit { position: absolute; inset: 6%; border: 1px dashed rgba(63, 169, 255, .25); border-radius: 50%; animation: spin 60s linear infinite; }
.stage .orbit.b { inset: 20%; animation-duration: 40s; animation-direction: reverse; border-style: solid; border-color: rgba(63, 169, 255, .12); }
@keyframes spin { to { transform: rotate(360deg); } }
.float { position: absolute; will-change: transform; transition: transform .2s linear; }
.float img { width: 100%; }
/* Each product keeps its own zone of the square stage, with room left for the bob and the parallax */
.f-main { left: 23%; top: 28%; width: 54%; }
.f-tower { left: 2%; top: 11%; width: 12%; }
.f-solarix { right: 0; top: 4%; width: 40%; }
.f-kit { right: 1%; bottom: 3%; width: 31%; }
.f-ring { left: 3%; bottom: 3%; width: 19%; }
.bob { animation: bob 7s ease-in-out infinite; }
.bob.d2 { animation-delay: -2s; } .bob.d3 { animation-delay: -4s; } .bob.d4 { animation-delay: -5.5s; }
@keyframes bob { 50% { translate: 0 -8px; } }
.readout { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #1B3250; border: 1px solid #23405F; border-radius: 16px; overflow: hidden; }
.readout div { background: rgba(9, 22, 40, .85); padding: 14px 16px; min-width: 0; }
.readout dt { font: 500 11px/1.2 var(--mono); color: var(--mist); letter-spacing: .06em; }
.readout dd { margin: 6px 0 0; font: 600 19px/1.1 var(--mono); color: #fff; }
.readout dd small { font-size: 12px; color: var(--mist); font-weight: 400; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .stage { max-width: 520px; margin-inline: auto; width: 100%; } .readout { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 2 · marquee of real equipment */
.marquee { padding-block: 34px 70px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-row { display: flex; width: max-content; gap: 22px; animation: slide 48s linear infinite; }
.mq-row.rev { animation-direction: reverse; animation-duration: 56s; margin-top: 22px; }
.marquee:hover .mq-row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.mq-item { width: 210px; height: 170px; flex: none; border-radius: 22px; background: radial-gradient(70% 70% at 50% 60%, rgba(63, 169, 255, .16), transparent 70%), var(--ink-2); border: 1px solid var(--line); display: grid; place-items: center; padding: 18px; position: relative; transition: transform .4s, border-color .4s; }
.mq-item:hover { transform: scale(1.06); border-color: #2F6CA8; }
.mq-item img { max-height: 112px; width: auto; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }
.mq-item span { position: absolute; left: 14px; bottom: 10px; font: 500 10px/1 var(--mono); letter-spacing: .1em; color: var(--mist); text-transform: uppercase; }

/* 3 · authority */
.auth { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.collage { position: relative; aspect-ratio: 5 / 4; max-width: 100%; }
.collage .tile { position: absolute; border-radius: 26px; overflow: hidden; background: radial-gradient(80% 80% at 50% 70%, rgba(63, 169, 255, .22), transparent 70%), var(--ink-3); border: 1px solid var(--line); display: grid; place-items: center; padding: 6%; }
.collage .tile img { max-height: 100%; width: auto; object-fit: contain; }
.collage .t1 { left: 0; top: 0; width: 56%; height: 78%; }
.collage .t2 { right: 0; top: 10%; width: 40%; height: 44%; }
.collage .t3 { right: 6%; bottom: 0; width: 46%; height: 40%; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 40px; }
.stat { background: var(--ink); padding: 24px 22px 26px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.stat .num { font: 760 clamp(40px, 5vw, 62px)/1 var(--display);  color: #fff; font-variant-numeric: tabular-nums; }
.stat .num sup { font-size: .42em; color: var(--flame); vertical-align: top; }
.stat p { color: var(--mist); font-size: 14px; }
.todo { font: 500 11px/1.3 var(--mono); color: #FFC861; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }

/* 4 · SIT sticky story with product images */
.sit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.sit-sticky { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 110px); align-self: start; display: grid; gap: 22px; }
.sit-mark { width: 140px; height: 140px; border-radius: 50%; border: 1px solid #2B4A6E; background: radial-gradient(circle at 50% 70%, rgba(63, 169, 255, .3), transparent 65%); display: grid; place-content: center; text-align: center; font: 800 32px/1 var(--display);  color: #fff; letter-spacing: .04em; position: relative; }
.sit-mark::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(63, 169, 255, .25); animation: ring 3s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.sit-mark small { display: block; font: 500 10px/1 var(--mono); color: var(--mist); letter-spacing: .2em; margin-top: 8px; }
.sit-steps { display: grid; gap: 22px; }
.sit-card { border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, var(--ink-2), var(--ink)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); transition: border-color .5s, transform .5s, box-shadow .5s; }
.sit-card.active { border-color: #2F6CA8; transform: translateX(-8px); box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(63, 169, 255, .15); }
.sit-card .txt { padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.sit-card .pic { background: radial-gradient(70% 70% at 50% 60%, rgba(63, 169, 255, .25), transparent 70%), var(--ink-3); display: grid; place-items: center; padding: 22px; overflow: hidden; }
.sit-card .pic img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); transform: scale(.92); }
.sit-card.active .pic img { transform: scale(1.04); }
.refs { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 12px/1 var(--mono); padding: 8px 11px; border-radius: 8px; border: 1px solid #2A4566; color: #D5E5F5; background: rgba(63, 169, 255, .06); }
.sit-card p { color: var(--mist); font-size: 15px; }
@media (max-width: 900px) { .sit-grid { grid-template-columns: 1fr; } .sit-sticky { position: static; } .sit-card.active { transform: none; } }
@media (max-width: 560px) { .sit-card { grid-template-columns: 1fr; } .sit-card .pic { order: -1; aspect-ratio: 16 / 10; } }

/* 5 · pinned horizontal gallery */
.pin { position: relative; height: calc(100vh + var(--travel, 2400px)); }
.pin-view { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 70px); height: calc(100vh - 70px); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 20px; padding-block: 34px 24px; }
.pin-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.pin-count { font: 500 13px/1 var(--mono); color: var(--mist); }
.pin-count b { color: #fff; font-size: 22px; }
.track { display: flex; gap: 22px; height: 100%; will-change: transform; padding-left: var(--gl); }
.slide { flex: none; width: min(78vw, 860px); height: 100%; border-radius: 30px; overflow: hidden; position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--ink-2); border: 1px solid var(--line); }
.slide::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 72% 60%, color-mix(in srgb, var(--c, #3FA9FF) 30%, transparent), transparent 70%); }
.slide .info { position: relative; padding: clamp(22px, 3.5vw, 44px); display: grid; align-content: space-between; gap: 18px; min-width: 0; }
.slide .info .tag { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--flame)); }
.slide h3 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1; margin-top: 12px; }
.slide dl { margin: 0; display: grid; gap: 8px; }
.slide dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 14px; }
.slide dt { color: var(--mist); } .slide dd { margin: 0; font-family: var(--mono); font-size: 13px; text-align: right; }
.slide .shot { position: relative; display: grid; place-items: center; padding: 6% 8%; min-width: 0; }
.slide .shot img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .6)); transform: translateX(calc(var(--px, 0) * 1px)); }
.slide .big { position: absolute; right: 4%; bottom: -4%; font: 800 clamp(90px, 14vw, 200px)/1 var(--display);  color: rgba(255, 255, 255, .04); pointer-events: none; }
@media (max-width: 900px) {
  .pin { height: auto; }
  .pin-view { position: static; height: auto; overflow: visible; }
  .track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 10px; }
  .slide { width: 86vw; height: auto; grid-template-columns: 1fr; scroll-snap-align: start; }
  .slide .shot { order: -1; aspect-ratio: 4 / 3; }
}

/* 6 · lines with images */
.lines { display: flex; gap: 14px; margin-top: 52px; min-height: 520px; }
.line-card { --c: var(--flame); flex: 1; min-width: 0; position: relative; overflow: hidden; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: #fff; color: var(--porcelain-ink); border: 1px solid #D7E0EA; transition: flex .7s cubic-bezier(.2, .7, .2, 1), background .5s, color .5s; cursor: pointer; }
.line-card[data-l="res"] { --c: var(--res); } .line-card[data-l="com"] { --c: var(--com); } .line-card[data-l="ind"] { --c: var(--ind); }
.line-card::before { content: ""; position: absolute; right: -80px; bottom: -80px; width: 300px; height: 300px; border-radius: 50%; background: var(--c); opacity: .14; transition: transform .8s, opacity .8s; }
.line-card.open { flex: 2.6; background: var(--porcelain-ink); color: #fff; border-color: transparent; }
.line-card.open::before { transform: scale(2.4); opacity: .34; }
.line-card .tag { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c); position: relative; }
.line-card h3 { font-size: clamp(26px, 3vw, 40px); margin-top: 10px; position: relative; }
.line-card .pic { position: relative; flex: 1; display: grid; place-items: center; min-height: 160px; }
.line-card .pic img { max-height: 240px; width: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1); transform: scale(.82) rotate(-3deg); filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .35)); }
.line-card.open .pic img { transform: scale(1.08) rotate(0deg); }
.line-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; position: relative; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s, opacity .4s .15s; }
.line-card.open ul { max-height: 260px; opacity: 1; }
.line-card li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 8px; font-size: 15px; }
.line-card li span:last-child { font: 500 12px/1.6 var(--mono); color: rgba(255, 255, 255, .62); text-align: right; }
@media (max-width: 900px) { .lines { flex-direction: column; min-height: 0; } .line-card { background: var(--porcelain-ink); color: #fff; } .line-card ul { max-height: none; opacity: 1; } .line-card .pic img { transform: none; } }

/* 7 · bento showcase with tilt */
.bento { margin-top: 52px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; }
.cell { position: relative; border-radius: 26px; overflow: hidden; background: radial-gradient(70% 70% at 50% 65%, rgba(63, 169, 255, .2), transparent 70%), var(--ink-2); border: 1px solid var(--line); display: grid; grid-template-rows: 1fr auto; padding: 18px; transform-style: preserve-3d; transition: transform .25s ease-out, border-color .3s; text-decoration: none; }
.cell:hover { border-color: #2F6CA8; }
.cell .im { display: grid; place-items: center; min-height: 0; }
.cell .im img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .5)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.cell:hover .im img { transform: scale(1.08) translateZ(30px); }
.cell .cap { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.cell .cap strong { font: 700 16px/1.2 var(--display);  }
.cell .cap span { font: 500 11px/1.3 var(--mono); color: var(--mist); text-align: right; }
.cell.w2 { grid-column: span 2; } .cell.h2 { grid-row: span 2; }
.cell .shine { position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(155, 228, 255, .14), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.cell:hover .shine { opacity: 1; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; } }
@media (max-width: 480px) { .bento { grid-template-columns: 1fr; } .cell.w2 { grid-column: auto; } }

/* 8 · resources */
.res-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.res-tools { display: grid; gap: 14px; }
.search { display: flex; align-items: center; gap: 10px; border: 1px solid #C9D5E2; background: #fff; border-radius: 14px; padding: 0 16px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 400 16px/1 var(--body); padding: 16px 0; background: transparent; color: var(--porcelain-ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: 500 13px/1 var(--body); padding: 10px 14px; border-radius: 999px; border: 1px solid #C9D5E2; background: #fff; color: #2E4259; cursor: pointer; transition: background .2s, color .2s; }
.filters button[aria-pressed="true"] { background: var(--porcelain-ink); color: #fff; border-color: var(--porcelain-ink); }
.docs { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.doc { background: #fff; border: 1px solid #D7E0EA; border-radius: 20px; padding: 16px; display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 16px; align-items: center; text-decoration: none; transition: border-color .25s, transform .25s, box-shadow .25s; }
.doc:hover { border-color: #1F6FC2; transform: translateY(-3px); box-shadow: 0 16px 30px rgba(14, 27, 44, .1); }
.doc .th { position: relative; width: 86px; height: 86px; border-radius: 14px; background: #EAF0F6; display: grid; place-items: center; padding: 8px; }
.doc .th img { max-height: 100%; width: auto; object-fit: contain; }
.doc .th b { position: absolute; left: -6px; top: -6px; font: 600 9px/1 var(--mono); padding: 5px 6px; border-radius: 6px; background: var(--porcelain-ink); color: #fff; }
.doc .th b[data-k="Manual"] { background: #1F6FC2; } .doc .th b[data-k="Guía"] { background: #6B52C8; } .doc .th b[data-k="Certificado"] { background: #2E8C62; }
.doc strong { display: block; font-size: 15px; line-height: 1.3; }
.doc span.m { display: block; margin-top: 6px; font: 400 12px/1.4 var(--mono); color: #5A6C80; }
.empty { margin-top: 40px; color: #5A6C80; }
@media (max-width: 960px) { .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .res-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .docs { grid-template-columns: 1fr; } }

/* 9 · process */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line); }
.steps .fill { position: absolute; left: 0; top: 23px; height: 2px; width: var(--p, 0%); background: linear-gradient(90deg, var(--flame), var(--flame-hot)); box-shadow: 0 0 14px var(--flame); }
.step { padding-right: 24px; display: grid; gap: 14px; position: relative; min-width: 0; }
.step .dot { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #2F4E72; background: var(--ink); display: grid; place-items: center; font: 600 13px/1 var(--mono); color: var(--flame-hot); transition: background .4s, color .4s, box-shadow .4s; }
.step.lit .dot { background: var(--flame); color: #041021; box-shadow: 0 0 24px rgba(63, 169, 255, .6); }
.step p { color: var(--mist); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 28px; } .steps::before, .steps .fill { display: none; } }

/* 10 · contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); margin-top: 48px; }
.wa { border-radius: 28px; padding: 30px; background: linear-gradient(150deg, #0F2A47, #0A1A2E); border: 1px solid #23405F; display: grid; gap: 18px; align-content: start; position: relative; overflow: hidden; }
.wa .tower { position: absolute; right: -10px; bottom: -20px; width: 120px; opacity: .9; }
.wa .phone { font: 700 clamp(30px, 3.6vw, 46px)/1 var(--display);  color: #fff; user-select: all; position: relative; }
.wa .row { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.wa ul { margin: 0; padding: 0 120px 0 0; list-style: none; display: grid; gap: 10px; color: var(--mist); font-size: 15px; position: relative; }
.wa li::before { content: "→ "; color: var(--flame); }
form.lead { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.lead .full { grid-column: 1 / -1; }
form.lead label { display: grid; gap: 8px; font: 500 13px/1 var(--body); color: var(--mist); }
form.lead input, form.lead select, form.lead textarea { font: 400 16px/1.4 var(--body); color: #fff; background: var(--ink-2); border: 1px solid #284566; border-radius: 12px; padding: 14px; width: 100%; min-width: 0; }
form.lead textarea { min-height: 110px; resize: vertical; }
form.lead input:focus, form.lead select:focus, form.lead textarea:focus { outline: none; border-color: var(--flame); }
.form-note { font-size: 13px; color: var(--mist); }
.ok { grid-column: 1 / -1; border: 1px solid #2E8C62; background: rgba(46, 140, 98, .12); border-radius: 12px; padding: 14px; color: #BDEBD4; font-size: 14px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { form.lead { grid-template-columns: 1fr; } .wa ul { padding-right: 0; } .wa .tower { display: none; } }

footer { border-top: 1px solid var(--line); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--mist); font-size: 14px; }

/* reveal: only elements below the fold are prepared; at rest everything is visible */
@media (prefers-reduced-motion: no-preference) {
  .pre { opacity: 0; transform: translateY(34px); }
  .pre.clip { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round 26px); }
  .rev { transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1), clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
}
@media (prefers-reduced-motion: reduce) { .mq-row, .orbit, .bob, .sit-mark::after, .hero h1 em { animation: none !important; } html { scroll-behavior: auto; } }



/* ===== Audit fixes ===== */
/* One studio treatment for every product shot: a soft light spot and a floor shadow, so dark and light
   equipment read the same on navy, and every image sits inside a box of fixed size with object-fit: contain. */
.studio.studio { position: relative; background: radial-gradient(58% 52% at 50% 44%, rgba(196, 228, 255, .17), transparent 72%), radial-gradient(42% 10% at 50% 90%, rgba(0, 0, 0, .45), transparent 72%), var(--ink-3); }
.fit { position: absolute; inset: var(--pad, 12%); }
.fit img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 60%; }
.mq-item { padding: 0; }
.mq-item .fit { --pad: 14% 12% 26%; }
.mq-item img { max-height: none; }
.collage .tile { padding: 0; }
.collage .tile .fit { --pad: 10%; }
.collage .tile img { max-height: none; }
.sit-card .pic { padding: 0; min-height: 220px; }
.sit-card .pic .fit { --pad: 12%; }
.slide .shot { padding: 0; }
.slide .shot .fit { --pad: 10% 8% 12%; }
.slide .shot img { max-height: none; }
.line-card .pic { min-height: 220px; background: none; }
.line-card .pic .fit { --pad: 4% 10%; }
.line-card .pic img { max-height: none; }
.cell { padding: 0; grid-template-rows: 1fr; }
.cell .im { position: absolute; inset: 0; }
.cell .im .fit { --pad: 12% 12% 30%; }
.cell .im img { max-height: none; }
.cell .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.doc .th { padding: 0; overflow: hidden; }
.doc .th .fit { --pad: 10%; }

/* Tap targets of at least 44 px and text of at least 12 px */
.top .btn, .filters button, .rail-ctrl button, .notes-toggle, .brand { min-height: 44px; }
.filters button { padding-inline: 16px; }
footer a { display: inline-block; padding-block: 12px; }
.badge-sit b, .readout dt, .todo, .mq-item span, .cell .cap span, .doc .th b, .pin-count, .slide .info .tag { font-size: 12px; }
.sit-mark small { font-size: 11px; }

/* Mobile menu */
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #2A4566; background: transparent; color: #fff; cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s, background .3s; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .top .btn { margin-left: auto; }
  .mnav { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gr) 20px var(--gl); gap: 2px; transform-origin: top; transition: opacity .25s, transform .25s; }
  .mnav[hidden] { display: none !important; }
  .mnav a { display: flex; align-items: center; min-height: 52px; font: 600 20px/1 var(--display);  text-decoration: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 380px) { .top .btn { padding-inline: 12px; font-size: 13px; } .brand { font-size: 17px; } }

/* Mobile first: shorter page, carousels instead of long stacks */
@media (max-width: 900px) {
  .band { padding-block: 64px; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 64px); margin-top: 18px; }
  .hero .lede { font-size: 16px; margin-top: 16px; }
  .hero .ctas { margin-top: 22px; }
  .hero .ctas .btn { flex: 1 1 auto; justify-content: center; }
  .stage { max-width: 420px; }
  .readout { margin-top: 24px; }
  .marquee { padding-block: 24px 40px; }
  .mq-row.rev { display: none; }
  .mq-item { width: 160px; height: 136px; }
  .collage { aspect-ratio: 4 / 3; }
  .sit-steps, .lines { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gl)) calc(-1 * var(--gr)); padding-inline: var(--gl) var(--gr); padding-bottom: 8px; scrollbar-width: none; }
  .sit-steps::-webkit-scrollbar, .lines::-webkit-scrollbar { display: none; }
  .sit-card, .line-card { scroll-snap-align: start; }
  .sit-card { grid-template-columns: 1fr; }
  .sit-card .pic { order: -1; min-height: 0; aspect-ratio: 16 / 11; }
  .lines { flex-direction: row; margin-top: 32px; }
  .line-card { min-height: 0; }
  .line-card .pic { min-height: 200px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 176px; gap: 12px; margin-top: 32px; }
  .cell.w2, .cell.h2 { grid-column: auto; grid-row: auto; }
  .cell:nth-child(n + 7) { display: none; }
  .cell .cap { left: 12px; right: 12px; bottom: 10px; flex-direction: column; align-items: start; gap: 2px; }
  .cell .cap strong { font-size: 14px; }
  .cell .cap span { text-align: left; }
  .docs { margin-top: 28px; }
  .docs.short .doc:nth-child(n + 5) { display: none; }
  .steps { margin-top: 36px; }
  .contact { margin-top: 32px; }
  .notes-toggle { left: calc(12px + env(safe-area-inset-left, 0px)); right: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 10px 14px; font-size: 13px; }
  footer { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
.more-link { display: none; margin-top: 18px; }
@media (max-width: 900px) { .more-link { display: inline-flex; } }
.swipe-hint { display: none; font: 500 12px/1 var(--mono); color: var(--mist); margin-top: 12px; letter-spacing: .06em; }
.light .swipe-hint { color: #5A6C80; }
@media (max-width: 900px) { .swipe-hint { display: block; } }

/* ===== v4: official logo, blue halo, no design notes ===== */
.brand img { height: 44px; width: auto; }
@media (max-width: 380px) { .brand img { height: 38px; } }
.foot-brand { display: grid; gap: 10px; }
.foot-brand img { width: 220px; height: auto; }
/* Levitation: each product floats with a soft blue halo behind it, as if lit by the flame */
.studio.studio { background: radial-gradient(46% 46% at 50% 50%, rgba(63, 169, 255, .30), rgba(63, 169, 255, .08) 55%, transparent 75%), var(--ink-2); }
.halo img, .studio img, .glow { filter: drop-shadow(0 0 18px rgba(63, 169, 255, .45)) drop-shadow(0 0 46px rgba(63, 169, 255, .22)); }
.float::before { content: ""; position: absolute; inset: 8% 8% 8% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(63, 169, 255, .38), rgba(63, 169, 255, .10) 60%, transparent); filter: blur(14px); z-index: -1; animation: halo 7s ease-in-out infinite; }
@keyframes halo { 50% { opacity: .7; transform: scale(1.08); } }
.card-shot { background: #fff !important; border-radius: 22px; }
.card-shot img { filter: none !important; }
@media (prefers-reduced-motion: reduce) { .float::before { animation: none; } }

/* ===== v5 ===== */
.hero-note { margin-top: 18px; font: 500 13px/1.4 var(--mono); color: var(--mist); letter-spacing: .02em; }
.brand-note { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--mist); }
.brand-note span { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border: 1px solid #2A4566; border-radius: 999px; color: #CFE0F2; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid #D7E0EA; border-radius: 16px; padding: 0 20px; transition: border-color .25s; }
.faq details[open] { border-color: #1F6FC2; }
.faq summary { cursor: pointer; list-style: none; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 600 16px/1.35 var(--body); padding-block: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--mono); color: #1F6FC2; transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: #44566C; }
form.lead .err { color: #FF9C9C; font: 500 13px/1.3 var(--body); }
form.lead [aria-invalid="true"] { border-color: #FF7A7A; }
form.lead .check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font: 400 14px/1.45 var(--body); color: var(--mist); }
form.lead .check input { width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: 2px; accent-color: var(--flame); }
form.lead .check a { color: var(--flame-hot); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ===== v5 sobre el proyecto: Bebas Neue, accesibilidad, videos, cookies y pie ===== */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: .01em; line-height: .95; }
h1 { font-size: clamp(54px, 9vw, 132px); line-height: .88; }
h2 { font-size: clamp(42px, 6.2vw, 84px); margin-top: 16px; }
h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1; }
.band h2 + .lede, .band h2 + p { margin-top: 18px; }
.stat .num, .phone, .slide .big { font-weight: 400; }
.cell .cap strong { font: 400 22px/1 var(--display); letter-spacing: .02em; }
.mnav a { font: 400 26px/1 var(--display); letter-spacing: .02em; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--flame); color: #041021; padding: 12px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.btn-sm { padding: 11px 16px; font-size: 14px; min-height: 44px; }
.top__bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.top .brand img { height: 58px; width: auto; }
@media (max-width: 900px) { .top .brand img { height: 50px; } }
@media (max-width: 1120px) and (min-width: 901px) { .nav { gap: 16px; font-size: 13px; } }
.line-card { text-decoration: none; }
.line-go { position: relative; font-weight: 600; font-size: 15px; color: var(--c); }
.line-card.open .line-go { color: #fff; }
/* Centro de videos */
.videos { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.video { background: #fff; border: 1px solid #D7E0EA; border-radius: 26px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.video__frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: var(--ink-2); }
.video__facade { position: absolute; inset: 0; display: grid; place-items: center; }
.video__facade--soon .fit { --pad: 8% 20%; }
.video__thumb { width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; width: 72px; height: 72px; border-radius: 50%; background: var(--flame); color: #041021; display: grid; place-items: center; }
.video__play .icon { width: 30px; height: 30px; }
.video__soon { position: absolute; left: 16px; bottom: 14px; font: 600 13px/1 var(--body); color: #CFE0F2; background: rgba(7, 17, 31, .7); padding: 8px 12px; border-radius: 999px; }
.video__body { padding: 22px; display: grid; gap: 12px; align-content: start; color: var(--porcelain-ink); }
.video__body > p { color: #44566C; }
.video__maker { font: 600 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #1F6FC2; }
.specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #D7E0EA; border: 1px solid #D7E0EA; border-radius: 14px; overflow: hidden; }
.specs__cell { background: #F5F8FB; padding: 12px 14px; min-width: 0; }
.specs__cell--wide { grid-column: 1 / -1; }
.specs dt { font-size: 12px; color: #5A6C80; letter-spacing: .04em; }
.specs dd { margin: 4px 0 0; font-weight: 600; }
.specs__note { display: block; font-weight: 400; font-size: 12px; color: #5A6C80; }
.specs__tbc a { color: #1F6FC2; font-weight: 500; margin-left: 6px; }
.specs-more summary { cursor: pointer; font-weight: 600; color: #1F6FC2; min-height: 44px; display: flex; align-items: center; }
.specs-more dl { margin: 0; display: grid; gap: 6px; }
.specs-more dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #E3EAF2; padding-top: 6px; font-size: 14px; }
.specs-more dd { margin: 0; text-align: right; }
.video__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.video__actions .btn-ghost { color: var(--porcelain-ink); border-color: #C9D5E2; }
.videos__note { margin-top: 18px; font-size: 14px; color: #5A6C80; }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr; } }
/* Recursos (el filtro oculta con [hidden]); las tarjetas son claras sobre la banda oscura */
.doc, .doc strong { color: var(--porcelain-ink); }
.doc[hidden] { display: none !important; }
#moreDocs { color: #E7EEF6; border-color: #35506F; }
.empty { color: var(--mist); margin-top: 28px; }
/* Formulario */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form-status { min-height: 1.4em; font-size: 15px; }
.form-status.ok { color: #BDEBD4; } .form-status.bad { color: #FF9C9C; }
.reach { margin: 0; padding: 0 120px 0 0; list-style: none; display: grid; gap: 10px; position: relative; }
.reach li { display: grid; gap: 2px; font-size: 15px; }
.reach span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.reach a { color: #fff; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.reach a:hover { color: var(--flame-hot); }
@media (max-width: 520px) { .reach { padding-right: 0; } }
/* WhatsApp flotante (a la derecha; el aviso de cookies y nada más va abajo) */
.wa-fab { position: fixed; z-index: 60; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .25s; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 30px; height: 30px; }
/* Aviso de cookies */
.cookies { position: fixed; z-index: 80; left: calc(12px + env(safe-area-inset-left, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin-inline: auto; background: var(--ink-2); border: 1px solid #2A4566; border-radius: 18px; padding: 18px; display: grid; gap: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.cookies p { font-size: 14px; color: #CFE0F2; }
.cookies a { color: var(--flame-hot); }
.cookies__btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; min-height: 32px; }
/* Pie */
.foot { border-top: 1px solid var(--line); padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); color: var(--mist); font-size: 14px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr); gap: 32px; }
.foot__nav { display: grid; gap: 4px; align-content: start; }
.foot__nav a, .foot__contact a { color: #CFE0F2; text-decoration: none; display: inline-block; padding-block: 8px; }
.foot__nav a:hover, .foot__contact a:hover { color: #fff; }
.foot__contact { font-style: normal; line-height: 1.6; }
.foot__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr; } .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }

/* Celular: videos en carrusel, proceso en dos columnas, enlaces del pie de 44 px */
.foot__nav a, .foot__contact a { padding-block: 12px; }
@media (max-width: 900px) {
  .videos { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gl)) calc(-1 * var(--gr)); padding-inline: var(--gl) var(--gr); padding-bottom: 8px; scrollbar-width: none; }
  .videos::-webkit-scrollbar { display: none; }
  .video { scroll-snap-align: start; }
  .steps { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .step { padding-right: 0; }
  .step p { font-size: 14px; }
}

/* El proceso es una lista ordenada: sin sangría ni números del navegador */
.steps { list-style: none; padding: 0; }

/* Página 404 */
.not-found { min-height: 100vh; display: grid; place-content: center; gap: 22px; text-align: center; padding-left: var(--gl); padding-right: var(--gr); padding-block: 48px; }
.not-found img { width: 220px; margin-inline: auto; }
.not-found h1 { font-size: clamp(44px, 8vw, 84px); }
.not-found p { color: var(--mist); max-width: 52ch; margin-inline: auto; }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* contact card: SIT valve in the corner, kept clear of the text */
.wa .valve { position: absolute; right: 18px; bottom: 20px; width: 210px; pointer-events: none; }
.wa ul { padding-right: 150px; }
@media (max-width: 520px) { .wa .valve { display: none; } .wa ul { padding-right: 0; } }

/* footer map: Google Maps only loads on request or with consent */
.foot-map { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); border: 1px solid #23405F; border-radius: 24px; overflow: hidden; background: linear-gradient(150deg, #0F2A47, #0A1A2E); }
.foot-map__info { padding: 28px; display: grid; gap: 12px; align-content: center; }
.foot-map__addr { font: 700 clamp(26px, 2.6vw, 34px)/1.05 var(--display); color: #fff; }
.foot-map__note { color: var(--mist); font-size: 14px; max-width: 38ch; }
.foot-map .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.foot-map__frame { position: relative; min-height: 280px; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--mist); font-size: 13px;
  background: radial-gradient(circle at 50% 46%, rgba(63, 169, 255, .22), transparent 38%), repeating-linear-gradient(0deg, transparent 0 46px, rgba(63, 169, 255, .08) 46px 47px), repeating-linear-gradient(90deg, transparent 0 46px, rgba(63, 169, 255, .08) 46px 47px), linear-gradient(28deg, transparent 47%, rgba(63, 169, 255, .16) 47% 49%, transparent 49%), #0A1828; }
.foot-map__frame p { position: absolute; left: 0; right: 0; bottom: 14px; padding-inline: 16px; }
.foot-map__pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg) translate(6px, -6px); background: var(--flame); box-shadow: 0 0 0 8px rgba(63, 169, 255, .18), 0 0 30px rgba(63, 169, 255, .6); }
.foot-map__pin::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #0A1828; }
.foot-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
@media (max-width: 900px) { .foot-map { grid-template-columns: 1fr; } .foot-map__frame { min-height: 240px; } }
/* reach list: the arrow sits next to its label, not on a line of its own */
.reach li { grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: center; }
.reach li::before { grid-row: 1; content: "→"; }
.reach li > * { grid-column: 2; }
.reach li > span { grid-row: 1; }

/* data policy page */
.legal-top { border-bottom: 1px solid var(--line); }
.legal-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.legal-top__logo img { width: 150px; height: auto; display: block; }
.legal { padding-block: clamp(40px, 6vw, 72px); }
.legal__wrap { max-width: 860px; }
.legal h1 { margin-top: 16px; font-size: clamp(40px, 6vw, 72px); line-height: .95; }
.legal__lede { margin-top: 20px; color: #CFE0F2; font-size: 17px; line-height: 1.6; }
.legal__meta { margin-top: 10px; color: var(--mist); font-size: 13px; }
.legal__toc { margin-top: 28px; padding: 20px 24px; border: 1px solid #23405F; border-radius: 18px; background: rgba(15, 42, 71, .5); }
.legal__toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; color: var(--mist); font-size: 15px; }
.legal__toc a { color: #CFE0F2; display: inline-block; padding-block: 6px; }
.legal section { margin-top: 44px; scroll-margin-top: 24px; }
.legal h2 { font-size: clamp(26px, 3vw, 36px); }
.legal h3 { font-size: 20px; margin-bottom: 8px; }
.legal p, .legal li { color: #CFE0F2; font-size: 16px; line-height: 1.65; }
.legal section > p, .legal section > ul { margin-top: 14px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--flame-hot); }
.legal__card { margin-top: 16px; padding: 20px 22px; border: 1px solid #23405F; border-radius: 18px; background: linear-gradient(150deg, #0F2A47, #0A1A2E); }
dl.legal__card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
dl.legal__card dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
dl.legal__card dd { margin: 4px 0 0; color: #fff; }
.legal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .legal__toc ol { columns: 1; } dl.legal__card, .legal__grid { grid-template-columns: 1fr; } .legal-top__logo img { width: 120px; } }

/* about: four equal square tiles in a 2 x 2 grid, no overlap */
.collage { position: relative; aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); align-self: center; }
.collage .tile { position: relative; inset: auto; width: auto; height: auto; aspect-ratio: 1 / 1; transform: none !important; }
@media (max-width: 900px) { .collage { aspect-ratio: auto; max-width: 520px; width: 100%; margin-inline: auto; } }

/* gallery: compact cards that always fit the screen, with a progress bar */
#galeria .pin-head h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: .95; }
.pin-bar { flex: 1 0 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pin-bar i { display: block; height: 100%; background: var(--flame); transform-origin: 0 50%; transform: scaleX(.08); transition: transform .15s linear; }
.pin-hint { flex: 1 0 100%; margin-top: -8px; font: 500 13px/1 var(--mono); color: var(--mist); }
@media (min-width: 901px) {
  .track { align-items: center; }
  .slide { width: min(62vw, 800px); height: min(100%, 560px); }
  .slide .big { font-size: clamp(80px, 10vw, 150px); }
}
@media (max-width: 900px) { .pin-bar, .pin-hint { display: none; } }
@media (min-width: 901px) {
  .pin-view { grid-template-rows: auto minmax(0, 1fr); gap: 14px; padding-block: 22px 22px; }
  .track { min-height: 0; }
  .slide { height: 100%; max-height: 560px; }
  .slide .info { padding: clamp(18px, 2.6vw, 36px); gap: 10px; }
  .slide h3 { font-size: clamp(26px, 3vw, 42px); }
}
@media (min-width: 901px) and (max-height: 640px) {
  .pin-hint { display: none; }
  .slide dl div:nth-child(n+4) { display: none; }
}
@media (min-width: 901px) { .track { padding-left: 0; } }

/* hero flame: a soft glow, faded out before it reaches the data strip */
.hero canvas { filter: blur(12px); }

/* footer v2: compact, aligned to the top, two branches */
.foot { padding-block: 40px calc(32px + env(safe-area-inset-bottom, 0px)); }
.foot__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: 24px 40px; align-items: start; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand img { width: 190px; }
.foot-brand p { margin: 0; color: var(--mist); font-size: 14px; line-height: 1.55; max-width: 36ch; }
.foot__h { display: block; grid-column: 1 / -1; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--flame); margin-bottom: 6px; }
.foot__nav { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 32px; row-gap: 0; align-content: start; }
.foot__nav a, .foot__contact a { padding-block: 6px; }
.foot__contact { display: grid; align-content: start; justify-items: start; line-height: 1.5; }
.foot__hours { margin-top: 6px; color: var(--mist); font-size: 13px; max-width: 32ch; }
.foot-map { margin-top: 28px; }
.foot-map__info { padding: 24px 26px; gap: 14px; align-content: start; }
.sedes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sede { display: grid; gap: 3px; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid #284566; background: rgba(9, 22, 40, .6); color: #CFE0F2; cursor: pointer; font: 400 13px/1.35 var(--body); transition: border-color .2s, background .2s; }
.sede:hover { border-color: var(--flame); }
.sede.on { border-color: var(--flame); background: rgba(63, 169, 255, .12); box-shadow: inset 0 0 0 1px var(--flame); }
.sede__tag { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--flame); }
.sede strong { font: 700 24px/1 var(--display); color: #fff; margin-top: 4px; }
.sede__tel { color: var(--mist); }
.foot-map__frame { min-height: 300px; }
.foot__legal { margin-top: 24px; }
@media (max-width: 900px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .foot__grid { grid-template-columns: 1fr; }
  .foot__nav a, .foot__contact a { padding-block: 10px; }
  .sedes { grid-template-columns: 1fr; }
}

/* 12-nov-2026: redes en el pie y botón a la tienda en las tarjetas de componentes */
.foot-social a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.foot-social a:hover, .foot-social a:focus-visible { border-bottom-color: #fff; }
.sit-card .comp-go { justify-self: start; margin-top: 4px; }

/* servicio técnico y lo más buscado (17 nov 2026) */
.svc { list-style: none; margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc li { border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.svc h3 { font-size: 20px; }
.svc p { color: var(--mist); font-size: 15px; }
.svc-cta { margin-top: 28px; }
.popular-title { margin-top: 48px; font-size: 18px; }
.popular { list-style: none; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.popular a { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; text-decoration: none; }
.popular a:hover, .popular a:focus-visible { border-color: var(--flame); }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } }
.light .svc li { border-color: #C9D5E3; background: #fff; }
.light .svc p { color: #44566C; }
.light .popular a { border-color: #C9D5E3; background: #fff; color: var(--porcelain-ink); }
