:root {
  color-scheme: light;
  /* Marca */
  --navy: #061123;
  --white: #FFFFFF;
  --neon: #DFFF00;
  --steel: #868F98;
  --ice: #8ED9F9;
  /* Neutros */
  --paper: #FAFAF8;
  --mist: #F1F2F0;
  --text-2: #4A5462;      /* secundario, AA sobre blanco */
  --line: rgba(6, 17, 35, .1);
  --line-2: rgba(6, 17, 35, .2);
  --navy-2: #0D1B33;
  --on-navy-2: #A9B2BE;
  --on-navy-line: rgba(255, 255, 255, .12);

  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(96px, 12vw, 160px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 1rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--neon); color: var(--navy); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible { outline-color: var(--neon); }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* Etiquetas técnicas */
.tag { display: inline-flex; align-items: center; gap: 10px; font: 500 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.tag::before { content: ""; width: 8px; height: 8px; background: var(--neon); outline: 1px solid var(--navy); outline-offset: -1px; }
.on-navy .tag { color: var(--on-navy-2); }
.on-navy .tag::before { outline-color: var(--neon); }

/* Progreso de lectura */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: transparent; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--neon); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 1px 0 var(--navy); }

/* Botones: relleno que se desliza */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: 2px; border: 1px solid var(--navy);
  font: 500 .92rem/1 var(--sans); letter-spacing: .005em; text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .15s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .55s var(--ease-in-out); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: 0 50%; }
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--neon); color: var(--navy); }
.btn-primary::before { background: var(--navy); }
.btn-primary:hover, .btn-primary:focus-visible { color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark::before { background: var(--neon); }
.btn-dark:hover, .btn-dark:focus-visible { color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost::before { background: var(--navy); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--white); }
.on-navy .btn-ghost { color: var(--white); border-color: var(--on-navy-line); }
.on-navy .btn-ghost::before { background: var(--white); }
.on-navy .btn-ghost:hover { color: var(--navy); }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(255, 255, 255, .0); border-bottom: 1px solid transparent; transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .45s var(--ease); }
.header.scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header.hide { transform: translateY(-100%); }
.header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { position: relative; padding: 10px 14px; text-decoration: none; font-size: .9rem; font-weight: 400; color: var(--text-2); transition: color .3s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--navy); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease-in-out); }
.nav a:not(.btn):hover, .nav a.active { color: var(--navy); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav a.active::before { content: ""; position: absolute; left: 4px; top: 50%; width: 5px; height: 5px; margin-top: -3px; background: var(--neon); outline: 1px solid var(--navy); outline-offset: -1px; }
.nav .btn { margin-left: 14px; min-height: 44px; padding: 0 20px; font-size: .86rem; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); background: var(--white); border-radius: 2px; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn span { position: relative; width: 18px; height: 1.5px; background: currentColor; transition: background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.menu-btn span::before { transform: translateY(-5px); }
.menu-btn span::after { transform: translateY(5px); }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: rotate(-45deg); }
@media (max-width: 880px) {
  .menu-btn { display: inline-flex; }
  .nav {
    /* altura explícita: el blur del header crea el bloque contenedor */
    position: fixed; top: 76px; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 32px; background: var(--white);
    clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease-in-out);
  }
  .nav.open { clip-path: inset(0 0 0 0); }
  .nav a:not(.btn) { padding: 22px 2px; font-size: 1.4rem; font-weight: 400; color: var(--navy); border-bottom: 1px solid var(--line); letter-spacing: -.02em; }
  .nav a:not(.btn)::after, .nav a.active::before { display: none; }
  .nav .btn { margin: 28px 0 0; min-height: 56px; font-size: .95rem; }
}

