:root {
  --bg: #000000;
  --text: #FFFFFF;
  --primary: #00FFFF; /* Cian */
  --accent: #0077FF; /* Azul */
  --muted: #888;
  --card: #111111;
  --danger: #FF0000; /* Rojo para mute */
  --success: #00FF00; /* Verde para audio on */
  --radius: 4px;
  --max-width: 1200px;
  --shadow-neon: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.2);
  --shadow-accent: 0 0 10px rgba(0, 119, 255, 0.7), 0 0 20px rgba(0, 119, 255, 0.4);
  --shadow-card: 0 4px 10px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(.86, 0, .07, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
  scroll-behavior: smooth;
  text-transform: uppercase;
  position: relative;
  overflow-x: hidden;
}

body.grabbing {
  cursor: grabbing;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  background: repeating-linear-gradient(
    transparent 0,
    rgba(0, 0, 0, 0.1) 1px,
    transparent 2px
  );
  opacity: 0.1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Estilos para el video de fondo principal */
#background-video-main {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0.2;
  transition: opacity 1s ease;
  display: block;
}

#background-video-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  background-size: cover;
  object-fit: cover;
}


#mute-toggle-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  opacity: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

#mute-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--card);
  color: var(--text);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 0 transparent;
  transition: all 0.2s ease-in-out;
  padding: 5px;
  line-height: 1.2;
}

#mute-button.audio-on {
  border-color: var(--primary);
  background: rgba(0, 255, 255, 0.1);
  color: var(--text);
  text-shadow: 0 0 5px var(--text), 0 0 10px var(--primary);
  box-shadow: 0 0 10px var(--primary), 0 0 20px rgba(0, 255, 255, 0.5);
  animation: pulse-on 1.5s infinite alternate;
}

#mute-button.audio-off {
  border-color: var(--danger);
  background: rgba(255, 0, 0, 0.1);
  color: var(--text);
  text-shadow: 0 0 5px var(--text), 0 0 10px var(--danger);
  box-shadow: 0 0 10px var(--danger), 0 0 20px rgba(255, 0, 0, 0.5);
  animation: pulse-off 1.5s infinite alternate;
}

#mute-button:hover {
  transform: scale(1.08);
}

@keyframes pulse-on {
  0% { box-shadow: 0 0 10px var(--primary), 0 0 20px rgba(0, 255, 255, 0.5); }
  100% { box-shadow: 0 0 15px var(--primary), 0 0 30px rgba(0, 255, 255, 0.8); }
}

@keyframes pulse-off {
  0% { box-shadow: 0 0 10px var(--danger), 0 0 20px rgba(255, 0, 0, 0.5); }
  100% { box-shadow: 0 0 15px var(--danger), 0 0 30px rgba(255, 0, 0, 0.8); }
}

#mute-text {
  font-size: 0.75rem;
  font-weight: 600;
  pointer-events: none;
  user-select: none;
  text-align: center;
  margin-top: 5px;
  transition: color 0.2s, text-shadow 0.2s;
}

#mute-text.audio-on {
    color: var(--primary);
    text-shadow: 0 0 5px var(--primary);
}
#mute-text.audio-off {
    color: var(--danger);
    text-shadow: 0 0 5px var(--danger);
}


header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 20px;
  backdrop-filter: blur(4px);
  background: rgba(15, 15, 15, 0.7);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-logo {
  max-height: 160px;
  max-width: 160px;
  height: auto;
  width: auto;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

nav a {
  color: var(--primary);
  padding: 8px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.8;
  transition: all 0.2s;
}

nav a:hover {
  opacity: 1;
  color: var(--accent);
  text-shadow: 0 0 5px var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--text);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow-accent);
}

.hero {
  min-height: 95vh;
  display: grid;
  align-items: center;
  padding: 150px 0 0;
  position: relative;
  border-bottom: 2px solid var(--card);
  z-index: 10;
}

.hero-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 2;
}

.hero-left {
  flex: 1 1 500px;
  padding: 20px;
}

.eyebrow {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  padding: 6px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 0 5px var(--accent);
  letter-spacing: 0.1em;
}

