.site-wrapper{
  width: 100%;
  max-width: 1600px;   /* evita que en pantallas grandes se expanda demasiado */
  margin: 0 auto;
  padding: 0 40px;     /* controla el vacío en los lados */
}






html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}


section {
  margin-bottom: 160px; /* 👈 espacio entre TODAS las secciones */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    background: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-y: scroll; /* permite scroll vertical */
  }

  /* 🎯 TÍTULOS */
  h1, h2, h3 {
    font-family: 'Anton', sans-serif;
    letter-spacing: 2px;
    line-height: 1.1;
  }

  .intro-text h1 {
    font-size: 8rem;
    letter-spacing: 3px; /* más impacto */
    text-transform: uppercase;
  }

  .intro-text h2 {
    font-size: 3rem;
    letter-spacing: 3px; /* más impacto */
    text-transform: uppercase;
  }

  .intro-text p {
    font-size: 10rem;
    letter-spacing: 2px; /* más impacto */
    text-transform: uppercase;
    transform: translateX(-180px); 
  }



  /* SECCIÓN INTRO */
  .intro {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  /* CANVAS (fondo animado) */
 canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

  /* TEXTO */
  .intro-text {
    position: relative; /* clave */
    z-index: 2;
    height: 100%;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    text-align: center;
  }

  /* PORTAFOLIO */
  .intro-text h2:not(.title) {
    color: #acc1ff;
  }

  

  /* 🔥 TITULO CON EFECTO */

  .title {
    position: relative;
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    letter-spacing: 3px;

    color: transparent;
    -webkit-text-stroke: 0.5px #acc1ff;

    /* escritura */
    overflow: hidden;
    white-space: nowrap;
    border-right: none;

    width: 0;
    display: inline-block; /* 👈 CLAVE */
    animation: typing 1s steps(12, end) forwards,
              blink 0.8s infinite;


    position: relative;
    display: inline-block; /* 👈 importante */
  }



  /* ✍️ escritura */
  @keyframes typing {
    from { width: 0; }
    to { width: 12ch; } /* 👈 4 caracteres = 2026 */
  }

  /* ✨ cursor */
  @keyframes blink {
    50% { border-color: transparent; }
  }



  /* SUBTEXTO */
  .intro-text p {
    margin-top: 10px;
    font-size: 1.1rem;
    opacity: 0.7;
  }

.section-title {
  font-size: 5rem;
}

  /* ----------------------------------------------------------------------------------------------*/

  /* ✨ Clase glow para títulos con borde y sin relleno */
  .glowazul {
    position: relative;
    color: transparent; /* sin relleno */
    -webkit-text-stroke: 1px #acc1ff; /* borde del texto */
    font-family: 'Anton', sans-serif;
  }

  /* pseudo-elemento ::before para el glow */
  .glowazul::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    color: transparent; /* el texto sigue transparente */
    -webkit-text-stroke: 6px #2a5efc; /* borde más brillante para glow */
    filter: blur(5px);
    opacity: 0.9;
    z-index: -1;

    
  }



  /* ✨ Clase glow para títulos con borde y sin relleno */
  .glowmorado {
    position: relative;
    color: transparent; /* sin relleno */
    -webkit-text-stroke: 1px #deacff; /* borde del texto */
    font-family: 'Anton', sans-serif;
  }

  /* pseudo-elemento ::before para el glow */
  .glowmorado::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0px;
    width: 100%;
    height: 100%;

    color: transparent; /* el texto sigue transparente */
    -webkit-text-stroke: 6px #834efd; /* borde más brillante para glow */
    filter: blur(5px);
    opacity: 0.9;
    z-index: -1;

    
  }


  /* ----------------------------------------------------------------------------------------------*/

#project1 .project-slider {
  width: 100%;        /* 👈 ocupa todo el espacio disponible */
  max-width: none;    /* 👈 quita el límite */
  height: 80vh;       /* 👈 más alto (usa pantalla) */
  margin-top: 60px;
}

#project1 .clipcards {
  margin-top: 150px; /* 👈 separa del slider */
}


