/* ==========================================================================
   ADR SOLUCIONES
   Marca (logo): negro #131814, azul petróleo #3E5D63, blanco.
   --luz es el ámbar de los LED de sus renders; se usa solo como luz, en poca dosis.
   ========================================================================== */
:root {
  --ink: #0B0E0F;
  --ink-2: #131814;
  --ink-3: #1B2324;
  --teal: #3E5D63;
  --teal-2: #6F949B;
  --teal-3: #A9C2C6;
  --paper: #E9EDEC;
  --white: #F6F7F6;
  --mute: #8D9A9C;
  --line: rgba(246, 247, 246, .14);
  --luz: #FFB64C;
  --aqua: #6FBBC6;
  --aqua-2: #D6F1F4;

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(18px, 4vw, 60px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font-family: var(--f-body); font-size: 16px; line-height: 1.55;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--teal); color: var(--white); }
:focus-visible { outline: 2px solid var(--luz); outline-offset: 3px; }

/* ---------- Tipografía base ---------- */
.tag {
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-3); display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.tag::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.tag--dark { color: var(--teal); }
.h2 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(50px, 8vw, 128px); line-height: .92; letter-spacing: -.005em;
}
em { font-style: normal; color: var(--luz); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 17px 26px; border: 1px solid transparent; border-radius: 3px; cursor: pointer;
  font-family: var(--f-body); font-weight: 600; font-size: 15px;
  background: transparent; color: var(--white);
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.btn svg, .arrow svg, .viewer__close svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--luz); }
.btn--line { border-color: rgba(246,247,246,.35); }
.btn--line:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--sm { padding: 12px 18px; font-size: 14px; }

/* ---------- Pantalla de carga ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: clip-path 1s var(--ease);
  clip-path: inset(0);
  animation: splashSafety .01s 5s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes splashSafety { to { clip-path: inset(0 0 100% 0); pointer-events: none; } }
.splash__logo { width: clamp(120px, 18vw, 180px); height: auto; animation: logoIn 1s var(--ease) both; }
@keyframes logoIn { from { opacity: 0; transform: scale(.9); } }
.splash__bar { width: 170px; height: 1px; background: var(--line); overflow: hidden; }
.splash__bar i { display: block; height: 100%; background: var(--teal-3); animation: load 1.3s var(--ease) both; transform-origin: left; }
@keyframes load { from { transform: scaleX(0); } }

.splash__txt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter); transition: padding .4s, background .4s;
}
.nav.is-scrolled { padding-top: 10px; padding-bottom: 10px; background: rgba(11,14,15,.9); }
@supports (backdrop-filter: blur(1px)) {
  .nav.is-scrolled { background: rgba(11,14,15,.62); backdrop-filter: blur(16px) saturate(1.3); }
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 50px; height: 50px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font-family: var(--f-display); font-weight: 800; font-size: 25px; letter-spacing: .06em; }
.brand__txt small { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-3); margin-top: 3px; }
.brand--lg img { width: 84px; height: 84px; }
.brand--lg .brand__txt b { font-size: 42px; }
.brand--lg .brand__txt small { font-size: 12px; }
.nav__links { display: flex; gap: 30px; font-size: 14px; }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__links a { position: relative; opacity: .8; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--luz); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
/* Botón de tres puntos */
.dots { position: relative; width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: border-color .3s, background .3s; }
.dots:hover { border-color: rgba(246,247,246,.45); }
.dots i { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 4px; background: var(--white); transition: transform .45s var(--ease), width .45s var(--ease), margin .45s var(--ease); }
.dots i:nth-child(1) { transform: translateX(-8px); }
.dots i:nth-child(3) { transform: translateX(8px); }
.dots[aria-expanded="true"] { background: var(--white); border-color: var(--white); }
.dots[aria-expanded="true"] i { width: 18px; margin-left: -9px; background: var(--ink); }
.dots[aria-expanded="true"] i:nth-child(1) { transform: rotate(45deg); }
.dots[aria-expanded="true"] i:nth-child(2) { transform: scaleX(0); }
.dots[aria-expanded="true"] i:nth-child(3) { transform: rotate(-45deg); }

