/**************Inicio*************************/

body {
  margin: 0;
  font-family: 'Source Code Pro', monospace;
  -webkit-font-smoothing: antialiased;
  background-color: #1f243d;
  overflow-x:hidden;
  overflow-y:auto; /* habilita scroll vertical */

}

html,
body {
  overflow-x: hidden;
  overflow-y:auto; /* habilita scroll vertical */
}

/* ================= SECCIï¿½N ================= */

.section {
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 36, 61, 0.25);
}

/* ================= LOGOS INICIO ================= */

.logos-inicio {
  position: absolute;
  top: 190px;
  left: 300px;
  display: flex;
  gap: 50px;
   
}

.logo-ru {
  height: 140px;
}

.logo-parte {
  height: 80px;
  margin-top: 10px;
}

/* ================= CONTENIDO ================= */

.content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bloque-inicio {
  margin-top: 0;
  transform: translateY(80px);
}

/* ================= TEXTO ================= */

.texto-inicio {
  color: white;
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.45s ease-out, opacity 0.45s ease-out;

  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
}

.section.active .texto-inicio {
  opacity: 1;
  transform: translateY(0);
}

.Estilo1 {
  font-size: 52px;
  line-height: 0.85;
  letter-spacing: 1px;
  text-align: left;
  transform: translateX(10px);
}

.innovacion {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
  text-align: left;
  margin-top: -10px;
  transform: translateX(-75px) translateY(-2px);
  opacity: 0;
}

.section.active .innovacion {
  opacity: 1;
  transition: opacity 0.4s ease-out;
}

.Estilo1,
.innovacion {
  display: block;
}

.texto-inicio h1 {
  margin: 0;
  padding: 0;
  width: auto;
  display: inline-block;
}

/* ================= LINEA ================= */

.img-inicio {
  display: block;
  width: 400px;
  height: 200px;

  margin-top: -5px;
  margin-left: auto;
  margin-right: 65px;

  background-image: url("Img/CLIENTES/LINEA 2.png");
  background-size: contain;
  background-repeat: no-repeat;

  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;

  filter:
    drop-shadow(0 0 6px #00ffcc) drop-shadow(0 0 12px rgba(0, 255, 204, 0.6)) drop-shadow(0 0 25px rgba(0, 255, 204, 0.4));

  animation: none;
}

@keyframes glow {
  0% {
    filter:
      drop-shadow(0 0 8px rgb(0, 155, 142)) drop-shadow(0 0 15px rgba(0, 155, 142, 0.5));
  }

  100% {
    filter:
      drop-shadow(0 0 15px rgb(0, 155, 142)) drop-shadow(0 0 30px rgba(0, 155, 142, 0.7));
  }
}

.section.active .img-inicio {
  opacity: 1;
  transform: translateX(0);
  animation: glow 2.5s ease-in-out infinite alternate;
}

/* ================= FONDO ================= */

#inicio {
  background-image: url("Img/IMG FONDO/01-HEADER.png");
}

/* ================= LOGOS HEADER ================= */

.logo-ru {
  width: 140px;
  height: 140px;
  background-image: url("Img/HEADER/LOGO RU SIN FONDO.png");
  background-size: contain;
  background-repeat: no-repeat;
  
}

.logo-parte {
  width: 200px;
  height: 80px;
  background-image: url("Img/HEADER/SOMOS PARTE.png");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(20px);
}

/* ================= VARIABLES ================= */

:root {
  --accent: rgb(0, 155, 142);
  --dark: rgb(31, 36, 61);
}

/* ================= NAV ================= */

nav {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  z-index: 1000;
}

nav.scrolled {
  background: #0a1628;
}

/* ================= MENU ACTIVO ================= */

.menu a.active {
  color: #00ffcc;
  text-shadow:
    0 0 6px #00ffcc,
    0 0 12px rgba(0, 255, 204, 0.6);
  position: relative;
}

.menu a.active::after {
  width: 100%;
  height: 2px;
  background: #00ffcc;
  position: absolute;
  left: 0;
  bottom: -6px;
  content: "";
  box-shadow:
    0 0 6px #00ffcc,
    0 0 12px rgba(0, 255, 204, 0.8);
}

/* ================= NAV FIJO ================= */

nav.fixed {
  position: fixed;
  top: 0;
  background:transparent; /*  sin color */
  /*background:rgba(0,0,0,0.2);*/
  backdrop-filter:none;   /*  sin blur */

}



/* ================= LOGO MENU ================= */

.logo-menu {
  width: 120px;
  height: 80px;
  background-image: url("Img/HEADER/LOGO RU SIN FONDO.png");
  background-size: contain;
  background-repeat: no-repeat;
  display: none;
  margin-top:10px;
}

nav.fixed .logo-menu {
  display: block;
}

/* ================= LINKS ================= */

.menu a {
  color: white;
  margin-left: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  position: relative;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* HOVER */

.menu a:hover {
  color: var(--accent);
  text-shadow:
    0 0 3px var(--accent),
    0 0 8px rgba(0, 155, 142, 0.6),
    0 0 15px rgba(0, 155, 142, 0.4);
}

/* LINEA HOVER */

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: 0.3s ease, box-shadow 0.3s ease;
  box-shadow:
    0 0 3px var(--accent),
    0 0 6px rgba(0, 155, 142, 0.5);
}

.menu a:hover::after {
  width: 100%;
}

/* ================= OCULTO ================= */

.menu-inicio {
  display: none;
}


/*************** RESPONSIVE INICIO ******************/

