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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #000000;
            color: #ffffff;
            line-height: 1.6;
        }

        body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px; /* altura del desvanecido */
  pointer-events: none; /* no bloquea clics */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.863), rgba(0,0,0,0));
  z-index: 9999;
}

        /* Floating Navbar */
        .navbar {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(15, 15, 15, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 50px;
            padding: 12px 30px;
            border: 1px solid #333;
            z-index: 1000;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
        }

        .nav-center {
            display: flex;
            align-items: center;
            gap: 40px;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            color: #ffffff;
            text-decoration: none;
        }
        .logo img{
            height: 40px;
        }
        .nav-links {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .nav-links a {
            color: #e0e0e0;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: #ffffff;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            background: #ffffff;
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        /* Auth buttons */
        .auth-buttons {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .auth-btn {
  padding: 8px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px; /* separación entre icono y texto */
}

.signup-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #005348 0%, #0b7532 100%);
  color: white;
  white-space: nowrap;
  border: none;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-weight: 500;
  font-size: 0.9rem;
  z-index: 0;
}

/* Capa base de hover */
.signup-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #063f37 0%, #015e25 100%);
  opacity: 0;
  transition: opacity 0.4s ease; /* transición suave */
  z-index: -1;
  border-radius: 25px;
}

/* Mostrar gradualmente el hover */
.signup-btn:hover::before {
  opacity: 1;
}

/* Icono */
.whatsapp-icon {
  width: 24px;
  height: 24px;
}



        .mobile-auth-buttons {
            display: none;
            flex-direction: column;
            gap: 10px;
        }

        .login-btn {
            color: #e0e0e0;
            border: 1px solid #333;
        }

        .login-btn:hover {
            color: #ffffff;
            border-color: #555;
        }

        

        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #ffffff;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Section Styling */
        .section {
            min-height: 100vh;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .section h1 {
            font-size: 6rem;
            font-weight: 900;
            text-align: center;
            letter-spacing: -2px;
            margin-bottom: 20px;
        }

        .section-info {
            font-size: 1.1rem;
            color: #999;
            font-style: italic;
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
            padding: 0 20px;
        }

/* Fondo manejado por ::before */
#home {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: white;
  overflow: hidden; /* asegura que el pseudo-elemento no se salga */
}

#home::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: linear-gradient(to top, rgb(0, 0, 0) 10%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.1) 100%), 
    url('https://images.unsplash.com/photo-1640865993619-cb8f720bf908?q=80&w=870&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: opacity 0.6s ease-in-out;
  opacity: 1;
}

#home.fade::before {
  opacity: 0;
}

/* Contenido encima del fondo */
.home-content {
  position: relative;
  z-index: 2;
}
        #home .section-info{
            color: #e4e4e4;
            font-family: 'Inter var', 'Inter Variable', 'Inter Placeholder', sans-serif;
        }
        #home h1{
            opacity: 1;
            font-size: 3rem;
            letter-spacing: 0.13em;
            font-family: 'Source Sans 3', sans-serif;
            margin-top:9rem;
        }
        .home-content{
            
        }
        /* Service Icons Row */
.services {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    flex-wrap: wrap;
    margin-top:5rem;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    cursor: pointer;
}

.icon-circle {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    background: rgba(32, 32, 32, 0.1);
    transition: all 0.3s ease;
}

.icon-circle i {
    font-size: 2.5rem;
    color: white;
}

.icon-circle:hover {
    transform: scale(1.1);
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
}
/* Activo con borde degradado */
.service-item.active .icon-circle {
  background: linear-gradient(to right, rgb(219, 0, 110), rgb(255, 217, 0), rgb(0, 62, 197)) border-box; /* Borde degradado */
  border: 3px solid transparent;
  border-radius: 50%;
  transition: all 0.4s ease;
  position: relative;
}

.service-item.active .icon-circle::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: rgb(10, 10, 10);
  z-index: 0;
}
#cctvid{
    z-index:999;
}
/* Ícono encima del fondo */
.service-item.active .icon-circle i {
  position: relative;
  z-index: 3;
}

.service-item p {
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Source Sans 3', sans-serif;
}

/* Sección COUNTER */

        #counter {
            min-height:100vh;
            align-items: start;
            background: linear-gradient(135deg, #000000 0%, #000000 100%);
        }
        

#counter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;

  /* Gradientes combinados: lineal para transición arriba/abajo + radiales para glares */
  background: 
    linear-gradient(to bottom, #000 0%,  rgba(0, 0, 0, 0) 75%, #000 100%),
    radial-gradient(circle at 30% 30%, rgba(185, 4, 221, 0.185) 0%, rgba(200,50,200,0) 40%),
    radial-gradient(circle at 70% 70%, rgba(255, 0, 149, 0.384) 0%, rgba(255,0,150,0) 50%);
  
}

