/*
--titlefont: Montserrat
--mainfont: Roboto

--contact_gray: #ededed

h2: 43px
interespaciado: 5
altura: 1.5

p: 24/32


section padding: 105px

forms/button

18px/24px

altura barra: 110px 
*/

/** HEADER **/

/* Animaciones para el header */
@keyframes headerBackgroundFadeIn {
  from {
    background-color: var(--secondary_color);
  }

  to {
    background-color: var(--secondary_color);
  }
}

@keyframes headerTextFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.header {
  /*transition: all 0.3s ease;*/
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;

  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  width: 100%;

}

/* Clase específica para el efecto de fading */
.header.header_fade_in {
  /* Estado inicial: fondo negro sólido (sin transparencia) */
  background-color: var(--secondary_color);
  /* Animación del fondo: aparece después del texto */
  animation: headerBackgroundFadeIn 1s ease-in-out 0.5s forwards;
}

/* Animación del contenido del navbar (texto, logo, links) */
.header_fade_in .navbar-brand,
.header_fade_in .nav-link {
  /* Estado inicial: texto transparente */
  opacity: 0;
  /* Animación del texto: aparece primero */
  animation: headerTextFadeIn 0.8s ease-in-out forwards;
}

.header .navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: padding 0.3s ease;
}

.header.header_scrolled .navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Responsive padding consistente */
@media (max-width: 768px) {
  .header .navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .header.header_scrolled .navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

.header .navbar-brand {
  font: 400 1.75rem/1.2 var(--titlefont);

  letter-spacing: 0.15em;
  transition: font-size 0.3s ease;

  display: flex;
  align-items: center;
  gap: 1rem;

  padding-top: 0;
  padding-bottom: 0;
}

.header .navbar-brand span {
  display: none;
}

.header .navbar-brand .logo_image {
  height: 45px;
  width: auto;
  transition: height 0.3s ease;
}

.header.header_scrolled .navbar-brand .logo_image {
  height: 40px;
}

/* tablet: logo más pequeño pero consistente */
@media (max-width: 768px) {
  .header .navbar-brand {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
  }

  .header .navbar-brand .logo_image {
    height: 40px;
  }

  .header.header_scrolled .navbar-brand .logo_image {
    height: 36px;
  }
}

/* mobile: logo más pequeño pero consistente */
@media (max-width: 768px) {
  .header .navbar-brand .logo_image {
    height: 36px;
  }

  .header.header_scrolled .navbar-brand .logo_image {
    height: 30px;
  }
}

/* Menú oculto por petición del cliente */
.header ul.navbar-nav,
.header .navbar-toggler {
  display: none !important;
}

.header .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  transition: color 0.15s ease;
}

.header .nav-link:hover {
  color: var(--gray_medium) !important;
}

.header .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 0.75rem;
}

.header .navbar-toggler:focus {
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.5);
}

.header .navbar-toggler-icon {
  width: 1.5em;
  height: 1.5em;
}

/* Estilos del menú colapsado en mobile */
@media (max-width: 991px) {
  .header .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.95);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
  }

  .header .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .header .nav-item:first-child {
    margin-top: 0;
  }
}

/** HERO **/
/** HERO **/
/** HERO **/

.hero_section {
  position: relative;
  background-color: var(--secondary_color);

  height: calc(100vh - 100px);
  min-height: 600px;

  display: flex;
  align-items: center;
  overflow: hidden;


}

.hero_section .hero_video {
  /*
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  */
  width: 100vw;

  object-fit: cover;
  z-index: 1;
  max-width: 100%;
}

/* Video Landscape: visible en desktop y tablet */
.hero_section .hero_video_landscape {
  aspect-ratio: 16 / 8;
  display: block;
}

@media (max-width: 768px) {
  .hero_section {
    height: 100vh;
    /* Fallback */
    height: 100dvh;
    min-height: auto;

  }
}

/* Video Square: oculto por defecto */
.hero_section .hero_video_square {
  display: none;
}

/* Mobile: mostrar video square, ocultar landscape */
@media (max-width: 767px) {
  .hero_section .hero_video_landscape {
    display: none;
  }

  .hero_section .hero_video_square {
    display: block;
    height: 100%;
  }
}

.hero_section .hero_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
  opacity: 0;
}

.hero_section .container {
  position: relative;
  z-index: 3;
}

.hero_section .hero_content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero_section .hero_content h1 {
    letter-spacing: 0.08em;
  }
}

.hero_section .scroll_indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) !important;
  z-index: 3;
}

/* @media (max-width: 768px) {
  .hero_section .scroll_indicator {
    display: none !important;
  }
} */

.hero_section .scroll_indicator .scroll_arrow {
  width: 62px;
  height: 84px;
  border: 5px solid var(--black);
  border-radius: 9999px;
  position: relative;
}

/*
.hero_section .scroll_indicator .scroll_arrow::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--black);
  border-radius: 50%;
  animation: scrollDown 2s infinite;
  
}
*/
.hero_section .scroll_indicator .scroll_arrow::before {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  animation: scrollDown 2s infinite;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f063";
  font-size: 30px;

}


