/* ============================================================
   PULSE COMPANY — Producción Técnica Integral
   ============================================================ */

:root {
  --negro: #050505;
  --negro-2: #0b0b0b;
  --negro-3: #121212;
  --carbon: #1a1a1a;
  --borde: rgba(255, 255, 255, 0.08);
  --lima: #DFFF9A;
  --lima-osc: #b8e05e;
  --blanco: #ffffff;
  --gris: #a8a8a8;
  --gris-osc: #6b6b6b;
  --fuente: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radio: 18px;
  --trans: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--fuente);
  background: var(--negro);
  color: var(--blanco);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.accent { color: var(--lima); }
.accent-soft { color: var(--lima); font-weight: 600; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }

h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.3rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  margin-bottom: 1.2rem;
  max-width: 720px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--lima);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.section-kicker::before {
  content: '';
  display: block;
  width: 26px;
  height: 3px;
  background: var(--lima);
  border-radius: 2px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans), color var(--trans);
  cursor: pointer;
  border: none;
}

.btn-lg { padding: 1rem 2.1rem; font-size: 1.02rem; }

.btn-accent {
  background: var(--lima);
  color: #0c1400;
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(223, 255, 154, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--blanco);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--lima);
  color: var(--lima);
  transform: translateY(-3px);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--trans), box-shadow var(--trans), backdrop-filter var(--trans);
  padding: 0.4rem 0;
}

.nav.scrolled {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--borde);
}

.nav-inner {
  width: min(1280px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.nav-logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:not(.btn) {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s;
  padding: 0.3rem 0;
}

.nav-links a:not(.btn):hover { color: var(--lima); }

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 2px;
  background: var(--lima);
  border-radius: 2px;
  transition: width 0.3s var(--trans);
}

.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-cta { margin-left: 0.4rem; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.nav-burger span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--blanco);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(5,5,5,0.25) 0%, rgba(5,5,5,0.72) 100%),
    linear-gradient(to bottom, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.25) 40%, var(--negro) 98%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, 92%);
  padding-top: 4rem;
}

.hero-kicker {
  color: var(--lima);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: clamp(0.72rem, 1.6vw, 0.95rem);
  font-weight: 600;
  margin-bottom: 1.3rem;
}

.hero-sub {
  margin: 1.5rem auto 2.3rem;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.98rem, 2vw, 1.13rem);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.hero-scroll span {
  width: 4px; height: 9px;
  background: var(--lima);
  border-radius: 4px;
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--lima);
  color: #0c1400;
  overflow: hidden;
  padding: 0.85rem 0;
  position: relative;
  z-index: 3;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}

.marquee-track i { font-style: normal; opacity: 0.55; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECCIONES
   ============================================================ */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section-alt { background: var(--negro-2); }

/* ---------- Quiénes somos ---------- */
.somos-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.somos-text p:not(.section-kicker) {
  color: var(--gris);
  margin-bottom: 1rem;
  font-weight: 300;
}

.somos-text strong { color: var(--blanco); font-weight: 600; }

.somos-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--lima);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--gris);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

.somos-media {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.somos-img {
  border-radius: var(--radio);
  overflow: hidden;
  border: 1px solid var(--borde);
}

.somos-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--trans);
}

.somos-img:hover img { transform: scale(1.05); }

.somos-img-1 { transform: translateY(1.6rem); }

/* ---------- Servicios ---------- */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem;
}

.servicio-card {
  background: var(--negro-3);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 2rem 1.6rem;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(223,255,154,0.08), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}

.servicio-card:hover::before { opacity: 1; }

.servicio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(223, 255, 154, 0.4);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.servicio-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(223, 255, 154, 0.1);
  border: 1px solid rgba(223, 255, 154, 0.25);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}

.servicio-icon svg { width: 26px; height: 26px; fill: var(--lima); }

.servicio-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.servicio-card p {
  color: var(--gris);
  font-size: 0.88rem;
  font-weight: 300;
}