/* Contenido por encima */
#counter > * {
  position: relative;
  z-index: 1;
}

        .counterContainer{
            text-align: center;
            margin-top:9rem;
            z-index:3;
        }
        
        .counterContainer h2{
            font-size:1.7rem;
            font-family: 'Rubik', sans-serif;
            font-weight: 600;
        }
        .counterContainer span{
            font-size:8rem;
            font-weight: bold;
        }
        .counterContainer p{
  font-family: "Inter var", "Inter Variable", "Inter Placeholder", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
  /* Variaciones tipográficas (variable font axes) */
  font-variation-settings: "opsz" 30, "wght" 500;
  letter-spacing: -.01px;
  line-height: 1.2em;
  /* Características OpenType que Framer activa */
  font-feature-settings: "ss07" on, "cv05" on, "ss03" on, "cv11" on;

  /* Opcional para un renderizado más nítido */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 891px) {
    #home h1{
      font-size: 2.5rem;
    }
    .services{
      gap: 4rem;
    }
}
@media (max-width: 670px) {
    .icon-circle{
      height: 70px;
      width: 70px;
    }
    .icon-circle i{
      font-size:2rem;
    }
    .services{
      gap: 2rem;
    }
    .section-info{
      font-size:1rem;
    }
}
@media (max-width: 527px) {
    .services{
      display:grid;
      grid-template-columns: repeat(2, 1fr); /* 2 columnas iguales */
  grid-template-rows: repeat(2, auto);   /* 2 filas automáticas */
    }
}
@media (max-width: 450px) {
    #home h1{
      font-size: 2rem;
    }

    .counterContainer span{
      font-size: 6rem;
    }

}

/* Sección Logos */
#logos {
    display: flex;
  flex-direction: column;
  align-items: start;
    min-height:60vh;
    background: linear-gradient(to top, rgb(0, 0, 0) 10%, rgb(0, 0, 0) 60%, rgb(0, 0, 0) 100%);
}
/* --- Slider base --- */
.slider {
  background: rgb(0, 0, 0);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);
  height: 100px;
  margin: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* --- Desvanecidos laterales --- */
.slider::before,
.slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100px;
  z-index: 2;
  background: linear-gradient(to right, rgb(0, 0, 0) 0%, rgba(255,255,255,0) 100%);
}

/* Lado derecho (invertido) */
.slider::after {
  right: 0;
  transform: rotateZ(180deg);
}

/* Lado izquierdo */
.slider::before {
  left: 0;
}

/* --- Animación de scroll --- */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 14)); }
}

/* --- Pista de slides --- */
.slide-track {
  display: flex;
  width: calc(250px * 28);
  animation: scroll 60s linear infinite;
}

/* --- Cada slide individual --- */
.slide {
  height: 100px;
  width: 250px;
}
/* Línea divisoria debajo del slider */
.logos-divider {
  width: 85%;                 /* ocupa el 85% del ancho */
  height: 1px;                /* grosor muy fino */
  background: linear-gradient(to right, rgba(0,0,0,0), rgba(150,150,150,0.4), rgba(0,0,0,0));
  margin: 6rem auto 0 auto;   /* separación del slider y centrado */
  border-radius: 2px;         /* suaviza los extremos */
}
#ldup{
    margin-top:0;
    margin-bottom: 6rem;
}

/* Sección ABOUT2 */

#about2 {
  background: #000;
  min-height: 100vh;
  display: flex;            
  justify-content: space-between;
  align-items: start;
  padding: 0 8%;
  padding-top: 5rem;
  gap: 4rem;
  z-index:4;
  position: relative;
  overflow: hidden;
}

/* Background effects */
.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(233, 30, 140, 0.12) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 80% 50%,
        rgba(74, 144, 226, 0.12) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Líneas de la grilla */
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        /* Fade arriba y abajo */
        linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0, 0, 0, 0.116) 20%, rgba(0,0,0,0) 80%, rgba(0,0,0,1) 100%);
    
    background-size: 50px 50px, 50px 50px, cover;
    background-repeat: repeat, repeat, no-repeat;
    pointer-events: none;
    z-index: 0;
}

#about2 h1 {
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  margin-top:2rem;
  text-align: left;
}
.about2-left{
  flex: 1;                  /* Que cada parte ocupe la mitad */
  z-index:2;
}
.about-right{
  flex: 2;
}

.about2-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about2-left img{
  max-height:350px;
  max-width: 350px;
}
.about2-right {
  color: white;
  text-align: left;
  z-index: 999;
}

.about2-right .section-info{
    text-align: left;
    padding: 0;
    padding-right: 4rem;
    margin-top:2rem;
    font-family: "Inter var", "Inter Variable", "Inter Placeholder", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  /* Variaciones tipográficas (variable font axes) */
  font-variation-settings: "opsz" 30, "wght" 500;
  line-height: 1.2em;
  /* Características OpenType que Framer activa */
  font-feature-settings: "ss07" on, "cv05" on, "ss03" on, "cv11" on;

  /* Opcional para un renderizado más nítido */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* 1. Definimos una variable personalizada para el ángulo que se pueda animar */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.contact2-btn {
  /* --- Estilos base (Mantenidos de tu código) --- */
  color: rgb(255, 255, 255);
  border-radius: 25px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 2.5rem;
  
  /* --- LA MAGIA DEL BORDE ANIMADO --- */
  position: relative;
  
  /* Definimos el grosor del borde aquí siendo transparente */
  border: 3px solid transparent;
  
  /* Usamos dos capas de fondo:
     1. La capa superior: Blanco sólido (padding-box) para el interior del botón.
     2. La capa inferior: El degradado cónico (border-box) para el borde. */
  background: 
    linear-gradient(rgb(5, 5, 5), rgb(5, 5, 5)) padding-box, 
    conic-gradient(from var(--angle), magenta, yellow, blue, magenta) border-box;
  
  /* Animación continua */
  animation: spin 3s linear infinite;
  
  /* Sombra para dar el efecto "brillante" extra */
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto Hover (Opcional): Aumenta el brillo y escala */
.contact2-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.6);
}

