/* =====================================================================
   E.F.O. Ltda. · Energía y Fuerza del Oriente
   Experiencia cinematográfica: fotografía y video a pantalla completa,
   tipografía grande en Manrope, revelados al hacer scroll y profundidad.
   Paleta de marca: #063B66 · #031F36 · #00AEEF · #39A935 · #D5A928 · #FFFFFF
   ===================================================================== */
/* Tipografía alojada en el propio sitio (Manrope, licencia SIL OFL): no se llama a Google Fonts */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --ink: #031F36;
  --ink-2: #33536E;
  --ink-3: #52697D;
  --blue: #063B66;
  --blue-2: #0A4F86;
  --cyan: #00AEEF;
  --cyan-ink: #006CA6;
  --cyan-soft: #6FD3FF;
  --green: #39A935;
  --green-ink: #23781F;
  --gold: #D5A928;
  --paper: #FFFFFF;
  --mist: #F1F5F9;
  --mist-2: #E3EBF2;
  --line: rgba(3, 31, 54, 0.12);
  --line-w: rgba(255, 255, 255, 0.18);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header: 84px;
  --gutter: 20px;
  --max: 1320px;
  --r: 18px;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; scrollbar-color: #9fb7cc var(--mist); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: #9fb7cc; border: 3px solid var(--mist); border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 600; background: var(--cyan); color: var(--ink); font-weight: 800; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico-fill { fill: currentColor; stroke: none; }
p { margin: 0; }

