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

@font-face {
  font-family: 'BebasKai';
  src: url('FONTS/BebasKai.ttf') format('truetype');
}

body {
  font-family: 'BebasKai', sans-serif;
  background-color: #fff;
  color: #fff;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}




/* ==== HEADER GENERAL ==== */
header {
  background-color: #EF3440;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  flex-wrap: wrap;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px; /* ✅ altura fija en escritorio */
  z-index: 9999;
}

/* ==== LOGO ==== */
header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

header .logo img {
  height: 60px;
  max-width: 100%;
  object-fit: contain;
}

/* ==== NAV ==== */
nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 30px 10px;
  border-radius: 0;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #c42b36;
}

/* ==== HAMBURGER MENU ==== */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 10000;
}

.hamburger-menu div {
  width: 30px;
  height: 4px;
  background-color: white;
  border-radius: 10px;
}

/* ==== MOBILE ==== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    height: auto; /* ✅ permite que crezca cuando se expanda el nav */
    padding: 10px 20px;
    text-align: center;
  }

  header .logo {
    align-self: center;
    margin: 10px 0 10px 0; /* ↑ mueve hacia abajo el logo */
  }

  nav {
    width: 100%;
  }

  nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
    padding-bottom: 10px;
  }

  nav.active ul {
    display: flex;
  }

  nav ul li a {
    padding: 10px 20px;
    font-size: 1.5rem;
  }

  header .logo {
    align-self: center;
    margin-bottom: 10px;
  }

  .hamburger-menu {
    display: flex;
  }
}


/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  min-height: 100vh; /* ocupa al menos una pantalla */
  overflow: hidden;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  text-align: center;
  padding: 20px;
}


.video-overlay h1 {
  font-size: 100px;
  margin-bottom: 50px;
  margin-top: 20px;
}



/* Rotating Text */
.rotating-text-container {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;   /* espacio hacia el título */
  margin-bottom: 60px; /* espacio hacia el botón */
}

.rotating-text {
  position: absolute;
  opacity: 0;
  font-size: 60px;
  color: #74A3A0;
  animation: fadeText 8s infinite;
}

.rotating-text:nth-child(1) {
  animation-delay: 0s;
}

.rotating-text:nth-child(2) {
  animation-delay: 2s;
}

.rotating-text:nth-child(3) {
  animation-delay: 4s;
}

.rotating-text:nth-child(4) {
  animation-delay: 6s;
}

@keyframes fadeText {
  0% { opacity: 0; }
  5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}

/* Play Button */
.play-button-container {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin-top: 20px;
}

#play-reel {
  display: flex;
  flex-direction: column;   /* 👈 icono arriba, texto abajo */
  align-items: center;      /* centra horizontal */
  justify-content: center;  /* centra vertical */
  gap: 1px;            

  background-color: #EF3440;
  color: white;
  border: none;
  padding: 4px 50px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 30px; /* Estilo más suave y elegante */
  font-family: 'BebasKai', sans-serif; /* Cambiar a BebasKai */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#play-reel:hover {
  background-color: #c42b36;
  transform: translateY(-4px); /* Efecto de elevación */
}

/* Fullscreen Video */
.fullscreen-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.fullscreen-video iframe {
  width: 80%;
  height: 80%;
  border: none;
}

.close-video {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}


@media (max-width: 768px) {
  .video-overlay {
    top: 50%;
    
    padding-top: 0; /* No necesitamos relleno adicional */
  }

  .video-overlay h1 {
    font-size: 40px;
    padding: 0 10px;
    margin-top: 60px;
  }

  .rotating-text {
    font-size: 25px;
  }

  .play-button-container {
    top: 130%; /* Baja el botón más aún si se ve muy pegado */
  }

  #play-reel {
    font-size: 18px;
    padding: 12px 24px;
  }
}















/* === PORTFOLIO SECTION === */
.portfolio-section {
  background-color: #EAEAEA;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 80px 20px;  /* espacio arriba y abajo */
  margin: 0;            /* eliminar margin */
}


.portfolio-title {
  font-family: 'BebasKai', sans-serif;
  font-size: 100px;
  color: #74A3A0;
  text-align: center;
  margin-bottom: 40px;
}

.portfolio-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
}