/* Menú a pantalla completa */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink-2); padding: 110px var(--gutter) 30px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - var(--gutter) - 23px) 40px); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 23px) 40px); visibility: visible; transition: clip-path .8s var(--ease); }
.menu__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.menu__links { display: grid; }
.menu__links a {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding: 4px 0;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 6vw, 84px); line-height: 1.02; text-transform: uppercase;
  opacity: 0; transform: translateY(30px); transition: opacity .5s var(--ease), transform .7s var(--ease), color .3s;
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-of-type(2) { transition-delay: .05s; }
.menu.is-open .menu__links a:nth-of-type(3) { transition-delay: .1s; }
.menu.is-open .menu__links a:nth-of-type(4) { transition-delay: .15s; }
.menu.is-open .menu__links a:nth-of-type(5) { transition-delay: .2s; }
.menu.is-open .menu__links a:nth-of-type(6) { transition-delay: .25s; }
.menu__links a span { font-family: var(--f-mono); font-weight: 400; font-size: 12px; color: var(--teal-3); letter-spacing: .1em; }
.menu__links a:hover { color: var(--aqua); }
.menu__links em { white-space: nowrap; align-self: center; margin-left: 4px; padding: 4px 9px; border-radius: 99px; background: var(--aqua); color: var(--ink); font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.menu__plans { color: var(--aqua); }
.menu__sub { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0 34px; opacity: 0; transition: opacity .5s var(--ease) .3s; }
.menu.is-open .menu__sub { opacity: 1; }
.menu__sub a { padding: 8px 14px; border: 1px solid rgba(111,187,198,.45); border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--aqua); transition: background .3s, color .3s; }
.menu__sub a:hover { background: var(--aqua); color: var(--ink); }
@media (max-width: 860px) { .menu__sub { margin-left: 0; } .menu__sub a { font-size: 13px; padding: 7px 12px; } }
.menu__feature {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 420px;
  padding: 28px; border-radius: 6px; overflow: hidden; isolation: isolate;
  opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .6s var(--ease) .2s, transform .8s var(--ease) .2s;
}
.menu.is-open .menu__feature { opacity: 1; transform: none; }
.menu__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.menu__feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,14,15,.92) 8%, rgba(11,14,15,.25) 65%, rgba(11,14,15,.1)); }
.menu__feature:hover img { transform: scale(1.06); }
.menu__badge { position: absolute; top: 22px; left: 22px; padding: 6px 12px; border-radius: 99px; background: var(--aqua); color: var(--ink); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.menu__ftitle { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 3vw, 46px); line-height: .98; text-transform: uppercase; }
.menu__fsub { color: rgba(246,247,246,.82); max-width: 380px; }
.menu__go { margin-top: 6px; font-weight: 600; color: var(--aqua); }
.menu__go i { display: inline-block; font-style: normal; transition: transform .35s var(--ease); }
.menu__feature:hover .menu__go i { transform: translateX(6px); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--mute); }
.menu__foot a:hover { color: var(--white); }
@media (max-width: 860px) {
  .menu { padding-top: 92px; }
  .menu__inner { grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .menu__links a { font-size: clamp(36px, 10.5vw, 56px); }
  .menu__feature { min-height: 250px; padding-top: 64px; }
}
body.menu-open { overflow: hidden; }
@media (max-width: 920px) {
  .nav__links, .nav__right > .btn { display: none; }
  .brand img { width: 44px; height: 44px; }
}

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--ink); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,14,15,.62) 0%, rgba(11,14,15,0) 18%),
    linear-gradient(90deg, rgba(11,14,15,.82) 0%, rgba(11,14,15,.5) 34%, rgba(11,14,15,0) 62%),
    linear-gradient(0deg, rgba(11,14,15,.72), rgba(11,14,15,0) 34%);
}
.hero__copy { position: absolute; left: var(--gutter); bottom: clamp(70px, 11vh, 110px); z-index: 3; max-width: min(860px, 62vw); }
.hero__chapters { display: grid; }
.chapter {
  grid-area: 1 / 1; align-self: end;
  opacity: 0; visibility: hidden; transform: translateY(22px);
  transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .5s;
}
.chapter.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease) .1s, transform .8s var(--ease) .1s; }
.hero__title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(56px, min(8.6vw, 13.5vh), 148px); line-height: .88;
}
.hero__lead { max-width: 500px; margin-top: 22px; font-size: clamp(16px, 1.3vw, 19px); color: rgba(246,247,246,.88); }
.hero__ctas { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.chapter__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(54px, min(8vw, 13vh), 128px); line-height: .9; }
.chapter__text { margin-top: 18px; max-width: 440px; font-size: clamp(16px, 1.3vw, 19px); color: rgba(246,247,246,.9); }