/* SOLO ENREDADOS */
#project1 .flip-container {
  margin-top: 120px;
}

#project1 .project-slider .slide {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 👈 CAMBIO CLAVE */
  background-color: none; /* opcional pero se ve pro */
}




/* SOLO ENREDADOS */
#project1 .project-video {
  width: 80%;
  max-width: 1200px;

  border-radius: 25px;
  overflow: hidden;

  transform:
    translateX(-12%)
    rotateY(-12deg)
    rotateX(3deg);
  transform-origin: center;

  transition: transform 0.6s ease, box-shadow 0.6s ease;

  box-shadow: 0 40px 80px rgba(0,0,0,0.6);

  will-change: transform;
}

/* hover SOLO ENREDADOS */
#project1 .video-wrapper:hover .project-video {
  transform:
    translateX(-12%)
    rotateY(0deg)
    rotateX(0deg);

  box-shadow:
    0 0 0 2px rgba(80,148,250,0.6),
    0 0 25px rgba(80,172,247,0.5),
    0 40px 80px rgba(0,0,0,0.6);
}



  .section2 {
    position: relative;
    width: 100%;
    min-height: 100vh;
  padding-bottom: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    z-index: 1; /* encima del canvas */
    background: transparent; /* o rgba(0,0,0,0.2) si quieres un toque oscuro */
  }



  /* FOTO */
.profile-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 40px;

  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


  /* FOTO */
 .holo-image {
  position: absolute; /* 👈 CLAVE */
  left: 18%;            /* pegada al lado izquierdo del glass */
  top: 75%;           /* centrada vertical */
  transform: translate(-50%, -50%); /* 👈 mitad afuera, mitad dentro */

  width: 35%;
  max-width: 500px;
  min-width: 150px;

  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;

  z-index: 5; /* 👈 encima del glass */
}

  .holo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
  }

  /* TEXTO */
  .about-text {
    z-index: 2;
    max-width: 300px;

  }



  /* estado inicial (ocultas) */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  filter: none;
  transition: all 2.5s ease;
}

/* cuando aparecen */
.reveal.active {
  opacity: 1;
  transform: translateY(0px) scale(1);
  filter: none;
}




  /* TEXTO */
  .glass-card h2 {
    font-size: 6rem;
    margin-top: 20px;
    margin-left: 20px;
    
  }

  .glass-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 30%; /* <--- baja el párrafo */
    margin-left: 20%;
    margin-right:7%;
    margin-bottom: 0px;
    opacity: 1;
  }

  .titulo-principal {
  position: absolute;
  top: 30%;
  left: 57%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 6rem;
}



  /* 🖱️ hover pro */
  .glass-card:hover {
    

    box-shadow:
      0 0 30px #6e64f7,
      0 0 100px #a864f7;
  }


  /* Glass */

  /* =========================
    🧊 GLASS CARD (VIDRIO)
    ========================= */

  .glass-card {
    transition: transform 0.6s ease, width 0.6s ease;
    position: absolute;
    z-index: 2;
    margin: 80px;
    left: 20%;
    top: 10%;

    width: 100%;          
    max-width: 70%;     /* límite en pantallas grandes */
    min-width: 280px;     /* no se rompa en móvil */

    height: 100%;         /* altura relativa */
    min-height: 100%;
    

    padding: 40px;
    border-radius: 20px;

    background: rgba(114, 41, 176, 0.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(114, 41, 176, 0.3);

    box-shadow:
      0 0 20px rgba(114, 41, 176, 0.25),
      0 0 60px rgba(80, 120, 255, 0.15);

    color: white;

    transform: translateX(-80px);
  }

  /* ✨ reflejo tipo vidrio */
  .glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;

    background: linear-gradient(
      120deg,
      rgba(255,255,255,0.25),
      transparent 40%
    );

    pointer-events: none;
    opacity: 0.6;
  }

  /* 🟣 brillo interno suave */
  .glass-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;

    box-shadow: inset 0 0 30px rgba(114, 41, 176, 0.2);
    pointer-events: none;
  }



  /* ✨ vidrio extra encima */
  .glass-overlay {
    position: absolute;
    top: 50%;
    left: 57%;
    transform: translateX(-50%);
    width: 43%;     
    height: 10%;  
    padding: 2%;
    padding-top: 1.5%;
    border-radius: 20px;

    background: rgba(114, 41, 176, 0.15); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Borde tipo neon */
    border: 2px solid #cfa5ff;          /* color base */
    box-shadow:
      0 0 0px #cfa5ff,   /* glow cercano */
      0 0 5px #cfa5ff,   /* glow intermedio */
      0 0 15px #cfa5ff,   /* glow difuso */
      0 0 20px #cfa5ff;   /* glow más grande */

    color: #fff;
    z-index: 2;
    transition: all 0.3s ease;
  }




 
  .glass-overlay p {
    font-size: 1rem; /* o el tamaño que quieras */
    line-height: 1.5;
    right: 40%;
    opacity: 1;
  }