/* Portada */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .45; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero .wrap { position: relative; width: 100%; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 500; margin: 28px 0 28px; }
.hero h1 .l { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .l > span { display: block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero h1 .l:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .l:nth-child(3) > span { animation-delay: .16s; font-weight: 300; color: var(--text-2); }
.hero h1 .l:nth-child(4) > span { animation-delay: .24s; font-weight: 300; color: var(--text-2); }
@keyframes lineUp { to { transform: none; } }
.hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--text-2); max-width: 46ch; font-weight: 300; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.fade-in { opacity: 0; transform: translateY(12px); animation: fadeUp .9s var(--ease) forwards; }
.d1 { animation-delay: .35s; } .d2 { animation-delay: .5s; } .d3 { animation-delay: .65s; } .d4 { animation-delay: .2s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Plano estructural animado */
.plan { position: relative; width: 100%; max-width: 560px; justify-self: end; }
.plan svg { width: 100%; height: auto; overflow: visible; }
.plan .axis { stroke: var(--navy); stroke-width: .75; stroke-dasharray: 6 4; opacity: 0; animation: fadeIn 1s var(--ease) forwards; }
.plan .bubble circle { fill: var(--white); stroke: var(--navy); stroke-width: 1; }
.plan text { font: 500 11px var(--mono); fill: var(--navy); letter-spacing: .04em; }
.plan .dim text { fill: var(--text-2); font-weight: 400; }
.plan .draw { fill: none; stroke: var(--navy); stroke-width: 1.25; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease-in-out) forwards; }
.plan .dim line, .plan .dim path { stroke: var(--text-2); stroke-width: .75; }
.plan .col { fill: var(--navy); transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .5s var(--ease) forwards; }
.plan .hot { fill: var(--neon); stroke: var(--navy); stroke-width: 1.25; }
.plan .ring { fill: none; stroke: var(--navy); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ring 2.6s var(--ease) infinite; animation-delay: 2.2s; opacity: 0; }
.plan .ring.r2 { animation-delay: 3.5s; }
.plan .callout { opacity: 0; animation: fadeIn .8s var(--ease) forwards; animation-delay: 2s; }
.plan .callout rect { fill: var(--navy); }
.plan .callout text { fill: var(--white); }
.plan .callout .k { fill: var(--neon); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes ring { 0% { opacity: .9; transform: scale(.6); } 80%, 100% { opacity: 0; transform: scale(2.4); } }
.readout { position: absolute; left: 0; bottom: -34px; font: 400 .74rem/1 var(--mono); color: var(--text-2); letter-spacing: .04em; display: flex; gap: 18px; }
.readout b { color: var(--navy); font-weight: 500; font-variant-numeric: tabular-nums; }
.cross { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.plan:hover .cross { opacity: 1; }
@media (hover: none) { .readout, .cross { display: none; } }
.cross i { position: absolute; background: var(--navy); opacity: .35; }
.cross .h { left: 0; right: 0; height: 1px; }
.cross .v { top: 0; bottom: 0; width: 1px; }
@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: 112px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .plan { justify-self: stretch; max-width: 520px; margin: 24px auto 30px; }
}

/* Datos */
.facts { border-block: 1px solid var(--line); background: var(--paper); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font: 500 clamp(1.6rem, 2.8vw, 2.3rem)/1 var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fact > span { display: block; margin-top: 10px; font-size: .88rem; color: var(--text-2); line-height: 1.45; }
@media (max-width: 760px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact { padding: 24px 14px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

section.block { padding-block: var(--section); }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-top: 22px; }
.sub { color: var(--text-2); font-size: 1.06rem; max-width: 50ch; margin-top: 22px; font-weight: 300; }
.on-navy .sub { color: var(--on-navy-2); }

/* Supervisión */
.sup { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
.sup-head { position: sticky; top: 130px; }
.sup-head .btn { margin-top: 36px; }
.steps { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; --p: 0; }
.steps::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; left: 6px; top: 10px; width: 3px; height: calc((100% - 20px) * var(--p)); background: var(--neon); box-shadow: 0 0 0 1px var(--navy); }
.step { position: relative; padding: 0 0 52px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: -44px; top: 6px; width: 15px; height: 15px; background: var(--white); border: 1px solid var(--navy); transition: background-color .4s var(--ease), transform .4s var(--ease); z-index: 1; }
.step.on::before { background: var(--neon); transform: rotate(45deg); }
.step .n { font: 500 .74rem/1 var(--mono); letter-spacing: .08em; color: var(--text-2); }
.step h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 12px 0 10px; }
.step p { color: var(--text-2); max-width: 46ch; }
.platform { margin-top: 64px; padding: 28px; background: var(--navy); color: var(--white); border-radius: 2px; display: grid; grid-template-columns: 1fr; gap: 24px; }
.platform .soon { display: inline-flex; align-items: center; gap: 10px; font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--neon); }
.platform .soon i { width: 7px; height: 7px; background: var(--neon); animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.platform h3 { font-size: 1.35rem; margin: 14px 0 8px; letter-spacing: -.02em; }
.platform p { color: var(--on-navy-2); font-size: .92rem; font-weight: 300; }
.mock { border: 1px solid var(--on-navy-line); padding: 14px; font: 400 .66rem/1 var(--mono); color: var(--on-navy-2); letter-spacing: .06em; }
.mock .row { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--on-navy-line); }
.mock .row:last-child { border-bottom: 0; }
.mock .row b { flex: none; width: 6px; height: 6px; background: var(--on-navy-2); }
.mock .row b.ok { background: var(--neon); }
.mock .bar { height: 5px; flex: 1; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.mock .bar::after { content: ""; position: absolute; inset: 0; width: var(--w); background: rgba(255,255,255,.35); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease); }
.platform.in .mock .bar::after { transform: scaleX(1); }
@media (max-width: 960px) {
  .sup { grid-template-columns: 1fr; }
  .sup-head { position: static; }
  .platform { grid-template-columns: 1fr; }
}

/* Servicios (acordeón) */
.svc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 72px); }
.acc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.acc li { border-bottom: 1px solid var(--line-2); }
.acc button {
  width: 100%; display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 16px;
  padding: 30px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--navy); font: inherit;
}
.acc .n { font: 500 .78rem/1 var(--mono); color: var(--text-2); letter-spacing: .06em; }
.acc h3 { font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 400; transition: transform .5s var(--ease); }
.acc button:hover h3 { transform: translateX(10px); }
.acc .pill { display: inline-block; margin-left: 14px; vertical-align: middle; padding: 6px 10px; background: var(--neon); color: var(--navy); font: 500 .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transform: translateY(-4px); }
.acc .pm { position: relative; width: 44px; height: 44px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .4s var(--ease), border-color .4s; }
.acc .pm::before, .acc .pm::after { content: ""; position: absolute; width: 14px; height: 1.5px; background: var(--navy); transition: transform .45s var(--ease), background-color .3s; }
.acc .pm::after { transform: rotate(90deg); }
.acc button[aria-expanded="true"] .pm { background: var(--navy); border-color: var(--navy); }
.acc button[aria-expanded="true"] .pm::before, .acc button[aria-expanded="true"] .pm::after { background: var(--neon); }
.acc button[aria-expanded="true"] .pm::after { transform: rotate(0deg); }
.acc .panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-in-out); }
.acc .panel > div { overflow: hidden; }
.acc .open + .panel { grid-template-rows: 1fr; }
.acc .panel-in { padding: 0 0 34px 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease) .1s, transform .5s var(--ease) .1s; }
.acc .open + .panel .panel-in { opacity: 1; transform: none; }
.acc .panel p { color: var(--text-2); font-size: 1.02rem; max-width: 44ch; }
.acc .panel ul { list-style: none; margin: 0; padding: 0; font: 400 .82rem/1.5 var(--mono); color: var(--navy); }
.acc .panel li { border: 0; padding: 8px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.acc .panel li::before { content: "—"; color: var(--steel); }
@media (max-width: 760px) {
  .acc button { grid-template-columns: 44px 1fr auto; padding: 24px 0; }
  .acc .panel-in { grid-template-columns: 1fr; padding-left: 60px; }
  .acc .pill { display: table; margin: 10px 0 0; transform: none; }
}

/* Cómo trabajamos */
.on-navy { background: var(--navy); color: var(--white); }
.why { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--on-navy-line); }
.why > div { position: relative; padding: 36px 32px 0 0; }
.why > div + div { padding-left: 32px; border-left: 1px solid var(--on-navy-line); }
.why > div::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--neon); transition: width 1.2s var(--ease); }
.why > div + div::before { left: 0; }
.why > div.in::before { width: 100%; }
.why .n { font: 500 .76rem/1 var(--mono); color: var(--neon); letter-spacing: .08em; }
.why h3 { font-size: 1.4rem; margin: 18px 0 12px; letter-spacing: -.02em; }
.why p { color: var(--on-navy-2); font-weight: 300; }
@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; }
  .why > div, .why > div + div { padding: 28px 0; border-left: 0; }
  .why > div + div { border-top: 1px solid var(--on-navy-line); }
}

