/* ═══════════════════════════════════════
   VARIABLES
════════════════════════════════════════ */
:root {
  --red:        #C53030;
  --black:      #000000;
  --white:      #FFFFFF;
  --gray-soft:  rgba(255, 255, 255, 0.55);
  --nav-height: 116px;
}

/* ═══════════════════════════════════════
   RESET
════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════
   BOTONES
════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
}

/* ═══════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 108px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0 auto;
}

.nav-links a {
  color: var(--gray-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

/* Hamburger */
/* Ocultar el CTA mobile en desktop */
.nav-mobile-cta {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
  position: relative;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  flex: 1;
}

.hero-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.2rem, 8.5vw, 8rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 2rem;
}

.text-red {
  color: var(--red);
}

.hero-sub {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 2.75rem;
  max-width: 560px;
}

.hero-sub p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Barra roja de transición al pie del hero */
.hero-bar {
  height: 8px;
  background: var(--red);
}

/* ═══════════════════════════════════════
   WHATSAPP FLOTANTE
════════════════════════════════════════ */
.wpp-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.wpp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ═══════════════════════════════════════
   PLACEHOLDERS (se reemplazan después)
════════════════════════════════════════ */
.placeholder {
  min-height: 60vh;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  opacity: 0.4;
}

.placeholder--dark {
  background: #111111;
}

/* ═══════════════════════════════════════
   ANIMACIONES DE ENTRADA
════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  opacity: 0;
  animation: fadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.28s; }
.delay-3 { animation-delay: 0.5s; }
.delay-4 { animation-delay: 0.7s; }

/* ═══════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Stagger para cards dentro de grillas */
.svc-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.svc-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.svc-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ═══════════════════════════════════════
   EYEBROW (reutilizable)
════════════════════════════════════════ */
.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ═══════════════════════════════════════
   SERVICIOS
════════════════════════════════════════ */
.servicios {
  background: var(--red);
  padding: 5rem 0 6rem;
}

.servicios-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.servicios-header {
  margin-bottom: 3.5rem;
}

.servicios-header .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.servicios-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--white);
  max-width: 680px;
}

.servicios-headline em {
  font-style: italic;
  font-weight: 400;
}

.servicios-headline strong {
  font-weight: 700;
  display: block;
  margin-top: 0.15em;
}

/* ── Grilla de 4 cards ── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.svc-card {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  cursor: pointer;
  text-align: left;
  color: var(--white);
  min-height: 170px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.svc-card::after {
  content: 'Ver más →';
  margin-top: auto;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease;
}

.svc-card:hover {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.svc-card:hover::after {
  color: rgba(255, 255, 255, 0.7);
}

.svc-icon {
  color: var(--white);
  display: flex;
}

.svc-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

/* ── Grid oculto cuando el panel está abierto ── */
.servicios--expanded .svc-grid {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  height: 0;
  overflow: hidden;
  margin: 0;
}

/* ── Panel expandido ── */
.svc-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  height: 0;
  overflow: hidden;
}

.servicios--expanded .svc-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  height: auto;
  overflow: visible;
}

/* Botón cerrar */
.panel-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: background 0.2s ease;
}

.panel-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Cuerpo del panel: izq + media */
.panel-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
  min-height: 260px;
}

/* Lado izquierdo: texto */
.panel-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.panel-icon-wrap {
  color: var(--white);
  display: flex;
  margin-bottom: 0.25rem;
}

.panel-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}

.panel-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.panel-desc strong {
  color: var(--white);
  font-weight: 700;
}

.panel-tagline {
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.25rem;
}

/* Lado derecho: placeholder de media */
.panel-media {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  font-family: 'Space Grotesk', sans-serif;
}

/* Cuando el panel tiene fan, el fondo del contenedor desaparece */
.panel-media.media--has-fan {
  background: transparent;
  border-color: transparent;
}