.portfolio-item {
  position: relative;
  flex: 1 1 280px;
  max-width: 30%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background-color: white;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.portfolio-video,
.portfolio-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.portfolio-item video {
  width: 100%;
  height: 100%;       /* fuerza a ocupar toda la altura del contenedor */
  border-radius: 12px;
  object-fit: cover;  /* recorta los lados para que encaje en vertical */
  display: block;
}


.portfolio-text,
.portfolio-item h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  background-color: #74A3A0;
  color: white;
  padding: 15px;
  font-size: 1.5rem;
  text-align: center;
  z-index: 2;
}

.portfolio-item:hover {
  transform: scale(1.05);
}

/* === GALLERY SECTION === */
.gallery-section {
  display: none;
  background-color: #3D3D3D;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.gallery-section h3 {
  font-size: 40px;
  margin-bottom: 40px;
  font-family: 'BebasKai', sans-serif;
  color: #ffffff;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* Videos horizontales */
.gallery-item:not(.imagen) {
  flex: 0 1 640px;
  max-width: 90%;
}

.gallery-item iframe,
.gallery-item video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  object-fit: cover;
  display: block;
}

/* Videos verticales */
.gallery-item.vertical {
  flex: 0 1 360px;
}

.gallery-item.vertical iframe,
.gallery-item.vertical video {
  aspect-ratio: 9 / 16;
  width: 100%;
  height: auto;
}

/* Videos cuadrados */
.gallery-item.square {
  flex: 0 1 360px;
  position: relative;
}

.gallery-item.square iframe,
.gallery-item.square video {
  aspect-ratio: 1 / 1;
  height: 100%;
}

/* Video cerdo */
.gallery-item-square:not(.imagen) {
  flex: 0 1 360px;
  max-width: 90%;
}

.gallery-item-square iframe,
.gallery-item-square video {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  object-fit: cover;
  display: block;
}

/* === GALERÍA DE ILUSTRACIÓN === */
.masonry {
  column-count: 4;
  column-gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.masonry-item img:hover {
  transform: scale(1.05);
}

/* === BOTONES DE CERRAR GALERÍA === */
#close-gallery,
#close-gallery-3D,
#close-gallery-ilustracion {
  margin-top: 40px;
  padding: 12px 24px;
  font-size: 16px;
  background-color: #74A3A0;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
}

#close-gallery:hover,
#close-gallery-3D:hover,
#close-gallery-ilustracion:hover {
  background-color: #5e8b82;
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 10000;
}



/* === MEDIA QUERIES === */
@media (max-width: 992px) {
  .portfolio-title {
    font-size: 60px;
  }
  .portfolio-item {
    max-width: 45%;
  }
}

@media (max-width: 600px) {
  .portfolio-title {
    font-size: 50px;
  }

  .portfolio-item {
    max-width: 100%;
  }

  .gallery-section {
    padding: 40px 10px;
  }

  .gallery-item:not(.vertical) {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .gallery-item:not(.vertical) iframe,
  .gallery-item:not(.vertical) video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
  }

  .gallery-item.vertical {
    flex: 0 1 320px;
    max-width: 90%;
  }

  .gallery-item.vertical iframe,
  .gallery-item.vertical video {
    border-radius: 10px;
  }

  .gallery-container {
    gap: 20px;
  }

  .gallery-item:not(.vertical),
  .gallery-item:not(.vertical) iframe,
  .gallery-item:not(.vertical) video {
    margin: 0 !important;
    padding: 0 !important;
  }
}


















.conocenos-section {
  position: relative;
  background-color: #74A3A0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 40px 20px;
  text-align: center;
}

.conocenos-title {
  font-family: 'BebasKai', sans-serif;
  font-size: 100px;
  color: #EAEAEA;        /* color claro sobre el fondo verde */
  text-align: center;
  margin-bottom: 40px;   /* espacio con el contenido de abajo */
}

.conocenos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.text-container {
  font-family: 'Avenir Next', sans-serif;
  color: #EAEAEA;
  font-size: 60px;
  max-width: 1000px;
  margin-bottom: 10px;
  text-align: center;
  margin-top: 10px;
  word-wrap: break-word;
}

.conocenos-text {
  font-size: 1.8rem;
}