@media (max-width: 768px) {

  /*************** FONDO ******************/
  #inicio {
    background-position: 72% center;
  }

  /*************** MENï¿½ ******************/

  /* Centrar menï¿½ cuando NO estï¿½ en modo inicio */
  .menu:not(.mostrar-inicio) {
    justify-content: center;
    width: 85%;
    margin: auto;
    /* Mejora el centrado real */
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
     
    background:transparent; /* igual que desktop */
    backdrop-filter:none;   /* elimina blur */

  }

  nav.fixed {
  position: fixed;
  top: 0;
  background:transparent; /*  sin color */
  /*background:rgba(0,0,0,0.2);*/
  backdrop-filter:none;   /*  sin blur */
  margin-left: -3px; /* elimina desplazamientos */
  gap: 1px;

}
  /* Estado especial: menï¿½ centrado en inicio */
  nav.menu-inicio-activo {
    justify-content: center;
    background: transparent;
	
  }

  /* Logo del menï¿½ en mobile */
  .logo-menu {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    /* Evita que se reduzca dentro del flex */
  }

  /*************** CONTENEDOR DEL MENï¿½ ******************/

  .menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    white-space: nowrap;

    scrollbar-width: none;
    /* Oculta scroll en Firefox */

    -ms-overflow-style: none;
    /* Oculta scroll en IE/Edge */
  }

  /* Oculta scrollbar en Chrome/Safari */
  .menu::-webkit-scrollbar {
    display: none;
  }

  /* Activa scroll horizontal solo fuera de inicio */
  .menu.mostrar-inicio {
    overflow-x: auto;
  }

  /* Centrar menï¿½ SOLO en inicio */
  nav.menu-inicio-activo .menu {
    justify-content: center;
  }

  /*************** LINKS DEL MENï¿½ ******************/

  .menu a {
    font-size: 13px;
    padding: 6px 4px;
    flex: 0 0 auto;
    /* Evita que los links se compriman */
  }

  /* Oculta el link "Inicio" por defecto */
  .menu a[href="#inicio"] {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.3s;
  }

  /* Muestra el link "Inicio" cuando corresponde */
  .menu.mostrar-inicio a[href="#inicio"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /*************** LOGOS ******************/

  .logos-inicio {
    left: 50%;
    transform: translateX(-50%);
    top: 120px;
    display: flex;
    align-items: center;
    gap: 20px;
    /* Logos centrados con menor separaciï¿½n */
  }

  .logo-ru {
    width: 100px;
    height: 100px;
    transform: none;
    /* Elimina desplazamientos innecesarios */
  }

  .logo-parte {
    width: 190px;
    height: 60px;
    transform: translateY(-10px);
    /* Alineaciï¿½n vertical */
  }

  /*************** BLOQUE DE TEXTO ******************/

  .bloque-inicio {
    margin-top: 80px;
    transform: none;
    /* Elimina ajustes del desktop */
  }

  .texto-inicio {
    opacity: 0;
    transform: translateY(30px);

    transition: opacity 0.4s ease-out, transform 0.4s ease-out;

    display: flex;
    flex-direction: column;
    align-items: center;

    margin-top: -40px;
  }

  /*************** TIPOGRAFï¿½A ******************/

  .Estilo1 {
    text-align: center;
    font-size: 28px;
    transform: none;
    /* Ajuste completo para mobile */
  }

  .innovacion {
    text-align: center;
    font-size: 38px;
    margin-top: -5px;

    transform: translateX(-45px);
    opacity: 0;
  }

  .section.active .innovacion {
    opacity: 1;
    transition: opacity 0.4s ease-out;
  }

  /*************** Lï¿½NEA DECORATIVA ******************/

  .img-inicio {
    display: block;
    width: 180px;
    height: 200px;

    margin-top: -30px;
    margin-left: 280px;
    margin-right: 0;

    background-image: url("Img/CLIENTES/LINEA 2.png");
    background-size: contain;
    background-repeat: no-repeat;

    opacity: 0;
    transform: translateY(10px);

    transition: 1s ease;

    /* Glow base */
    filter:
      drop-shadow(0 0 6px #00ffcc) drop-shadow(0 0 12px rgba(0, 255, 204, 0.6)) drop-shadow(0 0 25px rgba(0, 255, 204, 0.4));

    animation: none;

    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  /*************** ANIMACIï¿½N GLOW ******************/

  @keyframes glow {
    0% {
      filter:
        drop-shadow(0 0 6px #00ffcc) drop-shadow(0 0 12px rgba(0, 255, 204, 0.5));
    }

    100% {
      filter:
        drop-shadow(0 0 12px #00ffcc) drop-shadow(0 0 25px rgba(0, 255, 204, 0.9)) drop-shadow(0 0 40px rgba(0, 255, 204, 0.6));
    }
  }

}



/* ðŸ“± 393 EXACTO */
@media (max-width: 393px){

  #inicio {
    background-image: url("Img/Img Responsives/HEADER_393.jpgs");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

}


/* ðŸ“± 414 EXACTO */
@media (max-width: 414px){

  #inicio {
    background-image: url("Img/Img Responsives/HEADER_414.jpg");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

}



/************* SOMOS ************************************/
.somos-banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* Ocupa toda la pantalla */

  background-size: cover;
  background-position: center;
  /* Configuraciï¿½n del fondo */

  display: flex;
  align-items: center;
  /* Centrado vertical del contenido */
}


/************* HEADER (ICONO + TITULO) *************/

.somos-header {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  /* Espaciado entre el icono y el texto */
}

/* Icono decorativo */
.somos-icon {
  width: 110px;
  height: 110px;

  background-image: url("Img/SLIDES/ICONO AMPOLLETA.png");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Tï¿½tulo principal */
.somos-header h2 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0;
}


/************* DESCRIPCIï¿½N *************/

.somos-descripcion {
  display: flex;
  gap: 20px;
  margin-top: 40px;

  align-items: flex-start;
  margin-left: 90px;
  /* Desplazamiento del bloque respecto al header */
}

/* Texto descriptivo */
.somos-descripcion p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  text-align: justify;
  color: #ccc;
}


/************* OVERLAY OSCURO *************/

.somos-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(to right,
      rgba(10, 22, 40, 0.7),
      rgba(10, 22, 40, 0.5),
      rgba(10, 22, 40, 0.7));

  z-index: 1;
  /* Se ubica debajo del contenido */

  pointer-events: none;
  /* No bloquea interacciï¿½n */
}


/************* CONTENEDOR DE CONTENIDO *************/

.somos-content {
  position: relative;
  z-index: 2;
  /* Sobre el overlay */

  max-width: 1200px;
  margin: auto;
  width: 100%;
}


/************* BLOQUE DE TEXTO *************/

.somos-texto {
  max-width: 500px;
  margin-right: 250px;

  color: white;
  text-align: left;

  z-index: 2;
}


/************* TITULO INTERNO *************/

.somos-texto h2 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
}