.hud { position: absolute; right: calc(var(--gutter) + 80px); bottom: clamp(30px, 5vh, 44px); z-index: 3; width: min(420px, 30vw); }
.hud__steps { list-style: none; margin: 0 0 10px; padding: 0; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(246,247,246,.5); }
.hud__steps li { transition: color .4s; }
.hud__steps li.is-on { color: var(--white); }
.hud__bar { display: block; height: 1px; background: rgba(246,247,246,.25); }
.hud__bar i { display: block; height: 100%; background: var(--luz); transform: scaleX(0); transform-origin: left; }

@media (max-width: 760px) {
  .hero__video { object-position: 58% center; }
  .hero__scrim { background: linear-gradient(180deg, rgba(11,14,15,.6) 0%, rgba(11,14,15,0) 16%), linear-gradient(0deg, rgba(11,14,15,.94) 0%, rgba(11,14,15,.74) 42%, rgba(11,14,15,0) 68%); }
  .hero__copy { max-width: none; right: var(--gutter); bottom: 66px; }
  .hero__title { font-size: clamp(50px, 14.6vw, 92px); }
  .chapter__title { font-size: clamp(48px, 13.6vw, 88px); }
  .hero__lead { margin-top: 14px; font-size: 15.5px; }
  .hero__ctas { margin-top: 18px; }
  .hud { left: var(--gutter); right: calc(var(--gutter) + 72px); width: auto; bottom: 26px; }
  .hud__steps { font-size: 10px; letter-spacing: .02em; }
}

/* ---------- DECLARACIÓN ---------- */
.statement { padding: clamp(100px, 15vw, 210px) var(--gutter); }
.statement__text {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(46px, 8.4vw, 150px); line-height: .96; max-width: 1500px;
}
.statement__text strong {
  font-weight: 800; color: transparent;
  background: linear-gradient(100deg, var(--aqua) 0 40%, var(--aqua-2) 50%, var(--aqua) 60% 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: shine 6s linear infinite;
}
@keyframes shine { from { background-position: 100% 0; } to { background-position: -50% 0; } }

/* ---------- PROYECTOS ---------- */
.work { padding: 0 var(--gutter) clamp(90px, 11vw, 150px); }
.work__grid { display: grid; grid-template-columns: minmax(280px, 1fr) 2.6fr; gap: clamp(24px, 3.4vw, 56px); margin-top: clamp(36px, 4vw, 60px); align-items: start; }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { border-top: 1px solid var(--line); }
.plist li:last-child { border-bottom: 1px solid var(--line); }
.pt { position: relative; width: 100%; display: grid; grid-template-columns: 16px 1fr; column-gap: 12px; align-items: center; padding: 18px 4px; background: none; border: 0; text-align: left; cursor: pointer; opacity: .62; transition: opacity .3s; }
.pt:hover, .pt.is-on { opacity: 1; }
.pt i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--teal-3); transition: background .3s, box-shadow .3s, border-color .3s; }
.pt.is-on i { background: var(--luz); border-color: var(--luz); box-shadow: 0 0 0 4px rgba(255,182,76,.22); }
.pt span { font-weight: 600; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.25; }
.pt small { grid-column: 2; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }
.pstage__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--ink-3); }
.pm { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.pm.is-on { opacity: 1; }
.pm img, .pm video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm img { animation: kb 14s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.06); } }
.pstage__bar { display: block; height: 2px; margin-top: 10px; background: var(--line); }
.pstage__bar i { display: block; height: 100%; background: var(--luz); transform: scaleX(0); transform-origin: left; }
.pstage__info { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-top: 18px; }
.pstage__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3.2vw, 50px); line-height: 1; text-transform: uppercase; }
.pstage__text { margin-top: 8px; max-width: 560px; color: rgba(246,247,246,.74); }
.pstage__side { display: flex; align-items: center; gap: 16px; flex: none; }
.pdots { display: flex; gap: 8px; }
.pdot { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; font-family: var(--f-mono); font-size: 11px; color: var(--mute); transition: background .3s, color .3s, border-color .3s; }
.pdot:hover { border-color: var(--teal-3); color: var(--white); }
.pdot.is-on { background: var(--white); border-color: var(--white); color: var(--ink); }
@media (max-width: 900px) {
  .work__grid { grid-template-columns: 1fr; }
  .pstage { grid-row: 1; }
  .pstage__info { flex-direction: column; }
  .pstage__side { width: 100%; justify-content: space-between; }
}