@keyframes scrollDown {
  0% {
    opacity: 1;
    top: 0px;
  }

  100% {
    opacity: 0;
    top: 30px;
  }
}


@media (max-width: 768px) {
  .hero_section .scroll_indicator .scroll_arrow {
    width: 40px;
    height: 54px;
    border: 3px solid var(--black);
    bottom: 57px;
  }
}

.hero_section .scroll_indicator .scroll_arrow::before {
  font-size: 20px;

}

@keyframes scrollDown {
  0% {
    opacity: 1;
    top: 0px;
  }

  100% {
    opacity: 0;
    top: 20px;
  }
}
}



/** CONTACT **/
.contact_section {
  position: relative;
}

/* CONTACT PATH */
/* .contact_path_wrapper {
  position: absolute;
  width: 95px;
  height: 295px;
  left: 50%;
  top: -80px;
  z-index: 999;
  transform: translateX(-50%);
  pointer-events: none;
}

.contact_path_decoration {
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/mouche_path.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 576px)
{
  .contact_path_wrapper {
  position: absolute;
  width: 70px;
  left: 50%;
  top: -90px;
  z-index: 999;
  transform: translateX(-50%);
  pointer-events: none;
  height: 200px;
  }
} */


/* CONTACT PATH LONG */
.contact_path_wrapper_long {
  position: relative;
  width: 100%;
}

.contact_path_wrapper_long .contact_path_decoration {
  background-image: url('../assets/images/mouche-path-laptop.svg');
  background-repeat: no-repeat;
  min-height: 2344px;
  aspect-ratio: 1;
  width: 100%;
  background-position: top center;
  position: absolute;
  top: -300px;

  max-width: 1798px;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .contact_path_wrapper_long .contact_path_decoration {
    position: absolute;
    background-image: url('../assets/images/mouche-path-mobile.svg');
    top: -122px;
    pointer-events: none !important;
    min-height: 1344px;
  }

}


/***********************************/




.contact_section h3 {
  font: 400 28px/1.5 var(--mainfont);
  position: relative;
}

@media (max-width: 768px) {
  .contact_section h3 {
    margin-bottom: 0 !important;
  }
}


.contact_spacing_y {
  margin-bottom: 30px;
}


.contact_form {
  max-width: 420px;
  margin: auto;
}



.contact_section .form-control {
  background-color: var(--white);
  border-radius: 0;
  border-color: var(--secondary_color);
  border-width: 2px;

  font: var(--form_font);
  color: var(--black);

  min-height: var(--form_height);

  text-transform: uppercase;
}

.contact_section .form-control::placeholder {
  color: var(--gray_medium);
  text-transform: uppercase;
}

/* Placeholder simulation for SELECT */
.contact_section select.form-control:invalid {
  color: var(--gray_medium);

}

.contact_section select.form-control option {
  color: var(--black);
}

.contact_section .form-control:hover {
  border-color: var(--gray_medium);
}

.contact_section .form-control:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
}

.contact_section .form-control:focus::placeholder {
  color: transparent;
}

.contact_section .btn {
  transition: all 0.3s ease;
  font: 400 22px/1.3 var(--mainfont);
  text-transform: uppercase;
  background-color: var(--secondary_color);
  color: var(--black);
  min-width: 160px;
  min-height: 42px;
  border-radius: 0;
}

.contact_section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.contact_section .btn:active {
  transform: translateY(0);
}

.field_error {
  border-color: var(--red) !important;
}

.error_message {
  color: var(--red);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}


@media(max-width: 768px) {
  .contact_section h3 {
    font: 400 16px/1.5 var(--mainfont);
  }

  .contact_section .form-control {
    font-size: 14px;
  }
}


/******* FOOTER ***********/
.footer p {
  font: 400 14px/1.3 var(--mainfont);
  color: var(--black);
}


/******** SWAL *******/
.swal2-confirm.swal2-styled {
  transition: all 0.3s ease;
  font: 400 18px/1.3 var(--mainfont);
  text-transform: uppercase;
  background-color: var(--bg_dark);
  color: var(--white);
  min-width: 160px;
  min-height: 38px;
  border-radius: 0;
}


/** HERO **/
/** HERO **/
/** HERO **/

.hero_section_sent {
  position: relative;
  background-color: var(--secondary_color);
  height: calc(100vh - 66px);
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: center;
  align-content: center;
  flex-direction: column;


}


/* final sent logo*/
.hero_section_sent .sent_logo_image {
  z-index: 2;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.hero_section_sent .sent_logo_image img {
  display: block;
  width: 40vh;
  height: 40vh;
  max-width: 124px;
  max-height: 124px;
  opacity: 1;
  transform: rotate(45deg);
}

.hero_section_sent .sent_logo_text {}

.hero_section_sent .sent_logo_text img {
  display: block;
  width: auto;
  height: auto;
  max-width: 60vw;
}

/* mobile */

@media (max-width: 768px) {
  .hero_section_sent {
    height: 100vh;
    /* Fallback */
    height: 100dvh;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .hero_section_sent .sent_logo_image img {
    width: 60px;
    height: 60px;
  }
}



/* Hidden by default, shown via JS */
.hidden_until_end {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.hidden_until_end.visible {
  opacity: 1;
  pointer-events: auto;
}