/* FabiÃ¡n Skulls - styles.css
   Estilo: Street Dark-Neon (InspiraciÃ³n doctorneon.es)
   Fonts: Google Fonts - Outfit, Montserrat */

:root {
  --bg: #272d2d;
  /* Charcoal oscuro metalizado */
  --bg-darker: #1e2222;
  /* SÃºper charcoal para contenedores y cajas */
  --accent-dark: #5e4c5a;
  /* Deep plum para sombras, degradados y glows de fondo */
  --accent-med: #0d5c63;
  /* Dark teal para glows y sombras profundas */
  --accent-light: #6bab90;
  /* Sage green para acentos de texto secundarios */
  --gold-neon: #dbb3b1;
  /* Dusty Pink para luces de neÃ³n principales y tÃ­tulos */
  --blue-neon: #0d5c63;
  /* Color azul teal original de la marca */
  --text: #f5f5f5;
  /* Blanco roto para textos principales */
  --text-dim: rgba(245, 245, 245, 0.7);
  /* Textos secundarios */
  --gold-dk: #6e5251;
  /* Dark pink para bordes */
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  position: relative;
  /* Safe area insets for iPhone X+ notch/Dynamic Island */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Evitar viudas y huérfanas (palabras sueltas al final de un texto) */
h1,
h2,
h3,
h4,
h5,
h6,
p,
li {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6,
.poster-title,
.poster-desc {
  text-wrap: balance;
}

/* Watermark de Calavera "Voy Con Todo" */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/img/voy_con_todo_bg.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.05;
  /* SÃºper sutil, mÃ­stica de marca pura */
  pointer-events: none;
  z-index: -1;
}

/* â”€â”€ INTRO â”€â”€ */
#intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

#intro.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#intro video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

#intro-hint {
  position: absolute;
  bottom: clamp(20px, 5vw, 48px);
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-neon);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(0.6rem, 1.8vw, 0.8rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: blink 2.2s ease-in-out infinite;
  text-shadow: 0 0 10px var(--gold-neon);
}

@keyframes blink {

  0%,
  100% {
    opacity: .28
  }

  50% {
    opacity: 1
  }
}

/* â”€â”€ HEADER (NUEVO HEADER MINIMALISTA Y DIRECTO) â”€â”€ */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 500;
  padding: 20px 5%;
  background: linear-gradient(180deg, rgba(39, 45, 45, 0.98) 0%, transparent 100%);
  border-bottom: 1px solid rgba(13, 92, 99, 0.15);
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

#header.scrolled {
  background: rgba(39, 45, 45, 0.96);
  border-bottom: 2px solid var(--accent-med);
  box-shadow: 0 5px 25px rgba(13, 92, 99, 0.2);
  padding: 10px 5%;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.header-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.header-logo-wrap:hover {
  transform: scale(1.08);
}

.header-logo-img {
  width: clamp(115px, 18vw, 165px);
  /* Logo de la calavera mÃ¡s grande */
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(219, 179, 177, 0.4)) drop-shadow(0 0 40px rgba(0, 166, 251, 0.2));
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease, transform 0.3s ease;
}

.header-btn {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.6rem, 1.2vw, 0.75rem);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.left-btn {
  color: var(--gold-neon);
  border: 2px solid var(--gold-neon);
  background: rgba(219, 179, 177, 0.05);
  box-shadow: 0 0 10px rgba(219, 179, 177, 0.15);
  justify-self: start;
}

.left-btn:hover {
  background: var(--gold-neon);
  color: var(--bg);
  box-shadow: 0 0 20px var(--gold-neon), 0 0 40px rgba(219, 179, 177, 0.4);
  transform: translateY(-2px);
}

.right-btn {
  color: #fff;
  background: #25d366;
  border: 2px solid #25d366;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
}

.right-btn:hover {
  background: #20ba5a;
  border-color: #20ba5a;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

/* â”€â”€ REUSABLES â”€â”€ */
.neon-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-med) 30%, var(--gold-neon) 50%, var(--accent-med) 70%, transparent);
  box-shadow: 0 0 12px var(--accent-med);
  opacity: 0.7;
  margin: 0;
}

.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 60px) clamp(20px, 5vw, 60px);
}

.section-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(0.65rem, 1.4vw, 0.75rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
  text-shadow: 0 0 5px rgba(107, 171, 144, 0.3);
}

h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.3),
    0 0 18px rgba(219, 179, 177, 0.35),
    0 0 30px rgba(13, 92, 99, 0.3);
  animation: neonGlowPulse 4s ease-in-out infinite alternate;
}

h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-neon);
  margin-bottom: 12px;
}

p {
  line-height: 1.8;
  font-size: clamp(0.95rem, 2.1vw, 1.08rem);
  color: var(--text-dim);
}

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-med));
}

.divider::after {
  background: linear-gradient(to left, transparent, var(--accent-med));
}

.divider span {
  color: var(--gold-neon);
  font-size: 1.1rem;
  text-shadow: 0 0 10px var(--gold-neon);
}

.cta-btn {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.7rem, 1.4vw, 0.82rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--bg);
  background: var(--gold-neon);
  border: 2px solid var(--gold-neon);
  padding: 16px 38px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(219, 179, 177, 0.3);
  border-radius: 4px;
}

.cta-btn:hover {
  background: transparent;
  color: var(--gold-neon);
  box-shadow: 0 0 25px var(--gold-neon), 0 0 50px rgba(219, 179, 177, 0.2);
  transform: translateY(-3px);
}

.cta-btn-lg {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  letter-spacing: 0.18em;
  padding: 18px 36px;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 45px;
  box-shadow: 0 0 25px rgba(219, 179, 177, 0.4), inset 0 0 15px rgba(219, 179, 177, 0.1);
  text-shadow: 0 0 10px rgba(219, 179, 177, 0.5);
}

.cta-btn-lg:hover {
  background: transparent;
  color: var(--gold-neon);
  box-shadow: 0 0 40px var(--gold-neon), 0 0 80px rgba(219, 179, 177, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-med);
  color: var(--accent-light);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--accent-med);
  color: #fff;
  border-color: var(--accent-med);
  box-shadow: 0 0 15px rgba(13, 92, 99, 0.3);
}

.btn-whatsapp {
  background: #25d366;
  border: 2px solid #25d366;
  color: #fff;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  border-color: #20ba5a;
  color: #fff;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.5);
}


.reveal,
.reveal-late {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s ease, transform 0.85s ease;
  will-change: opacity, transform;
}

.reveal.show,
.reveal-late.show {
  opacity: 1;
  transform: translateY(0);
}

.delay1 {
  transition-delay: 0.15s;
}

.delay2 {
  transition-delay: 0.3s;
}

/* ── Reveal from Right (Slide-in for Process Steps) ── */
.reveal.from-right {
  opacity: 0;
  transform: translateX(120px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.reveal.from-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger: Process Steps — left-to-right cascade */
.process-track .step:nth-child(1) {
  transition-delay: 0s;
}

.process-track .step:nth-child(2) {
  transition-delay: 0.4s;
}

.process-track .step:nth-child(3) {
  transition-delay: 0.8s;
}

.process-track .step:nth-child(4) {
  transition-delay: 1.2s;
}

.process-track .step:nth-child(5) {
  transition-delay: 1.6s;
}

/* Stagger: Service Cards — dramatic sequential reveal */
.services-grid .srv-card.reveal {
  transform: translateY(50px) scale(0.7);
  transition: opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1), transform 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}

.services-grid .srv-card.reveal.show {
  transform: translateY(0) scale(1);
  transition-delay: 0s !important;
  /* Resetea el delay al revelarse para que la transición de hover inicie al instante */
}

.services-grid .srv-card.reveal:nth-child(1) {
  transition-delay: 0s;
}

.services-grid .srv-card.reveal:nth-child(2) {
  transition-delay: 0.35s;
}

.services-grid .srv-card.reveal:nth-child(3) {
  transition-delay: 0.7s;
}

.services-grid .srv-card.reveal:nth-child(4) {
  transition-delay: 1.05s;
}

/* â”€â”€ HERO (STREET POSTER) â”€â”€ */
#inicio {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(120px, 15vw, 180px) clamp(20px, 5vw, 60px) clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
  background-color: #1d1d1d;
}

#inicio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/img/voy_con_todo_bg.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 769px) {
  #inicio::before {
    background-position: center 80%;
  }
}

#inicio > .hero-poster-container {
  position: relative;
  z-index: 1;
}

.hero-radial {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 80% at 50% 40%, rgba(13, 92, 99, 0.25) 0%, transparent 65%),
    radial-gradient(ellipse 65% 55% at 85% 20%, rgba(219, 179, 177, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 90% at 10% 70%, rgba(94, 76, 90, 0.22) 0%, transparent 60%);
  z-index: 0;
}

/* Street Poster Container */
.hero-poster-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1000px;
  margin: 50px auto 0 auto;
  /* Desplaza todo el pÃ³ster hacia abajo para no solapar el header */
  position: relative;
  z-index: 2;
}

/* Fondo tipogrÃ¡fico masivo */
.poster-bg-text {
  position: absolute;
  top: -30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 950;
  font-size: clamp(4rem, 15vw, 11rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(219, 179, 177, 0.08);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(94, 76, 90, 0.2);
}

.poster-king-wrap {
  position: relative;
  z-index: 2;
  margin-top: -30px;
  margin-bottom: -40px;
  /* Pegamos el título lo más posible a la imagen del camión con solape sutil */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.poster-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
}

.poster-eyebrow {
  position: relative;
  z-index: 3;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.95rem, 2.5vw, 1.4rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-neon);
  font-weight: 900;
  margin-bottom: 6px;
  /* Pegamos las 50 frases lo más posible al borde superior de la imagen */
  text-shadow: 0 0 8px var(--gold-neon), 0 0 20px rgba(219, 179, 177, 0.55);
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 1;
  transform: translateY(0);
  will-change: opacity, transform;
}