/* Texto destacado */
.somos-texto span {
  color: #00ffcc;
  font-weight: 700;
}


/************* LINEA VERTICAL *************/

.linea-vertical {
  width: 3px;
  height: 140px;

  background: #00ffcc;

  box-shadow:
    0 0 4px rgba(0, 255, 204, 0.5);
  /* Glow suave */

  margin-top: 10px;

  /* Animaciï¿½n de crecimiento */
  transform: scaleY(0);
  transform-origin: top;

  transition: transform 0.5s ease;
}

/* Estado visible */
.linea-vertical.visible {
  transform: scaleY(1);
}


/************* ANIMACIONES GENERALES *************/

/* Estado inicial */
.animar {
  opacity: 0;
  transform: translateY(20px);

  transition: all 0.6s ease;
}

/* Estado visible */
.animar.visible {
  opacity: 1;
  transform: translateY(0);

  filter: brightness(1.05);
  /* Leve iluminaciï¿½n */
}

/* Delays progresivos */
.somos-icon {
  transition-delay: 0.1s;
}

.somos-header h2 {
  transition-delay: 0.3s;
}

.linea-vertical {
  transition-delay: 0.5s;
}

.somos-descripcion p {
  transition-delay: 0.7s;
}


/************* CONTROLES (SLIDER) *************/

.somos-controls {
  position: absolute;
  inset: 0;

  z-index: 3;
  /* Sobre el contenido */

  pointer-events: none;
  /* No interfiere con el contenido */
}

/* Botones anterior / siguiente */
#prev,
#next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 50px;
  height: 50px;

  border-radius: 50%;
  border: 2px solid #00ffcc;

  background: transparent;
  color: #00ffcc;
  font-size: 20px;

  cursor: pointer;

  pointer-events: auto;
  /* Permite interacciï¿½n */
}

/* Posiciï¿½n lateral */
#prev {
  left: 40px;
}

#next {
  right: 40px;
}

/* Hover de botones */
#prev:hover,
#next:hover {
  background: rgba(0, 255, 204, 0.08);

  color: #00ffcc;

  box-shadow:
    0 0 6px rgba(0, 255, 204, 0.4);

  transform: translateY(-50%) scale(1.05);
}

/* Transiciï¿½n suave */
#prev,
#next {
  transition: all 0.25s ease;
}

/* Base alternativa de botones */
.somos-controls button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #00ffcc;
  background: transparent;
  color: #00ffcc;
  font-size: 20px;
  cursor: pointer;
}


/************* SLIDES *************/

/* Base de cada slide */
.somos-slide {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Alinea contenido hacia la derecha */

  background-size: 110%;
  background-position: center;

  opacity: 0;

  transition:
    opacity 0.6s ease,
    background-size 1.5s ease;

  padding-right: 20px;
}

/* Slide activo */
.somos-slide.active {
  opacity: 1;
  position: absolute;

  background-size: 100%;
  /* Efecto zoom suave */
}

/* Oculta animaciones en slides inactivos */
.somos-slide:not(.active) .animar {
  opacity: 0;
  transform: translateY(20px);
}

/* Imagen del primer slide */
.slide1 {
  background-image: url("Img/SLIDES/Slide-1.png");
}

/************* SOMOS SLIDE 1 RESPONSIVE *********************/

@media (max-width: 768px) {

  /************* NAV FIJO EN MOBILE *************/

  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background:transparent; /* SIN FONDO */
    backdrop-filter:none;   /* SIN BLUR */
    z-index: 1000;
    /* Mantiene el menï¿½ visible siempre */
  }

  /************* MENï¿½ *************/

  .menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;

    gap: 10px;

    padding-left: 10px;
    /* Ajusta la posiciï¿½n horizontal del menï¿½ */

    padding-right: 20px;

    overflow-x: auto;
    white-space: nowrap;
    /* Permite scroll horizontal */
  }

  /* Oculta scrollbar */
  .menu::-webkit-scrollbar {
    display: none;
  }

  .menu a {
    font-size: 11px;
    padding: 6px 4px;
    margin: 0;

    flex: 0 0 auto;
    /* Evita que los links se reduzcan */
  }

  /* Oculta enlace "Inicio" */
  .menu a[href="#inicio"] {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.3s;
  }

  /* Muestra elemento de inicio cuando corresponde */
  .menu-inicio.visible {
    display: inline-block;
  }

  .menu.mostrar-inicio .menu-inicio {
    display: inline-block;
  }

  /************* AJUSTE GENERAL DE SECCIONES *************/

  .section {
    padding-top: 70px;
    /* Espacio para el nav fijo */
  }

  /************* SLIDE Y FONDO *************/

  .slide1 {
    background-size: cover;
    background-position: center;
  }

  .somos-banner {
    height: 100vh;
    overflow: hidden;
    /* Evita desbordes */
  }

  .somos-slide {
    background-size: cover !important;
    background-position: 15% center !important;
    background-repeat: no-repeat;

    padding-right: 0;

    align-items: center !important;
    justify-content: center !important;
    /* Centrado completo */

    padding-bottom: 0;
  }

  /************* TEXTO GENERAL *************/

  .somos-texto {
    margin: 0;
    max-width: 95%;

    text-align: center;

    transform: translateY(-40px);
    /* Ajuste vertical */
  }

  /************* HEADER (ICONO + TITULO) *************/

  .somos-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .somos-header h2 {
    font-size: 26px;
    text-align: center;
  }

  .somos-icon {
    width: 60px;
    height: 60px;
  }

  /************* DESCRIPCIï¿½N *************/

  .somos-descripcion {
    margin-top: 40px;
    margin-left: 0;

    display: flex;
    flex-direction: row;
    /* Mantiene icono + texto en lï¿½nea */

    align-items: flex-start;
    justify-content: center;

    gap: 10px;
  }

  /* Ajuste especï¿½fico para slide1 */
  .slide1 .somos-descripcion {
    margin-top: 60px;
    /* Mayor separaciï¿½n respecto al header */
  }

  /************* Lï¿½NEA VERTICAL *************/

  .linea-vertical {
    height: 140px;
    width: 2px;

    margin-top: 5px;
    /* Ajuste de alineaciï¿½n */
  }

  /************* TEXTO DESCRIPTIVO *************/

  .somos-descripcion p {
    font-size: 14px;

    text-align: justify;
    max-width: 280px;

    margin: 0;
  }

  /************* AJUSTE SOLO PARA SLIDE 1 *************/

  .slide1 .somos-texto {
    transform: translateY(20px);
    /* Posicionamiento especï¿½fico */
  }

  /************* CONTROLES (BOTONES) *************/

  #prev,
  #next {
    width: 35px;
    height: 35px;
    font-size: 16px;
    /* Adaptaciï¿½n para pantallas pequeï¿½as */
  }

}