.image-container {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.conocenos-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.conocenos-image.exit {
  transform: scale(0);
  opacity: 0;
}

.button-container {
  margin-top: 30px;
}

.conocenos-button {
  background-color: #5D7A79;
  color: white;
  border: none;
  padding: 18px 36px;
  font-size: 40px;
  font-family: 'BebasKai', sans-serif;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.conocenos-button:hover {
  transform: scale(1.1);
  background-color: #4a6362;
}

#extra-info {
  display: none;
  margin-top: 40px;
  background-color: #EAEAEA;
  padding: 20px;
  border-radius: 10px;
  font-family: 'Avenir Next';
  color: #333;
}

@media (max-width: 1024px) {
  .conocenos-container {
    gap: 30px;
  }
  .text-container {
    font-size: 50px;
    margin-bottom: 60px;
  }
  .conocenos-text {
    font-size: 1.6rem;
  }
  .conocenos-image {
    max-width: 450px;
  }
  .conocenos-button {
    font-size: 32px;
    padding: 16px 32px;
  }
}

@media (max-width: 768px) {
  .text-container {
    font-size: 40px;
    margin-bottom: 40px;
  }
  .conocenos-text {
    font-size: 1.4rem;
  }
  .conocenos-image {
    max-width: 350px;
  }
  .conocenos-button {
    font-size: 28px;
    padding: 14px 28px;
  }
}

@media (max-width: 480px) {
  .conocenos-section {
    padding: 20px 10px;
  }
  .text-container {
    font-size: 30px;
    margin-bottom: 30px;
  }
  .conocenos-text {
    font-size: 1.2rem;
  }
  .conocenos-image {
    max-width: 250px;
  }
  .conocenos-button {
    font-size: 24px;
    padding: 12px 24px;
  }
  .image-container {
    flex-direction: column;
    gap: 20px;
  }
}

/* VIDEO WRAPPER ANIMADO */
.conocenos-video-wrapper {
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #EAEAEA;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.conocenos-video-wrapper.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.conocenos-video-wrapper video {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.cerrar-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: 2px solid white;
  color: #EF3440;
  font-size: 24px;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 101;
}


/* Responsive */
@media (max-width: 992px) {
  .conocenos-title {
    font-size: 60px;
  }
}

@media (max-width: 600px) {
  .conocenos-title {
    font-size: 50px;
  }
}

@media (max-width: 480px) {
  .conocenos-title {
    font-size: 40px;
  }
}


@media (max-width: 600px) {
  .conocenos-section {
    min-height: 40vh; /* que tenga altura completa */
    justify-content: center;
    align-items: center;
  }

  .conocenos-video-wrapper {
    padding: 0px;
    background-color: #74A3A0; /* mismo fondo verde */
  }



  .conocenos-video-wrapper video {
    width: 100%;
    max-height: 60vh; /* evita que ocupe demasiado */
    border-radius: 12px;
    object-fit: contain;
  }

  .conocenos-container {
    width: 100%;
  }

  .cerrar-btn {
    top: 10px;
    right: 10px;
  }
}

/* Para videos cuadrados */
#gallery-animacion3D .gallery-item.square {
  padding-top: 100%; /* Proporción 1:1 */
}









/* ===========================
   SECCIÓN PROCESO
=========================== */
.proceso-section {
  background-color: #EAEAEA;
  padding: 80px 20px 150px 20px; /* padding-bottom aumentado para separar de Clientes */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: auto; 
}

.proceso-title {
  font-family: 'BebasKai', sans-serif;
  font-size: 100px;
  color: #74A3A0;
  margin-bottom: 30px;
  text-align: center;
  z-index: 2;
}

#empollon-video {
  width: 33vw;
  max-width: 600px;
  height: auto;
  z-index: 1;
}


/* ÍNDICE CENTRADO */
.proceso-steps {
  display: flex;
  flex-direction: column;
  gap: 60px;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  z-index: 1;
}

.proceso-steps p {
  position: relative;
  font-family: 'BebasKai', sans-serif;
  font-size: 48px;
  color: #3D3D3D;
  cursor: pointer;
  transition: color 0.3s;
}

.proceso-steps p:hover {
  color: #EF3440;
  cursor: pointer;
}

/* VIDEO ABSOLUTO A LA IZQUIERDA */
.proceso-video {
  position: absolute;
  left: 80px;
  top: 100px;
  max-width: 30vw;
  z-index: 0;
}

.proceso-video video {
  width: 100%;
  height: auto;
  display: block;
}

