/* =========================================================
   BIIO Training Room — Landing clientes
   Base: negro sobrio, glow tenue (ref. Vercel) + interactividad
   Motivo de marca: hexágono (luz real del techo del room)
   ========================================================= */

:root {
  --bg:        #060708;
  --bg-1:      #0a0b0d;
  --bg-2:      #0e0f13;
  --bg-3:      #14161b;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);
  --white:     #f5f6f8;
  --grey:      #9aa0ac;
  --grey-2:    #5b606b;

  /* Azul neón del room — usado con moderación */
  --blue:      #2f6bff;
  --blue-soft: #6f95ff;
  --blue-glow: rgba(47, 107, 255, 0.5);
  --blue-faint:rgba(47, 107, 255, 0.12);

  --wa:        #25d366;

  --maxw: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-2: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

/* ---------- Grano cinematográfico ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9997; pointer-events: none;
  opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Spotlight que sigue el cursor ---------- */
.spotlight {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(480px circle at var(--sx, 50%) var(--sy, 30%),
              rgba(111, 149, 255, 0.08), transparent 70%);
  transition: opacity 0.4s var(--ease);
  opacity: 0;
}
.js .spotlight.on { opacity: 1; }

/* ---------- Intro de carga ---------- */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.intro__hex { opacity: 0; transform: scale(0.7); }
.intro__hex polygon {
  fill: none; stroke: var(--blue-soft); stroke-width: 1.5;
  filter: drop-shadow(0 0 14px var(--blue-glow));
}
.js .intro__hex {
  animation: introHexIn 0.9s var(--ease-2) 0.15s forwards;
}
.intro.hide { opacity: 0; visibility: hidden; }
@keyframes introHexIn {
  to { opacity: 1; transform: scale(1); }
}

/* ---------- Tipografía display ---------- */
.hero__title,
.section__title,
.cta__title,
.entrance__title,
.stat__num,
.marquee span {
  font-family: "Anton", "Archivo", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
  paint-order: stroke fill;
}
.hero__title .outline,
.entrance__title .outline {
  text-shadow: 0 2px 30px rgba(6, 7, 8, 0.9);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px 1px var(--blue-glow);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.75); }
}

/* ---------- Botones ---------- */
.btn {
  --pad: 15px 26px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: var(--pad);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.js-magnetic { transition: transform 0.25s var(--ease-2), box-shadow 0.3s var(--ease); }
.btn--lg { --pad: 17px 32px; font-size: 0.88rem; }
.btn--xl { --pad: 20px 44px; font-size: 1rem; }

.btn--primary {
  background: var(--white);
  color: #0a0a0a;
}
.btn--primary:hover {
  box-shadow: 0 12px 34px -8px rgba(0,0,0,0.6), 0 0 26px -2px var(--blue-glow);
}

.btn--ghost {
  background: rgba(255,255,255,0.02);
  border-color: var(--line-2);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue-faint), 0 0 22px -6px var(--blue-glow);
}

.btn--nav { --pad: 11px 20px; font-size: 0.74rem;
  background: var(--white); color: #0a0a0a; }
.btn--nav:hover { box-shadow: 0 0 20px -3px var(--blue-glow); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 48px);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 7, 8, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding-top: 12px; padding-bottom: 12px;
}

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 26px; width: auto; }