/* Proyectos */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { position: relative; border: 1px solid var(--line-2); padding: 22px; display: flex; flex-direction: column; min-height: 100%; transition: border-color .4s var(--ease); }
.project:hover { border-color: var(--navy); }
.ph { position: relative; margin: 0 0 22px; aspect-ratio: 4 / 3; background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.ph::before, .ph::after { content: ""; position: absolute; background: var(--line-2); }
.ph::before { left: 0; right: 0; top: 50%; height: 1px; transform: rotate(36.87deg) scaleX(1.25); }
.ph::after { left: 0; right: 0; top: 50%; height: 1px; transform: rotate(-36.87deg) scaleX(1.25); }
.ph span { position: relative; z-index: 1; background: var(--mist); padding: 6px 10px; font: 500 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.project .ex { align-self: flex-start; font: 500 .62rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 5px 8px; color: var(--text-2); }
.project h3 { font-size: 1.3rem; margin: 14px 0 8px; letter-spacing: -.02em; }
.project p { color: var(--text-2); font-size: .94rem; }
.project dl { margin: auto 0 0; padding-top: 18px; }
.project dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font: 400 .78rem/1.4 var(--mono); }
.project dt { color: var(--text-2); }
.project dd { margin: 0; text-align: right; }
@media (max-width: 960px) { .projects { grid-template-columns: 1fr; } }

/* Contacto */
.contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 104px); align-items: start; }
.cdata { margin: 40px 0 0; border-top: 1px solid var(--line-2); }
.cdata div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cdata dt { font: 500 .7rem/1.9 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.cdata dd { margin: 0; overflow-wrap: anywhere; }
.cdata a { text-decoration: none; background: linear-gradient(var(--navy), var(--navy)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.cdata a:hover { background-size: 100% 1px; }
.contact .btn-ghost { margin-top: 32px; }

.form { background: var(--white); border: 1px solid var(--line-2); padding: clamp(24px, 4vw, 48px); }
.form-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 34px; }
.form-title h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.form-title span { font: 400 .72rem/1 var(--mono); color: var(--text-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { position: relative; display: flex; flex-direction: column; gap: 6px; margin-bottom: 26px; }
.field label { font: 500 .72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); transition: color .3s; }
.field label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 0; font: 400 1.02rem/1.4 var(--sans); color: var(--navy);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23061123' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; cursor: pointer; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; }
.field .ln { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); pointer-events: none; }
.field:has(textarea) .ln { bottom: 6px; }
.field:focus-within .ln { transform: scaleX(1); }
.field:focus-within label { color: var(--navy); }
.field .err { position: absolute; right: 0; top: 0; font: 400 .74rem/1 var(--sans); color: #B42318; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s var(--ease); }
.field.invalid .err { opacity: 1; transform: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: #B42318; }
.field.invalid .ln { background: #B42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 6px; }
.form-foot .btn { min-width: 210px; }
.spin { display: none; width: 16px; height: 16px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.loading .spin { display: block; }
.btn.loading svg { display: none; }
.status { flex: 1 1 220px; font-size: .9rem; color: var(--text-2); }
.status.error { color: #B42318; }
.status a { color: var(--navy); }
.done { display: none; align-items: center; gap: 16px; padding: 18px 0 0; }
.done.show { display: flex; }
.done svg { width: 44px; height: 44px; flex: none; }
.done circle { fill: var(--neon); stroke: var(--navy); stroke-width: 1.2; }
.done path { fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.done.show path { animation: draw .6s var(--ease) .15s forwards; }
.done p { font-weight: 500; }
.done small { display: block; color: var(--text-2); font-weight: 400; font-size: .88rem; }
@media (max-width: 1100px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } .cdata div { grid-template-columns: 1fr; gap: 4px; } }

/* Footer */
footer { padding: 72px 0 32px; }
.foot-big { font-size: clamp(2.4rem, 7vw, 6rem); font-weight: 300; letter-spacing: -.045em; line-height: 1; padding-bottom: 56px; border-bottom: 1px solid var(--on-navy-line); }
.foot-big b { font-weight: 500; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding: 48px 0; }
footer .logo img { height: 38px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.foot-cols h4 { margin: 0 0 14px; font: 500 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-2); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-cols a { display: inline-block; padding: 6px 0; text-decoration: none; color: #DCE1E7; font-size: .92rem; transition: color .25s; }
.foot-cols a:hover { color: var(--neon); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--on-navy-line); font: 400 .74rem/1.5 var(--mono); color: var(--on-navy-2); }

/* WhatsApp flotante */
.wa { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(6, 17, 35, .5); transform: scale(0); animation: pop .5s var(--ease) 1.4s forwards; transition: box-shadow .3s; }
.wa svg { width: 26px; height: 26px; }
.wa:hover { box-shadow: 0 0 0 6px rgba(37, 211, 102, .18), 0 10px 24px -10px rgba(6, 17, 35, .5); }

/* Revelado al hacer scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.mask { display: block; overflow: hidden; }
.mask > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.in .mask > span, .mask.in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .fade-in { opacity: 1; transform: none; }
  .plan .ring { display: none; }
}

/* ---------- Páginas de servicio ---------- */
.page-hero { position: relative; padding: 150px 0 clamp(72px, 9vw, 120px); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .45; mask-image: linear-gradient(180deg, #000, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 30px; padding: 0; font: 400 .74rem/1 var(--mono); color: var(--text-2); letter-spacing: .04em; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--steel); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); margin: 22px 0 24px; }
.page-hero .lead { font-size: clamp(1.04rem, 1.4vw, 1.18rem); color: var(--text-2); max-width: 48ch; font-weight: 300; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.big-n { font: 500 clamp(7rem, 16vw, 13rem)/.8 var(--mono); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--navy); justify-self: end; user-select: none; }
.big-n i { font-style: normal; display: inline-block; width: .5em; height: .1em; margin-left: .04em; background: var(--neon); outline: 1px solid var(--navy); vertical-align: baseline; -webkit-text-stroke: 0; }
@media (max-width: 860px) { .page-hero { padding-top: 124px; } .page-hero .wrap { grid-template-columns: 1fr; } .big-n { display: none; } }

.two { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.two + .two { margin-top: clamp(80px, 10vw, 128px); }
.two .sticky { position: sticky; top: 120px; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } .two .sticky { position: static; } }
.spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); counter-reset: s; }
.spec li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line-2); font-size: clamp(1.1rem, 1.8vw, 1.35rem); letter-spacing: -.01em; }
.spec li::before { content: counter(s, decimal-leading-zero); font: 500 .76rem/2.2 var(--mono); color: var(--text-2); letter-spacing: .06em; }
.prose p { color: var(--text-2); font-size: 1.08rem; font-weight: 300; max-width: 58ch; }
.prose p + p { margin-top: 18px; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--navy); }
.related a { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 28px 0; text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color .3s; }
.related a + a { padding-left: 24px; border-left: 1px solid var(--line-2); }
.related .n { font: 500 .74rem/1 var(--mono); color: var(--text-2); letter-spacing: .06em; }
.related b { font-weight: 500; font-size: 1.25rem; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.related svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.related a:hover svg { transform: translateX(6px); }
.related a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--neon); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-in-out); box-shadow: 0 1px 0 var(--navy); }
.related a:hover::after { transform: scaleX(1); }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } .related a + a { padding-left: 0; border-left: 0; } }

.more { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font: 500 .8rem/1 var(--mono); letter-spacing: .04em; text-decoration: none; color: var(--navy); background: linear-gradient(var(--navy), var(--navy)) 0 100% / 0 1px no-repeat; padding-bottom: 4px; transition: background-size .45s var(--ease); }
.more:hover { background-size: 100% 1px; }
.more svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.more:hover svg { transform: translateX(4px); }

/* ===== Proyectos: mosaico de fotos protagonista (como en el portafolio) ===== */
.pgrid-more { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }
.case-group + .case-group { margin-top: clamp(72px, 9vw, 128px); }
.case-head { padding-bottom: 18px; }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(28px, 4.5vw, 72px); align-items: center;
  padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--navy); }
