/* --- Cards de categoria: diseño moderno en todos los tamaños --- */
.card.h-100 {
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16), 0 1.5px 8px rgba(0, 0, 0, 0.1);
  border: 1.5px solid #e3eafc;
  margin-bottom: 1.1rem !important;
  background: linear-gradient(135deg, #fafdff 80%, #e3f0fa 100%);
  overflow: visible;
  position: relative;
  transition: box-shadow 0.3s, border 0.3s;
}
.card.h-100:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22), 0 2px 12px rgba(0, 0, 0, 0.13);
  border: 1.5px solid #b6d0f7;
}
.card-img-top {
  border-radius: 16px 16px 0 0;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.card-img-top::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0) 80%
  );
  z-index: 2;
  pointer-events: none;
}
.card-body {
  background: transparent;
  position: relative;
  z-index: 2;
}
.card-title {
  font-size: 1.13rem;
  margin-bottom: 0.25rem;
  font-weight: 800;
  color: #1a237e;
  letter-spacing: 0.1px;
  text-shadow: 0 1px 0 #fff8, 0 2px 8px #b6d0f7cc;
}
.card-body p {
  font-size: 1.01rem;
  color: #333b;
  margin-bottom: 0.5rem;
  line-height: 1.45;
}
.card-body p strong {
  color: #1976d2;
  font-weight: 700;
}
.card-body a.btn {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-weight: 700;
  font-size: 1.01rem;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
  padding: 0.5rem 1.2rem;
  margin-top: 0.2rem;
  transition: background 0.2s, box-shadow 0.2s;
}
.card-body a.btn:hover {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(25, 118, 210, 0.5);
}
.card-body a {
  word-break: break-all;
}

/* --- Compactar solo en mobile --- */
@media (max-width: 576px) {
  .card-img-top {
    height: 120px;
  }
  .card-body {
    padding: 0.85rem 0.7rem 1rem 0.7rem;
  }
  .card-title {
    font-size: 1.08rem;
  }
  .card-body p {
    font-size: 0.97rem;
  }
}
/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to right, #f0f4f8, #d9e2ec);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Contenedor general */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
  flex: 1;
}

/* Responsive Container */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 15px 0;
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
    padding: 10px;
  }
}

/* Menú de navegación */
nav.menu-principal {
  background-color: #08090d;
  padding: 10px 0;
}

nav.menu-principal ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

nav.menu-principal li {
  margin: 0 15px;
}

nav.menu-principal a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav.menu-principal a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Banner */
.banner {
  width: 100%;
  margin: 20px 0;
}

.banner img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-height: 300px;
  object-fit: fill;
}

/* Carousel Banners */
#bannerCarousel {
  margin-bottom: 2rem;
}

#bannerCarousel .carousel-inner {
  border-radius: 8px;
  overflow: hidden;
}

#bannerCarousel .carousel-item img {
  width: 100%;
  max-height: 300px;
  object-fit: fill;
  border-radius: 8px;
}

@media (max-width: 768px) {
  #bannerCarousel .carousel-item img {
    max-height: 250px;
  }
}

@media (max-width: 576px) {
  #bannerCarousel .carousel-item img {
    max-height: 220px;
  }
}

/* Tarjetas de categorías */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* .card:hover .card-img-top {
  transform: scale(1.05);
} */

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0;
}

/* Responsive Cards */
@media (max-width: 576px) {
  .card-img-top {
    height: 150px;
  }
  .card-title {
    font-size: 0.95rem;
  }
}

/* Botón de WhatsApp */
.whatsapp-btn,
.whatsapp-float {
  display: flex;
  align-items: center;
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  position: fixed;
  bottom: 20px;
  left: 20px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-btn img,
.whatsapp-float img {
  height: 20px;
  margin-right: 10px;
  flex-shrink: 0;
}

.whatsapp-btn:hover,
.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
  color: white;
}

/* Responsive WhatsApp Button */
@media (max-width: 576px) {
  .whatsapp-btn,
  .whatsapp-float {
    padding: 12px;
    bottom: 15px;
    left: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    justify-content: center;
  }

  .whatsapp-btn span,
  .whatsapp-float span,
  .whatsapp-text {
    display: none !important;
  }

  .whatsapp-btn img,
  .whatsapp-float img {
    margin-right: 0;
    height: 26px;
    width: 26px;
  }
}

