/* Barra superior */
.navbar {
  min-height: 95px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Contenedor del logo */
.navbar-brand {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-right: 28px;
}

/* Logo */
.navbar-brand img {
  height: 78px !important;     /* súbelo a 85px si aún lo quieres más grande */
  width: auto !important;
  max-height: none !important;
  display: block;
}

/* Texto del menú */
.navbar-nav .nav-link {
  font-size: 1.15rem;
  font-weight: 400;
  padding-left: 14px !important;
  padding-right: 14px !important;
}

/* Dropdown */
.dropdown-menu {
  min-width: 220px;
}

/* ==================================================
   PIE DE PÁGINA
   ================================================== */

.nav-footer {
  min-height: 90px;
  padding: 24px 40px;
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  border-top: 1px solid rgba(120, 120, 120, 0.22);
  font-size: 0.92rem;
}

/* Copyright */
.nav-footer-left {
  display: flex;
  align-items: center;
  line-height: 1.6;
}

/* Contenedor de las redes sociales */
.nav-footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

/* Íconos sociales */
.nav-footer-right a {
  color: #008f55;
  font-size: 1.45rem;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

/* Efecto al pasar el mouse */
.nav-footer-right a:hover {
  color: #006c40;
  transform: translateY(-3px);
}

/* Modo oscuro */
[data-bs-theme="dark"] .nav-footer-right a {
  color: #3fc98a;
}

[data-bs-theme="dark"] .nav-footer-right a:hover {
  color: #73e2b0;
}

/* Adaptación para celulares */
@media (max-width: 768px) {
  .nav-footer {
    padding: 22px 15px;
    text-align: center;
  }

  .nav-footer-left,
  .nav-footer-right {
    justify-content: center;
    text-align: center;
  }

  .nav-footer-right {
    margin-top: 14px;
  }
}

/* =====================================================
   PÁGINA PRINCIPAL
   ===================================================== */

/* Hace que el contenido llegue hasta los bordes de la pantalla */
.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.inicio-contenedor {
  overflow: hidden;
  background-color: #000;
}


/* =====================================================
   CARRUSEL PRINCIPAL
   ===================================================== */

.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #111;
}

/* Altura de las imágenes */
.hero-slide {
  position: relative;
  width: 100%;
  height: clamp(520px, 67vh, 760px);
  overflow: hidden;
}

/* Imagen */
.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Oscurecimiento para que el texto sea legible */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.70) 30%,
      rgba(0, 0, 0, 0.25) 62%,
      rgba(0, 0, 0, 0.08) 100%
    );
}


/* Contenido colocado sobre la fotografía */
.hero-content {
  position: absolute;
  z-index: 2;

  top: 50%;
  left: clamp(35px, 12vw, 180px);

  width: min(680px, 78vw);

  transform: translateY(-50%);
  color: #ffffff;
}


/* Texto superior pequeño */
.hero-etiqueta {
  margin: 0 0 14px;
  color: #38d39f;

  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}


/* Título principal */
.hero-content h1 {
  margin: 0 0 20px;

  color: #ffffff;
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}


/* Descripción */
.hero-descripcion {
  max-width: 620px;
  margin: 0 0 30px;

  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.55;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}


/* Botón principal */
.hero-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  min-height: 62px;
  padding: 16px 28px;

  color: #07120e !important;
  background-color: #28d7e8;

  border: 2px solid #28d7e8;
  border-radius: 12px;

  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0.025em;
  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.hero-boton span {
  font-size: 1.4rem;
  line-height: 1;
}

.hero-boton:hover {
  color: #ffffff !important;
  background-color: #008f5b;
  border-color: #008f5b;
  transform: translateY(-2px);
}


/* =====================================================
   CONTROLES DEL CARRUSEL
   ===================================================== */

/*
Las imágenes no avanzan automáticamente.
Las flechas aparecen al pasar el mouse.
*/

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
  min-width: 60px;
  z-index: 4;

  opacity: 0;
  transition: opacity 0.25s ease;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next,
