/* --------------------------------------------------
   RESETEO BÁSICO
-------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 
   FUENTE GENERAL, COLOR DE FONDO
*/
html, body {
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  background-color: #f7f7f7; /* Fondo suave */
  color: #333;
}

/* --------------------------------------------------
   BARRA SUPERIOR (barra-superior)
   - Fija arriba, 60px de alto, color blanco, sombra
   - Logo izq, nav centrado, login der
   (Sin .menu ni iconos hamburguesa)
-------------------------------------------------- */
.barra-superior {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;           /* Altura fija en escritorio */
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;  /* Centra el bloque principal */
}

/* Empuja el contenido debajo de la barra */
.contenido {
  margin-top: 60px;
}

/* LOGO (2px menos que la barra -> 58px) */
.logo {
  position: absolute;
  left: 50px;
  top: 1px;  /* Para centrarlo verticalmente */
}
.logo img {
  height: 58px; /* 2px menos que la barra (60) */
  width: auto;
}

/* NAVEGACIÓN (centrada) */
.navegacion {
  position: relative;
  display: flex;
  align-items: center;
  height: 60px;
  margin: 0 auto;  /* fuerza centrado */
}
.navegacion ul {
  list-style: none;
  display: flex;
  gap: 2rem;       /* Espacio horizontal entre enlaces */
}
.navegacion ul li a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem; 
  line-height: 60px;   /* Centra vertical */
  transition: color 0.3s;
}
.navegacion ul li a:hover {
  color: #fff;      /* Hover rosado */
}

/* LOGIN (Botón 2) a la derecha */
.usuario {
  position: absolute;
  right: 20px;
  top: 10px;
}
.usuario a.boton.mini-boton {
  position: relative;
  display: inline-block;
  text-decoration: none;
  border: 2px solid #000;
  padding: 8px 12px;
  color: #fff;         /* Texto blanco */
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.5s ease-in-out;
}
.usuario a.boton.mini-boton:hover {
  color: #000;  /* Texto negro al hover */
}
/* Efecto Botón 2 => capas negras */
.usuario a.boton.mini-boton::before,
.usuario a.boton.mini-boton::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  transition: all 0.5s ease-in-out;
}
.usuario a.boton.mini-boton::before {
  transform: scaleY(1);
}
.usuario a.boton.mini-boton::after {
  transform: scaleX(1);
}
.usuario a.boton.mini-boton:hover::before {
  transform: scaleY(0);
}
.usuario a.boton.mini-boton:hover::after {
  transform: scaleX(0);
}

/* --------------------------------------------------
   SECCIONES / CONTENEDORES / FOOTER / ETC.
   (Diseño básico que ya tenías)
-------------------------------------------------- */
.video-container {
  position: relative;
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}
.video-container video {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}
.button-dynamic {
  background-color: #fff;
  border: 1px solid #ccc;
  color: #333;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}
.button-dynamic:hover {
  background-color: #fff;
  color: #fff;
}

.listados-interes {
  text-align: center;
  margin: 2rem 0;
}
.listados-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.listado-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  color: #444;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.listado-item:hover {
  background-color: #f974a1;
  color: #fff;
}

.acompanamos-pasos {
  text-align: center;
  padding: 1.5rem;
  background-color: #fff;
  margin: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.acompanamos-pasos .pasos-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}
.paso-item {
  flex: 1 1 200px;
  background-color: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
}
.paso-item h3 {
  margin: 0.5rem 0;
  color: #333;
}
.paso-item p {
  font-size: 0.9rem;
  color: #666;
}


.carrusel-anuncios {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.carousel-button {
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.carousel-button:hover {
  opacity: 1;
}
.grid-anuncios-destacadas {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  flex: 1;
}

.precio {
  color: #f974a1;
  font-weight: bold;
}

.contenido-pie {
  background-color: #eee;
  text-align: center;
  padding: 0.7rem 1rem;
  margin-top: 2rem;
  font-size: 0.85rem;
}
.contenido-pie p a {
  color: #333;
  text-decoration: none;
}
.contenido-pie p a:hover {
  text-decoration: underline;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  z-index: 10000;
}
.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}
.cookie-banner button {
  background-color: #fff;
  border: none;
  color: black;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
}
.cookie-banner button:hover {
  background-color: #fff;
}

/* ==========================
   RESPONSIVE (≤ 768px)
   SIN OVERLAY. 
   SOLO SE ACOMODA LA BARRA 
========================== */
@media (max-width: 768px) {
  /* Barra superior en una línea */
  .barra-superior {
    height: auto;
    flex-wrap: nowrap; /* Evitar que se acomoden en múltiples filas */
    justify-content: space-between; /* Distribuir elementos en una línea */
    padding: 0.5rem 1rem;
  }

  /* Logo más pequeño */
  .logo {
    position: relative; /* No absoluto, fluye con flex */
    left: 0;
    margin: 0;
  }
  .logo img {
    height: 40px; /* Ajustar tamaño del logo */
    width: auto;
  }

  /* Navegación más compacta */
  .navegacion {
    margin: 0;
    justify-content: flex-start; /* Alinear a la izquierda */
  }
  .navegacion ul {
    gap: 1rem;
    margin: 0;
  }
  .navegacion ul li a {
    font-size: 0.8rem; /* Tamaño menor para links */
    padding: 0.25rem;
  }

  /* Botón de login ajustado */
  .usuario {
    margin: 0;
    margin-top: 40px;
    text-align: right; /* Alinear a la derecha */
  }
  .usuario a.boton.mini-boton {
    padding: 4px 8px;
    font-size: 0.75rem;
  }
}