/* ---------- Tipografía ---------- */
.d1, .d2, .d3 { margin: 0; font-weight: 800; text-wrap: balance; }
.d1 { font-size: clamp(3rem, 9vw, 8.4rem); line-height: 0.94; letter-spacing: -0.045em; text-transform: uppercase; }
.d2 { font-size: clamp(2.3rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -0.04em; }
.d3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.08; letter-spacing: -0.03em; }
.c { color: var(--cyan-ink); }
.g { color: var(--green-ink); }
.dark .c, .on-photo .c { color: var(--cyan-soft); }
.dark .g, .on-photo .g { color: #7EE07A; }
.lead { font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.dark .lead, .on-photo .lead { color: rgba(255, 255, 255, 0.86); }
.ln { display: block; overflow: hidden; padding-bottom: 0.04em; }
.ln > span { display: block; }

/* ---------- Botones ---------- */
.btn { --h: 56px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: var(--h); padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 800; font-size: 0.92rem; letter-spacing: 0.04em; text-decoration: none; cursor: pointer; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.3s, border-color 0.3s, background-color 0.3s; }
.btn .ico { transition: transform 0.5s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(5px); }
.btn:active { transform: scale(0.97); }
.btn-lg { --h: 62px; padding: 0 34px; font-size: 0.98rem; }
.btn-cyan { background: var(--cyan); color: var(--ink); box-shadow: 0 16px 34px -18px rgba(0, 121, 184, 0.9); }
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -18px rgba(0, 121, 184, 1); }
.btn-line { border-color: rgba(3, 31, 54, 0.25); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.dark .btn-line, .on-photo .btn-line, .blue .btn-line { border-color: rgba(255, 255, 255, 0.6); color: var(--paper); background: rgba(255, 255, 255, 0.05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dark .btn-line:hover, .on-photo .btn-line:hover, .blue .btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-wa { background: var(--green); color: var(--ink); }
.btn-wa:hover { transform: translateY(-2px); background: #4cc248; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Encabezado ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 200; height: var(--header); transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.6s var(--ease); }
.top-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { position: relative; display: block; flex: none; width: 196px; height: 46px; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity 0.4s; }
.brand .b-dark { opacity: 0; }
.nav { display: none; margin-left: auto; gap: 2px; }
.nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; padding: 10px 12px; font-weight: 700; font-size: 0.86rem; text-decoration: none; color: rgba(255, 255, 255, 0.92); border-radius: 999px; white-space: nowrap; transition: color 0.3s, background-color 0.3s; }
.nav a:hover { background: rgba(255, 255, 255, 0.14); color: var(--paper); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--cyan); }
.top .btn { --h: 46px; padding: 0 20px; font-size: 0.82rem; margin-left: auto; white-space: nowrap; flex: none; }
.burger { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.5); background: rgba(3, 31, 54, 0.15); color: var(--paper); cursor: pointer; flex: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: color 0.3s, border-color 0.3s, background-color 0.3s; }
.burger .ico { width: 22px; height: 22px; }
.burger .x { display: none; }
.menu-open .burger .x { display: block; }
.menu-open .burger .m { display: none; }
.top.solid, .menu-open .top { background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(3, 31, 54, 0.45); }
.top.solid .b-light, .menu-open .top .b-light { opacity: 0; }
.top.solid .b-dark, .menu-open .top .b-dark { opacity: 1; }
.top.solid .nav a { color: var(--ink-2); }
.top.solid .nav a:hover { color: var(--ink); background: rgba(3, 31, 54, 0.06); }
.top.solid .nav a[aria-current="page"] { color: var(--ink); }
.top.solid .burger, .menu-open .burger { color: var(--ink); border-color: rgba(3, 31, 54, 0.2); background: transparent; }
.top.hide { transform: translateY(-100%); }
.page-light .top:not(.solid) .b-light { opacity: 0; }
.page-light .top:not(.solid) .b-dark { opacity: 1; }
.page-light .top:not(.solid) .nav a { color: var(--ink-2); }
.page-light .top:not(.solid) .burger { color: var(--ink); border-color: rgba(3, 31, 54, 0.2); background: transparent; }
@media (min-width: 1200px) { .nav { display: flex; } .top .btn { margin-left: 12px; } .burger { display: none; } }
@media (max-width: 560px) { .top .btn { display: none; } .burger { margin-left: auto; } .brand { width: 168px; height: 40px; } }
.drawer { position: fixed; inset: 0; z-index: 190; background: var(--paper); padding: calc(var(--header) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.7s var(--ease), visibility 0s 0.7s; }
.menu-open .drawer { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease); }
.drawer a.row { display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: 0 4px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: clamp(1.4rem, 6vw, 2rem); letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
.drawer a.row[aria-current="page"] { color: var(--cyan-ink); }
.drawer .btns { margin-top: 26px; }
.drawer .btn { flex: 1 1 100%; }
@media (min-width: 1200px) { .drawer { display: none; } }

/* ---------- Transición entre páginas ---------- */
.curtain { position: fixed; inset: 0; z-index: 500; background: linear-gradient(160deg, var(--blue), var(--ink)); pointer-events: none; display: grid; place-items: center; transform: translateY(-101%); }
.curtain img { width: 200px; }
.js .curtain { transform: translateY(0); transition: transform 0.9s var(--ease) 0.1s; }
.js.ready .curtain { transform: translateY(-101%); }
.js.leaving .curtain { transform: translateY(0); transition: transform 0.55s var(--ease); }
.reduce .curtain { display: none; }

/* ---------- Secciones ---------- */
main { position: relative; overflow-x: clip; }
.sec { position: relative; padding-block: clamp(84px, 11vw, 150px); }
.sec-tight { padding-block: clamp(56px, 7vw, 96px); }
.mist { background: var(--mist); }
.dark { background: var(--ink); color: var(--paper); }
.blue { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-2) 100%); color: var(--paper); }
.blue .lead { color: rgba(255, 255, 255, 0.86); }
.blue .c { color: var(--cyan-soft); }
.head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); }
@media (min-width: 980px) { .head-split { grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: 64px; } }
.js [data-reveal] { opacity: 0; transform: translateY(44px); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; color: var(--paper); overflow: hidden; isolation: isolate; display: grid; align-items: end; background: var(--blue); }
.hero-media { position: absolute; inset: 0; z-index: -2; transform-origin: 50% 40%; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 31, 54, 0.82) 0%, rgba(3, 31, 54, 0.32) 42%, rgba(3, 31, 54, 0.02) 70%, rgba(3, 31, 54, 0.38) 100%), linear-gradient(90deg, rgba(6, 59, 102, 0.5) 0%, rgba(6, 59, 102, 0) 60%); }
.hero-in { padding-bottom: clamp(36px, 6vh, 72px); display: grid; gap: 26px; }
.hero .lead { color: rgba(255, 255, 255, 0.92); max-width: 50ch; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.cue { display: inline-flex; align-items: center; gap: 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.cue i { position: relative; width: 26px; height: 42px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.6); }
.cue i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--paper); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 700px) { .cue { display: none; } .hero { min-height: 600px; } }

