* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

/* Video Background */
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover; /* Asegura que el video cubra todo el fondo */
  z-index: -1; /* Coloca el video detrás del contenido */
  pointer-events: none; /* Evita que interfiera con los eventos de clic */
  background-color: black; /* Fallback para navegadores que no soportan videos */
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 100px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: transform 0.3s ease-in-out; /* Transición suave */
}

.logo img {
  max-width: 50px; /* Tamaño máximo del logo */
  height: auto; /* Ajuste proporcional del alto */
  display: block; /* Asegura que se comporte como un bloque dentro del enlace */
}

/* Centrar el logo verticalmente dentro del header */
.header .logo {
  display: flex; /* Permite la alineación del contenido */
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
}

.menu-toggle {
  display: none; /* Por defecto, no se muestra */
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  background: none;
  border: none;
}

.navbar a {
  position: relative;
  font-size: 16px;
  color: #45939a;
  font-weight: 500;
  text-decoration: none;
  margin-left: 40px;
}

.navbar a::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 2px;
  background: #45939a;
  transition: 0.3s;
}

.navbar a:hover::before {
  width: 100%;
}

/* General Styles for Section */
.section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px;
  position: relative;
  /* Se establece el fondo combinando el overlay semitransparente y la imagen */
  background: linear-gradient(rgba(69, 147, 154, 0.5), rgba(69, 147, 154, 0.5)), url("/media/hero.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
}

.section-holder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 50px;
}

.section-content {
  max-width: 50%;
  padding-left: 20px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  padding-right: 100px;
}

.section-description {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 30px;
  padding-right: 140px;
  line-height: 30px;
}

.section-btn {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  color: #45939a;
  background-color: #fff;
  padding: 10px 30px;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.section-btn:hover {
  scale: 1.1;
  transition: scale 0.3s ease;
}

.section-images {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-image-main {
  width: 120%;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Commitment Section */
.commitment-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 100px;
  background-color: #fff; /* Fondo acorde con la sección previa */
  position: relative;
  overflow: hidden;
}

.commitment-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  gap: 50px;
}

.commitment-text {
  max-width: 50%;
  z-index: 2;
}

.commitment-title {
  font-size: 36px;
  font-weight: 700;
  color: #45939a; /* Texto blanco para contraste */
  margin-bottom: 20px;
  line-height: 1.4;
}

.commitment-description {
  font-size: 18px;
  font-weight: 400;
  color: #333; /* Texto suave para armonizar con el fondo */
  margin-bottom: 30px;
  line-height: 1.6;
}

.commitment-btn {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* Fondo blanco con texto del mismo verde */
  background-color: #45939a;
  padding: 10px 30px;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.commitment-btn:hover {
  transform: scale(1.05);
  background-color: #c3e8e6; /* Efecto hover suave */
}

.commitment-image {
  max-width: 45%;
  z-index: 1;
}

.commitment-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 100px 200px;
  background-color: #fff; /* Fondo similar al de la imagen */
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 300px;
}

.feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-text h3 {
  font-size: 18px;
  font-weight: bold;
  color: #45939a; /* Color de texto oscuro */
  margin-bottom: 10px;
}

.feature-text p {
  font-size: 16px;
  color: #333; /* Color de texto secundario */
  line-height: 1.5;
}

/* Quicker Section */
.quicker-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 180px 300px;
  text-align: center;
  color: white;
  background: linear-gradient(rgba(69, 147, 154, 0.9), rgba(69, 147, 154, 0.6));
}

.quicker-title {
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 20px;
}

.quicker-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 30px;
}

.quicker-btn {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  color: #45939a;
  background-color: #fff;
  padding: 10px 30px;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.quicker-btn:hover {
  transform: scale(1.1);
  background-color: #c3e8e6;
}

/* Step Forward Section */
.step-forward-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 160px 50px;
  background-color: #f5f9fa; /* Fondo claro acorde a la imagen */
}

.step-forward-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-forward-image {
  position: relative;
  flex: 1;
  max-width: 50%;
}

.step-forward-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.step-forward-icon {
  position: absolute;
  top: -60px;
  right: 60px;
}

.step-forward-icon img {
  width: 120px;
  height: 120px;
}

.step-forward-content {
  flex: 1;
  max-width: 42%;
}

.step-forward-title {
  font-size: 24px;
  font-weight: 700;
  color: #45939a;
  margin-bottom: 5px;
  line-height: 1.4;
  padding-right: 150px;
}

.step-forward-description {
  font-size: 24px;
  font-weight: 300;
  color: #333;
  margin-bottom: 30px;
  padding-right: 150px;
}