.poster-eyebrow.flicker {
  animation: flickerAnimation 4.5s infinite alternate;
}

.poster-eyebrow.phrase-hidden {
  opacity: 0;
  transform: translateY(-8px);
}

.poster-eyebrow.phrase-switching {
  transition: none !important;
  /* RESPALDO VALORES ANTERIORES:
     animation: phraseSwitchAnim 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  */
  animation: phraseSwitchAnim 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes phraseSwitchAnim {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  48% {
    opacity: 0;
    transform: translateY(-10px);
  }

  52% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.poster-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 950;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.45),
    0 0 25px rgba(219, 179, 177, 0.6),
    0 0 45px rgba(13, 92, 99, 0.5);
  animation: neonGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes neonGlowPulse {
  0% {
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.5),
      0 0 20px rgba(219, 179, 177, 0.5),
      0 0 35px rgba(219, 179, 177, 0.3),
      0 0 50px rgba(13, 92, 99, 0.4);
  }

  100% {
    text-shadow:
      0 0 14px rgba(255, 255, 255, 0.85),
      0 0 30px rgba(219, 179, 177, 0.95),
      0 0 60px rgba(219, 179, 177, 0.75),
      0 0 90px rgba(13, 92, 99, 0.85),
      0 0 130px rgba(13, 92, 99, 0.55);
  }
}

.poster-desc {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-dim);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Badges estilo pegatinas/stickers - Sistema de 3 Capas de Stacking */
.stickers-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 0;
  margin-bottom: 0;
  /* Extra padding para que el ::before offset frame no se corte */
  padding-bottom: 10px;
  padding-right: 8px;
  overflow: visible;
}

.badge-sticker {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  padding: 10px 20px;
  transform: rotate(var(--rot, -1.5deg));
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s;
  cursor: default;
  display: inline-block;
  color: var(--text);
}

/* 1. Recuadro de borde descolgado (outline frame) - Capa inferior */
.badge-sticker::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: -6px;
  bottom: -6px;
  border: 2px solid rgba(13, 92, 99, 0.25);
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s, opacity 0.4s;
}

/* 2. Cuerpo sÃ³lido del sticker - Capa intermedia */
.badge-sticker::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #111;
  border: 2px solid var(--accent-med);
  border-radius: 0px;
  z-index: 2;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* 3. Texto del sticker - Capa superior */
.badge-sticker span {
  position: relative;
  z-index: 3;
}

/* Variantes pares */
.badge-sticker:nth-child(even) {
  --rot: 2.3deg;
}

/* Hover effects */
.badge-sticker:hover {
  z-index: 10;
  transform: rotate(0deg) translate(-3px, -3px) scale(1.05);
  color: var(--accent-light);
}

.badge-sticker:hover::after {
  border-color: var(--accent-light);
  box-shadow: 0 10px 20px rgba(13, 92, 99, 0.35);
}

.badge-sticker:hover::before {
  border-color: var(--gold-neon);
  transform: translate(6px, 6px);
  opacity: 0.9;
}

/* CTA Poster (Estilo CAD Neón Rosa con Rejilla y Parpadeo) */
.cta-poster {
  color: var(--gold-neon) !important;
  background-color: rgba(30, 34, 34, 0.85) !important;
  background-image: linear-gradient(rgba(219, 179, 177, 0.06) 1px, transparent 1px), 
                    linear-gradient(90deg, rgba(219, 179, 177, 0.06) 1px, transparent 1px) !important;
  background-size: 15px 15px !important;
  border: 2px solid var(--gold-neon) !important;
  border-radius: 50px !important;
  box-shadow: 0 0 18px rgba(219, 179, 177, 0.25), inset 0 0 10px rgba(219, 179, 177, 0.1) !important;
  text-shadow: 0 0 10px rgba(219, 179, 177, 0.55) !important;
  animation: ctaFlicker 2s infinite;
}

.cta-poster:hover {
  background-color: rgba(30, 34, 34, 0.95) !important;
  color: var(--gold-neon) !important;
  border-color: var(--gold-neon) !important;
  box-shadow: 0 0 25px var(--gold-neon), inset 0 0 15px rgba(219, 179, 177, 0.3) !important;
  transform: translateY(-3px) scale(1.03) !important;
  text-shadow: 0 0 12px rgba(219, 179, 177, 0.7) !important;
  animation: none;
  /* Desactiva el parpadeo en hover */
}

@keyframes ctaFlicker {

  0%,
  18%,
  22%,
  62%,
  66%,
  100% {
    opacity: 1;
    filter: brightness(1);
  }

  20%,
  64% {
    opacity: 0.25;
    /* Apagón atenuado, no llega a cero */
    filter: brightness(0.4);
  }

  19%,
  63% {
    opacity: 0.45;
    filter: brightness(0.6);
  }

  21%,
  65% {
    opacity: 0.85;
    filter: brightness(0.9);
  }
}

/* Hero Slideshow â€” SIN marcos, SIN fondo */
.hero-slideshow {
  position: relative;
  width: clamp(360px, 78vw, 680px);
  /* ImÃ¡genes un poco mÃ¡s grandes */
  aspect-ratio: 1.48;
  /* Formato optimizado para foodtrucks */
  /* Sin marcos, sin fondo, sin sombras de caja */
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

/* ── Equilibrar tamaño visual de las caravanas según su proporción ── */
.hero-slide.slide-piropo {
  transform: scale(0.88);
}

.hero-slide.slide-guapaletas {
  transform: scale(1.08);
}

.hero-slide.slide-churrada {
  transform: scale(0.91);
}

.hero-slide.slide-kchono {
  transform: scale(1.19);
}

.hero-slide.slide-lays {
  transform: scale(1.12);
}

.hero-slide.slide-taco {
  transform: scale(0.94);
}

.hero-slide.slide-julius {
  transform: scale(0.95);
}

.hero-slide.slide-gofres {
  transform: scale(0.84);
}

.hero-slide.slide-qstreet {
  transform: scale(0.75);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(219, 179, 177, 0.15)) drop-shadow(0 0 50px rgba(13, 92, 99, 0.1));
  animation: kenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-slide img:hover {
  filter: drop-shadow(0 0 35px rgba(219, 179, 177, 0.3)) drop-shadow(0 0 60px rgba(13, 92, 99, 0.2));
}

/* Desfasar Ken Burns por slide */
.hero-slide:nth-child(2) img {
  animation-delay: -4s;
}

.hero-slide:nth-child(3) img {
  animation-delay: -8s;
}

.hero-slide:nth-child(4) img {
  animation-delay: -12s;
}

.hero-slide:nth-child(5) img {
  animation-delay: -16s;
}

.hero-slide:nth-child(6) img {
  animation-delay: -20s;
}

.hero-slide:nth-child(7) img {
  animation-delay: -24s;
}

.hero-slide:nth-child(8) img {
  animation-delay: -28s;
}

.hero-slide:nth-child(9) img {
  animation-delay: -32s;
}

@keyframes kenBurns {
  0% {
    transform: scale(1.01) translate(0, 0);
  }

  50% {
    transform: scale(1.10) translate(-1.5%, -0.8%);
  }

  /* Efectos de zoom y movimiento mÃ¡s pronunciados */
  100% {
    transform: scale(1.04) translate(0.8%, 0.5%);
  }
}

/* Etiqueta con nombre del truck */
.slide-label {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.6rem, 1.4vw, 0.75rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-neon);
  background: rgba(30, 34, 34, 0.75);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(219, 179, 177, 0.2);
  text-shadow: 0 0 8px rgba(219, 179, 177, 0.3);
  z-index: 5;
  white-space: nowrap;
}

/* Indicadores de navegaciÃ³n (dots) */
.slide-indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--gold-neon);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  box-shadow: 0 0 6px rgba(219, 179, 177, 0.2);
}

.slide-dot:hover {
  background: rgba(219, 179, 177, 0.4);
  box-shadow: 0 0 12px rgba(219, 179, 177, 0.5);
}

.slide-dot.active {
  background: var(--gold-neon);
  box-shadow: 0 0 15px var(--gold-neon);
}

/* â”€â”€ SECCIÃ“N MARCAS (MARQUESINA DE NEÃ“N SIN LOGOS) â”€â”€ */
#marcas {
  background-color: var(--bg-darker);
  padding: 30px 0;
  overflow: hidden;
  position: relative;
}

/* Estilos para Logos de Clientes MonocromÃ¡ticos con Efecto NeÃ³n Hover */
.client-logo {
  height: clamp(34px, 6.2vw, 50px);
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) invert(0.8) brightness(1.2) contrast(1.1) opacity(0.6);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  margin: 0 12px;
}

.client-logo:hover {
  filter: grayscale(0) brightness(1) invert(0) opacity(1) drop-shadow(0 0 12px rgba(0, 166, 251, 0.6));
  transform: scale(1.15);
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  position: relative;
  /* MÃ¡scaras con degradado lateral para desvanecer marcas */
  mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  flex-shrink: 0;
  gap: 60px;
  padding: 10px 30px;
  animation: scroll 45s linear infinite;
}

/* Detener animaciÃ³n al pasar el cursor para poder leer e interactuar con el neÃ³n */
.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* RÃ³tulos de NeÃ³n */
.neon-sign {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.2rem, 3.2vw, 2.1rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(219, 179, 177, 0.22);
  /* Apagado por defecto */
  text-shadow: 0 0 4px rgba(219, 179, 177, 0.1);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}

.neon-sign::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  opacity: 0.1;
  transition: opacity 0.35s ease;
}

.neon-sign:hover::after {
  opacity: 0.8;
}