.info-block {
  position: absolute;
  flex-direction: column;
  align-items: flex-end; /* 👈 las palabras a la derecha */
  gap: 1px; /* 👈 controla el espacio REAL entre vidrio y palabras */
}
 /* CONTENEDOR DE PALABRAS */
.words {
  position: absolute;   /* vuelve a esto */
  top: 75%;
  transform: translateY(20%);
  right: 38%; /* 👈 lo pegas al borde derecho del vidrio */
 

  display: grid; /* 👈 CAMBIO CLAVE */
  grid-template-columns: repeat(2, auto); /* 👈 2 columnas */
  gap: 10px 30px; /* 👈 filas / columnas */
    z-index: 10; /* 👈 MÁS alto que el vidrio */

}

.word {
  font-family: 'Anton', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 3px;
  color: #acb9ff;

  overflow: hidden;
  white-space: nowrap;

  width: 0;
  opacity: 0;
}


/* 🔥 SOLO cuando se active */
.word.active {
  opacity: 1;
  animation: typingWords 1s steps(10, end) forwards;
}



/* ✍️ animación de escritura */
@keyframes typingWords {
  from { width: 0; }
  to { width: 13ch; }
}


/*  ----------------------------------------------------------  */


/* Datos curiosos*/
.section3 {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 20px; 
  align-items: flex-start;
  padding-bottom: 150px;
}

/* vidrio grande */
.glass-curiosidades {
  width: 80%;
  max-width: 1200px; 

  height: auto;
  min-height: 700px;

  padding: 5%;
  border-radius: 25px;

  background: rgba(114, 41, 176, 0.08);
  backdrop-filter: blur(14px);

  border: 1px solid rgba(114, 41, 176, 0.3);

  box-shadow:
    0 0 30px rgba(114, 41, 176, 0.25),
    0 0 80px rgba(80, 120, 255, 0.15);

  z-index: 2;
}

/* título */
.titulo-curioso {
  font-size: 5rem;
  margin-bottom: 30px;
  top: 5%;
  left: 4%;

  color: transparent;
  -webkit-text-stroke: 1px #cfa5ff;
}

/* grid de imágenes */
.curiosidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px; /* 👈 más aire entre elementos */
  align-items: center;
}

/* cada card */
.curiosidad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  height: 250px; /* 👈 MISMO ALTO PARA TODAS */
  text-align: center;
}

.curiosidad img {
  width: 100%;
  height: 250px;
  object-fit: contain; /* 👈 mantiene proporción sin deformar */
}


.curiosidad.movies img {
  transform: scale(1.5);   /* 👈 la agranda sin deformarla */
  transform-origin: center;
}

.curiosidad.cuero img {
  transform: scale(1.1);   /* 👈 la agranda sin deformarla */
  transform-origin: center;
}


.curiosidad.camara img {
  width: 10px !important;
  height: auto;
}


.curiosidad.ball img {
  transform: scale(1.3);
  transform-origin: center;
}


.curiosidad:hover img {
  transform: scale(1.4);
}