/************** SOMOS SLIDE 2 **********************************/

/************* LAYOUT GENERAL *************/

.somos-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;

  max-width: 1200px;
  margin: auto;
  width: 100%;
}

.slide2 h2 {
  transition-delay: 0.3s;
  /* Retraso en la animaciï¿½n del tï¿½tulo */
}


/************* TEXTO BASE *************/

.slide2 .somos-texto {
  margin-right: 0;
  max-width: 600px;
  margin-left: 80px;
  /* Desplaza el contenido hacia la derecha */
}


/************* BLOQUE SUPERIOR (ICONO + TITULO) *************/

.bloque-superior {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Tï¿½tulo principal */
.slide2 .somos-texto h2 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0;

  white-space: nowrap;
  /* Evita salto de lï¿½nea */

  transition-delay: 0.3s;
}

/* Texto destacado */
.slide2 .somos-texto h2 span {
  display: block;
  color: #00ffcc;
  font-weight: 700;

  margin-top: -4px;
  /* Junta las lï¿½neas */
}


/************* BLOQUE INFERIOR (LINEA + TEXTO) *************/

.bloque-inferior {
  display: flex;
  align-items: flex-start;
  gap: 20px;

  margin-top: 40px;
  /* Espaciado igual que slide 1 */
}

/* Texto descriptivo */
.bloque-inferior p {
  font-size: 17px;
  line-height: 1.8;

  max-width: 420px;
  margin: 0;

  text-align: justify;
}


/************* VIDEO *************/

.video-box {
  width: 800px;
  min-width: 600px;

  border-radius: 20px;
  overflow: hidden;

  position: relative;

  border: 2px solid rgba(0, 255, 204, 0.4);

  box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
  background: #111;

  z-index: 1;
}

/* Estado visible */
.video-box.visible {
  opacity: 1;
  transform: translateX(0);
}


/************* VIDEO INTERNO *************/

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;

  position: relative;
  z-index: 1;
}


/************* PANTALLA INICIAL (PREVIEW) *************/

.video-preview {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  z-index: 3;

  pointer-events: auto;
}

/* Oculta preview cuando el video se reproduce */
.video-box.playing .video-preview {
  display: none;
}


/************* VIDEO REAL *************/

.video-real {
  width: 100%;
  height: auto;
  display: block;
}


/************* ICONO PLAY *************/

.logo-play {
  width: 110px;
  height: 110px;

  border: 3px solid #00ffcc;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 40px;
  color: #00ffcc;

  box-shadow: 0 0 10px rgba(0, 255, 204, 0.6);
}


/************* CONTROLES DECORATIVOS *************/

.controls {
  position: absolute;
  bottom: 20px;

  display: flex;
  gap: 20px;

  color: white;
  font-size: 22px;
  opacity: 0.7;
}


/************* EFECTO HOVER PLAY *************/

.video-preview:hover .logo-play {
  transform: scale(1.1);

  box-shadow:
    0 0 20px rgba(0, 255, 204, 0.8);
}


video {
  z-index: 1;
}


/************* ICONO DEL SLIDE *************/

.slide2 .somos-icon {
  background-image: url("Img/SLIDES/Recurso 8.png");

  width: 120px;
  height: 120px;

  background-size: contain;
  background-repeat: no-repeat;

  transition-delay: 0.1s;
}


/************* ALINEACIï¿½N PERSONALIZADA *************/

/* Alinea descripciï¿½n con el inicio del texto */
.slide2 .bloque-inferior {
  margin-left: calc(120px + 30px);
}


/************* LINEA VERTICAL PERSONALIZADA *************/

.slide2 .linea-vertical {
  width: 1px;
  height: 90px;

  border-radius: 2px;

  background: linear-gradient(to bottom,
      #00ffcc,
      rgba(0, 255, 204, 0.6));

  box-shadow:
    0 0 6px rgba(0, 255, 204, 0.6),
    0 0 15px rgba(0, 255, 204, 0.4),
    0 0 30px rgba(0, 255, 204, 0.2);

  margin-top: 5px;

  /* Animaciï¿½n */
  transform: scaleY(0);
  transform-origin: top;

  transition: transform 0.6s ease;
  transition-delay: 0.5s;
}

/* Estado visible */
.slide2 .linea-vertical.visible {
  transform: scaleY(1);
}


/************* ANIMACIONES *************/

.slide2 .bloque-inferior p {
  transition-delay: 0.6s;
}

.slide2 .video-box {
  transition-delay: 0.7s;
  transform: translateX(150px);
}

.slide2 .video-box.visible {
  transform: translateX(100px);
}

/* Base animaciï¿½n */
.animar {
  opacity: 0;
  transform: translateY(20px);
}

.animar.visible {
  opacity: 1;
  transform: translateY(0);
}


/************* FONDO DEL SLIDE *************/

.slide2 {
  background-image: url("Img/SLIDES/Slide-3.png");
}


/************* AJUSTE GLOBAL DEL SLIDE *************/

.slide2 .somos-flex {
  margin-left: 60px;
  /* Mueve todo el contenido hacia la izquierda */
}





/****************** RESPONSIVE SLIDE 2 ******************/