/* ---------- Experiencias ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2.8rem;
}

.exp-card {
  position: relative;
  border-radius: calc(var(--radio) + 6px);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--borde);
  background-size: cover;
  background-position: center;
  transition: transform var(--trans), box-shadow var(--trans);
}

.exp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.96) 18%, rgba(5,5,5,0.45) 55%, rgba(5,5,5,0.2) 100%);
}

.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.exp-content { padding: 2.4rem; position: relative; z-index: 1; }

.exp-content h3 {
  font-size: 1.55rem;
  text-transform: uppercase;
  color: var(--lima);
  margin-bottom: 0.6rem;
}

.exp-content > p { color: rgba(255,255,255,0.85); margin-bottom: 1rem; font-weight: 300; }

.exp-content ul { list-style: none; }

.exp-content li {
  padding: 0.32rem 0 0.32rem 1.7rem;
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

.exp-content li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.78rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--lima);
  box-shadow: 0 0 12px rgba(223, 255, 154, 0.8);
}

/* ---------- Por qué elegirnos ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem;
}

.why-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--negro-3);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 1.7rem 1.5rem;
  transition: transform var(--trans), border-color var(--trans);
}

.why-item:hover {
  transform: translateY(-5px);
  border-color: rgba(223, 255, 154, 0.4);
}

.why-icon {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(223, 255, 154, 0.1);
  border: 1px solid rgba(223, 255, 154, 0.25);
  display: grid;
  place-items: center;
}

.why-icon svg { width: 24px; height: 24px; fill: var(--lima); }

.why-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lima);
  margin-bottom: 0.25rem;
}

.why-item p { color: var(--gris); font-size: 0.9rem; font-weight: 300; }

/* ---------- Proceso ---------- */
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem;
  counter-reset: paso;
}

.proceso-step {
  position: relative;
  background: var(--negro-3);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 1.9rem 1.6rem 1.7rem;
  overflow: hidden;
  transition: transform var(--trans), border-color var(--trans);
}

.proceso-step:hover {
  transform: translateY(-5px);
  border-color: rgba(223, 255, 154, 0.4);
}

.proceso-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(223, 255, 154, 0.55);
  line-height: 1;
  display: block;
  margin-bottom: 0.8rem;
}

.proceso-step h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.proceso-step p { color: var(--gris); font-size: 0.9rem; font-weight: 300; }

/* ---------- Galería ---------- */
.galeria-filtros {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin: 2.2rem 0 1.8rem;
}

.filtro {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-family: var(--fuente);
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s;
}

.filtro:hover { border-color: var(--lima); color: var(--lima); }

.filtro.active {
  background: var(--lima);
  border-color: var(--lima);
  color: #0c1400;
  font-weight: 600;
}

.galeria-grid {
  columns: 4 240px;
  column-gap: 1rem;
}

.galeria-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
  cursor: zoom-in;
  break-inside: avoid;
  border: 1px solid var(--borde);
  animation: fadeIn 0.5s var(--trans);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.galeria-item img {
  width: 100%;
  transition: transform 0.55s var(--trans), filter 0.4s;
}

.galeria-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
}

.galeria-item:hover::after { opacity: 1; }
.galeria-item:hover img { transform: scale(1.06); }

/* ---------- Videos ---------- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.8rem;
}

.video-card {
  border-radius: calc(var(--radio) + 4px);
  overflow: hidden;
  border: 1px solid var(--borde);
  background: var(--negro-3);
  aspect-ratio: 9 / 16;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(223, 255, 154, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Seguridad ---------- */
.seg-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.seg-list { list-style: none; margin-top: 1.8rem; }

.seg-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--borde);
  font-weight: 400;
  font-size: 1.02rem;
}

.seg-list li:last-child { border-bottom: none; }

.seg-list svg {
  width: 24px; height: 24px;
  fill: var(--lima);
  flex-shrink: 0;
}

