﻿/* Presentacion primera parte */
   @import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');
   *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --fondo-izquierda:  #0a0a0a;
      --fondo-derecha:    #6b6b6b;
      --blanco:           #ffffff;
      --acento-rojo:      #e53535;
      --acento-azul:      #3a6dff;
      --nav-fondo:        #1a1a1a;
      --nav-hover:        #2a2a2a;
    }

    html, body {
      font-family: 'League Spartan', sans-serif;
      color: var(--blanco);
      overflow-x: hidden;
    }

    /* Fondo degradado de oscuro (izquierda) a gris medio (derecha) */
    body {
      background: linear-gradient(90deg, #000000, #737373);
      background-color: #111;
      min-height: 100vh;
      position: relative;
    }

    /* Luz cenital central para el busto */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background: radial-gradient(ellipse 55% 70% at 50% 55%, #5a5a5a 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

    /* â”€â”€ BARRA SUPERIOR â”€â”€ */
    .barra-superior {
      position: relative;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 23px;
    }

    /* â”€â”€ LOGOTIPO â”€â”€ */
    .logotipo {
      width: 113px;
      height: 134px;
    }

    /* â”€â”€ BOTÃ“N HAMBURGUESA â”€â”€ */
    .hamburguesa {
      display: none;
      position: relative;
      z-index: 200;
      width: 42px;
      height: 38px;
      background: transparent;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      padding: 8px;
      margin-left: auto;
    }
    .hamburguesa:hover { background: transparent; }
    .hamburguesa span {
      display: block;
      width: 100%;
      height: 3px;
      background: var(--blanco);
      border-radius: 2px;
      transition: all 0.3s ease;
    }
    /* AnimaciÃ³n a "X" */
    .hamburguesa.activo span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
    .hamburguesa.activo span:nth-child(2) {
      opacity: 0;
    }
    .hamburguesa.activo span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }

    /* â”€â”€ NAVEGACION â”€â”€ */
    .navegacion {
      position: relative;
      display: flex;
      gap: 10px;
      background: transparent;
    }


    .navegacion a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 22px;
      background: black;
      color: var(--blanco);
      text-decoration: none;
      border-radius: 999px;
      font-size: 1.1rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      transition: background 0.2s;
    }
    .navegacion a:hover { background: transparent; }

    /* Iconos de navegaciÃ³n */
    .nav-icono {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
    }

    /* â”€â”€ SECCION PRINCIPAL â”€â”€ */
    .section-principal {
      position: relative;
      z-index: 1;
      min-height: auto;
      padding: 0px 0;
      display: flex;
      align-items: center;
      justify-content: center;
      top: -142px;
    }

    /* TÃ­tulo vertical IZQUIERDA */
    .titulo-vertical-izquierda {
      position: absolute;
      left: 24px;
      top: 55%;
      transform: translateY(-50%) rotate(180deg);
      writing-mode: vertical-rl;
      text-orientation: mixed;
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(7.5rem, 7vw, 6rem);
      letter-spacing: 0.08em;
      line-height: 1;
      color: var(--blanco);
      text-shadow: -2px 0 var(--acento-rojo), 2px 0 var(--acento-azul);
      user-select: none;
    }


    /* TÃ­tulo vertical DERECHA */
    .titulo-vertical-derecha {
      position: absolute;
      right: 24px;
      top: 50%;
      transform: translateY(-50%) rotate(180deg);
      writing-mode: vertical-rl;
      text-orientation: mixed;
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(7.5rem, 7vw, 6rem);
      letter-spacing: 0.06em;
      line-height: 1;
      color: var(--blanco);
      text-shadow: -2px 0 var(--acento-rojo), 2px 0 var(--acento-azul);
      user-select: none;
    }

    .Escultura{
      margin-top: 20px;
      max-width: 100%;
      height: auto;
      position: relative;
      z-index: 50;
    }


    @media (max-width: 1400px) {

      .Escultura{
        position: static;
        margin-top: 80px;
        width: 800px;
        height: 800px;
      }

      .section-principal{
        position: relative;
        top: -140px;
      }

      .titulo-vertical-izquierda {
        font-size: clamp(5rem, 6vw, 7rem);
        left: 20px;
        top: 58%;
        right: 12px;
      }

      .titulo-vertical-derecha {
        font-size: clamp(5rem, 6vw, 7rem);
        right: 20px;
        top: 53%;
      }

    }

    @media (max-width: 830px) {

      .Escultura{
        position: static;
        margin-top: 80px;
        width: 660px;
        height: 660px;
      }

    }


    /* â”€â”€ RESPONSIVO â”€â”€ */
    @media (max-width: 700px) {


      .titulo-vertical-izquierda {
        font-size: clamp(2.2rem, 9vw, 3.8rem);
        left: 15px;
        top: 53%;
        
      }

      .titulo-vertical-derecha{
        font-size: clamp(2.2rem, 9vw, 3.8rem);
        right: 3px;
        top: 48%
      }

       .section-principal{
        position: relative;
        top: -70px;
      }

      /* Alinear logo y navegacion */
      .barra-superior {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 8px;
      }

      /* Panel lateral: se posiciona relativo al header */
      .navegacion {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        padding: 0;
        opacity: 1;
        visibility: visible;
        z-index: 150;
      }

      /* Cada enlace: cÃ­rculo blanco con icono negro */
      .navegacion a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        padding: 0;
        background: var(--blanco);
        border-radius: 50%;
        font-size: 0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
      }
      .navegacion a:hover {
        background: #e0e0e0;
      }

      /* Icono negro dentro del cÃ­rculo blanco */
      .nav-icono {
        width: 28px;
        height: 28px;
        stroke: #111;
        color: black;
      }

      /* Ocultar texto en responsive */
      .nav-texto {
        display: none;
      }

      .logotipo { width: 70px; height: auto; }
      .contenedor-busto {
        width: clamp(160px, 55vw, 260px);
      }

      .Escultura{
        width: 400px;
        height: 400px;
      }
    }
    
    @media (max-width: 420px) {

       .Escultura{
        width: 350px;
        height: 350px;
      }

      .navegacion {
        right: 5px;
        gap: 12px;
        padding: 15px;
      }
      .navegacion a {
        width: 50px;
        height: 50px;
      }
      .nav-icono {
        width: 24px;
        height: 24px;
      }
    }

    /* Pulso suave en el corchete */
    @keyframes pulso-corchete {
      0%, 100% { opacity: 1; }
      50%       { opacity: 0.82; }
    }

    /* AnimaciÃ³n glitch en tÃ­tulos verticales */
    @keyframes glitch {
      0%   { text-shadow: -2px 0 var(--acento-rojo), 2px 0 var(--acento-azul); }
      20%  { text-shadow:  3px 0 var(--acento-azul), -3px 0 var(--acento-rojo); }
      40%  { text-shadow: -2px 0 var(--acento-rojo), 2px 0 var(--acento-azul); }
      60%  { text-shadow:  0 0 0 transparent; }
      80%  { text-shadow: -2px 0 var(--acento-rojo), 2px 0 var(--acento-azul); }
      100% { text-shadow: -2px 0 var(--acento-rojo), 2px 0 var(--acento-azul); }
    }
    .titulo-vertical-izquierda,
    .titulo-vertical-derecha {
      animation: glitch 6s infinite;
    }
    .titulo-vertical-derecha { animation-delay: 1.2s; }


    /* ===================Segunda section ============================ */


    .contenedor-section-dos {
      width: 100%;
      min-height: 450px;
      background: linear-gradient(0deg, #888888, #ffffff);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px;
      box-sizing: border-box;
      position: relative;
      overflow: hidden;
    }

    .Tit-portafolio{
      font-family: 'Bebas Neue', sans-serif;
      margin-top: -850px;
      margin-left: 17px;
      font-size: clamp(6.5rem, 7vw, 6rem);
      color: black;
      flex-shrink: 0;
    }

    .Escultura-derecha{
       width: 60%;
       aspect-ratio: 1008 / 1029;
       object-fit: contain;
       margin-right: -204px;
       display: block;
       flex-shrink: 0;
       position: relative;
       z-index: 50;
    }

    .proyectos{
      display: flex;
      flex-direction: row;
      gap: 40px;
      position: absolute;
      bottom: 20px;
      left: 17%;
      transform: translateX(-50%);
      top:290px;
    }

    .proyectos img {
      width: 140px;
      height: 140px;
      object-fit: cover;
      border-radius: 8px;
    }

    .proyectos img:hover {
      transform: scale(1.09);
      transition: transform 0.3s ease;
    }


    @media (max-width: 1400px) {

      .Tit-portafolio{
        margin-top: -540px;
        margin-left: 40px;
        font-size: clamp(5rem, 7vw, 6rem);
      }
      .Escultura-derecha{
        width: 60%;
        aspect-ratio: 1008 / 1029;
        object-fit: contain;
        margin-right: -150px;
      }
      .proyectos {
        gap: 30px;
        left: 23%;
        top: 240px;
      }
      .proyectos img {
        width: 120px;
        height: 120px;
      }


    }

    @media (max-width: 830px) {

      .Escultura-derecha{
        width: 80%;
        aspect-ratio: 1008 / 1029;
        object-fit: contain;
        margin-right: -156px;
         position: relative;
        z-index: 50;
      }
      .Tit-portafolio{
        margin-top: -550px;
        margin-left: 4px;
      }

      .proyectos {
        gap: 23px;
        left: 28%;
        top: 148px;
      }

       .proyectos img {
        width: 105px;
        height: 105px;
      }

    }


    @media (max-width: 700px) {

      .Tit-portafolio{
        margin-top: -281px;
        margin-left: 6px;
        font-size: clamp(3.0rem, 7vw, 6rem);
      }
      .Escultura-derecha{
        width: 60%;
        aspect-ratio: 1008 / 1029;
        object-fit: contain;
        margin-right: -85px;
      }
      .proyectos {
        gap: 20px;
        left: 30%;
        transform: translateX(-50%);
        top: 136px;
      }
      .proyectos img {
        width: 70px;
        height: 70px;
      }

    }

    @media (max-width: 420px) {
      .Tit-portafolio{
        margin-top: -331px;
        margin-left: 2px;
        font-size: clamp(2.5rem, 7vw, 6rem);
      }
      .Escultura-derecha{
        width: 65%;
        aspect-ratio: 1008 / 1029;
        object-fit: contain;
        margin-right: -83px;
      }
      .proyectos {
        gap: 10px;
        left: 27%;
        transform: translateX(-50%);
        top: 99px;
      }
      .proyectos img {
        width: 60px;
        height: 60px;
      }

    }


/* =================== MODAL ============================ */

/* Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-overlay.activo {
  display: block;
  opacity: 1;
}

/* Contenedor del modal */
.modal-proyecto {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 999;
  background: linear-gradient(90deg, #000000, #9e9e9e);
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(58, 109, 255, 0.15);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-proyecto.activo {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* BotÃ³n cerrar */
.modal-cerrar {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.modal-cerrar:hover {
  background: rgba(229, 53, 53, 0.3);
  transform: rotate(90deg);
}
.modal-cerrar svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

/* Contenido */
.modal-contenido {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  letter-spacing: 0.05em;
  margin: 0;
}

.modal-descripcion {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ccc;
  margin: 0;
}

.modal-tech-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
}

.modal-tecnologias {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px 0;
}
.modal-tecnologias img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: grayscale(0.2) brightness(0.9);
  transition: filter 0.25s, transform 0.25s;
  cursor: default;
}
.modal-tecnologias img:hover {
  filter: grayscale(0) brightness(1.2);
  transform: scale(1.2);
}

/* Scroll personalizado */
.modal-proyecto::-webkit-scrollbar {
  width: 6px;
}
.modal-proyecto::-webkit-scrollbar-track {
  background: transparent;
}
.modal-proyecto::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
.modal-proyecto::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* --- Responsive modal --- */
@media (max-width: 700px) {
  .modal-proyecto {
    padding: 28px 24px;
    max-width: 95%;
  }
  .modal-tecnologias {
    gap: 10px;
  }
  .modal-tecnologias img {
    width: 36px;
    height: 36px;
  }
  .modal-descripcion {
    font-size: 0.88rem;
  }
}
@media (max-width: 420px) {
  .modal-proyecto {
    padding: 24px 18px;
  }
  .modal-tecnologias img {
    width: 30px;
    height: 30px;
  }
}

/* =================== Contenedor tres ============================ */

.contenedor-section-tres{
   width: 100%;
   min-height: 450px;
   background: linear-gradient(0deg, #888888, #ffffff);
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 20px;
   box-sizing: border-box;
   position: relative;
   overflow: hidden;
}


.Tit-tecnologias{
   font-family: 'Bebas Neue', sans-serif;
   margin-top: -680px;
   margin-right: 124px; 
   font-size: clamp(6.5rem, 7vw, 6rem);
   color: black;
   flex-shrink: 0;
   margin-left: auto;
   order: 2;
}


.Escultura-izquierda{
    max-width: 50%;
    height: auto;
    margin-left: -120px;
    margin-right: auto;
    display: block;
    flex-shrink: 0;
    order: 1;
    position: relative;
    z-index: 50;
  }

  /* â”€â”€ CuadrÃ­cula 5x3 de tecnologÃ­as â”€â”€ */
  .tecnologias-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    position: absolute;
    right: 251px;
    top: 320px;
    max-width: 560px;
    width: auto;
    padding: 10px;
    z-index: 2;
  }

  .tech-item {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:transparent;
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: default;
  }

  .tech-item:hover {
    transform: scale(1.12);
    background:transparent;
  }

  .tech-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: grayscale(0.1) brightness(0.9);
    transition: filter 0.25s, transform 0.25s;
  }

  .tech-item:hover img {
    filter: grayscale(0) brightness(1.2);
    transform: scale(1.15);
  }



  @media (max-width: 1400px) {

  .Tit-tecnologias{
    font-family: 'Bebas Neue', sans-serif;
    margin-top: -566px;
    margin-right: 43px; 
    font-size: clamp(5rem, 7vw, 6rem);
    color: black;
    flex-shrink: 0;
    margin-left: auto;
    order: 2;
}
    .tecnologias-grid {
      right: 171px;
      top: 200px;
      gap: 10px;
      max-width: 460px;
    }
    .tech-item {
      width: 100px;
      height: 100px;
    }
    .tech-item img {
      width: 80px;
      height: 80px;
    }
  }

  @media (max-width: 830px) {

    .Escultura-izquierda{
      max-width: 60%;
      height: auto;
      margin-left: -95px;
      margin-right: auto;
      display: block;
      flex-shrink: 0;
      order: 1;
    }

   .Tit-tecnologias{
    font-family: 'Bebas Neue', sans-serif;
    margin-top: -415px;
    margin-right: 43px; 
    font-size: clamp(5rem, 7vw, 6rem);
    color: black;
    flex-shrink: 0;
    margin-left: auto;
    order: 2;
}
    .tecnologias-grid {
      right: 149px;
      top: 135px;
      gap: 8px;
      max-width: 360px;
    }
    .tech-item {
      width: 90px;
      height: 90px;
    }
    .tech-item img {
      width: 70px;
      height: 70px;
    }
  }

  
  @media (max-width: 700px) {

    .Escultura-izquierda{
      max-width: 50%;
      height: auto;
      margin-left: -55px;
      margin-right: auto;
      display: block;
      flex-shrink: 0;
      order: 1;
    }

   .Tit-tecnologias{
    font-family: 'Bebas Neue', sans-serif;
    margin-top: -342px;
    margin-right: 43px; 
    font-size: clamp(3.0rem, 7vw, 6rem);
    color: black;
    flex-shrink: 0;
    margin-left: auto;
    order: 2;
}
    .tecnologias-grid {
      grid-template-columns: repeat(5, 1fr);
      right: 111px;
      top: 105px;
      gap: 6px;
      max-width: 300px;
    }
    .tech-item {
      width: 70px;
      height: 70px;
      border-radius: 8px;
    }
    .tech-item img {
      width: 50px;
      height: 50px;
    }
  }

  @media (max-width: 420px) {
    .Escultura-izquierda{
      max-width: 70%;
      height: auto;
      margin-left: -55px;
      margin-right: auto;
      display: block;
      flex-shrink: 0;
      order: 1;
    }

   .Tit-tecnologias{
    font-family: 'Bebas Neue', sans-serif;
    margin-top: -290px;
    margin-right: 43px; 
    font-size: clamp(2.5rem, 7vw, 6rem);
    color: black;
    flex-shrink: 0;
    margin-left: auto;
    order: 2;
    }

    .tecnologias-grid {
      grid-template-columns: repeat(4, 1fr);
      right: 6px;
      top: 113px;
      gap: 5px;
      max-width: 250px;
    }
    .tech-item {
      width: 42px;
      height: 42px;
      border-radius: 6px;
    }
    .tech-item img {
      width: 32px;
      height: 32px;
    }
  }

/* Contenedor cuatro  */

.contenedor-section-cuatro{
   width: 100%;
   min-height: 1400px;
   background: linear-gradient(0deg, #888888, #ffffff);
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 20px;
   box-sizing: border-box;
   position: relative;
   overflow: hidden;
}

.Tit-venta{
   font-family: 'Bebas Neue', sans-serif;
   margin-top: -1054px;
   font-size: clamp(6.5rem, 7vw, 6rem);
   color: black;
   flex-shrink: 0;
   text-align: center;
   width: 100%;
   order: 2;
}

/* Dispositivos del contenedor cuatro */
.Phone, .Portatil, .Tablet {
   position: absolute;
   top: 67%;
   transform: translateY(-30%);
   height: auto;
}

.Phone {
   left: 16%;
   z-index: 2;
   max-width: 14%;
   top: 535px;
}

.Portatil {
   left: 50%;
   top: 42%;
   transform: translate(-50%, -50%);
   z-index: 1;
   max-width: 47%;
}

.Tablet {
   right: 13%;
   z-index: 2;
   max-width: 20%;
   border-radius: 30px;
   top: 574px;
}


@media (max-width: 1400px) {
   .Phone {
      left: 14%;
      max-width: 17%;
      top: 566px;
   }
   .Portatil {
      left: 50%;
      top: 39%;
      transform: translate(-50%, -50%);
      z-index: 1;
      max-width: 47%;
   }
   .Tablet {
      right: 9%;
      max-width: 24%;
      top: 627px;
   }
}


@media (max-width: 830px) {

  .Tit-venta{
   font-family: 'Bebas Neue', sans-serif;
   margin-top: -1080px;
   font-size: clamp(5rem, 7vw, 6rem);
   color: black;
   flex-shrink: 0;
   text-align: center;
   width: 100%;
   order: 2;
}

   .Phone {
      left: 5%;
      max-width: 22%;
      top: 471px;
   }
   .Portatil {
      left: 50%;
      top: 35%;
      transform: translate(-50%, -50%);
      z-index: 1;
      max-width: 59%;
   }
   .Tablet {
      right: 4%;
      max-width: 30%;
      top: 480px;
   }
}

@media(max-width: 700px) {

   .Tit-venta{
   font-family: 'Bebas Neue', sans-serif;
   margin-top: -1175px;
   font-size: clamp(3.0rem, 7vw, 6rem);
   color: black;
   flex-shrink: 0;
   text-align: center;
   width: 100%;
   order: 2;
 }

  .Phone {
      left: 5%;
      max-width: 22%;
      top: 259px;
   }
   .Portatil {
      left: 50%;
      top: 25%;
      transform: translate(-50%, -50%);
      z-index: 1;
      max-width: 59%;
   }
   .Tablet {
      right: 4%;
      max-width: 30%;
      top: 260px;
      border-radius: 10px;
   }
}
  
@media (max-width: 420px) {

  .contenedor-section-cuatro{
   width: 100%;
   min-height: 1100px;
   background: linear-gradient(0deg, #888888, #ffffff);
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 20px;
   box-sizing: border-box;
   position: relative;
   overflow: hidden;
}

  .Tit-venta{
   font-family: 'Bebas Neue', sans-serif;
   margin-top: -931px;
   font-size: clamp(2.5rem, 7vw, 6rem);
   color: black;
   flex-shrink: 0;
   text-align: center;
   width: 100%;
   order: 2;
 }
   .Portatil {
      left: 50%;
      top: 21%;
      transform: translate(-50%, -50%);
      z-index: 1;
      max-width: 59%;
   }

}


/* Informacion del contenedor cuatro */
.Informacion {
   position: absolute;
   bottom: 13px;
   left: 24%;
   transform: translateX(-50%);
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   justify-items: center;
   gap: 11px;
   z-index: 3;
}


.Informacion .info-item {
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   gap: 10px;
}

.Informacion .info-item img {
   width: 85px;
   height: auto;
}

.Informacion .info-item img:hover{
    transform: scale(1.10);
    transition: transform 0.5s ease;
}

.Titulo{
  font-family: 'Bebas Neue', sans-serif;
   font-size: 2rem;
   color: black;   
}


.Descripcion {
   font-family: 'Bebas Neue', sans-serif;
   font-size: 1.5rem;
   color: white;
   margin: 0;
}


/* Boton */

.btn {
  position: absolute;
  font-size: 52px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6em 2.5em;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  border-radius: 6em;
  transition: all 0.2s;
  border: none;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 500;
  color: white;
  background-color: black;
  bottom: 199px;
  right: 51px;
}

.btn-icono {
  width: 80px;
  height: 65px;
  object-fit: contain;
  flex-shrink: 0;
  margin-bottom: -4px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn::after {
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  border-radius: 100px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all 0.4s;
}

.btn::after {
  background-color: #fff;
}

.btn:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}

.Dominio{
  position: absolute;
  bottom: 146px;
  right: 252px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color:white;
}

.Terminos{
  position: absolute;
  bottom: 113px;
  right: 353px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color:white;
}

/* =================== Boton flotante visitas (ojo verde) ============================ */
.btn-ojos {
  position: fixed;
  bottom: 92px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #22c55e;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  z-index: 9999;
}

.btn-ojos-icono {
  width: 24px;
  height: 24px;
}

.btn-ojos:hover {
  transform: scale(1.1);
  background: #1da24f;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.btn-ojos:active {
  transform: scale(0.95);
}

.btn-ojos:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* Panel informativo del contador de visitas */
.btn-ojos-panel {
  display: none;
  position: fixed;
  bottom: 150px;
  right: 20px;
  min-width: 190px;
  max-width: 250px;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-family: 'Bebas Neue', sans-serif;
  color: #fff;
  z-index: 10000;
}

.btn-ojos-panel.activo {
  display: block;
}

.btn-ojos-titulo {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: #22c55e;
}

.btn-ojos-linea {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #fff;
}

#Escala.light-background-mode .btn-ojos {
  background: #22c55e !important;
  color: #fff !important;
}

@media (max-width: 830px) {
  .btn-ojos {
    bottom: 76px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
  .btn-ojos-icono {
    width: 22px;
    height: 22px;
  }
  .btn-ojos-panel {
    bottom: 130px;
    right: 10px;
  }
}

@media (max-width: 420px) {
  .btn-ojos {
    width: 40px;
    height: 40px;
  }
  .btn-ojos-icono {
    width: 20px;
    height: 20px;
  }
  .btn-ojos-panel {
    bottom: 126px;
    right: 10px;
  }
}

@media (max-width: 1400px) {
  .Informacion {
    bottom: 26px;
    left: 24%;
    transform: translateX(-50%);
    gap: 26px;
  }

  .Informacion .info-item img {
    width: 88px;
    height: auto;
  }

  .Titulo {
    font-size: 1.4rem;
  }
  .Descripcion {
    font-size: 1.3rem;
  }

  .btn {
    font-size: 44px;
    padding: 0.5em 2em;
    bottom: 221px;
    right: 46px;
  }
  .btn-icono {
    width: 56px;
    height: 56px;
  } 

  .Dominio {
    bottom: 164px;
    right: 169px;
    font-size: 1.35rem;
  }

  .Terminos {
    bottom: 131px;
    right: 271px;
    font-size: 1rem;
  }

}


@media (max-width: 830px) {
  .Informacion {
   position: absolute;
   bottom: 403px;
   left: 50%;
   transform: translateX(-50%);
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
   justify-items: center;
   align-items: flex-start;
   z-index: 3;
}

.Informacion .info-item {
   min-width: 96px;
}

.Informacion .info-item img {
   width: 70px;
   height: auto;
}

  .Titulo {
    font-size: 1.2rem;
  }
  .Descripcion {
    font-size: 0.95rem;
  }

  .btn {
    font-size: 29px;
    padding: 0.5em 2em;
    bottom: 267px;
    right: 200px;
  }
  .btn-icono {
    width: 61px;
    height: 50px;
    margin-bottom: -16px;
  } 

  .Dominio {
    bottom: 200px;
    right:254px;
    font-size: 1.1rem;
  }

  .Terminos {
    bottom: 160px;
    right: 327px;
    font-size: 1rem;
  }


}


@media (max-width: 700px) {
  .Informacion {
   position: absolute;
   bottom: 538px;
   left: 50%;
   transform: translateX(-50%);
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 12px;
   justify-items: center;
   align-items: flex-start;
   z-index: 3;
}

.Informacion .info-item {
   min-width: 84px;
}

.Informacion .info-item img {
   width: 62px;
   height: auto;
}

  .Titulo {
    font-size: 1rem;
  }
  .Descripcion {
    font-size: 0.85rem;
  }

  .btn {
    font-size: 29px;
    padding: 0.5em 1em;
    bottom: 369px;
    right: 141px;
  }
  .btn-icono {
    width: 51px;
    height: 49px;
    margin-bottom: -15px;
  } 

  .Dominio {
    bottom: 311px;
    right:188px;
    font-size: 1rem;
  }

  .Terminos {
    bottom: 278px;
    right:250px;
    font-size: 0.9rem;
  }


}


@media (max-width: 420px) {
  .Informacion {
   position: absolute;
   bottom: 309px;
   left: 51%;
   transform: translateX(-50%);
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 12px 34px;
   justify-items: center;
   align-items: flex-start;
   z-index: 3;
}

.Informacion .info-item {
   min-width: 70px;
   max-width: 100px;
}

.Informacion .info-item img {
   width: 46px;
   height: auto;
}

  .Titulo {
    font-size: 0.95rem;
  }
  .Descripcion {
    font-size: 1.0rem;
  }

  .btn {
    font-size: 23px;
    padding: 0.5em 1em;
    bottom:222px;
    right: 44px;
  }
  .btn-icono {
    width: 60px;
    height: 39px;
    margin-bottom: -3px;
  } 

  .Dominio {
    bottom: 184px;
    right:69px;
    font-size: 1rem;
  }

  .Terminos {
    bottom: 155px;
    right: 126px;
    font-size: 0.9rem;
  }

}


/* =================== PANEL DE ACCESIBILIDAD ============================ */

/* BotÃ³n flotante de accesibilidad */
.accessibility-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fddea9;
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.accessibility-btn:hover {
  transform: scale(1.1);
}
.accessibility-btn svg {
  width: 28px;
  height: 28px;
}

/* Panel lateral */
.accessibility-panel {
  position: fixed;
  top: auto;
  bottom: 100px;
  right: -340px;
  width: 320px;
  max-height: calc(100vh - 140px);
  background: #1a1a2e;
  color: #eee;
  z-index: 10000;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  overflow-y: auto;
  border-radius: 12px;
}
.accessibility-panel.abierto {
  right: 0;
}

/* Header */
.accessibility-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.accessibility-header h3 {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: #fff;
}
.accessibility-close {
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0 6px;
  transition: color 0.2s;
  line-height: 1;
}
.accessibility-close:hover {
  color: #fff;
}

/* Body */
.accessibility-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accessibility-group {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px 16px;
}

.accessibility-group-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  margin-bottom: 10px;
}

/* Controles de fuente */
.accessibility-font-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}
.accessibility-font-btn {
  flex: 1;
  padding: 10px 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.accessibility-font-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}
.accessibility-font-reset {
  font-size: 1.1rem;
}
.accessibility-font-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  min-width: 42px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Toggle switches */
.accessibility-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.accessibility-toggle span {
  font-size: 0.95rem;
  font-weight: 500;
}

.accessibility-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.accessibility-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.accessibility-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  transition: background 0.3s;
}
.accessibility-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s;
}
.accessibility-switch input:checked + .accessibility-slider {
  background: #2e86c1;
}
.accessibility-switch input:checked + .accessibility-slider::before {
  transform: translateX(20px);
}