/* ---------- CASA REAL A CADA HORA ---------- */
.lab { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--ink-2); }
.lab__stage { position: absolute; inset: 0; animation: kb 22s ease-in-out infinite alternate; }
.lab__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: opacity; }
.lab__grad { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(11,14,15,.74), rgba(11,14,15,0) 46%), linear-gradient(180deg, rgba(11,14,15,.58), rgba(11,14,15,0) 28%); }
.lab__head { position: absolute; left: var(--gutter); top: clamp(84px, 13vh, 120px); z-index: 2; max-width: 620px; }
.lab__head .h2 { font-size: clamp(50px, 7vw, 112px); }
.lab__lead { margin-top: 14px; max-width: 420px; color: rgba(246,247,246,.92); font-size: 17px; }
.panel {
  position: absolute; right: var(--gutter); bottom: clamp(24px, 4vh, 40px); z-index: 3; width: min(360px, 100%);
  padding: 22px; display: grid; gap: 16px; border-radius: 4px;
  background: rgba(11,14,15,.92); border: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) {
  .panel { background: rgba(11,14,15,.62); backdrop-filter: blur(20px) saturate(1.3); }
}
.panel__row { display: grid; gap: 10px; }
.panel__row--hour { grid-template-columns: 1fr auto; align-items: baseline; }
.panel__row--hour input { grid-column: 1 / -1; }
.panel label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-3); }
.panel output { font-family: var(--f-display); font-weight: 700; font-size: 25px; line-height: 1; color: var(--luz); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, #f3b58a, #d8ebf3 30%, #f7c48f 68%, #ef8650 78%, #10192e); }
input[type=range]::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, #f3b58a, #d8ebf3 30%, #f7c48f 68%, #ef8650 78%, #10192e); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10.5px; border-radius: 50%; background: var(--white); border: 5px solid var(--ink); box-shadow: 0 0 0 1px var(--white); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 5px solid var(--ink); box-shadow: 0 0 0 1px var(--white); }
.panel__cta { width: 100%; }
.panel__note { font-size: 12px; color: rgba(246,247,246,.66); line-height: 1.4; }
@media (max-width: 760px) {
  .lab { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .lab__stage { position: relative; height: 66svh; min-height: 440px; flex: none; overflow: hidden; }
  .lab__stage img { object-position: 44% 50%; }
  .lab__grad { height: 66svh; min-height: 440px; bottom: auto; background: linear-gradient(180deg, rgba(11,14,15,.78), rgba(11,14,15,.3) 42%, rgba(11,14,15,0) 62%); }
  .lab__head { top: 76px; right: var(--gutter); }
  .lab__lead { font-size: 15.5px; }
  .panel { position: relative; right: auto; bottom: auto; width: auto; border-width: 1px 0 0; border-radius: 0; background: var(--ink-2); backdrop-filter: none; padding: 24px var(--gutter) 34px; }
}

/* ---------- SERVICIOS ---------- */
.services { background: var(--paper); color: var(--ink); padding: clamp(90px, 12vw, 170px) var(--gutter); }
.services__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.services .h2 { font-size: clamp(50px, 7vw, 112px); }
.svc { list-style: none; margin: 48px 0 0; padding: 0; }
.svc__item { border-top: 1px solid rgba(11,14,15,.2); }
.svc__item:last-child { border-bottom: 1px solid rgba(11,14,15,.2); }
.svc__btn { width: 100%; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 8px; padding: 20px 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); }
.svc__btn span { font-family: var(--f-mono); font-size: 12px; color: var(--teal); }
.svc__btn h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 3.5vw, 54px); line-height: 1; text-transform: uppercase; transition: transform .45s var(--ease), color .3s; }
.svc__btn:hover h3 { transform: translateX(8px); }
.svc__item.is-open h3 { color: var(--teal); }
.svc__btn i { position: relative; width: 20px; height: 20px; transition: transform .4s var(--ease); }
.svc__btn i::before, .svc__btn i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.svc__btn i::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc__item.is-open .svc__btn i { transform: rotate(45deg); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.svc__body > div { overflow: hidden; padding-left: 52px; }
.svc__item.is-open .svc__body { grid-template-rows: 1fr; }
.svc__body p { max-width: 520px; color: rgba(11,14,15,.75); }
.svc__body a { display: inline-block; margin: 14px 0 24px; font-weight: 600; border-bottom: 1px solid currentColor; }
.services__media { position: sticky; top: 100px; perspective: 1200px; }
.tiltbox { --rx: 0deg; --ry: 0deg; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--ink-3); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease); box-shadow: 0 50px 80px -40px rgba(11,14,15,.55); }
.tiltbox img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; animation: kb 12s ease-in-out infinite alternate; }
@media (max-width: 860px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__media { position: relative; top: 0; grid-row: 2; }
  .tiltbox { aspect-ratio: 16 / 10; }
  .svc__body > div { padding-left: 0; }
  .svc__btn { grid-template-columns: 34px 1fr 24px; }
}