/* ---------- Declaración ---------- */
.statement { padding-block: clamp(96px, 14vw, 200px); }
.statement p.big { font-size: clamp(1.9rem, 4.2vw, 3.9rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 700; max-width: 24ch; text-wrap: balance; }
.js .statement .w { opacity: 0.7; }
.statement .hl { color: var(--cyan-ink); font-style: normal; }
.reduce .statement .w { opacity: 1 !important; }
.pillars { list-style: none; margin: clamp(56px, 8vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); }
.pillars li { padding: 26px 22px 6px 0; display: grid; gap: 10px; align-content: start; }
.pillars .ico { width: 32px; height: 32px; color: var(--blue); }
.pillars li:nth-child(4) .ico { color: var(--green); }
.pillars b { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.pillars span { color: var(--ink-2); font-size: 0.96rem; line-height: 1.55; }

/* ---------- Áreas: recorrido horizontal ---------- */
.areas { background: var(--ink); color: var(--paper); overflow: hidden; }
.areas-head { padding-top: clamp(84px, 10vw, 140px); }
.areas-track { display: grid; gap: 18px; padding: 0 var(--gutter) clamp(84px, 10vw, 140px); }
.panel { position: relative; min-height: 72svh; border-radius: var(--r); overflow: hidden; isolation: isolate; display: grid; align-items: end; text-decoration: none; color: var(--paper); }
.panel-media { position: absolute; inset: 0 -8%; z-index: -2; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 31, 54, 0.9) 0%, rgba(3, 31, 54, 0.38) 45%, rgba(3, 31, 54, 0) 72%); }
.panel-in { padding: clamp(26px, 3.6vw, 52px); display: grid; gap: 16px; justify-items: start; }
.panel h3 { margin: 0; font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: 0.96; letter-spacing: -0.045em; }
.panel p { color: rgba(255, 255, 255, 0.88); max-width: 40ch; }
.panel .more { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.9rem; padding: 12px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color 0.4s, color 0.4s; }
.panel:hover .more { background: var(--paper); color: var(--ink); }
.panel .ico-area { width: 44px; height: 44px; color: var(--cyan-soft); }
.panel.ev .ico-area { color: #7EE07A; }
@media (min-width: 1024px) {
  .areas.h-scroll { height: 100vh; display: grid; grid-template-rows: auto minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); }
  .areas.h-scroll .areas-head { padding-top: calc(72px + 32px); padding-bottom: 26px; }
  .areas.h-scroll .areas-head .head { margin-bottom: 0; }
  .areas.h-scroll .areas-track { display: flex; gap: 24px; padding-bottom: 44px; width: max-content; justify-self: start; will-change: transform; }
  .areas.h-scroll .panel { width: min(62vw, 900px); min-height: 0; height: 100%; flex: none; }
}

/* ---------- Video que se abre ---------- */
.reveal-media { position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: var(--paper); isolation: isolate; display: grid; align-items: end; background: var(--paper); }
.reveal-media .rm-frame { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.reveal-media video, .reveal-media img { width: 100%; height: 100%; object-fit: cover; }
.reveal-media .rm-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 31, 54, 0.82), rgba(3, 31, 54, 0) 55%), linear-gradient(90deg, rgba(3, 31, 54, 0.42), rgba(3, 31, 54, 0) 55%); }
.reveal-media .wrap { padding-bottom: clamp(48px, 8vh, 96px); display: grid; gap: 22px; justify-items: start; }
.chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .chain { grid-template-columns: repeat(4, 1fr); } }
.chain li { position: relative; padding: 30px 26px 32px; border-radius: var(--r); background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -48px rgba(3, 31, 54, 0.7); display: grid; gap: 12px; align-content: start; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.chain li:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(3, 31, 54, 0.55); }
.chain .ico { width: 38px; height: 38px; color: var(--cyan-ink); }
.chain b { font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; }
.chain span { color: var(--ink-2); font-size: 0.96rem; line-height: 1.55; }

/* ---------- Mapa ---------- */
.worldmap { margin: 0; }
.worldmap .tierra { fill: rgba(255, 255, 255, 0.26); }
.worldmap .bolivia { fill: var(--gold); }
.worldmap .ruta { fill: none; stroke: var(--cyan-soft); stroke-width: 1.8; stroke-linecap: round; }
.worldmap .puertos circle { fill: none; stroke: var(--cyan-soft); stroke-width: 1.6; }
.worldmap .scz circle { fill: var(--green); }
.worldmap .pulso, .bomap .scz .pulso { opacity: 0.4; transform-origin: center; transform-box: fill-box; animation: pulso 2.4s var(--ease) infinite; }
@keyframes pulso { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(2.4); opacity: 0; } }
.flow { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1px; border-radius: var(--r); overflow: hidden; background: var(--line-w); }
@media (min-width: 640px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow li { background: rgba(3, 31, 54, 0.3); padding: 20px 20px 22px; display: grid; gap: 4px; }
.flow b { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.98rem; }
.flow b .ico { width: 22px; height: 22px; color: var(--cyan-soft); }
.flow li:nth-child(3) b .ico { color: var(--gold); }
.flow span { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }
.note { font-size: 0.82rem; color: var(--ink-3); margin-top: 16px; }
.blue .note, .dark .note { color: rgba(255, 255, 255, 0.66); }
@media (max-width: 640px) { .worldmap { margin-inline: calc(-1 * var(--gutter)); overflow: hidden; } .worldmap svg { width: 190%; max-width: none; margin-left: -14%; } }

/* ---------- Electromovilidad: escena con foto fija ---------- */
.scene { display: grid; gap: 40px; }
@media (min-width: 1024px) { .scene { grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: start; } }
.scene-media { position: relative; border-radius: var(--r); overflow: hidden; background: var(--mist-2); }
@media (min-width: 1024px) { .scene-media { position: sticky; top: 96px; height: calc(100vh - 120px); } }
.scene-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 0.9s var(--ease), transform 1.6s var(--ease); }
.scene-media img.on { opacity: 1; transform: scale(1); }
.scene-step { padding-block: clamp(30px, 8vh, 90px); border-top: 1px solid var(--line); display: grid; gap: 14px; transition: opacity 0.6s var(--ease); }
.js .scene-step { opacity: 0.82; }
.js .scene-step.on { opacity: 1; }
@media (min-width: 1024px) { .scene-step { min-height: 64vh; align-content: center; } }
.scene-step .ico { width: 40px; height: 40px; color: var(--green-ink); }
.scene-step h3 { margin: 0; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.05; }
.scene-step p { color: var(--ink-2); max-width: 44ch; }
.scene-step .mini { display: none; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; }
.scene-step .mini img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .scene-media { display: none; } .scene-step .mini { display: block; } .js .scene-step { opacity: 1; } }
.reduce .scene-step { opacity: 1 !important; }