.step-forward-btn {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background-color: #45939a;
  padding: 10px 30px;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.step-forward-btn:hover {
  transform: scale(1.1);
  background-color: #c3e8e6;
}

/* Sharing Section */
.right-section {
  padding: 80px 50px;
  background-color: #f5f9fa; /* Fondo claro */
  display: flex;
  justify-content: center;
  align-items: center;
}

.right-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  gap: 50px;
}

.right-text {
  flex: 1;
  max-width: 50%;
}

.right-step {
  font-size: 36px;
  font-weight: 400;
  color: #45939a; /* Color del número */
  margin-bottom: 10px;
}

.right-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.4;
}

.right-description {
  font-size: 16px;
  font-weight: 400;
  color: #5d6d7e;
  line-height: 1.6;
}

.right-image {
  flex: 1;
  max-width: 50%;
}

.right-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Strategic Location Section */
.left-section {
  padding: 80px 50px;
  background-color: #ecf4f5; /* Fondo claro */
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  gap: 50px;
}

.left-image {
  flex: 1;
  max-width: 50%;
}

.left-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.left-text {
  flex: 1;
  max-width: 50%;
}

.left-step {
  font-size: 36px;
  font-weight: 400;
  color: #45939a; /* Color del número */
  margin-bottom: 10px;
}

.left-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.4;
}

.left-description {
  font-size: 16px;
  font-weight: 400;
  color: #5d6d7e;
  line-height: 1.6;
}

/* Offers Section */
.offers-section {
  position: relative;
  background-color: #45939a;
  padding: 150px 20px;
  text-align: center;
  overflow: hidden;
}

.offers-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  margin: 0 auto;
}

.offers-logo {
  width: 120px;
  margin-bottom: 20px;
}

.offers-title {
  font-size: 42px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
}

.offers-btn {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  color: #45939a;
  background-color: #ffffff;
  padding: 10px 30px;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.offers-btn:hover {
  background-color: #beccce;
  transform: scale(1.1);
}

/* Sección principal */
.form-section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background-color: #f5f9fa;
}

/* Título destacado */
.form-header {
  margin-bottom: 40px;
  text-align: center;
}

.form-header-title {
  font-size: 42px;
  font-weight: 400;
  color: #333;
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
  padding-bottom: 50px;
  padding-top: 50px;
}

.form-header-title strong {
  color: #45939a;
}

/* Progreso con líneas modernas */
.progress-bar-modern {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 400px;
  position: relative;
  margin-bottom: 40px;
}

.progress-step {
  text-align: center;
  flex: 1;
  position: relative;
}

.step-label {
  font-size: 14px;
  color: #bbb;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 8px;
  display: block;
}

.step-line {
  height: 4px;
  background-color: #ddd;
  width: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
}

.progress-step.active .step-label {
  color: #45939a;
  font-weight: bold;
}

.progress-step.active .step-line {
  background-color: #45939a;
}