/* ---------- HERO (sobrio, glow tenue, hexágono motivo) ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
  background: var(--bg);
}

/* Foto real del room a la derecha, con degradado negro que la precede */
.hero__photo {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 68%;
  background-size: cover; background-position: center 40%;
  opacity: 0.85;
  /* la imagen aparece desde la derecha; el negro la precede a la izquierda */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 30%, #000 62%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 30%, #000 62%);
  transform: scale(1.06);
  animation: heroPhotoZoom 20s ease-out forwards;
}
@keyframes heroPhotoZoom { to { transform: scale(1); } }
/* Vela superior/inferior para fundir la foto con el negro del sitio */
.hero__photo-fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,7,8,0.7) 0%, transparent 22%, transparent 70%, var(--bg) 100%),
    radial-gradient(120% 90% at 100% 40%, transparent 40%, rgba(6,7,8,0.35) 100%);
}
.hero__grid {
  position: absolute; inset: 0; opacity: 0.35;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(65% 55% at 50% 45%, #000 0%, transparent 78%);
}

.hero__inner {
  position: relative; z-index: 3;
  width: min(100% - 40px, var(--maxw)); margin-inline: auto;
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 24px;
}
.hero__title {
  font-size: clamp(3.2rem, 9vw, 6.6rem);
  margin: 20px 0 24px;
}
.hero__title-glow {
  color: #fff;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.5),
    0 0 42px rgba(160, 190, 255, 0.45),
    0 0 90px rgba(47, 107, 255, 0.4);
  animation: titleGlow 4s ease-in-out infinite;
}
@keyframes titleGlow {
  0%, 100% {
    text-shadow:
      0 0 18px rgba(255, 255, 255, 0.42),
      0 0 42px rgba(160, 190, 255, 0.38),
      0 0 90px rgba(47, 107, 255, 0.32);
  }
  50% {
    text-shadow:
      0 0 26px rgba(255, 255, 255, 0.65),
      0 0 60px rgba(160, 190, 255, 0.55),
      0 0 120px rgba(47, 107, 255, 0.5);
  }
}
.hero__lead {
  max-width: 480px; font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: #c7cbd4;
}
.hero__lead strong { color: var(--white); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }

.hero__caption {
  justify-self: end; text-align: right;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--grey); line-height: 2.1;
  text-transform: uppercase;
  padding-bottom: 6px;
  text-shadow: 0 1px 12px rgba(6, 7, 8, 0.95), 0 0 3px rgba(6, 7, 8, 0.9);
}
.hero__caption p { white-space: nowrap; }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; width: 26px; height: 42px; border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 2px; background: var(--blue-soft);
  box-shadow: 0 0 8px var(--blue-glow);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(16px); }
}

/* ---------- MARQUEE ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-1);
  padding: 15px 0; overflow: hidden;
}
.marquee--reverse { border-top: none; padding-top: 0; }
.marquee__track {
  display: inline-flex; align-items: center; gap: 28px;
  white-space: nowrap; animation: marquee 78s linear infinite;
}
.marquee__track--reverse { animation: marqueeRev 60s linear infinite; }
.marquee span {
  font-size: 1.4rem; color: var(--white); opacity: 0.8;
}
.marquee--reverse span { font-size: 0.95rem; opacity: 0.5; font-family: "Archivo",sans-serif; font-weight: 700; letter-spacing: 0.04em; }
.marquee i { color: var(--blue); font-style: normal; font-size: 0.7rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- SECCIONES ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: 54px; }
.section__title {
  font-size: clamp(2.1rem, 5.5vw, 4rem); margin: 16px 0 18px;
}
.section__sub { color: var(--grey); font-size: 1.05rem; max-width: 560px; }

/* Manifiesto */
.manifesto { padding: clamp(70px, 10vw, 110px) 0; background: var(--bg); }
.manifesto__text {
  font-family: "Archivo", sans-serif; font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.7rem); line-height: 1.25;
  letter-spacing: -0.01em; max-width: 900px; color: var(--grey);
}
.hl { color: var(--white); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 30%;
  background: var(--blue-faint); z-index: -1; border-radius: 3px;
  box-shadow: 0 0 20px -4px var(--blue-glow);
}

/* ---------- ENTRADA (narrativa cinemática) ---------- */
.entrance {
  position: relative; height: 78vh; min-height: 480px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.entrance__img {
  position: absolute; inset: -8% -2%; background-size: cover; background-position: center;
  will-change: transform;
}
.entrance__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,7,8,0.96) 0%, rgba(6,7,8,0.35) 55%, rgba(6,7,8,0.55) 100%);
}
.entrance__inner { position: relative; z-index: 2; padding-bottom: 64px; }
.entrance__title { font-size: clamp(2.4rem, 6.5vw, 4.6rem); margin-top: 14px; }

/* ---------- PILARES ---------- */
.pillars__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.card {
  position: relative; padding: 30px 26px 32px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transform-style: preserve-3d; will-change: transform;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.15s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; opacity: 0;
  background: linear-gradient(160deg, var(--blue-soft), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity 0.35s var(--ease);
}
.card:hover {
  border-color: transparent;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8), 0 0 34px -14px var(--blue-glow);
}
.card:hover::before { opacity: 1; }
.card__num {
  font-family: "Anton", sans-serif; font-size: 0.9rem; color: var(--blue-soft);
  letter-spacing: 0.1em;
}
.card h3 { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.35rem; margin: 14px 0 10px; }
.card p { color: var(--grey); font-size: 0.95rem; }