/* ---------- Bloques con foto grande ---------- */
.feature { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .feature { grid-template-columns: 1.1fr 0.9fr; gap: 72px; } .feature.rev > :first-child { order: 2; } }
.photo { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--mist-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo .par { position: absolute; inset: -12% 0; }
.copy { display: grid; gap: 22px; justify-items: start; }
.spec { list-style: none; margin: 0; padding: 0; width: 100%; border-top: 1px solid var(--line); }
.spec li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.spec .ico { width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }
.spec b { display: block; font-weight: 800; font-size: 1.02rem; }
.spec span { color: var(--ink-2); font-size: 0.96rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 14px; border-radius: 999px; background: var(--mist); font-weight: 700; font-size: 0.86rem; }
.float-card { position: absolute; left: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); max-width: 360px; padding: 20px 22px; border-radius: 16px; background: rgba(255, 255, 255, 0.93); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -30px rgba(3, 31, 54, 0.6); display: grid; gap: 8px; color: var(--ink); z-index: 1; }
.float-card b { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.float-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 0.9rem; }
.float-card dt { color: var(--ink-3); }
.float-card dd { margin: 0; font-weight: 700; }
.stamp { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1.5px dashed var(--blue); color: var(--blue); font-weight: 800; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(255, 255, 255, 0.94); justify-self: start; }
.stamp::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stamp.real { border-style: solid; border-color: var(--green-ink); color: var(--green-ink); }

/* ---------- Oriente ---------- */
.oriente { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .oriente { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }
.bomap { margin: 0; max-width: 520px; width: 100%; justify-self: center; }
.bomap .pais { fill: rgba(255, 255, 255, 0.12); stroke: var(--cyan-soft); stroke-width: 1.4; stroke-linejoin: round; }
.bomap .linea { stroke: var(--cyan-soft); stroke-width: 1.4; }
.bomap .cap { fill: var(--paper); }
.bomap text { fill: #eaf3fa; font: 600 15px var(--font); }
.bomap .scz circle { fill: var(--gold); }
.bomap .scz-t { fill: var(--gold); font-weight: 800; font-size: 16px; }
.depth { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: clamp(56px, 8vw, 100px); }
.depth figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; color: var(--paper); }
.depth figure img { width: 100%; height: 100%; object-fit: cover; }
.depth figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 31, 54, 0.75), rgba(3, 31, 54, 0) 45%); }
.depth figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 1; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.depth .d-a { grid-column: 1 / 8; aspect-ratio: 16 / 10; }
.depth .d-b { grid-column: 8 / 13; aspect-ratio: 1 / 1; margin-top: 70px; }
.depth .d-c { grid-column: 2 / 6; aspect-ratio: 4 / 5; margin-top: -40px; }
.depth .d-d { grid-column: 6 / 12; aspect-ratio: 16 / 10; align-self: start; margin-top: 30px; }
@media (max-width: 760px) { .depth { grid-template-columns: 1fr 1fr; } .depth figure { grid-column: auto !important; margin-top: 0 !important; aspect-ratio: 4 / 5 !important; } }

/* ---------- Soluciones por operación ---------- */
.ops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.ops li { padding: 26px 24px; border-radius: var(--r); background: var(--paper); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.ops li:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--line), 0 36px 60px -44px rgba(3, 31, 54, 0.6); }
.ops .ico { width: 30px; height: 30px; color: var(--blue); }
.ops b { font-weight: 800; font-size: 1.1rem; }
.ops span { color: var(--ink-2); font-size: 0.95rem; }

/* ---------- Proyectos ---------- */
.projects { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.proj { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease); }
.proj:hover { transform: translateY(-8px); box-shadow: 0 0 0 1px var(--line), 0 44px 70px -46px rgba(3, 31, 54, 0.6); }
.proj .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.proj .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.proj:hover .ph img { transform: scale(1.07); }
.proj .ph .stamp { position: absolute; left: 14px; top: 14px; }
.proj-in { padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; }
.proj-in b { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.2; }
.proj-in p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; }
.proj-in dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 0.86rem; border-top: 1px solid var(--line); padding-top: 12px; }
.proj-in dt { color: var(--ink-3); }
.proj-in dd { margin: 0; font-weight: 700; }