/* Hover General: encendido del neÃ³n con color dorado si no tiene uno especÃ­fico */
.neon-sign:hover {
  color: var(--gold-neon);
  text-shadow:
    0 0 5px rgba(219, 179, 177, 0.6),
    0 0 10px rgba(219, 179, 177, 0.6),
    0 0 20px rgba(219, 179, 177, 0.4),
    0 0 40px rgba(219, 179, 177, 0.2);
}

/* Colores especÃ­ficos de hover para cada marca */
.neon-sign.sign-lays:hover {
  color: #ffd700;
  text-shadow:
    0 0 5px rgba(255, 215, 0, 0.7),
    0 0 10px rgba(255, 215, 0, 0.7),
    0 0 20px rgba(255, 215, 0, 0.5),
    0 0 40px rgba(255, 215, 0, 0.3);
}

.neon-sign.sign-vicio:hover {
  color: #ff2e2e;
  text-shadow:
    0 0 5px rgba(255, 46, 46, 0.8),
    0 0 10px rgba(255, 46, 46, 0.8),
    0 0 20px rgba(255, 46, 46, 0.6),
    0 0 40px rgba(255, 46, 46, 0.3);
}

.neon-sign.sign-squadra:hover {
  color: #ff5e00;
  text-shadow:
    0 0 5px rgba(255, 94, 0, 0.8),
    0 0 10px rgba(255, 94, 0, 0.8),
    0 0 20px rgba(255, 94, 0, 0.6),
    0 0 40px rgba(255, 94, 0, 0.3);
}

.neon-sign.sign-dleito:hover {
  color: #f39c12;
  text-shadow:
    0 0 5px rgba(243, 156, 18, 0.8),
    0 0 10px rgba(243, 156, 18, 0.8),
    0 0 20px rgba(243, 156, 18, 0.5),
    0 0 40px rgba(243, 156, 18, 0.3);
}

.neon-sign.sign-pepsi:hover {
  color: #0046ff;
  text-shadow:
    0 0 5px rgba(0, 70, 255, 0.8),
    0 0 10px rgba(0, 70, 255, 0.8),
    0 0 20px rgba(0, 70, 255, 0.6),
    0 0 40px rgba(0, 70, 255, 0.3);
}

.neon-sign.sign-amazon:hover {
  color: #ff9900;
  text-shadow:
    0 0 5px rgba(255, 153, 0, 0.8),
    0 0 10px rgba(255, 153, 0, 0.8),
    0 0 20px rgba(255, 153, 0, 0.5),
    0 0 40px rgba(255, 153, 0, 0.3);
}

.neon-sign.sign-vueling:hover {
  color: #fff200;
  text-shadow:
    0 0 5px rgba(255, 242, 0, 0.8),
    0 0 10px rgba(255, 242, 0, 0.8),
    0 0 20px rgba(255, 242, 0, 0.5);
}

.neon-sign.sign-moeve:hover {
  color: #ff1493;
  text-shadow:
    0 0 5px rgba(255, 20, 147, 0.8),
    0 0 10px rgba(255, 20, 147, 0.8),
    0 0 20px rgba(255, 20, 147, 0.6),
    0 0 40px rgba(255, 20, 147, 0.3);
}

.neon-sign.sign-ametller:hover {
  color: #39ff14;
  text-shadow:
    0 0 5px rgba(57, 255, 20, 0.8),
    0 0 10px rgba(57, 255, 20, 0.8),
    0 0 20px rgba(57, 255, 20, 0.6),
    0 0 40px rgba(57, 255, 20, 0.3);
}

.neon-sign.sign-danone:hover {
  color: #00bfff;
  text-shadow:
    0 0 5px rgba(0, 191, 255, 0.8),
    0 0 10px rgba(0, 191, 255, 0.8),
    0 0 20px rgba(0, 191, 255, 0.5);
}

.neon-sign.sign-goiko:hover {
  color: #ff4500;
  text-shadow:
    0 0 5px rgba(255, 69, 0, 0.8),
    0 0 10px rgba(255, 69, 0, 0.8),
    0 0 20px rgba(255, 69, 0, 0.6),
    0 0 40px rgba(255, 69, 0, 0.3);
}

.neon-sign.sign-mapei:hover {
  color: #0088cc;
  text-shadow:
    0 0 5px rgba(0, 136, 204, 0.8),
    0 0 10px rgba(0, 136, 204, 0.8),
    0 0 20px rgba(0, 136, 204, 0.5);
}

.neon-sign.sign-oakberry:hover {
  color: #7d3c98;
  text-shadow:
    0 0 5px rgba(125, 60, 152, 0.8),
    0 0 10px rgba(125, 60, 152, 0.8),
    0 0 20px rgba(125, 60, 152, 0.5);
}

.neon-sign.sign-dots:hover {
  color: #ff007f;
  text-shadow:
    0 0 5px rgba(255, 0, 127, 0.8),
    0 0 10px rgba(255, 0, 127, 0.8),
    0 0 20px rgba(255, 0, 127, 0.5);
}

.neon-sign.sign-bandarra:hover {
  color: #e74c3c;
  text-shadow:
    0 0 5px rgba(231, 76, 60, 0.8),
    0 0 10px rgba(231, 76, 60, 0.8),
    0 0 20px rgba(231, 76, 60, 0.5);
}

/* Flicker de luz realista (VibraciÃ³n de alta gama muy sutil) */
.flicker {
  /* RESPALDO VALOR ANTERIOR:
     animation: flickerAnimation 4s infinite alternate;
  */
  animation: flickerAnimation 4.5s infinite alternate;
}

@keyframes flickerAnimation {

  0%,
  39.999%,
  55.001%,
  100% {
    opacity: 1;
    text-shadow: 0 0 10px var(--gold-neon), 0 0 25px rgba(219, 179, 177, 0.7);
  }

  /* Un único parpadeo/vibración eléctrica compuesto y sostenido (crackle) en el medio */
  40%,
  46%,
  52% {
    opacity: 0.88;
    text-shadow: 0 0 6px var(--gold-neon), 0 0 16px rgba(219, 179, 177, 0.4);
  }

  43%,
  49% {
    opacity: 0.96;
    text-shadow: 0 0 8px var(--gold-neon), 0 0 20px rgba(219, 179, 177, 0.55);
  }
}

@keyframes flickerAnimationBlue {

  0%,
  39.999%,
  55.001%,
  100% {
    opacity: 1;
    text-shadow: 0 0 8px rgba(63, 224, 235, 0.65), 0 0 22px rgba(13, 92, 99, 0.85);
  }

  /* Un único parpadeo/vibración eléctrica compuesto y sostenido (crackle) en el medio */
  40%,
  46%,
  52% {
    opacity: 0.88;
    text-shadow: 0 0 5px rgba(63, 224, 235, 0.4), 0 0 15px rgba(13, 92, 99, 0.5);
  }

  43%,
  49% {
    opacity: 0.96;
    text-shadow: 0 0 7px rgba(63, 224, 235, 0.55), 0 0 18px rgba(13, 92, 99, 0.7);
  }
}

/* AdaptaciÃ³n responsive */
@media (max-width: 900px) {
  .stickers-row {
    gap: 8px;
  }

  .badge-sticker {
    padding: 8px 12px;
    font-size: 0.58rem;
  }

  .hero-slideshow {
    position: relative;
    width: clamp(360px, 78vw, 680px);
    /* ImÃ¡genes un poco mÃ¡s grandes */
    aspect-ratio: 1.48;
    /* Formato optimizado para foodtrucks */
    /* Sin marcos, sin fondo, sin sombras de caja */
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* â”€â”€ ABOUT â”€â”€ */
#quienes-somos {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-darker) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-img-frame {
  position: relative;
  background: transparent;
  border: 2px solid rgba(219, 179, 177, 0.15);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s, box-shadow 0.4s;
}

.about-img-frame::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
  border: 2px solid rgba(219, 179, 177, 0.12);
  border-radius: 8px;
  pointer-events: none;
  z-index: -1;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s, opacity 0.4s;
}

.about-img-frame:hover {
  transform: translate(-8px, -8px);
  border-color: var(--accent-light);
  box-shadow: 0 20px 45px rgba(13, 92, 99, 0.4);
}

.about-img-frame:hover::before {
  border-color: var(--gold-neon);
  transform: translate(16px, 16px);
  opacity: 0.9;
}

.about-img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  background: transparent;
  border-radius: 6px;
  transition: transform 0.4s ease;
}