/* 2. Definimos la animación de rotación */
@keyframes spin {
  to {
    --angle: 360deg;
  }
}

.contact2-btn:hover {
  background-color: #f5f5f5;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
/* Responsive para móviles */
@media (max-width: 960px) {
  #about2 {
    flex-direction: column;       /* Pasa a vertical */
    align-items: center;          /* Centra los items */
    padding: 2rem 4%;             /* Reduce padding */
    gap: 2rem;                    /* Reduce espacio entre columnas */
    margin-top:5rem;
  }

  .about2-left img {
    max-width: 80%;               /* Ajusta la imagen a la pantalla */
    max-height: auto;
  }

  .about2-right {
    padding-right: 0;             /* Elimina el padding lateral */
    text-align: center !important;           /* Centra texto en móvil */
  }
  .about2-right h1{
    text-align: center !important;
    font-size:2.5rem !important;
  }
  .about2-right .section-info {
    padding-right: 0;
    font-size: 1rem;              /* Ajusta tamaño de texto */
    line-height: 1.4em;
    text-align: center !important;
  }

  .contact2-btn {
    width: 100%;                  /* Botón ocupa todo el ancho */
    max-width: 300px;
  }
}

/* Modal */
.modalc {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.modalc-content {
  position: relative;
  background: #111;
  border-radius: 12px;
  padding: 1rem;
  max-width: 90%;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.modalc-content iframe {
  border-radius: 10px;
  width: 100%;
  height: 400px;
}

.closec {
  position: absolute;
  top: 8px;
  right: 12px;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: 0.3s;
}

.closec:hover {
  color: rgb(219, 0, 110);
}
/* Sección ABOUT 

       #about {
  background: linear-gradient(to bottom, rgb(0, 0, 0) 0%, #160d13 100%);
  min-height: 120vh;
  display: flex;            
  justify-content: space-between;
  align-items: start;
  padding: 0 8%;
  padding-top:5rem;
  gap: 4rem;                
}

.about-left, .about-right {
  flex: 1;                  
}

.about-left {
  color: white;
  text-align: left;
}

.about-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.gradient-border {
  border: 4px solid transparent; 
  border-radius: 20px; 
  background: 
    linear-gradient(rgb(0, 0, 0), rgb(15, 15, 15)) padding-box,  
    linear-gradient(90deg, #db006e, #ffd900, #003ec5) border-box;
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  display: inline-block;
  max-width: 500px;
}
.gradient-border img {
  display: block;
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}



#about h1 {
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  margin-top:2rem;
  text-align: left !important;
}
.about-left .section-info{
    text-align: left !important;
    padding: 0;
    margin-top:2rem;
    font-family: "Inter var", "Inter Variable", "Inter Placeholder", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  
  font-variation-settings: "opsz" 30, "wght" 500;
  line-height: 1.2em;
  
  font-feature-settings: "ss07" on, "cv05" on, "ss03" on, "cv11" on;

  
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.contact-btn {
  background-color: white;
  color: black;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 25px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  margin-top:2.5rem;
}

.contact-btn:hover {
  background-color: #f5f5f5;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Sección GALLERY */
/* --- Sección Galería --- */
#gallery {
  background: linear-gradient(to bottom, #2b1a25 20%, #000 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0;
  position: relative; /* importante para el fade */
  overflow: hidden; /* oculta cualquier desborde */
}

/* --- Contenedor principal --- */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 85%;
  max-width: 1200px;
  height: 150vh;
}

/* --- Columnas estándar --- */
.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- Alturas columna central --- */
.gallery-col.tall .large {
  flex: 3;
}
.gallery-col.tall .small {
  flex: 1;
}

/* --- Cuadros de imagen --- */
.gallery-item {
  flex: 1;
  border-radius: 1px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit:fill;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* --- Hover --- */
.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* --- FADE superior global --- */
#gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0px; /* controla cuánto se desvanece arriba */
  background: linear-gradient(to top, rgba(0,0,0,0), #141414 30%);
  z-index: 3;
  pointer-events: none;
}

/* --- FADE inferior global --- */
#gallery::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), #000 50%);
  z-index: 3;
  pointer-events: none;
}

/* Sección CAROUSEL */

/* #0d1116 Color azul gris oscuro */
#carousel {
  padding: 1rem 0;
  min-height:70vh;
  color: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* --- HEADER --- */
.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 0 5%;
}
/* --- Título con degradado --- */
/* --- Título con degradado magenta → amarillo → azul --- */
.carousel-title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  background: linear-gradient(
    to right,
    rgb(219, 0, 110),
    rgb(255, 217, 0),
    rgb(0, 62, 197)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
  user-select: none;
  background-size: 200%;
  background-position: left;
  transition: background-position 1.2s ease;
}