/* Pie de página */
footer.footer {
  background-color: #08090d;
  color: white;
  padding: 20px 0;
  text-align: center;
  margin-top: auto;
}

footer.footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
}

footer.footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer.footer a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

footer.footer p {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 576px) {
  footer.footer ul {
    flex-direction: column;
    gap: 10px;
  }
  footer.footer p {
    font-size: 0.8rem;
    padding: 0 10px;
  }
}

/* Navbar Responsive Enhancements */
.navbar {
  transition: all 0.3s ease;
  padding: 0.8rem 0;
}

.navbar-brand {
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.navbar-toggler {
  border: none;
  padding: 5px 10px;
  transition: transform 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.navbar-toggler:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link {
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.nav-link i {
  margin-right: 5px;
  transition: transform 0.3s ease;
}

.nav-link:hover i {
  transform: scale(1.2) rotate(5deg);
}

@media (max-width: 992px) {
  .navbar-brand {
    font-size: 1rem;
  }
  .navbar-nav {
    text-align: center;
    margin-top: 10px;
    padding: 15px 0;
  }
  .nav-item {
    padding: 5px 0;
  }
  .navbar-nav .gap-2 {
    gap: 0.5rem !important;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Carousel Responsive */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }
}

/* Search Bar Responsive */
.form-control-sm {
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .form-control-sm {
    font-size: 0.85rem;
  }
  .btn-sm {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
  }
}

/* Grid Spacing */
.g-3 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

@media (max-width: 576px) {
  .g-3 {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.75rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Image Loading */
img {
  max-width: 100%;
  height: auto;
}

.btn-search-servicios {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(25, 118, 210, 0.3);
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  transition: transform 0.2s cubic-bezier(0.4, 2, 0.3, 1), box-shadow 0.2s ease,
    background 0.2s ease, color 0.2s ease;
  letter-spacing: 0.5px;
  outline: none;
  position: relative;
  z-index: 1;
}
.btn-search-servicios:hover,
.btn-search-servicios:focus {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(25, 118, 210, 0.5);
  transform: translateY(-1px) scale(1.03);
}

/* Home title modern */

.home-title {
  font-weight: 800;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  letter-spacing: 0.3px;
  color: #0b0b0c;
  margin-bottom: 1.2rem !important;
  position: relative;
  display: inline-block;
}
.home-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 180px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #000, #555, #000);
  opacity: 0.9;
}

/* h2.page-title con onda */
h2.page-title {
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw + 1.2rem, 2.1rem);
  letter-spacing: 0.2px;
  color: #0b0b0c;
  margin-bottom: 1.1rem !important;
  position: relative;
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, #222, #555 60%, #222);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem !important;
}
h2.page-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 120px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #000, #555, #000);
  opacity: 0.7;
}

/* Service cards */
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  height: 100%;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}
.service-card-img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.service-card-img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: grayscale(25%);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.service-card:hover .service-card-img {
  transform: scale(1.06);
  filter: grayscale(0%);
}
.service-card-body {
  padding: 0.9rem 0.9rem 1.1rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}
.service-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin: 0;
}

/* Igualar alturas en grid de categorías */
.categories-grid > [class*="col-"] {
  display: flex;
}
.categories-grid .service-card-link {
  display: flex;
  width: 100%;
}
.categories-grid .service-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.categories-grid .service-card-img-wrap {
  /* asegura altura consistente de imagen */
  min-height: 0;
}
.categories-grid .service-card-img {
  height: 160px;
}
.categories-grid .service-card-body {
  margin-top: auto;
}
.categories-grid .service-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.6em; /* asegura altura similar con 2 líneas */
}