.about-img-frame:hover .about-img {
  transform: scale(1.02);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.stat-box {
  text-align: center;
  padding: 18px 8px;
  background: #111;
  border: 2px solid var(--accent-med);
  border-radius: 4px;
  transform: rotate(var(--rot, -1.5deg));
  box-shadow: 4px 4px 0px rgba(13, 92, 99, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Centrado vertical y horizontal perfecto */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-box:nth-child(even) {
  --rot: 2.3deg;
  border-color: var(--gold-neon);
  box-shadow: 4px 4px 0px rgba(219, 179, 177, 0.2);
}

/* Colores apagados por defecto de los números (Tubo de neón apagado / vidrio coloreado) */
.stat-box:nth-child(odd) .stat-num {
  color: #1b3f42;
  text-shadow: none;
}

.stat-box:nth-child(even) .stat-num {
  color: #6e5251;
  text-shadow: none;
}

/* Encendido majestuoso del neón al terminar la animación de carga (.loaded) */
.stat-box:nth-child(odd) .stat-num.loaded {
  color: #3fe0eb;
  /* Color azul turquesa claro y brillante para que destaque sin lavarse a blanco */
  /* Mezclamos un brillo interior turquesa muy vivo con el de fondo para el relieve */
  text-shadow: 0 0 8px rgba(63, 224, 235, 0.65), 0 0 22px rgba(13, 92, 99, 0.85);
}

.stat-box:nth-child(even) .stat-num.loaded {
  color: var(--gold-neon);
  text-shadow: 0 0 10px var(--gold-neon), 0 0 25px rgba(219, 179, 177, 0.7);
}

/* Hover específico para impares (Azul Neón) */
.stat-box:nth-child(odd):hover {
  transform: rotate(0deg) scale(1.08);
  box-shadow: 0 0 18px rgba(13, 92, 99, 0.6);
  border-color: var(--blue-neon);
  background: #111;
}

.stat-box:nth-child(odd):hover .stat-num {
  color: #3fe0eb;
  /* Mantener color turquesa claro en hover */
  text-shadow: 0 0 8px rgba(63, 224, 235, 0.8), 0 0 22px rgba(13, 92, 99, 0.95);
}

.stat-box:nth-child(odd):hover .stat-lbl {
  color: #17828c;
  /* Verde azulado medio para legibilidad en hover */
}

/* Animación flicker para los neones de las cajas impares (11+ y BCN) */
.stat-box:nth-child(odd) .stat-num.flicker {
  animation: flickerAnimationBlue 4.5s infinite alternate;
}

/* Animación flicker para los neones de las cajas pares (100%) */
.stat-box:nth-child(even) .stat-num.flicker:not(.stars-reveal) {
  animation: flickerAnimation 4.5s infinite alternate;
}

/* Animación flicker para las estrellas lit en la caja par */
.stat-box:nth-child(even) .stat-num.flicker.stars-reveal span.lit {
  animation: flickerAnimation 4.5s infinite alternate;
}

/* Hover específico para pares (Rosa Neón) */
.stat-box:nth-child(even):hover {
  transform: rotate(0deg) scale(1.08);
  box-shadow: 0 0 18px rgba(219, 179, 177, 0.6);
  border-color: var(--gold-neon);
  background: #111;
}

.stat-box:nth-child(even):hover .stat-num {
  color: var(--gold-neon);
  text-shadow: 0 0 10px var(--gold-neon), 0 0 25px rgba(219, 179, 177, 0.8);
}

.stat-box:nth-child(even):hover .stat-lbl {
  color: var(--gold-neon);
}

.stat-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  transition: all 0.3s ease, color 0.6s ease, text-shadow 0.6s ease;
}

.stat-lbl {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 6px;
  transition: all 0.3s ease, color 0.6s ease, text-shadow 0.6s ease;
}

/* Colores de los textos de abajo apagados por defecto, haciendo juego con cada número */
.stat-box:nth-child(odd) .stat-lbl {
  color: #1b3f42;
  /* Color apagado para impares (teal) */
}

.stat-box:nth-child(even) .stat-lbl {
  color: #6e5251;
  /* Color apagado para pares (rosa) */
}

/* Encendido de los textos de abajo al cargarse el número */
.stat-box:nth-child(odd) .stat-num.loaded+.stat-lbl {
  color: #17828c;
  /* Verde azulado medio legible en vez de azul oscuro apagado */
  text-shadow: 0 0 8px rgba(23, 130, 140, 0.4);
}

.stat-box:nth-child(even) .stat-num.loaded+.stat-lbl {
  color: var(--gold-neon);
  text-shadow: 0 0 8px rgba(219, 179, 177, 0.4);
}

/* â”€â”€ SERVICES â”€â”€ */
#servicios {
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg) 100%);
  position: relative;
}

.services-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.srv-card {
  position: relative;
  cursor: default;
  background: var(--bg-darker);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s;
  overflow: hidden;
  /* Quitados los dobles marcos traseros, contenido recortado al borde */
}

/* Borde degradado único */
.srv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1.5px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0.65;
  transition: opacity 0.4s ease, background 0.4s ease;
}

/* ─── TARJETAS AZUL TURQUESA NEÓN (1 · Food Trucks & 4 · Food Caravan) ─── */
.services-grid .srv-card:nth-child(1)::after,
.services-grid .srv-card:nth-child(4)::after {
  background: linear-gradient(135deg, var(--accent-med) 0%, transparent 40%, var(--blue-neon) 100%);
}

.services-grid .srv-card:nth-child(1):hover,
.services-grid .srv-card:nth-child(4):hover {
  transform: translate(-8px, -8px);
  box-shadow: 0 15px 35px rgba(13, 92, 99, 0.35);
}

.services-grid .srv-card:nth-child(1):hover::after,
.services-grid .srv-card:nth-child(4):hover::after {
  opacity: 1;
  background: linear-gradient(135deg, var(--accent-light) 0%, transparent 30%, var(--blue-neon) 100%);
}

/* ─── TARJETAS ROSA NEÓN (2 · Horse Van & 3 · Containers) ─── */
.services-grid .srv-card:nth-child(2)::after,
.services-grid .srv-card:nth-child(3)::after {
  background: linear-gradient(135deg, var(--accent-med) 0%, transparent 40%, var(--gold-neon) 100%);
}

.services-grid .srv-card:nth-child(2):hover,
.services-grid .srv-card:nth-child(3):hover {
  transform: translate(-8px, -8px);
  box-shadow: 0 15px 35px rgba(219, 179, 177, 0.35);
}

.services-grid .srv-card:nth-child(2):hover::after,
.services-grid .srv-card:nth-child(3):hover::after {
  opacity: 1;
  background: linear-gradient(135deg, var(--accent-light) 0%, transparent 30%, var(--gold-neon) 100%);
}

.srv-card-inner {
  position: relative;
  width: 100%;
  padding-top: 75%;
  /* Aspect ratio 4:3 para mayor compatibilidad */
  border-radius: 4px;
  overflow: hidden;
}

.srv-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-darker);
}

.srv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
  filter: brightness(0.9) contrast(1.05);
  will-change: transform, filter;
}

.services-grid .srv-card:hover .srv-img img {
  transform: scale(1.06);
  filter: brightness(1.05) contrast(1.1);
}

.srv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 17, 17, 0.8) 0%, rgba(20, 22, 22, 0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3.5vw, 30px);
  transition: background 0.4s ease;
}

.services-grid .srv-card:hover .srv-overlay {
  background: linear-gradient(to top, rgba(15, 17, 17, 0.9) 0%, rgba(20, 22, 22, 0.3) 70%, transparent 100%);
}

.srv-overlay h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 900;
  color: var(--gold-neon);
  text-shadow: 0 0 10px rgba(219, 179, 177, 0.3);
  margin-bottom: 8px;
  transition: color 0.6s cubic-bezier(0.25, 1, 0.5, 1), text-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.services-grid .srv-card:hover .srv-overlay h3 {
  color: #fff;
  text-shadow: 0 0 12px var(--gold-neon),
    0 0 25px rgba(219, 179, 177, 0.6);
}

.srv-overlay p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  transform: translateY(15px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  overflow: hidden;
}

.services-grid .srv-card:hover .srv-overlay p {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}

/* Services Extra box (Camper & Tiny House consolidated) */
.services-extra-box {
  grid-column: 1 / -1;
  margin-top: 40px;
  text-align: center;
  background: rgba(30, 34, 34, 0.75) !important;
  border: 2px dashed var(--accent-med) !important;
  padding: 40px 30px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: all 0.3s ease;
}

.services-extra-box:hover {
  border-color: var(--gold-neon) !important;
  box-shadow: 0 0 35px rgba(219, 179, 177, 0.2);
}

.services-extra-box h3 {
  font-family: 'Outfit', sans-serif;
  color: var(--gold-neon) !important;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(219, 179, 177, 0.3);
}

.services-extra-box p {
  font-size: 0.98rem;
  margin-bottom: 28px;
  color: var(--text-dim);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.extra-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.extra-actions .cta-btn {
  padding: 12px 28px;
  font-size: 0.85rem;
}

/* â”€â”€ ALQUILER / PRICING â”€â”€ */
#alquiler {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-darker) 100%);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.price-card {
  background: var(--bg);
  border: 2px solid rgba(13, 92, 99, 0.2);
  padding: 30px 16px;
  text-align: center;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  border-color: var(--gold-neon);
  box-shadow: 0 0 20px rgba(219, 179, 177, 0.25);
  background: rgba(219, 179, 177, 0.02);
  transform: translateY(-4px);
}

.price-period {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(0.65rem, 1.4vw, 0.75rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
  display: block;
}

.price-amount {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  color: var(--gold-neon);
  text-shadow: 0 0 10px rgba(219, 179, 177, 0.2);
}

.price-note {
  font-size: 0.8rem;
  margin-top: 12px;
  color: var(--text-dim);
}

.price-badge {
  display: block;
  position: absolute;
  top: 10px;
  right: -30px;
  background: var(--gold-neon);
  color: var(--bg);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 30px;
  transform: rotate(45deg);
}

.price-card:nth-child(4) .price-badge {
  background: var(--accent-light);
  color: var(--bg);
}

/* â”€â”€ EQUIPAMIENTO â”€â”€ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 5vw, 60px);
  margin-top: 60px;
}

.menu-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-col li {
  padding: 12px 20px;
  border-left: 3px solid rgba(13, 92, 99, 0.3);
  background: rgba(13, 92, 99, 0.01);
  font-size: clamp(0.85rem, 1.7vw, 0.95rem);
  color: var(--text-dim);
  border-radius: 0 4px 4px 0;
  transition: all 0.3s ease;
}

.menu-col li:hover {
  border-left-color: var(--gold-neon);
  background: rgba(219, 179, 177, 0.03);
  color: #fff;
  padding-left: 28px;
}

.menu-col li::before {
  content: 'âœ¦ ';
  color: var(--gold-neon);
  font-weight: bold;
  margin-right: 4px;
}

/* â”€â”€ PROCESS â”€â”€ */
#proceso {
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg) 100%);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-top: 60px;
  position: relative;
}

.step {
  text-align: center;
  padding: 0 10px;
  position: relative;
}