/* ---------- POR QUÉ ---------- */
.why { padding: clamp(100px, 13vw, 180px) var(--gutter); }
.why__head { max-width: 1200px; }
.why__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(50px, 6vw, 80px); }
.block { padding: 28px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 4px; }
.block h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.02; text-transform: uppercase; margin-top: 34px; }
.block p { margin-top: 12px; color: rgba(246,247,246,.72); }
@media (max-width: 860px) { .why__cards { grid-template-columns: 1fr; } }

/* Volúmenes isométricos que evocan las torres del logo */
.iso { position: relative; height: 150px; }
.iso i { position: absolute; left: 50%; bottom: 14px; width: 60px; height: var(--h, 70px); margin-left: -30px; transform-style: preserve-3d; background: var(--teal); transform: translateX(var(--x, 0)) skewY(14deg); transition: height .7s var(--ease), background .4s; }
.iso i::before { content: ""; position: absolute; left: 100%; top: 0; width: 44px; height: 100%; background: repeating-linear-gradient(0deg, #2b4246 0 7px, #1c2c2f 7px 14px); transform-origin: left; transform: skewY(-28deg); }
.iso i::after { content: ""; position: absolute; left: 0; bottom: 100%; width: 60px; height: 44px; background: var(--teal-2); transform-origin: bottom left; transform: skewX(-62deg) scaleY(.62); }
.iso i:nth-child(1) { --x: -74px; --h: 54px; }
.iso i:nth-child(2) { --x: 0px; --h: 92px; }
.iso i:nth-child(3) { --x: 74px; --h: 62px; }
.iso--b i:nth-child(1) { --h: 84px; } .iso--b i:nth-child(2) { --h: 48px; } .iso--b i:nth-child(3) { --h: 78px; }
.iso--c i:nth-child(1) { --h: 40px; } .iso--c i:nth-child(2) { --h: 66px; } .iso--c i:nth-child(3) { --h: 100px; }
.iso i { animation: rise 5.5s ease-in-out infinite alternate; }
.iso i:nth-child(2) { animation-delay: -1.8s; }
.iso i:nth-child(3) { animation-delay: -3.4s; }
.iso--b i { animation-duration: 6.5s; }
.iso--c i { animation-duration: 4.8s; }
@keyframes rise { from { transform: translateX(var(--x, 0)) skewY(14deg) translateY(0); height: var(--h, 70px); } to { transform: translateX(var(--x, 0)) skewY(14deg) translateY(0); height: calc(var(--h, 70px) + 34px); } }

/* ---------- PAÍSES ---------- */
.ribbon { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); }
.ribbon__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: ribbon 36s linear infinite; }
.ribbon span { font-family: var(--f-display); font-weight: 300; font-size: clamp(44px, 6vw, 92px); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.ribbon i { width: 9px; height: 9px; background: var(--teal-2); transform: rotate(45deg); flex: none; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- PREGUNTAS ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 6vw, 90px); padding: clamp(90px, 12vw, 170px) var(--gutter); }
.faq .h2 { font-size: clamp(46px, 5.8vw, 92px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 18px; height: 18px; transition: transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--white); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 34px 26px 0; max-width: 620px; color: rgba(246,247,246,.74); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- CONTACTO ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); padding: clamp(90px, 12vw, 170px) var(--gutter); background: var(--teal); }
.contact .tag { color: var(--white); }
.contact__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(66px, 11.4vw, 188px); line-height: .86; }
.contact__lead { margin-top: 26px; max-width: 420px; font-size: 19px; }
.contact__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.ig { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; border: 1px solid rgba(246,247,246,.4); border-radius: 3px; font-size: 14.5px; font-weight: 500; transition: background .35s, color .35s, border-color .35s; }
.ig svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.ig svg .dot { fill: currentColor; }
.ig:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; padding: clamp(22px, 2.6vw, 34px); background: var(--ink); border-radius: 4px; }
.field { display: grid; gap: 7px; }
.field--full, .form__err, .form__send, .form__note { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; background: var(--ink-3); color: var(--white); border: 1px solid transparent; border-radius: 3px;
  font: inherit; font-size: 16px; transition: border-color .3s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--teal-3); }