.case.flip { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
.case.flip .case-txt { order: 2; }
.case-txt .tag { line-height: 1.4; }
.case h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.1; margin-top: 16px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, .9vw, 12px); align-items: start; max-width: 760px; width: 100%; }
.case:not(.flip) .mosaic { justify-self: end; }
.mosaic .col { display: flex; flex-direction: column; gap: clamp(8px, .9vw, 12px); }
.mosaic .col.off { padding-top: 9%; }
.mosaic figure { margin: 0; overflow: hidden; background: var(--mist); aspect-ratio: 4 / 3; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic.m1 { grid-template-columns: 1fr; }
.mosaic.m1 figure { aspect-ratio: 16 / 10; }
.mosaic.m2 figure { aspect-ratio: 4 / 5; }
.mosaic.m3 { align-items: stretch; }
.mosaic.m3 .col:first-child figure { aspect-ratio: auto; height: 100%; }
/* entrada */
.case.reveal { transform: none; }
.mosaic figure { clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease-in-out); }
.mosaic img { transform: scale(1.15); transition: transform 1.5s var(--ease); }
.case.in .mosaic figure { clip-path: inset(0 0 0 0); }
.case.in .mosaic img { transform: none; }
.case.in .mosaic figure:hover img { transform: scale(1.05); }
.mosaic .col:nth-child(1) figure:nth-child(1), .mosaic .col:nth-child(1) figure:nth-child(1) img { transition-delay: 100ms; }
.mosaic .col:nth-child(2) figure:nth-child(1), .mosaic .col:nth-child(2) figure:nth-child(1) img { transition-delay: 230ms; }
.mosaic .col:nth-child(1) figure:nth-child(2), .mosaic .col:nth-child(1) figure:nth-child(2) img { transition-delay: 360ms; }
.mosaic .col:nth-child(2) figure:nth-child(2), .mosaic .col:nth-child(2) figure:nth-child(2) img { transition-delay: 490ms; }
.case-txt .tag { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.case.in .case-txt .tag { opacity: 1; transform: none; transition-delay: 60ms; }
.case .mask > span { transition-delay: 160ms !important; }
@media (max-width: 900px) {
  .case, .case.flip { grid-template-columns: 1fr; gap: 22px; }
  .case.flip .case-txt { order: 0; }
  .mosaic { max-width: 640px; justify-self: start !important; }
  .mosaic .col.off { padding-top: 7%; }
  .case h3 { font-size: clamp(1.45rem, 4.6vw, 1.9rem); margin-top: 10px; }
}
@media (max-width: 520px) { .mosaic, .mosaic .col { gap: 6px; } }
@media (prefers-reduced-motion: reduce) {
  .mosaic figure { clip-path: none; transition: none; }
  .mosaic img, .case-txt .tag { opacity: 1; transform: none; transition: none; }
}
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.more-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.more-photos img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 900px) { .more-grid { grid-template-columns: 1fr; } }