/* Efecto suave de movimiento al pasar el cursor */
.carousel-title:hover {
  background-position: right;
}


#carousel h2 {
  font-size: 2.3rem;
  font-weight: 600;
  margin-top: 6rem;
}

.carousel-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top:2rem;
}

.nav-btn {
  background: #00000038;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.596);
  font-size: 1.2rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.nav-btn i {
  font-size: 1rem;
  color: #ffffffe8;
}
.nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.25);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* --- CONTENEDOR DEL CARRUSEL --- */
.carousel-container {
  display: flex;
  gap: 1.5rem;
  padding-left: 5%;
  padding-right: 5%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: default;
  z-index:999;
  width: 100%;
  min-height: 500px;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-container:active {
}

/* --- ITEMS --- */
.carousel-item {
  margin-top: 1rem;
  flex: 0 0 250px; /* ancho fijo */
  height: 300px;   /* alto fijo */
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid #5c7aa121;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.carousel-item:hover {
  transform: scale(1.03);
  cursor: pointer;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
}

/* --- Desvanecidos laterales --- */
.carousel-container::before,
.carousel-container::after {
  content: "";
  position: absolute;
  top: 0px;
  width: 10%;
  height: 100%;
  z-index: 998;
  background: linear-gradient(to right, rgb(0, 0, 0) 0%, rgba(255,255,255,0) 100%);
}

/* Lado derecho (invertido) */
.carousel-container::after {
  right: 0;
  transform: rotateZ(180deg);
}

/* Lado izquierdo */
.carousel-container::before {
  left: 0;
}

/* Background Effects */
.radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(20, 115, 224, 0.13) 0%,
        transparent 60%
    ),
    radial-gradient(
        ellipse at 30% 45%,
        rgba(233, 30, 142, 0.199) 0%,
        transparent 50%
    ),
    radial-gradient(
        ellipse at 70% 70%,
        rgba(244, 208, 63, 0.05) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}

.diagonal-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.01) 100px,
            rgba(255, 255, 255, 0.01) 102px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.01) 100px,
            rgba(255, 255, 255, 0.01) 102px
        );
    pointer-events: none;
    z-index: 0;
}

/* Floating Particles */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0.6;
}

.particle:nth-child(1) {
    background: #e91e8c;
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(233, 30, 140, 0.5);
}

.particle:nth-child(2) {
    background: #4a90e2;
    top: 60%;
    left: 85%;
    animation: float 10s ease-in-out infinite 1s;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.particle:nth-child(3) {
    background: #f4d03f;
    top: 80%;
    left: 20%;
    animation: float 12s ease-in-out infinite 2s;
    box-shadow: 0 0 20px rgba(244, 208, 63, 0.5);
}

.particle:nth-child(4) {
    background: #e91e8c;
    top: 30%;
    left: 70%;
    animation: float 9s ease-in-out infinite 1.5s;
    box-shadow: 0 0 20px rgba(233, 30, 140, 0.5);
}

.particle:nth-child(5) {
    background: #4a90e2;
    top: 50%;
    left: 15%;
    animation: float 11s ease-in-out infinite 3s;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.particle:nth-child(6) {
    background: #f4d03f;
    top: 15%;
    left: 90%;
    animation: float 13s ease-in-out infinite 0.5s;
    box-shadow: 0 0 20px rgba(244, 208, 63, 0.5);
}

.particle:nth-child(7) {
    background: #e91e8c;
    top: 70%;
    left: 60%;
    animation: float 10s ease-in-out infinite 2.5s;
    box-shadow: 0 0 20px rgba(233, 30, 140, 0.5);
}

.particle:nth-child(8) {
    background: #4a90e2;
    top: 40%;
    left: 40%;
    animation: float 14s ease-in-out infinite 1s;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -30px) scale(1.2);
    }
    50% {
        transform: translate(-15px, 20px) scale(0.8);
    }
    75% {
        transform: translate(25px, 15px) scale(1.1);
    }
}

/* --- Sección principal --- */
#images {
  background: linear-gradient(to bottom, #000, #000000);
  color: white;
  text-align: center;
  flex-direction: column;
  padding: 4rem 5%;
  padding-top: 0rem;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  width: 100%;
  gap: 80px;
  align-items: center;
  background: rgba(12, 12, 12, 0.808);
  border-radius: 8px;
  padding: 64px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 2px; /* grosor del borde */
  background: linear-gradient(90deg, rgb(219, 0, 110), rgb(0, 85, 197));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  pointer-events: none;
}


/* Background effects */
.bg-gradient2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(30, 192, 233, 0.12) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 80% 10%,
        rgba(226, 74, 99, 0.12) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}