/* GALERÍA ABSOLUTA A LA DERECHA */
.proceso-galeria {
  position: absolute;
  background-color: #ffffff;
  color: #1D1D1D;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  width: 380px;
  max-width: 90vw;
  z-index: 1000;
  transform: translateY(-50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: none;
}

.proceso-galeria button {
  position: absolute;
  top: 4px;
  right: 4px;
}
.proceso-galeria.mostrar {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

#galeria-contenido h3 {
  font-size: 24px;
  color: #EF3440;
  margin-bottom: 10px;
  font-family: 'BebasKai', sans-serif;
}

#galeria-contenido p {
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Avenir Next', sans-serif;
}

/* BOTÓN CERRAR GALERÍA */
#cerrar-galeria {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease;
}

#cerrar-galeria:hover {
  color: #EF3440;
}

/* Responsive PROCESO */
@media (max-width: 992px) {
  .proceso-video {
    display: none;
  }

  .proceso-title {
    font-size: 50px;
  }

  .proceso-contenido {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .proceso-galeria {
    position: static;
    width: 100%;
    margin-top: 20px;
    border-radius: 12px;
    transform: none;
    opacity: 1;
    box-shadow: none;
  }
}

/* ===========================
   SECCIÓN CLIENTES
=========================== */
.clientes-section {
  background-color: #EAEAEA;
  padding: 60px 20px 120px 20px; /* padding-bottom aumentado para separar del final */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* TÍTULO CLIENTES */
.clientes-title {
  font-family: 'BebasKai', sans-serif;
  font-size: 100px;
  color: #74A3A0;
  margin-bottom: 60px;
  text-align: center;
  z-index: 2;
}

/* CONTENEDOR GENERAL */
.clientes-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CARRUSEL */
.clientes-carousel {
  display: flex;
  gap: 60px;
  padding: 40px 0;
  white-space: nowrap;
  overflow-x: hidden;
  scroll-behavior: unset;
}

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

/* LOGOS */
.cliente-logo {
  flex: 0 0 auto;
  width: 500px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.cliente-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* FLECHAS */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  border: none;
  border-radius: 50%;
  padding: 12px 18px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
  background-color: rgba(200, 200, 200, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
  left: 20px;
}

.next-arrow {
  right: 20px;
}

/* RESPONSIVE CLIENTES */
@media (max-width: 768px) {
  .clientes-title {
    font-size: 50px;
    margin-bottom: 40px;
  }

  .clientes-carousel {
    gap: 30px;
  }

  .cliente-logo {
    width: 500px;
  }

  .carousel-arrow {
    font-size: 30px;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .clientes-title {
    font-size: 40px;
    margin-bottom: 30px;
  }

  .clientes-carousel {
    gap: 20px;
  }

  .cliente-logo {
    width: 400px;
  }

  .carousel-arrow {
    font-size: 25px;
    padding: 8px 12px;
  }
}













/* Sección de contacto */
.contacto-section {
  background-color: #5D7A79;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px 60px 20px; /* ⬅️ último valor = abajo */
  box-sizing: border-box;
  text-align: center;
}

.contacto-title {
  font-family: 'BebasKai', sans-serif;
  font-size: 100px;
  color: #EAEAEA;
  margin-bottom: 30px;
}

.contacto-info {
  font-family: 'Avenir Next', sans-serif;
  color: #EAEAEA;
  font-size: 32px;
  max-width: 1000px;
  margin-bottom: 40px;
  text-align: center;
}

.contacto-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  box-sizing: border-box;
}

.contacto-form-wrapper {
  width: 48%;
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacto-input,
.contacto-textarea {
  padding: 15px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  outline: none;
}
.contacto-datos .correo-general {
  margin-top: 20px;
  font-style: italic; /* opcional para diferenciarlo */
}


.contacto-textarea {
  height: 150px;
}

.contacto-button {
  padding: 15px;
  font-size: 16px;
  color: white;
  background-color: #74A3A0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contacto-button:hover {
  background-color: #EF3440;
}

.contacto-info-lateral {
  width: 48%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #EAEAEA;
  font-family: 'Avenir Next', sans-serif;
  font-size: 18px;
  gap: 20px;
}

.contacto-datos {
  flex: 1;
  text-align: left;
}

.contacto-datos a {
  color: #EAEAEA;
  text-decoration: none;
}

.contacto-datos a:hover {
  text-decoration: underline;
}

.contacto-redes {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

.social-button {
  padding: 10px 20px;
  font-size: 20px;
  color: white;
  background-color: #74A3A0;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  width: auto;
}

.social-button:hover {
  background-color: #EF3440;
}

/* Media Query para pantallas pequeñas (móviles y tabletas) */
@media (max-width: 768px) {
  /* Título */
  .contacto-title {
    font-size: 50px; /* Reducir tamaño de título */
  }

  /* Texto informativo */
  .contacto-info {
    font-size: 22px; /* Reducir tamaño de texto */
    padding: 0 20px; /* Añadir algo de espacio a los lados */
  }

  /* Contenido de la sección de contacto (formulario + info lateral) */
  .contacto-content {
    flex-direction: column; /* Cambiar a columna */
    align-items: center; /* Centrar contenido */
  }

  .contacto-form-wrapper,
  .contacto-info-lateral {
    width: 100%; /* Usar todo el ancho disponible */
    margin-bottom: 30px; /* Separar las secciones */
  }

  /* Formulario */
  .contacto-input,
  .contacto-textarea {
    font-size: 14px; /* Reducir tamaño de fuente */
    padding: 12px; /* Reducir padding */
  }

  .contacto-button {
    font-size: 14px; /* Reducir tamaño de texto del botón */
    padding: 12px;
  }

  /* Información lateral */
  .contacto-datos {
    text-align: center; /* Centrar los datos */
  }

  /* Botones sociales */
  .social-button {
    font-size: 14px; /* Reducir tamaño de los botones */
    padding: 8px 16px;
  }
}

.social-icon {
  width: 41px;
  height: 41px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.social-button:hover .social-icon {
  filter: brightness(0.8);
}















.footer {
  background-color: #3D3D3D;
  color: white;
  text-align: center;
  padding: 10px 0;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
  flex-direction: row; /* ← clave para que NO se apilen en móvil */
}



.footer-copy {
  margin: 0;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.footer-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #74A3A0;
}

/* Modal estilos */
.legal-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: black;
  max-width: 500px;
  padding: 30px;
  z-index: 10001;
  display: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border-radius: 10px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: none;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #3D3D3D;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  z-index: 10002;
  font-size: 14px;
}

.cookie-banner button {
  background: #74A3A0;
  border: none;
  padding: 8px 16px;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

/* Estilo para el enlace "Leer más" dentro del banner */
#ver-cookies {
  color: #74A3A0; /* Cambia esto al color que quieras */
  text-decoration: underline; /* opcional */
}

/* Efecto al pasar el cursor sobre "Leer más" */
#ver-cookies:hover {
  color: #EF3440; /* Cambia esto al color que quieras para hover */
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}








html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

html {
  scroll-padding-top: 40px; /* altura de tu header */
}

@media (max-width: 480px) {
  html {
    scroll-padding-top: 50px;
  }
}

@media (max-width: 768px) {
  .proceso-section {
    min-height: auto !important;
    padding: 90px 10px !important;
  }

  .clientes-section {
    height: auto !important;
    padding: 60px 10px !important;
    margin-top: -20px; /* Puedes ajustar este valor para unir más */
  }

  .portfolio-section {
    height: auto !important;
    padding: 50px 10px !important;
    margin-top: -20px; /* Puedes ajustar este valor para unir más */
  }

  .contacto-section {
    height: auto !important;
    padding: 90px 10px !important;
    margin-top: -20px; /* Puedes ajustar este valor para unir más */
  }
 
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


/* ===== INTRO VIDEO ===== */
.intro {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  background-color: #ff2a39; /* mismo color del video */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 1s ease; /* fade out */
}

.intro.fade-out {
  opacity: 0;
  pointer-events: none; /* para que no bloquee clicks cuando desaparece */
}

.video_intro {
  width: auto;           /* tamaño natural del video */
  height: auto;          /* tamaño natural del video */
  max-width: 100%;       /* no excede ancho de pantalla */
  max-height: 100%;      /* no excede alto de pantalla */
  position: relative;    /* ya no es absolute */
  top: 0;
  left: 0;
  transform: none;       /* sin translate */
  object-fit: contain;   /* mantiene proporción completa sin recortar */
  z-index: 101;
}

/* Bloqueo scroll mientras se reproduce */
body.no-scroll {
  overflow: hidden;
}

/* Responsive ajustes extra */
@media (max-width: 768px) {
  .video_intro {
    object-fit: contain; /* mismo comportamiento en móviles */
  }
}

/* ===============================
   Ocultar intro en móviles
   =============================== */
@media (max-width: 768px) {
  .intro {
    display: none !important;
  }

  body.no-scroll {
    overflow: auto;
  }
}


/* Asegura que el texto quede bien alineado */
#play-reel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
}






