/* =============================
   BASE / RESET
============================= */
html, body {
  height: 100%;
  margin: 0;
}
body {
  background-image:
    linear-gradient(rgba(18,18,18,.55), rgba(18,18,18,.55)), 
    url("../img/fondo-nuevo.png");
  background-repeat: repeat, repeat;
  background-size: 280px, 280px;
  background-attachment: fixed, fixed;
}
.bg-light,
.bg-body,
.bg-body-tertiary {
  background-color: transparent !important;
}
section {
  background-color: transparent;
}

/* Tipografía base */
h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #111 !important;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.6);
}
h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #222 !important;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}
p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #222 !important;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.4);
}
p.lead {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}
.hero-subtitle {
  font-size: 3rem;
  font-weight: 800;
  color: #000;
  text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}
button, .btn {
  font-size: 1.2rem;
  font-weight: 600;
}

/* =============================
   NAVBAR
============================= */
.navbar {
  background-color: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 0.8rem 1rem;
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: #222 !important;
  letter-spacing: 1px;
}
.navbar-nav .nav-link {
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0.5rem;
  color: #444 !important;
  position: relative;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: #f8b400 !important;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #f8b400;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}
.navbar-nav .nav-link.active {
  color: #f8b400 !important;
}

/* =============================
   HERO / IMAGEN PRINCIPAL
============================= */
.img-fluid {
  max-height: 500px;
  width: 450px;
}
@media (max-width: 768px) {
  .img-fluid {
    max-width: 100%;
    height: auto;
    width: auto;
  }
}

/* =============================
   CARRUSEL QUIÉNES SOMOS
============================= */
#qsCarousel .carousel-item img {
  height: 450px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}
@media (max-width: 768px) {
  #qsCarousel .carousel-item img {
    height: 280px;
  }
}

/* =============================
   SERVICIOS
============================= */
.service-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f8f9fa;
}
.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.service-card:hover img {
  transform: scale(1.05);
}
.service-card.tall img {
  aspect-ratio: 3 / 4;
}
.service-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%);
  color: #fff;
}
#serviceFilters .btn {
  border-radius: 999px;
  padding: .45rem 1rem;
  color: #fff !important;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
#serviceFilters .btn.active,
#serviceFilters .btn:focus {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}
#servicios p.text-muted {
  color: #fff !important;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  font-size: 1.2rem;
}
#servicios h2 {
  color: #fff !important;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}
@media (max-width: 576px) {
  .service-card img {
    aspect-ratio: 1 / 1;
  }
}

/* =============================
   REDES SOCIALES
============================= */
.social-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .75rem;
  color: #111;
}
.social-wrapper {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px;
  border-radius: 9999px;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.social-btn .bi {
  font-size: 1.25rem;
  line-height: 0;
}
.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  filter: brightness(1.03);
}
.social-btn:focus-visible {
  outline: 3px solid rgba(255,255,255,.85);
  outline-offset: 2px;
}
/* Colores de marca */
.social-btn.wa { background:#25D366; }
.social-btn.ig { background:#E4405F; }
.social-btn.tk { background:#010101; }
.social-btn.fb { background:#1877F2; }
/* Responsivo botones */
@media (max-width: 576px) {
  .social-btn {
    flex: 1 1 calc(50% - 12px);
    justify-content: center;
  }
}