/* ---------- Por qué E.F.O. ---------- */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.why li { padding: 30px 26px; border-radius: var(--r); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line-w); display: grid; gap: 12px; align-content: start; }
.why .ico { width: 32px; height: 32px; color: var(--cyan-soft); }
.why li:nth-child(3) .ico { color: #7EE07A; }
.why b { font-weight: 800; font-size: 1.15rem; }
.why p { color: rgba(255, 255, 255, 0.8); font-size: 0.96rem; }

/* ---------- Llamado final ---------- */
.cta { position: relative; min-height: 88svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; color: var(--paper); background: var(--ink); }
.cta-media { position: absolute; inset: -12% 0; z-index: -2; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 31, 54, 0.8) 0%, rgba(3, 31, 54, 0.42) 55%, rgba(3, 31, 54, 0.18) 100%); }
.cta .wrap { display: grid; gap: 28px; justify-items: start; }
.cta .d2 { font-size: clamp(2.6rem, 6.4vw, 6rem); max-width: 14ch; }
.cta .lead { color: rgba(255, 255, 255, 0.88); }
.cta .c { color: var(--cyan-soft); }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; } }
.card-data { display: grid; border-top: 1px solid var(--line); }
.card-data a, .card-data div { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.card-data .ci { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--blue); box-shadow: 0 0 0 1px var(--line); transition: background-color 0.3s, color 0.3s; }
.card-data a:hover .ci { background: var(--blue); color: var(--paper); }
.card-data small { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.card-data strong { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.form { display: grid; grid-template-columns: 1fr; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 50px 90px -60px rgba(3, 31, 54, 0.7); }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 0.88rem; }
.field label .opt { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid #cfdbe6; background: var(--mist); color: var(--ink); font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--paper); border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.18); }
.field .err { display: none; font-size: 0.82rem; font-weight: 600; color: #b42318; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #d92d20; }
.field.bad .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 12px; }
.form-foot .btns .btn { flex: 1 1 220px; }
.form .note { margin: 0; }
.form .note a { color: var(--blue); font-weight: 700; }
.status:empty { display: none; }
.status { padding: 14px 16px; border-radius: 12px; background: #e6f6e5; color: #14501a; font-weight: 600; font-size: 0.94rem; }
.status a { font-weight: 800; }
.mapframe { border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); aspect-ratio: 16 / 9; background: var(--mist-2); }
.mapframe iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Portadas internas ---------- */
.phero { position: relative; height: 86svh; min-height: 560px; display: grid; align-items: end; overflow: hidden; isolation: isolate; color: var(--paper); background: var(--blue); }
.phero-media { position: absolute; inset: 0; z-index: -2; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 31, 54, 0.85) 0%, rgba(3, 31, 54, 0.3) 50%, rgba(3, 31, 54, 0.12) 75%, rgba(3, 31, 54, 0.42) 100%); }
.phero .wrap { padding-bottom: clamp(44px, 8vh, 90px); display: grid; gap: 22px; justify-items: start; }
.phero .d1 { font-size: clamp(2.8rem, 7.4vw, 7rem); }
.phero .lead { color: rgba(255, 255, 255, 0.9); }
.phero .c { color: var(--cyan-soft); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 700; color: rgba(255, 255, 255, 0.82); }
.crumbs a { text-decoration: none; padding-block: 8px; }
.crumbs a:hover { color: var(--paper); }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; gap: 12px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.rows li > * { transition: transform 0.5s var(--ease); }
.rows li:hover > * { transform: translateX(10px); }
@media (min-width: 860px) { .rows li { grid-template-columns: 64px 0.9fr 1.1fr; gap: 28px; align-items: start; } }
.rows .ri { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--blue); }
.mist .rows .ri { background: var(--paper); }
.rows .ri .ico { width: 26px; height: 26px; }
.rows h3 { margin: 0; font-weight: 800; font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.2; }
.rows p { color: var(--ink-2); }
.mv { display: grid; gap: 18px; }
@media (min-width: 860px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv div { padding: 34px; border-radius: var(--r); background: var(--paper); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 14px; }
.mv h3 { margin: 0; font-weight: 800; font-size: 1.06rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.mv div:nth-of-type(2) h3 { color: var(--green-ink); }
.mv p { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; }
.legal { max-width: 72ch; display: grid; gap: 14px; }
.legal h2 { margin: 28px 0 0; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--blue); font-weight: 700; }

/* ---------- Pie ---------- */
.foot { position: relative; background: var(--ink); color: var(--paper); padding-top: clamp(72px, 9vw, 120px); overflow: hidden; }
.foot-big { font-weight: 800; font-size: clamp(2.6rem, 8.6vw, 8.4rem); line-height: 0.92; letter-spacing: -0.05em; text-transform: uppercase; margin: 0 0 clamp(48px, 7vw, 90px); }
.foot-big .c { color: var(--cyan-soft); }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.1fr 0.8fr 1.1fr; gap: 48px; } }
.foot .brand-f img { width: 230px; height: auto; }
.foot-legal { margin-top: 14px; color: rgba(255, 255, 255, 0.66); font-size: 0.92rem; }
.foot h2 { font-size: 0.84rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin: 0 0 14px; }
.foot nav { display: grid; gap: 2px; }
.foot nav a { min-height: 44px; display: flex; align-items: center; text-decoration: none; color: rgba(255, 255, 255, 0.86); padding-block: 6px; font-weight: 600; transition: color 0.3s; }
.foot nav a:hover { color: var(--cyan-soft); }
.foot address { font-style: normal; display: grid; gap: 14px; color: rgba(255, 255, 255, 0.86); }
.foot address a, .foot address span { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; overflow-wrap: anywhere; }
.foot address .ico { color: var(--cyan-soft); margin-top: 3px; }
.foot address a:hover { color: var(--cyan-soft); }
.foot .social-title { margin-top: 28px; }
.foot .social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.foot .social-links a { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 8px; transition: color 0.3s, border-color 0.3s, background-color 0.3s; }
.foot .social-links a:hover, .foot .social-links a:focus-visible { color: var(--cyan-soft); border-color: currentColor; background: rgba(255, 255, 255, 0.04); }
.foot .social-icon { width: 18px; height: 18px; flex: 0 0 18px; fill: currentColor; }
.foot .social-icon rect, .foot .social-icon circle:not(.social-icon-dot) { fill: none; stroke: currentColor; stroke-width: 1.8; }
.foot .social-icon-dot { fill: currentColor; }
.foot-bottom { margin-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line-w); padding-block: 24px 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.6); }
.foot-bottom a { color: rgba(255, 255, 255, 0.82); }