/* ---------- DIFERENCIA ---------- */
.diff { overflow: hidden; }
.diff__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.18; filter: grayscale(0.25);
}
.diff__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(6,7,8,0.72) 50%, var(--bg) 100%);
}
.diff__inner { position: relative; z-index: 2; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin: 10px 0 46px;
}
.stat {
  padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(14,15,19,0.6); backdrop-filter: blur(6px);
  border-top: 2px solid var(--blue);
}
.stat__num {
  display: block; font-size: clamp(2rem, 4.5vw, 3.1rem); color: var(--white);
  text-shadow: 0 0 26px var(--blue-faint);
}
.stat__label { color: var(--grey); font-size: 0.88rem; }
.diff__list {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px 34px; max-width: 820px;
}
.diff__list li {
  position: relative; padding-left: 30px; color: #cfd4dd; font-size: 1.02rem;
}
.diff__list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px; border-radius: 3px;
  border: 1.5px solid var(--blue-soft); box-shadow: 0 0 10px -1px var(--blue-glow);
}

/* ---------- FILMSTRIP (galería horizontal) ---------- */
.filmstrip-section { padding-bottom: clamp(60px, 9vw, 100px); }
.filmstrip {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding: 6px 0 26px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.filmstrip:active { cursor: grabbing; }
.filmstrip__track {
  display: flex; gap: 16px;
  padding-left: max(20px, calc((100vw - var(--maxw)) / 2));
  padding-right: 20px;
  width: max-content;
}
.fs-item {
  position: relative; flex: 0 0 auto;
  width: min(78vw, 360px); aspect-ratio: 4/5;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  scroll-snap-align: start;
}
.fs-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
  filter: saturate(1.05) contrast(1.02) brightness(0.92);
}
.fs-item::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 0 var(--blue-glow);
  transition: box-shadow 0.4s var(--ease); pointer-events: none;
}
.fs-item:hover img { transform: scale(1.06); filter: saturate(1.15) contrast(1.05) brightness(1); }
.fs-item:hover::after { box-shadow: inset 0 0 0 2px var(--blue-soft), inset 0 0 40px -6px var(--blue-glow); }

/* ---------- CULTURA (cita full-bleed) ---------- */
.culture {
  position: relative; height: 70vh; min-height: 440px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.culture__img {
  position: absolute; inset: -8% -2%; background-size: cover; background-position: center;
  will-change: transform; filter: grayscale(0.15);
}
.culture__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,7,8,0.99) 0%, rgba(6,7,8,0.94) 30%, rgba(6,7,8,0.72) 62%, rgba(6,7,8,0.5) 100%);
}
.culture__inner { position: relative; z-index: 2; text-align: left; }
.culture__quote {
  display: flex; flex-direction: column; gap: 6px;
  font-family: "Anton", sans-serif; text-transform: uppercase;
  font-size: clamp(1.8rem, 6vw, 3.6rem); line-height: 1.05;
  color: var(--white); max-width: 640px;
}
.culture__quote span:nth-child(2) { color: rgba(245,246,248,0.75); }
.culture__quote span:nth-child(3) { color: rgba(245,246,248,0.5); }
.culture__off {
  margin-top: 14px; color: transparent !important;
  -webkit-text-stroke: 1.5px var(--blue-soft);
  filter: drop-shadow(0 0 22px var(--blue-glow));
}

/* ---------- STEPS ---------- */
.steps__grid {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.step {
  position: relative; padding: 32px 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); transform-style: preserve-3d; will-change: transform;
  transition: border-color 0.35s var(--ease), transform 0.15s var(--ease);
}
.step:hover { border-color: rgba(111,149,255,0.4); }
.step__n {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  font-family: "Anton", sans-serif; font-size: 1.3rem;
  color: var(--white); background: rgba(47,107,255,0.12);
  border: 1px solid var(--blue); box-shadow: 0 0 22px -6px var(--blue-glow);
  margin-bottom: 18px;
}
.step h3 { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--grey); font-size: 0.94rem; }