.images-title {
  font-size: 2rem !important;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

/* --- Contenedor de imágenes --- */
.image-gallery {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 4rem;
  z-index: 999;
  flex-wrap: wrap;
}

/* --- Cada cuadro de imagen --- */
.image-box {
  flex: 1 1 200px;
  max-width: 255px;
  max-height: 350px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: box-shadow 0.4s ease;
}

/* Oscurecer inicialmente con una capa */
.image-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* Capa oscura inicial */
  opacity: 1;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

/* Imagen base */
.image-box img {
  width: 100%;
  height: 100%;
  object-fit:fill;
  display: block;
  transition: filter 0.6s ease;
  filter: brightness(0.8);
}

/* Hover: aclarar e iluminar suavemente */
.image-box:hover::before {
  opacity: 0; /* Quita la oscuridad */
}

.image-box:hover img {
  filter: brightness(1.15);
}

.image-box:hover {
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.12);
}


/* --- Modal --- */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease;
}

.close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ff4d4d;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* ===== Sección nueva negra ===== */
.images2-section {
  background: #00000000;
  color: #fff;
  padding: 4rem 5%;
  display: flex;
  justify-content: center;
  
}

/* contenedor interno: galería a la izquierda, phone a la derecha */
.images2-inner {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 475px; /* ajusta el ancho del phone aquí */
  gap: 2rem;
  align-items: center;
  z-index:2;
}

/* --- Galería 2x2 --- */
/* --- Galería 2x2 compacta (no se separa al ampliar pantalla) --- */
.image-gallery-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px; /* separación constante */
  width: 100%;
  max-width: 400px; /* tamaño máximo de la “jaula” */
  margin: 0 auto; /* centrada dentro de su lado izquierdo */
  justify-items: center;
  align-items: center;
}

/* Cada imagebox2 */
.imagebox2 {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  box-shadow: 0 6px 24px rgba(0,0,0,0.6);
  cursor: pointer;
  transition: box-shadow 0.35s ease, transform 0.25s ease;
  width: 100%;
  max-height: 230px;
  max-width: 180px; /* para que se mantengan dentro del grid */
}

/* capa oscura inicial */
.imagebox2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  transition: opacity 0.35s ease;
  z-index: 2;
  pointer-events: none;
}

.imagebox2 img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: brightness(0.85);
  transition: filter 0.35s ease;
}


/* Hover: aclarar (sin scale grande) */
.imagebox2:hover::before { opacity: 0; }
.imagebox2:hover img { filter: brightness(1.08); }

/* focus accesible */
.imagebox2:focus-within::before { opacity: 0; outline: none; box-shadow: 0 0 0 3px rgba(219,0,110,0.12); }

/* --- Contenedor tipo celular --- */
.containercel {
  display: flex;
  justify-content: flex-start; /* mueve el celular un poco hacia la izquierda */
  align-items: center;
  z-index:2;
}

/* marco phone */
.phone-frame {
  width: 320px;            /* ancho del celular visual */
  height: 510px;           /* alto del celular visual */
  border-radius: 28px;
  background: linear-gradient(180deg, rgb(20, 20, 20), rgba(0, 0, 0, 0.849));
  padding: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.7), 0 0 22px rgba(219,0,110,0.06);
  border: 2px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:1;
  overflow: hidden;
}

/* video vertical dentro del phone */
.phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: #000;
  display: block;
}
.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: #000;
  display: block;
}


/* --- Responsive: stacking on mobile --- */
@media (max-width: 1100px) {
  .images2-inner {
    grid-template-columns: 1fr 385px; /* apilar columnas */
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  .images2-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Galería: 2 columnas en tablet/landscape, centrada */
  .image-gallery-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .phone-frame {
    width: 280px;
    height: 520px;
    margin: 0 auto;
  }
}

/* Mobile: imágenes arriba en 1 columna, phone abajo */
@media (max-width: 480px) {
  .image-gallery-2 {
    grid-template-columns: 1fr; /* una por fila */
    gap: 2rem;
  }
  .imagebox2{
    max-height: 250px;
  }
  .containercel{
    margin-top:2rem;
  }

  .phone-frame {
    width: 80%;
    height: calc(90vw * 1.9); /* mantener aspecto vertical aproximado */
    max-height: 500px;
    margin: 0 auto;
  }

  .images2-inner {
    padding-bottom: 1rem;
  }
}


/* Parallax Section */
#parallax {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1693590229281-6a78deecd122?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=1037');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 5%;
}

#parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* oscurece para resaltar el contenido */
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
}

#parallax h1 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
  letter-spacing: 1px;
  font-weight: 600;
  font-family: 'Rubik', sans-serif;
}

/* Contenedor de razones */
.reasons {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Cada elemento */
.reason {
  flex: 1 1 300px;
  max-width: 320px;
}

.reason-border {
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  background: rgba(3, 3, 3, 0.596);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.reason-border:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  border-color: white;
}

.reason i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.reason h2 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.reason p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}


/* ------------------------------------------- */

/* Sección SERVICES*/