.step-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1.2;
  margin: 0 auto 20px;
  background: var(--bg-darker);
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s;
}

/* Borde degradado interno premium */
.step-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--accent-med) 0%, transparent 40%, var(--gold-neon) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0.65;
  transition: opacity 0.4s ease, background 0.4s ease;
}

/* Marco descolgado trasero con borde degradado mÃ­stico */
.step-img-wrap::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: -8px;
  bottom: -8px;
  border-radius: 6px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(219, 179, 177, 0.2) 0%, transparent 60%, rgba(13, 92, 99, 0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background 0.4s, opacity 0.4s;
}

.step-img-wrap-inner {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

/* ── [TEST: PARALAJE INTERNO - PASOS PROCESO] ── */
.step-img-wrap-inner img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 120%;
  top: -10%;
  object-fit: cover;
  translate: 0 var(--y-offset, 0px);
  scale: 1;
  transition: scale 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── [FIN TEST: PARALAJE INTERNO] ── */

.step:hover .step-img-wrap {
  transform: translate(-4px, -4px);
  box-shadow: 0 10px 25px rgba(13, 92, 99, 0.35);
}

.step:hover .step-img-wrap::after {
  opacity: 1;
  background: linear-gradient(135deg, var(--accent-light) 0%, transparent 30%, var(--gold-neon) 100%);
}

.step:hover .step-img-wrap::before {
  transform: translate(8px, 8px);
  background: linear-gradient(135deg, var(--gold-neon) 0%, transparent 50%, var(--accent-light) 100%);
  opacity: 0.9;
}

/* ── [TEST: PARALAJE INTERNO - HOVER SCALE] ── */
.step:hover .step-img-wrap-inner img {
  scale: 1.08;
}

/* ── [FIN TEST: PARALAJE INTERNO] ── */

.step h3 {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 800;
  color: var(--gold-neon);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.step:hover h3 {
  color: var(--accent-light);
}

.step p {
  font-size: 0.82rem;
  line-height: 1.6;
}

/* â”€â”€ GALLERY â”€â”€ */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 450px;
  gap: 15px;
  margin-top: 50px;
}

.gal-item {
  position: relative;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(13, 92, 99, 0.2);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.gal-item:hover {
  border-color: var(--gold-neon);
  box-shadow: 0 0 25px rgba(219, 179, 177, 0.25);
}

.gal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gal-item:hover .gal-img {
  transform: scale(1.05);
}

/* â”€â”€ FAQ â”€â”€ */
#faq {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-darker) 100%);
}

.faq-list {
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-bottom: none;
  background-color: #2e3535;
  border-radius: 6px;
  margin-bottom: 10px;
  padding: 0 20px;
  border-left: 3px solid var(--accent-med);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.7vw, 1.05rem);
  letter-spacing: 0.05em;
  color: var(--text);
  transition: all 0.3s ease;
}

.faq-q:hover {
  color: var(--gold-neon);
  padding-left: 8px;
}

.faq-ico {
  color: var(--accent-light);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.35s;
}

.faq-q.open .faq-ico {
  transform: rotate(180deg);
  color: var(--gold-neon);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.3s;
}

.faq-a.open {
  max-height: 260px;
  padding-bottom: 20px;
}

.faq-a p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* â”€â”€ CONTACT â”€â”€ */
#contacto {
  background-color: var(--bg-darker);
  border-top: 2px solid var(--accent-med);
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.4);
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(30px, 6vw, 60px);
  flex-wrap: wrap;
  margin: 36px 0 10px;
}

.c-item {
  text-align: center;
}

.c-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(13, 92, 99, 0.3);
}

.c-item a {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(0.7rem, 1.4vw, 0.85rem);
  letter-spacing: 0.15em;
  color: var(--gold-neon);
  text-decoration: none;
  transition: all 0.3s ease;
}

.c-item a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--gold-neon);
}

.c-item a:hover .c-icon {
  text-shadow: 0 0 10px var(--gold-neon), 0 0 20px rgba(219, 179, 177, 0.6);
}

.c-item p {
  font-size: 0.8rem;
  margin-top: 4px;
}

.hours-text {
  font-size: clamp(0.78rem, 1.4vw, 0.9rem);
  color: var(--accent-light);
  letter-spacing: 0.05em;
  margin-top: 6px;
}

.contact-form,
.social-links,
.social-link {
  display: none;
}

/* Legacy â€” removidos del HTML */

/* â”€â”€ DUAL HERO CTA: WhatsApp + Instagram â”€â”€ */
.contact-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 32px);
  max-width: 620px;
  margin: 0 auto;
}

.contact-hero-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(28px, 4vw, 44px) 20px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
}

.contact-hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.contact-hero-btn>* {
  position: relative;
  z-index: 1;
}

/* WhatsApp Hero */
.whatsapp-hero {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.35);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.05);
}

.whatsapp-hero .contact-hero-icon {
  filter: drop-shadow(0 0 6px rgba(37, 211, 102, 0.3));
}

.whatsapp-hero .contact-hero-label {
  color: #25d366;
  transition: all 0.4s ease;
}

.whatsapp-hero .contact-hero-sub {
  color: var(--text-dim);
}

.whatsapp-hero:hover {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 0 35px rgba(37, 211, 102, 0.7), 0 0 70px rgba(37, 211, 102, 0.25);
  transform: translateY(-4px) scale(1.02);
}

.whatsapp-hero:hover .contact-hero-label {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.whatsapp-hero:hover .contact-hero-sub {
  color: rgba(255, 255, 255, 0.85);
}

.whatsapp-hero:hover .contact-hero-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Instagram Hero */
.instagram-hero {
  background: linear-gradient(145deg, rgba(225, 48, 108, 0.08), rgba(131, 58, 180, 0.04));
  border-color: rgba(225, 48, 108, 0.35);
}

.instagram-hero::before {
  background: linear-gradient(145deg, rgba(225, 48, 108, 0.15), rgba(131, 58, 180, 0.08));
}

.instagram-hero:hover {
  border-color: #e1306c;
  box-shadow: 0 0 30px rgba(225, 48, 108, 0.35), 0 0 60px rgba(131, 58, 180, 0.1);
  transform: translateY(-4px) scale(1.02);
}

.instagram-hero:hover::before {
  opacity: 1;
}

.instagram-hero .contact-hero-icon {
  filter: drop-shadow(0 0 8px rgba(225, 48, 108, 0.5));
}

.instagram-hero .contact-hero-label {
  color: #e1306c;
}

.instagram-hero:hover .contact-hero-label {
  text-shadow: 0 0 12px rgba(225, 48, 108, 0.6);
}

/* Shared icon, label, sub */
.contact-hero-icon {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1;
  color: #fff;
}

.contact-hero-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.contact-hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Responsive: stack on mobile */
@media (max-width: 520px) {
  .contact-cta-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: clamp(15px, 2vw, 20px) clamp(20px, 5vw, 60px) 20px;
  border-top: none;
  background-color: var(--bg) !important;
  background-image: 
    radial-gradient(ellipse 70% 60% at 50% 15%, rgba(13, 92, 99, 0.15) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 85% 85%, rgba(94, 76, 90, 0.2) 0%, transparent 60%) !important;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.footer-logo {
  width: clamp(140px, 25vw, 220px);
  margin: -10px auto 12px;
  display: block;
  background: transparent;
  filter: drop-shadow(0 0 15px rgba(219, 179, 177, 0.3));
}

.footer-nav {
  display: flex;
  gap: clamp(12px, 2.5vw, 24px);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-nav a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: clamp(0.58rem, 1.2vw, 0.68rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--gold-neon);
  text-shadow: 0 0 8px var(--gold-neon);
}

.footer-copy {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.3);
}

/* â”€â”€ RESPONSIVE â”€â”€ */
@media(max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .process-track::before {
    display: none;
  }

  .reveal.from-right {
    transform: translateY(30px);
  }

  .reveal.from-right.show {
    transform: translateY(0);
  }

  .process-track .step {
    transition-delay: 0s !important;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 300px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 640px) {
  #header {
    padding: 12px 3%;
  }

  .header-content {
    gap: 5px;
  }

  .header-btn {
    padding: 8px 14px;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

  .cta-btn-lg {
    font-size: clamp(0.65rem, 3.2vw, 0.85rem) !important;
    letter-spacing: 0.06em !important;
    padding: 12px 18px !important;
    margin-top: 25px !important;
    margin-bottom: 30px !important;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .process-track {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hero-badges {
    gap: 8px;
  }

  .badge {
    padding: 6px 12px;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â• NEW VISUAL DESIGN SYSTEM UPGRADES â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ HEADER SHRINKAGE ON SCROLL â”€â”€ */
#header.scrolled {
  padding: 10px 5%;
}

#header.scrolled .header-logo-img {
  width: clamp(80px, 12vw, 110px);
  filter: drop-shadow(0 0 12px rgba(219, 179, 177, 0.3));
}

#header.scrolled .header-btn {
  padding: 8px 18px;
}

/* â”€â”€ COUNTER & STARS SCROLL ANIMATIONS â”€â”€ */
.stars-reveal {
  display: grid;
  grid-template-columns: repeat(3, 24px);
  grid-template-rows: repeat(3, 24px);
  gap: 2px;
  justify-content: center;
  align-content: center;
  align-items: center;
  justify-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto;
}

.stars-reveal+.stat-lbl {
  margin-top: 16px;
  /* Aumentado a 16px para lograr la separación y desahogo visual óptimo */
}

.stars-reveal span {
  opacity: 0.15;
  color: #6e5251;
  /* Rosa apagado coherente con la paleta par */
  transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1),
    text-shadow 0.6s ease;
  transform: scale(0.6) rotate(0deg);
  text-shadow: none;
}

/* Posiciones de las estrellas: formación de cuadrado con la última estrella en el medio */
.stars-reveal span:nth-child(1) {
  grid-row: 1;
  grid-column: 1;
  /* Esquina superior izquierda */
}

.stars-reveal span:nth-child(2) {
  grid-row: 1;
  grid-column: 3;
  /* Esquina superior derecha */
}

.stars-reveal span:nth-child(3) {
  grid-row: 3;
  grid-column: 3;
  /* Esquina inferior derecha */
}

.stars-reveal span:nth-child(4) {
  grid-row: 3;
  grid-column: 1;
  /* Esquina inferior izquierda */
}

.stars-reveal span:nth-child(5) {
  grid-row: 2;
  grid-column: 2;
  /* Estrella final en el centro del cuadrado */
}

.stars-reveal span.lit {
  opacity: 1;
  color: var(--gold-neon);
  /* Rosa encendido sin brillo por defecto */
  transform: scale(1.25) rotate(360deg);
  /* Giro y escala majestuosos */
  text-shadow: none;
  /* Sin brillo inicialmente */
}

/* El brillo de todas las estrellas se activa en conjunto al terminar la animación */
.stars-reveal.loaded span.lit {
  text-shadow: 0 0 10px var(--gold-neon), 0 0 25px rgba(219, 179, 177, 0.7);
}

/* Brillo en hover para mayor interacción visual */
.stat-box:hover .stars-reveal span.lit {
  text-shadow: 0 0 10px var(--gold-neon), 0 0 25px rgba(219, 179, 177, 0.8);
}

.stat-num.neon-flicker-reveal {
  transition: all 0.3s ease;
}

/* ── ALTERNATING SECTION WATERMARK BACKGROUNDS ── */
.section-alt-bg {
  position: relative;
  background-color: var(--bg-darker) !important;
  overflow: hidden;
}

.section-alt-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

/* Alternate Background Logos */
.section-alt-bg.bg-logo-brand::before {
  background-image: url('assets/img/fabian_skulls_logo.png');
  background-size: min(90vw, 850px);
}

.section-alt-bg.bg-voy-todo::before {
  background-image: url('assets/img/voy_con_todo_bg.webp');
  background-size: min(90vw, 850px);
}

/* Sobreescrituras de degradados para permitir visualizar las marcas de agua con scroll-parallax */
.section-alt-bg.bg-voy-todo,
#servicios.section-alt-bg,
#instagram.section-alt-bg,
#faq.section-alt-bg {
  background-color: #1d1d1d !important;
}

#proceso.section-alt-bg {
  background-color: var(--bg-darker) !important;
}