@media (max-width: 768px) {

  /************* CONTENEDOR PRINCIPAL *************/

  .slide2 .somos-flex {
    flex-direction: column;
    /* Apila todos los elementos verticalmente */

    align-items: center;
    gap: 25px;

    margin-left: 0;
    padding: 20px;
  }


  /************* BLOQUE SUPERIOR (ICONO + TITULO) *************/

  .slide2 .bloque-superior {
    flex-direction: column;
    align-items: center;
    text-align: center;

    gap: 10px;

    margin-top: 200px;
    /* Ajusta la posiciï¿½n vertical SOLO para slide2 */
  }


  /************* TEXTO PRINCIPAL *************/

  .slide2 .somos-texto {
    margin-left: 0;
    max-width: 100%;

    text-align: center;

    transform: translateY(-30px);
    /* Ajuste fino de equilibrio visual */
  }


  /************* TITULO *************/

  .slide2 .somos-texto h2 {
    font-size: 26px;
    white-space: normal;
    /* Permite salto de lï¿½nea en mobile */
  }


  /************* BLOQUE INFERIOR (LINEA + TEXTO) *************/

  .slide2 .bloque-inferior {
    margin-left: 0;

    justify-content: center;

    flex-direction: row;
    /* Mantiene lï¿½nea + texto en horizontal */

    margin-top: 60px;
    /* Ajuste vertical */
  }


  /************* TEXTO DESCRIPTIVO *************/

  .slide2 .bloque-inferior p {
    max-width: 280px;
    font-size: 14px;

    text-align: justify;
    /* Mejora lectura en pantallas pequeï¿½as */
  }


  /************* LINEA VERTICAL *************/

  .slide2 .linea-vertical {
    height: 100px;

    width: 2px;
    /* Mï¿½s visible en mobile */

    margin-top: 5px;

    background: #00ffcc;
  }


  /************* VIDEO *************/

  .slide2 .video-box {
    width: 60%;
    /* Ocupa parte del ancho en mobile */

    min-width: auto;

    transform: translate(150px, -30px);
    /* Posicionamiento manual (eje X e Y) */
  }

  .slide2 .video-box.visible {
    transform: translate(10px, -20px);
    /* Ajuste cuando el elemento aparece */
  }


  /************* ICONO PLAY (ESPECï¿½FICO SLIDE 2) *************/

  .slide2 .logo-play {
    width: 50px;
    height: 50px;

    font-size: 12px;
    /* Tamaï¿½o interno (icono/texto) */

    border-width: 2px;

    box-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
  }


  /************* ICONO SUPERIOR *************/

  .slide2 .somos-icon {
    width: 60px;
    height: 60px;

    background-size: contain;
  }


  /************* PREVIEW GENERAL *************/

  .logo-play {
    width: 60px;
    height: 60px;

    font-size: 320px;
    /* Tamaï¿½o del contenido interno (posible icono o texto decorativo) */
  }

}


/************** SOMOS SLIDE 3 **********************************/

/************* FONDO Y CONTENEDOR *************/

.slide3 {
  background-image: url("Img/SLIDES/Slide-2.png");

  justify-content: flex-start !important;
  /* Alinea el contenido hacia la izquierda */

  padding-right: 0;
}


/************* LAYOUT GENERAL *************/

.slide3 .somos-flex {
  margin-left: 60px;
  /* Desplazamiento horizontal igual que slide2 */
}


/************* ICONO *************/

.slide3 .somos-icon {
  background-image: url("Img/SLIDES/diseno-proyectos.png");

  width: 90px;
  height: 90px;

  background-size: contain;
  background-repeat: no-repeat;

  flex-shrink: 0;
  /* Evita que el icono se reduzca en flex */
}


/************* TEXTO PRINCIPAL *************/

.slide3 .somos-texto {
  max-width: 600px;

  margin-left: 80px;
  /* Separaciï¿½n respecto al icono */

  text-align: left;
}


/************* TITULO *************/

.slide3 .somos-texto h2 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;

  margin: 0;

  white-space: normal;
  /* Permite salto de lï¿½nea */
}


/************* TEXTO DESTACADO *************/

.slide3 .somos-texto h2 span {
  display: block;

  color: #00ffcc;
  font-weight: 700;

  margin-top: -4px;
  /* Ajuste entre lï¿½neas */
}


/************* BLOQUE SUPERIOR *************/

.slide3 .bloque-superior {
  display: flex;
  align-items: center;
  gap: 30px;
  /* Espaciado entre icono y tï¿½tulo */
}


/************* BLOQUE INFERIOR *************/

.slide3 .bloque-inferior {
  margin-left: calc(90px + 30px);
  /* Alinea con el inicio del texto (icono + gap) */

  margin-top: 40px;

  display: flex;
  align-items: flex-start;
  gap: 20px;
}


/************* TEXTO DESCRIPTIVO *************/

.slide3 .bloque-inferior p {
  font-size: 17px;
  line-height: 1.8;

  max-width: 420px;
  margin: 0;

  text-align: justify;

  hyphens: auto;
  /* Mejora particiï¿½n de palabras */
}


/************* LINEA VERTICAL *************/

.slide3 .linea-vertical {
  width: 1px;
  height: 120px;

  background: linear-gradient(to bottom,
      #00ffcc,
      rgba(0, 255, 204, 0.6));

  box-shadow:
    0 0 6px rgba(0, 255, 204, 0.6),
    0 0 15px rgba(0, 255, 204, 0.4),
    0 0 30px rgba(0, 255, 204, 0.2);
}




/************* RESPONSIVE SLIDE 3 ********************/

