/* =========================
   RESET
========================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  background-color: #f4f3ef;
  color: #111;
}

a {
  color: inherit;
}


/* =========================
   CABECERA
========================= */
.cabecera {
  position: relative;
  width: 100%;
  height: 56px;
  background-color: #f4f3ef;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding-left: 4px;
}

.logo {
  display: block;
  height: 32px;
  width: auto;
}

.nombre-completo {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nombre-movil {
  display: none;
  font-size:18px;
}




/* =========================
   seccion-carrusel
========================= */

.seccion-carrusel {
  position: relative;
  width: 100%;
  height: 420px;
  max-height: 65vh;
  overflow: hidden;
}


/* =========================
   CARRUSEL
========================= */

.carrusel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.activo {
  opacity: 1;
}

.titulo-seo {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  transform: translateY(-8px);
  text-align: right;
  font-weight: 300;
  
}

/* =========================
   MENÚ PRINCIPAL
========================= */

.menu-principal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(60px, 12vw, 180px);
  padding-top: 16px;
  position: relative;
  z-index: 20;
}

.menu-principal > a {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.menu-principal > a:hover {
  opacity: 0.45;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {



  .menu-principal {
    gap: 60px;
  }

}

/* =========================
   MÓVIL
   ========================= */

  @media (max-width: 768px) {

    .cabecera {
      height: 52px;
    }

    .nombre-completo {
      display: none;
    }

    .nombre-movil {
      display: inline;
    }



    .titulo-seo {
      display: none;
    }



    /* MENÚ PRINCIPAL EN MÓVIL VERTICAL (Por defecto fuerza las dos líneas) */

    .menu-principal {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      row-gap: 12px;
      column-gap: 24px;
      padding: 24px 16px;
      max-width: 320px;
      margin: 0 auto;
    }

    .menu-principal > a {
      font-size: 13px;
      white-space: nowrap;
    }


    /* MENÚ PRINCIPAL CUANDO EL MÓVIL GIRA A HORIZONTAL (LANDSCAPE) */

    @media (orientation: landscape) {
      .menu-principal {
        flex-wrap: nowrap;      /* Evita cualquier salto de línea */
        max-width: 100%;        /* Ocupa todo el ancho disponible */
        gap: clamp(20px, 5vw, 50px); /* Espacio adaptable entre los enlaces */
        padding: 15px 20px;
      }

  
      
    }

  }