/* Custom CSS para Portal OIA */
/* Variables personalizadas */
:root {
  --color-primario: #01193B;
}
@font-face {
  font-family: "Poppins Bold";
  src: url("../fuentes/Poppins-Bold.eot");
  src: url("../fuentes/Poppins-Bold.eot?#iefix") format("embedded-opentype"),
    url("../fuentes/Poppins-Bold.woff2") format("woff2"),
    url("../fuentes/Poppins-Bold.woff") format("woff"),
    url("../fuentes/Poppins-Bold.ttf") format("truetype"),
    url("../fuentes/Poppins-Bold.svg#Poppins-Bold") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins Light";
  src: url("../fuentes/Poppins-Light.eot");
  src: url("../fuentes/Poppins-Light.eot?#iefix") format("embedded-opentype"),
    url("../fuentes/Poppins-Light.woff2") format("woff2"),
    url("../fuentes/Poppins-Light.woff") format("woff"),
    url("../fuentes/Poppins-Light.ttf") format("truetype"),
    url("../fuentes/Poppins-Light.svg#Poppins-Light") format("svg");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins SemiBold";
  src: url("../fuentes/Poppins-SemiBold.eot");
  src: url("../fuentes/Poppins-SemiBold.eot?#iefix") format("embedded-opentype"),
    url("../fuentes/Poppins-SemiBold.woff2") format("woff2"),
    url("../fuentes/Poppins-SemiBold.woff") format("woff"),
    url("../fuentes/Poppins-SemiBold.ttf") format("truetype"),
    url("../fuentes/Poppins-SemiBold.svg#Poppins-SemiBold") format("svg");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins Medium";
  src: url("../fuentes/Poppins-Medium.eot");
  src: url("../fuentes/Poppins-Medium.eot?#iefix") format("embedded-opentype"),
    url("../fuentes/Poppins-Medium.woff2") format("woff2"),
    url("../fuentes/Poppins-Medium.woff") format("woff"),
    url("../fuentes/Poppins-Medium.ttf") format("truetype"),
    url("../fuentes/Poppins-Medium.svg#Poppins-Medium") format("svg");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins Regular";
  src: url("../fuentes/Poppins-Regular.eot");
  src: url("../fuentes/Poppins-Regular.eot?#iefix") format("embedded-opentype"),
    url("../fuentes/Poppins-Regular.woff2") format("woff2"),
    url("../fuentes/Poppins-Regular.woff") format("woff"),
    url("../fuentes/Poppins-Regular.ttf") format("truetype"),
    url("../fuentes/Poppins-Regular.svg#Poppins-Regular") format("svg");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}