/* texto encima */
.curiosidad p {
  position: static;
  bottom: 5px;
  left: 10px;

  font-size: 1rem;
  background: transparent;

  color: #fff;
  text-shadow: 0 0 10px rgba(172,185,255,0.6);
  margin-top: 10px;
  min-height: 40px; /* 👈 evita saltos raros */
}



/*  ----------------------------------------------------------  */



/* Seccion que puedo hacer por ti*/


/* =========================
   📦 SECTION 4 GENERAL
========================= */

.section4 {
  width: 100%;
  min-height: 100vh;
  padding: 80px 40px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* =========================
   🟣 CONTENEDOR GENERAL
========================= */

.services-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* =========================
   ✨ TÍTULO PRINCIPAL
========================= */

.section-title {
  font-family: 'Anton', sans-serif;
  font-size: 4rem;
  color: transparent;
  -webkit-text-stroke: 1px #cfa5ff;
  text-align: center;
  letter-spacing: 2px;
}

/* =========================
   🧊 CUADRO GRANDE
========================= */

.glass-big {
  width: 80%;
  height: 320px;

  border-radius: 30px;

  background: rgba(114, 41, 176, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  transition: transform 0.4s ease;
}

.glass-big:hover {
  transform: scale(1.01);
}

/* placeholder */
.placeholder {
  font-family: 'Poppins', sans-serif;
  opacity: 0.6;
  font-size: 1rem;
}

/* =========================
   📊 GRID DE SERVICIOS
========================= */

.glass-grid {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* =========================
   📦 CARDS PEQUEÑOS
========================= */

.glass-small {
  min-height: 300px;

  border-radius: 20px;

  background: rgba(114, 41, 176, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(114, 41, 176, 0.3);

  box-shadow:
    0 0 20px rgba(114, 41, 176, 0.2);

  padding: 20px;

  display: flex;
  flex-direction: column;
  gap: 12px;

  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
  transform-origin: center;
  cursor: pointer;
  transition: all 0.5s ease;


}


/* cuando el mouse está en el grid */
/* cuando el mouse está en el grid */
.glass-grid:hover .glass-small {
  opacity: 0.3;
  transform: scale(0.97);
  filter: blur(1px);

}

/* el que está en hover SIEMPRE gana */
.glass-grid .glass-small:hover {
  opacity: 1 !important;
  transform: scale(1.18);
  filter: blur(0px);

  box-shadow:
    0 0 30px #cfa5ff,
    0 0 80px rgba(168,100,247,0.7),
    0 0 120px rgba(80,120,255,0.4);

  border: 1px solid #cfa5ff;
  z-index: 10;
}

/* inactivo */
.glass-small.dimmed {
  opacity: 0.25;
  transform: scale(0.95);
  filter: blur(1px);
  transition: all 0.5s ease;
}

/* activo */
.glass-small.active {
  transform: scale(2);
  opacity: 1;
  filter: none;
  z-index: 10;
  box-shadow:
    0 0 35px #cfa5ff,
    0 0 90px rgba(168,100,247,0.7);
}

/* =========================
   🟣 TITULO INTERNO CARD
========================= */

.service-title {
  padding: 10px 15px;
  border-radius: 15px;
  margin-top: 10PX;

  border: 2px solid #cfa5ff;
  background: rgba(114, 41, 176, 0.1);

  box-shadow:
    0 0 5px #cfa5ff,
    0 0 10px #a864f7;

  text-align: center;
  
}

.service-title h2 {
  font-family: 'Poppins', regular;
  font-size: 1.2rem;
  color:#dbbbff;
  padding: 10px;

  letter-spacing: 1px;
}

/* =========================
   📋 CONTENIDO LISTA
========================= */

.service-content {
  padding: 0;              /* ❌ quitamos caja interna */
  margin: 15px;
  background: transparent; /* 👈 clave: sin segundo vidrio */
  backdrop-filter: none;   /* ❌ evita “doble glass” */
  -webkit-backdrop-filter: none;
  border: none;            /* ❌ elimina borde interno */
  box-shadow: none;        /* ❌ elimina sombra interna */
}

.service-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-content li {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 8px;
  opacity: 0.7;

  position: relative;
  padding-left: 15px;
}

/* bullet neón */
.service-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #cfa5ff;
  text-shadow: 0 0 10px #cfa5ff;
}

/* =========================
   📱 RESPONSIVE BASE
========================= */

@media (max-width: 1024px) {
  .glass-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .glass-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .glass-big {
    width: 95%;
    height: 220px;
  }
}


/* =========================
   🔥 CUANDO ESTÁ ACTIVO
========================= */

.glass-small.active {
  transform: scale(1.12);
  z-index: 10;
  box-shadow:
    0 0 35px #cfa5ff,
    0 0 90px rgba(168, 100, 247, 0.7);
  border: 2px solid #cfa5ff;
  filter: brightness(1.2);
}

/* =========================
   🌑 CUANDO NO ESTÁ ACTIVO
========================= */

.glass-small.dimmed {
  opacity: 0.3;
  transform: scale(0.95);
  filter: blur(1px);
}


.services-preview {
  width: 70%;
  height: 500px;
  border-radius: 40px;
   background: rgba(0, 0, 0, 0.7); /* 👈 negro transparente */
   border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 0 30px rgba(0,0,0,0.6),
    0 0 60px rgba(80,120,255,0.15);
}


.services-preview video {
  width: 900%;
  height: 90%;
  object-fit: contain;
}



/*seccion 5 */

/* =========================
   SECTION 5 FULL SCREEN
========================= */


/* =========================
   🎠 SECTION 5
========================= */

.section5 {
  padding: 120px 0;
  text-align: center;
}



/* =========================
   🎠 CAROUSEL
========================= */
.carousel {
  width: 100%;
  height: 70vh;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
  position: relative;
}

/* 👇 USAMOS TU .card */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 60%;
  left: 50%;

  width: 45vw;
  max-width: 600px;
  height: 60vh;

  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0.3;

  transition: transform 0.5s ease, opacity 0.5s ease;
  cursor: pointer;
  pointer-events: auto;
  justify-content: flex-start; 
  gap: 15px; /* 👈 espacio real entre imagen, título, botón */
  
}

.card:not(.active) .card-title {
  opacity: 0;
}



/* marco glass fijo */
.card-glass {
  width: 100%;
  height: 70%;
  border-radius: 25px;
  overflow: hidden;

  background: rgba(52, 66, 112, 0.12);
  backdrop-filter: blur(12px);

  display: flex;
  align-items: center;
  justify-content: center;
}

/* 🔥 IMAGEN CONTROLADA */
.card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;

  object-fit: contain; /* 👈 clave */
  border-radius: 15px;
}


.card.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
}