/* -------------------------------------------- */
/* --- SECCIÓN SERVICIOS --- */
#services {
  background: #000;
  color: white;
  padding: 0rem 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  margin-top:4rem;
}

/* Título principal */
.services-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

/* Contenedor con imagen + degradado */
.services-bg {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  min-height: 65vh;
  width: 100%;
  padding: 3rem 5%;
  height: 100vh;
}

#services h1{
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 3rem;
  margin-bottom: 0px;
  text-align: left !important;
}

/* Desvanecido oscuro -> claro */
.services-bg::before {
  content: "";
  position: absolute;
  inset: 0;
 background-image:
    /* Degradado vertical: oscurece arriba y abajo */
    linear-gradient(to bottom, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.164) 60%, transparent 75%, rgb(0, 0, 0) 100%),
    /* Degradado horizontal: izquierda -> derecha */
    linear-gradient(to right, rgba(0, 0, 0) 10%, rgba(0, 0, 0, 0.164) 60%, rgba(0, 0, 0, 1) 100%),
    /* Imagen de fondo */
    url('https://images.unsplash.com/photo-1636081890206-b29817bfb178?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=870');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Lado izquierdo (texto) */
.services-left {
  position: relative;
  z-index: 2;
  flex: 1;
  padding-right: 2rem;
}

.services-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 7rem;
}

.services-sub-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #9ad1ff;
  margin-bottom: 1rem;
}

.services-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
  max-width: 420px;
  margin-bottom:5rem;
}

/* Lado derecho (íconos) */
.services-right {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
  flex: 0.5;
}

/* Íconos con glassmorfismo */
.service-icon {
  width: 70px;
  height: 70px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(32, 27, 27, 0.562);
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.service-icon i {
  font-size: 1.8rem;
  color: white;
}

.service-icon:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.25);
}
/* ==== Cambios dinámicos ==== */
#services.fade .services-bg::before {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.service-icon.active {
  border: 3px solid transparent;
  background: linear-gradient(to right, rgb(219, 0, 110), rgb(255, 217, 0), rgb(0, 62, 197)) border-box;
  border-radius: 50%;
  position: relative;
  transform: scale(1.05);
}

.service-icon.active::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 0;
}

.service-icon.active i {
  position: relative;
  z-index: 3;
}

/* Viñetas profesionales */
#service-description {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-item-text {
  position: relative;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  max-width: 400px;
}

.service-item-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px; /* grosor de la línea */
  height: 100%;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(to bottom, #ff008c, #ffe600, #0060ff);
}

.service-item-text:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(4px);
}