/* Scrollbar del panel */
.accessibility-panel::-webkit-scrollbar {
  width: 5px;
}
.accessibility-panel::-webkit-scrollbar-track {
  background: transparent;
}
.accessibility-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 700px) {
  .accessibility-btn {
    bottom: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
  }
  .accessibility-btn svg {
    width: 24px;
    height: 24px;
  }
  .accessibility-panel {
    width: 280px;
    right: -300px;
    bottom: 80px;
    max-height: calc(100vh - 120px);
  }
}
@media (max-width: 420px) {
  .accessibility-btn {
    bottom: 15px;
    left: 15px;
    width: 44px;
    height: 44px;
  }
  .accessibility-btn svg {
    width: 22px;
    height: 22px;
  }
  .accessibility-panel {
    width: 260px;
    right: -280px;
    bottom: 70px;
    max-height: calc(100vh - 110px);
  }
}

/* =================== CONTROLES DE AUDIO ============================ */

.audio-rate-control { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: #fff; font-family: 'Inter', sans-serif; } .audio-rate-label { font-size: 0.75rem; color: #ccc; } .audio-rate-input { width: 80px; accent-color: #4caf50; } .audio-rate-value { font-size: 0.75rem; color: #4caf50; font-weight: 600; min-width: 30px; text-align: center; } .accessibility-audio-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.accessibility-audio-btn {
  flex: 1;
  min-width: 80px;
  padding: 8px 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.audio-sign {
  font-size: 1rem;
  line-height: 1;
}
.audio-label {
  font-size: 0.85rem;
}
.accessibility-audio-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}
.accessibility-audio-btn.reproduciendo {
  border-color: #4caf50;
  background: rgba(76, 175, 80, 0.15);
}
.accessibility-audio-btn.pausado {
  border-color: #ff9800;
  background: rgba(255, 152, 0, 0.15);
}
.accessibility-audio-status {
  width: 100%;
  font-size: 0.75rem;
  color: #aaa;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}
.accessibility-audio-status.reproduciendo {
  color: #4caf50;
}
.accessibility-audio-status.pausado {
  color: #ff9800;
}

/* =================== MODOS DE ACCESIBILIDAD ============================ */

/* Aislar botÃ³n y panel de accesibilidad de todos los filtros */
.accessibility-btn,
.accessibility-panel {
  position: fixed;
  filter: none !important;
  transform: none !important;
}

/* Alto contraste */
#Escala.high-contrast-mode {
  filter: contrast(1.5) brightness(1.1);
}
#Escala.high-contrast-mode a,
#Escala.high-contrast-mode button {
  outline: 3px solid #ffff00 !important;
  outline-offset: 2px;
}

