@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


html, body { height: 100%; 
	font-family: "Libre Franklin", sans-serif;
  font-optical-sizing: auto;
  font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
	font-style: normal;
	}

/* HERO full screen */
.hero{
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
 /* background: #000;
  padding-top: 80px; *//* espacio navbar fixed-top */
}

/* Carousel full */
.hero__carousel,
.carousel,
.carousel-inner,
.carousel-item{
  height: 100%;
}

.carousel-item{ position: relative; }

/* Fondo cover */
.hero__bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

/* Zoom suave en activo */
.carousel-item.active .hero__bg{
  animation: heroZoom 6s linear forwards;
}
@keyframes heroZoom{
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

/* Overlay general */
.hero__overlay{
  position:absolute;
  inset:0;
 /* background:
    radial-gradient(70% 50% at 50% 25%, rgba(0,0,0,.15), transparent 60%),
    linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.10));*/
  pointer-events:none;
  z-index: 2;
}

/* ===== Panel texto (DESKTOP: flotante abajo sobre imagen) ===== */
.hero__panel{
  position: absolute;
  left: 0; right: 0;
  bottom: 52px;          /* arriba de bullets */
  z-index: 3;
  padding: 10px 16px;
  text-align: center;
}

.hero__panel-inner{
  display: inline-block;
  max-width: 900px;
 /* background: rgba(0,0,0, 25%);*/
  color: #fff;
  padding: 12px 16px;
  border-radius: 5px;
 /* box-shadow: 0 10px 30px rgba(0,0,0,.25);*/
}

.hero__panel-title{
  margin: 0 0 6px;
  /*font-size: 1.1rem;*/
  font-weight: 600;
  /*line-height: 1.15;*/
}

.hero__panel-text{
  margin: 0;
  opacity: .95;
  line-height: 1.3;
}

/* Bullets */
.carousel-indicators{
  bottom: 14px;
  z-index: 3;
}
.carousel-indicators [data-bs-target]{
  width: 10px;
  height: 10px;
  border-radius: 999px;
}


.bg-dark {
    background-color: #21252963 !important;
}


/* ===== MOBILE split: imagen 30% + panel 70% ===== */
@media (max-width: 576px){

/* HERO full screen */
.hero{
  position: relative;
  height: 80vh;
  height: 80svh;
  overflow: hidden;
  background: #000;
  padding-top: 80px; /* espacio navbar fixed-top */
}

/* Carousel full */
.hero__carousel,
.carousel,
.carousel-inner,
.carousel-item{
  height: 100%;
}


  /* Slide en columna */
  .carousel-item{
    display: flex;
    flex-direction: column;
  }

  /* Imagen arriba 30% */
  .hero__bg{
    position: relative;
    inset: auto;
    height: 30svh;
    min-height: 30vh;
  }

  /* Overlay: que afecte más la parte superior (imagen) */
  .hero__overlay{
   /* background:
      radial-gradient(80% 60% at 50% 20%, rgba(0,0,0,.18), transparent 60%),
      linear-gradient(0deg, rgba(0,0,0,.25), rgba(0,0,0,.10));*/
  }

  /* Panel abajo 70% */
  .hero__panel{
    position: relative;
    bottom: auto;
   /* height: 70svh;
    min-height: 70vh;*/
    padding: 80px 16px 10px; /* espacio para bullets dentro del panel */
    /*text-align: left;
    background: #000;*/
   /* display: flex;*/
    align-items: center;
    justify-content: center;
  }

  .hero__panel-inner{
    display: block;
    width: 100%;
    max-width: 520px;
    border-radius: 5px;
   /* background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);*/
    box-shadow: none;
  }

  .hero__panel-title{ /*font-size: 1.05rem;*/ }
  .hero__panel-text{ font-size: .95rem; }

  /* Flechas SOBRE la imagen */
  .carousel-control-prev,
  .carousel-control-next{
    top: 15svh;          /* centro de la imagen (30svh / 2) */
    bottom: auto;
    transform: translateY(-50%);
    width: 18%;
    z-index: 4;
    opacity: 0.95;
  }
  .carousel-control-prev{ left: 6px; }
  .carousel-control-next{ right: 6px; }

  /* Bullets dentro del panel inferior */
  .carousel-indicators{
    bottom: 24px;
    z-index: 4;
  }
  
  .navbar-collapse {
   /* flex-basis: 100%;
    flex-grow: 1;*/
    align-items: normal;
}
  
}

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 80px; /* Height of navbar 56 */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
}