.hero h1 {
  font-family: 'Unica One', monospace;
  font-size: clamp(32px, 7.5vw, 90px);
  margin: 0 0 12px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--primary);
  text-shadow: var(--shadow-neon);
  word-break: break-word;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 25px;
  letter-spacing: 0.05em;
}

.flicker-glitch {
  position: relative;
  text-shadow: var(--shadow-neon);
  animation: flicker-shadow 0.15s infinite alternate;
}

@keyframes flicker-shadow {
  0% {
    text-shadow: 0 0 10px var(--primary);
  }
  50% {
    text-shadow: 0 0 5px var(--accent);
  }
  100% {
    text-shadow: 0 0 15px var(--primary);
  }
}

.flicker-glitch::before,
.flicker-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.flicker-glitch::before {
  color: var(--accent);
  text-shadow: 0 0 5px var(--accent);
  transform: translate(2px, 2px);
  opacity: 0.5;
  animation: glitch-color-1 0.4s infinite alternate-reverse;
}

.flicker-glitch::after {
  color: var(--primary);
  text-shadow: 0 0 5px var(--primary);
  transform: translate(-2px, -2px);
  opacity: 0.5;
  animation: glitch-color-2 0.3s infinite alternate;
}

@keyframes glitch-color-1 {
  0% {
    clip-path: inset(10% 0 80% 0);
  }
  30% {
    clip-path: inset(50% 0 30% 0);
  }
  100% {
    clip-path: inset(70% 0 10% 0);
  }
}

@keyframes glitch-color-2 {
  0% {
    clip-path: inset(20% 0 70% 0);
  }
  50% {
    clip-path: inset(80% 0 10% 0);
  }
  100% {
    clip-path: inset(40% 0 40% 0);
  }
}

section h2.flicker-glitch {
  color: var(--accent);
  text-shadow: var(--shadow-accent);
}

.cta-row {
  display: flex;
  gap: 14px;
  width: 100%;
}

.cta-row .btn {
  flex: 1;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--primary);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--muted);
  color: var(--primary);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transform: translateY(-2px);
}

.cta-note {
  color: var(--muted);
  font-size: .95rem;
}

.hero-right {
  flex: 0 1 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.diag {
  width: 100%;
  display: block;
  height: 40px;
  margin-top: -2px;
}

.diag polygon {
  fill: var(--card);
  stroke: var(--primary);
  stroke-width: 1;
  opacity: 0.8;
}

section {
  padding: 64px 0 40px;
  position: relative;
}

#servicios {
  padding-top: 0;
  padding-bottom: 100px;
}

section h2 {
  font-family: 'Unica One';
  font-size: clamp(24px, 5vw, 40px);
  margin-bottom: 8px;
  color: var(--accent);
  text-shadow: 0 0 5px rgba(0, 119, 255, 0.3);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 30px;
  overflow: auto;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: start;
}

.plan {
  background: var(--card);
  padding: 30px;
  border-radius: var(--radius);
  border: 2px solid var(--muted);
  transition: all .3s;
  display: flex;
  flex-direction: column;
}

.plan:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-neon);
  transform: translateY(-5px);
}

.plan.recommended {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-15px) scale(1.03);
  position: relative;
  z-index: 10;
}

.plan.recommended:hover {
    transform: translateY(-20px) scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--text);
    padding: 5px 15px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-accent);
    white-space: nowrap;
}

.plan h3 {
  font-family: 'Unica One';
  color: var(--primary);
  font-size: 2.2rem;
  margin: 0 0 10px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 10px;
  line-height: 1
}

.plan-price sub {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.plan-features {
  padding: 0;
  margin: 20px 0;
  min-height: 150px;
  flex-grow: 1;
}

.plan-features li {
  list-style: none;
  padding: 8px 0;
  border-bottom: 1px dashed #333;
  font-size: .9rem;
  color: var(--text);
}

.plan-cta {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s;
}

.plan.recommended .plan-cta {
  background: var(--accent);
  color: var(--text);
}

.plan.recommended .plan-cta:hover {
  background: var(--primary);
  color: var(--bg);
}

.price-callout {
    text-align: center;
    margin-top: 40px;
    font-size: 1.5rem;
    font-family: 'Unica One';
    color: var(--muted);
}
.price-callout span {
    color: var(--primary);
    text-shadow: var(--shadow-neon);
    font-size: 1.8rem;
}

.price-callout.shopify-callout {
  font-size: 1.2rem;
  font-style: normal;
  margin-top: 40px;
  /* La clase .annual-price-note se encarga ahora de la línea y el padding */
}

.shopify-includes {
  text-align: center;
  font-size: 0.9rem;
  color: var(--accent);
  margin-top: 15px;
}

#hosting {
    margin-top: 80px;
}