@media (max-width: 576px) {
  .categories-grid .service-card-img {
    height: 140px; /* un poco más chico en mobile */
  }
  .categories-grid .service-card-title {
    min-height: 2.4em;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .service-card {
    border-radius: 14px;
  }
  .service-card-img {
    height: 140px;
  }
  .service-card-title {
    font-size: 0.88rem;
    line-height: 1.3;
  }
  .service-card-body {
    padding: 0.7rem 0.5rem 0.8rem;
    min-height: 60px;
  }
}

/* Footer Modern */
.footer-modern {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  color: #fff;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.18);
  border-top: 2px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}
.footer-modern .container {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  justify-items: stretch;
  margin-bottom: 0.75rem;
}
.footer-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: #0f0f10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.footer-tile i {
  font-size: 1.15rem;
}
.footer-tile:hover,
.footer-tile:focus {
  background: linear-gradient(135deg, #fff 0%, #e6e6e6 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.footer-copy {
  font-size: 0.95rem;
  opacity: 0.85;
  letter-spacing: 0.3px;
}

/* Desktop/Large: 4 columnas */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .footer-tile {
    padding: 0.8rem 1.1rem;
  }
}
@media (max-width: 576px) {
  .btn-search-servicios {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }
}

body {
  background: linear-gradient(to right, #e3f2fd, #90caf9);
}

/* Navbar Custom Styles */
.navbar-brand {
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.nav-link-custom {
  position: relative;
  font-weight: 500;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.85) !important;
}

.nav-link-custom:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-link-custom.active {
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  color: #08090d !important;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.4);
}

.nav-link-custom.active:hover {
  color: #000000 !important;
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.6);
  background: #ffffff;
}

.navbar-toggler {
  transition: background-color 0.3s ease;
}

.navbar-toggler:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.carousel-item img {
  max-height: 300px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
.card-img-top {
  height: 200px;
  object-fit: cover;
}
.card:hover {
  transform: scale(1.02);
  transition: transform 0.2s;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .carousel-item img {
    max-height: 320px;
    min-height: 180px;
  }
  #bannerCarousel .carousel-item img {
    max-height: 320px;
    min-height: 180px;
  }
  .page-title {
    font-size: 28px !important;
  }
  .nav-link-custom {
    text-align: center;
    margin: 5px 0;
  }
}

@media (max-width: 576px) {
  .carousel-item img {
    max-height: 320px;
    min-height: 180px;
  }
  #bannerCarousel .carousel-item img {
    max-height: 320px;
    min-height: 180px;
  }
  .page-title {
    font-size: 24px !important;
  }
  .navbar-brand {
    font-size: 1.1rem !important;
  }
}

/* ========================================
   CLASES REUTILIZABLES RESPONSIVE 
   ======================================== */

/* Página principal con padding responsive */
.page-wrapper {
  background: linear-gradient(to right, #f0f4f8, #d9e2ec);
  min-height: 100vh;
  /* padding-bottom: 2rem; */
}

/* Títulos de página centrados y responsive */
.page-title {
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
  margin-bottom: 1.5rem;
  color: #0b0b0c;
}

.page-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  text-align: center;
  color: #555;
  margin-bottom: 2rem;
}

/* Cards responsive mejoradas */
.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.info-card h5 {
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #0b0b0c;
  font-size: 1.2rem;
}

.info-card ul {
  padding-left: 0;
  margin-bottom: 0;
}

.info-card li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

