/* ========================
   TIPOGRAFÍA MEJORADA
   ======================== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

body {
  font-family:
    "Poppins",
    "Roboto",
    system-ui,
    -apple-system,
    sans-serif;
}

h1,
h2,
.font-weight-bold {
  font-weight: 700 !important;
}
h3,
h4,
.font-weight-semi-bold {
  font-weight: 600 !important;
}
h5,
h6,
.font-weight-medium {
  font-weight: 500 !important;
}

.section__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--texto-coorporativo02);
  position: relative;
  margin-bottom: 1.5rem;
}

.section__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--bs-primary);
  margin: 1rem auto 0;
}

.text-center .section__title::after {
  margin-left: auto;
  margin-right: auto;
}

/* ========================
   BOTONES TEMPLATE
   ======================== */
.btn-square {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--brand-700, #c77a2e);
  border-color: var(--brand-700, #c77a2e);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(213, 135, 54, 0.4);
}

.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-instagram {
  color: var(--text-instagram);
  border-color: var(--text-instagram);
  transition: all 0.3s ease;
}

.btn-outline-instagram:hover {
  background-color: var(--text-instagram);
  border-color: var(--text-instagram);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-google {
  color: var(--text-google);
  border-color: var(--text-google);
  transition: all 0.3s ease;
}

.btn-outline-google:hover {
  background-color: var(--text-google);
  border-color: var(--text-google);
  color: #fff;
  transform: translateY(-2px);
}

.hero-carousel {
  position: relative;
}

.hero-carousel .carousel-item {
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
}

.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel .carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.8) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 2rem;
}

.hero-carousel .carousel-caption h4 {
  color: var(--bs-primary);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.hero-carousel .carousel-caption h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  max-width: 900px;
  text-align: center;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 45px;
  height: 45px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
}

.hero-carousel .carousel-control-prev {
  /* CORREGIDO: Usar unidades relativas para evitar overflow en móviles pequeños */
  left: 15px;
}

.hero-carousel .carousel-control-next {
  /* CORREGIDO: Usar unidades relativas para evitar overflow en móviles pequeños */
  right: 15px;
}

/* Ajustar controles en móviles muy pequeños */
@media (max-width: 480px) {
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 35px;
    height: 35px;
  }

  .hero-carousel .carousel-control-prev {
    left: 10px;
  }

  .hero-carousel .carousel-control-next {
    right: 10px;
  }
}

/* ========================
   BUSCADOR DE PROPIEDADES (Estilo Booking)
   ======================== */
.property-search {
  position: relative;
  margin-top: -60px;
  z-index: 10;
}

.property-search .search-box {
  background: #fff;
  padding: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.property-search .form-control,
.property-search .form-select {
  height: 50px;
  padding: 0.5rem 1rem;
  border-radius: 0;
  border: 1px solid #e0e0e0;
}

.property-search .form-control:focus,
.property-search .form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(213, 135, 54, 0.25);
}

.property-search .btn-search {
  height: 50px;
  border-radius: 0;
}

/* ========================
   PROPERTY/DESTINATION CARDS
   ======================== */
.property-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: box-shadow 0.5s ease;
}

.property-item:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.property-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-item:hover img {
  transform: scale(1.1);
}

.property-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.5s ease;
  z-index: 1;
  opacity: 0;
}

.property-item:hover .property-overlay {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-width: 20px;
  opacity: 1;
}

.property-overlay h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.property-overlay span {
  color: rgba(255, 255, 255, 0.8);
}

/* Property card con info */
.property-card {
  background: #fff;
  transition: all 0.5s ease;
  overflow: hidden;
}

.property-card:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.property-card .property-img {
  position: relative;
  overflow: hidden;
}

.property-card .property-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-img img {
  transform: scale(1.1);
}

.property-card .property-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 15px;
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}

.property-card .property-price {
  position: absolute;
  bottom: 15px;
  right: 15px;
  padding: 8px 20px;
  background: rgba(44, 62, 80, 0.9);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
}

.property-card .property-body {
  padding: 1.5rem;
}