.seg-img {
  border-radius: calc(var(--radio) + 6px);
  overflow: hidden;
  border: 1px solid var(--borde);
}

.seg-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contacto ---------- */
.contacto {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(223, 255, 154, 0.07), transparent),
    var(--negro);
}

.contacto-box { text-align: center; }

.contacto-box .section-kicker { justify-content: center; }
.contacto-box .section-kicker::before { display: none; }

.contacto-box h2 { margin-inline: auto; }

.contacto-sub {
  color: var(--gris);
  max-width: 520px;
  margin: 0 auto 2.8rem;
  font-weight: 300;
}

.contacto-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contacto-card {
  background: var(--negro-3);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 2.1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}

.contacto-card:hover {
  transform: translateY(-6px);
  border-color: rgba(223, 255, 154, 0.5);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.contacto-card svg {
  width: 34px; height: 34px;
  fill: var(--lima);
  margin-bottom: 0.5rem;
}

.contacto-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  color: var(--gris);
  font-weight: 600;
}

.contacto-valor { font-weight: 600; font-size: 1.02rem; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--borde);
  padding: 3rem 0 2rem;
  background: var(--negro-2);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}

.footer-logo { height: 44px; width: auto; opacity: 0.95; }

.footer-inner > p { color: var(--gris); font-size: 0.9rem; font-weight: 300; }

.footer-links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a { color: rgba(255,255,255,0.75); transition: color 0.25s; }
.footer-links a:hover { color: var(--lima); }

.footer-copy { font-size: 0.78rem !important; color: var(--gris-osc) !important; margin-top: 0.6rem; }

.footer-credito {
  font-size: 0.75rem !important;
  color: var(--gris-osc) !important;
}

.footer-credito a {
  color: var(--gris);
  font-weight: 600;
  transition: color 0.25s;
}

.footer-credito a:hover { color: var(--lima); }

/* ---------- Cobertura nacional ---------- */
.cobertura-sub {
  color: var(--gris);
  max-width: 640px;
  font-weight: 300;
  margin-bottom: 2.2rem;
}

.cobertura-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cobertura-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--borde);
  background: var(--negro-3);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}

.cobertura-chips span::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lima);
  box-shadow: 0 0 8px rgba(223, 255, 154, 0.7);
}

.cobertura-chips span:hover {
  border-color: rgba(223, 255, 154, 0.5);
  color: var(--lima);
  transform: translateY(-2px);
}

.cobertura-chips .chip-destacado {
  background: rgba(223, 255, 154, 0.1);
  border-color: rgba(223, 255, 154, 0.4);
  color: var(--lima);
  font-weight: 600;
}

/* ---------- WhatsApp flotante ---------- */
.wsp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--trans);
  animation: pulseWsp 2.6s infinite;
}

.wsp-float:hover { transform: scale(1.1); }

.wsp-float svg { width: 32px; height: 32px; }

@keyframes pulseWsp {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 3, 3, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  transition: background 0.25s, color 0.25s;
  font-family: var(--fuente);
}

.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--lima);
  color: #0c1400;
}

.lb-close { top: 1.2rem; right: 1.2rem; font-size: 1.7rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------- Animaciones de scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--trans), transform 0.8s var(--trans);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .proceso-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    font-size: 1.15rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--trans);
  }

  .nav-links.open { transform: translateX(0); }

  .nav-burger { display: flex; }

  .nav-cta { margin-left: 0; }

  .somos-grid, .seg-grid { grid-template-columns: 1fr; }

  .somos-media { max-width: 560px; }

  .exp-grid { grid-template-columns: 1fr; }

  .exp-card { min-height: 420px; }

  .videos-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }

  .contacto-cards { grid-template-columns: 1fr; max-width: 420px; }

  .seg-img { order: -1; max-height: 340px; }
}

@media (max-width: 560px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .proceso-grid { grid-template-columns: 1fr; }
  .galeria-grid { columns: 2 150px; }
  .somos-stats { gap: 1.6rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