/* Página de proyectos: 2 fotos grandes + 2 complementarias, título abajo, alternando de lado */
.case.stack, .case.stack.flip { display: block; }
.case.stack .case-txt { width: 84%; max-width: 1060px; margin-top: clamp(18px, 2vw, 26px); }
.case.stack.flip .case-txt { margin-left: auto; }
.case.stack h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); margin-top: 10px; }
.bento { display: grid; grid-template-columns: 1fr .72fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(8px, .9vw, 12px); width: 84%; max-width: 1060px; aspect-ratio: 2.5 / 1; }
.case.stack.flip .bento { margin-left: auto; }
.bento figure { position: relative; margin: 0; overflow: hidden; background: var(--mist); min-height: 0; }
.bento img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento figure:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.bento figure:nth-child(2) { grid-column: 3; grid-row: 1 / 3; }
.bento figure:nth-child(3) { grid-column: 2; grid-row: 1; }
.bento figure:nth-child(4) { grid-column: 2; grid-row: 2; }
.bento.b3 figure:nth-child(3) { grid-row: 1 / 3; }
.bento.b2 { grid-template-columns: 1fr 1fr; aspect-ratio: 1.8 / 1; }
.bento.b2 figure:nth-child(2) { grid-column: 2; }
.bento.b1 { grid-template-columns: 1fr; grid-template-rows: 1fr; width: 60%; aspect-ratio: 16 / 10; }
.bento.b1 figure:nth-child(1) { grid-row: 1; }
.case.stack:has(.b1) .case-txt { width: 60%; }
/* entrada */
.bento figure { clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease-in-out); }
.bento img { transform: scale(1.15); transition: transform 1.5s var(--ease); }
.case.in .bento figure { clip-path: inset(0 0 0 0); }
.case.in .bento img { transform: none; }
.case.in .bento figure:hover img { transform: scale(1.05); }
.bento figure:nth-child(1), .bento figure:nth-child(1) img { transition-delay: 100ms; }
.bento figure:nth-child(2), .bento figure:nth-child(2) img { transition-delay: 230ms; }
.bento figure:nth-child(3), .bento figure:nth-child(3) img { transition-delay: 360ms; }
.bento figure:nth-child(4), .bento figure:nth-child(4) img { transition-delay: 490ms; }
@media (max-width: 900px) {
  .bento, .case.stack .case-txt { width: 100%; max-width: none; }
  .case.stack.flip .bento, .case.stack.flip .case-txt { margin-left: 0; }
}
@media (max-width: 600px) {
  .bento, .bento.b2, .bento.b1 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 6px; aspect-ratio: auto; }
  .bento figure:nth-child(1) { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 10; }
  .bento figure:nth-child(3), .bento figure:nth-child(4) { grid-row: 2; aspect-ratio: 16 / 10; }
  .bento figure:nth-child(3) { grid-column: 1; } .bento figure:nth-child(4) { grid-column: 2; }
  .bento figure:nth-child(2) { grid-column: 1 / -1; grid-row: 3; aspect-ratio: 16 / 10; }
  .bento.b3 figure:nth-child(3) { grid-column: 1 / -1; grid-row: 2; aspect-ratio: 21 / 9; }
  .bento.b2 figure:nth-child(1), .bento.b2 figure:nth-child(2) { grid-column: auto; grid-row: 1; aspect-ratio: 4 / 5; }
  .bento.b1 { width: 100%; grid-template-columns: 1fr; }
  .case.stack:has(.b1) .case-txt { width: 100%; }
  .bento.b1 figure:nth-child(1) { aspect-ratio: 16 / 10; }
  .case.stack { padding-block: 32px 38px; }
  .case.stack .case-txt { margin-top: 14px; }
  .case.stack .case-txt .tag { font-size: .6rem; }
  .case.stack h3 { font-size: 1.12rem; line-height: 1.25; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .bento figure { clip-path: none; transition: none; } .bento img { transform: none; transition: none; } }

