/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
  background: #fff;
  color: #2f3138;
  font-family: "Open Sans", sans-serif;
}

a {
  color: #5F7F93;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #5F7F93;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
  color: #0e1b4d;
}

.main-page {
  margin-top: 70px;
}

.wow {
  visibility: hidden;
}



/* Back to top button */

.back-to-top {
  position: fixed;
  display: none;
  background: #5F7F93;
  color: #fff;
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 50px;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s ease-in-out;
}

.back-to-top i {
  font-size: 24px;
  padding-top: 6px;
}

.back-to-top:focus {
  background: #5F7F93;
  color: #fff;
  outline: none;
}

.back-to-top:hover {
  background: #496778;
  color: #fff;
}

/* Sections Header
--------------------------------*/

.section-header {
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}

.section-header::before {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 5px;
  background: #5F7F93;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-header h2 {
  font-size: 36px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-header p {
  text-align: center;
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #9195a2;
}

.section-with-bg {
  background-color: #f6f7fd;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
  height: 90px;
  padding: 25px 0;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: all 0.5s;
  z-index: 997;
}

/* Manipular la barra del logo ESTE ES EL BUENO*/ 
#header.header-scrolled,
#header.header-fixed {
  background: rgba(6, 12, 34, 0.98);
  height: 120px;
  padding: 15px 0;
  transition: all 0.5s;
}
/* Manipular la barra del logo ESTE ES EL BUENO*/ 

/* Manipular el logo */
#header #logo {
  display: flex;
  justify-content: center;
  align-items: center;  
}

#header #logo img {
  height: 100px;
}

img {
  max-width: 100%;
  height: auto;
}

#header #logo {
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
#header.header-scrolled #logo,
#header.header-fixed #logo {
  opacity: 1;
  visibility: visible;
}






/* Mobile Nav body classes */

body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
  left: 0;
}

body.mobile-nav-active #mobile-nav-toggle {
  color: #fff;
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
#intro {
  min-height: 100vh;
  height: 100svh; /* nuevo estándar móvil */
  width: 100%;
  position: relative;
    overflow: hidden;
}



#intro .intro-container {
  position: absolute;
  bottom: 0;
  left: 0;
  top: 90px;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  padding: 0 15px;
}

#intro h1 {
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 56px;
  font-weight: 600;
  text-transform: uppercase;
}

#intro h1 span {
  color: #5F7F93;
}

#intro p {
  color: #ebebeb;
  font-weight: 700;
  font-size: 20px;
}

#intro .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#5F7F93 50%, rgba(101, 111, 150, 0.15) 52%);
  border-radius: 50%;

  position: relative;
  overflow: hidden;
  left: 0;
  top: 5%;
}

#intro .play-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translateX(-40%) translateY(-50%);
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}


#intro .play-btn:before {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  left: -19%; 
  top: -19%;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 2px solid rgb(0, 0, 0);  
}

#intro .play-btn:hover::after {
  border-left: 15px solid #5F7F93;
  -webkit-transform: scale(20);
  transform: scale(20);
}

.play-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  font-size: 28px;
  cursor: pointer;
  background: #5F7F93;
  color: #fff;
}



@-webkit-keyframes pulsate-btn {
  0% {
    -webkit-transform: scale(0.6, 0.6);
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    -webkit-transform: scale(0.6, 0.6);
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0;
  }
}


/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/

#gallery {
  padding: 60px;
  overflow: hidden;
}

#gallery .owl-nav,
#gallery .owl-dots {
  margin-top: 25px;
  text-align: center;
}

#gallery .owl-item {
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
}

#gallery .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
}

#gallery .owl-dot.active {
  background-color: #5F7F93;
}

#gallery .gallery-carousel .owl-stage-outer {
  overflow: visible;
}

#gallery .gallery-carousel .center {
  border: 6px solid #5F7F93;
  margin: -10px;
  box-sizing: content-box;
  padding: 4px;
  background: #fff;
  z-index: 1;
}


/*--------------------------------------------------------------
# Acomodar el video
--------------------------------------------------------------*/

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.modal iframe {
  width: 90%;
  max-width: 900px;
  height: 80vh;
  border: none;
}

.modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

.play-btn {
  font-size: 30px;
  padding: 20px;
  cursor: pointer;
}



/*--------------------------------------------------------------
# Redes sociales
--------------------------------------------------------------*/

.fa-facebook-f,
.fa-instagram {
  font-size: 40px;     /* tamaño */
  color: #5F7F93;      /* color base */
  margin: 50px 10px;      /* espacio entre iconos */
  cursor: pointer;
  transition: 0.3s;
}

.fa-facebook-f:hover {
  color: #1877F2; /* azul Facebook */
}

.fa-instagram:hover {
  color: #E1306C; /* rosa Instagram */
}
.social-icons {
  text-align: center;
}

/*--------------------------------------------------------------
# Video extra
--------------------------------------------------------------*/

#video-extra {
  padding: 60px 0;
  background: rgba(6, 12, 34, 0.98); /* ajusta si quieres */
  text-align: center;
  
}

#video-extra .video-title {
  color: #fff;
  margin-bottom: 30px;
}

#video-extra .video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

#video-extra video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #000;
}

video,
iframe {
  width: 100%;
  height: auto;
  max-width: 100%;
}

/*--------------------------------------------------------------
# Recorrido vistual
--------------------------------------------------------------*/
#recorrido-virtual iframe {
  width: 100%;
  height: 70vh;
  border-radius: 10px;
}

#recorrido-virtual iframe {
  width: 100%;
  height: 80vh;
}

#recorrido-virtual .video-title {
  color: #112363;
  margin-bottom: 30px;
  text-align: center;
  border-radius: 20px;
  margin-top: 60px;
}

/*--------------------------------------------------------------
# Formulario y maps
--------------------------------------------------------------*/

#contacto-extra {
  padding: 60px 0;
  background: rgba(6, 12, 34, 0.98);
  text-align: center;
}

#contacto-extra .contacto-title {
  color: #fff;
  margin-bottom: 30px;
}

/* CONTENEDOR GENERAL */
#contacto-extra .contacto-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* formulario más ancho */
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

/* FORMULARIO */
#contacto-extra .contacto-form {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  text-align: left;

  min-height: 380px;   /* MISMA ALTURA VISUAL QUE MAPA */
  display: flex;
  align-items: center;
}

/* evita que hubspot meta márgenes raros */
#hubspot-form {
  width: 100%;
}

/* MAPA */
#contacto-extra .contacto-map {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  min-height: 380px;
}

#contacto-extra .contacto-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #contacto-extra .contacto-wrapper {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# WhatsApp
--------------------------------------------------------------*/

/* Estilo para el botón de WhatsApp */
/* WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 70px; /* Separación del botón de arriba */
    right: 15px;  /* Alineado con el back-to-top */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

/* Asegúrate que el back-to-top tenga un z-index alto también */
.back-to-top {
    z-index: 999;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

#about {
  background: url("../img/about-bg.jpg") center center no-repeat;
  background-size: cover;
  background-attachment: fixed; /* efecto escritorio */
  position: relative;
  color: #fff;
  padding: 60px 0 40px 0;
}

/* En móviles quitamos el fixed */
@media (max-width: 768px) {
  #about {
    background-attachment: scroll;
  }
}


#about:before {
  content: "";
  
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#about h2 {
    position: relative;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.8);
}

#about h3 {
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #fff;
}

#about p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #fff;
}