/* Formulario */
.form-section {
  max-width: 500px;
  width: 100%;
  padding: 20px;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

form label {
  display: block;
  margin: 10px 0 5px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #333;
}

form input,
form select,
form button {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
}

form button {
  background-color: #45939a;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

form button:hover {
  background-color: #356f74;
}

/* Estilos para el selector de prefijo de país */
.phone-input {
  display: flex;
  gap: 5px;
  width: 100%;
}

.country-prefix {
  flex: 0 0 auto;
  width: 110px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  color: #333;
  background-color: #f9f9f9;
}

.phone-input input {
  flex: 1;
}

/* Footer */
.footer {
  background-color: #45939a;
  color: white;
  padding-top: 30px;
  padding-bottom: 20px;
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  margin-top: auto;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

/* Logo del footer */
.footer-logo {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer-logo img {
  width: 120px;
  max-width: 100%;
}

/* Enlaces y redes sociales */
.footer-content {
  flex: 3;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  text-align: right;
}

/* Enlaces útiles */
.footer-links h4,
.footer-social h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

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

.footer-links li a:hover {
  color: #c5c3c6;
}

/* Redes sociales */
.footer-social .social-icons a {
  font-size: 20px;
  color: white;
  margin-right: 10px;
  transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: #c5c3c6;
}

/* Derechos reservados */
.footer-legal {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.footer-legal a {
  color: #c5c3c6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}

/* Responsividad */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-content {
    justify-content: center;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }
  .section {
    flex-wrap: wrap;
    padding: 50px 20px;
  }

  .section-holder {
    flex-direction: column;
    gap: 30px;
  }

  .section-content {
    max-width: 100%;
    text-align: center;
    padding: 0 20px;
  }

  .section-title {
    font-size: 28px;
    padding-right: 0;
  }

  .section-description {
    font-size: 16px;
    padding-right: 0;
  }

  .section-images {
    max-width: 80%;
    justify-content: center;
  }

  .commitment-section {
    flex-wrap: wrap;
    padding: 50px 20px;
  }

  .commitment-container {
    flex-direction: column;
    gap: 30px;
  }

  .commitment-text {
    max-width: 100%;
    text-align: center;
  }

  .commitment-title {
    font-size: 24px;
  }

  .commitment-description {
    font-size: 14px;
  }

  .commitment-image {
    max-width: 100%;
    text-align: center;
  }
  .features-section {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
  }

  .feature {
    max-width: 100%;
  }
  .quicker-section {
    padding: 80px 20px;
  }

  .quicker-title {
    font-size: 32px;
  }

  .quicker-description {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .quicker-btn {
    font-size: 12px;
    padding: 8px 20px;
  }
  .step-forward-section {
    flex-direction: column;
    padding: 90px 20px;
  }

  .step-forward-container {
    flex-direction: column;
    gap: 20px;
  }

  .step-forward-image {
    max-width: 100%;
  }

  .step-forward-content {
    max-width: 100%;
    text-align: center;
  }

  .step-forward-title {
    font-size: 22px;
    padding-right: 0;
  }

  .step-forward-description {
    font-size: 22px;
    padding-right: 0;
  }

  .step-forward-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
  .right-section {
    padding: 50px 20px;
  }

  .right-container {
    flex-direction: column;
    gap: 30px;
  }

  .right-text {
    max-width: 100%;
    text-align: center;
  }

  .right-step {
    font-size: 24px;
  }

  .right-title {
    font-size: 24px;
  }

  .right-description {
    font-size: 14px;
  }

  .right-image {
    max-width: 100%;
  }
  .left-section {
    padding: 50px 20px;
  }

  .left-container {
    flex-direction: column;
    gap: 30px;
  }

  .left-image {
    max-width: 100%;
  }

  .left-text {
    max-width: 100%;
    text-align: center;
  }

  .left-step {
    font-size: 24px;
  }

  .left-title {
    font-size: 24px;
  }

  .left-description {
    font-size: 14px;
  }

  .offers-title {
    font-size: 28px;
  }

  .offers-btn {
    font-size: 16px;
    padding: 10px 20px;
  }
}

@media (max-width: 1024px) {
  .quicker-section {
    padding: 100px 40px;
    max-width: 100%; /* Asegura que ocupe todo el ancho en dispositivos medianos */
  }

  .quicker-title {
    font-size: 40px;
  }

  .quicker-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .quicker-btn {
    font-size: 14px;
    padding: 10px 25px;
  }
}

/* Botón flotante de cookies */
.cookie-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #45939a;
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cookie-button:hover {
  background-color: #667a7c;
  transform: scale(1.05);
}

/* Modal de Cookies */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 20px;
  font-family: "Montserrat", sans-serif;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content h2 {
  font-size: 18px;
  color: #45939a;
  margin-bottom: 10px;
}

.cookie-modal-content p {
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.cookie-options label {
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
}

.cookie-options input[type="checkbox"] {
  margin-right: 10px;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-actions .button {
  background-color: #45939a;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cookie-actions .button:hover {
  background-color: #66878a;
  transform: scale(1.05);
}

.cookie-actions .button.secondary {
  background-color: white;
  color: #45939a;
  border: 1px solid #45939a;
}

.cookie-actions .button.secondary:hover {
  background-color: #66878a;
  color: white;
}

/* Fondo con blur */
.blur-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.blur-background.show {
  opacity: 1;
  visibility: visible;
}

/* Responsividad */
@media (max-width: 768px) {
  .cookie-modal {
    width: 95%;
    padding: 15px;
  }

  .cookie-modal-content h2 {
    font-size: 16px;
  }

  .cookie-modal-content p {
    font-size: 13px;
  }

  .cookie-actions .button {
    font-size: 12px;
    padding: 8px 15px;
  }
}

/* Mostrar el botón de hamburguesa en dispositivos móviles */
@media (max-width: 768px) {
  .logo img {
    max-width: 50px; /* Tamaño máximo del logo */
    height: auto; /* Ajuste proporcional del alto */
    display: block; /* Asegura que se comporte como un bloque dentro del enlace */
  }
  .menu-toggle {
    display: block; /* Visible en pantallas pequeñas */
  }

  /* Navbar en dispositivos móviles */
  .navbar {
    display: none; /* Ocultar inicialmente */
    flex-direction: column; /* Los enlaces se colocan en columna */
    position: absolute;
    top: 60px; /* Justo debajo del header */
    left: 0;
    width: 100%;
    background-color: white; /* Fondo blanco para el menú desplegable */
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .navbar.show {
    display: flex; /* Mostrar el menú al activarse */
  }

  .navbar a {
    margin: 10px 0; /* Espaciado entre enlaces */
    text-align: center;
  }
}

@media (max-width: 768px) {
  .phone-input {
    flex-direction: row;
  }
  
  .country-prefix {
    width: 110px;
  }
}