/* Esquinas suaves en las fotos (lo técnico se queda recto) */
:root { --r-foto: 14px; }
@media (max-width: 600px) { :root { --r-foto: 10px; } }
.bento figure, .mosaic figure, .more-photos img { border-radius: var(--r-foto); }
.bento figure, .mosaic figure { clip-path: inset(100% 0 0 0 round var(--r-foto)); }
.case.in .bento figure, .case.in .mosaic figure { clip-path: inset(0 0 0 0 round var(--r-foto)); }
@media (prefers-reduced-motion: reduce) { .bento figure, .mosaic figure { clip-path: none; } }

/* ===== Textos nuevos del inicio ===== */
.fact-k { display: block; margin-bottom: 10px; font: 500 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.key-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 11px; background: var(--neon); color: var(--navy); outline: 1px solid var(--navy); outline-offset: -1px; font: 500 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.key-tag::before { content: "★"; font-size: .7rem; }
/* Paso 04 resaltado */
.step-key { padding: 26px 26px 28px !important; margin-left: -26px; border: 1px solid var(--navy); box-shadow: 6px 6px 0 var(--neon); }
.step-key::before { left: -18px; top: 32px; }
@media (max-width: 900px) { .step-key { margin-left: -14px; padding: 22px 18px 24px !important; } .step-key::before { left: -30px; } }
/* Servicios por grupos: título grande, lista chica */
.svc-groups { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--navy); }
.svc-g { padding: 40px 36px 44px 0; border-bottom: 1px solid var(--line-2); }
.svc-g:nth-child(2) { padding-left: 36px; border-left: 1px solid var(--line-2); }
.svc-t { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.svc-list { list-style: none; margin: 22px 0 0; padding: 0; }
.svc-list li { position: relative; padding: 9px 0 9px 20px; border-top: 1px solid var(--line); font-size: .98rem; color: var(--text-2); }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; border: 1px solid var(--navy); }
.svc-list li:first-child { border-top: 0; }
.svc-key { grid-column: 1 / -1; margin: 40px 6px 6px 0; padding: 40px 40px 44px; background: var(--white); border: 1px solid var(--navy); box-shadow: 6px 6px 0 var(--neon); }
.svc-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.svc-steps li { padding: 20px 20px 4px 0; font-size: 1.05rem; color: var(--navy); }
.svc-steps li + li { padding-left: 20px; border-left: 1px solid var(--line-2); }
.svc-steps span { display: table; margin-bottom: 12px; padding: 4px 6px; background: var(--neon); outline: 1px solid var(--navy); outline-offset: -1px; font: 500 .7rem/1 var(--mono); letter-spacing: .08em; color: var(--navy); }
.svc-wide { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .svc-groups { grid-template-columns: 1fr; }
  .svc-g, .svc-g:nth-child(2) { padding: 30px 0 32px; border-left: 0; }
  .svc-key { padding: 28px 22px 30px; margin-right: 6px; }
  .svc-steps { grid-template-columns: 1fr; }
  .svc-steps li, .svc-steps li + li { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line-2); display: flex; gap: 14px; align-items: baseline; }
  .svc-steps li:first-child { border-top: 0; }
  .svc-steps span { display: inline-block; margin: 0; }
}