/* =============== FACEBOOK ============== */
.facebook-section {
            position: relative;
            padding: 80px 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            overflow: hidden;
            background: linear-gradient(135deg, #000000 30%, rgb(4, 23, 59) 70%, #011222 100%);
            
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .facebook-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            max-width: 1100px;
            width: 100%;
            gap: 40px;
            position: relative;
            z-index: 2;
            align-items: center;
        }

        /* Columna izquierda */
        .facebook-info {
            flex: 1;
            min-width: 280px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .facebook-icon {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 10px;
        }

        .facebook-icon svg {
            width: 48px;
            height: 48px;
            filter: drop-shadow(0 0 8px rgba(24, 119, 242, 0.6));
        }

        .facebook-title {
            font-size: 2.2rem;
            font-weight: 700;
            letter-spacing: 1px;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .facebook-subtitle {
            font-size: 1.1rem;
            line-height: 1.6em;
            color: #e1e1e1;
            max-width: 90%;
        }

        .facebook-button {
            display: inline-block;
            padding: 12px 30px;
            background: #1877f2;
            color: #fff;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            text-align: center;
            width: fit-content;
            box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
            position: relative;
            overflow: hidden;
        }

        .facebook-button:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .facebook-button:hover {
            background: #0f66f0;
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(24, 119, 242, 0.6);
        }

        .facebook-button:hover:before {
            left: 100%;
        }

        /* Columna derecha */
        .facebook-frame {
            flex: 1;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 0 30px rgba(24, 119, 242, 0.4);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 450px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .facebook-frame:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 40px rgba(24, 119, 242, 0.6);
        }

        .iframe-container {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .facebook-frame iframe {
            width: 100%;
            height: 450px;
            border: none;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        /* Efecto de luz suave */
        .facebook-glow {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at center, rgba(24, 119, 242, 0.2), transparent 70%);
            animation: pulseGlow 8s infinite alternate;
            z-index: 1;
        }

        @keyframes pulseGlow {
            from { transform: scale(1); opacity: 0.5; }
            to { transform: scale(1.2); opacity: 1; }
        }

        /* Responsive */
        @media (max-width: 900px) {
            .facebook-container {
                flex-direction: column;
                gap: 30px;
                align-items: center;
            }

            .facebook-info {
                text-align: center;
                align-items: center;
            }

            .facebook-icon {
                justify-content: center;
            }

            .facebook-subtitle {
                max-width: 100%;
            }

            .facebook-frame {
                width: 100%;
                min-height: 400px;
            }

            .facebook-frame iframe {
                height: 400px;
            }
        }

        @media (max-width: 480px) {
            .facebook-section {
                padding: 50px 15px;
            }

            .facebook-title {
                font-size: 1.8rem;
            }

            .facebook-subtitle {
                font-size: 1rem;
            }

            .facebook-frame {
                padding: 15px;
                min-height: 350px;
            }

            .facebook-frame iframe {
                height: 350px;
            }
        }


/* ================= WHATSAPP ================== */
 .whatsapp-section {
            position: relative;
            padding: 80px 100px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            overflow: hidden;
            background: linear-gradient(135deg, #032723 0%, #0b584f 50%, #25d366 100%);
            
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            
            width: 100%;
        }

        .whatsapp-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            
            gap: 40px;
            position: relative;
            z-index: 2;
            align-items: center;
        }

        /* Columna izquierda - Chat simulado */
.whatsapp-image {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.whatsapp-chat {
    width: 100%;
    max-width: 350px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease-in-out;
}

.whatsapp-chat:hover {
    box-shadow: 0 0 10px rgba(24, 242, 195, 0.6);
}

/* Cabecera del chat */
.chat-header {
    background: #075e54;
    padding: 15px;
    display: flex;
    align-items: center;
}

.contact-info2 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #128c7e;
}

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

.contact-details {
    color: white;
}

.contact-name {
    font-weight: 600;
    font-size: 1rem;
}

.contact-status {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Cuerpo del chat */
.chat-body {
    padding: 15px;
    background: #e5ddd5;
    min-height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23075e54' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message.received {
    align-items: flex-start;
}

.message-content {
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 80%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 5px;
    padding: 0 5px;
}

/* Pie del chat - Input */
.chat-footer {
    padding: 15px;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
}

.message-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.message-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    background: white;
    font-size: 0.9rem;
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.message-input::placeholder {
    color: #999;
}

.send-button {
    background: #25d366;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3);
}

.send-button:hover {
    background: #20bd5c;
}

        /* Columna derecha - Información */
        .whatsapp-info {
            flex: 1;
            min-width: 280px;
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .whatsapp-icon2 {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 10px;
        }

        .whatsapp-icon2 svg {
            width: 48px;
            height: 48px;
            filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.6));
        }

        .whatsapp-title {
            font-size: 2.2rem;
            font-weight: 700;
            letter-spacing: 1px;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            white-space: nowrap;
        }

        .whatsapp-subtitle {
            font-size: 1.1rem;
            line-height: 1.6em;
            color: #e1e1e1;
            max-width: 90%;
        }

        .whatsapp-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 14px 32px;
            background: #25d366;
            color: #fff;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            width: fit-content;
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
            position: relative;
            overflow: hidden;
        }

        .whatsapp-button:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .whatsapp-button:hover {
            background: #20bd5c;
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
        }

        .whatsapp-button:hover:before {
            left: 100%;
        }

        .whatsapp-button svg {
            width: 20px;
            height: 20px;
        }

        /* Efecto de luz suave */
        .whatsapp-glow {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at center, rgba(37, 211, 102, 0.2), transparent 70%);
            animation: pulseGlow 8s infinite alternate;
            z-index: 1;
        }

        @keyframes pulseGlow {
            from { transform: scale(1); opacity: 0.5; }
            to { transform: scale(1.2); opacity: 1; }
        }

        /* Responsive */
        @media (max-width: 900px) {
            .whatsapp-container {
                flex-direction: column;
                gap: 30px;
                align-items: center;
            }

            .whatsapp-info {
                text-align: center;
                align-items: center;
            }

            .whatsapp-icon2 {
                justify-content: center;
            }

            .whatsapp-subtitle {
                max-width: 100%;
            }
        }

        @media (max-width: 480px) {
            .whatsapp-section {
                padding: 50px 15px;
            }

            .whatsapp-title {
                font-size: 1.8rem;
            }

            .whatsapp-subtitle {
                font-size: 1rem;
            }
        }

/* ------------------------------------------- */

/* Sección PORTFOLIO */

/* -------------------------------------------- */

        #portfolio {
            background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
        }

/* ------------------------------------------- */

/* Sección CONTACT */

/* -------------------------------------------- */

        #contact {
  background: transparent;
  padding: 4rem 2rem;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 135vh;
}

/* Background Effects */
.radial-glow2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at 30% 45%,
        rgba(20, 115, 224, 0.13) 0%,
        transparent 50%
    ),
    radial-gradient(
        ellipse at center,
        rgba(233, 30, 142, 0.199) 0%,
        transparent 50%
    ),
    radial-gradient(
        ellipse at 70% 30%,
        rgba(244, 208, 63, 0.05) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  z-index:999;
}

.glass-card {
  background: rgba(2, 2, 2, 0.514);
  border: 1px solid rgba(255, 255, 255, 0.247);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease;
}

.glass-card:hover {
  box-shadow: 0 8px 35px rgba(255, 255, 255, 0.08);
}

.contact-info {
  padding: 2.5rem;
}