@media (max-width: 768px) {

  /************* CONTENEDOR GENERAL *************/

  .slide3 {
    justify-content: center !important;
    /* Centra todo el contenido en mobile */

    padding-right: 0;
  }

  .slide3 .somos-flex {
    flex-direction: column;
    /* Apila los elementos verticalmente */

    align-items: center;
    gap: 20px;

    margin-left: 0;
  }


  /************* TEXTO PRINCIPAL *************/

  .slide3 .somos-texto {
    margin-left: 0;

    text-align: center;
    max-width: 100%;

    transform: translateY(-10px);
    /* Ajuste fino para subir el contenido */
  }


  /************* BLOQUE SUPERIOR (ICONO + TITULO) *************/

  .slide3 .bloque-superior {
    flex-direction: column;
    align-items: center;

    gap: 10px;

    margin-top: 60px;
    /* Separaciï¿½n desde la parte superior */
  }


  /************* ICONO *************/

  .slide3 .somos-icon {
    width: 60px;
    height: 60px;

    margin-top: -20px;
    /* Ajuste fino vertical */
  }


  /************* TITULO *************/

  .slide3 .somos-texto h2 {
    font-size: 26px;
    text-align: center;
    /* Adaptaciï¿½n para lectura en mobile */
  }


  /************* BLOQUE INFERIOR (LINEA + TEXTO) *************/

  .slide3 .bloque-inferior {
    margin-left: 0;

    justify-content: center;
    gap: 10px;

    margin-top: 65px;
    /* Controla separaciï¿½n respecto al tï¿½tulo */
  }


  /************* TEXTO DESCRIPTIVO *************/

  .slide3 .bloque-inferior p {
    max-width: 280px;
    font-size: 14px;
    /* Ajuste de tamaï¿½o para mobile */
  }


  /************* LINEA VERTICAL *************/

  .slide3 .linea-vertical {
    height: 140px;
    width: 2px;
    /* Mï¿½s visible en pantallas pequeï¿½as */
  }

}


/************** SERVICIOS ******************/


#servicios{
  position:relative;

  background-image:url("Img/SLIDES/Slide-3.png");
  background-size:cover;             /* adapta automáticamente */
  background-position:center center; /* centrado real */
  background-repeat:no-repeat;

  min-height:100vh;  /* asegura pantalla completa */
}



/* Overlay oscuro suave */
#servicios::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.15));
}


/************* CONTENEDOR *************/

.contenido-servicios {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 980px;

  margin-top: -160px;
  /* Ajuste vertical del bloque */
}


/************* GRID *************/


.grid-servicios{
  display:grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  /* columnas adaptativas */

  gap:20px;

  width:100%;
  max-width:1100px;

  margin:0 auto; /*  centro perfecto */
}



/************* CARD DE SERVICIO *************/

.servicio {
  position: relative;

  padding: 75px 15px 20px;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(8px);
  /* Efecto vidrio */

  text-align: center;
  color: white;

  transition: all 0.3s ease;

  /* Glow base */
  box-shadow:
    0 0 6px rgba(0, 255, 204, 0.12);
	
width:90%;
  max-width:280px; /* evita que se estiren demasiado */
  margin:0 auto;   /* centra cada card */
  
  isolation: isolate;

}

.contenido-servicios{
  position:relative;
  z-index:2;

  width:100%;
  max-width:1200px;

  margin:0 auto; /* centrado horizontal */
  padding-top:120px; /* reemplaza el margin negativo */
}


/************* BORDE DECORATIVO *************/

.servicio::after {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: 12px;
  padding: 1px;

  background: linear-gradient(120deg,
      transparent,
      rgba(0, 255, 204, 0.3),
      transparent);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);

  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}


/************* HOVER DE LA CARD *************/


.servicio:hover {
  transform: translateY(-8px);

  border: 1px solid #00ffcc;

  box-shadow:
    0 0 8px rgba(0,255,204,0.4),
    0 0 20px rgba(0,255,204,0.3),
    0 0 40px rgba(0,255,204,0.2);
}



/************* ICONO *************/

.servicio::before {
  content: "";
  position: absolute;

  top: 15px;
  left: 50%;
  transform: translateX(-50%) scale(1);

  width: 48px;
  height: 48px;

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  transition: all 0.3s ease;
}

/* Animaciï¿½n del icono */
.servicio:hover::before {
transform: translateX(-50%) scale(1.12);
}


/************* TEXTO *************/

.servicio h3 {
  font-size: 14px;
  line-height: 1.4;
  color: #e5e5e5;
}


/************* ICONOS POR SERVICIO *************/

.herramientas::before {
  background-image: url("Img/SERVICIOS/DISENO_HERRAMIENTAS.png");
}

.infografias::before {
  background-image: url("Img/SERVICIOS/INFOGRAFIAS_.png");
}

.documentos::before {
  background-image: url("Img/SERVICIOS/DOC CORPORATIVO.png");
}

.corporativa::before {
  background-image: url("Img/SERVICIOS/IMG CORPORATIVA.png");
}

.senaletica::before {
  background-image: url("Img/SERVICIOS/DISENO_SENALETICAS.png");
}

.editorial::before {
  background-image: url("Img/SERVICIOS/DISENO_EDITORIAL.png");
}

.presentaciones::before {
  background-image: url("Img/SERVICIOS/PRESENTACIONES_.png");
}

.infraestructura::before {
  background-image: url("Img/SERVICIOS/INFRAESTRUCTURAS.png");
}

.modelado::before {
  background-image: url("Img/SERVICIOS/MODELADO.png");
}

.audiovisual::before {
  background-image: url("Img/SERVICIOS/PROD AUDIOVISUAL.png");
}

.eventos::before {
  background-image: url("Img/SERVICIOS/PROD EVENTOS.png");
}

.estrategia::before {
  background-image: url("Img/SERVICIOS/DES ESTRATEGICO_1.png");
}


.servicio:hover,
.servicio:focus {
  transform: translateY(-8px);

  border: 1px solid #00ffcc;

  box-shadow:
    0 0 8px rgba(0,255,204,0.4),
    0 0 20px rgba(0,255,204,0.3),
    0 0 40px rgba(0,255,204,0.2);
}

.servicio:hover::before,
.servicio:focus::before {
  transform: translateX(-50%) scale(1.12);
}


/******************** MODAL POPUP **********************/

/************* OVERLAY *************/

.popup {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.9);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 99999;

  opacity: 0;
  pointer-events: none;

  transition: 0.3s ease;
}

/* Estado activo */
.popup.active {
  opacity: 1;
  pointer-events: auto;
}


/************* CONTENEDOR PRINCIPAL *************/

.popup-contenido {
  width: 560px;
  height: auto;
  max-height: 85vh;

  display: flex;
  overflow: hidden;

  border-radius: 16px;

  /* Fondo transparente + vidrio */
  background: rgba(7, 26, 44, 0.55);
  backdrop-filter: blur(10px);

  border: 1px solid #00ffcc;

  box-shadow:
    -25px 0 40px rgba(7, 26, 44, 0.8),
    0 0 8px rgba(0, 255, 204, 0.25),
    0 0 18px rgba(0, 255, 204, 0.18);
}