.carousel-control-prev:focus,
.carousel-control-next:focus {
  opacity: 1;
}


/* Círculo de las flechas */
.control-circulo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;

  font-size: 2.5rem;
  line-height: 1;

  backdrop-filter: blur(5px);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.carousel-control-prev:hover .control-circulo,
.carousel-control-next:hover .control-circulo {
  background-color: #008f5b;
  transform: scale(1.06);
}


/* Indicadores inferiores */
.carousel-indicators {
  z-index: 5;
  bottom: 18px;
  margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;

  margin-right: 6px;
  margin-left: 6px;

  background-color: #ffffff;
  border: 0;
  border-radius: 50%;

  opacity: 0.7;
  transition:
    width 0.2s ease,
    border-radius 0.2s ease,
    opacity 0.2s ease;
}

.carousel-indicators .active {
  width: 32px;
  border-radius: 10px;
  background-color: #29d9e9;
  opacity: 1;
}


/* =====================================================
   FRANJA DE TEXTO EN MOVIMIENTO
   ===================================================== */

.ticker-standard {
  position: relative;
  z-index: 6;

  width: 100%;
  overflow: hidden;

  color: #07120e;
  background-color: #27d9eb;

  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);

  white-space: nowrap;
}


/* Elemento que se mueve */
.ticker-track {
  display: flex;
  width: max-content;

  animation: ticker-standard-movimiento 32s linear infinite;
}


/* Cada grupo contiene la misma información */
.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;

  min-width: max-content;
  padding: 18px 0;
}


/* Textos */
.ticker-group span {
  display: inline-flex;
  align-items: center;

  padding: 0 24px;

  color: #07120e;
  font-size: 0.96rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}


/* Separadores */
.ticker-group .ticker-separador {
  padding: 0 5px;
  font-size: 0.48rem;
}


/* Movimiento continuo */
@keyframes ticker-standard-movimiento {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }

}


/* Opcional: disminuye la velocidad al pasar el mouse */
.ticker-standard:hover .ticker-track {
  animation-play-state: paused;
}


/* =====================================================
   TABLETS
   ===================================================== */

@media (max-width: 992px) {

  .hero-slide {
    height: 620px;
  }

  .hero-content {
    left: 7vw;
    width: 78vw;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.62) 55%,
        rgba(0, 0, 0, 0.22) 100%
      );
  }

  .carousel-control-prev,
  .carousel-control-next {
    opacity: 0.9;
  }

}


/* =====================================================
   CELULARES
   ===================================================== */

@media (max-width: 576px) {

  .hero-slide {
    height: 620px;
  }

  .hero-image {
    object-position: center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.24) 0%,
        rgba(0, 0, 0, 0.62) 38%,
        rgba(0, 0, 0, 0.94) 100%
      );
  }

  .hero-content {
    top: auto;
    bottom: 72px;
    left: 24px;

    width: calc(100% - 48px);
    transform: none;
  }

  .hero-etiqueta {
    margin-bottom: 10px;
    font-size: 0.72rem;
  }

  .hero-content h1 {
    margin-bottom: 14px;
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .hero-descripcion {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-boton {
    width: 100%;
    min-height: 56px;
    padding: 13px 18px;
    font-size: 0.86rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 52px;
    min-width: 52px;
    opacity: 0.85;
  }

  .control-circulo {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }

  .ticker-group {
    padding: 14px 0;
  }

  .ticker-group span {
    padding: 0 17px;
    font-size: 0.82rem;
  }

  .ticker-track {
    animation-duration: 25s;
  }

}


/* =====================================================
   ACCESIBILIDAD: REDUCIR MOVIMIENTO
   ===================================================== */

@media (prefers-reduced-motion: reduce) {

  .ticker-track {
    animation: none;
  }

  .hero-boton,
  .control-circulo {
    transition: none;
  }

}