/* Fan de imágenes */
.media-fan {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.fan-card {
  position: absolute;
  height: 82%;
  width: auto;
  max-width: 52%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 4 items */
.fan-card:nth-child(1) { transform: rotate(-17deg) translateX(-60%); z-index: 1; cursor: pointer; }
.fan-card:nth-child(2) { transform: rotate(-5deg)  translateX(-20%); z-index: 2; cursor: pointer; }
.fan-card:nth-child(3) { transform: rotate( 5deg)  translateX( 20%); z-index: 3; cursor: pointer; }
.fan-card:nth-child(4) { transform: rotate( 17deg) translateX( 60%); z-index: 4; cursor: pointer; }

/* 5 items */
.media-fan:has(:nth-child(5)) .fan-card:nth-child(1) { transform: rotate(-22deg) translateX(-80%); z-index: 1; }
.media-fan:has(:nth-child(5)) .fan-card:nth-child(2) { transform: rotate(-11deg) translateX(-40%); z-index: 2; }
.media-fan:has(:nth-child(5)) .fan-card:nth-child(3) { transform: rotate(  0deg) translateX(  0%); z-index: 3; }
.media-fan:has(:nth-child(5)) .fan-card:nth-child(4) { transform: rotate( 11deg) translateX( 40%); z-index: 4; }
.media-fan:has(:nth-child(5)) .fan-card:nth-child(5) { transform: rotate( 22deg) translateX( 80%); z-index: 5; cursor: pointer; }

/* Hover 4 items */
.media-fan:not(:has(:nth-child(5))):hover .fan-card:nth-child(1) { transform: rotate(-22deg) translateX(-78%); }
.media-fan:not(:has(:nth-child(5))):hover .fan-card:nth-child(2) { transform: rotate(-7deg)  translateX(-27%); }
.media-fan:not(:has(:nth-child(5))):hover .fan-card:nth-child(3) { transform: rotate( 7deg)  translateX( 27%); }
.media-fan:not(:has(:nth-child(5))):hover .fan-card:nth-child(4) { transform: rotate( 22deg) translateX( 78%); }

/* Hover 5 items */
.media-fan:has(:nth-child(5)):hover .fan-card:nth-child(1) { transform: rotate(-27deg) translateX(-98%); }
.media-fan:has(:nth-child(5)):hover .fan-card:nth-child(2) { transform: rotate(-14deg) translateX(-50%); }
.media-fan:has(:nth-child(5)):hover .fan-card:nth-child(3) { transform: rotate(  0deg) translateX(  0%); }
.media-fan:has(:nth-child(5)):hover .fan-card:nth-child(4) { transform: rotate( 14deg) translateX( 50%); }
.media-fan:has(:nth-child(5)):hover .fan-card:nth-child(5) { transform: rotate( 27deg) translateX( 98%); }

/* Footer de navegación */
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-arrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.panel-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.panel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.panel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.panel-dot.active {
  background: var(--white);
  transform: scale(1.25);
}

/* ═══════════════════════════════════════
   CLIENTES
════════════════════════════════════════ */
.clientes {
  background: var(--black);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.clientes-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.clientes-wrap .eyebrow {
  color: var(--gray-soft);
}

.clientes-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 3rem;
  align-items: center;
  justify-items: center;
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding: 0 2rem;
}

.logo-item {
  width: 100%;
  height: 60px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform 1s cubic-bezier(0.25, 1.4, 0.5, 1),
    opacity   0.5s ease;
}

/* Estado acomodado */
.logos-grid.settled .logo-item {
  opacity: 0.9;
}

/* Logos grandes: el doble */
.logo-item--lg {
  height: 120px;
}

.logo-item:hover {
  opacity: 1 !important;
}

.clientes-mas {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 2rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}

/* ═══════════════════════════════════════
   PROCESO
════════════════════════════════════════ */
.proceso {
  background: var(--red);
  padding: 6rem 0 7rem;
  overflow: hidden;
}

.proceso-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.proceso-wrap .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.proceso-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

/* ── Steps: layout horizontal ── */
.pasos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 3rem;
}

.paso {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 2.25rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.paso:last-child {
  padding-right: 1.75rem;
}

/* Stagger de entrada */
.pasos .reveal:nth-child(2) { transition-delay: 0.15s; }
.pasos .reveal:nth-child(3) { transition-delay: 0.3s;  }

.paso-num-col {
  margin-bottom: 0.75rem;
}

.paso-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  opacity: 0.2;
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
}

.paso-titulo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.paso-desc {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  max-width: 340px;
}

/* CTA final */
.proceso-cta {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 4rem;
}

.proceso-cta p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Botón sobre fondo rojo: blanco sólido */
.proceso-cta .btn-primary {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

/* ═══════════════════════════════════════
   CONTACTO
════════════════════════════════════════ */
.contacto {
  background: var(--red);
  padding: 7rem 0 8rem;
  position: relative;
}

.contacto-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contacto-left .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.contacto-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 2.5rem;
}

.contacto-datos {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contacto-dato {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.55;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contacto-dato:hover {
  color: var(--white);
}

.contacto-dato svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Formulario */
.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.form-group input,
.form-group select {
  background: rgba(0, 0, 0, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.28);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.45)' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.75rem;
  cursor: pointer;
}

.form-group select option {
  background: #1a1a1a;
  color: var(--white);
}

.form-group select:not(.has-value) {
  color: rgba(255, 255, 255, 0.3);
}

.form-group select.has-value {
  color: var(--white);
}

.contacto-submit {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  align-self: flex-start;
  margin-top: 0.4rem;
  font-size: 1rem;
}

.contacto-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-honeypot {
  display: none;
}

.form-status {
  min-height: 1.25rem;
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.4;
}

.form-status.is-error {
  color: #ffd3d3;
}

/* ═══════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3.5rem 0 2.5rem;
}

.footer-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  flex-wrap: wrap;
}

.footer-info {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-info span,
.footer-info a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-info a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   TESTIMONIALES
════════════════════════════════════════ */
.testimoniales {
  background: var(--black);
  padding: 6rem 0 7rem;
}

.testimoniales-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimoniales-wrap .eyebrow {
  color: var(--gray-soft);
}

.testimoniales-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
}

.testimoniales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonio-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-ph {
  aspect-ratio: 16 / 9;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: border-color 0.25s ease;
}

.video-ph:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.testimonio-cliente {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  letter-spacing: 0.04em;
}

/* Stagger */
.testimoniales-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.testimoniales-grid .reveal:nth-child(3) { transition-delay: 0.24s; }

/* ═══════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.faq {
  background: var(--black);
  padding: 6rem 0 8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-wrap .eyebrow {
  color: var(--gray-soft);
}

.faq-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 600;
  text-align: left;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: rgba(255, 255, 255, 0.75);
}

.faq-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  padding-bottom: 1.75rem;
}

.faq-answer p strong {
  color: var(--white);
  font-weight: 600;
}

/* Stagger */
.faq-list .reveal:nth-child(2) { transition-delay: 0.07s; }
.faq-list .reveal:nth-child(3) { transition-delay: 0.14s; }
.faq-list .reveal:nth-child(4) { transition-delay: 0.21s; }
.faq-list .reveal:nth-child(5) { transition-delay: 0.28s; }
.faq-list .reveal:nth-child(6) { transition-delay: 0.35s; }

/* ═══════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-media {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s ease;
}

.lightbox-img {
  max-width: min(90vw, 520px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}

.lightbox-video {
  max-width: min(90vw, 700px);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  background: #000;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.lightbox-prev { left: 1.75rem; }
.lightbox-next { right: 1.75rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev:disabled,
.lightbox-next:disabled {
  opacity: 0.2;
  cursor: default;
}

/* ═══════════════════════════════════════
   STICKERS DECORATIVOS — HERO
════════════════════════════════════════ */
.sticker {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 4;
  filter: drop-shadow(0 5px 16px rgba(0, 0, 0, 0.5));
  opacity: 0.9;
}

/* ── Contacto izquierdo ── */
.sticker--contacto-l1 {
  width: 102px;
  top: 10%;
  left: -20px;
  transform: rotate(-19deg);
}

.sticker--contacto-l2 {
  width: 168px;
  top: 42%;
  left: -36px;
  transform: rotate(-3deg);
}

.sticker--contacto-l3 {
  width: 88px;
  bottom: 10%;
  left: -12px;
  transform: rotate(22deg);
}

/* ── Contacto derecho ── */
.sticker--contacto-r1 {
  width: 160px;
  top: 8%;
  right: -32px;
  transform: rotate(15deg);
}

.sticker--contacto-r2 {
  width: 84px;
  top: 50%;
  right: -14px;
  transform: rotate(-18deg);
}

.sticker--contacto-r3 {
  width: 138px;
  bottom: 8%;
  right: -28px;
  transform: rotate(8deg);
}

/* ── Costado izquierdo ── */
.sticker--hero-l1 {
  width: 86px;
  top: 13%;
  left: -28px;
  transform: rotate(-27deg);
}

.sticker--hero-l2 {
  width: 174px;
  top: 34%;
  left: -40px;
  transform: rotate(-6deg);
}

.sticker--hero-l3 {
  width: 224px;
  bottom: 16%;
  left: -18px;
  transform: rotate(16deg);
}

/* ── Costado derecho ── */
.sticker--hero-r1 {
  width: 148px;
  top: 20%;
  right: -34px;
  transform: rotate(24deg);
}

.sticker--hero-r2 {
  width: 76px;
  top: 52%;
  right: -16px;
  transform: rotate(-14deg);
}

.sticker--hero-r3 {
  width: 168px;
  bottom: 12%;
  right: -42px;
  transform: rotate(5deg);
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE
════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Stickers: hide on small screens */
  .sticker { display: none; }

  /* Nav */
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 1.75rem 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.15rem;
    color: var(--white);
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-mobile-cta {
    display: block;
  }

  .nav-mobile-cta .btn {
    width: 100%;
    margin-top: 0.5rem;
  }

  /* Servicios */
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .panel-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
  }

  .panel-media {
    aspect-ratio: 16 / 9;
  }

  .svc-panel {
    padding: 2rem 1.5rem 1.75rem;
  }

  .panel-name {
    font-size: 1.4rem;
  }

  /* Contacto */
  .contacto-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contacto-submit {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Testimoniales */
  .testimoniales-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* FAQ */
  .faq-question {
    padding: 1.25rem 0;
  }

  /* Proceso */
  .pasos {
    grid-template-columns: 1fr;
  }

  .paso {
    padding: 1.75rem 1.5rem;
    border-bottom: none;
  }

  .proceso-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Hero */
  .hero-container {
    padding: 4rem 1.5rem 3rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}