/* Hover del popup */
.popup-contenido:hover {
  box-shadow:
    0 0 10px rgba(0, 255, 204, 0.4),
    0 0 25px rgba(0, 255, 204, 0.3);
}

/* Animaciï¿½n entrada */
.popup.active .popup-contenido {
  transform: scale(1);
}


/************* IMAGEN LATERAL *************/

.popup-img {
  width: 35%;
  display: flex;

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  min-height: 350px;
}


.popup-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/************* TEXTO *************/

.popup-texto {
  width: 65%;
  padding: 35px;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;
}


/************* HEADER *************/

.popup-header {
  display: flex;
  flex-direction: column;

  align-items: center;
  text-align: center;

  margin-bottom: 12px;
}


/* Icono */
.popup-icon {
  width: 80px;
  height: 80px;

  background-size: contain;
  background-repeat: no-repeat;

  margin-bottom: 12px;

  filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.6));
}


/* Tï¿½tulo */
#popup-titulo {
  font-size: 22px;
  font-weight: 600;

  color: #00ffcc;

  text-align: center;

  line-height: 1.3;

  margin-bottom: 6px;
}


/* Descripciï¿½n */
#popup-descripcion {
  margin-top: 15px;

  font-size: 14px;
  line-height: 1.6;

  color: #e5e5e5;

  text-align: justify;

  max-width: 480px;

  margin-left: auto;
  margin-right: auto;
}


/************* BOTï¿½N CERRAR *************/

.popup-cerrar {
  position: absolute;
  top: 15px;
  right: 15px;

  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 15px;
  color: #00ffcc;

  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);

  cursor: pointer;
  z-index: 20;
}


/* Hover botï¿½n */
.popup-cerrar:hover {
  background: rgba(0, 255, 204, 0.2);

  transform: scale(1.1);

  box-shadow: 0 0 8px rgba(0, 255, 204, 0.4);
}


/* CONTENEDOR INTERNO GLOBAL */
.contenedor-interno{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto; /* centra contenido */
}


/********************** RESPONSIVE SERVICIOS ************************/
@media (max-width:768px) {

  #servicios {
    padding: 60px 20px;

    background-image: url("Img/SLIDES/Slide-3.png");
    background-repeat: no-repeat;
  }

  #servicios::before {
    background: linear-gradient(
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.15)
    );
    pointer-events: none;
  }

  .contenido-servicios {
    margin-top: -90px;
  }

  .grid-servicios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    row-gap: 12px;
    column-gap: 8px;

    padding-left: 0;
    padding-right: 50px;

    box-sizing: border-box;
  }

  .servicio {
    height: 80px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 0;

    border-radius: 10px;
    border: 1px solid rgba(0, 255, 204, 0.25);

    position: relative;
	cursor: pointer; 
  }
  
  
  .servicio:hover,
  .servicio:focus {
 	 transform: translateY(-8px);
  }

  .servicio:hover::before,
  .servicio:focus::before {
     transform: translateX(-50%) scale(1.12);
  }

  .servicio::after {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: 10px;
    padding: 1px;

    background: linear-gradient(
      120deg,
      transparent,
      rgba(0, 255, 204, 0.3),
      transparent
    );

    pointer-events: none;
  }

  .servicio::before {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%) scale(1);

    width: 30px;
    height: 30px;

    transition: transform 0.3s ease;
  }

  .servicio h3 {
    font-size: 10px;
    line-height: 1.2;
    margin-top: 28px;
    text-align: center;
  }

  .servicio:hover {
    transform: translateY(-8px);
  }

  .servicio:hover::before {
    transform: translateX(-50%) scale(1.12);
  }

}
/*********************** POPUP RESPONSIVE *************************/

@media (max-width: 393px) and (max-width: 414px){

  /************* OVERLAY *************/

  .popup {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    /* Elimina mï¿½rgenes fantasma */
  }


  /************* CONTENEDOR *************/

  .popup-contenido {
    width: 90%;
    max-width: 340px;

    height: auto;
    max-height: 80vh;

    display: flex;

    margin: 0;
    /* Evita desplazamientos */

    border-radius: 16px;

    position: relative;
    left: 0;
    /* Reset de posicionamiento */
  }


  /************* IMAGEN *************/

  .popup-img {
    width: 40%;
  }

  .popup-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  /************* TEXTO *************/

  .popup-texto {
    width: 60%;

    padding: 18px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
  }


  /************* ICONO *************/

  .popup-icon {
    width: 60px;
    height: 60px;

    margin-bottom: 10px;
  }


  /************* TITULO *************/

  #popup-titulo {
    font-size: 15px;
    text-align: center;
  }


  /************* DESCRIPCIï¿½N *************/

  #popup-descripcion {
    font-size: 12px;
    line-height: 1.5;

    margin-top: 10px;
  }


  /************* BOTï¿½N CERRAR *************/

  .popup-cerrar {
    top: 10px;
    right: 10px;

    width: 28px;
    height: 28px;
  }

}




/************** CLIENTES ***********************/

/************* SECCIï¿½N PRINCIPAL *************/

#clientes {
  background-image: url("Img/CLIENTES/Clientes.png");
  background-size: cover;
  background-position: center;
  /* Imagen de fondo ajustada para cubrir toda la secciï¿½n */
}


/************* CONTENEDOR *************/

.contenido-clientes {
  position: relative;
  z-index: 2;
  /* Asegura que estï¿½ sobre cualquier overlay */

  width: 100%;
  max-width: 1100px;

  margin: auto;
  /* Centrado horizontal */
}


/************* LINEA DECORATIVA *************/

.linea-clientes {
 display:none;
}


/************* ESTADO ACTIVO *************/

#clientes.active .linea-clientes {
  transform: translateY(-50%) translateX(0);
  /* Se mueve hacia su posiciï¿½n final */

  opacity: 0.6;
  /* Se hace visible parcialmente (suave) */
}

/************* RESPONSIVE CLIENTES ************************/

