/* ===== HERO ===== */
#inicio {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Imagen hero (DESKTOP) */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center; /* 🔥 prioriza derecha en PC */
  display: block;
}

/* Contenedor del texto */
.overlay-box {
  position: absolute;
  top: 40px;
  left: 40px;
  color: white;
  max-width: 600px;
  z-index: 2;
}

/* Logo */
.logo-overlay {
  width: 420px;
  margin-bottom: 15px;
}

/* Texto */
.overlay-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* ===== WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 70px;
  right: 20px;
  z-index: 1000;
}

/* ===== SERVICIOS ===== */
#servicios {
  background-image: url('images/fondo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Lista servicios */
.list-group-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.list-group-item img {
  width: 70px;
  height: auto;
  object-fit: contain;
}

.list-group-item div {
  flex: 1;
  text-align: justify;
}

/* ===== FAQ ===== */
.accordion-button:not(.collapsed) {
  background-color: #000;
  color: #fff;
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-button:focus {
  box-shadow: none;
}

/* ===== FOOTER ===== */
.footer-fixed {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 50px;
  z-index: 999;
}

/* Evitar que el footer tape contenido */
body {
  padding-bottom: 60px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  #inicio {
    height: 70vh; /* 🔥 hero más chico en mobile */
  }

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* 🔥 centrada en mobile */
  }

  .overlay-box {
    top: 20px;
    left: 20px;
    max-width: 90%;
  }

  .logo-overlay {
    width: 260px;
  }

  .overlay-text {
    font-size: 15px;
    line-height: 1.4;
  }

  .list-group-item {
    flex-direction: column;
    text-align: center;
  }

  .list-group-item img {
    width: 60px;
  }

  .list-group-item div {
    text-align: justify;
  }
}