@font-face {
  font-family: "Playfair Display Regular";
  src: url("../fuentes/PlayfairDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display Italic";
  src: url("../fuentes/PlayfairDisplay-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display Medium";
  src: url("../fuentes/PlayfairDisplay-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display MediunItalic";
  src: url("../fuentes/PlayfairDisplay-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display SemiBold";
  src: url("../fuentes/PlayfairDisplay-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display SemiBoldItalic";
  src: url("../fuentes/PlayfairDisplay-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display Bold";
  src: url("../fuentes/PlayfairDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Playfair Display ExtraBoldItalic";
  src: url("../fuentes/PlayfairDisplay-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display BlackItalic";
  src: url("../fuentes/PlayfairDisplay-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* =============================================
   UTILIDADES DE FUENTE
   ============================================= 
.fuente-light {
  font-family: "Playfair Display", serif;
  font-weight: 400;
}
.fuente-bold {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}
.fuente-regular {
  font-family: "Playfair Display", serif;
  font-weight: 400;
}
.fuente-semi-bold {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}
.letter-spacing {
  letter-spacing: 5px;
}
.tamano-cumplimiento {
  font-size: 18px;
}
.fw-bold {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}
*/


/* =============================================
   UTILIDADES DE FUENTE
   ============================================= */
.fuente-light {
  font-family: "Poppins Light", sans-serif;
}
.fuente-bold {
  font-family: "Poppins Bold", sans-serif;
}

/*.fuente-regular {
  font-family: "Poppins Regular", sans-serif;
}*/

.fuente-regular {
  font-family: "Playfair Display Regular", serif;
  font-weight: 400;
}

.fuente-semi-bold {
  font-family: "Poppins SemiBold", sans-serif;
}
.letter-spacing {
  letter-spacing: 5px;
}
.tamano-cumplimiento {
  font-size: 18px;
}
.fw-bold {
  font-family: "Montserrat Bold";
}

/* =============================================
   ESTILOS BASE / GLOBALES
   ============================================= */
body {
  background: white;
}
a {
  text-decoration: none;
}
input {
  border: 1px solid white;
  background: transparent;
  font-family: "Poppins Light", sans-serif;
  color: white;
}
input::placeholder {
  color: white;
  font-family: "Poppins Light", sans-serif;
}
button {
  font-family: "Poppins Medium", sans-serif;
  border: 1px solid white;
  background: transparent;
  color: white;
  text-transform: uppercase;
  transition: 0.3s ease-in-out;
}
button:hover {
  scale: 1.1;
  background: #f7f3ee !important;
  color: #01193B !important;
}
li {
  font-family: "Poppins Light", sans-serif;
}
li::marker {
  color: #707070;
  padding-left: 0px;
}

/* =============================================
   BANNER PRINCIPAL
   ============================================= */
.background-banner {
  background-image: url("../imagenes/banner-principal.jpg");
  background-size: cover;
  background-position: center;
  height: 800px;
  z-index: -1;
  position: relative;
}
.fuente-grande {
  font-size: 65px;
}
.olas-montada {
  position: absolute;
  top: 6rem;
  right: 0;
}
.texto-title {
  color: white;
  font-family: "Poppins Regular", sans-serif;
  letter-spacing: 5px;
}
.banner-title-1 {
  color: white;
  font-family: "Playfair Display", sans-serif;
}

/* =============================================
   LAYOUTS MONTADOS / SUPERPUESTOS
   ============================================= */
.dinseno-montado {
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  background: var(--color-primario);
  height: 800px;
  z-index: 1;
}
.dineno-montado-2 {
  position: absolute;
  top: -2rem;
  left: 0px;
  height: 500px;
  width: 700px;
  background: #F7F4EF;
  z-index: -1;
}
.container-textos {
  position: relative;
  z-index: 1;
}
.container-imagen-montada {
  z-index: 1;
  width: 50%;
  position: relative !important;
}

/* =============================================
   FOOTER
   ============================================= */
.background-footer {
  background: var(--color-primario);
}
.bg-footer {
  background: url('../imagenes/bg-footer.jpg');
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}
.diseno-border {
  border-top: 1px solid rgba(255, 255, 255, 0.23);
  border-left: 1px solid rgba(255, 255, 255, 0.23);
}

/* =============================================
   SECCIÓN "POR QUÉ" Y PRINCIPIOS
   ============================================= */
.background-porque {
  background: url('../imagenes/banner-porque-2.png');
  height: 850px;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}
.ancho-img {
  height: 600px;
}
.textos-principios {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.g-principios-1 {
  background: url('../imagenes/g-principios-1.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 500px;
}
.g-principios-2 {
  width: 100%;
  position: relative;
  background: url('../imagenes/g-principios-2.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 500px;
}
.g-principios-3 {
  width: 100%;
  position: relative;
  background: url('../imagenes/g-principios-3.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 500px;
}
.g-principios-4 {
  width: 100%;
  position: relative;
  background: url('../imagenes/g-principios-4.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 500px;
}

.g-principios-1,
.g-principios-2,
.g-principios-3,
.g-principios-4 {
  position: relative;
}

.g-principios-1::after,
.g-principios-2::after,
.g-principios-3::after,
.g-principios-4::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}

/* =============================================
   MENÚ FLOTANTE — ONDULADO
   ============================================= */
.menu-background {
  background: #262b5d;
}
.menu-toggle {
  width: 40px;
  height: 45px;
  position: fixed;
  top: 1.6em;
  right: 2em;
  cursor: pointer;
  z-index: 12;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.menu-section-cotizar {
  width: 40px;
  height: 45px;
  position: fixed;
  top: 1.2rem;
  right: 10em;
  cursor: pointer;
  z-index: 12;
  text-align: left;
}
.container-menu {
  position: relative;
  cursor: pointer;
}
.container-menu.texto-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.container-menu.texto-title::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 8px;
  background: white;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0,4 Q6,0 12,4 T24,4' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0,4 Q6,0 12,4 T24,4' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  transition: 0.3s;
}
.container-menu.texto-title:hover::before {
  background: #f7f4ef;
}

/* Líneas del menú hamburguesa */
.one,
.two,
.three {
  width: 100%;
  height: 4px;
  background: none;
  border-radius: 10px;
  transition: 0.3s;
  position: relative;
}
.one::before,
.two::before,
.three::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background: white;
  border-radius: 10px;
  transition: 0.3s;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0,4 Q5,0 10,4 T20,4 T30,4 T40,4' stroke='white' stroke-width='4' fill='none'/%3E%3C/svg%3E");
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0,4 Q5,0 10,4 T20,4 T30,4 T40,4' stroke='white' stroke-width='4' fill='none'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
}
.one.color-scroll::before,
.two.color-scroll::before,
.three.color-scroll::before {
  background: white;
}
.one.color-cerrar::before,
.two.color-cerrar::before,
.three.color-cerrar::before {
  background: white;
}
.four {
  width: 5px;
  height: 2px;
  background: none !important;
  padding: 0;
  margin: 8px auto;
  backface-visibility: hidden;
  transition-duration: 0.3s;
  border-radius: 70px;
  padding-left: 6px;
  margin-right: 4px;
  margin-top: 0px;
  margin-bottom: 0px;
}

/* Animación X cuando el menú está abierto */
.menu-toggle.on .one {
  transform: rotate(45deg) translate(7px, 7px);
}
.menu-toggle.on .one::before {
  mask: none;
  -webkit-mask: none;
  width: 100%;
  height: 4px;
  background: white;
}
.menu-toggle.on .two {
  opacity: 0;
}
.menu-toggle.on .three {
  transform: rotate(-45deg) translate(8px, -10px);
}
.menu-toggle.on .three::before {
  mask: none;
  -webkit-mask: none;
  width: 100%;
  height: 4px;
  background: white;
}

/* Panel del menú */
.menu {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  z-index: 1;
  position: relative;
}
.menu ul li a:hover {
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
  padding: 7px 0px 7px 15px;
  border-bottom: 1px solid #fff;
}
.menu ul li a span:hover {
  color: #fff !important;
  text-decoration: none;
}
.menu ul li a:hover imagenes {
  filter: brightness(200%) saturate(0%);
}
.imagenes-menu {
  width: 100%;
  min-height: 120vh;
  object-fit: cover;
  filter: brightness(0.9);
}
.menu-activ h1 {
  font-weight: bold;
  font-size: 3.5rem;
  color: white;
  width: 50%;
  text-align: center;
  padding: 10px 15px;
  font-family: "Raleway-Bold";
}
ul a {
  transition-duration: 0.5s;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  width: 100%;
  display: block;
  font-family: 'Montserrat';
  text-transform: uppercase;
}
.top-menu_back {
  top: 1.2em !important;
  transition: 0.5s ease-in-out;
  z-index: 7;
}
.bg_menu_scrool {
  background: #01193b;
}

/* =============================================
   CAMPAÑAS / BANNERS INTERNOS
   ============================================= */
.campana {
  height: 800px !important;
}
.campana-interna {
  height: 500px !important;
}
.fondo-total2 {
  height: 115vh !important;
  background: url(../imagenes/banner-porque-2.png);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =============================================
   PÁGINA DE GRACIAS / FORMULARIOS
   ============================================= */
.div-gracias {
  font-size: 35px;
  text-align: center;
  font-weight: 700;
  font-family: "Poppins Medium";
  font-size: 30px;
  color: #fff !important;
}
.btn-volver {
  background: none;
  border: #ffffff solid 1px;
  border-radius: 100px;
  letter-spacing: 2px;
  padding: 10px;
}
.btn-volver a {
  text-decoration: none;
}
.iti {
  width: 100% !important;
}
.error-input {
  background: #ff000045 !important;
}
.hvr-wobble-horizontal {
  font-family: "Poppins Medium";
  border: none;
  background: var(--button-color);
  color: white;
  text-transform: uppercase;
  transition: 0.3s ease-in-out;
}
.hvr-wobble-horizontal a {
  color: white;
}
.solo-pc-contenido {
  position: fixed;
}

/* =============================================
   VIDEO / SWIPER SLIDES
   ============================================= */
.swiper-slide header {
  position: relative;
  overflow: hidden;
}
.swiper-slide header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.swiper-slide header video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contenido-sobre-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75% !important;
  display: flex;
  align-items: end !important;
  justify-content: end !important;
  z-index: 2;
  pointer-events: none;
  color: #fff;
  text-align: center;
  padding: 20px;
}
.contenido-sobre-video a,
.contenido-sobre-video button,
.contenido-sobre-video .btn {
  pointer-events: auto;
}

/* =============================================
   GALERÍA GRID — Patrón mosaico repetible
   ============================================= */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.galeria-item:nth-child(8n+1) {
  grid-column: span 2;
  grid-row: span 2;
}
.galeria-item:nth-child(8n+5) {
  grid-column: span 2;
}
.galeria-item {
  position: relative;
  overflow: hidden;
  background: #f0ede8;
  min-height: 220px;
}
.galeria-item a {
  display: block;
  width: 100%;
  height: 100%;
}
.galeria-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.galeria-item:hover .galeria-item-img {
  transform: scale(1.04);
}
.galeria-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(1, 25, 59, 0.6));
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.galeria-item:hover .galeria-item-overlay {
  opacity: 1;
}
.galeria-item-title {
  color: white;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.galeria-ver-todas {
  position: absolute;
  inset: 0;
  background: rgba(1, 25, 59, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 3;
}
.galeria-ver-todas:hover {
  background: rgba(1, 25, 59, 0.8);
}
.galeria-ver-todas-num {
  color: white;
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1;
}
.galeria-ver-todas-txt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 3px;
  margin-top: 6px;
}
.galeria-item-hidden {
  display: none;
}
.galeria-btn-menos {
  background: none;
  border: 1px solid #ccc;
  color: #777;
  padding: 8px 28px;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.galeria-btn-menos:hover {
  border-color: #01193B;
  color: #01193B;
}
.galeria-contador-texto {
  font-size: 13px;
}

/* =============================================
   RESPONSIVE — max-width: 992px (tablets)
   ============================================= */
@media (max-width: 992px) {
  /* Banner */
  .background-banner {
    height: 400px;
  }
  .olas-montada {
    display: none;
  }
  /* Layouts montados */
  .dinseno-montado {
    position: relative;
    top: 0;
    padding-left: 0px !important;
    padding-right: 0px !important;
    height: auto;
  }
  .dineno-montado-2 {
    height: 400px;
    width: 100%;
  }
  .no-padding {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  /* Sección por qué */
  .background-porque {
    background-position: left;
    height: 1000px;
  }
  .ancho-img {
    height: 400px;
  }
  /* Campañas */
  .campana {
    height: 218px !important;
  }
  /* Video sobre contenido */
  .contenido-sobre-video {
    padding: 15px;
    font-size: 0.9em;
  }
  /* Galería */
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .galeria-item {
    min-height: 160px;
  }
  .galeria-item:nth-child(8n+5) {
    grid-column: span 1;
  }
  .fuente-grande {
    font-size: 35px;
  }
  .container-imagen-montada {
    width: 100%;
  }
  .alto_experiencia{
    height: 400px !important; 
  }

}

/* =============================================
   RESPONSIVE — max-width: 767px
   ============================================= */
@media (max-width: 767px) {
  .contenido-sobre-video {
    padding: 10px;
    font-size: 0.8em;
  }
}

/* =============================================
   RESPONSIVE — max-width: 575px (móviles)
   ============================================= */
@media (max-width: 575px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }
  .galeria-item {
    min-height: 140px;
  }
  .galeria-item:nth-child(8n+1) {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 200px;
  }
  .galeria-item:nth-child(8n+5) {
    grid-column: span 1;
  }
  .galeria-ver-todas-num {
    font-size: 1.6rem;
  }
}