.card.left {
  transform: translate(-130%, -50%) scale(0.75);
  opacity: 0.4;
}

.card.right {
  transform: translate(30%, -50%) scale(0.75);
  opacity: 0.4;
}

.card.left:hover {
  transform: translate(-130%, -50%) scale(0.85);
}

.card.right:hover {
  transform: translate(30%, -50%) scale(0.85);
}

.card.active:hover {
  transform: translate(-50%, -50%) scale(1.05); /* el activo crece más */
}

.card:hover .card-glass {
  box-shadow:
    0 0 5px #4fa3ff,
    0 0 0px #4fa3ff,
    0 0 30px #2f6bff;

  border: 1px solid #4fa3ff;
}

.card-title {
  margin-top: 4%; /* 👈 separa del cuadro */

  font-size: 2rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;

  color: #b6bffc;

  opacity: 1;
   gap: 25px; /* antes 15px */
  transition: 0.3s;
}




/* =========================
   🚀 PROYECTOS FULL PAGE
========================= */

.project-section-full {
  min-height: 100vh;
  padding: 120px 10%;

  display: flex;
  flex-direction: column;   /* 👈 CLAVE */
  align-items: center;
}

.project-container {
  width: 100%;
  max-width: 1200px;
  position: relative;
}

/* botón volver */
.back-btn {
  position: fixed;
  top: 40px;
  left: 60px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(207,165,255,0.4);
  padding: 10px 20px;
  border-radius: 20px;

  color: white;
  cursor: pointer;

  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.back-btn:hover {
  background: rgba(207,165,255,0.2);
  box-shadow: 0 0 20px #cfa5ff;
}

/* HERO */
.project-hero-wrap {
  position: relative; /* 👈 clave para posicionar encima */
  width: 100%;
  min-height: 70vh;
}

/* imagen */
.project-hero {
  width: 100%;
  display: block;
  margin: 0px;

  transform: translateX(150px); /* 👈 mueve a la derecha */
}

/* texto encima */
.project-hero-text {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);

  z-index: 2;
  color: white;

  /* 👇 NUEVO */
  padding: 30px 40px;
  border-radius: 20px;

  background: rgba(80, 120, 255, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: none;

  box-shadow:
    0 0 0px rgba(80, 140, 255, 0.25),
    0 0 0px rgba(80, 120, 255, 0.2);

    padding: 5%;
    display: flex;
     flex-direction: column;
  height: auto; /* 👈 CLAVE */
}


.project-hero-text::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.25),
    transparent 40%
  );

  opacity: 0.5;
  pointer-events: none;
}