/* ===== Página Quiénes somos ===== */
.mv { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--on-navy-line); }
.mv > div { padding: 36px 40px 0 0; }
.mv > div + div { padding-left: 40px; border-left: 1px solid var(--on-navy-line); }
.mv .n { display: inline-block; margin-bottom: 18px; padding: 6px 10px; background: var(--neon); color: var(--navy); font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.mv p { color: var(--on-navy-2); font-size: 1.04rem; line-height: 1.75; font-weight: 300; max-width: 52ch; }
.mv p + p { margin-top: 16px; }
.method { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--navy); }
.method > div { padding: 32px 40px 8px 0; }
.method > div + div { padding-left: 40px; border-left: 1px solid var(--line-2); }
.method .n { font: 500 .74rem/1 var(--mono); letter-spacing: .08em; color: var(--text-2); }
.method h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 14px 0 12px; }
.method p { color: var(--text-2); max-width: 52ch; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); border-top: 1px solid var(--navy); padding-top: 40px; }
.person-head { display: flex; gap: 18px; align-items: center; }
.ini { flex: none; display: grid; place-items: center; width: 64px; height: 64px; background: var(--navy); color: var(--neon); font: 500 1.1rem/1 var(--mono); letter-spacing: .04em; border-radius: var(--r-foto, 14px); }
.person h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-top: 10px; line-height: 1.15; }
.person-lead { margin-top: 22px; color: var(--navy); font-size: 1.04rem; line-height: 1.7; }
.spec-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.spec-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: .94rem; line-height: 1.6; }
.spec-list b { color: var(--navy); font-weight: 500; }
@media (max-width: 860px) {
  .mv, .method, .team { grid-template-columns: 1fr; }
  .mv > div, .mv > div + div { padding: 30px 0 0; border-left: 0; }
  .mv > div + div { margin-top: 30px; border-top: 1px solid var(--on-navy-line); }
  .method > div, .method > div + div { padding: 28px 0 8px; border-left: 0; }
  .method > div + div { border-top: 1px solid var(--line-2); }
}
.person-photo { margin: 0 0 26px; aspect-ratio: 4 / 5; max-width: 420px; overflow: hidden; border-radius: var(--r-foto, 14px); background: var(--mist); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-head h3 { margin-top: 10px; }
.person-bio { margin-top: 14px; color: var(--text-2); font-size: .98rem; line-height: 1.75; font-weight: 300; max-width: 54ch; }

/* ===== Adelanto "Quiénes somos" en el inicio ===== */
.about-teaser { border-top: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-txt .btn { margin-top: 34px; }
.about-team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 16px); max-width: 520px; justify-self: end; width: 100%; text-decoration: none; color: inherit; }
.about-team figure { margin: 0; }
.about-team figure:nth-child(2) { margin-top: 14%; }
.about-team img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-foto, 14px); transition: transform 1s var(--ease); }
.about-team:hover img { transform: translateY(-4px); }
.about-team figcaption { margin-top: 14px; }
.about-team figcaption b { display: block; font-weight: 500; font-size: .98rem; line-height: 1.3; }
.about-team figcaption span { display: block; margin-top: 6px; font: 500 .64rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-team figcaption b { font-size: .9rem; }
}
@media (max-width: 860px) { .about-team { justify-self: start; max-width: 460px; } }

/* Botón volver arriba */
.to-top { position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 13px; background: var(--navy); color: var(--white); text-decoration: none; font: 500 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--navy); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s, color .3s; }
.to-top svg { width: 18px; height: 18px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--neon); color: var(--navy); }
@media (max-width: 600px) { .to-top span { display: none; } .to-top { width: 46px; padding: 0; justify-content: center; } }