/* ---------- WhatsApp flotante ---------- */
.wa { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 150; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--ink); box-shadow: 0 18px 36px -12px rgba(3, 31, 54, 0.6); transition: transform 0.5s var(--ease); }
.wa:hover { transform: translateY(-3px) scale(1.05); }
.wa .ico { width: 30px; height: 30px; }

/* ---------- 404 ---------- */
.nf { min-height: 86svh; display: grid; align-items: center; padding: calc(var(--header) + 60px) 0 80px; }
.nf .code { font-weight: 800; font-size: clamp(7rem, 22vw, 15rem); line-height: 0.82; letter-spacing: -0.06em; color: var(--blue); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition-property: color, background-color, border-color, box-shadow, opacity !important; transition-duration: 0.15s !important; }
  .js [data-reveal], .js .statement .w, .js .scene-step { opacity: 1; transform: none; }
}
@media (max-width: 700px) {
  .photo.tall { aspect-ratio: auto; overflow: visible; background: none; display: grid; gap: 14px; }
  .photo.tall .par { position: relative; inset: auto; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; transform: none !important; }
  .float-card { position: relative; left: auto; right: auto; bottom: auto; max-width: none; box-shadow: 0 0 0 1px var(--line); }
}

.made { flex-basis: 100%; }
.made a, .foot-bottom a { display: inline-block; padding-block: 11px; }

