/* ─── WHITE CLEAN - HOJA DE ESTILOS PERSONALIZADOS (RÉPLICA WEBFLOW) ─── */

/* 1. CONFIGURACIONES GENERALES & TIPOGRAFÍA */
body {
  font-family: 'Raleway', sans-serif;
  color: #1E293B;
  background-color: #FFFFFF;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* ─── PÁGINA ANCHO Y CONTENEDORES (FIX OVERFLOW/ANCHO DE ESCRITORIO) ─── */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.content-wrapper.w-container,
.content-wrapper2.w-container {
  max-width: 1220px !important;
  width: 100% !important;
}

/* 2. PRELOADER INICIAL */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 3. BOTONES ESTILO WEBFLOW Y PERSONALIZADOS (.botonslider, .botonslider-copy, .boton-search, .boton-interiores, .div-block-7) */
.botonslider,
.botonslider-copy,
.boton-search,
.boton-interiores {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #005b72 !important; /* Deep dark teal background from reference image */
  color: #00E5FF !important; /* Vibrant neon cyan text */
  font-family: 'Quicksand', 'Montserrat', sans-serif !important; /* Rounded geometric premium font family */
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 14px 28px !important;
  border-radius: 50px !important; /* Perfect rounded-pill shape */
  box-shadow: 0 4px 6px -1px rgba(0, 91, 114, 0.15), 0 2px 4px -1px rgba(0, 91, 114, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  border: none !important;
  text-decoration: none !important;
  min-height: 44px !important;
}

.botonslider:hover,
.botonslider-copy:hover,
.boton-search:hover,
.boton-interiores:hover {
  background-color: #00E5FF !important; /* Neon cyan hover */
  color: #005b72 !important; /* Deep dark teal text on hover */
  box-shadow: 0 10px 15px -3px rgba(0, 229, 255, 0.4), 0 4px 6px -2px rgba(0, 229, 255, 0.2) !important;
  transform: translateY(-2px) !important;
}

.botonslider:active,
.botonslider-copy:active,
.boton-search:active,
.boton-interiores:active {
  transform: translateY(0) !important;
}

/* 3.1 COTIZAR HEADER BUTTON */
.div-block-7 {
  background-color: #005b72 !important; /* Matching deep dark teal background */
  border-radius: 50px !important; /* Perfect rounded-pill corners */
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  min-width: 140px !important;
  min-height: 40px !important;
  border: none !important;
  box-shadow: 0 4px 6px -1px rgba(0, 91, 114, 0.15) !important;
}

.div-block-7:hover {
  background-color: #00E5FF !important; /* Neon cyan hover */
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 229, 255, 0.4) !important;
}

.div-block-7:hover .text-block {
  color: #005b72 !important; /* Deep teal text on hover */
}

.div-block-7:active {
  transform: translateY(0) !important;
}

.link-block-5 {
  text-decoration: none !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.text-block {
  color: #00E5FF !important; /* Vibrant neon cyan text */
  background-color: transparent !important;
  font-family: 'Quicksand', 'Montserrat', sans-serif !important; /* Rounded geometric premium font family */
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  padding: 10px 20px !important;
  line-height: 1 !important;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.text-block:hover {
  color: #00E5FF !important;
  background-color: transparent !important;
}

/* 4. PASTILLAS DE SERVICIOS (Specialties Grid) */
.service-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  color: #0F3D64;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 10px 18px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-pill:hover {
  background-color: #00BAF2;
  color: #FFFFFF;
  border-color: #00BAF2;
  transform: scale(1.03);
}

/* 5. SLIDER DE TESTIMONIOS (Dots & Transiciones) */
.review-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.review-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.review-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.review-dot:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.review-dot.review-dot-active {
  background-color: #00BAF2;
  width: 28px;
  border-radius: 5px;
}

/* 6. CAMPOS DE FORMULARIO ESTILO LIMPIO */
.campo-de-texto {
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.campo-de-texto:focus {
  border-color: #00BAF2;
  box-shadow: 0 0 0 3px rgba(0, 186, 242, 0.15);
}

.select-field {
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230F3D64'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.select-field:focus {
  border-color: #00BAF2;
  box-shadow: 0 0 0 3px rgba(0, 186, 242, 0.15);
}

/* 7. CARRUSEL INFINITO DE MARCAS */
@keyframes infinite-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-infinite-scroll {
  display: inline-flex;
  animation: infinite-scroll 30s linear infinite;
}

.animate-infinite-scroll:hover {
  animation-play-state: paused;
}

/* 8. EFECTO PARALLAX EN HEROS Y BANNERS */
@media (min-width: 1024px) {
  section.bg-cover {
    background-attachment: fixed;
  }
}

/* 9. CORRECCIONES DE DISEÑO Y MAQUETACIÓN (RÉPLICA EXACTA) */

/* Eliminar el fondo gris por defecto de Webflow detrás del slider de testimonios */
.w-slider, .w-slide {
  background: transparent !important;
}

/* Ocultar el bloque de fondo beige que cubre las imágenes de servicio */
.absolute-bg {
  display: none !important;
}

/* ─── NORMALIZE DESKTOP SERVICE CARDS (>= 992px) ─── */
@media (min-width: 992px) {
  .flex:has(.relative-height) {
    display: flex !important;
    align-items: stretch !important;
  }
  .flex:has(.relative-height) .column-center,
  .flex:has(.relative-height) .cuidado-al-maximo {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    width: 50% !important;
    height: auto !important;
  }
  .relative-height {
    position: relative !important;
    overflow: hidden !important;
    height: 100% !important;
    min-height: 480px !important;
    width: 100% !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.05) !important;
  }
  .relative-height img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0 !important;
    display: block !important;
  }
  .relative-height .desiger,
  .desiger,
  .absolute.desiger,
  .absolute2.desiger,
  .absolute3.desiger,
  .alfombras.desiger,
  .confianza-en-white-clean.desiger,
  .alfombras-copy.desiger,
  .pisos.desiger,
  .vehiculos.desiger {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 2 !important;
  }
}

/* ─── NORMALIZE MOBILE/TABLET STACKING (< 991px) ─── */
@media (max-width: 991px) {
  .flex:has(.relative-height) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .flex:has(.relative-height) .column-center,
  .flex:has(.relative-height) .cuidado-al-maximo,
  .flex:has(.relative-height) .text-container {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .flex:has(.relative-height) .text-container {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
  .relative-height {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    min-height: 280px !important;
    max-height: 400px !important;
    border-radius: 12px !important;
    margin: 16px 0 !important;
    box-shadow: 0 8px 20px -6px rgba(0,0,0,0.08) !important;
  }
  .relative-height img {
    display: none !important;
  }
  .relative-height .desiger,
  .desiger,
  .absolute.desiger,
  .absolute2.desiger,
  .absolute3.desiger,
  .alfombras.desiger,
  .confianza-en-white-clean.desiger,
  .alfombras-copy.desiger,
  .pisos.desiger,
  .vehiculos.desiger {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 2 !important;
  }
}

/* ==========================================================================
   10. ENLACES Y BOTÓN COTIZAR (MÓVIL & ESCRITORIO)
   ========================================================================== */
a:not(.w-nav-link):not(.w-dropdown-toggle):not(.w-dropdown-link):not(.footerlink):not(.botonslider):not(.botonslider-copy):not(.boton-search):not(.boton-interiores):not(.link-block-5):not(.link-block-6):not(.footer-social-icon):not(.link-block-15):not(.w-tab-link):not(.w-nav-brand) {
  color: #0F3D64 !important;
  text-decoration: none !important;
  transition: color 0.2s ease-in-out !important;
}

a:not(.w-nav-link):not(.w-dropdown-toggle):not(.w-dropdown-link):not(.footerlink):not(.botonslider):not(.botonslider-copy):not(.boton-search):not(.boton-interiores):not(.link-block-5):not(.link-block-6):not(.footer-social-icon):not(.link-block-15):not(.w-tab-link):not(.w-nav-brand):hover {
  color: #00BAF2 !important;
  text-decoration: underline !important;
}

.link-contacto {
  color: #0F3D64 !important;
  text-decoration: none !important;
}

.link-contacto:hover {
  color: #00BAF2 !important;
  text-decoration: underline !important;
}

@media (max-width: 991px) {
  .w-nav-menu .div-block-7 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    background-color: #005b72 !important; /* Deep dark teal background */
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    float: none !important;
  }
  .w-nav-menu .div-block-7:hover {
    background-color: #00E5FF !important;
    transform: none !important;
  }
  .w-nav-menu .div-block-7:hover .text-block {
    color: #005b72 !important; /* Deep dark teal text on hover */
  }
  .w-nav-menu .link-block-5 {
    display: flex !important;
    padding: 14px 24px !important;
    width: 100% !important;
    height: auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  .w-nav-menu .text-block {
    color: #00E5FF !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    padding: 0 !important;
    font-family: 'Quicksand', 'Montserrat', sans-serif !important; /* Rounded geometric premium font family */
  }
}

/* ==========================================================================
   11. SUPERPOSICIÓN DE SUPERFICIES (MÓVIL)
   ========================================================================== */
@media (max-width: 991px) {
  .whiteclean {
    height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .whiteclean .content-wrapper2 {
    height: auto !important;
  }
  .whiteclean .flex2 {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .grid-home2 {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    gap: 30px !important;
  }
  .grid-hombe {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
  }
  .grid-hombe > div {
    width: 100% !important;
    height: auto !important;
  }
  .grid-hombe [class^="sup"] {
    display: block !important;
    width: 100% !important;
    padding: 12px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    height: auto !important;
  }
}

/* ==========================================================================
   12. RESEÑAS SLIDER CENTRADO Y DOTS SPACING (DESKTOP & MOBILE FIXED)
   ========================================================================== */
.clientes-white-clean {
  padding-bottom: 20px !important; /* Reduced padding below reviews section */
}

.clientes-white-clean .slider-2.w-slider {
  height: 230px !important; /* Shrunk from 340px to pull up client logos */
  min-height: unset !important;
  overflow: visible !important; /* Allows pagination dots to sit cleanly outside the mask */
  background-color: transparent !important;
}

.clientes-white-clean .w-slider-mask {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  height: 100% !important;
  min-height: unset !important;
}

.clientes-white-clean .slide.w-slide {
  display: inline-block !important;
  vertical-align: top !important;
  white-space: normal !important;
  flex-shrink: unset !important;
  width: 100% !important;
  text-align: center !important;
  padding: 20px 20px 45px 20px !important; /* Shrunk padding-top/bottom to center content and pull dots up */
  box-sizing: border-box !important;
}

.clientes-white-clean .slide.w-slide p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.clientes-white-clean .nombre-clientes.white {
  color: #0F3D64 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  text-align: center !important;
  margin: 0 0 5px 0 !important;
}

.clientes-white-clean .empresa.white {
  display: inline-block !important;
  background-color: #00E5FF !important; /* Cian neón brillante */
  color: #0F3D64 !important; /* Azul marino profundo */
  padding: 4px 12px !important;
  border-radius: 4px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  margin: 0 auto 12px auto !important;
  width: max-content !important;
  max-width: 90% !important;
}

.clientes-white-clean .rese-a-clientes {
  color: #0F3D64 !important; /* Azul marino profundo */
  text-align: center !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  max-width: 80% !important;
  margin: 10px auto !important;
}

.clientes-white-clean img.image-4 {
  margin: 15px auto !important;
  display: block !important;
  width: 140px !important;
  height: auto !important;
}

.clientes-white-clean .cuidad {
  color: #0F3D64 !important; /* Azul marino profundo */
  text-align: center !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  margin: 0 !important;
}

.clientes-white-clean .w-slider-nav {
  position: absolute !important;
  bottom: -25px !important; /* Placed safely below reviews to avoid clipping */
  left: 0 !important;
  right: 0 !important;
  height: auto !important;
  padding: 10px 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 10 !important;
}

.clientes-white-clean .w-slider-dot {
  background-color: #A6A6A6 !important; /* Gris claro sólido */
  width: 12px !important;
  height: 12px !important;
  margin: 0 6px !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.clientes-white-clean .w-slider-dot.w-active {
  background-color: #1A1A1A !important; /* Negro sólido */
  width: 12px !important; /* Mantener redondo, mismo tamaño */
  height: 12px !important;
  border-radius: 50% !important;
}

@media (max-width: 767px) {
  /* Centrar contenedores de la rejilla externa */
  .clientes-white-clean .content-wrapper2 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  .clientes-white-clean .flex2 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
  }
  .clientes-white-clean .clientes {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .clientes-white-clean .cta {
    text-align: center !important;
    margin: 0 auto 30px auto !important;
    display: block !important;
  }
  .clientes-white-clean .subtitulo-serviciosb.white {
    text-align: center !important;
    margin: 0 auto 10px auto !important;
  }
  .clientes-white-clean .h2-regular {
    text-align: center !important;
    margin: 0 auto !important;
  }
  .clientes-white-clean .div-block-12 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }
  .clientes-white-clean .slider-2.w-slider {
    min-height: unset !important;
    height: 310px !important; /* Shrunk from 420px to reduce blank mobile space */
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .clientes-white-clean .w-slider-mask {
    display: block !important;
    white-space: nowrap !important;
    min-height: unset !important;
    height: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  /* Centrar elementos internos del slide */
  .clientes-white-clean .slide.w-slide {
    display: inline-block !important;
    vertical-align: top !important;
    white-space: normal !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 15px 45px 15px !important; /* Shrunk padding to save vertical space on mobile */
    margin: 0 !important;
    left: 0 !important;
    text-align: center !important;
  }
  .clientes-white-clean .nombre-clientes.white {
    text-align: center !important;
    margin: 0 auto 5px auto !important;
    display: block !important;
  }
  .clientes-white-clean .empresa.white {
    display: inline-block !important;
    margin: 0 auto 12px auto !important;
    text-align: center !important;
    width: max-content !important;
    max-width: 90% !important;
  }
  .clientes-white-clean .rese-a-clientes {
    max-width: 95% !important;
    font-size: 14px !important;
    margin: 10px auto !important;
    text-align: center !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }
  .clientes-white-clean .image-4 {
    margin: 15px auto !important;
    display: block !important;
  }
  .clientes-white-clean .cuidad {
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
  }
  .clientes-white-clean .w-slider-nav {
    position: absolute !important;
    bottom: 20px !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
  }
}

/* ==========================================================================
   13. LOGOTIPOS CLIENTES (ESPACIADO AJUSTADO & SLIDER FIX)
   ========================================================================== */
.logotipos .slider-3.w-slider {
  height: 140px !important;
  min-height: unset !important; /* Eliminates huge white spaces */
  background-color: transparent !important;
  margin-top: 10px !important;
}

.logotipos .mask-2.w-slider-mask {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  height: 100% !important;
  min-height: unset !important;
  background-color: transparent !important;
}

.logotipos .w-slide {
  display: inline-block !important;
  vertical-align: top !important;
  white-space: normal !important;
  flex-shrink: unset !important;
  width: 100% !important;
  height: 100% !important;
  min-height: unset !important;
}

.logotipos .flex2-copy {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: unset !important;
  padding: 10px 0 !important;
}

.logotipos .grid-7 {
  display: grid !important; /* Reverted to Grid to leverage Webflow's native columns */
  justify-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  align-items: center !important;
  grid-column-gap: 40px !important; /* Balanced gap spacing */
  grid-row-gap: 25px !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

.logotipos .grid-7 > div {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
}

.logotipos .grid-7 img {
  max-height: 95px !important; /* Visually larger premium sizes on desktop */
  width: auto !important;
  max-width: 175px !important;
  object-fit: contain !important;
  opacity: 0.75 !important;
  filter: grayscale(100%) !important;
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease !important;
}

.logotipos .grid-7 img:hover {
  opacity: 1 !important;
  filter: grayscale(0%) !important;
  transform: scale(1.05) !important;
}

@media (max-width: 767px) {
  .logotipos .slider-3.w-slider {
    min-height: unset !important;
    height: 170px !important;
  }
  .logotipos .mask-2.w-slider-mask {
    display: block !important;
    white-space: nowrap !important;
    min-height: unset !important;
    height: 100% !important;
  }
  .logotipos .grid-7 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-column-gap: 20px !important;
    grid-row-gap: 15px !important;
    width: 100% !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }
  .logotipos .grid-7 img {
    max-height: 45px !important;
    max-width: 90px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* ==========================================================================
   14. FOOTER STRUCTURAL CENTERING & LINKS LISTS
   ========================================================================== */
.footer .grid-2 > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  justify-content: center !important;
}

.footer .contacto-datos {
  text-align: center !important;
  margin: 15px auto !important;
}

.footer .div-block-9 {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 15px !important;
}

.footer .footer-social-icon {
  margin: 0 !important;
}

.footer a.w-inline-block {
  display: inline-block !important;
  margin: 0 auto !important;
}

.footer img {
  display: block !important;
  margin: 0 auto !important;
}

.footer .div-block-8 {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.footer .div-block-8 a.link-block {
  display: block !important;
  width: 100% !important;
  margin: 8px 0 !important;
}

.footer .div-block-8 .footerlink {
  display: block !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .footer .div-block-8 {
    align-items: center !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   15. PREGUNTAS FRECUENTES (ESTILO ACORDEÓN PREMIUM)
   ========================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 15px;
}

.faq-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] {
  background: #FFFFFF;
  border-color: #00BAF2;
  box-shadow: 0 10px 15px -3px rgba(0, 186, 242, 0.08);
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #0F3D64;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:hover {
  color: #00BAF2;
}

.faq-icon {
  width: 12px;
  height: 12px;
  border-right: 2px solid #0F3D64;
  border-bottom: 2px solid #0F3D64;
  transform: rotate(45deg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.faq-item[open] .faq-summary .faq-icon {
  transform: rotate(-135deg);
  border-color: #00BAF2;
}

.faq-content {
  padding: 0 24px 20px 24px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  border-top: 1px solid #F1F5F9;
  animation: slideDown 0.3s ease-out;
}

.faq-content p {
  margin: 0;
  padding-top: 12px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   16. PUBLICACIONES RECIENTES FLOATS & MOBILE OVERLAP FIX
   ========================================================================== */
.publicaciones-recientes {
  display: block !important;
  height: auto !important;
  min-height: unset !important;
  clear: both !important;
  overflow: visible !important;
}
.publicaciones-recientes .content-wrapper,
.publicaciones-recientes .flex,
.publicaciones-recientes .collection-list-wrapper-2,
.publicaciones-recientes .w-dyn-items.w-row {
  display: block !important;
  height: auto !important;
  clear: both !important;
}
.publicaciones-recientes .w-dyn-items.w-row::after,
.publicaciones-recientes .flex::after,
.publicaciones-recientes::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

@media (max-width: 767px) {
  .publicaciones-recientes .w-dyn-item.w-col {
    float: none !important;
    width: 100% !important;
    margin-bottom: 30px !important;
    display: block !important;
    height: auto !important;
    clear: both !important;
  }
  .publicaciones-recientes .link-block-6 {
    display: block !important;
    height: auto !important;
  }
  .publicaciones-recientes .image-5 {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .publicaciones-recientes .ultimas-publicaciones.white {
    margin-top: 10px !important;
    display: block !important;
  }
}

/* ==========================================================================
   17. NEW FOOTER CUSTOM COLOR COMBINATION & PREMIUM ROUND ICONS
   ========================================================================== */
/* Reverted general footer colors to Webflow defaults as requested by user */

/* High-contrast email link styling matching the footer's turquoise brand color */
.footer a.link-contacto {
  color: #00BAF2 !important; /* Bright high-contrast turquoise */
  text-decoration: underline !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

.footer a.link-contacto:hover {
  color: #00E5FF !important; /* Vibrant neon cyan on hover */
}

/* Premium round social circles matching reference */
.footer .div-block-9 {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 20px !important;
  flex-wrap: wrap !important;
}

/* Overriding specificity of .footer a.w-inline-block (margin: 0 auto !important) to ensure perfect centering */
.footer a.footer-social-icon.w-inline-block {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important; /* Perfectly centers the icons as a group within the flex gap */
  background-color: rgba(0, 229, 255, 0.4) !important; /* All icons have the same base tone in normal state */
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease !important;
}

/* Hover/over state applies the bright neon cian tone to each button */
.footer a.footer-social-icon.w-inline-block:hover {
  background-color: #00E5FF !important; /* Bright neon cyan on hover */
  transform: scale(1.15) !important;
}

/* Sizing of SVG social logos inside circle */
.footer .footer-small-social-icon {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important; /* Keep margins at 0 to rely purely on flexbox centering */
}