/* ---------- CTA FINAL ---------- */
.cta {
  position: relative; padding: clamp(100px, 14vw, 170px) 0; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #070b16 100%);
}
/* Brillo azul que aparece al llegar al final de la landing */
.cta__glow {
  position: absolute; left: 50%; bottom: -280px; transform: translateX(-50%);
  width: 1200px; height: 700px; max-width: 150vw;
  background: radial-gradient(ellipse 50% 50% at 50% 100%, rgba(47,107,255,0.55), rgba(47,107,255,0.18) 40%, transparent 72%);
  filter: blur(10px); pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--ease-2);
}
.cta__glow.in { opacity: 1; animation: endGlow 6s ease-in-out 1.2s infinite; }
@keyframes endGlow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}
.cta__inner { position: relative; z-index: 2; }
.cta__title { font-size: clamp(2.3rem, 6vw, 4.6rem); margin-bottom: 20px; }
.cta__sub { color: var(--grey); font-size: 1.1rem; max-width: 520px; margin: 0 auto 36px; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-1); padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-bottom: 44px; }
.footer__brand { display: inline-flex; align-items: center; height: fit-content; }
.footer__brand .brand__logo { height: 30px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer__col h4 {
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 12px;
}
.footer__col p { color: var(--grey); font-size: 0.92rem; }
.footer__col a { color: var(--blue-soft); }
.footer__col a:hover { text-decoration: underline; }
.footer__base { border-top: 1px solid var(--line); padding-block: 22px; }
.footer__base p { color: var(--grey-2); font-size: 0.82rem; }

/* ---------- UBICACIÓN ---------- */
.location__grid {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px; align-items: stretch;
}
.location__info { display: flex; flex-direction: column; gap: 22px; }
.location__item h4 {
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 8px;
}
.location__item p { color: var(--grey); font-size: 1rem; }
.location__item--highlight {
  padding: 20px 22px; border: 1px solid var(--line-2); border-left: 2px solid var(--blue);
  border-radius: var(--radius); background: rgba(47,107,255,0.05);
}
.location__item--highlight p { color: #cfd4dd; }
.location__item--highlight strong { color: var(--white); }
.location__info .btn { align-self: flex-start; margin-top: 4px; }

.location__map {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-2); min-height: 420px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8);
}
.location__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(0.9) hue-rotate(180deg) brightness(0.95) contrast(0.92) saturate(0.85);
}

/* ---------- INSTAGRAM ---------- */
.instagram__inner {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center;
}
.instagram__phone {
  border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden;
  background: var(--bg-2); max-width: 420px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.9), 0 0 60px -30px var(--blue-glow);
}
.instagram__header {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.instagram__avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Anton", sans-serif; font-size: 1.3rem; color: #fff;
  background: linear-gradient(135deg, #2f6bff, #8a3ffe);
  text-transform: lowercase;
}
.instagram__meta { display: flex; flex-direction: column; line-height: 1.3; }
.instagram__meta strong { font-size: 0.95rem; }
.instagram__meta span { font-size: 0.8rem; color: var(--grey); }
.instagram__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.instagram__grid img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: opacity 0.3s var(--ease), transform 0.5s var(--ease);
}
.instagram__grid img:hover { opacity: 0.85; transform: scale(1.04); }
.instagram__cta .section__title { margin-top: 14px; }
.instagram__text { color: var(--grey); font-size: 1.05rem; max-width: 440px; margin: 18px 0 30px; }
.instagram__cta .btn--primary {
  background: linear-gradient(135deg, #f5f6f8, #e9ecf5); color: #0a0a0a;
}

/* ---------- FOOTER glow ---------- */
.footer { position: relative; }
.footer::before {
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-soft), transparent);
  box-shadow: 0 0 20px 1px var(--blue-glow);
}

/* ---------- WHATSAPP FLOTANTE ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 15px; border-radius: 999px;
  background: var(--wa); color: #06240f; font-weight: 800;
  font-family: "Archivo", sans-serif; font-size: 0.85rem;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.6);
  transform: translateY(120px); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float.show { transform: translateY(0); opacity: 1; }
.wa-float:hover { box-shadow: 0 14px 34px -8px rgba(0,0,0,0.7), 0 0 24px -2px rgba(37,211,102,0.7); }

/* ---------- REVEAL (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 0.8s var(--ease-2), transform 0.8s var(--ease-2), filter 0.8s var(--ease-2); }
.js .reveal.in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__caption { justify-self: start; text-align: left; margin-top: 30px; }
}
@media (max-width: 900px) {
  .pillars__grid, .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .location__grid { grid-template-columns: 1fr; }
  .location__map { min-height: 340px; }
  .instagram__inner { grid-template-columns: 1fr; gap: 34px; }
  .instagram__phone { margin: 0 auto; }
}
@media (max-width: 560px) {
  .brand__logo { height: 20px; }
  .btn--nav { --pad: 10px 16px; font-size: 0.68rem; }
  .diff__list { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .spotlight, .grain { display: none; }
}
