@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900&display=swap');
/* ------------------ RESET GENERAL ------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Source Sans Pro', sans-serif;
  text-decoration: none;
}

::selection {
  color: #fff;
  background: #00c896;
}


html, body {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  background: #252850;
}


/* ------------------ SCROLL SNAPPING SOLO EN VIDEOS ------------------ */
.scroll-container {
  height: 100vh;
  overflow-y: auto;
}


.snap-wrapper {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
}


/* ------------------ VIDEO SECTIONS ------------------ */


.video-hero {
  height: 100vh;
  scroll-snap-align: start;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.video-hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}


/* ------------------ BOTÓN DE ACCIÓN ------------------ */
.cta-overlay {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
  text-align: center;
}

.cta-button {
  background: rgba(255, 255, 255, 0.1); /* ✅ fondo translúcido tipo vidrio */
  color: #fff;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3); /* borde sutil */
  backdrop-filter: blur(12px); /* ✅ efecto vidrio */
  -webkit-backdrop-filter: blur(12px); /* soporte Safari */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background: rgba(0, 0, 0, 0.3); /* ✅ se oscurece al pasar el mouse */
  transform: scale(1.05);
}

/* ------------------ HEADER ------------------ */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 80px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
}

.header-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 80px;
  display: flex;
  align-items: center;
}

.logo img {
  width: 210px;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo a:hover img {
  transform: scale(1.2);
  filter: brightness(0) saturate(100%) invert(74%) sepia(100%) saturate(500%) hue-rotate(75deg);
}

/* ------------------ MENÚ ------------------ */
.menu {
  height: 80px;
  margin-right: 60px;
  display: flex;
  align-items: center;
}

.menu nav ul {
  display: flex;
  list-style: none;
}

.menu nav ul li {
  margin: 0 20px;
  display: flex;
  align-items: center;
}

.menu nav ul li a {
  color: #fff;
  font-size: 18px;
  transition: color 300ms;
  display: flex;
  align-items: center;
}

.menu nav ul li a:hover {
  color: #00c896;
  transform: scale(1.1);
}

.menu nav ul li a i {
  margin-right: 8px;
  color: #00c896;
}

.menu nav ul li:last-child a i {
  margin-right: 0;
  color: #fff;
  transition: color 0.3s ease;
}

.menu nav ul li:last-child a:hover i {
  color: #00c896;
}

/* ------------------ ICONO MENÚ HAMBURGUESA ------------------ */

/* Icono menú móvil */
#icon-menu {
  width: 50px;
  height: 50px;
  position: absolute;
  right: 20px;
  top: 16px;
  padding: 10px;
  font-size: 20px;
  background: #eeeeeecc;
  /*border-radius: 50%;*/
  border-radius: 100%;
  color: #787878;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 11;
}

#icon-menu:hover {
  opacity: 0.8;
}

/* ✅ Transición y color activo del ícono */
#icon-menu {
  transition: background 0.3s ease;
}

#icon-menu i {
  transition: color 0.3s ease;
  color: #787878; /* color base */
}

#icon-menu.active-icon {
  background: #00c896;
}

#icon-menu.active-icon i {
  color: #fff;
}

/* ------------------ BUSCADOR ------------------ */
#buscador {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 9999;
}

#cover-ctn-search {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

#ctn-bars-search {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  background: #252850;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}
   
#formSearch {
  display: flex;
  gap: 10px;
}

#inputSearch {
  flex: 1;
  padding: 15px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  background: #1f223f;
  color: #fff;
  outline: none;
}

#btn-submit-search {
  background: #00c896;
  border: none;
  padding: 0 20px;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  transition: background 0.3s ease;
}

#btn-submit-search:hover {
  background: #00b286;
}

#box-search {
  display: none;
  margin-top: 20px;
}

#box-search li a {
  color: #fff;
  display: block;
  margin-bottom: 10px;
}


/* ------------------ GRID DE IMÁGENES VERTICAL ------------------ */

.image-grid-vertical { 
  width: 100%; max-width: 1400px; /* 🔑 límite de ancho para que no se estire de borde a borde */
  margin: 0 auto; /* 🔑 centra horizontalmente */ 
  padding: 30px 0; 
  background: #252850; 
  overflow: hidden; }

.image-grid {
  display: grid; 
  grid-template-columns: repeat(3, 1fr); /* 🔑 fuerza 3 columnas */ 
  gap: 20px; justify-content: center; /* 🔑 centra las columnas dentro del grid */ 
  padding: 0 40px; box-sizing: border-box; }

.image-column { 
  display: flex;
   flex-direction:
    column; gap: 10px;
     align-items: center; /* 🔑 centra las imágenes dentro de cada columna */ 
    }

.image-box {
  position: relative;
  width: 100%;
  max-width: 450px; /* ✅ ancho máximo por imagen */
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}


/* ------------------ GRID DE IMÁGENES VERTICAL ------------------ */

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ llena todo el espacio */
  display: block;
  transition: transform 0.6s ease;
  background-color: #000;
}

.image-box.cocha img {
  object-position: 100% center; /* ✅ desplaza el foco hacia la derecha */
}




/* ------------------ FOOTER ------------------ */

.footer-wrapper {
  background: #252850;
  padding-top: 20px;
  padding-bottom: 10px;
}

.footer-wrapper footer {
  width: 100%;
  background-image: url(../img/Imagesgral/background-footer.svg);
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.container__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin: auto;
  margin-top: 20px;
  background: #ffffff;
}

.box__footer {
  display: flex;
  flex-direction: column;
  padding: 40px;
}

.box__footer .logoo img {
  width: 300px;
  height: 300px;
  background: #252850;
}

.box__footer .terms {
  max-width: 350px;
  margin-top: 20px;
  font-weight: 500;
  color: #7a7a7a;
  font-size: 18px;
}

.box__footer h2 {
  margin-bottom: 30px;
  color: #343434;
  font-weight: 700;
}

.box__footer a {
  margin-top: 10px;
  color: #7a7a7a;
  font-weight: 600;
}

.box__footer a:hover {
  opacity: 0.8;
}

.box__footer a .fab {
  font-size: 20px;
}

.box__copyright {
  width: 100%;
  margin: auto;
  text-align: center;
  padding: 20px;
  color: #7a7a7a;
}

.box__copyright hr { 
    background: #c0c0c07a;
   margin-top: 20px;
  
}

.box__copyright p { 
   color: #ffffff; /* color */
   margin-top: 20px;
   margin-bottom: 20px;
}

/* ------------------ HEADER RESPONSIVE ------------------ */