@media (max-width:768px) {

  /************* SECCIï¿½N PRINCIPAL *************/

  #clientes {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Ajuste correcto del fondo en mobile */
  }


  /************* CONTENEDOR *************/

  .contenido-clientes {
    max-width: 100%;
    padding: 20px;
    /* Reduce ancho y agrega margen interno */
  }


  /************* LINEA DECORATIVA *************/

  .linea-clientes {
    pdisplay:none;
  }


  /************* ESTADO ACTIVO *************/

  #clientes.active .linea-clientes {
    transform: translate(-40%, -50%) translateX(-20px);
    /* Entrada animada hacia su posiciï¿½n */

    opacity: 0.5;
    /* Visibilidad controlada */
  }

}

/* ðŸ“± 393 EXACTO */
@media (max-width: 393px){

  #clientes {
    background-image: url("Img/Img Responsives/Clientes vertical393X851.jpg");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

}


/* ðŸ“± 414 EXACTO */
@media (max-width: 414px){

  #clientes {
    background-image: url("Img/Img Responsives/Clientes vertical 414X896.jpg");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

}



/************** CONTACTOS ***************/

/************* SECCIï¿½N PRINCIPAL *************/

#contacto {
 position:relative;
 overflow:hidden;
 background:url("Img/CONTACTOS/Contactos.png") center center no-repeat;
 background-size:cover; /* ajuste real 100% */
}


/************* OVERLAY *************/

#contacto::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(10, 20, 50, 0.65);
  /* Capa oscura azul para mejorar contraste */

  z-index: 1;
}


/************* EFECTO HOVER EN ITEMS *************/

.item-contacto:hover::before {
  transform: scale(1.2) translateY(-3px);

  filter: drop-shadow(0 0 6px rgba(0, 255, 204, 0.8));
  /* Glow cuando se pasa el cursor */
}


/************* CONTENEDOR PRINCIPAL *************/

.contenido-contacto {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1200px;

  margin: auto;
}


/************* BLOQUE DERECHO (INFORMACIï¿½N) *************/

.info-contacto {
  position: absolute;

  right: 120px;
  top: 50%;
  transform: translateY(-50%);
  /* Centrado vertical */

  width: 400px;

  color: white;
}


/************* ITEMS DE CONTACTO *************/

.item-contacto {
  display: flex;
  align-items: flex-start;
  gap: 15px;

  margin-bottom: 25px;

  position: relative;
  padding-left: 35px;
  /* Espacio para icono */

  text-decoration: none;
  color: inherit;
}


/************* ICONOS *************/

.item-contacto::before {
  content: "";
  position: absolute;

  left: 0;
  top: 5px;

  width: 20px;
  height: 20px;

  background-size: contain;
  background-repeat: no-repeat;

  transition: 0.3s ease;
}

/* Tipos de iconos */
.item-contacto.email::before {
  background-image: url("Img/CONTACTOS/FLECHA.png");
}

.item-contacto.ubicacion::before {
  background-image: url("Img/CONTACTOS/UBICACION.png");
}

.item-contacto.telefono::before {
  background-image: url("Img/CONTACTOS/FONO.png");
}


/************* TEXTO *************/

.item-contacto p {
  margin: 0;

  font-size: 18px;
  line-height: 1.5;
}


/************* BOTï¿½N LINKEDIN *************/

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 20px;
  padding: 10px 20px;

  background: rgba(0, 155, 142, 0.15);
  border: 1px solid rgba(0, 255, 204, 0.6);

  border-radius: 8px;
  color: white;
  text-decoration: none;

  transition: 0.3s ease;
}

/* Hover botï¿½n */
.btn-linkedin:hover {
  transform: translateY(-3px);

  box-shadow: 0 0 12px rgba(0, 255, 204, 0.6);
}


/************* ICONO LINKEDIN *************/

.icono-in {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  background: #009b8e;
  border-radius: 4px;

  font-size: 14px;
  font-weight: 700;
}


/************* LINEA INFERIOR *************/

.footer-line {
 display:none; /* elimina visualmente *//
}


/************* COPY (PIE DE Pï¿½GINA) *************/

.copy {
  position: absolute;
  bottom: 15px;

  left: 8%;
  text-align: left;

  font-size: 12px;
  color: white;

  z-index: 2;
}



/*************** RESPONSIVE CONTACTOS ****************/

@media (max-width:768px) {

  /************* FONDO *************/

  #contacto {
    background-size: 285%;
    background-position: 10% center;
    /* Zoom fuerte para mantener el foco visual en mobile */
  }


  /************* CONTENEDOR INFO *************/

  .info-contacto {
    position: relative;

    right: auto;
    top: 65%;
    /* Baja el bloque dentro de la composiciï¿½n */

    transform: translateY(-10%);

    width: 80%;
    margin: auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 5px;
    /* Espaciado compacto */

    text-align: center;
  }


  /************* ITEMS *************/

  .item-contacto {
    flex-direction: column;
    /* Icono arriba, texto abajo */

    align-items: center;

    padding-left: 0;
    margin-bottom: 10px;
    /* Controla separaciï¿½n vertical */
  }


  /************* ICONOS *************/

  .item-contacto::before {
    position: relative;

    left: auto;
    top: auto;

    margin-bottom: 6px;
    /* Separaciï¿½n entre icono y texto */
  }


  /************* TEXTO *************/

  .item-contacto p {
    font-size: 14px;
    /* Ajuste de tamaï¿½o en mobile */
  }


  /************* BOTï¿½N LINKEDIN *************/

  .btn-linkedin {
    justify-content: center;

    margin-top: 30px;
    /* Espaciado adicional para equilibrio visual */
  }


  /************* FOOTER *************/

  /* Ajusta posiciï¿½n del texto de copyright */
  .copy {
    bottom: 98px;
    /* Baja el copy para respetar la lï¿½nea decorativa */
  }

}


/* 393 EXACTO */
@media (max-width: 393px){

 #contacto {
    background-image: url("Img/Img Responsives/Footer_393.png");

    background-size: cover;          /*  se adapta sin deformar */
    background-position: center;     /* centra correctamente */
    background-repeat: no-repeat;
  }
}


/* 414 EXACTO */
@media (max-width: 414px){

#contacto {
    background-image: url("Img/Img Responsives/Footer_414.png");

    background-size: cover;          /*  se adapta bien */
    background-position: center;
    background-repeat: no-repeat;
  }

}