/* ── RANDOMIZED GLOWS/HALOS FOR EACH SECTION ── */
#quienes-somos.section-alt-bg {
  background-image: 
    radial-gradient(ellipse 65% 85% at 85% 15%, rgba(13, 92, 99, 0.13) 0%, transparent 70%),
    radial-gradient(ellipse 75% 55% at 15% 85%, rgba(94, 76, 90, 0.26) 0%, transparent 65%) !important;
}

#servicios.section-alt-bg {
  background-image: 
    radial-gradient(ellipse 80% 60% at 20% 25%, rgba(13, 92, 99, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 55% 85% at 80% 75%, rgba(94, 76, 90, 0.3) 0%, transparent 60%) !important;
}

#proceso.section-alt-bg {
  background-image: 
    radial-gradient(ellipse 60% 75% at 75% 35%, rgba(13, 92, 99, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 85% 55% at 25% 65%, rgba(94, 76, 90, 0.24) 0%, transparent 70%) !important;
}

#instagram.section-alt-bg {
  background-image: 
    radial-gradient(ellipse 75% 75% at 15% 45%, rgba(13, 92, 99, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 85% 60% at 85% 55%, rgba(94, 76, 90, 0.28) 0%, transparent 65%) !important;
}

#stock.section-alt-bg {
  background-image: 
    radial-gradient(ellipse 90% 55% at 45% 75%, rgba(13, 92, 99, 0.11) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 85% 25%, rgba(94, 76, 90, 0.27) 0%, transparent 60%) !important;
}

#faq.section-alt-bg {
  background-image: 
    radial-gradient(ellipse 55% 55% at 25% 15%, rgba(13, 92, 99, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 80% 75% at 75% 85%, rgba(94, 76, 90, 0.25) 0%, transparent 70%) !important;
}

#contacto.section-alt-bg {
  background-image: 
    radial-gradient(ellipse 70% 70% at 85% 85%, rgba(13, 92, 99, 0.12) 0%, transparent 75%),
    radial-gradient(ellipse 60% 60% at 15% 15%, rgba(94, 76, 90, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 85% 85% at 50% 50%, rgba(13, 17, 23, 0.45) 0%, rgba(13, 17, 23, 0.88) 100%), 
    url('assets/img/taller_escritorio.webp') !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.section-alt-bg>* {
  position: relative;
  z-index: 1;
}

/* â”€â”€ INSTAGRAM SHOWCASE â”€â”€ */
#instagram {
  position: relative;
  overflow: hidden;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.insta-card {
  background: rgba(30, 34, 34, 0.7);
  border: 1px solid rgba(0, 166, 251, 0.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
}

/* Cyberpunk Glass Border */
.insta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(0, 166, 251, 0.4) 0%, transparent 40%, rgba(219, 179, 177, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.insta-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--blue-neon);
  box-shadow: 0 15px 35px rgba(0, 166, 251, 0.35), 0 0 20px rgba(0, 166, 251, 0.15);
}

.insta-card:hover::before {
  opacity: 1;
}

.insta-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(30, 34, 34, 0.85);
  border-bottom: 1px solid rgba(245, 245, 245, 0.05);
}

.insta-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.insta-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-neon);
  box-shadow: 0 0 8px rgba(0, 166, 251, 0.4);
  object-fit: cover;
  background: #000;
}

.insta-meta {
  display: flex;
  flex-direction: column;
}

.insta-username {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--text);
  letter-spacing: 0.05em;
}

.insta-location {
  font-size: 0.62rem;
  color: var(--accent-light);
  font-weight: 600;
}

.insta-dots {
  color: var(--text-dim);
  font-size: 0.8rem;
  cursor: pointer;
}

.insta-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
}

.insta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.insta-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.insta-card:hover .insta-img,
.insta-card:hover .insta-video {
  transform: scale(1.08);
}

.insta-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 34, 34, 0.96) 0%, rgba(13, 92, 99, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
  text-align: center;
  backdrop-filter: blur(4px);
}

.insta-card:hover .insta-hover-overlay {
  opacity: 1;
}

.insta-hover-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.insta-stat {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--text);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.insta-stat .emoji {
  font-size: 1.25rem;
}

.insta-hover-caption {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 250px;
}

.insta-cta {
  background: transparent;
  border: 2px solid var(--gold-neon);
  color: var(--gold-neon);
  box-shadow: 0 0 15px rgba(219, 179, 177, 0.2);
}

.insta-cta:hover {
  background: var(--gold-neon);
  color: var(--bg);
  box-shadow: 0 0 25px var(--gold-neon), 0 0 50px rgba(219, 179, 177, 0.4);
}

/* Responsivo para Instagram */
@media(max-width: 900px) {
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media(max-width: 600px) {
  .insta-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â• MANUFACTURING INTERACTIVE VISOR â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â• SCROLLMATION â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.scrollmation-section {
  padding: 0;
}

.scrollmation-track {
  height: 85vh;
  /* Tightened to reduce empty space below the sticky content */
  position: relative;
}

.scrollmation-sticky {
  position: sticky;
  top: 0;
  /* Locks at the very top of the viewport to match the starting position of other sections */
  height: max-content;
  /* Exactly wraps the content, killing any dead space underneath */
  overflow: hidden;
}

.scrollmation-sticky .section-wrap {
  width: 100%;
  padding-top: clamp(40px, 6vw, 60px);
  /* Exactly like the other sections to match space above */
  padding-bottom: clamp(10px, 2vw, 25px);
  /* Reduced bottom padding to align with the rest of the sections' gaps */
  padding-left: clamp(20px, 5vw, 60px);
  padding-right: clamp(20px, 5vw, 60px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  /* Balanceamos las proporciones para darle más anchura a la columna izquierda */
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  /* Centrado vertical y simetría de altura */
  width: 100%;
}

.scrollmation-right {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  /* Centered format for paragraphs and stats row */
}

.scrollmation-viewer {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(13, 92, 99, 0.3);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(13, 92, 99, 0.05);
  backdrop-filter: blur(10px);
  max-width: 430px;
  /* Ajustado de 480px a 430px para que sea un pelín más pequeña */
  margin: 0 auto;
  /* Horizontally centered in the left column */
  width: 100%;
}

/* El efecto de revelación de la imagen (canvas viewer) dura un pelín más de nada (1.25s en vez de 0.85s) para una entrada cinemática súper fluida */
.scrollmation-viewer.reveal {
  transition: opacity 1.25s cubic-bezier(0.25, 1, 0.5, 1), transform 1.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.scrollmation-viewer canvas,
.scrollmation-viewer video {
  width: 100%;
  height: auto;
  display: block;
  /* Aspect ratio determined dynamically by canvas logical resolution to prevent black borders on the sides */
  max-height: 48vh;
  /* Ajustado de 52vh a 48vh para permitir que crezca de forma proporcional y armonizada */
  object-fit: cover;
  /* Ensures image fills the canvas completely without any side letterboxing */
  will-change: transform;
  transform: translateZ(0);
}

.scrollmation-viewer video {
  display: none;
}

/* â”€â”€ Progress Bar â”€â”€ */
.scrollmation-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 3;
}

.scrollmation-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-med), var(--gold-neon));
  box-shadow: 0 0 10px var(--gold-neon);
  transition: width 0.08s linear;
}

/* â”€â”€ Decorative Technical Corners â”€â”€ */
.scrollmation-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 4;
}