/* ===== Inicio: foto de obra a todo lo ancho, desvanecida hacia el texto ===== */
.hero-photo .wrap { grid-template-columns: minmax(0, 1fr); }
.hero-photo .wrap > div:first-child { max-width: 600px; position: relative; z-index: 2; }
.hero-bg { position: absolute; top: calc(50% + 28px); right: 0; height: min(62%, 600px); transform: translateY(-50%); width: 54vw; max-width: none; margin: 0; z-index: 0; overflow: hidden; background: transparent; border-radius: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 14%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 14%, #000 34%); }
.hero-bg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: obraIn 1.4s var(--ease) both; }
@keyframes obraIn { from { transform: scale(1.08); opacity: 0; filter: blur(6px) brightness(.62) contrast(1.12); } to { transform: none; opacity: 1; filter: brightness(.62) contrast(1.12) saturate(1.05); } }
.hero-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.hero-bg .axis { stroke: rgba(255,255,255,.7); stroke-width: 1.3; stroke-dasharray: 10 7; }
.hero-bg .draw { stroke: #fff; stroke-width: 2.4; filter: drop-shadow(0 0 6px rgba(255,255,255,.7)); }
.hero-bg .bubble circle { fill: rgba(6,17,35,.6); stroke: #fff; stroke-width: 1.6; }
.hero-bg text { font: 500 19px var(--mono); fill: #fff; letter-spacing: .04em; }
.hero-bg .dim text { fill: rgba(255,255,255,.85); font-size: 17px; }
.hero-bg .dim path { stroke: rgba(255,255,255,.7); stroke-width: 1.2; }
.hero-bg .col { fill: #fff; transform-box: fill-box; transform-origin: center; }
.hero-bg .node { fill: none; stroke: #fff; stroke-width: 1.6; }
.hero-bg .hot { fill: var(--neon); stroke: var(--navy); stroke-width: 2; }
.hero-bg .ring { stroke: var(--neon); stroke-width: 2.2; fill: none; }
.hero-bg .callout rect { fill: var(--navy); stroke: var(--neon); stroke-width: 1.5; }
.hero-bg .callout text { fill: #fff; font-size: 21px; }
.hero-bg .callout .k { fill: var(--neon); }
.hero-bg .readout { position: absolute; left: auto; right: 22px; bottom: 18px; margin: 0; color: rgba(255,255,255,.9); display: flex; }
.hero-bg .readout b { color: var(--neon); }
.hero-bg .cross i { background: rgba(223,255,0,.55); }

@media (max-width: 860px) {
  .hero-photo { flex-direction: column; align-items: stretch; padding-top: 72px; }
  .hero-bg { position: relative; top: auto; transform: none; order: -1; width: 100%; height: min(64vw, 520px); min-height: 250px; margin: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.45) 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.45) 78%, transparent 100%); }
  .hero-photo .wrap { margin-top: -9vw; }
  .hero-photo .wrap .tag { position: relative; }
  .hero-bg .readout { right: 12px; bottom: auto; top: 12px; font-size: .62rem; gap: 10px; }
}
}
@media (prefers-reduced-motion: reduce) { .hero-bg > img { animation: none; transform: none; } }

/* el bloque de texto no tapa la foto: el cursor llega a la foto */
.hero-photo .wrap { pointer-events: none; }
.hero-photo .wrap > * { pointer-events: auto; }
.hero-bg { cursor: crosshair; }
.hero-bg .cross { z-index: 3; }

/* ===== Inicio: 3 fotos de obra que rotan ===== */
.hero-slides .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slides .slide.on { opacity: 1; }
.hero-slides .slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: brightness(.72) contrast(1.08); }
.hero-slides .slide.on > img { animation: slideZoom 5.5s linear both; }
@keyframes slideZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-slides .slide svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slides .slide:not(.on) svg * { animation: none !important; }
.hero-bg .proj { fill: rgba(255,214,140,.08); stroke: #FFD68C; stroke-width: 2.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s 1.6s var(--ease-in-out) forwards; filter: drop-shadow(0 0 7px rgba(255,190,90,.95)) drop-shadow(0 0 2px #fff); }
.slide-tag { position: absolute; right: 22px; top: 18px; font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #FFD68C; text-shadow: 0 0 8px rgba(255,190,90,.9); }
.slide-dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.slide-dots i { width: 22px; height: 3px; background: rgba(255,255,255,.4); transition: background .4s, width .4s; }
.slide-dots i.on { width: 38px; background: var(--neon); }
@media (max-width: 860px) { .slide-tag { right: auto; left: 12px; top: 14px; font-size: .56rem; } .hero-bg .readout { top: 34px !important; } .slide-dots { bottom: 26%; } }
@media (prefers-reduced-motion: reduce) { .hero-slides .slide.on > img { animation: none; } }

/* Videos de obra que rotan */
.sup-head { position: static; }
.obra-video { position: relative; margin: 44px 0 0; }
.obra-video .clip { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--r-foto, 14px); background: var(--mist); }
.obra-video .clip:not(.on) { position: absolute; inset: 0 0 auto 0; opacity: 0; }
.obra-video .clip { transition: opacity 1s var(--ease); }
.obra-video .clip.on { opacity: 1; position: relative; }
.ov-tall { max-width: 400px; }
.ov-tall .clip { aspect-ratio: 4 / 5; }
.ov-wide .clip { aspect-ratio: 16 / 9; }
.obra-video .ov-live { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; background: rgba(6,17,35,.72); color: #fff; font: 500 .64rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; border-radius: 4px; backdrop-filter: blur(6px); }
.obra-video .ov-live b { font-weight: 500; }
.obra-video .ov-live i { width: 7px; height: 7px; background: var(--neon); border-radius: 50%; animation: blink 1.6s steps(2, start) infinite; }
.obra-video .ov-dots { position: absolute; right: 14px; top: 20px; z-index: 2; display: flex; gap: 5px; }
.obra-video .ov-dots i { width: 14px; height: 3px; background: rgba(255,255,255,.45); border-radius: 2px; transition: width .4s, background .4s; }
.obra-video .ov-dots i.on { width: 24px; background: var(--neon); }
.obra-video figcaption { margin-top: 12px; font: 500 .7rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); transition: opacity .4s; }
.on-navy .obra-video figcaption { color: var(--on-navy-2); }
.how-head { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(32px, 6vw, 96px); align-items: end; }
.how-head .ov-wide { margin: 0; }
@media (max-width: 900px) {
  .ov-tall { max-width: none; margin-top: 36px; }
  .how-head { grid-template-columns: 1fr; }
  .how-head .ov-wide { margin-top: 8px; }
}
