/* --- PÁGINA PLANES ---
   Las tarjetas de servicio, badges y el modal "Ver más info" viven en
   /assets/css/plan-cards.css (compartido con /, que también los usa). */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;600;800&family=Syncopate:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Segoe+UI&display=swap");

:root {
  --bg: #050505;
  --text: #ffffff;
  --accent-blue: #3b82f6;
  --border-color: rgba(255, 255, 255, 0.1);
  --panel-bg: #0a0a0a;
  --card-bg: #111;
  --text-muted: #a3a3a3;
  --success: #10b981;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
  padding-top: 60px;
}

/* --- FONDO Y EFECTOS --- */
#canvas-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -2; opacity: 1; }
.noise-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: url("https://grainy-gradients.vercel.app/noise.svg"); opacity: 0.05; z-index: -1; pointer-events: none; }


/* --- FOOTER --- */
footer { padding: 60px 20px; border-top: 1px solid rgba(255, 255, 255, 0.05); margin-top: 70px; text-align: center; background: #050505; }
.footer-socials { display: flex; justify-content: center; gap: 20px; margin-bottom: 25px; }
.social-btn {
  width: 45px; height: 45px; border-radius: 50%; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center;
  color: #a3a3a3; text-decoration: none; font-size: 1.2rem; transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.social-btn:hover { transform: translateY(-5px); color: #fff; border-color: transparent; }
.social-btn.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); box-shadow: 0 0 20px rgba(214, 36, 159, 0.4); }
.social-btn.whatsapp:hover { background: #25d366; box-shadow: 0 0 20px rgba(37, 211, 102, 0.4); }
.social-btn.facebook:hover {
  background: #1877f2; /* Azul Facebook oficial */
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.4); /* Resplandor azul */
  color: #fff;
  border-color: transparent;
}
.social-btn.email:hover { background: #fff; color: #000; box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
footer p { color: #8a8a8a; font-size: 0.8rem; margin-top: 20px; }
footer a { color: #9a9a9a; text-decoration: none; transition: 0.3s; }
footer a:hover { color: #fff; text-decoration: underline; }
footer p a {
    margin: 0 25px;       /* Mucho más espacio lateral (izq/der) */
    display: inline-block; /* Asegura que el margen se respete */
    position: relative;    /* Para futuros efectos si quisieras */
}

/* Opcional: Pequeño separador visual entre enlaces */
footer p a:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -28px; /* Ajustado a la mitad del margen */
    color: rgba(255, 255, 255, 0.1);
    font-weight: 300;
    pointer-events: none;
}

/* Ajuste Responsive: En móviles los apilamos para que sean fáciles de tocar */
@media (max-width: 768px) {
    footer p {
        display: flex;
        flex-direction: column;
        gap: 15px; /* Espacio vertical en móvil */
    }

    footer p a {
        margin: 0; /* Quitamos margen lateral en móvil */
        display: block;
    }

    /* Ocultamos el separador en móvil */
    footer p a:not(:last-child)::after {
        display: none;
    }
}

/* --- UTILIDADES & ANIMACIONES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.fade-in { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.23, 1, 0.32, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.glitch-text { font-size: clamp(3rem, 10vw, 8rem); line-height: 1.15; font-weight: 800; letter-spacing: -3px; margin: 0; text-shadow: 0 0 80px rgba(255, 255, 255, 0.1); padding: 15px 10px; display: inline-block; width: 100%; }

/* --- COOKIES --- */
.cookie-banner {
  position: fixed; bottom: 20px; right: 20px; width: 90%; max-width: 380px;
  background: rgba(15, 15, 15, 0.95); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px; border-radius: 12px; z-index: 1000; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(50px); transition: 0.5s; pointer-events: none; display: flex; flex-direction: column; gap: 15px;
}
.cookie-banner.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.cookie-content { display: flex; gap: 15px; align-items: flex-start; }
.cookie-content p { font-size: 0.8rem; color: #bbb; line-height: 1.4; margin: 0; }
.cookie-content a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.btn-cookie { flex: 1; padding: 10px; border-radius: 6px; font-weight: 700; cursor: pointer; font-size: 0.75rem; text-align: center; border: none; background: #fff; color: #000; transition: 0.3s; }
.btn-reject { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }

/* --- INTERNAL HERO --- */
.internal-hero {
    position: relative;
    padding: 120px 20px 60px; /* Mucho espacio arriba para separarlo del Nav */
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 10;
}

.label-box {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    font-family: "Syncopate", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-blue);
    background: rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.internal-hero h1.glitch-text {
    font-family: "Syncopate", sans-serif;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.internal-hero p.lead {
    max-width: 640px;
    margin: 0 auto;
    color: #d0d0d0;
    font-size: 1.05rem;
    line-height: 1.6;
    /* Fondo suave para separarlo de la red de partículas animada de detrás */
    background: rgba(5, 5, 5, 0.78);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 16px 22px;
}

/* =========================================
   SECCIONES EXTRA: AUTOMATIZACIONES Y PACKS
   ========================================= */

.planes-extra-section {
  margin-top: 80px;
}

/* --- "VER MÁS INFO" ---
   Abre el detalle de ese servicio en una ventana modal (ver
   plan-cards.css), en vez de añadir más tarjetas permanentes a la página. */
.btn-ver-mas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 14px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 12px;
  font-family: "Manrope", sans-serif;
}
.btn-ver-mas:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-ver-mas i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}
.btn-ver-mas:hover i {
  transform: translateX(4px);
}

.glitch-text-small {
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

/* --- ESTILOS PREMIUM PARA LOS COMBOS (ULTIMATE PACK) --- */
.ultimate-pack {
  /* Fondo degradado más sofisticado para destacar */
  background: linear-gradient(145deg, #161616 0%, #050505 100%);
  position: relative;
  overflow: hidden;
}

/* Brillo radial de fondo sutil para dar efecto "glowing" */
.ultimate-pack::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.ultimate-pack > * {
  position: relative;
  z-index: 1;
}

/* Botones con alto contraste (combo) */
.btn-gold {
  background: #fbbf24;
  color: #000;
}
.btn-gold:hover {
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
  background: #fff;
}

.btn-platinum {
  background: #e2e8f0;
  color: #000;
}
.btn-platinum:hover {
  box-shadow: 0 10px 25px rgba(226, 232, 240, 0.4);
  background: #fff;
}

/* --- PROCESO (ASÍ TRABAJAMOS) --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  /* Tarjeta sólida para separar el texto de la red de partículas animada de detrás */
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px 20px;
}

.process-number {
  display: block;
  font-family: "Syncopate", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-blue);
  opacity: 0.6;
  margin-bottom: 12px;
}

.process-step h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.process-step p {
  color: #b3b3b3;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- MÓVIL PEQUEÑO --- */
@media (max-width: 480px) {
  .container {
    padding: 30px 15px;
  }
}