/* ===== ESTILOS PARA CARRUSEL DE SERVICIOS ===== */
.services-carousel-wrapper {
  position: relative;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: var(--card);
  border-radius: 50%;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  opacity: 0.7;
}

.carousel-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 15px var(--primary), 0 0 30px rgba(0, 255, 255, 0.8);
}

.carousel-arrow#carousel-arrow-left {
  left: 10px;
}

.carousel-arrow#carousel-arrow-right {
  right: 10px;
}

.carousel-arrow::before,
.carousel-arrow::after {
  content: '';
  position: absolute;
  top: -2px; left: -2px;
  right: -2px; bottom: -2px;
  background: transparent;
  border-radius: 50%;
  z-index: -1;
}

.carousel-arrow::before {
  border: 2px solid var(--accent);
  animation: glitch-color-1 0.4s infinite alternate-reverse;
  opacity: 0.5;
}

.carousel-arrow::after {
  border: 2px solid var(--primary);
  animation: glitch-color-2 0.3s infinite alternate;
  opacity: 0.5;
}

.services-carousel-container {
    overflow-x: auto;
    position: relative;
    margin-top: 40px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    cursor: grab;
    user-select: none;
    scrollbar-width: none; /* Firefox */
    padding: 10px 0;
}
.services-carousel-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}


.services-carousel-container:active {
    cursor: grabbing;
}

/* .services-carousel-container:hover .services-grid {
    animation-play-state: paused;
} */ /* <--- Eliminado para que JS lo controle */

.services-grid {
    display: flex;
    gap: 30px;
    width: calc(340px * 14);
    animation: scroll-services 40s linear infinite;
}

@keyframes scroll-services {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.service-card {
    background: var(--card);
    padding: 30px;
    border-radius: var(--radius);
    border: 2px solid var(--muted);
    transition: all .3s;
    display: flex;
    flex-direction: column;
    flex: 0 0 310px;
    position: relative;
}

.service-card:hover {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-neon);
    transform: translateY(-5px) scale(1.02);
}

.service-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-family: 'Unica One', monospace;
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.15;
    transition: all 0.3s ease;
}

.service-card:hover .service-number {
    opacity: 0.3;
    transform: scale(1.1);
}

.service-card h3 {
    font-family: 'Unica One';
    color: var(--primary);
    font-size: 1.8rem;
    margin: 0 0 15px;
    min-height: 54px;
    padding-right: 50px;
    line-height: 1.1;
}

.service-card p {
    color: var(--muted);
    font-size: 0.85rem;
    flex-grow: 1;
    line-height: 1.5;
}

.service-card ul {
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.service-card li {
    font-size: .85rem;
    color: var(--text);
    padding: 8px 0;
    border-bottom: 1px dashed #333;
    line-height: 1.5;
}

.service-card li::before {
    content: '* ';
    color: var(--primary);
    font-weight: 700;
}
/* ===== FIN DE ESTILOS PARA CARRUSEL DE SERVICIOS ===== */


.client-slider {
  text-align: center;
  padding: 60px 0;
}

.client-slider h2 {
  margin-bottom: 40px;
}

.logo-slider {
  overflow: hidden;
  position: relative;
  width: auto;
  margin: auto;
  background-color: transparent;
  padding: 20px 0;
}

.logo-slider::before,
.logo-slider::after {
  display: none;
}

.logo-track {
  display: flex;
  width: calc(250px * 12); /* 6 logos * 2 = 12 */
  animation: scroll 40s linear infinite; /* Ajustada la duración */
}

.logo-slide {
  height: 100px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.logo-slide img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  filter: grayscale(100%) brightness(5) opacity(0.7) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
  transition: all 0.3s ease;
}

.logo-slide:hover img {
  filter: grayscale(0) opacity(1) drop-shadow(0 0 10px var(--primary));
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 6)); /* Desplazar 6 logos */
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .plans {
      grid-template-columns: repeat(3, 1fr);
  }
}