/* título */
.project-hero-text h1 {
  font-size: 5rem;
  font-family: 'Anton', sans-serif;
}

/* subtítulo */
.project-hero-text p {
  font-size: 1rem;
  opacity: 1;
  margin-top: 10px;
  line-height: 1.4;
  color: #ffffff;
}

/* CARDS */
.project-card {
  padding: 25px;
  border-radius: 20px;

  background: rgba(80, 140, 255, 0.08);
  border: 1px solid rgba(80, 140, 255, 0.3);

  backdrop-filter: blur(12px);

  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(168,100,247,0.5);
}

.project-card h3 {
  margin-bottom: 15px;
  color: #cfa5ff;
}

.project-card p {
  opacity: 0.8;
  line-height: 1.6;
}




.project-slider {
  position: relative;
  width: 100%;

  overflow: hidden;
}



.project-slider .slide {
  transform: translateY(-20px);
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
object-position: center 80%;
  opacity: 0;
  animation: sliderFadeZoom 12s infinite;
  filter:
    drop-shadow(0 20px 30px rgba(0,0,0,0.6))
    drop-shadow(0 0 20px rgba(85, 96, 253, 0.4));
}

.project-slider .slide:nth-child(1) { animation-delay: 0s; }
.project-slider .slide:nth-child(2) { animation-delay: 4s; }
.project-slider .slide:nth-child(3) { animation-delay: 8s; }

@keyframes sliderFadeZoom {
  0%   { opacity: 0; transform: scale(1.05) translateY(-10px); }
  5%   { opacity: 1; transform: scale(1) translateY(-10px); }

  30%  { opacity: 1; transform: scale(1) translateY(-10px); }

  35%  { opacity: 0; transform: scale(1.05) translateY(-10px); }

  100% { opacity: 0; }
}



/* =========================
   🧩 FLIP GRID CONTAINER
========================= */

.flip-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;

  width: 70%;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

/* responsive */
@media (max-width: 900px) {
  .flip-container {
    grid-template-columns: 1fr;
    width: 90%;
  }
}

/* =========================
   🃏 FLIP CARD BASE
========================= */
.flip-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;   /* 👈 más rectangular, menos “bloque” */
  perspective: 1200px;

  cursor: pointer;

  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
  height: 350px;
  width: 500px;
  
}

/* aparece en scroll */
.flip-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   🔁 INNER FLIP
========================= */
.flip-inner {
  width: 100%;
  height: 100%;
  position: relative;

  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;

  transition: transform 0.8s ease;
}

.flip-card.active .flip-inner {
  transform: rotateY(180deg);
}

/* =========================
   🎭 FRONT & BACK
========================= */
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  border-radius: 18px;
  padding: 20px;

  /* 🧊 EFECTO VIDRIO */
  background: rgba(80, 120, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(100, 170, 255, 0.6);
  box-shadow:
    0 0 20px rgba(80, 140, 255, 0.25),
    0 0 60px rgba(80, 120, 255, 0.15);

  color: white;
}

