:root {
  color-scheme: light;
  --font-sans: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #ffffff;
  --fg: #0a0a0a;
  --hero-blue: #5d97ad;
  --hero-blue-soft: #a9cbd4;
  --hero-cloud: #eef0ec;
  --accent: #5d97ad;
  --accent-soft: #d6ecf1;
  --wa: #25d366;
  --hero-bg-top: linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.12));
  --hero-max-width: 1820px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ================= MISSION ================= */
.mission {
  position: relative;
  z-index: 40;
  min-height: 100vh;
  margin-top: -12vh;
  background: #ffffff;
  color: #161616;
}

.mission__inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 2fr);
  grid-template-rows: auto minmax(360px, 1fr);
  column-gap: clamp(56px, 8vw, 170px);
  row-gap: clamp(76px, 5vw, 104px);
  width: min(100% - 96px, var(--hero-max-width));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(34px, 3vw, 54px) 0 clamp(32px, 4vw, 62px);
}

.mission__eyebrow { grid-column: 1; grid-row: 1; align-self: start; margin: 0; color: #202020; font-size: clamp(13px, 0.9vw, 16.8px); font-weight: 700; line-height: 1.22; }
.mission__statement { grid-column: 2; grid-row: 1; align-self: start; max-width: 1180px; }
.mission__statement h2 { margin: 0; color: #141414; font-size: clamp(29px, 1.95vw, 41.3px); font-weight: 260; line-height: 1.18; }

.mission__button { display: inline-flex; align-items: center; gap: 6px; margin-top: clamp(46px, 3.3vw, 72px); color: #171717; font-size: clamp(13.8px, 1vw, 18.3px); font-weight: 700; line-height: 1; }
.mission__button span:last-child { display: inline-flex; align-items: center; min-height: clamp(58px, 3.65vw, 72px); padding: 0 clamp(18px, 1.35vw, 26px); border: 1px solid #c6c6c6; border-radius: 5px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.04); }
.mission__button-icon { position: relative; display: inline-grid; place-items: center; width: clamp(58px, 3.65vw, 72px); aspect-ratio: 1; border-radius: 5px; background: var(--accent-soft); transition: background 180ms ease, transform 180ms ease; }
.mission__button-icon .ph { font-size: clamp(22px, 1.5vw, 28px); display: block; }
.mission__button:hover .mission__button-icon { background: #bfe0e8; transform: translate(2px, 2px); }

.mission__support { grid-column: 1; grid-row: 2; align-self: start; max-width: 520px; margin: 0; color: #5f5f5f; font-size: clamp(23.7px, 1.56vw, 30.6px); font-weight: 370; line-height: 1.18; }
.mission__media { grid-column: 2; grid-row: 2; align-self: start; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: transparent; }

/* ================= HERO ================= */
.hero { position: relative; height: 180vh; min-height: 1238px; overflow: clip; background: var(--hero-blue); }

.hero__background {
  position: sticky; top: 0; z-index: 0; height: 100vh; overflow: hidden;
  background: linear-gradient(180deg, var(--hero-top, #5d97ad) 0%, var(--hero-mid, #a9cbd4) 55%, var(--hero-bottom, #eef0ec) 100%);
}

.hero__bg-layer { position: absolute; inset: 0; pointer-events: none; }
.hero__bg-layer--bottom { background: radial-gradient(circle at 52% 26%, rgb(255 255 255 / 0.26), transparent 35%), linear-gradient(180deg, rgb(40 110 140 / 0.14), rgb(255 255 255 / 0)); }
.hero__bg-layer--top { z-index: 1; background: var(--hero-bg-top); mix-blend-mode: screen; }

/* destellos: como brillos de limpio */
.hero__stars {
  position: absolute; inset: 0 0 auto; z-index: 2; height: 240px; pointer-events: none;
  background-image:
    radial-gradient(circle, rgb(255 255 255 / 0.85) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgb(255 255 255 / 0.6) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgb(255 255 255 / 0.7) 0 1px, transparent 1.7px);
  background-position: 10% 24%, 38% 16%, 76% 32%;
  background-size: 180px 94px, 260px 120px, 340px 150px;
  opacity: 0.45;
  animation: hero-stars-twinkle 4.8s ease-in-out infinite alternate;
}
@keyframes hero-stars-twinkle { 0% { opacity: 0.18; filter: brightness(0.92); } 50% { opacity: 0.6; filter: brightness(1.12); } 100% { opacity: 0.34; } }

/* burbujas que suben despacio */
.hero__bubbles { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hero__bubbles i {
  position: absolute; bottom: -60px; left: var(--x); width: var(--s); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgb(255 255 255 / 0.9) 0 8%, rgb(255 255 255 / 0.18) 18%, rgb(255 255 255 / 0.05) 60%, rgb(255 255 255 / 0.35) 72%, transparent 74%);
  opacity: 0.7;
  animation: bubble-up var(--d) linear infinite;
  animation-delay: var(--delay);
}
@keyframes bubble-up {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: 0.75; }
  100% { transform: translate3d(var(--drift), -115vh, 0); opacity: 0; }
}

.hero__nav {
  position: fixed; top: 0; left: 50%; z-index: 100;
  display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 1fr); align-items: center; gap: 32px;
  width: min(100% - 96px, var(--hero-max-width)); margin: 0; padding: 27px 16px 16px; color: #ffffff;
  transform: translate3d(-50%, 0, 0);
  transition: background-color 300ms ease, color 300ms ease, transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease, padding 300ms ease;
  border: 1px solid transparent; border-radius: 0;
}
.hero__nav.nav--scroll-down {
  transform: translate3d(-50%, 16px, 0);
  background-color: rgba(255, 255, 255, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #111111; padding: 14px 24px; border-radius: 40px; border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.08), 0 4px 12px -5px rgba(0, 0, 0, 0.03);
}
.hero__nav.nav--scroll-down .brand__name { color: #111111; }
.hero__nav.nav--scroll-down .brand__mark { background: #111111; }
.hero__nav.nav--scroll-down .hero__links { color: rgba(17, 17, 17, 0.8); }
.hero__nav.nav--scroll-down .hero__links a:hover { color: #111111; }
.hero__nav.nav--scroll-down .hero__cta { background: #111111; color: #ffffff; box-shadow: none; }
.hero__nav.nav--scroll-up { transform: translate3d(-50%, -100px, 0); pointer-events: none; }

.brand { display: inline-flex; align-items: center; justify-self: start; gap: 8px; min-width: 0; }
.brand__mark { position: relative; display: grid; place-items: center; width: 29px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #ffffff; transition: background-color 300ms ease; }
.brand__mark::before {
  content: ""; position: absolute; inset: -8px; background: var(--hero-blue);
  clip-path: polygon(0 20%, 100% 8%, 100% 19%, 0 31%, 0 43%, 100% 31%, 100% 42%, 0 54%, 0 66%, 100% 54%, 100% 65%, 0 77%);
}
.brand__name { color: #ffffff; font-size: 24px; font-weight: 560; line-height: 1; transition: color 300ms ease; white-space: nowrap; }

.hero__links { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 2.55vw, 44px); color: rgb(255 255 255 / 0.9); font-size: 14px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.hero__links a { transition: color 160ms ease; }
.hero__links a:hover { color: #ffffff; }

.hero__cta {
  justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 122px; min-height: 46px; padding: 0 17px; border-radius: 6px;
  background: rgb(236 248 251 / 0.92); color: #111111; font-size: 14px; font-weight: 600; line-height: 20px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.42);
  transition: background 160ms ease, transform 160ms ease, color 160ms ease;
}
.hero__cta .ph { font-size: 18px; }
.hero__cta:hover { background: #ffffff; transform: translateY(-1px); }

.hero__content { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; height: 100vh; width: min(100%, var(--hero-max-width)); margin: 0 auto; pointer-events: none; }

.hero__title {
  position: fixed; top: calc(50% - 56px - clamp(82px, 8vw, 126px)); left: 4%; z-index: 10;
  display: flex; flex-direction: column; align-items: flex-start; margin: 0; width: 96vw;
  color: #ffffff; font-weight: 200; line-height: 0.88; pointer-events: none;
  transform: translate3d(0, var(--scroll-y, 0px), 0); will-change: transform, opacity;
}
.hero__title-line { display: block; font-size: clamp(130px, 17vw, 275px); white-space: nowrap; letter-spacing: -0.02em; }
.hero__title-line--one { position: relative; z-index: 10; }

.hero__title-row {
  position: fixed; top: calc(50% - 56px + clamp(50px, 4.5vw, 90px)); left: 4%; z-index: 2;
  display: flex; align-items: baseline; gap: clamp(112px, 12vw, 224px); color: #ffffff; font-weight: 200; pointer-events: none;
  transform: translate3d(15vw, var(--scroll-y, 0px), 0); will-change: transform, opacity;
}
.hero__title-line--two, .hero__title-line--three { position: relative; }
.hero__title-line--three { transform: translateX(112px); }

/* intro cinematográfica de las letras */
.hero__title-line { animation: title-in 1400ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__title-line--two { animation-delay: 160ms; }
.hero__title-line--three { animation-delay: 300ms; }
@keyframes title-in { from { opacity: 0; filter: blur(18px); translate: 0 40px; } to { opacity: 1; filter: blur(0); translate: 0 0; } }

.hero-visual {
  position: fixed; z-index: 3; left: 50%; top: -15px;
  height: calc((100% + 15px) * 1.4); max-width: calc(100vw - 96px); max-height: 1023px; aspect-ratio: 2 / 3;
  transform: translate3d(-50%, var(--scroll-y, 0px), 0); will-change: transform, opacity;
  filter: drop-shadow(0 28px 34px rgb(20 50 60 / 0.25));
  animation: visual-in 1600ms 200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes visual-in { from { opacity: 0; translate: 0 80px; scale: 0.94; } to { opacity: 1; translate: 0 0; scale: 1; } }
.hero-visual__asset { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

.hero__caption {
  position: fixed; z-index: 4; left: clamp(24px, 3.85vw, 78px); bottom: 28px;
  display: inline-flex; align-items: center; gap: 24px; max-width: min(220px, calc(50vw - 112px)); margin: 0;
  color: rgb(30 40 42 / 0.62); font-size: 16px; font-weight: 400; line-height: 22px;
  transform: translate3d(0, var(--scroll-y, 0px), 0); will-change: transform, opacity;
}
.hero__caption::before { content: ""; display: block; flex: 0 0 1px; height: 44px; background: rgb(42 42 42 / 0.32); }

.hero__scroll {
  position: fixed; z-index: 4; right: clamp(24px, 3.85vw, 78px); bottom: 28px;
  display: inline-flex; align-items: center; gap: 10px; color: rgb(30 40 42 / 0.62); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  transform: translate3d(0, var(--scroll-y, 0px), 0);
}
.hero__scroll i { display: block; width: 1px; height: 38px; background: linear-gradient(180deg, transparent, rgb(30 40 42 / 0.6)); animation: scroll-hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes scroll-hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.hero.is-past .hero__title, .hero.is-past .hero__title-row, .hero.is-past .hero__caption, .hero.is-past .hero__scroll, .hero.is-past .hero-visual { opacity: 0 !important; pointer-events: none; }

@media (max-width: 1180px) {
  .mission__inner { grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.7fr); column-gap: clamp(36px, 5vw, 72px); width: min(100% - 48px, var(--hero-max-width)); }
  .mission__statement h2 { font-size: clamp(26px, 3.37vw, 38.2px); }
  .mission__support { font-size: clamp(20.6px, 2.3vw, 26px); }
  .hero__nav { grid-template-columns: auto 1fr auto; width: min(100% - 48px, var(--hero-max-width)); }
  .hero__links { gap: 20px; }
  .brand__name { font-size: 22px; }
}

@media (max-width: 860px) {
  .mission { margin-top: -8vh; }
  .mission__inner { display: flex; flex-direction: column; gap: 44px; width: min(100% - 48px, var(--hero-max-width)); min-height: auto; padding: 34px 0 40px; }
  .mission__statement h2 { font-size: clamp(24px, 6.6vw, 36px); line-height: 1.14; }
  .mission__button { margin-top: 34px; font-size: 13.8px; }
  .mission__button-icon { width: 56px; }
  .mission__support { max-width: 640px; margin: 24px 0 0; font-size: clamp(19.9px, 5.35vw, 26px); }
  .hero__nav { grid-template-columns: 1fr auto; padding-top: 22px; }
  .hero__links { display: none; }
  .hero__title-line { font-size: clamp(84px, 24vw, 180px); }
  .hero__title { top: calc(50% - 56px - clamp(58px, 14vw, 90px)); left: 5%; }
  .hero__title-row { top: calc(50% - 56px + clamp(28px, 7vw, 58px)); left: 5%; gap: clamp(60px, 14vw, 120px); transform: translate3d(8vw, var(--scroll-y, 0px), 0); }
  .hero__title-line--three { transform: translateX(40px); }
  .hero-visual { top: -19px; height: calc((100% + 19px) * 1.4); max-height: 868px; }
  .hero__scroll { display: none; }
}

@media (max-width: 560px) {
  .mission__inner { width: min(100% - 32px, var(--hero-max-width)); }
  .mission__eyebrow { max-width: 260px; font-size: 12.2px; }
  .mission__media { aspect-ratio: 4 / 3; }
  .hero__nav { width: min(100% - 32px, var(--hero-max-width)); gap: 12px; padding-left: 4px; padding-right: 4px; }
  .hero__nav.nav--scroll-down { padding: 10px 12px 10px 16px; }
  .brand__mark { width: 24px; }
  .brand__name { font-size: 17px; }
  .hero__cta { min-width: auto; min-height: 38px; padding: 0 12px; font-size: 13px; }
  .hero__title-line { font-size: clamp(72px, 23vw, 130px); }
  .hero__title-row { gap: 6vw; transform: translate3d(3vw, var(--scroll-y, 0px), 0); }
  .hero__title-line--three { transform: none; }
  .hero__caption { left: 16px; bottom: 20px; max-width: 70vw; font-size: 14px; }
}

/* ================= SHOWCASE (vídeo que se expande) ================= */
.showcase-film { position: fixed; top: 0; left: 0; width: 1px; height: 1px; z-index: 45; overflow: hidden; background: #d7dde4; opacity: 0; pointer-events: none; will-change: top, left, width, height, opacity; }
.showcase-film__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(var(--film-zoom, 1.08)); }
.showcase-film__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 0.85), rgb(0 0 0 / 0.25) 55%, rgb(0 0 0 / 0.35)); pointer-events: none; }
.showcase-film__bars::before, .showcase-film__bars::after { content: ""; position: absolute; left: 0; right: 0; height: var(--bars, 0px); background: #000; z-index: 2; }
.showcase-film__bars::before { top: 0; }
.showcase-film__bars::after { bottom: 0; }

.showcase { position: relative; z-index: 50; height: 600vh; }
.showcase__sticky { position: sticky; top: 0; height: 100vh; overflow: visible; }
.showcase__ui { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto; align-items: end; padding: clamp(32px, 4vw, 72px) clamp(32px, 4.5vw, 80px); pointer-events: none; will-change: opacity; }
.showcase__panels { grid-column: 1; position: relative; min-height: clamp(260px, 36vh, 440px); max-width: 680px; }
.showcase__panel { position: absolute; bottom: 0; left: 0; right: 0; opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity 560ms cubic-bezier(0.4, 0, 0.2, 1), transform 560ms cubic-bezier(0.4, 0, 0.2, 1), filter 560ms ease; pointer-events: none; }
.showcase__panel.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.showcase__panel-num { display: block; margin: 0 0 clamp(12px, 1.1vw, 22px); color: rgb(255 255 255 / 0.5); font-size: clamp(11px, 0.78vw, 14px); font-weight: 600; letter-spacing: 0.12em; line-height: 1; text-transform: uppercase; }
.showcase__panel-title { margin: 0 0 clamp(14px, 1.3vw, 26px); color: #ffffff; font-size: clamp(38px, 4.4vw, 80px); font-weight: 200; line-height: 1.07; letter-spacing: -0.022em; }
.showcase__panel-desc { max-width: 520px; margin: 0; color: rgb(255 255 255 / 0.72); font-size: clamp(14px, 1.05vw, 18px); line-height: 1.6; }
.showcase__panel-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: #fff; font-size: 14px; font-weight: 700; border-bottom: 1px solid rgb(255 255 255 / 0.4); padding-bottom: 4px; }

.showcase__tabs-nav { grid-column: 2; display: flex; flex-direction: column; align-items: flex-end; gap: clamp(10px, 0.9vw, 20px); padding-left: clamp(36px, 5vw, 120px); pointer-events: auto; }
.showcase__tab { display: flex; align-items: center; gap: clamp(8px, 0.7vw, 14px); color: rgb(255 255 255 / 0.32); font-size: clamp(12px, 0.82vw, 15px); font-weight: 500; line-height: 1; white-space: nowrap; user-select: none; transition: color 320ms ease; }
.showcase__tab.is-active { color: #ffffff; }
.showcase__tab-bar { display: block; flex-shrink: 0; width: 1px; height: 14px; background: currentColor; opacity: 0; transition: opacity 320ms ease; }
.showcase__tab.is-active .showcase__tab-bar { opacity: 1; }
.showcase__tab-num { font-weight: 600; font-size: clamp(11px, 0.72vw, 13px); color: rgb(255 255 255 / 0.4); }
.showcase__tab.is-active .showcase__tab-num { color: rgb(255 255 255 / 0.7); }

.showcase__progress { position: absolute; left: clamp(32px, 4.5vw, 80px); right: clamp(32px, 4.5vw, 80px); top: clamp(96px, 12vh, 130px); height: 1px; background: rgb(255 255 255 / 0.18); pointer-events: none; }
.showcase__progress i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }

.sound-toggle {
  position: absolute; right: clamp(32px, 4.5vw, 80px); top: clamp(112px, 14vh, 150px);
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.3); background: rgb(255 255 255 / 0.12); color: #fff; font: inherit; font-size: 13px; font-weight: 600;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer; pointer-events: auto;
}
.sound-toggle .ph { font-size: 18px; }
.sound-toggle__eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.sound-toggle__eq b { width: 2px; height: 30%; background: #fff; border-radius: 1px; }
.sound-toggle.is-on .sound-toggle__eq b { animation: eq 900ms ease-in-out infinite alternate; }
.sound-toggle.is-on .sound-toggle__eq b:nth-child(2) { animation-delay: 200ms; }
.sound-toggle.is-on .sound-toggle__eq b:nth-child(3) { animation-delay: 400ms; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }

@media (max-width: 860px) {
  .showcase__ui { grid-template-columns: 1fr; }
  .showcase__tabs-nav { display: none; }
  .showcase__panel-title { font-size: clamp(30px, 8vw, 54px); }
}
@media (max-width: 560px) {
  .showcase__ui { padding: 28px 22px; }
  .showcase__panel-title { font-size: clamp(28px, 9vw, 42px); }
  .showcase__panel-desc { font-size: 14px; }
  .sound-toggle { right: 22px; top: 96px; }
  .showcase__progress { left: 22px; right: 22px; top: 84px; }
}

/* ================= CAPABILITIES ================= */
.capabilities { position: relative; z-index: 70; min-height: 100vh; padding: clamp(34px, 4vw, 72px) clamp(16px, 3.8vw, 72px); background: #f6f8f8; color: #111111; }
.capabilities__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; max-width: var(--hero-max-width); margin: 0 auto clamp(24px, 3vw, 42px); }
.capabilities__intro { max-width: 860px; }
.capabilities__intro h2 { max-width: 920px; margin: 0; font-size: clamp(29px, 3.2vw, 54px); font-weight: 300; line-height: 1.08; }
.capabilities__intro p { max-width: 760px; margin: 18px 0 0; color: #677070; font-size: clamp(14px, 1vw, 17px); line-height: 1.62; }

.capabilities__button {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px;
  border: 1px solid rgb(17 17 17 / 0.1); border-radius: 999px; background: rgb(255 255 255 / 0.78); color: #111111; font-size: 14px; font-weight: 700;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.95), 0 18px 44px rgb(31 44 44 / 0.08);
}
.capabilities__button .ph { font-size: 18px; }

.capabilities__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.25vw, 22px); max-width: var(--hero-max-width); min-height: clamp(620px, 72vh, 780px); margin: 0 auto; }
.capabilities__stack { display: grid; grid-template-rows: minmax(210px, 0.74fr) minmax(270px, 1fr); gap: clamp(14px, 1.25vw, 22px); min-width: 0; }
.capabilities__stack--systems { grid-template-rows: minmax(420px, 1.45fr) auto; }

.cap-card { position: relative; overflow: hidden; border: 1px solid rgb(18 35 35 / 0.09); border-radius: 18px; background: #ffffff; box-shadow: 0 22px 60px rgb(21 34 34 / 0.08); }
.cap-card--media, .cap-card--metric { color: #ffffff; background: #dce3e3; }
.cap-card__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.cap-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(5 12 14 / 0.3), transparent 34%), linear-gradient(0deg, rgb(5 12 14 / 0.8), transparent 52%); }

.cap-card__label { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 24px; color: rgb(255 255 255 / 0.82); font-size: 11px; font-weight: 760; letter-spacing: 0.18em; line-height: 1; text-transform: uppercase; }
.cap-card__label--left { justify-content: flex-start; padding: 0; color: #758080; }

.cap-card__timeline { position: absolute; z-index: 1; right: 20px; bottom: 20px; left: 20px; display: grid; gap: 12px; }
.cap-card__timeline div { display: grid; grid-template-columns: 78px 12px minmax(0, 1fr) auto; align-items: center; gap: 10px; color: rgb(255 255 255 / 0.82); font-size: 12px; line-height: 1.2; }
.cap-card__timeline span { font-weight: 700; color: #fff; }
.cap-card__timeline b { display: block; width: 5px; height: 5px; border-radius: 50%; background: rgb(255 255 255 / 0.62); }
.cap-card__timeline strong { min-width: 0; color: #ffffff; font-size: clamp(13px, 0.95vw, 15px); font-weight: 650; }
.cap-card__timeline em { color: rgb(255 255 255 / 0.62); font-style: normal; white-space: nowrap; }

.cap-card--quote, .cap-card--contact { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; background: linear-gradient(135deg, rgb(255 255 255 / 0.72), rgb(236 245 247 / 0.9)), #edf3f4; }
.cap-card--video-panel > :not(.cap-card__video, .cap-card__shade) { position: relative; z-index: 1; }
.cap-card--quote p, .cap-card--contact p { margin: 0; color: #6b7676; font-size: 14px; line-height: 1.5; }

.steps { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: baseline; color: #263030; font-size: clamp(14px, 0.98vw, 17px); line-height: 1.45; }
.steps b { color: var(--accent); font-size: 12px; font-weight: 760; letter-spacing: 0.1em; }

.cap-card--metric { display: block; min-height: 320px; }
.cap-card__metric { position: absolute; inset: 0; z-index: 1; text-align: center; text-shadow: 0 12px 32px rgb(0 0 0 / 0.3); }
.cap-card__metric strong { position: absolute; top: 50%; left: 50%; font-size: clamp(82px, 7.4vw, 134px); font-weight: 220; line-height: 0.9; transform: translate(-50%, -50%); }
.cap-card__metric span { position: absolute; right: 24px; bottom: 24px; left: 24px; color: rgb(255 255 255 / 0.86); font-size: clamp(14px, 1.05vw, 18px); line-height: 1.4; }

.cap-card--tools { display: flex; flex-direction: column; justify-content: space-between; padding: 0 0 clamp(20px, 2vw, 28px); }
.cap-card--tools-media { min-height: 420px; padding-bottom: 0; background: #cfd9da; }
.cap-card--tools-media .cap-card__shade { background: linear-gradient(180deg, rgb(5 12 14 / 0.25), transparent 34%), linear-gradient(0deg, rgb(5 12 14 / 0.4), transparent 56%); }

.tool-marquee { display: grid; gap: 14px; overflow: hidden; padding: 26px 0 22px; mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); }
.tool-marquee__row { display: flex; width: max-content; gap: 12px; }
.tool-marquee__row span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 16px; border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.18); color: #ffffff; font-size: 13px; font-weight: 700;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.24);
}
.tool-marquee__row .ph { font-size: 20px; }
.tool-marquee__row--left { animation: marquee-left 26s linear infinite; }
.tool-marquee__row--right { animation: marquee-right 30s linear infinite; }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.cap-card--contact { min-height: 118px; flex-direction: row; align-items: center; gap: 20px; padding: 20px 76px 20px 24px; }
.cap-card--contact a:not(.cap-card__icon-button) { display: inline-block; margin: 14px 0 6px; color: #111111; font-size: clamp(18px, 1.45vw, 24px); font-weight: 360; line-height: 1.05; }
.cap-card__icon-button { position: absolute; top: 50%; right: 16px; z-index: 2; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--wa); color: #ffffff; transform: translateY(-50%); }
.cap-card__icon-button .ph { font-size: 22px; }

@media (max-width: 1080px) {
  .capabilities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: auto; }
  .cap-card--tall { min-height: 620px; }
  .capabilities__stack:last-child { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(260px, 1fr); }
}
@media (max-width: 760px) {
  .capabilities__header { flex-direction: column; }
  .capabilities__button { width: 100%; }
  .capabilities__grid, .capabilities__stack, .capabilities__stack:last-child { grid-template-columns: 1fr; grid-template-rows: auto; }
  .cap-card--tall { min-height: 540px; }
  .cap-card__timeline div { grid-template-columns: 74px 10px minmax(0, 1fr); }
  .cap-card__timeline em { grid-column: 3; white-space: normal; }
}

/* ================= TARIFAS ================= */
.stats {
  position: relative; z-index: 80; min-height: 100vh; padding: clamp(44px, 5vw, 86px) clamp(16px, 3.8vw, 72px) clamp(54px, 5vw, 90px);
  background: radial-gradient(circle at 78% 18%, rgb(93 151 173 / 0.2), transparent 34%), radial-gradient(circle at 18% 88%, rgb(169 203 212 / 0.12), transparent 28%), linear-gradient(180deg, #0f1415 0%, #161b1c 100%);
  color: #f7f8f8;
}
.stats__header { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr); gap: clamp(32px, 6vw, 120px); max-width: var(--hero-max-width); margin: 0 auto clamp(34px, 4.5vw, 72px); }
.stats__title-wrap h2 { max-width: 920px; margin: 0; font-size: clamp(29px, 3.2vw, 54px); font-weight: 300; line-height: 1.08; }
.stats__summary { align-self: start; margin: 0; color: rgb(247 248 248 / 0.8); font-size: clamp(18px, 1.65vw, 28px); font-weight: 360; line-height: 1.34; opacity: 0; transform: translateY(14px); transition: opacity 420ms ease, transform 420ms ease; }
.stats__summary.is-visible { opacity: 1; transform: none; }

.stats__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: var(--hero-max-width); margin: 0 auto; border-bottom: 1px solid rgb(255 255 255 / 0.14); }
.stats__tab { position: relative; min-height: 58px; padding: 0 20px 18px 0; border: 0; background: transparent; color: rgb(247 248 248 / 0.5); font: inherit; font-size: clamp(14px, 1.22vw, 22px); font-weight: 430; text-align: left; cursor: pointer; transition: color 220ms ease; }
.stats__tab::after { content: ""; position: absolute; right: 16px; bottom: -1px; left: 0; height: 4px; background: linear-gradient(90deg, var(--hero-blue), #bfe0e8); transform: scaleX(0); transform-origin: left; transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1); }
.stats__tab.is-active { color: #ffffff; }
.stats__tab.is-active::after { transform: scaleX(1); }

.stats__chart {
  position: relative; max-width: var(--hero-max-width); min-height: clamp(480px, 54vh, 640px); margin: clamp(28px, 3vw, 48px) auto 0; padding: 0 0 26px; overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.08); border-radius: 20px; background-color: rgb(255 255 255 / 0.025);
  background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(10% - 1px), rgb(255 255 255 / 0.06) calc(10% - 1px), rgb(255 255 255 / 0.06) 10%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 24px 70px rgb(0 0 0 / 0.18);
}
.stats__chart-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(18px, 2vw, 28px); border-bottom: 1px solid rgb(255 255 255 / 0.08); background: rgb(255 255 255 / 0.025); }
.stats__chart-head span, .stats__chart-head strong { font-size: clamp(12px, 0.86vw, 14px); line-height: 1; text-transform: uppercase; }
.stats__chart-head span { color: #ffffff; font-weight: 760; letter-spacing: 0.16em; }
.stats__chart-head strong { color: rgb(247 248 248 / 0.48); font-weight: 620; letter-spacing: 0.12em; }

.stats__bars { display: grid; gap: clamp(16px, 2vh, 26px); padding: clamp(26px, 3vw, 48px) clamp(24px, 2.4vw, 42px) 0; }
.stats__bar-row { display: grid; grid-template-columns: minmax(200px, 0.3fr) minmax(0, 1fr); align-items: center; gap: clamp(18px, 2vw, 34px); opacity: 0; transform: translateY(18px); }
.stats__chart.is-ready .stats__bar-row { animation: stats-row-in 520ms cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: var(--bar-delay); }
.stats__bar-label strong, .stats__bar-label span { display: block; }
.stats__bar-label strong { color: #ffffff; font-size: clamp(15px, 1.1vw, 19px); font-weight: 680; line-height: 1.2; }
.stats__bar-label span { margin-top: 5px; color: rgb(247 248 248 / 0.5); font-size: clamp(12px, 0.86vw, 14px); line-height: 1.35; }

.stats__track { position: relative; height: clamp(48px, 5.4vh, 64px); overflow: hidden; background: rgb(255 255 255 / 0.055); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.075), 0 12px 32px rgb(0 0 0 / 0.16); }
.stats__bar { position: relative; z-index: 1; width: var(--bar-value); height: 100%; background: linear-gradient(90deg, rgb(93 151 173 / 0.62) 0%, #8cc3d4 62%, #e1f3f7 100%); box-shadow: 0 0 34px rgb(93 151 173 / 0.24); transform: scaleX(0); transform-origin: left; }
.stats__bar--quote { background: repeating-linear-gradient(-45deg, rgb(255 255 255 / 0.08) 0 8px, rgb(255 255 255 / 0.03) 8px 16px); box-shadow: none; }
.stats__chart.is-ready .stats__bar { animation: stats-fill 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: calc(var(--bar-delay) + 110ms); }
.stats__value { position: absolute; z-index: 3; top: 50%; right: 18px; color: #ffffff; font-size: clamp(14px, 1vw, 18px); font-weight: 740; transform: translateY(-50%); }

.stats__trace { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.stats__trace i { position: absolute; top: var(--point-y); left: var(--point-x); width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / 0.95) 0 8%, rgb(225 243 247 / 0.42) 9% 22%, transparent 58%); opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
.stats__trace i::before, .stats__trace i::after { content: ""; position: absolute; top: 50%; left: 50%; border-radius: 999px; transform: translate(-50%, -50%); }
.stats__trace i::before { width: 24px; height: 1px; background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.72), transparent); }
.stats__trace i::after { width: 1px; height: 18px; background: linear-gradient(180deg, transparent, rgb(191 224 232 / 0.62), transparent); }
.stats__chart.is-ready .stats__trace i { animation: stats-point-in 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: calc(var(--bar-delay) + 260ms + var(--point-delay)); }

.stats__note { max-width: var(--hero-max-width); margin: 18px auto 0; color: rgb(247 248 248 / 0.5); font-size: 13px; line-height: 1.5; }

@keyframes stats-row-in { to { opacity: 1; transform: none; } }
@keyframes stats-fill { to { transform: scaleX(1); } }
@keyframes stats-point-in { to { opacity: 0.86; transform: translate(-50%, -50%) scale(1); } }

@media (max-width: 980px) {
  .stats__header { grid-template-columns: 1fr; }
  .stats__tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .stats__tab { flex: 0 0 min(240px, 62vw); }
  .stats__bar-row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 620px) {
  .stats__title-wrap h2 { font-size: clamp(26px, 8vw, 42px); }
  .stats__chart { min-height: auto; }
}

/* ================= HISTORIAS EN VÍDEO ================= */
.video-stories { position: relative; z-index: 90; padding: clamp(46px, 5vw, 88px) 0 clamp(44px, 4vw, 74px); overflow: hidden; background: #f6f8f8; color: #111111; }
.video-stories__header { width: min(100% - 96px, 900px); margin: 0 auto clamp(38px, 4vw, 74px); }
.video-stories__header h2 { margin: 0; font-size: clamp(38px, 4.4vw, 76px); font-weight: 300; line-height: 1.08; }
.video-stories__header p { max-width: 720px; margin: 22px 0 0; color: #697272; font-size: clamp(16px, 1.25vw, 21px); font-weight: 420; line-height: 1.55; }

.video-stories__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(520px, 34vw); gap: clamp(28px, 3vw, 54px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 0 max(48px, calc((100vw - var(--hero-max-width)) / 2 + 48px)) 36px; scrollbar-width: none;
}
.video-stories__rail::-webkit-scrollbar { display: none; }
.story-card { scroll-snap-align: center; min-width: 0; opacity: 0.54; transform: translateY(10px); transition: opacity 260ms ease, transform 260ms ease; }
.story-card:hover, .story-card:focus-within, .story-card.is-current { opacity: 1; transform: none; }
.story-card__media { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #dfe5e6; object-fit: cover; box-shadow: 0 18px 48px rgb(21 34 34 / 0.1); }
.story-card__content { padding: 24px 28px 0; }
.story-card__content p { margin: 0 0 12px; font-size: 15px; font-weight: 760; line-height: 1; }
.story-card__content h3 { max-width: 680px; margin: 0; color: #252b2b; font-size: clamp(18px, 1.22vw, 24px); font-weight: 520; line-height: 1.38; }
.story-card__content span { display: block; margin-top: 14px; color: #6f7979; font-size: 14px; line-height: 1.4; }

.video-stories__footer { display: flex; align-items: center; gap: 8px; width: min(100% - 96px, 900px); margin: 28px auto 0; }
.video-stories__footer span { display: block; width: 56px; height: 4px; border-radius: 999px; background: #cfd4d4; transition: width 300ms ease, background 300ms ease; }
.video-stories__footer span.is-active { width: 220px; background: #111111; }
.video-stories__footer strong { margin-left: 18px; color: #7a8282; font-size: 14px; font-weight: 650; letter-spacing: 0.02em; }

@media (max-width: 860px) {
  .video-stories__header, .video-stories__footer { width: min(100% - 48px, 900px); }
  .video-stories__rail { grid-auto-columns: minmax(280px, 84vw); padding: 0 24px 30px; }
  .story-card { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .video-stories__header, .video-stories__footer { width: min(100% - 32px, 900px); }
  .story-card__content { padding: 18px 4px 0; }
  .video-stories__footer span { width: 28px; }
  .video-stories__footer span.is-active { width: 90px; }
}

/* ================= FORMULARIO ================= */
.lead { position: relative; z-index: 95; padding: clamp(56px, 6vw, 110px) clamp(16px, 3.8vw, 72px); background: linear-gradient(180deg, #eaf3f5 0%, #f6f8f8 100%); }
.lead__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 96px); max-width: 1400px; margin: 0 auto; }
.lead__eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 760; letter-spacing: 0.18em; text-transform: uppercase; }
.lead__intro h2 { margin: 0; font-size: clamp(30px, 3.4vw, 58px); font-weight: 300; line-height: 1.08; }
.lead__intro > p { max-width: 560px; margin: 20px 0 0; color: #5f6969; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.6; }
.lead__contact { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.lead__contact li { display: flex; align-items: center; gap: 12px; color: #1d2424; font-size: 16px; }
.lead__contact .ph { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--accent); font-size: 18px; box-shadow: 0 6px 18px rgb(21 34 34 / 0.08); }
.lead__contact a { border-bottom: 1px solid rgb(0 0 0 / 0.15); }

.lead__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-self: start; padding: clamp(22px, 2.4vw, 36px); border-radius: 20px; background: #ffffff; border: 1px solid rgb(18 35 35 / 0.08); box-shadow: 0 30px 80px rgb(21 34 34 / 0.1); }
.lead__form label { display: grid; gap: 8px; }
.lead__form label > span { color: #4a5454; font-size: 13px; font-weight: 650; }
.lead__full { grid-column: 1 / -1; }
.lead__form input[type="text"], .lead__form select, .lead__form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d5dcdc; border-radius: 10px; background: #fbfcfc; color: #111; font: inherit; font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.lead__form textarea { resize: vertical; min-height: 96px; }
.lead__form input:focus, .lead__form select:focus, .lead__form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(93 151 173 / 0.18); }
.lead__check { grid-template-columns: 22px 1fr; align-items: start; }
.lead__check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.lead__check span { color: #5f6969 !important; font-weight: 400 !important; line-height: 1.45; }
.lead__check a { text-decoration: underline; }
.lead__submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border: 0; border-radius: 12px; background: #111; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: transform 160ms ease, background 160ms ease; }
.lead__submit .ph { font-size: 22px; color: var(--wa); }
.lead__submit:hover { transform: translateY(-1px); background: #000; }
.lead__error { margin: 0; min-height: 1em; color: #b42318; font-size: 14px; }

@media (max-width: 900px) {
  .lead__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lead__form { grid-template-columns: 1fr; }
}

/* ================= FOOTER ================= */
.site-footer { position: relative; z-index: 100; overflow: hidden; background: #000000; color: #ffffff; }
.footer-dots { position: relative; height: 120px; overflow: hidden; }
.footer-dots__line {
  position: absolute; left: 0; top: 50%; width: 200%; height: 70px; opacity: 0.75;
  background-image: radial-gradient(circle, rgb(255 255 255 / 0.55) 1.5px, transparent 2px), radial-gradient(circle, rgb(255 255 255 / 0.35) 1px, transparent 1.5px), radial-gradient(circle, rgb(255 255 255 / 0.45) 1.2px, transparent 1.8px);
  background-position: 0 8px, 24px 22px, 48px 14px; background-size: 72px 38px, 110px 44px, 160px 52px;
  animation: footerDotsMove 18s linear infinite; transform: translateY(-50%);
}
@keyframes footerDotsMove { from { transform: translate3d(0, -50%, 0); } to { transform: translate3d(-50%, -50%, 0); } }

.site-footer__inner { width: min(100% - 96px, var(--hero-max-width)); margin: 0 auto; padding: clamp(34px, 4vw, 66px) 0 clamp(80px, 6vw, 96px); }
.site-footer__top { display: grid; grid-template-columns: minmax(320px, 1.25fr) repeat(3, minmax(150px, 0.42fr)); gap: clamp(28px, 4vw, 76px); min-height: clamp(220px, 24vw, 330px); }
.site-footer__top h2 { max-width: 680px; margin: 0; font-size: clamp(34px, 3.5vw, 62px); font-weight: 220; line-height: 1.06; }
.site-footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 1.35vw, 22px); }
.site-footer__nav a { color: rgb(255 255 255 / 0.88); font-size: 16px; font-weight: 650; line-height: 1.1; transition: color 180ms ease, transform 180ms ease; }
.site-footer__nav a:hover { color: #ffffff; transform: translateX(3px); }

.site-footer__brand-row { width: 100%; margin-top: clamp(18px, 3vw, 46px); }
.site-footer__brand { display: flex; align-items: center; width: 100%; min-width: 0; color: #ffffff; }
.site-footer__mark { position: relative; flex: 0 0 clamp(58px, 6.1vw, 118px); aspect-ratio: 1; margin-right: clamp(14px, 1.6vw, 28px); overflow: hidden; border-radius: 50%; background: #ffffff; }
.site-footer__mark::before { content: ""; position: absolute; inset: -18%; background: #000000; clip-path: polygon(0 20%, 100% 8%, 100% 19%, 0 31%, 0 43%, 100% 31%, 100% 42%, 0 54%, 0 66%, 100% 54%, 100% 65%, 0 77%); }
.site-footer__brand span:last-child { display: block; flex: 1 1 auto; min-width: 0; font-size: clamp(58px, 13vw, 250px); font-weight: 760; letter-spacing: -0.055em; line-height: 0.78; white-space: nowrap; }

.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: clamp(18px, 1.6vw, 28px); color: rgb(255 255 255 / 0.56); font-size: 12px; line-height: 1.45; }
.site-footer__legal p { margin: 0; }
.site-footer__legal a:hover { color: #ffffff; }
.site-footer__meta { flex-basis: 100%; font-size: 11px; color: rgb(255 255 255 / 0.4); }

@media (max-width: 980px) {
  .site-footer__inner { width: min(100% - 48px, var(--hero-max-width)); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__top h2 { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer__inner { width: min(100% - 32px, var(--hero-max-width)); }
  .site-footer__top { grid-template-columns: 1fr 1fr; min-height: auto; }
  .site-footer__mark { flex-basis: clamp(38px, 12vw, 58px); }
  .site-footer__brand span:last-child { font-size: clamp(56px, 22vw, 100px); }
}

/* ================= WHATSAPP + COOKIES ================= */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 34px rgb(0 0 0 / 0.22); transition: transform 180ms ease;
  opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ph { font-size: 32px; }

.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 300; width: min(440px, calc(100vw - 40px)); padding: 20px; border-radius: 16px;
  background: rgb(255 255 255 / 0.96); color: #1b2222; box-shadow: 0 24px 70px rgb(0 0 0 / 0.22); border: 1px solid rgb(0 0 0 / 0.06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 14px; line-height: 1.5;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 14px; }
.cookie a { text-decoration: underline; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie__actions button { min-height: 44px; border-radius: 10px; border: 1px solid #111; font: inherit; font-weight: 700; cursor: pointer; background: #fff; color: #111; }
.cookie__actions button[data-cookie="accept"] { background: #111; color: #fff; }

@media (max-width: 560px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ================= PÁGINAS LEGALES ================= */
.legal { max-width: 820px; margin: 0 auto; padding: 48px 20px 96px; color: #1d2424; line-height: 1.65; font-size: 16px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; font-weight: 700; font-size: 14px; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 300; line-height: 1.1; margin: 0 0 12px; }
.legal h2 { font-size: 20px; font-weight: 650; margin: 36px 0 8px; }
.legal .muted { color: #6b7676; font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid #e3e8e8; vertical-align: top; }
.legal mark { background: #fff4c2; padding: 0 4px; }

/* ================= LANZAROTE ================= */
.island {
  position: relative; z-index: 60; overflow: hidden;
  padding: clamp(64px, 7vw, 130px) clamp(16px, 3.8vw, 72px) clamp(48px, 5vw, 90px);
  background: radial-gradient(circle at 80% 10%, rgb(93 151 173 / 0.25), transparent 40%), linear-gradient(180deg, #141210 0%, #1d1a17 100%);
  color: #f4efe8;
}
.island__bg {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; font-size: clamp(90px, 21vw, 420px); font-weight: 800; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px rgb(244 239 232 / 0.06); white-space: nowrap; pointer-events: none; user-select: none;
  transform: translateX(var(--island-shift, 0px));
}
.island__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 96px); max-width: var(--hero-max-width); margin: 0 auto; align-items: center; }
.island__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 8px 14px; border-radius: 999px; background: rgb(244 239 232 / 0.08); color: #bfe0e8; font-size: 12px; font-weight: 760; letter-spacing: 0.16em; text-transform: uppercase; }
.island__copy h2 { margin: 0; max-width: 760px; font-size: clamp(32px, 3.8vw, 66px); font-weight: 260; line-height: 1.05; }
.island__lead { max-width: 640px; margin: 22px 0 0; color: rgb(244 239 232 / 0.7); font-size: clamp(16px, 1.2vw, 20px); line-height: 1.6; }
.island__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 3vw, 48px); }
.island-fact { padding: 20px; border-radius: 16px; background: rgb(244 239 232 / 0.05); border: 1px solid rgb(244 239 232 / 0.09); transition: transform 300ms ease, background 300ms ease; opacity: 0; translate: 0 24px; }
.island.is-in .island-fact { animation: fact-in 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.island.is-in .island-fact:nth-child(2) { animation-delay: 120ms; }
.island.is-in .island-fact:nth-child(3) { animation-delay: 240ms; }
@keyframes fact-in { to { opacity: 1; translate: 0 0; } }
.island-fact:hover { transform: translateY(-4px); background: rgb(244 239 232 / 0.09); }
.island-fact .ph { font-size: 26px; color: #8cc3d4; }
.island-fact h3 { margin: 14px 0 6px; font-size: 16px; font-weight: 680; }
.island-fact p { margin: 0; color: rgb(244 239 232 / 0.62); font-size: 14px; line-height: 1.5; }

.island__map { position: relative; margin: 0; }
.island__map svg { display: block; width: 100%; max-width: 620px; margin: 0 auto; overflow: visible; filter: drop-shadow(0 40px 60px rgb(0 0 0 / 0.45)); }
.island__shape { stroke: none; }
.island__coast { fill: none; stroke: #8cc3d4; stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; opacity: 0.9; }
.island.is-in .island__coast { animation: draw-coast 2.6s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
@keyframes draw-coast { to { stroke-dashoffset: 0; } }
.island__dots circle.dot { fill: #f4efe8; cursor: pointer; transition: r 200ms ease, fill 200ms ease; }
.island__dots circle.pulse { fill: none; stroke: #8cc3d4; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.island__dots g.is-active circle.dot { fill: #8cc3d4; r: 7; }
.island__dots text { fill: rgb(244 239 232 / 0.75); font-size: 11px; font-weight: 600; font-family: var(--font-sans); pointer-events: none; transition: fill 200ms ease; }
.island__dots g.is-active text { fill: #ffffff; }
@keyframes pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.island__zone { margin-top: 16px; text-align: center; color: rgb(244 239 232 / 0.7); font-size: 15px; min-height: 1.5em; }
.island__zone strong { color: #fff; }

.island__chips { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1100px; margin: clamp(32px, 4vw, 60px) auto 0; padding: 0; list-style: none; }
.island__chips button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgb(244 239 232 / 0.16); background: transparent; color: rgb(244 239 232 / 0.8); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 200ms ease; }
.island__chips button:hover, .island__chips button.is-active { background: #f4efe8; color: #141210; border-color: #f4efe8; }
.island__note { position: relative; margin: 18px 0 0; text-align: center; color: rgb(244 239 232 / 0.5); font-size: 14px; }

@media (max-width: 980px) {
  .island__inner { grid-template-columns: 1fr; }
  .island__facts { grid-template-columns: 1fr; }
  .island__map svg { max-width: 460px; }
}


/* ================= LOGO AR ÉLITE (animado) ================= */
.ar-logo { display: block; width: 100%; height: auto; overflow: visible; }
.ar-logo__d { stroke-dasharray: 1057; stroke-dashoffset: 1057; }
.ar-logo__a, .ar-logo__r, .ar-logo__t, .ar-logo__i > * { opacity: 0; }
.ar-logo__p { opacity: 0; transform-box: fill-box; transform-origin: center; }
.ar-logo.is-drawn .ar-logo__d { animation: ar-draw 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.ar-logo.is-drawn .ar-logo__a { animation: ar-up 0.8s 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.ar-logo.is-drawn .ar-logo__r { animation: ar-side 0.8s 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.ar-logo.is-drawn .ar-logo__t { animation: ar-track 0.9s 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.ar-logo.is-drawn .ar-logo__i > * { animation: ar-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.ar-logo.is-drawn .ar-logo__i > :nth-child(1) { animation-delay: 1.0s; }
.ar-logo.is-drawn .ar-logo__i > :nth-child(2) { animation-delay: 1.1s; }
.ar-logo.is-drawn .ar-logo__i > :nth-child(3) { animation-delay: 1.2s; }
.ar-logo.is-drawn .ar-logo__i > :nth-child(4) { animation-delay: 1.3s; }
.ar-logo.is-drawn .ar-logo__i > :nth-child(5) { animation-delay: 1.4s; }
.ar-logo.is-drawn .ar-logo__i > :nth-child(6) { animation-delay: 1.5s; }
.ar-logo.is-drawn .ar-logo__i > :nth-child(7) { animation-delay: 1.6s; }
.ar-logo.is-drawn .ar-logo__p { animation: ar-pulse 1.4s 1.8s ease-out 2; }
.ar-logo.is-drawn .ar-logo__s { animation: ar-shine 1.2s 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
@keyframes ar-draw { to { stroke-dashoffset: 0; } }
@keyframes ar-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ar-side { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes ar-track { from { opacity: 0; letter-spacing: 9px; } to { opacity: 1; letter-spacing: 1.5px; } }
@keyframes ar-pulse { 0% { opacity: 0.8; transform: scale(0.6); } 100% { opacity: 0; transform: scale(3.6); } }
@keyframes ar-shine { from { transform: rotate(18deg) translateX(0); } to { transform: rotate(18deg) translateX(640px); } }

/* menú: el logo en un disco blanco */
.brand__mark { width: 40px; background: #ffffff; color: #111111; padding: 6px; box-shadow: 0 4px 14px rgb(0 0 0 / 0.12); }
.brand__mark::before { display: none; }
.hero__nav.nav--scroll-down .brand__mark { background: #ffffff; }
@media (max-width: 560px) { .brand__mark { width: 34px; padding: 5px; } }

/* pie: el logo grande en blanco */
.site-footer__mark { background: transparent; border-radius: 0; color: #ffffff; flex-basis: clamp(70px, 8vw, 150px); aspect-ratio: 405 / 365; }
.site-footer__mark::before { display: none; }

/* ================= VÍDEO CORPORATIVO ================= */
.film { position: relative; z-index: 65; padding: clamp(56px, 6vw, 110px) clamp(16px, 3.8vw, 72px); background: #e7edef; }
.film__inner { max-width: 1400px; margin: 0 auto; }
.film__head { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); margin-bottom: clamp(24px, 3vw, 44px); }
.film__badge { flex: 0 0 auto; width: clamp(72px, 7vw, 104px); padding: 14px; border-radius: 26px; color: #111; background: #e7edef;
  box-shadow: 12px 12px 26px rgb(146 166 176 / 0.6), -12px -12px 26px rgb(255 255 255 / 0.95); }
.film__eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 12px; font-weight: 760; letter-spacing: 0.18em; text-transform: uppercase; }
.film h2 { margin: 0; font-size: clamp(30px, 3.4vw, 58px); font-weight: 300; line-height: 1.05; }
.film__frame { position: relative; overflow: hidden; border-radius: clamp(18px, 2vw, 32px); padding: clamp(8px, 1vw, 14px); background: #e7edef;
  box-shadow: 22px 22px 48px rgb(146 166 176 / 0.6), -22px -22px 48px rgb(255 255 255 / 0.95); }
.film__video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: clamp(12px, 1.4vw, 22px); background: #0f1415; object-fit: cover; }
.film__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 26px 12px 12px; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / 0.45); cursor: pointer;
  background: linear-gradient(135deg, rgb(255 255 255 / 0.32), rgb(255 255 255 / 0.1)); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1.5px 0 rgb(255 255 255 / 0.6), 0 24px 60px rgb(0 0 0 / 0.3); color: #fff; font: inherit; font-size: 17px; font-weight: 700;
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1), transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.film__play span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #111; font-size: 26px; }
.film__play:hover { transform: scale(1.04); }
.film__play.is-hidden { opacity: 0; transform: scale(0.9); pointer-events: none; }