#leadForm {
  background: var(--card);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--primary);
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--primary);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px;
  background: var(--bg);
  border: 1px solid #333;
  color: var(--text);
  border-radius: var(--radius);
  font-family: 'Poppins';
  font-size: 1rem;
  text-transform: none;
  transition: border-color .2s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 5px var(--accent);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.field-error {
  color: var(--accent);
  font-size: .8rem;
  margin-top: 5px;
  display: none;
  font-weight: 700;
}

.contact-aside {
  padding: 20px;
  border-left: 2px solid var(--accent);
}

.contact-aside h4 {
  font-family: 'Unica One';
  color: var(--accent);
  font-size: 1.5rem;
  margin-top: 0
}

.contact-aside p {
  color: var(--text);
  font-size: .9rem
}

.contact-aside a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  word-break: break-all;
}

.contact-aside a svg,
.contact-aside a i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

footer {
  background: var(--card);
  padding: 40px 0;
  border-top: 2px solid var(--accent);
  font-size: .85rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  max-height: 50px;
  width: auto;
  opacity: 0.8;
}

.footer-brand {
  font-weight:800;
  color: var(--accent);
  font-family: 'Unica One';
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.footer-center {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-center .flicker-glitch {
  font-size: 1rem;
}

.footer-center a {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.footer-right {
  text-align: right;
}

.footer-right a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 5px;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.fade-up.show {
  opacity: 1;
  transform: none;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 255, 0);
  }
}

.mobile-menu-toggle {
  display: none;
  position: relative;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0;
}
.mobile-menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.mobile-menu-toggle span:nth-child(3) {
  bottom: 0;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.is-active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 960px) {
  .hero-inner {
    justify-content: center;
  }
  .hero-right {
    margin-top: -20px;
    margin-bottom: 30px;
    transform: translateY(-20px);
  }
}

@media (max-width: 800px) {
  .nav-wrap {
    justify-content: center;
    position: relative;
  }

  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;

    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);

    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 100;
  }

  nav.mobile-nav-open {
    transform: translateX(0);
  }

  nav a {
    font-size: 1.5rem;
    opacity: 1;
  }

  .nav-cta {
    font-size: 1.2rem;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-left {
    flex-direction: column;
    text-align: center;
  }
  
  .carousel-arrow {
    display: none;
  }
}

#form-status-message {
  display: none;
  margin-top: 15px;
  padding: 12px;
  border-radius: var(--radius);
  background-color: var(--primary);
  color: var(--bg);
  text-align: center;
  font-weight: 700;
  font-size: 0.9em;
  text-transform: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#form-status-message.show {
  display: block;
  opacity: 1;
}

.btn-sending-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.btn-sending-dots span {
  animation: blink 1.4s infinite both;
}

.btn-sending-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.btn-sending-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%, 80%, 100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

.instagram-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-neon);
  text-align: center;
  transform: translateY(8px);
  transition: transform .6s var(--ease), opacity .6s var(--ease), box-shadow 0.5s;
  opacity: 0;
}

.instagram-card.show {
  transform: none;
  opacity: 1;
}

.instagram-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.instagram-card h3 {
  font-family: 'Unica One';
  font-size: 1.5rem;
  margin: 0;
  color: var(--primary);
  text-shadow: var(--shadow-neon);
}

.instagram-icon-glitch {
    width: 30px;
    height: 30px;
    position: relative;
    color: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary));
    animation: flicker-shadow 0.15s infinite alternate;
}

.instagram-icon-glitch::before,
.instagram-icon-glitch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    mix-blend-mode: screen;
}

.instagram-icon-glitch::before {
    background: var(--accent);
    animation: glitch-color-1 0.4s infinite alternate-reverse;
}

.instagram-icon-glitch::after {
    background: var(--primary);
    animation: glitch-color-2 0.3s infinite alternate;
}

