body {
  background-color: #0D1B2A !important;
  font-family: 'Roboto', sans-serif;
  color: #fff;
  margin: 0;
}

.boton-flotante, .boton-flotante2 {
  position: fixed;
  right: 20px;
  border-radius: 50%;
  padding: 15px;
  font-size: 24px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.boton-flotante {
  bottom: 20px;
  background-color: #25D366;
  color: white;
}

.boton-flotante2 {
  bottom: 100px;
  background-color: #D9D9D9;
  color: white;
}

.boton-flotante:hover, .boton-flotante2:hover {
  transform: scale(1.1);
}

html {
  scroll-behavior: smooth;
}

.carousel-caption-custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #F5F5F5;
  font-family: 'Playfair Display', serif;
  font-size: 27px;
  text-align: center;
  max-width: 90%;
}

.resumen {
  color: #fff;
}

@media (max-width: 768px) {
  .carousel-caption-custom {
    font-size: 4vw;
    top: 25vh;
  }
}

@media (max-width: 480px) {
  .carousel-caption-custom {
    font-size: 20px;
    top: 230px;
  }
}

/* ----------------------- Estilos base ----------------------- */


h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  margin: 0;
}

/* ----------------------- Navbar ----------------------- */
.navbar {
  background-color: #fff;
  padding: 0.25rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid #000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
  max-width: 108px;
  height: auto;
  transition: all 0.3s ease;
}

.navbar-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.navbar .nav-link {
  color: #212529;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s, transform 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #c00e19;
  transform: scale(1.05);
}

/* ----------------------- Adaptabilidad ----------------------- */
@media (max-width: 992px) {
  .navbar-brand img {
    max-width: 90px;
  }

  .navbar .nav-link {
    font-size: 15px;
    margin: 0 6px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 0.5rem 0;
  }

  .navbar-nav {
    flex-wrap: wrap; 
    justify-content: center;
  }

  .navbar .nav-link {
    font-size: 14px;
    margin: 4px 8px;
  }

  .navbar-brand img {
    max-width: 80px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.3rem 0.5rem; 
  }

  .navbar-brand img {
    max-width: 70px;
  }

  .navbar .nav-link {
    font-size: 13px;
    margin: 3px 6px;
    display: inline-block;
  }

  .navbar-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ----------------------- Botones flotantes ----------------------- */
.boton-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;              
  height: 60px;             
  border-radius: 50%;       /* círculo perfecto */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;          
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.boton-flotante.whatsapp {
  background-color: #25d366;
}

.boton-flotante.whatsapp:hover {
  background-color: #1ebd5b;
  transform: scale(1.1);
}

/* Tooltip */
.tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #fff;
  color: #111;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  border: 1.5px solid #25d366;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.boton-flotante:hover .tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}