/* FRONT */
.flip-front {
  font-family: 'Anton', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* BACK */
.flip-back {
  transform: rotateY(180deg);

  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 40px;
}


.project-hero-text .parrafo-enredados {
  color: #ffffffe5;
  font-size: 1rem;
  margin-top: 20px;
  opacity: 0.8;

  
}

.project-hero-text .parrafo-proyecto2 {
  color: #ffffffe5;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
  
}


/* =========================
   ✨ EFECTOS PRO
========================= */

/* glow suave */
.flip-front::before,
.flip-back::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.25),
    transparent 40%
  );

  opacity: 0.5;
  pointer-events: none;
}

.flip-card:hover .flip-front::after,
.flip-card:hover .flip-back::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;

  border: 1px solid #7582fc;

  box-shadow:
    0 0 20px #6085fd,
    0 0 60px #445ef5;

  opacity: 0.7;
  pointer-events: none;
}
/* glow dinámico */
.flip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;

  background: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    rgba(207,165,255,0.15),
    transparent 60%
  );

  opacity: 0;
  transition: opacity 0.2s ease;
}

.flip-card:hover::after {
  opacity: 1;
}

/* =========================
   🎵 MITU FLIP CARDS
========================= */

#project2-flips,
#project5-flips,
#project7-flips {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 25px;

  width: 100%;
  margin: 100px auto 0;
  flex-wrap: nowrap; /* 👈 evita que bajen */
}


#project5 .project-slider {
  margin-left: auto;
  width: 70%;
}


.flip-card-mitu {
  width: 260px;
  height: 260px;
}

.flip-card-mitu .flip-front {
  font-size: 1rem;
}

.flip-card-mitu .flip-back {
  font-size: 0.9rem;
  padding: 15px;
}


.back-btn {
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.project-section-full.active .back-btn {
  opacity: 1;
  pointer-events: auto;
}


.video-wrapper {
  position: relative;
}

.sound-btn {
  position: absolute;
  bottom: 25px;
  right: 25px;

  width: 55px;
  height: 55px;

  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);

  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);

  color: white;
  font-size: 1.2rem;

  cursor: pointer;
  z-index: 20;

  transition: 0.3s ease;
}

.sound-btn:hover {
  transform: scale(1.1);

  box-shadow:
    0 0 15px rgba(80,120,255,0.5),
    0 0 30px rgba(80,120,255,0.3);
}



/* SOLO NEON REMAINS */
.neon-slider{
    position: relative;

    /* mover */
    left: 12%;
    top: 40%;

    /* tamaño del contenedor */
    width: 80%;
    height: 600px;
}


.project-video {
  width: 80%;
  max-width: 1200px;

  border-radius: 25px;
  overflow: hidden;

  transform: rotateY(-18deg) rotateX(5deg);
  transform-origin: center;

  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.card video {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 15px;
}

.video-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end; /* 👈 lo manda a la derecha */
  align-items: center;

  perspective: 1200px;
}
  


.jo-img{
  width: 160!important;
  height: 160% !important;
  object-fit: contain;
}

.video-wrapper:hover .project-video {
  transform: rotateY(0deg) rotateX(0deg) scale(1.03);
  box-shadow:
    0 0 0 2px rgba(80, 148, 250, 0.6),
    0 0 25px rgba(80, 172, 247, 0.5),
    0 40px 80px rgba(0,0,0,0.6);
}



#project7 .featured-slider {
  position: relative;
  width: 100%;
  height: 100vh; /* igual que el otro slider */
  overflow: hidden;
}

#project7 .featured-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 80%;
  
  opacity: 0;
  animation: sliderFadeZoom 16s infinite;

  filter:
    drop-shadow(0 20px 30px rgba(0,0,0,0.6))
    drop-shadow(0 0 20px rgba(85, 96, 253, 0.4));
}