/* ---------- Música de fondo ---------- */
.music { position: fixed; right: max(18px, env(safe-area-inset-right)); z-index: 150; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--paper); box-shadow: 0 16px 32px -12px rgba(3, 31, 54, 0.6); transition: transform 0.5s var(--ease); }
.music { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 72px); width: 52px; height: 52px; background: var(--blue); right: calc(max(18px, env(safe-area-inset-right)) + 4px); }
.music:hover:not(:disabled) { transform: translateY(-3px) scale(1.06); }
.music .ico { width: 24px; height: 24px; }
.music:disabled { cursor: wait; opacity: 0.75; }
.music-x { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: #b42318; border: 2px solid var(--paper); display: grid; place-items: center; box-shadow: 0 4px 10px -4px rgba(3, 31, 54, 0.6); transition: transform 0.3s var(--ease), opacity 0.3s; }
.music-x svg { width: 10px; height: 10px; fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; }
.music.muted .music-x { opacity: 0; transform: scale(0.4); }
.music.muted { background: var(--ink-2); }
.music-tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); white-space: nowrap; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.78rem; font-weight: 700; line-height: 1; box-shadow: 0 10px 24px -12px rgba(3, 31, 54, 0.7); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.music.hint .music-tip, .music:hover .music-tip, .music:focus-visible .music-tip { opacity: 1; transform: translate(0, -50%); }
.music.playing { animation: parpadeo 1.1s ease-in-out infinite; }
.music.playing::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--cyan); animation: onda 1.6s var(--ease) infinite; }
@keyframes parpadeo { 0%, 100% { background: var(--blue); box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.6), 0 16px 32px -12px rgba(3, 31, 54, 0.6); } 50% { background: var(--cyan); color: var(--ink); box-shadow: 0 0 0 8px rgba(0, 174, 239, 0), 0 16px 32px -12px rgba(3, 31, 54, 0.6); } }
@keyframes onda { 0% { transform: scale(0.9); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.reduce .music.playing, .reduce .music.playing::after { animation: none; }
.music:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.player { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 188px); z-index: 150; width: 200px; padding: 6px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -24px rgba(3, 31, 54, 0.6); display: grid; gap: 4px; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.player-frame { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist-2); }
.player-frame iframe, .player-frame #yt { width: 100%; height: 100%; border: 0; display: block; }
.player-error { margin: 2px 4px 4px; color: #b42318; font-size: 0.68rem; line-height: 1.35; }
.player-error[hidden] { display: none; }
.player-link { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 0.72rem; color: var(--ink-2); text-decoration: none; padding: 4px 4px 2px; line-height: 1.3; }
.player-link b { color: var(--ink); }
.player-link .ico { width: 14px; height: 14px; margin-left: auto; }
@media (max-width: 560px) { .player { width: 132px; padding: 4px; } .player-link { font-size: 0.64rem; } .player-link .ico { display: none; } }

/* ---------- Coaster y proyecto BIOTIL ---------- */
.coaster img { object-position: 30% 50%; }
.photo .credit { position: absolute; right: 12px; top: 12px; z-index: 1; font-size: 0.7rem; padding: 4px 8px; border-radius: 6px; background: rgba(3, 31, 54, 0.6); color: rgba(255, 255, 255, 0.9); }
.photo .credit a { color: inherit; }
@media (max-width: 700px) { .photo .credit { position: static; justify-self: start; background: none; color: var(--ink-3); padding: 0; } }
.stamp.dev { border-style: solid; border-color: var(--cyan-ink); color: var(--cyan-ink); }
.proj-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 800; font-size: 0.9rem; color: var(--blue); text-decoration: none; padding-block: 8px; }
.bio { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .bio { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.bio-logo { width: 220px; height: auto; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.bio-data { margin: 0; width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 0 18px; border-top: 1px solid var(--line); }
.bio-data dt, .bio-data dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bio-data dt { color: var(--ink-3); font-weight: 700; font-size: 0.9rem; }
.bio-data dd { font-weight: 700; }
.bio-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bio-gal figure { margin: 0; }
.bio-main { grid-column: 1 / -1; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1792 / 1027; }
.bio-main img, .bio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bio-main figcaption, .bio-thumb span { position: absolute; left: 12px; bottom: 12px; font-size: 0.78rem; font-weight: 800; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.bio-thumb { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.bio-thumb.plano img { object-fit: contain; background: var(--paper); }
.bio-thumb img { transition: transform 1s var(--ease); }
.bio-thumb:hover img { transform: scale(1.05); }
/* Coaster: foto completa y ficha debajo */
.photo.tall:has(.coaster) { aspect-ratio: auto; overflow: visible; background: none; display: grid; gap: 14px; }
.photo.tall:has(.coaster) .par { position: relative; inset: auto; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; transform: none !important; }
.photo.tall:has(.coaster) .par img { object-position: 50% 60%; }
.photo.tall:has(.coaster) .float-card { position: relative; left: auto; right: auto; bottom: auto; max-width: none; box-shadow: 0 0 0 1px var(--line); }
.bio .d2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }

/* ---------- Banda de palabras: avance lento y constante ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding-block: clamp(18px, 2.6vw, 30px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); width: max-content; animation: mq 70s linear infinite; }
.mq-track span { font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 2.1rem); letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.mq-track i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); flex: none; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }

/* ---------- Palabras que aparecen al bajar ---------- */
.js .split .wd { display: inline-block; }

/* ---------- Imágenes con profundidad 3D al pasar el mouse o tocar ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt-glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%); opacity: 0; transition: opacity 0.4s var(--ease); }
.tilt.tilting .tilt-glare { opacity: 1; }
.tilt.tilting { box-shadow: 0 30px 60px -30px rgba(3, 31, 54, 0.55); }

/* ---------- Diésel ULSD y energía solar ---------- */
.kicker { display: inline-block; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-ink, var(--blue)); }
.copy .kicker { margin-bottom: -6px; }
.gal { display: grid; gap: 20px; }
@media (min-width: 760px) { .gal { grid-template-columns: 1fr 1fr; gap: 24px; } }
.gal figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist-2); }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 31, 54, 0.78), rgba(3, 31, 54, 0) 50%); pointer-events: none; }
.gal figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: grid; gap: 4px; color: var(--paper); }
.gal figcaption b { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.gal figcaption span { font-size: 0.92rem; color: rgba(255, 255, 255, 0.86); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.step { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -36px rgba(3, 31, 54, 0.5); }
.step figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-2); }
.step img { width: 100%; height: 100%; object-fit: cover; }
.step .n { position: absolute; left: 14px; top: 14px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cyan); color: var(--ink); font-weight: 800; font-size: 0.95rem; box-shadow: 0 8px 18px -8px rgba(3, 31, 54, 0.6); }
.step-in { display: grid; gap: 8px; align-content: start; padding: 22px 24px 26px; }
.step h3 { margin: 0; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.015em; line-height: 1.25; }
.step p { color: var(--ink-2); font-size: 0.96rem; }
.rows p a { color: var(--blue); font-weight: 700; }
.step-cta { grid-template-rows: 1fr; background: var(--blue); color: var(--paper); }
.step-cta .step-in { align-content: center; gap: 14px; padding: 32px 28px; }
.step-cta .ico { width: 40px; height: 40px; color: var(--cyan-soft, #7fd8f7); }
.step-cta h3 { font-size: 1.4rem; }
.step-cta p { color: rgba(255, 255, 255, 0.82); }
.step-cta .btn { justify-self: start; margin-top: 6px; }

/* Ficha técnica del diésel */
.ficha { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.ficha table { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 520px; }
.ficha th, .ficha td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ficha thead th { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); background: var(--mist); }
.ficha tbody th { font-weight: 700; color: var(--ink); }
.ficha tbody td:nth-child(2) { font-weight: 800; color: var(--blue); white-space: nowrap; }
.ficha tbody td:nth-child(3) { color: var(--ink-3); white-space: nowrap; }
.ficha tbody tr:last-child th, .ficha tbody tr:last-child td { border-bottom: 0; }
.ficha-nota { margin: 16px 0 0; font-size: 0.9rem; color: var(--ink-3); }
/* Cargadores Lumosenergy */
.eqs { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .eqs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .eqs { grid-template-columns: repeat(4, 1fr); } }
.eq { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); overflow: hidden; }
.eq figure { margin: 0; height: 240px; display: grid; place-items: center; padding: 20px; background: linear-gradient(180deg, var(--mist), var(--paper)); }
.eq figure { overflow: hidden; }
.eq img { height: 200px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(3, 31, 54, 0.14)); }
.eq-in { padding: 18px 20px 22px; display: grid; gap: 6px; align-content: start; }
.eq-k { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-ink); }
.eq h3 { margin: 0; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.2; }
.eq p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }
.eq .eq-p { font-weight: 800; color: var(--blue); font-size: 1.05rem; }
.eq small { margin-top: 6px; font-size: 0.85rem; color: var(--ink-3); }
@media (max-width: 600px) { .ficha table { min-width: 0; } .ficha th:nth-child(3), .ficha td:nth-child(3) { display: none; } .ficha th, .ficha td { padding: 12px 14px; } .ficha tbody td:nth-child(2) { white-space: normal; } }
.eq-a { margin-top: 10px; font-size: 0.9rem; font-weight: 800; color: var(--cyan-ink); text-decoration: underline; text-underline-offset: 3px; }
#cargadores .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Auditoría: enlaces de texto más fáciles de tocar */
.note a, .credit a { display: inline-block; padding-block: 6px; }
.note + .btns { margin-top: 20px; }
/* Auditoría: en celular el recuadro del video de música no tapa el contenido (sigue sonando) */
@media (max-width: 760px) { .player { opacity: 0 !important; pointer-events: none !important; transform: translateX(16px) !important; } }