#contact h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.8rem;
}
#siguenos{
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top:1rem;
}
.info-box {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.info-box i {
  font-size: 1.6rem;
  color: #d41d54;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.8rem;
  border-radius: 12px;
}

.info-box h3 {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.info-box p,
.info-box a {
  color: #ccc;
  font-size: 0.95rem;
  text-decoration: none;
}

.info-box a:hover {
  color: #d41d45;
}
.social-buttons {
  display: flex;
  justify-content: left;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  color: #fff;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

/* Colores específicos */
.social-icon.fb:hover {
  background: #3b5998;
  color: #fff;
  box-shadow: 0 0 10px #3b5998;
}

.social-icon.wa:hover {
  background: #25d366;
  color: #fff;
  box-shadow: 0 0 10px #25d366;
}

.social-icon.ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  box-shadow: 0 0 10px #e6683c;
}

.social-icon.yt:hover {
  background: #ff0000;
  color: #fff;
  box-shadow: 0 0 10px #ff0000;
}


.contact-map {
  height: 450px;
  overflow: hidden;
  margin-top:2rem;
}

@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-map {
    height: 300px;
  }
}


        /* Footer */
        footer {
            background: linear-gradient(135deg, #000000 0%, #1b0b19 100%);
            color: #ffffff;
            padding: 60px 20px 20px;
            padding-bottom:100px;
            margin-top: auto;
            border-top: 4px solid; /* grosor y estilo del borde */
            border-image: linear-gradient(to right, #df007b, #0084ff) 1;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            font-size: 20px;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, #ff4aa4 0%, #0084ff 100%);
            border-radius: 2px;
        }

        /* Logo Section */
        .footer-logo {
            font-size: 28px;
            font-weight: bold;
            background: linear-gradient(135deg, #cc077a 0%, #ffe600 50%, #0080f8 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
            display: inline-block;
        }

        /* Si quieres usar una imagen de logo en lugar de texto: */
        .footer-logo img {
            max-width: 180px;
            height: auto;
            filter: brightness(1.1);
        }

        .footer-section p {
            color: #a0a8b8;
            line-height: 1.6;
            font-size: 14px;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 12px;
        }

        .footer-section ul li a {
            color: #a0a8b8;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
            position: relative;
        }

        .footer-section ul li a:hover {
            color: #ff4a86;
            transform: translateX(5px);
        }

        /* Social Icons */
        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-icons a {
            width: 45px;
            height: 45px;
            background: rgba(74, 158, 255, 0.1);
            border: 1px solid rgba(74, 158, 255, 0.2);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #4a9eff;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 20px;
        }

        .social-icons a:hover {
            background: linear-gradient(135deg, #4a9eff 0%, #00d9ff 100%);
            color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(74, 158, 255, 0.3);
        }

        /* Footer Bottom */
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            text-align: center;
            color: #a0a8b8;
            font-size: 14px;
        }

        

        /* Responsive Design */
        @media (max-width: 768px) {
            .navbar {
                top: 15px;
                padding: 10px 20px;
                width: calc(80% - 30px);
                max-width: 500px;
            }

            .nav-container {
                justify-content: space-between;
                gap: 0;
            }

            .nav-center {
                gap: 20px;
            }

            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: rgba(26, 26, 26, 0.95);
                flex-direction: column;
                padding: 20px;
                border-radius: 15px;
                margin-top: 10px;
                gap: 15px;
            }

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

            .auth-buttons {
                display: none;
            }

            .mobile-auth-buttons {
                display: flex !important;
                flex-direction: column;
                gap: 10px;
            }
            .mobile-auth-buttons .auth-btn {
                width: 100%;
                text-align: center;
            }
            
            .mobile-auth-buttons .auth-btn.signup-btn {
                background: #ffffff;
                color: #000000;
            }

            .menu-toggle {
                display: block;
            }

            .section h1 {
                font-size: 3.5rem;
            }
             .facebook-icon {
                flex-direction: column; /* pone el icono y título en columna */
                align-items: center;    /* centra horizontalmente los hijos */
                gap: 0.5rem;            /* espacio entre icono y título */
              }

              .facebook-title {
                text-align: center;     /* centra el texto */
              }
               .whatsapp-icon2 {
                flex-direction: column; /* Cambia flex fila a columna */
                align-items: center;    /* Centra horizontalmente los hijos */
                gap: 0.5rem;            /* Espacio vertical entre icono y título */
              }
              .whatsapp-title {
                text-align: center;     /* Centra el texto */
                white-space: normal;    /* Permite que el texto se ajuste y no quede restringido en una sóla línea */
              }
            footer {
                padding: 40px 20px 20px;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

        @media (max-width: 640px) {
          #carousel h2{
            font-size:1.8rem;
            text-align: center;
          }
        }

        @media (max-width: 480px) {
            .section h1 {
                font-size: 2.5rem;
            }

            .navbar {
                padding: 8px 15px;
            }

            .logo {
                font-size: 1.3rem;
            }
        }

        /* Smooth scroll enhancement */
        @media (prefers-reduced-motion: no-preference) {
            html {
                scroll-behavior: smooth;
            }
        }