.project-slider .slide:nth-child(1) { animation-delay: 0s; }
.project-slider .slide:nth-child(2) { animation-delay: 4s; }
.project-slider .slide:nth-child(3) { animation-delay: 8s; }
.project-slider .slide:nth-child(4) { animation-delay: 12s; }



/* SOLO PROJECT 3 */
#project7 .project-slider {
  width: 50%;
  height: 70vh;
  margin-left: auto;
  transform: translateX(150px);
  right: 10%;
  
}

#project7 .slide {
  object-fit: contain;
  bottom: 5%;
}




.project-link {
  margin-top: 5%;
  padding: 18px 34px;
  font-size: 1rem;

  color: white;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;

  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.25);

  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.06);

  transition: 0.3s ease;

  z-index: 5;
  width: 300px;
 
  
}


.contenedor-del-boton {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* 👈 lo manda hacia abajo */
  height: 100%;
}
.project-link:hover {
  transform: translateY(-3px);
  scale: 1px;

  border: 1px solid rgba(85, 96, 253, 0.5);

  box-shadow:
    0 0 20px rgba(85, 96, 253, 0.4),
    0 0 60px rgba(74, 86, 255, 0.548);
}



#project4 .project-slider {
  width: 70%;
  height: 60vh;
  margin-left: auto;
}

#project4 .project-slider .slide {
  object-position: 80% center;
}


#project4 .project-container {
  display: flex;
  align-items: center;
}

#project4 .glass-card {
  transform: scale(1.05);
}




#project6 .project-slider {
  width: 75%;
  height: 75vh;

  margin-left: auto;
  overflow: visible;

  display: flex;
  justify-content: flex-end;

  transform: translateX(80px);
}

#project6 .project-slider .slide {
  width: 80%;
  height: 100%;
  object-fit: contain;
}

/* SCROLLBAR */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #4f6bff,
    #8b5cf6
  );

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #7090ff,
    #a855f7
  );
}






/* =========================
   📱 MOBILE
========================= */

@media (max-width: 768px) {

  html, body {
    overflow-x: hidden;
  }

  .profile-wrap,
  .glass-grid,
  .flip-container {
    grid-template-columns: 1fr !important;
    display: grid;
  }

  h1,
  h2,
  .section-title,
  .titulo-principal,
  .titulo-curioso {
    font-size: 2.5rem !important;
    text-align: center;
  }

  .glass-card,
  .glass-big,
  .services-preview,
  .project-slider,
  .flip-container,
  .project-video {
    width: 95% !important;
    max-width: 95% !important;
    margin: auto;
  }

  .project-video,
  .project-hero,
  .glass-card,
  .holo-image {
    transform: none !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
  }

}



/* VIDEO SOLO BOSQUE ESCUELA */
.bosque-video {
  width: 95%;   /* cambia el tamaño */
  height: auto;
  border-radius: 30px;
}

/* si quieres mover el contenedor */
.bosque-video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25%;
  left: 62%;
  top: 10%;
}



/* CONTENEDOR SOLO DE ESOS DOS BOTONES */
.bosque-btn {
  width: 240px; /* más cortos */
}


.bosque-botones {
  display: flex;
  flex-direction: row; /* uno al lado del otro */
  gap: 15px; /* espacio entre ellos */
  align-items: center;
}


.footer {
  width: 100%;
  padding: 100px 0 50px;

  display: flex;
  flex-direction: column; /* 👈 uno debajo del otro */
  align-items: center;
  justify-content: center;

  gap: 20px;
}

.footer-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: transparent;
  -webkit-text-stroke: 1px #cfa5ff;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  gap: 40px;
}

.social-links a {
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-8px);
}

.social-links img {
  width: 70px;
  height: 70px;
  object-fit: contain;

  filter:
    drop-shadow(0 0 10px rgba(168,100,247,0.5))
    drop-shadow(0 0 25px rgba(80,120,255,0.4));

  transition: 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.15);

  filter:
    drop-shadow(0 0 15px #cfa5ff)
    drop-shadow(0 0 35px #4f6bff);
}

.footer-copy {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  opacity: 0.6;
  text-align: center;
}