.scrollmation-corner--tl {
  top: 10px;
  left: 10px;
  border-top: 2px solid var(--accent-light);
  border-left: 2px solid var(--accent-light);
}

.scrollmation-corner--tr {
  top: 10px;
  right: 10px;
  border-top: 2px solid var(--gold-neon);
  border-right: 2px solid var(--gold-neon);
}

.scrollmation-corner--bl {
  bottom: 10px;
  left: 10px;
  border-bottom: 2px solid var(--accent-light);
  border-left: 2px solid var(--accent-light);
}

.scrollmation-corner--br {
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid var(--gold-neon);
  border-right: 2px solid var(--gold-neon);
}

/* â”€â”€ Viewfinder technical overlay â”€â”€ */
.scrollmation-viewer::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(13, 92, 99, 0.1);
  pointer-events: none;
  z-index: 2;
}

/* â• â• â• â• â• â• â• â• â• â• â• â• â• â•  SCROLLMATION RESPONSIVE â• â• â• â• â• â• â• â• â• â• â• â• â• â•  */

@media (max-width: 900px) {
  .scrollmation-track {
    height: auto;
    /* Natural vertical flow on mobile */
  }

  .scrollmation-sticky {
    position: relative;
    /* Disables sticky lock on mobile */
    height: auto;
    overflow: visible;
  }

  .about-grid {
    grid-template-columns: 1fr;
    /* Single column on mobile */
    gap: 40px;
  }

  .scrollmation-right {
    height: auto;
    padding-bottom: 0;
    justify-content: start;
  }

  /* Ocultar canvas y barra de progreso en móvil, mostrar el video autoplay */
  .scrollmation-viewer canvas,
  .scrollmation-progress-bar {
    display: none !important;
  }

  .scrollmation-viewer video {
    display: block !important;
    max-height: 50vh;
  }
}

@media (max-width: 600px) {
  .scrollmation-viewer {
    border-radius: 8px;
  }

  .scrollmation-viewer video {
    max-height: 45vh;
  }
}

/* Crowned Skull Logo styling */
.crowned-skull-logo-container {
  display: flex;
  justify-content: center;
  margin: 20px auto 15px;
  max-width: clamp(280px, 45vw, 420px);
  /* Bastante mÃ¡s grande y responsivo */
  position: relative;
}

@keyframes skull-neon-breath {
  0% {
    filter: brightness(0.85) drop-shadow(0 0 15px rgba(219, 179, 177, 0.25)) drop-shadow(0 0 5px rgba(13, 92, 99, 0.2));
  }

  50% {
    filter: brightness(0.85) drop-shadow(0 0 35px rgba(13, 92, 99, 0.6)) drop-shadow(0 0 15px var(--accent-light));
  }

  100% {
    filter: brightness(0.85) drop-shadow(0 0 15px rgba(219, 179, 177, 0.25)) drop-shadow(0 0 5px rgba(13, 92, 99, 0.2));
  }
}

.crowned-skull-logo {
  width: 100%;
  height: auto;
  opacity: 0.9;
  animation: skull-neon-breath 5s infinite ease-in-out;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.crowned-skull-logo:hover {
  opacity: 1;
  transform: scale(1.07) rotate(3deg);
  animation: none;
  /* Pausa el pulso al pasar el cursor para enfocar la iluminación estática del hover */
  filter: brightness(0.85) drop-shadow(0 0 45px rgba(219, 179, 177, 0.75)) drop-shadow(0 0 20px var(--gold-neon));
}

/* ══════════════ INSTAGRAM FALLBACK GRID ══════════════ */
.instagram-fallback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.insta-post {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(13, 92, 99, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  background: var(--bg-darker);
  cursor: pointer;
}

.insta-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.insta-post-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 92, 99, 0.9) 0%, rgba(30, 34, 34, 0.95) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  z-index: 2;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.insta-post:hover img {
  transform: scale(1.06);
}

.insta-post:hover .insta-post-overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .instagram-fallback-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    gap: 15px;
  }
}

/* ══════════════ INSTAGRAM CUSTOM DYNAMIC GRID ══════════════ */
.instagram-custom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.insta-post-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(13, 92, 99, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  background: var(--bg-darker);
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
}

.insta-post-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--blue-neon);
  box-shadow: 0 15px 35px rgba(0, 166, 251, 0.3), 0 0 20px rgba(0, 166, 251, 0.1);
}

.insta-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.insta-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.insta-post-card:hover .insta-img-wrap img {
  transform: scale(1.08);
}

.insta-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 34, 34, 0.96) 0%, rgba(13, 92, 99, 0.82) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
  backdrop-filter: blur(4px);
}

.insta-post-card:hover .insta-hover-overlay {
  opacity: 1;
}

.insta-hover-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.insta-logo-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.insta-caption-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-dim);
  margin-bottom: 16px;
  max-width: 240px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.insta-action-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12rem;
  color: var(--gold-neon);
  border: 1px solid var(--gold-neon);
  padding: 8px 18px;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: rgba(219, 179, 177, 0.05);
  text-transform: uppercase;
}

.insta-post-card:hover .insta-action-btn {
  background: var(--gold-neon);
  color: var(--bg);
  box-shadow: 0 0 15px var(--gold-neon);
}

@media (max-width: 900px) {
  .instagram-custom-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .instagram-custom-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    gap: 20px;
  }
}


/* ══════════════ LEGAL PAGES STYLE ══════════════ */
.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(100px, 12vw, 150px) clamp(20px, 5vw, 40px) clamp(60px, 8vw, 100px);
}

.legal-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(219, 179, 177, 0.2);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.legal-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(13, 92, 99, 0.2);
  padding-bottom: 16px;
}

.legal-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--gold-neon);
  margin-top: 38px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: none;
  animation: none;
  border-left: 3px solid var(--accent-med);
  padding-left: 12px;
}

.legal-body p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 18px;
  text-align: justify;
}

.legal-body ul {
  list-style: none;
  margin: 18px 0 24px 0;
  padding-left: 6px;
}

.legal-body li {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.legal-body li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-size: 0.75rem;
  top: 1px;
}

.legal-body li strong {
  color: var(--text);
}

.legal-back-btn {
  display: inline-block;
  margin-top: 48px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold-neon);
  text-decoration: none;
  border: 1px solid var(--gold-neon);
  padding: 12px 24px;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: rgba(219, 179, 177, 0.02);
}

.legal-back-btn:hover {
  background: var(--gold-neon);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(219, 179, 177, 0.4);
  transform: translateY(-2px);
}

/* ══════════════ COMPOSICIÓN INTERACTIVA DEL IPHONE EN CONTACTO ══════════════ */
#contacto {
  background-image: radial-gradient(ellipse 85% 85% at 50% 50%, rgba(13, 17, 23, 0.45) 0%, rgba(13, 17, 23, 0.88) 100%), url('assets/img/taller_escritorio.webp') !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #0b0a09 !important;
  position: relative;
  overflow: hidden;
}

#contacto h2 {
  font-size: clamp(1.8rem, 4vw, 2.9rem) !important;
}

#contacto .section-wrap {
  padding-top: clamp(13px, 3vw, 25px) !important;
  padding-bottom: clamp(13px, 3vw, 21px) !important;
}

#contacto .contact-info {
  margin-top: clamp(60px, 8vw, 91px) !important;
}

#contacto .c-icon {
  font-size: 2.2rem !important;
}

#contacto .c-item a {
  font-size: clamp(1.0rem, 1.8vw, 1.25rem) !important;
}

#contacto .hours-text {
  font-size: clamp(0.88rem, 1.6vw, 1.1rem) !important;
}

#contacto::before {
  display: none !important;
  /* Desactiva la marca de agua de logo de fondo antigua */
}

.contact-composition-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: clamp(15px, 3vw, 30px) auto 17px;
  padding: 0;
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
  min-height: auto;
}

.iphone-interactive-link {
  display: block;
  width: clamp(272px, 29vw, 355px);
  /* Ajustado a la mitad exacta de la ampliación */
  aspect-ratio: 1 / 1.74;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  cursor: pointer;
  z-index: 10;
  text-decoration: none;
  background: transparent;
  outline: none;
}

.iphone-interactive-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.iphone-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(5px 8px 10px rgba(0, 0, 0, 0.55)) 
          drop-shadow(15px 25px 30px rgba(0, 0, 0, 0.45)) 
          drop-shadow(35px 50px 60px rgba(0, 0, 0, 0.35));
  will-change: opacity;
}

.iphone-screen-calling {
  opacity: 0;
  pointer-events: none;
}

/* Hover de vibración háptica rápida y de alta frecuencia */
.iphone-interactive-link:hover .iphone-interactive-wrap {
  animation: hapticVibration 0.12s linear infinite;
}

/* Vibración visual periódica para móviles (activada vía JS) */
.iphone-interactive-wrap.visual-ring {
  animation: hapticVibration 0.14s linear infinite;
}

/* Apagar la vibración y activar pantalla llamando */
.iphone-interactive-wrap.calling {
  animation: none !important;
  transform: scale(1.04);
}

.iphone-interactive-wrap.calling .iphone-screen-waiting {
  opacity: 0;
  pointer-events: none;
}

.iphone-interactive-wrap.calling .iphone-screen-calling {
  opacity: 1;
  pointer-events: auto;
}