/* Escala de grises */
#Escala.grayscale-mode {
  filter: grayscale(100%);
}

/* Colores invertidos */
#Escala.invert-colors-mode {
  filter: invert(1) hue-rotate(180deg);
}
#Escala.invert-colors-mode video {
  filter: invert(1) hue-rotate(180deg);
}

#Escala.invert-colors-mode .titulo-vertical-derecha,
#Escala.invert-colors-mode .titulo-vertical-izquierda,
#Escala.invert-colors-mode .Tit-portafolio,
#Escala.invert-colors-mode .Tit-tecnologias,
#Escala.invert-colors-mode .Tit-venta,
#Escala.invert-colors-mode .Titulo {
  color: #000000 !important;
}


/* Fondo claro */
#Escala.light-background-mode {
  color: #000 !important;
}

#Escala.light-background-mode .barra-superior a {
  background: #ddd;
  color: #000;
}

#Escala.light-background-mode .contenedor-section-dos,
#Escala.light-background-mode .contenedor-section-tres,
#Escala.light-background-mode .contenedor-section-cuatro {
  background: linear-gradient(-70deg, #959595, #fff);
}
#Escala.light-background-mode .Tit-portafolio,
#Escala.light-background-mode .Tit-tecnologias,
#Escala.light-background-mode .Tit-venta,
#Escala.light-background-mode .Titulo {
  color: #000 !important;
}
#Escala.light-background-mode .contenedor-section-cinco {
  background: #575757;
}

#Escala.light-background-mode .Derechos {
  color: #ffffff !important;
}
/* Excluir botÃ³n y panel de accesibilidad del modo fondo claro */
#Escala.light-background-mode .accessibility-btn {
  background: #fddea9 !important;
  color: #000 !important;
}
#Escala.light-background-mode .accessibility-panel {
  background: #1a1a2e !important;
  color: #eee !important;
}

/* Subrayar enlaces */
#Escala.underline-links-mode a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

#Escala.underline-links-mode a:hover {
  text-decoration: none !important;
}


/* =================== Contenedor cinco ============================ */

.contenedor-section-cinco{
   width: 100%;
   min-height: 945px;
   background: #050505;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 20px;
   box-sizing: border-box;
   position: relative;
   overflow: hidden;
}

.David{
  position: absolute;
  top: 191px;
  right: -154px;
  
}

.Eye{
  position: absolute;
  top: 130px;
  left: 144px;
}

.Hand{
  position: absolute;
  top: 410px;
  left: -190px;
}

.Derechos{
  position: absolute;
  bottom: 20px;
  left: 20%;
  transform: translateX(-50%);
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: white;
}

@media (max-width: 1400px) {

  .David{
    top: 296px;
    right: -130px;
    max-width: 68%;
  }
  .Eye{
    top: 111px;
    left: 75px;
    max-width: 25%;
  }
  .Hand{
    top: 410px;
    left: -150px;
    max-width: 50%;
  }

  .Derechos{
    position: absolute;
    bottom: 25px;
    left: 27%;
    transform: translateX(-50%);
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
  }
}

@media (max-width: 830px) {

  .David{
    top: 305px;
    right: -194px;
    max-width: 65%;
  }
  .Eye{
    top: 255px;
    left: 106px;
    max-width: 27%;
  }
  .Hand{
    top: 450px;
    left: -124px;
    max-width: 65%;
  }

  .Derechos{
  position: absolute;
  bottom: 20px;
  left: 33%;
  transform: translateX(-50%);
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: white;
}

}

@media (max-width: 700px) {

  .David{
    top: 305px;
    right: -194px;
    max-width: 76%;
  }
  .Eye{
    top: 250px;
    left: 69px;
    max-width: 27%;
  }
  .Hand{
    top: 413px;
    left: -124px;
    max-width: 65%;
  }

  .Derechos{
  position: absolute;
  bottom: 20px;
  left: 36%;
  transform: translateX(-50%);
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
}

}

@media (max-width: 420px) {

  .David{
    top: 357px;
    right: -111px;
    max-width: 172%;
  }
  .Eye{
    top: 90px;
    left: 43px;
    max-width: 35%;
  }
  .Hand{
    top: 218px;
    left: -63px;
    max-width: 72%;
  }

  .Derechos{
    position: absolute;
    bottom: 20px;
    left: 52%;
    transform: translateX(-50%);
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    text-align: center;
}

}

/* =================== BotÃ³n subir al inicio ============================ */

.btn-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--acento-rojo, #e53535);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.btn-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-scroll-top:hover {
  background: var(--acento-azul, #3a6dff);
  transform: scale(1.1);
}

.btn-scroll-top svg {
  width: 24px;
  height: 24px;
}

/* Excluir botÃ³n de scroll de los modos de accesibilidad */
#Escala.light-background-mode .btn-scroll-top {
  background: #e53535 !important;
  color: #fff !important;
}
#Escala.readable-font-mode .btn-scroll-top {
  font-family: 'Inter', sans-serif !important;
}

@media (max-width: 830px) {
  .btn-scroll-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
  .btn-scroll-top svg {
    width: 20px;
    height: 20px;
  }
}
/* =================== CAPTCHA LÃ“GICO MODAL ============================ */

.captcha-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10001;
  backdrop-filter: blur(4px);
}

.captcha-overlay.activo {
  display: block;
}

.captcha-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 10002;
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 36px;
  width: 90%;
  max-width: 440px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.captcha-modal.activo {
  display: block;
  transform: translate(-50%, -50%) scale(1);
}

.captcha-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.captcha-icono {
  width: 44px;
  height: 44px;
  background: rgba(229, 53, 53, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.captcha-icono svg {
  width: 22px;
  height: 22px;
  stroke: var(--acento-rojo, #e53535);
}

.captcha-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin: 0;
}

.captcha-input-group {
  display: flex;
  gap: 10px;
  width: 100%;
}

.captcha-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.captcha-input:focus {
  border-color: var(--acento-rojo, #e53535);
}

.captcha-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.captcha-btn {
  padding: 14px 24px;
  background: var(--acento-rojo, #e53535);
  border: none;
  border-radius: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.captcha-btn:hover {
  background: #c42e2e;
  transform: translateY(-2px);
}

.captcha-btn:active {
  transform: translateY(0);
}

/* Opciones de selecciÃ³n (para tipo "elige") */
.captcha-opciones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.captcha-opcion {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.captcha-opcion:hover {
  background: rgba(229, 53, 53, 0.2);
  border-color: var(--acento-rojo, #e53535);
  transform: translateY(-2px);
}

.captcha-opcion.seleccionada {
  background: rgba(229, 53, 53, 0.3);
  border-color: var(--acento-rojo, #e53535);
  box-shadow: 0 0 15px rgba(229, 53, 53, 0.2);
}

.captcha-error {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--acento-rojo, #e53535);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 20px;
  margin: 0;
}

.captcha-cerrar {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.captcha-cerrar:hover {
  background: rgba(229, 53, 53, 0.3);
  border-color: var(--acento-rojo, #e53535);
}

.captcha-cerrar svg {
  width: 14px;
  height: 14px;
}

/* Estado Ã©xito */
.captcha-exito {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: #4caf50;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
}

.captcha-exito-icono {
  width: 70px;
  height: 70px;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.captcha-exito-icono svg {
  width: 40px;
  height: 40px;
  stroke: #4caf50;
}

/* Responsive captcha */
@media (max-width: 700px) {
  .captcha-modal {
    padding: 30px 24px;
    max-width: 380px;
  }
  .captcha-titulo {
    font-size: 1.3rem;
  }
  .captcha-input {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  .captcha-btn {
    padding: 12px 18px;
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .captcha-modal {
    padding: 24px 18px;
    max-width: 330px;
  }
  .captcha-titulo {
    font-size: 1.1rem;
  }
  .captcha-input-group {
    flex-direction: column;
  }
  .captcha-btn {
    width: 100%;
  }
  .captcha-opcion {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* 
.sprite-global{
    position: fixed;
    left: 50%;
    top: 180px;

    transform: translateX(-50%);

    width: 420px;

    z-index: 9999;

    pointer-events: none;
}

#scene{
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:9999;
} */

/* =================== MODAL DE BIENVENIDA / CV ============================ */

.bienvenida-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 10001;
}

.bienvenida-overlay.activo {
  display: block;
}

.bienvenida-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 10002;
  background: linear-gradient(145deg, #111827, #1f2937);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 40px 36px;
  width: 92%;
  max-width: 580px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.bienvenida-modal.activo {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.bienvenida-cerrar {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.bienvenida-cerrar:hover {
  background: rgba(229, 53, 53, 0.3);
  transform: rotate(90deg);
}

.bienvenida-cerrar svg {
  width: 16px;
  height: 16px;
}

.bienvenida-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.05em;
  margin: 0 0 6px;
}

.bienvenida-subtitulo {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #ccc;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 28px;
}

.bienvenida-opciones {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bienvenida-opcion {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
}

.bienvenida-opcion:hover {
  background: rgba(58, 109, 255, 0.15);
  border-color: var(--acento-azul, #3a6dff);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.bienvenida-opcion-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.04em;
}

.bienvenida-opcion-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #bbb;
}

/* Responsive modal bienvenida */
@media (max-width: 700px) {
  .bienvenida-modal {
    padding: 32px 24px;
    max-width: 430px;
  }
}

@media (max-width: 420px) {
  .bienvenida-modal {
    padding: 28px 18px;
    max-width: 340px;
  }
  .bienvenida-titulo {
    font-size: 1.6rem;
  }
  .bienvenida-opcion {
    padding: 14px 16px;
  }
  .bienvenida-opcion-titulo {
    font-size: 1.25rem;
  }
  .bienvenida-opcion-desc {
    font-size: 0.82rem;
  }
}