.property-card .property-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--texto-coorporativo02);
  margin-bottom: 0.75rem;
}

.property-card .property-location {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.property-card .property-location i {
  color: var(--bs-primary);
}

.property-card .property-features {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  color: #6c757d;
}

.property-card .property-features span i {
  color: var(--bs-primary);
  margin-right: 5px;
}

/* ========================
   SERVICE CARDS (Estilo TRAVELER)
   ======================== */
.service-item {
  background: #fff;
  text-align: center;
  padding: 3rem 2rem;
  transition: all 0.5s ease;
}

.service-item:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.service-item .service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bs-primary);
  background: #fff;
  color: var(--bs-primary);
  font-size: 2rem;
  transition: all 0.5s ease;
}

.service-item:hover .service-icon {
  background: var(--bs-primary);
  color: #fff;
}

.service-item h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--texto-coorporativo02);
}

.service-item p {
  color: #6c757d;
  margin-bottom: 0;
}

/* ========================
   TEAM CARDS
   ======================== */
.team-item {
  background: #fff;
  transition: all 0.5s ease;
  overflow: hidden;
}

.team-item:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.team-img {
  position: relative;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  transition: transform 0.5s ease;
}

.team-item:hover .team-img img {
  transform: scale(1.15);
}

.team-social {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: all 0.5s ease;
}

.team-item:hover .team-social {
  background: rgba(0, 0, 0, 0.5);
}

.team-social a.btn {
  position: relative;
  margin: 0 5px;
  margin-top: 100px;
  opacity: 0;
}

.team-item:hover .team-social a.btn:first-child {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0s;
}
.team-item:hover .team-social a.btn:nth-child(2) {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0.05s;
}
.team-item:hover .team-social a.btn:nth-child(3) {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0.1s;
}
.team-item:hover .team-social a.btn:nth-child(4) {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0.15s;
}

/* ========================
   TESTIMONIAL SECTION
   ======================== */
.testimonial-item {
  text-align: center;
  padding-bottom: 2rem;
}

.testimonial-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  border: 4px solid #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  background: #fff;
  padding: 2rem;
  margin-top: -50px;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.testimonial-text:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text p {
  padding-top: 50px;
  color: #6c757d;
  font-style: italic;
}

.testimonial-text h5 {
  font-weight: 600;
  color: var(--texto-coorporativo02);
  margin-bottom: 0.25rem;
}

.testimonial-text span {
  color: var(--bs-primary);
  font-size: 0.9rem;
}

/* ========================
   CTA / REGISTRATION BLOCK
   ======================== */
.cta-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../img/hero-bg.jpg") no-repeat center center;
  background-size: cover;
  padding: 5rem 0;
}

.cta-section h6 {
  color: var(--bs-primary);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.9rem;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
}

.cta-section h2 span {
  color: var(--bs-primary);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-section ul li {
  color: #fff;
  padding: 0.5rem 0;
}

.cta-section ul li i {
  color: var(--bs-primary);
  margin-right: 1rem;
}

/* ========================
   PAGE HEADER (Páginas internas)
   ======================== */
.page-header {
  background:
    linear-gradient(rgba(44, 62, 80, 0.8), rgba(0, 0, 0, 0.6)),
    url("../img/hero-bg.jpg") no-repeat center center;
  background-size: cover;
  min-height: 400px;
  padding-top: 120px;
}

.page-header h3 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

/* ========================
   FOOTER (Estilo TRAVELER)
   ======================== */
.footer-section {
  background: var(--texto-coorporativo02);
  color: #fff;
}

.footer-section h6 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--bs-primary);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Newsletter form */
.newsletter-form .form-control {
  height: 50px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--bs-primary);
  box-shadow: none;
  color: #fff;
}

/* ========================
   BACK TO TOP
   ======================== */
.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 1000;
  background: var(--bs-primary);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background: var(--brand-700, #c77a2e);
  color: #fff;
}

.back-to-top.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