/* Aviso de contenido de terceros y cookies */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 400; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-in { pointer-events: auto; max-width: 760px; width: 100%; background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px rgba(3, 31, 54, 0.55); padding: 20px 22px; display: grid; gap: 12px; }
.consent-h { margin: 0; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.consent-in p { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; }
.consent-in a { color: var(--blue); font-weight: 700; }
.consent-b { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-b .btn { min-width: 140px; justify-content: center; }
.player:not(.on) { display: none; }
/* Mapa que se carga con permiso */
.mapframe { position: relative; }
.map-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; background: var(--mist-2); color: var(--ink); }
.map-ph[hidden] { display: none; }
.map-ph p { margin: 0; max-width: 46ch; color: var(--ink-2); }
.map-ph .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
/* Casilla de consentimiento del formulario */
.chk { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 0.95rem; color: var(--ink-2); cursor: pointer; }
.chk input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue); }
.chk a { color: var(--blue); font-weight: 700; }
.chk-field.bad .chk { color: #b42318; }
/* Enlaces legales del pie */
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.legal-links a, .linkbtn { display: inline-block; padding-block: 8px; color: rgba(255, 255, 255, 0.82); font: inherit; }
.linkbtn { background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.linkbtn:hover, .legal-links a:hover { color: #fff; }
.legal h3 { margin: 28px 0 8px; font-size: 1.1rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal thead th { background: var(--mist); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.legal .datos { background: var(--mist); border-radius: var(--r); padding: 18px 22px; margin: 12px 0 20px; }
.legal .datos p { margin: 4px 0; }
@media (max-width: 600px) { .legal table { font-size: 0.88rem; } .legal th, .legal td { padding: 8px; } }