.instagram-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 5px;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #333;
}

.instagram-grid-container a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.instagram-grid-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: grayscale(40%) contrast(1.1);
}

.instagram-grid-container a:hover img {
  transform: scale(1.1);
  filter: grayscale(0%) contrast(1);
}

.insta-handle {
  display: inline-block;
  margin-top: 15px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.insta-handle:hover {
  background-color: var(--accent);
  color: var(--bg);
  box-shadow: var(--shadow-accent);
}

.hero-key-points {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
}

.hero-key-points li {
  color: var(--text);
  opacity: 0.9;
  font-size: 1rem;
  margin-bottom: 12px;
  text-align: left;
}

.hero-key-points li::before {
  content: '// ';
  color: var(--accent);
  margin-right: 10px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .diag {
    height: 25px;
  }
}

.annual-price-note {
  text-align: center;
  margin: 50px 0 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  border-top: 1px dashed var(--muted);
  padding: 30px 20px 0;
}

.logo-container-glitch {
  position: relative;
  width: 220px;
  padding: 8px;
  border: 2px solid var(--primary);
  border-radius: 12px;
  box-shadow: var(--shadow-neon);
  animation: fadeInLogo 0.8s var(--ease) forwards;
}

.logo-container-glitch .access-gate-logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.logo-container-glitch::before,
.logo-container-glitch::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background-image: url('logo-inicio.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  opacity: 0.8;
}

.logo-container-glitch::before {
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
  mix-blend-mode: screen;
}

.logo-container-glitch::after {
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
  mix-blend-mode: screen;
}

@keyframes glitch-anim-1 {
  0% { transform: translate(0); clip-path: inset(95% 0 2% 0); }
  10% { transform: translate(-3px, -2px); clip-path: inset(50% 0 10% 0); }
  30% { transform: translate(3px, 2px); clip-path: inset(15% 0 80% 0); }
  50% { transform: translate(-2px, 3px); clip-path: inset(90% 0 5% 0); }
  70% { transform: translate(2px, -3px); clip-path: inset(40% 0 45% 0); }
  90% { transform: translate(3px, 1px); clip-path: inset(70% 0 20% 0); }
  100% { transform: translate(0); clip-path: inset(95% 0 2% 0); }
}

@keyframes glitch-anim-2 {
  0% { transform: translate(0); clip-path: inset(2% 0 90% 0); }
  15% { transform: translate(2px, 3px); clip-path: inset(20% 0 70% 0); }
  35% { transform: translate(-4px, -1px); clip-path: inset(80% 0 15% 0); }
  55% { transform: translate(1px, -2px); clip-path: inset(5% 0 92% 0); }
  75% { transform: translate(-2px, 2px); clip-path: inset(60% 0 30% 0); }
  95% { transform: translate(4px, -3px); clip-path: inset(25% 0 5% 0); }
  100% { transform: translate(0); clip-path: inset(2% 0 90% 0); }
}

@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== INICIO: BOTÓN SCROLL-TO-TOP ===== */
#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  width: 60px;
  height: 60px;
  background: var(--card);
  border-radius: 50%;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  
  /* Oculto por defecto */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease), transform 0.4s var(--ease);
  
  /* Animación de pulso neón */
  animation: pulse-on 1.5s infinite alternate;
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToTopBtn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px var(--primary), 0 0 30px rgba(0, 255, 255, 0.8);
}

#scrollToTopBtn i.feather {
  width: 32px;
  height: 32px;
}

/* Glitch effect on the button itself */
#scrollToTopBtn::before,
#scrollToTopBtn::after {
  content: '';
  position: absolute;
  top: -2px; left: -2px;
  right: -2px; bottom: -2px;
  background: transparent;
  border-radius: 50%;
  z-index: -1;
}

#scrollToTopBtn::before {
  border: 2px solid var(--accent);
  animation: glitch-color-1 0.4s infinite alternate-reverse;
  opacity: 0.5;
}

#scrollToTopBtn::after {
  border: 2px solid var(--primary);
  animation: glitch-color-2 0.3s infinite alternate;
  opacity: 0.5;
}
/* ===== FIN: BOTÓN SCROLL-TO-TOP ===== */