.field ::placeholder { color: var(--mute); }
.form__err { color: var(--luz); font-size: 14px; }
.form__note { font-size: 12.5px; color: var(--mute); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form { grid-template-columns: 1fr; } }

/* ---------- PIE ---------- */
.footer { padding: clamp(50px, 6vw, 80px) var(--gutter) 30px; }
.footer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__claim { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 4vw, 60px); line-height: 1; text-transform: uppercase; max-width: 560px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; margin-top: 46px; padding: 18px 90px 0 0; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--mute); }
.footer__bottom a:hover { color: var(--white); }

/* ---------- WHATSAPP ---------- */
.wa { position: fixed; right: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px); z-index: 70; display: flex; align-items: center; }
.wa__ico { position: relative; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #1FAF55; box-shadow: 0 16px 34px -10px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .4s var(--ease), background .3s; }
.wa__ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid #25D366; animation: waRing 3s var(--ease) infinite; }
@keyframes waRing { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.wa__ico svg { width: 31px; height: 31px; }
.wa__label { margin-right: 10px; padding: 10px 14px; border-radius: 3px; background: var(--white); color: var(--ink); font-size: 13.5px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(10px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.wa:hover .wa__label, .wa:focus-visible .wa__label { opacity: 1; transform: none; }
.wa:hover .wa__ico { transform: scale(1.07); background: #25D366; }

/* ---------- VISOR ---------- */
.viewer { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5,7,8,.96); color: var(--white); }
.viewer::backdrop { background: rgba(5,7,8,.96); }
.viewer[open] { display: grid; place-items: center; }
.viewer__stage { width: min(94vw, 1500px); max-height: 88vh; }
.viewer__stage video, .viewer__stage img { width: 100%; max-height: 88vh; object-fit: contain; margin: auto; }
.viewer__close { position: absolute; right: 18px; top: 18px; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(246,247,246,.1); border: 1px solid var(--line); border-radius: 3px; cursor: pointer; }
.viewer__close:hover { background: var(--white); color: var(--ink); }

/* Solo apagamos lo que se mueve sin que nadie lo pida */
@media (prefers-reduced-motion: reduce) {
  .wa__ico::after, .lab__hint svg { animation: none; }
}