@media (max-width: 575.98px) {
  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ========================
   UTILIDADES ADICIONALES
   ======================== */
.bg-primary-subtle {
  background-color: rgba(213, 135, 54, 0.1) !important;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.border-primary {
  border-color: var(--bs-primary) !important;
}

/* Separador decorativo */
.divider {
  height: 3px;
  width: 60px;
  background: var(--bs-primary);
}

.divider-light {
  height: 2px;
  width: 40px;
  background: rgba(255, 255, 255, 0.5);
}

/* Overlay para imágenes */
.img-overlay {
  position: relative;
}

.img-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.img-overlay > * {
  position: relative;
  z-index: 2;
}

/* Sombra suave para cards */
.shadow-soft {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

.shadow-soft-hover {
  transition: box-shadow 0.5s ease;
}

.shadow-soft-hover:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

/* ========================
   RESPONSIVE AJUSTES
   ======================== */
@media (max-width: 991.98px) {
  .hero-carousel .carousel-item {
    height: 70vh;
    min-height: 500px;
  }

  .hero-carousel .carousel-caption h1 {
    font-size: 2rem;
  }

  .property-search {
    margin-top: 0;
  }

  .section__title {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .hero-carousel .carousel-item {
    height: 60vh;
    min-height: 400px;
  }

  .hero-carousel .carousel-caption h1 {
    font-size: 1.5rem;
  }

  .hero-carousel .carousel-caption h4 {
    font-size: 0.9rem;
    letter-spacing: 3px;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .property-card .property-img img {
    height: 180px;
  }
}

.hero-image {
  /* CORREGIDO: Usar 100% y object-fit para responsivo correcto */
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Asegurar que no desborda */
  max-width: 100%;
}
/* ========================
   IFRAME CATÁLOGO INMOVILLA
   ======================== */
.vf-catalog {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.vf-catalog__header {
  max-width: 800px;
  margin: 0 auto;
}

.vf-catalog__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.vf-iframeShell {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/*
 * Iframe del catálogo Inmovilla
 * - scrolling="no" en el HTML desactiva barras de scroll
 * - iframe-resizer controla la altura vía inline style
 * - Fallback: altura generosa por CSS custom property si iframe-resizer no responde
 */
#vfCatalogIframe {
  width: 100%;
  height: 1600px !important;
  min-height: 800px;
  border: 0;
  display: block;
  opacity: 0;
  transition: opacity .4s ease, height .3s ease;
}

.vf-iframeShell[data-state="ready"] #vfCatalogIframe {
  opacity: 1;
}

/* Loading / error overlays */
.vf-iframeShell__loading,
.vf-iframeShell__error {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  padding: 24px;
  z-index: 10;
  border-radius: 16px;
}

.vf-iframeShell[data-state="ready"] .vf-iframeShell__loading,
.vf-iframeShell[data-state="error"] .vf-iframeShell__loading {
  display: none;
}

.vf-iframeShell[data-state="loading"] .vf-iframeShell__error,
.vf-iframeShell[data-state="ready"] .vf-iframeShell__error {
  display: none;
}

/* Loading: mantener altura mínima solo durante carga */
.vf-iframeShell[data-state="loading"] {
  min-height: 60vh;
}

.vf-skeleton {
  width: min(520px, 90vw);
  height: 200px;
  border-radius: 12px;
  background: linear-gradient(90deg, #e8e8e8, #f5f5f5, #e8e8e8);
  background-size: 200% 100%;
  animation: vf-shimmer 1.5s infinite linear;
}

@keyframes vf-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.vf-catalog__seo {
  max-width: 800px;
  margin: 0 auto;
}

.vf-catalog__seo .bg-light {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.vf-catalog__seo .bg-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive iframe */
@media (max-width: 991.98px) {
  .vf-iframeShell {
    border-radius: 12px;
  }

  .vf-iframeShell__loading,
  .vf-iframeShell__error {
    border-radius: 12px;
  }
}

@media (max-width: 575.98px) {
  .vf-iframeShell {
    border-radius: 8px;
    margin: 0;
    width: 100%;
  }

  .vf-iframeShell__loading,
  .vf-iframeShell__error {
    border-radius: 8px;
  }

  .vf-catalog__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .vf-catalog__ctas .btn {
    width: 100%;
  }
}

/* ========================
   PROPERTY TYPE CARDS
   ======================== */
.property-type-item {
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  transition: transform 0.3s ease;
}

.property-type-item:hover {
  transform: translateY(-5px);
}

.property-type-item img {
  transition: transform 0.5s ease;
}

.property-type-item:hover img {
  transform: scale(1.1);
}

.property-type-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-type-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  transition: background 0.3s ease;
}

.property-type-item:hover .property-type-overlay {
  background: linear-gradient(
    to bottom,
    rgba(213, 135, 54, 0.3) 0%,
    rgba(213, 135, 54, 0.8) 100%
  );
}

.property-type-overlay h5 {
  font-size: 1.25rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.property-type-overlay span {
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.property-type-item:hover .property-type-overlay span {
  opacity: 1;
  transform: translateY(0);
}



/* ========================
   SERVICE ITEMS ENHANCED
   ======================== */
.service-item {
  border-radius: 12px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-item .service-icon {
  transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
  transform: scale(1.1);
}

/* ========================
   BOOKING/SEARCH FORM
   ======================== */
.booking-form {
  position: relative;
}

.booking-form .form-select,
.booking-form .form-control {
  border: 2px solid #e9ecef;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.booking-form .form-select:focus,
.booking-form .form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(213, 135, 54, 0.15);
}

/* ========================
   ACCORDION FAQ ENHANCED
   ======================== */
.accordion-button {
  font-weight: 500;
  padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(213, 135, 54, 0.1);
  color: var(--bs-primary);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(213, 135, 54, 0.15);
  border-color: var(--bs-primary);
}

/* Logos */

.logo-size-header {
  width: auto;
  max-width: 160px;
  height: auto;
}

/* Ajuste responsive del logo en móviles */
@media (max-width: 575.98px) {
  .logo-size-header {
    max-width: 120px;
  }
}

@media (max-width: 375px) {
  .logo-size-header {
    max-width: 100px;
  }
}

.logo-size-footer {
  /* CORREGIDO: Usar max-width para que sea responsive */
  width: auto;
  max-width: 210px;
  height: auto;
  align-items: center;
}

@media (max-width: 575.98px) {
  .logo-size-footer {
    max-width: 160px;
  }
}

.margin-contact {
  margin-top: 5rem !important;
}

/* Header interno de páginas (ej: contacto.php) */
.header_contacto-info {
  background: linear-gradient(
    135deg,
    rgba(23, 39, 81, 0.95),
    rgba(44, 62, 80, 0.92)
  );
  color: #fff;
  padding: 8rem 0 1.5rem;
}

.header_contacto-info .header__title {
  color: #fff;
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.header_contacto-info .header__breadcrumbs {
  margin: 0;
}

.header_contacto-info .breadcrumb-item,
.header_contacto-info .breadcrumb-item.active,
.header_contacto-info .text__gris,
.header_contacto-info .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.88) !important;
}

.header_contacto-info .breadcrumb-item a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

@media (max-width: 991.98px) {
  .header_contacto-info .row .col-lg-4 {
    margin-top: 0.75rem;
    justify-content: flex-start !important;
  }
}

.img-contacto {
  background-image:
    linear-gradient(135deg, rgba(23, 39, 81, 0.78), rgba(44, 62, 80, 0.72)),
    url("../img/hero/exterior3.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 180px;
}

.img-us {
    width: 300px;  
    height: 100%;
    object-fit: cover;
}

.img-background {
      background-image:
    linear-gradient(135deg, rgba(23, 39, 81, 0.78), rgba(44, 62, 80, 0.72)),
    url("../img/hero/interior02.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.trust-bar {
  background-color: var(--fondo-coorporativo02) !important;
  border-top: 3px solid var(--brand-700);
}

/* ========================
   SERVICIOS PAGE ENHANCEMENTS
   ======================== */
.servicios-destacados__row {
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.servicios-destacados__row::-webkit-scrollbar {
  height: 6px;
}

.servicios-destacados__row::-webkit-scrollbar-thumb {
  background: rgba(23, 39, 81, 0.25);
  border-radius: 999px;
}

.servicios-destacado-card {
  padding: 1.25rem;
  border-color: rgba(23, 39, 81, 0.12) !important;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

.servicios-destacado-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 39, 81, 0.28) !important;
}

.servicios-destacado-card__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(23, 39, 81, 0.08);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.servicios-media {
  overflow: hidden;
}

.servicios-media__img {
  transition: transform 0.3s ease;
}

article:hover .servicios-media__img {
  transform: scale(1.03);
}

.servicios-card {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.servicios-card:hover {
  box-shadow: var(--bs-box-shadow) !important;
  transform: translateY(-2px);
}

.servicios-badge {
  color: var(--bs-primary);
  font-weight: 600;
}

.servicios-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(23, 39, 81, 0.08);
  font-size: 1.1rem;
}

.servicios-title span {
  position: relative;
  display: inline-block;
}

.servicios-title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--bs-primary);
  transition: width 0.3s ease;
}

.servicios-card:hover .servicios-title span::after {
  width: 100%;
}

.servicios-summary {
  font-weight: 500;
}

.servicios-lista {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.servicios-lista li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.45rem;
  color: var(--bs-body-color);
}

.servicios-lista li:last-child {
  margin-bottom: 0;
}

.servicios-lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--bs-primary);
  transform: translateY(-50%);
}

.servicios-contact-card .form-floating > .form-control:focus,
.servicios-contact-card .form-floating > .form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.16);
}

.servicios-checkgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.servicios-checkitem {
  position: relative;
}

.servicios-checkitem__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.servicios-checkitem__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(23, 39, 81, 0.2);
  border-radius: 12px;
  background: #fff;
  font-weight: 500;
  color: var(--bs-body-color);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.servicios-checkitem__label::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid rgba(23, 39, 81, 0.5);
  background: #fff;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.servicios-checkitem__input:checked + .servicios-checkitem__label {
  border-color: var(--bs-primary);
  background: rgba(23, 39, 81, 0.06);
  color: var(--bs-primary);
}

.servicios-checkitem__input:checked + .servicios-checkitem__label::before {
  border-color: var(--bs-primary);
  background:
    linear-gradient(45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%),
    var(--bs-primary);
}

.servicios-checkitem__input:focus-visible + .servicios-checkitem__label {
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.16);
}

.servicios-feedback {
  animation: serviciosFadeIn 0.3s ease;
}

@keyframes serviciosFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 992px) {
  .servicios-destacados__row {
    overflow: visible;
  }

  .servicios-checkgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ========================
   WHATSAPP FLOAT BUTTON
   ======================== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 88px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  z-index: 1085;
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  animation:
    whatsappFadeIn 0.55s ease forwards,
    whatsappPulse 2.25s ease-in-out 0.9s infinite;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.whatsapp-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.whatsapp-float__icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
}

.whatsapp-float__icon i {
  font-size: 1.95rem;
  line-height: 1;
}

.whatsapp-float__icon svg {
  width: 100%;
  height: 100%;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(23, 39, 81, 0.96);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s ease;
}

.whatsapp-float:hover .whatsapp-float__tooltip,
.whatsapp-float:focus-visible .whatsapp-float__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@keyframes whatsappFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow:
      0 10px 26px rgba(37, 211, 102, 0.45),
      0 0 0 10px rgba(37, 211, 102, 0.11);
  }
}

@media (max-width: 767.98px) {
  .whatsapp-float {
    width: 64px;
    height: 64px;
    right: 16px;
    bottom: 82px;
  }

  .whatsapp-float__icon {
    width: 32px;
    height: 32px;
  }

  .whatsapp-float__icon i {
    font-size: 2.05rem;
  }

  .whatsapp-float__tooltip {
    display: none;
  }
}