@keyframes hapticVibration {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  10% {
    transform: translate(-1.5px, 1px) rotate(-0.5deg);
  }

  20% {
    transform: translate(1px, -1.5px) rotate(0.5deg);
  }

  30% {
    transform: translate(-1px, 1.5px) rotate(-0.8deg);
  }

  40% {
    transform: translate(1.5px, -1px) rotate(0.8deg);
  }

  50% {
    transform: translate(-1.5px, -1.5px) rotate(-0.5deg);
  }

  60% {
    transform: translate(1.5px, 1.5px) rotate(0.5deg);
  }

  70% {
    transform: translate(-1px, -1px) rotate(0.8deg);
  }

  80% {
    transform: translate(1px, 1.5px) rotate(-0.5deg);
  }

  90% {
    transform: translate(-1.5px, 1px) rotate(0.5deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* Responsive para la sección del escritorio e iPhone */
@media (max-width: 900px) {
  #contacto {
    background-image: radial-gradient(ellipse 95% 95% at 50% 50%, rgba(13, 17, 23, 0.6) 0%, rgba(13, 17, 23, 0.95) 100%), url('assets/img/taller_escritorio.webp') !important;
    background-size: cover !important;
    /* Cubre toda la pantalla en móviles para mejor adaptación vertical */
  }

  .contact-composition-container {
    margin: 15px auto 20px;
    padding: 0;
  }

  .iphone-interactive-link {
    width: 270px;
    height: 470px; /* Explicit height to prevent Safari aspect-ratio rendering collapse */
    margin: 0 auto;
  }
}

/* ==========================================================================
   360 AUDIT OPTIMIZATIONS (PERFORMANCE, RESPONSIVE & MOBILE GPU RENDERING)
   ========================================================================== */

/* Optimizaciones generales para móviles y tablets */
@media (max-width: 768px) {

  /* Desactivar backdrop-filter para mejorar drásticamente los FPS en Android */
  * {
    backdrop-filter: none !important;
  }

  /* Desactivar sombras de texto e imágenes excesivas en móviles para reducir CPU overhead */
  .header-logo-img {
    filter: drop-shadow(0 0 10px rgba(219, 179, 177, 0.2)) !important;
  }

  /* Forzar cabecera completamente sólida en móviles (sin transparencias) */
  #header {
    background: #272d2d !important;
    border-bottom: 1px solid rgba(13, 92, 99, 0.3) !important;
  }
  #header.scrolled {
    background: #1e2222 !important;
    border-bottom: 2px solid var(--accent-med) !important;
  }
}

/* Ajustes finos para el Header en pantallas muy pequeñas (<480px) */
@media (max-width: 480px) {
  #header {
    padding: 8px 2% !important;
  }

  .header-content {
    gap: 3px !important;
  }

  .header-logo-img {
    width: 95px !important;
    filter: none !important;
    /* Desactivar filtros en logo en pantallas mínimas */
  }

  .header-btn {
    padding: 8px 10px !important;
    font-size: 0 !important;
    /* Ocultar texto original de accesibilidad en pantallas de baja resolución */
    letter-spacing: 0 !important;
  }

  .left-btn::before {
    content: "✦ 3D CONFIG";
    font-size: 0.52rem !important;
    font-weight: 900;
  }

  .right-btn::before {
    content: "💬 WHATSAPP";
    font-size: 0.52rem !important;
    font-weight: 900;
  }

  .header-lang-inline,
  #header.scrolled .header-lang-inline {
    top: calc(100% + 9px) !important;
    right: 1px !important;
    left: auto !important;
    transform: none !important;
  }
}

/* Ajustes extremos para pantallas ultra-pequeñas (<340px) como iPhone SE original */
@media (max-width: 340px) {
  .header-logo-img {
    width: 80px !important;
  }

  .left-btn::before {
    content: "✦ 3D";
    font-size: 0.5rem !important;
  }

  .right-btn::before {
    content: "💬 WA";
    font-size: 0.5rem !important;
  }
}

/* ══════════════ ESTILOS WALLAPOP STOCK SLIDER ══════════════ */
.wallapop-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.wallapop-slider-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 24px 0;
  -webkit-overflow-scrolling: touch;
}

/* Ocultar barra de desplazamiento */
.wallapop-slider-container::-webkit-scrollbar {
  display: none;
}

.wallapop-slider-container {
  -ms-overflow-style: none;
  /* IE y Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Loader */
.wallapop-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 250px;
  color: var(--text-dim);
  font-family: 'Outfit', sans-serif;
  gap: 16px;
}

.loader-spinner {
  display: inline-block;
  font-size: 2.5rem;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Tarjeta de Wallapop */
.wallapop-card {
  flex: 0 0 calc(33.333% - 16px);
  /* 3 tarjetas por fila en escritorio */
  min-width: 290px;
  max-width: 360px;
  background-color: var(--bg-darker);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: var(--text);
}

.wallapop-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue-neon);
  box-shadow: 0 15px 30px rgba(13, 92, 99, 0.3), 0 0 15px rgba(13, 92, 99, 0.2);
}

/* Imagen de la tarjeta */
.wallapop-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 66.666%;
  /* Relación de aspecto 3:2 */
  overflow: hidden;
  background-color: #121414;
}

.wallapop-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.wallapop-card:hover .wallapop-card-img {
  transform: scale(1.06);
}

/* Badge Reservado */
.wallapop-reserved-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #ff3b30;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.6);
  z-index: 2;
}

/* Contenido de la tarjeta */
.wallapop-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: var(--bg-darker);
  transition: background 0.4s ease;
}

.wallapop-card:hover .wallapop-card-content {
  background: linear-gradient(135deg, rgba(30, 34, 34, 0.98) 0%, rgba(13, 92, 99, 0.85) 100%);
}

.wallapop-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6rem;
  /* Fijo para alinear el grid independientemente de títulos largos */
}

.wallapop-card-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.4rem;
}

/* Fila de precio y botón */
.wallapop-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wallapop-card-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-neon);
  text-shadow: 0 0 8px rgba(219, 179, 177, 0.2);
}

.wallapop-card-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-neon);
  border: 1.5px solid var(--blue-neon);
  padding: 6px 14px;
  border-radius: 6px;
  background: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  letter-spacing: 0.5px;
}

.wallapop-card:hover .wallapop-card-btn {
  background-color: var(--blue-neon);
  color: var(--text);
  box-shadow: 0 0 10px rgba(13, 92, 99, 0.5);
}



/* Flechas de Navegación */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(30, 34, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  user-select: none;
}

.slider-arrow:hover {
  background-color: var(--bg-darker);
  border-color: var(--blue-neon);
  box-shadow: 0 0 15px rgba(13, 92, 99, 0.6);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.92);
}

.prev-btn {
  left: -15px;
}

.next-btn {
  right: -15px;
}

/* Responsividad del slider */
@media (max-width: 1024px) {
  .wallapop-card {
    flex: 0 0 calc(50% - 12px);
    /* 2 tarjetas por fila en tablets */
  }

  .wallapop-slider-wrapper {
    padding: 0 20px;
  }

  .prev-btn {
    left: -5px;
  }

  .next-btn {
    right: -5px;
  }
}

@media (max-width: 768px) {
  .wallapop-card {
    flex: 0 0 280px;
    /* Ancho fijo para móviles para scroll fluido */
  }

  .wallapop-slider-wrapper {
    padding: 0 10px;
  }

  .slider-arrow {
    display: none;
    /* En móviles usamos scroll táctil nativo */
  }

  .poster-king-wrap {
    margin-top: -10px;
    margin-bottom: -15px;
  }
}

/* ── SELECTOR DE IDIOMAS E INFORMACIÓN SUTIL EN HEADER ── */
.header-col {
  display: flex;
  flex-direction: column;
}

.left-col {
  align-items: center;
  justify-self: start;
}

.right-col {
  align-items: center;
  justify-self: end;
  position: relative;
}

.header-lang-inline {
  display: flex;
  align-items: center;
  position: absolute;
  top: calc(100% + 28px);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0.55;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  z-index: 10;
}

.header-lang-inline:hover {
  opacity: 0.95;
}

#header.scrolled .header-lang-inline {
  top: calc(100% + 10px);
}

.header-lang-inline .lang-link {
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-lang-inline .lang-link:hover,
.header-lang-inline .lang-link.active {
  color: var(--gold-neon);
  text-shadow: 0 0 8px var(--gold-neon);
}

.header-lang-inline .lang-divider {
  color: var(--text-dim);
  margin: 0 5px;
  opacity: 0.5;
}

.header-hours-inline {
  margin-top: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  opacity: 0.35;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.header-hours-inline:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .header-hours-inline {
    display: none;
  }
  .header-lang-inline {
    top: calc(100% + 15px);
    right: 1px;
    left: auto;
    transform: none;
    font-size: 0.85rem;
    opacity: 0.55;
  }
  #header.scrolled .header-lang-inline {
    top: calc(100% + 10px);
  }
  .header-lang-inline .lang-link {
    padding: 8px 10px;
    margin: -8px -6px;
    display: inline-block;
  }
  .header-lang-inline .lang-divider {
    margin: 0 2px;
  }
}

/* Footer Lang Selector */
.footer-lang-selector {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.footer-lang-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-lang-link:hover,
.footer-lang-link.active {
  color: var(--gold-neon);
  text-shadow: 0 0 8px var(--gold-neon);
}
/* Trigger redeploy v20: lower hero background, adjust scrollmation timing, and align mobile language selector 1px from screen border. Force size change 2026-06-16-06 */

/* ════════════════════════════════════════════════════════════ */
/* ── CLASES DE UTILIDAD GLOBAL (Para remover inline styles) ── */
/* ════════════════════════════════════════════════════════════ */
.text-center { text-align: center !important; }
.display-block { display: block !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-15 { margin-bottom: 15px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-clamp-30-50 { margin-bottom: clamp(30px, 5vh, 50px) !important; }
.mt-48 { margin-top: 48px !important; }
.mt-54 { margin-top: 54px !important; }
.pt-0 { padding-top: 0 !important; }
.min-h-360 { min-height: 360px !important; }
.color-cream { color: var(--cream) !important; }

.max-w-560 { max-width: 560px !important; }
.max-w-650 { max-width: 650px !important; }
.max-w-700 { max-width: 700px !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }