@import url("https://use.typekit.net/ing3yil.css");
@import url("https://use.typekit.net/ing3yil.css");

* {
  box-sizing: 0;
  margin: 0;
  padding: 0;
}

body {
  cursor: none;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: -3;
}

html {
  font-size: 62.5%;
  background-color: #000000;
}

@media screen and (min-width: 320px) {
  /*==================== HEADER ====================*/
  /*==================== HEADER ====================*/

  header {
    width: 100%;
    height: 10vh;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }

  .brand-nav {
    width: 4rem;
  }

  .nav-link {
    font-family: articulat-cf, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: aliceblue;
    font-size: 1.8rem;
    text-decoration: none;
  }

  nav {
    display: none;
  }

  /*==================== SECCIONES ====================*/
  /*==================== SECCIONES ====================*/

  main {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  .seccion {
    width: 100%;
    height: 100vh;
  }

  .pin-wrapper {
    position: relative;
    height: 750vh;
  }

  .seccion-nosotros {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .pin-spacer {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .seccion-portfolio {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: -1;
  }

  .seccion-proyectos {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /*==================== ARTICULOS ====================*/
  /*==================== ARTICULOS ====================*/

  .articulo {
    width: 100%;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .portfolio-track {
    width: 100%;
    height: 100%;
    background: #202020;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
  }

  /*==================== DIV'S ====================*/
  /*==================== DIV'S ====================*/

  .fondo-main {
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.85) 40%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .glass-filter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(3.5px);
    background-color: rgba(0, 0, 0, 0); /* transparente, no negro */
    pointer-events: none;
    z-index: 0;
    opacity: 0;
  }

  .portfolio-container {
    position: relative;
    width: 80%;
    aspect-ratio: 9/16;
    z-index: 2;
  }

  .slider-ui {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    position: absolute;
    bottom: -60px; /* o según tu diseño */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
  }

  .slider-progress {
    display: flex;
    gap: 6px;
    padding: 1.725rem 1.2rem;
    background: #202020;
    border-radius: 999px;
    background: linear-gradient(
      145deg,
      #2a2a2a,
      #1a1a1a
    ); /* contraste más notorio */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6),
      /* sombra inferior */ 0 2px 4px rgba(255, 255, 255, 0.05) inset; /* leve brillo interno */
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bdbdbd;
    transition: all 0.3s ease;
  }

  .dot.active {
    background: #00ea00;
    transform: scale(1.5);
  }

  /*==================== VIDEOS ====================*/
  /*==================== VIDEOS ====================*/

  .video-fondo {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
    height: auto;
    opacity: 0; /* ← valor inicial visible */
    z-index: -1;
    pointer-events: none;
  }

  /*==================== IMAGENES ====================*/
  /*==================== IMAGENES ====================*/

  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 0;
    transition: none;
  }

  .slide.active {
    opacity: 1;
    z-index: 1;
  }

  /*==================== TITULOS ====================*/
  /*==================== TITULOS ====================*/

  .titulo {
    font-family: articulat-cf, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    color: aliceblue;
    line-height: 1.2;
    letter-spacing: -2px;
  }

  .titulo2 {
    font-family: articulat-cf, sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: aliceblue;
    line-height: 1.2;
    letter-spacing: -2px;
  }

  .tituloPrimero {
    text-align: center;
    line-height: 1.1;
    margin-bottom: 1.6rem;
  }

  /*==================== TEXTOS ====================*/
  /*==================== TEXTOS ====================*/

  .texto {
    font-family: articulat-cf, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: aliceblue;
    font-size: 1.8rem;
  }

  .textoPrimero {
    text-align: center;
  }

  .texto-nosotros {
    font-family: articulat-cf, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(2.4rem, 5vw, 3rem);
    color: aliceblue;
    width: 95%;
    text-align: left;
    letter-spacing: -2px;
  }

  .texto-nosotros-2 {
    font-family: articulat-cf, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(2.4rem, 5vw, 3rem);
    color: aliceblue;
    width: 95%;
    text-align: left;
    letter-spacing: -2px;
  }

  .texto-nosotros-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-family: articulat-cf, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(2.4rem, 5vw, 3rem);
    color: aliceblue;
    width: 95%;
    text-align: left;
    letter-spacing: -2px;
  }

  .texto-nosotros .char,
  .texto-nosotros-2 .char,
  .texto-nosotros-3 .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
  }

  .tituloPrimero .char,
  .textoPrimero .char,
  .boton-reunion .char {
    display: inline-block;
    will-change: transform, opacity;
  }

  /*==================== BOTONES ====================*/
  /*==================== BOTONES ====================*/

  .boton-reunion {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.5rem 0.5rem 1.8rem;
    background-color: #4ae900;
    color: black;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    overflow: hidden;
    gap: 1rem;
    transition: all 0.5s ease;
    margin-top: 1.8rem;
    position: relative;
  }

  .boton-reunion:hover {
    cursor: none;
  }

  .boton-texto {
    font-family: articulat-cf, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.8rem;
  }

  .icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
      145deg,
      #2a2a2a,
      #1a1a1a
    ); /* contraste más notorio */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.8),
      /* sombra inferior */ 0 2px 4px rgba(255, 255, 255, 0.08) inset; /* leve brillo interno */
    color: white;
    border-radius: 50%;
    width: 4.8rem;
    height: 4.8rem;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
  }

  .boton-reunion:hover .icon-wrapper {
    background: #fff;
    color: black;
    transition: transform 0.5s ease;
  }

  .icon-wrapper i {
    transition: transform 0.5s ease;
    font-size: 20px;
  }

  .boton-reunion:hover .icon-wrapper i {
    transform: rotate(45deg);
    background-color: aliceblue;
  }

  .boton-reunion:hover .icon-wrapper {
    background-color: aliceblue;
  }

  .boton-portfolio {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(
      145deg,
      #2a2a2a,
      #1a1a1a
    ); /* contraste más notorio */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6),
      /* sombra inferior */ 0 2px 4px rgba(255, 255, 255, 0.05) inset; /* leve brillo interno */
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .boton-portfolio.left {
    left: -70px;
  }

  .boton-portfolio.right {
    right: -70px;
  }

  .boton-portfolio i {
    color: #00ea00;
    font-size: 20px;
  }

  .boton-portfolio:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8),
      0 2px 4px rgba(255, 255, 255, 0.1) inset;
  }

  .slider-playpause {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #202020;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    background: linear-gradient(
      145deg,
      #2a2a2a,
      #1a1a1a
    ); /* contraste más notorio */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6),
      /* sombra inferior */ 0 2px 4px rgba(255, 255, 255, 0.05) inset; /* leve brillo interno */
    transform: translateY(0%);
    cursor: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .slider-playpause i {
    color: #00ea00;
  }

  .slider-playpause:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8),
      0 2px 4px rgba(255, 255, 255, 0.1) inset;
  }
}

@media screen and (min-width: 1080px) {
  header {
    justify-content: center;
    height: 12vh;
  }

  .header-container {
    width: 45%;
    height: 8.75vh;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 32px;
    border: #303030 2.5px solid;
    margin-top: 1rem;
  }

  .brand-nav {
    width: 2.2rem;
  }

  .salto {
    display: none;
  }

  .texto-nosotros,
  .texto-nosotros-2,
  .texto-nosotros-3 {
    text-align: center;
  }

  nav {
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }

  .nav-link {
    transition: 0.5s ease-in-out;
  }

  .nav-link:hover {
    cursor: none;
    background: #4ae900;
    padding: 0.5rem 1rem;
    border-radius: 32px;
    color: #000;
  }

  .titulo {
    font-size: clamp(2.5rem, 6vw, 5rem);
  }

  main .titulo {
    width: 80%;
  }

  .texto {
    font-size: clamp(1.4rem, 1.5vw, 1.8rem);
  }

  .texto-nosotros {
    width: 60%;
  }

  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px; /* tamaño del círculo */
    height: 20px;
    background-color: #4ae900; /* tu verde característico */
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    filter: blur(1px); /* blur residual */
    box-shadow: 0 0 10px #4ae900, 0 0 20px #00ff88; /* resplandor */
    transform: translate(-50%, -50%);
    transition: transform 0.05s linear;
  }

  .portfolio-container {
    position: relative;
    width: 62%;
    aspect-ratio: 16/9;
    z-index: 2;
  }
}
.intro-overlay {
  position: fixed;
  inset: 0;
  background-color: #000;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.8s ease-out;
}

.intro-contenedor {
  position: relative;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-text,
.intro-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.intro-text {
  font-family: articulat-cf, sans-serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #fff;
  text-align: center;
  opacity: 0;
  white-space: nowrap;
}

.intro-logo {
  width: 20rem;
  opacity: 0;
}
