/* ==========================================================================
   Superlim — capa de ajustes del proyecto React.
   Se carga después de los estilos originales del tema y de Elementor.
   ========================================================================== */

:root {
  --thm-base: #01aef0;
  --thm-base-rgb: 1, 174, 240;
  --thm-black: #052944;
  --thm-black-rgb: 5, 41, 68;
  --thm-gray: #606060;
  --thm-gray-rgb: 96, 96, 96;
  --washup-black: #03041d;
  --washup-white: #fff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

html,
body {
  overflow-x: hidden;
}

body.mobile-nav-open {
  overflow: hidden;
}

/* Botones nativos usados por el header accesible */
button.mobile-nav__toggler,
button.mobile-nav__close {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.mobile-nav__toggler {
  color: inherit;
}

@media (max-width: 1199px) {
  .main-menu-wrapper__main-menu {
    margin-right: 0;
  }
}

/* El logo de la cabecera fija se mantiene igual que el del header original */

/* --------------------------------------------------------------------------
   Carruseles
   -------------------------------------------------------------------------- */
.elementor-image-carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.elementor-image-carousel .swiper-slide-inner {
  display: block;
  margin: 0;
}

.elementor-image-carousel .swiper-slide-image {
  display: block;
  width: 100%;
  height: auto;
}

.elementor-image-carousel-wrapper .elementor-swiper-button {
  z-index: 5;
}

.elementor-image-carousel-wrapper .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 4px;
  background: #7a7a7a;
  opacity: 1;
}

.elementor-image-carousel-wrapper .swiper-pagination-bullet-active {
  background: #4e4e4e;
}

/* Logos de clientes: PNG originales recortados y normalizados en /public/brand */
.jltma-logo-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.jltma-logo-carousel-slider .jltma-logo-slider-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
}

.jltma-logo-carousel-slider .jltma-logo-slider-figure {
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jltma-logo-carousel-slider .jltma-logo-slider-img {
  display: block;
  width: auto;
  height: 78px;
  max-width: 100%;
  object-fit: contain;
}

.jltma-logo-carousel-slider .swiper-pagination {
  position: static;
  margin-top: 24px;
  line-height: 0;
}

.jltma-logo-carousel-slider .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 4px;
  background: #9a9a9a;
  opacity: 1;
}

.jltma-logo-carousel-slider .swiper-pagination-bullet-active {
  background: #333;
}

/* Aire inferior para que los puntos no queden pegados al footer */
.elementor-element-fe4a70e,
.elementor-element-704b2ff {
  padding-bottom: 48px;
}

/* Testimonios */
.testimonials-swiper {
  padding-bottom: 42px;
}

.testimonials-swiper .swiper-slide {
  height: auto;
}

.testimonials-swiper .testimonials-one__single {
  height: 100%;
}

.testimonials-swiper .swiper-pagination {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  margin: 0;
  line-height: 0;
}

.testimonials-swiper .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 5px;
  background: #b6c3cc;
  opacity: 1;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: var(--thm-base);
}

/* --------------------------------------------------------------------------
   Formularios
   -------------------------------------------------------------------------- */
.sl-form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.sl-form-status.is-success,
.sl-form-status.is-error {
  display: block;
}

.sl-form-status.is-success {
  background: #e3f7e9;
  color: #145c2c;
}

.sl-form-status.is-error {
  background: #fdeaea;
  color: #8a1c1c;
}

.sl-form-status a {
  color: inherit;
  text-decoration: underline;
}

.contact-page-form__btn button:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* --------------------------------------------------------------------------
   Botones flotantes
   -------------------------------------------------------------------------- */
.sl-whatsapp {
  position: fixed;
  left: 30px;
  bottom: 30px;
  z-index: 996;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #004294;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.sl-whatsapp:hover {
  color: #fff;
  background: #052944;
  transform: scale(1.06);
}

.sl-whatsapp svg {
  width: 26px;
  height: 26px;
}

.scroll-to-top.is-visible {
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Detalles de contenido
   -------------------------------------------------------------------------- */
.elementor-icon-list-icon .eicon-circle::before {
  font-size: 6px;
}

.elementor-widget-twinkle_testimonial_slider .testimonials-one {
  padding-left: 0;
  padding-right: 0;
}

.page-header__bg {
  will-change: auto;
}

/* La imagen de cabecera y los carruseles no deben generar scroll lateral */
.tp-page-area,
.tp-page-content,
.tp-page-post,
.elementor {
  max-width: 100%;
}

@media (max-width: 767px) {
  .sl-whatsapp {
    left: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  .scroll-to-top {
    right: 16px !important;
    bottom: 16px !important;
  }

  .jltma-logo-carousel-slider .jltma-logo-slider-item {
    min-height: 200px;
  }

  .jltma-logo-carousel-slider .jltma-logo-slider-img {
    height: 120px;
  }

  .elementor-element-fe4a70e,
  .elementor-element-704b2ff {
    padding-bottom: 28px;
  }
}
