/*==============================================
   ROOT VARIABLES
   ============================================== */
:root {
  --primary-color: #e42f2c;
  --secondary-color: #2c3e5f;
  --dark-blue: #1a1f3a;
  --light-gray: #e7e5e5;
  --white: #ffffff;
  --text-color: #333333;
  --color-black: #000000;

  --font-menu: "Futura ND Medium", sans-serif; /* Futura ND alternative */
  --font-title: "futura-bold", sans-serif; /* Futura BdCn BT alternative */
  --font-content: "Futura ND Medium", sans-serif;
}

/* ==============================================
   HEADER
   ============================================== */

/* ==============================================
   HEADER SECTION
   ============================================== */
#header {
  position: absolute;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

#header.scrolled {
  background: rgba(44, 62, 95, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* position: fixed; */
}

.navbar {
  padding-top: 63px;
  padding-bottom: 20px;
}

.navbar-brand .logo {
  height: 79px;
  width: auto;
}

.navbar-nav {
  align-items: center;
}

.nav-link {
  font-family: var(--font-menu);
  font-weight: 500;
  color: var(--white) !important;
  margin: 0 1rem;
  padding: 0.5rem 0 !important;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.language-switcher {
  border: 1px solid var(--white);
  padding: 0.3rem 1rem !important;
  border-radius: 20px;
  margin-left: 1rem;
}

.language-switcher:hover {
  background: var(--white);
  color: var(--secondary-color) !important;
}

/* ==============================================
   HERO SECTION
   ============================================== */

.hero {
  position: relative;
  width: 100%;

  /* Altura REAL del hero */
  height: 320px; /* Puedes ajustar */
  filter: brightness(1.2);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Imagen del Hero */
.hero-bg img {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Mantener el encuadre visual que usas */
  object-position: center -140px;
  filter: brightness(0.7);
}

/* Contenido del hero */
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-left: 8%;
  max-width: 600px;
}

/* Título principal */
.hero-contacto-title,
.hero-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
  margin-top: 140px; /* Puedes ajustar */
}

.hero-img-reposition-strong {
  object-position: center -190px !important;
}

.force-reposition {
  object-position: center -200px !important;
}

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 2560px) {
  .hero-img-reposition-strong {
    object-position: center -400px !important;
  }

  .hero-bg-move-bottom {
    object-position: center -319px !important;
  }
}

@media (max-width: 2200px) {
  .hero-img-reposition-strong {
    object-position: center -350px !important;
  }

  .hero-bg-move-bottom {
    object-position: center -183px !important;
  }
}

@media (max-width: 1860px) {
  .hero-img-reposition-strong {
    object-position: center -230px !important;
  }
  .hero-bg-move-bottom {
    object-position: center -183px !important;
  }
}

@media (max-width: 1550px) {
  .hero-img-reposition-strong {
    object-position: center -170px !important;
  }

  .hero-bg-move-bottom {
    object-position: center -183px !important;
  }
}

@media (max-width: 1440px) {
  .hero-img-reposition {
    object-position: center -100px !important;
  }

  .hero-bg-move-bottom {
    object-position: center -183px !important;
  }
}

@media (max-width: 1220px) {
  .hero-img-reposition {
    object-position: center -80px !important;
  }

  .hero-img-reposition-strong {
    object-position: center -140px !important;
  }

  .hero-bg-move-bottom {
    object-position: bottom !important;
  }
}

@media (max-width: 991px) {
  .navbar {
    /* padding-top: 25px; */
  }

  .navbar-brand .logo {
    height: 60px !important;
  }

  .hero {
    height: 240px; /* más pequeño en tablets */
  }

  .hero-bg img {
    object-position: center 0px !important;
  }

  .hero-img-reposition {
    object-position: center -30px !important;
  }

  .hero-img-reposition-strong {
    object-position: center -70px !important;
  }

  .hero-bg-move-bottom {
    object-position: bottom !important;
  }

  .hero-contacto-title,
  .hero-title {
    font-size: 1.8rem;
    margin-top: 110px;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .hero-bg-move-bottom {
    object-position: bottom !important;
  }

  .hero {
    height: 200px; /* más compacto en móvil */
  }

  .hero-content {
    padding-left: 5%;
  }

  .hero-contacto-title,
  .hero-title {
    font-size: 1.6rem;
    margin-top: 60px;
  }

  .hero-img-reposition {
    object-position: center !important;
  }

  .hero-img-reposition-strong {
    object-position: center 10px !important;
  }

  .hero-bg img {
    object-position: center;
  }
}