@media (max-width: 576px) {
  .info-card {
    padding: 1.25rem 1rem;
    margin-bottom: 0;
  }

  .info-card h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .info-card li {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .info-card ul {
    padding-left: 0;
  }
}

/* Botones responsive */
.btn-modern {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn-modern:hover {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(25, 118, 210, 0.5);
}

@media (max-width: 576px) {
  .btn-modern {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }
}

/* Contenedor de iframe responsive */
.iframe-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.iframe-container iframe {
  width: 100%;
  border: none;
  min-height: 500px;
}

@media (max-width: 768px) {
  .iframe-container iframe {
    min-height: 400px;
  }
}

@media (max-width: 576px) {
  .iframe-container iframe {
    min-height: 300px;
  }
}

/* Contenedor de imagen de anunciante responsive */
.anunciante-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

/* Igualar altura de imagen y card en anunciante (solo desktop) */
@media (min-width: 992px) {
  .anunciante-equal {
    align-items: stretch;
  }
  .anunciante-equal .anunciante-image {
    height: 100%;
    object-fit: fill;
  }
  .anunciante-equal .info-section {
    height: 100%;
  }
}

/* Sección de información con padding responsive */
.info-section {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

/* --- Anunciante: mejoras visuales --- */
.anunciante-title {
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.2px;
  color: #0b0b0c;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem !important;
}
.anunciante-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 70%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #000, #666, #000);
  opacity: 0.5;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.65rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  color: #0b0b0c;
  background: #eef2f7;
  border: 1px solid #e3e8ef;
}
.badge-soft i {
  font-size: 1rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0.8rem 0 1rem;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-cta-whatsapp {
  display: flex;
  align-items: center;
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  bottom: 20px;
  left: 20px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.btn-cta-whatsapp img {
  height: 20px;
  margin-right: 10px;
  flex-shrink: 0;
}

.btn-cta-whatsapp:hover {
  background-color: #128c7e;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
  color: white;
}

.btn-cta:hover {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(25, 118, 210, 0.5);
}
.btn-cta i {
  font-size: 1rem;
}

/* Botones en mobile: 50% cada uno */
@media (max-width: 576px) {
  .contact-actions {
    gap: 8px;
  }

  .btn-cta-whatsapp,
  .btn-cta {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
    padding: 14px 12px;
    font-size: 0.88rem;
    min-width: 0;
  }

  .btn-cta-whatsapp img {
    height: 20px;
    margin-right: 6px;
  }

  .btn-cta-whatsapp .whatsapp-text {
    display: inline !important;
  }

  .btn-cta i {
    font-size: 1.05rem;
  }
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, #0003, #0001, #0000);
  margin: 0.8rem 0 1rem;
}

/* Título de sección */
.section-title {
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: #0b0b0c;
  margin-bottom: 1rem !important;
  padding-bottom: 0.5rem;
  display: inline-block;
  text-decoration: none;
}

@media (max-width: 768px) {
  .info-section {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .info-section {
    padding: 1rem;
    width: 100%;
  }
}

/* Texto responsive */
.text-responsive {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
}

/* Espaciado vertical responsive */
.section-spacing {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .section-spacing {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Grid responsive para datos útiles */
.grid-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 576px) {
  .grid-responsive {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Estilos para listas con iconos */
.icon-list {
  list-style: none;
  padding-left: 0;
}

.icon-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.icon-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Estilos para listas de información (datos útiles) */
.info-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.info-list li {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e9ecef;
}

.info-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-item-name {
  font-weight: 600;
  color: #0b0b0c;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.info-item-phone {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.info-item-phone a {
  color: #1976d2;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.info-item-phone a:hover {
  color: #1565c0;
  text-decoration: underline;
}

.info-item-mail {
  font-size: 0.95rem;
  color: #555;
}

.info-item-mail a {
  color: #1976d2;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.info-item-mail a:hover {
  color: #1565c0;
  text-decoration: underline;
}

@media (max-width: 576px) {
  .info-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .info-item-name {
    font-size: 0.92rem;
  }

  .info-item-phone {
    font-size: 0.88rem;
  }

  .info-item-mail {
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
  }

  .info-item-mail a {
    word-break: break-all;
    overflow-wrap: anywhere;
    font-size: 0.88rem;
  }
}

/* Ajustes para tablas responsive */
.table-responsive-custom {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Nota: Los estilos de .whatsapp-float están consolidados arriba con .whatsapp-btn */

/* Boton wpp de card anunciante */

.btn-cta-whatsapp-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.01rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  flex: 1.3;
  border: none;
  line-height: 1.5;
}

.btn-cta-whatsapp-card img {
  height: 18px;
  margin-right: 8px;
  flex-shrink: 0;
}

.btn-cta-whatsapp-card:hover {
  background-color: #128c7e;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
  color: white;
}

/* Contenedor de botones de la card */
.card-buttons-container {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  margin-top: 1rem;
}

.card-buttons-container .btn.btn-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem !important;
  font-size: 1.01rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  border-radius: 50px !important;
}

.card-buttons-container .btn-cta-whatsapp-card {
  flex: 1.3;
  padding: 0.5rem 1rem !important;
  font-size: 1.01rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}
