/* ================================================
   UPDATES.CSS — Modernización Contractil 2026
   ================================================ */

/* Skip link — accesibilidad teclado */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 12px 20px;
  background: #21436f;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 0 0 6px 0;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ------------------------------------------------
   1. Base global
   ------------------------------------------------ */
/* scroll-behavior: smooth controlado desde JS con velocidad configurable */

/* ------------------------------------------------
   HERO — quitar fondo del pseudo-elemento
   ------------------------------------------------ */
.hero_section_t.home3.syle4:after {
  background: none !important;
  filter: none !important;
}

@media screen and (min-width: 575px) {
  .hero_section_t.home3.syle4:after {
    width: 100% !important;
    height: 98%;
    left: 0% !important;
    top: 0%;
  }
}

/* ------------------------------------------------
   SLIDER — sin espacios laterales
   ------------------------------------------------ */
#slider .container-slider,
#slider .container-slider.container-fluid,
#slider .container-slider.container {
  max-width: 1397px !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#slider {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.header-logo-menu {
  top: 8px;
}

/* NAV container-fluid — padding mínimo */
.header-logo-menu .container-fluid {
  max-width: 1920px;
  width: calc(100% - 32px);
  padding-left: 12px !important;
  padding-right: 12px !important;
  margin-left: auto;
  margin-right: auto;
  transition: width 0.28s ease, max-width 0.28s ease, padding 0.28s ease;
}

/* Navegación sin padding interno extra */
.header-logo-menu .navigatin {
  padding: 16px 24px !important;
  margin: 0 auto ;
  border-radius: 999px;
  background: linear-gradient(125deg, rgba(46, 82, 142, 0.94) 0%, rgba(75, 219, 204, 0.9) 100%);
  border: 1px solid rgb(255, 255, 255);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding 0.28s ease, margin 0.28s ease, border-radius 0.28s ease;
}

/* Columnas sin gutters extra */
.header-logo-menu .row.no-gutters {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* H1 SEO — visible para crawlers, imperceptible visualmente */
.info-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* LOGO — tamaño reducido */
.header-logo-menu .navbar-brand img {
  max-width: 130px !important;
  width: 130px;
  transition: width 0.28s ease, max-width 0.28s ease, transform 0.28s ease;
}

@media (max-width: 991px) {
  .header-logo-menu .container-fluid {
    width: 100%;
  }

  .header-logo-menu .navbar-brand img {
    max-width: 110px !important;
    width: 110px;
  }
}

/* Ocultar loader GIF */
.se-pre-con {
  display: none !important;
}

/* Aparición al hacer scroll */
.scroll-reveal {
  --reveal-x: 0px;
  --reveal-y: 26px;
  --reveal-scale: 0.985;
  --reveal-rotate: 0deg;
  --reveal-blur: 10px;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale)) rotate(var(--reveal-rotate));
  filter: blur(var(--reveal-blur));
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
}

.scroll-reveal--gsap {
  transition: none !important;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  filter: blur(0);
}

footer .scroll-reveal,
footer .scroll-reveal.is-visible,
footer .scroll-reveal--gsap {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

.scroll-reveal--text {
  --reveal-x: -18px;
  --reveal-y: 22px;
  --reveal-scale: 1;
  --reveal-blur: 12px;
}

.scroll-reveal--media {
  --reveal-x: 0px;
  --reveal-y: 34px;
  --reveal-scale: 0.94;
  --reveal-rotate: -1.2deg;
  --reveal-blur: 8px;
}

.scroll-reveal--card {
  --reveal-x: 0px;
  --reveal-y: 28px;
  --reveal-scale: 0.965;
  --reveal-blur: 9px;
}

.scroll-reveal--up {
  --reveal-x: 0px;
  --reveal-y: 24px;
  --reveal-scale: 0.99;
  --reveal-blur: 8px;
}

/* Tipografía base más legible */
body {
  font-size: 16px !important;
  line-height: 1.65 !important;
}

:root {
  --ui-hover-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ui-hover-shadow-soft: 0 14px 30px rgba(20, 42, 73, 0.14);
  --ui-hover-shadow-strong: 0 20px 40px rgba(20, 42, 73, 0.18);
}

/* ------------------------------------------------
   2. HEADER / NAV — Logo izquierda, items derecha
   ------------------------------------------------ */

/* Mantener flex-grow:1 en items de texto, pero
   solo los íconos (phone/?) van sin flex-grow */
.home2 .main-menu ul > li.nav-icon-li {
  flex-grow: 0 !important;
  flex-shrink: 0;
}

/* Quitar padding excesivo de los íconos */
.home2 .main-menu ul > li.nav-icon-li {
  text-align: center;
}

.home2 .main-menu ul {
  justify-content: flex-end;
  gap: 6px;
  transition: gap 0.28s ease;
}

.home2 .main-menu ul > li {
  flex-grow: 0 !important;
  flex-shrink: 1;
}

/* Menú mobile */
.mobile-nav-link.current,
.mobile-nav-entry.current .mobile-nav-link {
  color: #4c7559 !important;
}

.home2 .main-menu ul li > a {
  padding: 12px 18px;
  border-radius: 999px;
  line-height: 1.15;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transform-origin: center;
  transition:
    color 0.28s var(--ui-hover-ease),
    text-shadow 0.28s var(--ui-hover-ease),
    transform 0.28s var(--ui-hover-ease),
    padding 0.28s var(--ui-hover-ease);
}

.home2 .main-menu ul li > a:hover {
  background: transparent;
  color: #fff !important;
  text-shadow: 0 10px 24px rgba(255, 255, 255, 0.18);
  transform: translateY(-1px) scale(0.975);
}

.home2 .main-menu ul li > a:focus-visible,
.home2 .navbar-nav .dropdown-item:focus-visible,
.mobile-nav-toggle:focus-visible,
.mobile-nav-close:focus-visible,
.mobile-nav-link:focus-visible,
.mobile-nav-family-link:focus-visible,
.mobile-nav-contact-phone:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.home2 .main-menu ul li.current > a,
.home2 .main-menu ul li.nav-item.dropdown.show > a {
  background: transparent;
  color: #f7ffff !important;
  box-shadow: none;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.18);
}

.main-menu .mobile-family-links {
  display: none;
}

.mobile-menu {
  display: none;
}

@media (max-width: 991px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .header-logo-menu .container-fluid {
    width: calc(100% - 22px);
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .header-logo-menu .navigatin {
    padding: 10px 10px 10px 18px !important;
    margin-top: 4px;
    border-radius: 30px;
  }

  .header-logo-menu .navigatin .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }

  .header-logo-menu .col-lg-3 {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    text-align: left;
    margin-bottom: 0;
    padding-right: 0;
  }

  .header-logo-menu .col-lg-9 {
    flex: 0 0 72px;
    width: 72px;
    max-width: none;
    padding-left: 0;
    margin-left: auto;
  }

  #mobile-menu {
    display: none !important;
  }

  .mobile-menu {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 12;
    width: 100%;
  }

  .mobile-nav-toggle {
    position: relative;
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    border-radius: 18px;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: opacity 0.28s ease, transform 0.28s ease;
  }

  .mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  body.mobile-nav-open .mobile-nav-toggle {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px) scale(0.92);
  }

  .mobile-nav-panel {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .mobile-nav-panel.is-gsap {
    transition: none;
  }

  .mobile-nav-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-surface {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    padding: 0 0 18px;
    background:
      radial-gradient(circle at top center, rgba(107, 208, 208, 0.16) 0%, rgba(107, 208, 208, 0) 28%),
      linear-gradient(180deg, #ffffff 0%, #f7fbfe 54%, #eff6fb 100%);
  }

  .mobile-nav-chip {
    display: none;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 10px 18px;
    background: linear-gradient(125deg, rgba(46, 82, 142, 0.96) 0%, rgba(75, 219, 204, 0.92) 100%);
    box-shadow: none;
  }

  .mobile-nav-logo {
    display: inline-flex;
    align-items: center;
  }

  .mobile-nav-logo img {
    width: 110px;
    max-width: 110px;
    filter: none;
  }

  .mobile-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    position: relative;
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    border-radius: 14px;
    background: transparent;
  }

  .mobile-nav-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
  }

  .mobile-nav-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-nav-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mobile-nav-links {
    flex: 1 0 auto;

    border-top: 1px solid rgba(46, 82, 142, 0.12);
  }

  .mobile-nav-entry {
    border-bottom: 1px solid rgba(46, 82, 142, 0.12);
  }

  .mobile-nav-entry--family {
    margin: 2px 14px 0;
    border-bottom: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 20px 22px;
    color: #2e528e !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.035em;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.24s ease, background-color 0.24s ease;
  }

  .mobile-nav-entry--family .mobile-nav-link {
    min-height: 44px;
    padding: 10px 4px 8px;
    color: #2e528e !important;
    text-shadow: none;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:focus,
  .mobile-nav-link.current,
  .mobile-nav-entry.current .mobile-nav-link {
    background: rgba(75, 219, 204, 0.08);
    color: #21436f !important;
  }

  .mobile-nav-entry--family .mobile-nav-link:hover,
  .mobile-nav-entry--family .mobile-nav-link:focus,
  .mobile-nav-entry--family.current .mobile-nav-link {
    background: rgba(75, 219, 204, 0.08);
    color: #21436f !important;
  }

  .mobile-nav-family-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 0 8px;
  }

  .mobile-nav-family-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 112px;
    padding: 10px 7px 8px;
    border-radius: 22px;
    border: 1px solid transparent;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 14px 24px rgba(24, 48, 86, 0.16);
    transition: box-shadow 0.24s ease, transform 0.24s ease, filter 0.24s ease;
  }

  .mobile-nav-family-link--capsulas {
    background: linear-gradient(180deg, #62d6d2 0%, #4abbb9 100%);
  }

  .mobile-nav-family-link--masticables {
    background: linear-gradient(180deg, #f28b44 0%, #de6d29 100%);
  }

  .mobile-nav-family-link--crema {
    background: linear-gradient(180deg, #46639a 0%, #334976 100%);
  }

  .mobile-nav-family-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin-bottom: 6px;
  }

  .mobile-nav-family-media img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
  }

  .mobile-nav-family-title {
    display: block;
    line-height: 1.16;
    font-size: 10px;
  }

  .mobile-nav-family-link:hover,
  .mobile-nav-family-link:focus,
  .mobile-nav-family-link.current {
    border-color: transparent;
    color: #ffffff !important;
    box-shadow: 0 18px 28px rgba(24, 48, 86, 0.22);
    transform: translateY(-3px);
    filter: saturate(1.04) brightness(1.01);
  }

  .mobile-nav-family-link:hover .mobile-nav-family-media img,
  .mobile-nav-family-link:focus .mobile-nav-family-media img,
  .mobile-nav-family-link.current .mobile-nav-family-media img {
    filter: drop-shadow(0 8px 16px rgba(20, 39, 67, 0.16));
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    gap: 8px;
    padding: 24px 24px 2px;
  }

  .mobile-nav-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
  }

  .mobile-nav-contact-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #2e528e !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.24s ease, text-shadow 0.24s ease;
  }

  .mobile-nav-contact-phone:hover,
  .mobile-nav-contact-phone:focus {
    color: #21436f !important;
    text-shadow: 0 10px 18px rgba(75, 219, 204, 0.18);
  }

  .mobile-nav-contact-phone i {
    font-size: 13px;
    color: #4bdbcc;
    text-shadow: none;
  }

  .mobile-nav-contact-hours {
    color: #6582a9;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.35;
  }


  .mobile-menu .mean-container,
  .mobile-menu .mean-push,
  .mobile-menu .mean-nav {
    display: none !important;
  }

  /* ── Clean White Mobile Menu Shell ── */
  body.mobile-menu-open .header-logo-menu {
    z-index: 1305;
    /* Evitar que CSS cree un bloque de contención que atrape al menú fullscreen */
    transform: none !important;
    perspective: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation: none !important;
  }

  body.mobile-menu-open .header-logo-menu .navigatin {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    /* Mismo fix para la píldora */
    transform: none !important;
    perspective: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation: none !important;
  }

} /* End of max-width: 991px */

@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }

  #mobile-menu {
    display: block !important;
  }

  .home2.header-logo-menu.active_sc .container-fluid {
    max-width: 1160px;
    width: calc(100% - 120px);
  }

  .home2.header-logo-menu.active_sc .navigatin {
    padding: 14px 18px !important;
  }

  .home2.header-logo-menu.active_sc .navbar-brand img {
    max-width: 118px !important;
    width: 118px;
  }

  .home2.header-logo-menu.active_sc .main-menu ul {
    gap: 2px;
  }

  .home2.header-logo-menu.active_sc .main-menu ul li > a {
    padding: 10px 14px;
  }

  .home2.header-logo-menu.active_sc .nav-icon-link {
    padding-left: 8px;
    padding-right: 8px;
  }

  .home2 .main-menu ul li.nav-item.dropdown {
    position: relative;
  }

  .home2 .navbar-nav .dropdown-toggle::after {
    margin-left: 10px;
    vertical-align: middle;
    border-top-width: 0.38em;
    border-right-width: 0.32em;
    border-left-width: 0.32em;
    transition: transform 0.25s ease;
  }

  .home2 .main-menu ul li.nav-item.dropdown.show > a.dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .home2 .navbar-nav .dropdown-menu {
    margin-top: 22px;
    padding: 0;
    min-width: 290px;
    border: 1px solid rgba(205, 214, 229, 0.8);
    border-radius: 26px;
    background: linear-gradient(135deg, #ffffff 0%, #f6f8fc 100%);
    box-shadow: none;
    overflow: hidden;
  }

  .home2 .navbar-nav .mega-menu {
    left: 50% !important;
    right: auto !important;
    top: 35px !important;
    width: min(860px, calc(100vw - 120px));
    padding: 14px;
    border-radius: 24px;
    translate: -50% 0;
    transform-origin: top center;
  }

  .home2 .navbar-nav .mega-menu.show {
    animation: mega-menu-reveal 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .home2 .navbar-nav .dropdown-menu::before {
    content: none;
  }

  .home2 .navbar-nav .dropdown-item {
    position: relative;
    z-index: 1;
    padding: 13px 16px;
    border-radius: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
    transition:
      background-color 0.28s var(--ui-hover-ease),
      color 0.28s var(--ui-hover-ease),
      transform 0.28s var(--ui-hover-ease),
      box-shadow 0.28s var(--ui-hover-ease);
  }

  .home2 .navbar-nav .dropdown-item:hover,
  .home2 .navbar-nav .dropdown-item:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
  }

  .home2 .navbar-nav .dropdown-divider {
    margin: 6px 10px;
    border-top-color: rgba(255, 255, 255, 0.12);
  }

  .mega-menu__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 14px;
    align-items: stretch;
  }

  .home2 .navbar-nav .mega-menu.show .mega-menu__content,
  .home2 .navbar-nav .mega-menu.show .mega-menu__feature {
    opacity: 0;
    animation: mega-menu-column 0.34s cubic-bezier(0.22, 0.8, 0.22, 1) forwards;
  }

  .home2 .navbar-nav .mega-menu.show .mega-menu__content {
    animation-delay: 0.04s;
  }

  .home2 .navbar-nav .mega-menu.show .mega-menu__feature {
    animation-delay: 0.12s;
  }

  .mega-menu__content,
  .mega-menu__feature {
    min-width: 0;
  }

  .mega-menu__content {
    padding: 8px 6px 8px 8px;
  }

  .mega-menu__intro {
    margin-bottom: 10px;
    padding: 0 4px 12px;
    border-bottom: 1px solid rgba(28, 39, 58, 0.08);
  }

  .mega-menu__intro .mega-menu__intro-title {
    margin: 0;
    color: #222b3a;
    font-size: 21px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .mega-menu__intro p {
    max-width: 360px;
    margin: 6px 0 0;
    color: #536070;
    font-size: 13px;
    line-height: 1.35;
  }

  .mega-menu__products {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
  }

  .mega-menu__product {
    --product-accent: #47c6c3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    justify-items: center;
    flex: 1 1 0;
    padding: 11px;
    border-radius: 18px;
    border: 1px solid rgba(28, 39, 58, 0.08);
    background: #f6f8fb;
    color: #222b3a !important;
    text-decoration: none !important;
    transition:
      transform 0.3s var(--ui-hover-ease),
      border-color 0.3s var(--ui-hover-ease),
      background-color 0.3s var(--ui-hover-ease),
      box-shadow 0.3s var(--ui-hover-ease);
  }

  .mega-menu__product:hover,
  .mega-menu__product:focus {
    transform: translateY(-4px);
    border-color: rgba(46, 82, 142, 0.18);
    background: #ffffff;
    box-shadow: var(--ui-hover-shadow-soft);
  }

  .mega-menu__product--capsulas {
    --product-accent: #47c6c3;
  }

  .mega-menu__product--masticables {
    --product-accent: #ec6f2b;
  }

  .mega-menu__product--crema {
    --product-accent: #2e528e;
  }

  .mega-menu__product-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 66px;
    padding: 8px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(235, 241, 248, 0.92) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  }

  .mega-menu__product-media img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 58px;
    object-fit: contain;
    transition:
      transform 0.34s var(--ui-hover-ease),
      filter 0.34s var(--ui-hover-ease);
  }

  .mega-menu__product-body {
    text-align: center;
    transition: transform 0.3s var(--ui-hover-ease);
  }

  .mega-menu__product-title {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  .mega-menu__product-copy {
    display: block;
    color: #6e7786;
    font-size: 13px;
    line-height: 1.35;
  }

  .mega-menu__product:hover .mega-menu__product-media img,
  .mega-menu__product:focus .mega-menu__product-media img {
    transform: translateY(-3px) scale(1.06);
    filter: drop-shadow(0 10px 18px rgba(24, 47, 82, 0.12));
  }

  .mega-menu__product:hover .mega-menu__product-body,
  .mega-menu__product:focus .mega-menu__product-body {
    transform: translateY(-1px);
  }

  .mega-menu__feature {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(145deg, #2e528e 0%, #3f86ac 52%, #4bdbcc 100%);
    color: #fff !important;
    text-decoration: none !important;
    transition:
      transform 0.36s var(--ui-hover-ease),
      box-shadow 0.36s var(--ui-hover-ease),
      filter 0.36s var(--ui-hover-ease);
  }

  .mega-menu__feature-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mega-menu__feature-media {
    position: relative;
    display: block;
    min-height: 170px;
    margin-bottom: 12px;
    border-radius: 18px;
    background:
      radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.04) 24%, transparent 40%),
      radial-gradient(circle at 84% 24%, rgba(255, 187, 92, 0.34) 0%, rgba(255, 187, 92, 0.08) 18%, transparent 34%),
      radial-gradient(circle at 56% 82%, rgba(75, 219, 204, 0.34) 0%, rgba(75, 219, 204, 0.06) 20%, transparent 38%),
      linear-gradient(140deg, #143160 0%, #244f8e 34%, #3479a9 66%, #4bdbcc 100%);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.14),
      inset 0 -28px 44px rgba(7, 25, 47, 0.2);
    overflow: hidden;
    transition: transform 0.36s var(--ui-hover-ease);
  }

  .mega-menu__feature-media::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    background:
      repeating-linear-gradient(
        115deg,
        rgba(255, 255, 255, 0.08) 0,
        rgba(255, 255, 255, 0.08) 1px,
        transparent 1px,
        transparent 18px
      );
    opacity: 0.4;
    mix-blend-mode: screen;
    pointer-events: none;
    transition:
      opacity 0.36s var(--ui-hover-ease),
      transform 0.36s var(--ui-hover-ease);
  }

  .mega-menu__feature-media::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -58px;
    top: -74px;
    border-radius: 50%;
    background:
      radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 30%, transparent 66%);
    filter: blur(2px);
    pointer-events: none;
    transition:
      transform 0.36s var(--ui-hover-ease),
      opacity 0.36s var(--ui-hover-ease);
  }

  .mega-menu__pack {
    position: absolute;
    display: block;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(12, 28, 50, 0.16));
    z-index: 2;
    transition:
      transform 0.38s var(--ui-hover-ease),
      filter 0.38s var(--ui-hover-ease);
  }

  .mega-menu__pack--capsulas {
    left: 12px;
    bottom: 8px;
    max-width: 112px;
  }

  .mega-menu__pack--masticables {
    top: 6px;
    left: 140px;
    max-width: 144px;
  }

  .mega-menu__pack--crema {
    right: 20px;
    bottom: 10px;
    max-width: 86px;
  }

  .mega-menu__feature-title {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .mega-menu__feature-copy {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.4;
  }

  .mega-menu__feature:hover,
  .mega-menu__feature:focus {
    transform: translateY(-4px);
    box-shadow: var(--ui-hover-shadow-strong);
    filter: saturate(1.04);
  }

  .mega-menu__feature:hover .mega-menu__feature-media,
  .mega-menu__feature:focus .mega-menu__feature-media {
    transform: translateY(-2px);
  }

  .mega-menu__feature:hover .mega-menu__feature-media::before,
  .mega-menu__feature:focus .mega-menu__feature-media::before {
    opacity: 0.56;
    transform: scale(1.02);
  }

  .mega-menu__feature:hover .mega-menu__feature-media::after,
  .mega-menu__feature:focus .mega-menu__feature-media::after {
    opacity: 0.92;
    transform: translate3d(-6px, 8px, 0);
  }

  .mega-menu__feature:hover .mega-menu__pack--capsulas,
  .mega-menu__feature:focus .mega-menu__pack--capsulas {
    transform: translate3d(-3px, -5px, 0) rotate(-1.6deg) scale(1.03);
    filter: drop-shadow(0 24px 32px rgba(12, 28, 50, 0.18));
  }

  .mega-menu__feature:hover .mega-menu__pack--masticables,
  .mega-menu__feature:focus .mega-menu__pack--masticables {
    transform: translateY(-6px) scale(1.04);
    filter: drop-shadow(0 24px 32px rgba(12, 28, 50, 0.18));
  }

  .mega-menu__feature:hover .mega-menu__pack--crema,
  .mega-menu__feature:focus .mega-menu__pack--crema {
    transform: translate3d(3px, -5px, 0) rotate(1.8deg) scale(1.03);
    filter: drop-shadow(0 24px 32px rgba(12, 28, 50, 0.18));
  }

  @keyframes mega-menu-reveal {
    from {
      opacity: 0;
      transform: translateY(12px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes mega-menu-column {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .home2 .navbar-nav .mega-menu.show,
  .home2 .navbar-nav .mega-menu.show .mega-menu__content,
  .home2 .navbar-nav .mega-menu.show .mega-menu__feature {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .scroll-reveal,
  .scroll-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Header sticky — sombra más suave */
.home2.header-logo-menu.active_sc {
  background: transparent;
  border-bottom: 0;
  padding: 10px 0;
  box-shadow: none;
}

/* ------------------------------------------------
   3. ÍCONOS FA en el nav
   ------------------------------------------------ */
.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  padding: 4px 12px;
  transition:
    color 0.28s var(--ui-hover-ease),
    transform 0.28s var(--ui-hover-ease);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.nav-icon-btn:hover {
  color: #6bd0d0;
  transform: translateY(-1px) scale(1.03);
}

.nav-icon-link {
  color: #fff;
  font-size: 20px;
  padding: 4px 12px;
  transition:
    color 0.28s var(--ui-hover-ease),
    transform 0.28s var(--ui-hover-ease),
    padding 0.28s var(--ui-hover-ease);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.nav-icon-link:hover,
.nav-icon-link:focus {
  color: #6bd0d0;
  transform: translateY(-1px) scale(1.03);
}

.nav-icon-link:focus-visible,
.link-pdf:focus-visible,
.footer-phone-link:focus-visible,
.copyright_con a:focus-visible {
  outline: 3px solid rgba(107, 208, 208, 0.85);
  outline-offset: 3px;
}

/* ------------------------------------------------
   CTA PDF — botones de prospecto más modernos
   ------------------------------------------------ */
.para__col-pack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.link-pdf {
  --link-pdf-accent: #47c6c3;
  position: absolute !important;
  left: 50% !important;
  bottom: 18%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 236px;
  margin: 0 !important;
  padding: 15px 24px !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(37, 68, 113, 0.12);
  box-shadow: 0 4px 14px rgba(26, 49, 84, 0.10);
  color: #21436f !important;
  text-decoration: none !important;
  line-height: 1.15;
  transform: translateX(-50%);
  z-index: 3;
  transition:
    transform 0.3s var(--ui-hover-ease),
    background-color 0.3s var(--ui-hover-ease),
    border-color 0.3s var(--ui-hover-ease),
    color 0.3s var(--ui-hover-ease),
    box-shadow 0.3s var(--ui-hover-ease);
}

#para .link-pdf {
  --link-pdf-accent: #47c6c3;
}

#para-comprimidos .link-pdf {
  --link-pdf-accent: #ec6f2b;
}

#paraF .link-pdf {
  --link-pdf-accent: #2e528e;
}

.link-pdf:hover,
.link-pdf:focus {
  transform: translateX(-50%) translateY(-2px) scale(1.01);
  background: #fff;
  border-color: rgba(33, 67, 111, 0.22);
  color: #17365d !important;
  box-shadow: 0 16px 26px rgba(26, 49, 84, 0.14);
}

.link-pdf__text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.2;
}

.link-pdf__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--link-pdf-accent);
  transition: transform 0.3s var(--ui-hover-ease);
}

.link-pdf:hover .link-pdf__arrow,
.link-pdf:focus .link-pdf__arrow {
  transform: translateY(1px) scale(1.06);
}

@media (max-width: 575px) {
  .link-pdf {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    min-width: 214px;
    margin: 18px auto 18px !important;
    padding: 13px 20px !important;
    transform: none;
  }

  .link-pdf__text {
    font-size: 14px;
  }

  .link-pdf:hover,
  .link-pdf:focus {
    transform: translateY(-2px) scale(1.01);
  }
}

/* ------------------------------------------------
   4. SLIDER dots — color de marca
   ------------------------------------------------ */
#slider_owl.owl-carousel {
  position: relative;
}

#slider_owl.owl-carousel .owl-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  width: 100%;
  margin-top: 0 !important;
  line-height: 1;
  text-align: center;
  z-index: 10;
}

#slider_owl.owl-carousel button.owl-dot {
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0 !important;
  border: none;
  background: transparent;
  box-shadow: none;
  outline: none;
}

#slider_owl.owl-carousel button.owl-dot.active {
  background: transparent;
}

#slider_owl.owl-carousel button.owl-dot span {
  width: 12px;
  height: 12px;
  margin: 5px 7px;
  display: block;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
  backface-visibility: visible;
  transition: opacity 200ms ease, background-color 200ms ease;
}

#slider_owl.owl-carousel button.owl-dot.active span {
  background: #4bdbcc;
}

#slider_owl.owl-carousel button.owl-dot:hover span {
  background: #4bdbcc;
  opacity: 0.8;
}

#slider_owl.owl-carousel .owl-nav {
  position: absolute;
  inset: 0;
  top: 50%;
  left: 0;
  right: 0;
  width: auto;
  padding: 0 18px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  pointer-events: none;
}

#slider_owl.owl-carousel .owl-nav button {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 54px;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  line-height: 1;
  transition:
    transform 0.28s var(--ui-hover-ease),
    opacity 0.28s var(--ui-hover-ease),
    color 0.28s var(--ui-hover-ease);
}

#slider_owl.owl-carousel .owl-nav button span {
  display: block;
  font-size: 46px;
  line-height: 0.75;
  transform: translateY(-4px);
}

#slider_owl.owl-carousel .owl-nav button:hover,
#slider_owl.owl-carousel .owl-nav button:focus {
  background: transparent;
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: none;
}

#slider_owl .owl-stage {
  display: flex;
  align-items: center;
}

#slider_owl .owl-stage-outer {
  overflow: hidden;
}

#slider_owl .owl-item {
  display: flex;
  align-items: center;
}

#slider_owl .owl-item .item {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#slider picture,
#banner picture,
.product-box picture,
.para__col-pack picture {
  display: block;
}

#slider .item picture,
#banner picture {
  border-radius: 36px;
  overflow: hidden;
}

#slider .item picture,
#slider .item img {
  width: 100%;
}

#slider .item img,
#banner picture img {
  border-radius: 36px;
}

#banner .container::before {
  border-radius: 42px;
}

.product-box {
  border-radius: 28px;
}

#screenshot_owl_2 .ss_img {
  border-radius: 24px;
  overflow: hidden;
}

#screenshot_owl_2 .ss_img img {
  border-radius: 24px;
}

#screenshot_owl_2 .ss_img img[src*="sedentarismo"] {
  display: block;
  width: 100% !important;
  margin: 0;
}

@media (max-width: 767px) {
  #slider_owl.owl-carousel .owl-nav {
    padding: 0 10px;
  }

  #slider_owl.owl-carousel .owl-nav button {
    width: 42px;
    height: 42px;
  }

  #slider_owl.owl-carousel .owl-nav button span {
    font-size: 34px;
    transform: translateY(-4px);
  }
}

/* ------------------------------------------------
   8. FAQ ACCORDION — Estilo moderno
   ------------------------------------------------ */
#preguntas .card {
  border: none !important;
  border-bottom: 1px solid rgba(55, 72, 117, 0.13) !important;
  border-radius: 0 !important;
  background: transparent;
  margin-bottom: 0;
}

#preguntas .card:last-child {
  border-bottom: none !important;
}

#preguntas .card-header {
  background: transparent !important;
  border: none !important;
  padding: 0;
}

#preguntas .card-header .btn-link {
  color: #374875 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  font-family: 'Montserrat', sans-serif !important;
  text-decoration: none !important;
  width: 100%;
  text-align: left;
  padding: 20px 8px 20px 0;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  transition:
    color 0.28s var(--ui-hover-ease),
    transform 0.28s var(--ui-hover-ease);
  line-height: 1.45;
  box-shadow: none !important;
  border: none !important;
}

#preguntas .card-header .btn-link:hover,
#preguntas .card-header .btn-link:focus {
  color: #47c6c3 !important;
  text-decoration: none !important;
  background: transparent !important;
  transform: translateX(2px);
}

/* Ícono + / − */
#preguntas .card-header .btn-link::after {
  content: '+';
  font-size: 28px;
  font-weight: 300;
  font-family: 'Roboto', sans-serif;
  line-height: 1;
  margin-left: 16px;
  flex-shrink: 0;
  color: #6bd0d0;
  min-width: 22px;
  text-align: center;
  transition:
    transform 0.28s var(--ui-hover-ease),
    color 0.28s var(--ui-hover-ease);
}

#preguntas .card-header .btn-link[aria-expanded="true"]::after {
  content: '−';
}

#preguntas .card-header .btn-link:hover::after,
#preguntas .card-header .btn-link:focus::after {
  transform: scale(1.08);
  color: #47c6c3;
}

/* Cuerpo de respuesta */
#preguntas .card-body {
  background: #f8fafc !important;
  border-radius: 0 0 8px 8px;
  padding: 22px 28px 26px !important;
  border-left: 3px solid #6bd0d0 !important;
  margin: 0 0 6px;
}

#preguntas .card-body p,
#preguntas .card-body li {
  font-size: 15px !important;
  line-height: 1.7;
  color: #444;
}

#preguntas .card-body h3 {
  font-size: 15px !important;
  color: #374875 !important;
  margin: 12px 0 5px !important;
}

#preguntas .card-body hr {
  border-color: rgba(55, 72, 117, 0.12) !important;
  margin: 14px 0 !important;
}

/* ------------------------------------------------
   9. GLÓBULOS DECORATIVOS entre secciones
   ------------------------------------------------ */

/* Posición relativa necesaria para pseudo-elementos */
#familia-contractil,
#que,
.prevenir,
#preguntas,
.causas,
.sintomas {
  position: relative;
}

/* --- Familia Contractil --- */
#familia-contractil {
  background:
    radial-gradient(circle at 14% 20%, rgba(107, 208, 208, 0.16) 0%, transparent 26%),
    radial-gradient(circle at 86% 14%, rgba(239, 124, 53, 0.12) 0%, transparent 22%),
    linear-gradient(180deg, #f7fbfd 0%, #eef5f8 100%);
  padding: 72px 0;
}

#familia-contractil .container {
  position: relative;
  z-index: 3;
}

#prevenir,
#preguntas {
  padding-top: 72px !important;
}

.familia-contractil__header {
  max-width: 720px;
  margin: 0 auto 14px;
}

.familia-contractil__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 14px;
  border-radius: 0;
  background: transparent;
  border: none;
  color: #2e528e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#familia-contractil h2 {
  margin-bottom: 14px;
  color: #2a456f;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.familia-contractil__lead {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 0 !important;
  color: #59677b;
  font-size: 18px;
  line-height: 1.6;
}

#familia-contractil::before {
  content: '';
  position: absolute;
  top: -75px;
  right: 5%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 208, 208, 0.22) 0%, transparent 68%);
  pointer-events: none;
  z-index: 2;
}

#familia-contractil .row.pt-30 {
  padding-top: 26px;
}

#familia-contractil .col-md-4 > a {
  display: block;
  height: 100%;
}

#familia-contractil .product-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100%;
  padding: 34px 26px 24px;
  border-radius: 32px;
  box-shadow: 0 22px 44px rgba(40, 69, 111, 0.12);
  transition:
    transform 0.34s var(--ui-hover-ease),
    box-shadow 0.34s var(--ui-hover-ease),
    filter 0.34s var(--ui-hover-ease);
}

#familia-contractil .product-box h3 {
  min-height: auto;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

#familia-contractil .product-box img {
  margin-top: 20px !important;
  max-height: 220px;
  object-fit: contain;
  transition:
    transform 0.38s var(--ui-hover-ease),
    filter 0.38s var(--ui-hover-ease);
}

#familia-contractil .box-capsulas {
  background: linear-gradient(180deg, #62d6d2 0%, #4abbb9 100%);
}

#familia-contractil .box-comprimidos {
  background: linear-gradient(180deg, #f28b44 0%, #de6d29 100%);
}

#familia-contractil .box-crema {
  background: linear-gradient(180deg, #46639a 0%, #334976 100%);
}

#familia-contractil .product-box:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 44px rgba(33, 61, 101, 0.2);
}

#familia-contractil .product-box:hover img,
#familia-contractil .product-box:focus-within img {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 16px 24px rgba(22, 40, 67, 0.14));
}

@media (max-width: 767px) {
  #familia-contractil {
    padding: 94px 0 72px;
  }

  .familia-contractil__eyebrow {
    margin-bottom: 14px;
  }

  .familia-contractil__lead {
    font-size: 16px;
  }

  #familia-contractil .product-box {
    padding: 28px 22px 20px;
    border-radius: 28px;
  }

  #familia-contractil .product-box h3 {
    font-size: 22px;
  }

  #familia-contractil .product-box img {
    max-height: 190px;
  }
}

#familia-contractil::after {
  content: '';
  position: absolute;
  top: -45px;
  left: 7%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 124, 53, 0.15) 0%, transparent 68%);
  pointer-events: none;
  z-index: 2;
}

/* --- ¿Qué son las hemorroides? --- */
#que::before {
  content: '';
  position: absolute;
  top: -55px;
  left: 3%;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 240, 232, 0.5) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

#que::after {
  content: '';
  position: absolute;
  bottom: -55px;
  right: 4%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 208, 208, 0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* --- Síntomas (fondo azul oscuro) --- */
.sintomas::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 5%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 219, 204, 0.28) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* --- Causas (fondo celeste) --- */
.causas::before {
  content: '';
  position: absolute;
  top: -45px;
  right: 8%;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 72, 117, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.causas::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 6%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 208, 208, 0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* --- Prevenir --- */
.prevenir::before {
  content: '';
  position: absolute;
  top: -60px;
  right: 10%;
  width: 165px;
  height: 165px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 208, 208, 0.2) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.prevenir::after {
  content: '';
  position: absolute;
  top: -30px;
  left: 8%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 124, 53, 0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* --- FAQ --- */
#preguntas::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 5%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 72, 117, 0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

#preguntas::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 4%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 208, 208, 0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ------------------------------------------------
   10. TIPOGRAFÍA menor
   ------------------------------------------------ */
h2 {
  letter-spacing: 0.015em;
}

/* Footer legibilidad */
.copyright_con {
  padding: 22px 0 16px;
}

.copyright_con p,
.copyright_con p a,
.footer-legal-link {
  font-size: 13px !important;
  line-height: 1.72;
}

.copyright_con p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;
}

.copyright_con p a,
.footer-legal-link {
  color: rgba(255, 255, 255, 0.98);
}

.copyright_con p a,
.footer-legal-link {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition:
    color 0.28s var(--ui-hover-ease),
    text-decoration-thickness 0.28s var(--ui-hover-ease);
}

.copyright_con p a:hover,
.copyright_con p a:focus,
.footer-legal-link:hover,
.footer-legal-link:focus {
  color: #6bd0d0 !important;
  text-decoration-thickness: 2px;
}

.footer-legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
}

.footer-legal-link {
  display: inline-block;
  white-space: nowrap;
}

.footer__content-tel {
  gap: 8px;
}

.footer__content-tel i {
  font-size: 26px;
  color: #fff;
}

.footer-phone-link {
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  transition:
    color 0.28s var(--ui-hover-ease),
    text-shadow 0.28s var(--ui-hover-ease);
}

.footer-phone-link:hover,
.footer-phone-link:focus {
  color: #6bd0d0;
  text-decoration: none;
  text-shadow: 0 10px 20px rgba(107, 208, 208, 0.18);
}

/* ------------------------------------------------
   11. RESPONSIVE
   ------------------------------------------------ */
@media (max-width: 991px) {
  .header-logo-menu .navigatin {
    padding: 10px 10px 10px 18px !important;
    margin-top: 4px;
    border-radius: 30px;
    background: linear-gradient(125deg, rgba(46, 82, 142, 0.96) 0%, rgba(75, 219, 204, 0.92) 100%);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .home2 .main-menu ul {
    gap: 0;
  }

  .home2 .main-menu ul > li {
    flex-grow: 1 !important;
  }

  #screenshot_owl_2 .ss_img img[src*="sedentarismo"] {
    width: 100% !important;
  }

  /* Mobile menu overrides already handled by main block above.
     Only keep complementary adjustments here. */
  .mobile-nav-link {
    min-height: 56px;
    display: flex;
    align-items: center;
  }

  .mobile-nav-family-link {
    min-height: 0;
    display: inline-flex;
  }

  #familia-contractil {
    padding: 82px 0 60px;
  }

  #familia-contractil .row.pt-30 {
    padding-top: 18px;
  }

  #familia-contractil .col-md-4 {
    margin-bottom: 18px;
  }

  #familia-contractil .col-md-4:last-child {
    margin-bottom: 0;
  }

  .acerca,
  .causas,
  .prevenir,
  #preguntas {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .para {
    margin-bottom: 28px;
    padding: 0;
  }

  .para__col-pack {
    padding: 28px 18px 12px;
  }

  .para__col-text {
    padding: 26px 20px 30px;
  }

  .para h3,
  .como-se-toma h3 {
    line-height: 1.12;
  }

  .para p,
  .para.utiliza ul > li {
    line-height: 1.55;
  }

  #banner .container::before,
  #slider .item picture,
  #slider .item img,
  #banner picture,
  #banner picture img {
    border-radius: 24px;
  }

  .sintomas {
    padding: 74px 0 68px;
  }

  .sintomas h2 {
    font-size: 34px;
    line-height: 1.02;
    margin-bottom: 16px;
  }

  .sintomas h4 {
    padding: 18px 0 12px;
    font-size: 20px;
  }

  .sintomas p {
    line-height: 1.55;
  }

  .sintomas .mid_img img {
    max-width: 180px;
    margin: 30px auto 0;
  }

  .prevenir__images img {
    max-width: 150px;
  }

  .prevenir__images p {
    font-size: 16px;
    line-height: 1.35;
  }

  #preguntas .card-header .btn-link {
    padding: 18px 2px 18px 0;
    font-size: 15px !important;
    line-height: 1.4;
  }

  #preguntas .card-body {
    padding: 18px 18px 22px !important;
    margin-bottom: 10px;
  }

  .footers {
    padding-top: 100px;
    background-position: center top;
  }

  .footer_content {
    padding-bottom: 20px;
  }

  .footer__content-logo {
    max-width: 150px;
  }

  .footer-phone-link {
    font-size: 21px;
  }

  .copyright_con {
    padding: 20px 0 12px;
  }
}

@media (max-width: 576px) {
  #slider .container-slider,
  #slider .container-slider.container-fluid,
  #slider .container-slider.container {
    width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .header-logo-menu {
    top: 10px;
  }

  .header-logo-menu .container-fluid {
    width: calc(100% - 30px);
  }

  .header-logo-menu .col-lg-9 {
    flex: 0 0 64px;
    width: 64px;
  }

  .header-logo-menu .navigatin {
    padding: 8px 8px 8px 14px !important;
    border-radius: 24px;
  }

  .mobile-nav-toggle {
    width: 50px;
    height: 50px;
  }

  .mobile-nav-chip {
    display: none;
  }

  .mobile-nav-header {
    padding: 8px 8px 8px 14px;
  }

  .mobile-nav-logo img {
    width: 110px;
    max-width: 110px;
  }

  .mobile-nav-close {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .mobile-nav-link {
    min-height: 68px;
    padding: 18px 16px;
    font-size: 15px;
  }

  .mobile-nav-entry--family {
    margin: 0 10px;
    border-radius: 0;
  }

  .mobile-nav-family-links {
    gap: 6px;
    padding: 0 0 6px;
  }

  .mobile-nav-family-link {
    min-height: 100px;
    border-radius: 8px;
    font-size: 9.5px;
  }

  .mobile-nav-family-media {
    min-height: 48px;
    margin-bottom: 5px;
  }

  .mobile-nav-family-media img {
    max-height: 46px;
  }

  .mobile-nav-family-title {
    font-size: 9px;
  }

  .mobile-nav-actions {
    gap: 6px;
    padding: 18px 18px 0;
  }

  .mobile-nav-contact-phone {
    font-size: 15px;
  }

  .mobile-nav-contact-hours {
    font-size: 9px;
  }

  #familia-contractil {
    padding: 76px 0 54px;
  }

  .familia-contractil__header {
    margin-bottom: 10px;
  }

  .familia-contractil__lead {
    font-size: 15px;
    line-height: 1.55;
  }

  #familia-contractil .product-box {
    padding: 24px 18px 18px;
  }

  .acerca,
  .causas,
  .prevenir,
  #preguntas {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .para__col-pack {
    padding: 0px 16px 10px;
  }

  .para__col-text {
    padding: 22px 16px 26px;
  }

  .link-pdf {
    min-width: 228px;
  }

  .sintomas {
    padding: 64px 0 58px;
  }

  .sintomas h2 {
    font-size: 30px;
  }

  .sintomas .mid_img img {
    max-width: 156px;
  }

  #preguntas .card-body {
    padding: 18px 16px 22px !important;
  }

  .footers {
    padding-top: 84px;
  }

  .footer__content-tel {
    gap: 4px;
    flex-direction: column;
  }

  .footer-phone-link {
    font-size: 19px;
  }

  .copyright_con {
    padding-bottom: 16px;
  }

  .footer-legal-links {
    gap: 8px 14px;
  }
}

/* ------------------------------------------------
   12. TIPOGRAFÍA HOMOGÉNEA
   ------------------------------------------------ */
:root {
  --type-section-title: clamp(2.15rem, 3.35vw, 3rem);
  --type-section-subtitle: clamp(1.45rem, 1.95vw, 1.72rem);
  --type-section-lead: clamp(1.05rem, 1.28vw, 1.16rem);
  --type-body-copy: 1.0625rem;
  --type-body-tight: 1rem;
}

.acerca h2,
#que h2,
#causas h2,
#prevenir h2,
#preguntas h2,
.sintomas h2,
#familia-contractil h2 {
  font-family: Montserrat, sans-serif;
  font-size: var(--type-section-title) !important;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.028em;
}

.acerca h2,
#que h2,
#causas h2,
#prevenir h2,
#preguntas h2 {
  margin-bottom: 16px;
}

.acerca h3,
.para h3,
.como h3,
.familia h3,
#preguntas .card-body h3 {
  font-size: var(--type-section-subtitle) !important;
  line-height: 1.14;
  letter-spacing: -0.018em;
}

#familia-contractil .product-box h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.62rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.familia-contractil__lead,
#que .que__text p,
#causas .text-center p,
#prevenir > .container > .row:first-child p,
.sintomas .title p {
  font-size: var(--type-section-lead) !important;
  line-height: 1.66 !important;
}

.acerca p,
.para p,
.acerca ul > li,
.para.utiliza ul > li {
  font-size: var(--type-body-copy);
  line-height: 1.62;
}

.acerca ul > li,
.para.utiliza ul > li {
  position: relative;
  padding-left: 1.15em;
}

.acerca ul > li::before,
.para.utiliza ul > li::before {
    left: 3px !important;
  top: 0.14em;
  width: 0.9em;
  font-size: 1.15em;
  line-height: 1;
  display: block;
      transform: scale(1.6);
      color: rgb(255, 242, 45);
}

#preguntas .card-header .btn-link {
  font-size: 1.03rem !important;
  line-height: 1.45;
}

#preguntas .card-body p,
#preguntas .card-body li {
  font-size: var(--type-body-tight) !important;
  line-height: 1.72;
}

.mega-menu__intro .mega-menu__intro-title {
  font-family: Montserrat, sans-serif;
  font-size: 1.32rem;
  line-height: 1.08;
}

.mega-menu__intro p,
.mega-menu__product-copy,
.mega-menu__feature-copy {
  line-height: 1.45;
}

.mega-menu__feature-title {
  font-family: Montserrat, sans-serif;
  font-size: 1.16rem;
  line-height: 1.16;
}

.link-pdf__text {
  font-size: 0.98rem;
  line-height: 1.24;
}

@media (max-width: 991px) {
  .acerca h2,
  #que h2,
  #causas h2,
  #prevenir h2,
  #preguntas h2,
  .sintomas h2,
  #familia-contractil h2 {
    font-size: clamp(1.95rem, 6vw, 2.35rem) !important;
    line-height: 1.08;
  }

  .acerca h3,
  .para h3,
  .como h3,
  .familia h3,
  #preguntas .card-body h3 {
    font-size: clamp(1.32rem, 4.2vw, 1.56rem) !important;
  }

  .familia-contractil__lead,
  #que .que__text p,
  #causas .text-center p,
  #prevenir > .container > .row:first-child p,
  .sintomas .title p {
    font-size: 1.02rem !important;
    line-height: 1.62 !important;
  }

  .acerca p,
  .para p,
  .acerca ul > li,
  .para.utiliza ul > li {
    font-size: 1rem;
    line-height: 1.58;
  }
}

@media (max-width: 576px) {
  .acerca h2,
  #que h2,
  #causas h2,
  #prevenir h2,
  #preguntas h2,
  .sintomas h2,
  #familia-contractil h2 {
    font-size: clamp(1.82rem, 7vw, 2.1rem) !important;
    line-height: 1.1;
    letter-spacing: -0.024em;
  }

  #familia-contractil .product-box h3 {
    font-size: 1.34rem;
  }

  #preguntas .card-header .btn-link {
    font-size: 0.98rem !important;
  }

  .link-pdf__text {
    font-size: 0.94rem;
  }
}

@media (max-width: 991px) {
  :root {
    --mobile-section-space: 54px;
  }

  #info,
  #familia-contractil,
  #acerca,
  #comprimidos,
  #acercaF,
  #que,
  .sintomas,
  .causas,
  #prevenir,
  #preguntas {
    padding-top: var(--mobile-section-space) !important;
    padding-bottom: var(--mobile-section-space) !important;
  }

  .header-logo-menu {
    top: 0;
  }

  .header-logo-menu:not(.active_sc) {
    padding: 0;
  }

  .header-logo-menu:not(.active_sc) .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .header-logo-menu:not(.active_sc) .navigatin {
    margin: 0;
    padding: 10px 10px 10px 18px !important;
    border-radius: 0;
    background: linear-gradient(125deg, rgba(46, 82, 142, 0.96) 0%, rgba(75, 219, 204, 0.92) 100%);
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-logo-menu:not(.active_sc) .col-lg-9 {
    flex: 0 0 52px;
    width: 52px;
  }

  .header-logo-menu:not(.active_sc) .mobile-nav-toggle {
    border-radius: 14px;
  }

  .home2.header-logo-menu.active_sc {
    padding: 10px 0;
  }

  .home2.header-logo-menu.active_sc .container-fluid {
    width: calc(100% - 22px);
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .home2.header-logo-menu.active_sc .navigatin {
    margin-top: 4px;
    padding: 10px 10px 10px 18px !important;
    border-radius: 30px;
    background: linear-gradient(125deg, rgba(46, 82, 142, 0.96) 0%, rgba(75, 219, 204, 0.92) 100%);
    border: 1px solid rgb(255, 255, 255);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  #info {
    margin-top: 0 !important;
    padding-top: 42px !important;
    padding-bottom: 40px !important;
  }

  #familia-contractil {
    padding-top: 56px !important;
    padding-bottom: 46px !important;
  }

  #banner {
    padding: 18px 0 20px !important;
    margin-bottom: 0 !important;
  }

  .para {
    margin-bottom: 0 !important;
  }

  .para__col-pack {
    padding: 18px 18px 8px !important;
  }

  .para__col-text {
    padding: 18px 20px 22px !important;
  }

  #familia-contractil .row.pt-30,
  #que .que__text p.pt-30,
  .causas .text-center p.pt-3,
  #prevenir > .container > .row:first-child p.pt-3,
  #preguntas .row.pt-30 {
    padding-top: 14px !important;
  }

  #sintomas .row.pt-50.pb-50 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .prevenir__images {
    padding-top: 14px !important;
  }
}

@media (max-width: 767px) {
  .header-logo-menu:not(.active_sc) .navigatin {
    padding: 8px 8px 8px 14px !important;
  }

  .home2.header-logo-menu.active_sc .container-fluid {
    width: calc(100% - 30px);
  }

  .home2.header-logo-menu.active_sc .navigatin {
    padding: 8px 8px 8px 14px !important;
    border-radius: 24px;
  }
}

@media (max-width: 576px) {
  :root {
    --mobile-section-space: 48px;
  }

  #info {
    margin-top: 2px;
    padding-top: 32px !important;
    padding-bottom: 52px !important;
  }

  #familia-contractil {
    padding-top: 50px !important;
    padding-bottom: 40px !important;
  }

  #banner {
    padding: 24px 0 16px !important;
        margin: 0 16px;

  }

  .para__col-pack {
    padding: 0!important;
  }

  .para__col-text {
    padding: 16px 16px 20px !important;
  }

  #familia-contractil .row.pt-30,
  #que .que__text p.pt-30,
  .causas .text-center p.pt-3,
  #prevenir > .container > .row:first-child p.pt-3,
  #preguntas .row.pt-30 {
    padding-top: 10px !important;
  }

  .prevenir__images {
    padding-top: 10px !important;
  }
}

@media (max-width: 991px) {
  #screenshot_owl_2 .ss_img {
    transform: scale(0.96) !important;
    opacity: 0.9;
  }

  #screenshot_owl_2 .active.center .ss_img {
    transform: scale(1) !important;
    box-shadow: 0 18px 34px rgba(46, 82, 142, 0.14) !important;
  }

  #screenshot_owl_2 .ss_img img,
  #screenshot_owl_2 .ss_img img[src*="sedentarismo"] {
    display: block;
    width: 82% !important;
    max-width: 228px;
    margin: 0 auto;
  }

  #info .row + .row {
    margin-top: 2px;
  }

  #info .col.pb-2.pb-md-5 {
    padding-bottom: 4px !important;
  }

  #info strong {
    font-size: 17px !important;
    line-height: 1.24 !important;
    margin-bottom: 8px !important;
  }

  #info h2 {
    font-size: 20px !important;
    line-height: 1.14 !important;
    letter-spacing: -0.02em;
    margin-bottom: 0;
  }

  #info p {
    font-size: 15px !important;
    line-height: 1.38 !important;
    margin-bottom: 0;
  }

  #info h2.pt-3.pt-lg-0.pl-lg-5 {
    padding-top: 6px !important;
    padding-left: 0 !important;
  }

  #info .info__logo img {
    width: 164px !important;
    max-width: 164px;
  }
}

@media (max-width: 576px) {
  #screenshot_owl_2 .ss_img {
    transform: scale(0.94) !important;
  }

  #screenshot_owl_2 .active.center .ss_img {
    box-shadow: 0 14px 26px rgba(46, 82, 142, 0.12) !important;
  }

  #screenshot_owl_2 .ss_img img,
  #screenshot_owl_2 .ss_img img[src*="sedentarismo"] {
    width: 78% !important;
    max-width: 210px;
  }

  #info .row + .row {
    margin-top: 0;
  }

  #info strong {
    font-size: 16px !important;
    line-height: 1.22 !important;
    margin-bottom: 6px !important;
  }

  #info h2 {
    font-size: 18px !important;
    line-height: 1.12 !important;
  }

  #info p {
    font-size: 14px !important;
    line-height: 1.34 !important;
  }

  #info h2.pt-3.pt-lg-0.pl-lg-5 {
    padding-top: 4px !important;
  }

  #info .info__logo img {
    width: 146px !important;
    max-width: 146px;
  }
}

@media (max-width: 991px) {
  #slider {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  #slider .container-slider,
  #slider .container-slider.container-fluid,
  #slider .container-slider.container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #slider .item picture,
  #slider .item img,
  #slider_owl .owl-stage-outer {
    border-radius: 0 !important;
  }

  #slider .item img {
    display: block;
    width: 100%;
    height: auto;
  }

  #slider_owl.owl-carousel .owl-dots {
    bottom: 16px;
    margin-top: 0 !important;
    display: none;
  }

  #info.info {
    margin-top: 2px !important;
  }
}

@media (max-width: 991px) {
  #familia-contractil,
  #acerca,
  #comprimidos,
  #acercaF,
  #que,
  .sintomas,
  .causas,
  #prevenir,
  #preguntas {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }

  .sintomas {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }

  #sintomas .row.pt-50.pb-50 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .causas {
    padding-top: 46px !important;
    padding-bottom: 34px !important;
  }

  .causas::before,
  .causas::after,
  .sintomas::after {
    display: none;
  }

  #screenshot_owl_2 {
    padding-top: 24px !important;
    padding-bottom: 14px !important;
  }

  #screenshot_owl_2 .active.center .ss_img {
    box-shadow: none !important;
  }

  #preguntas .card-header .btn-link {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  #preguntas .card-body {
    padding: 16px 18px 18px !important;
    margin-bottom: 6px;
  }
}

@media (max-width: 576px) {
  #familia-contractil,
  #acerca,
  #comprimidos,
  #acercaF,
  #que,
  .sintomas,
  .causas,
  #prevenir,
  #preguntas {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  .sintomas {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  .causas {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  #screenshot_owl_2 {
    padding-top: 18px !important;
    padding-bottom: 8px !important;
  }

  #screenshot_owl_2 .active.center .ss_img {
    box-shadow: none !important;
  }

  #preguntas .card-header .btn-link {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  #preguntas .card-body {
    padding: 14px 16px 16px !important;
    margin-bottom: 4px;
  }

  .navbar-brand {

padding-top: 0;


}
}

@media (max-width: 991px) {
  #acerca h2,
  #comprimidos h2,
  #acercaF h2 {
    width: 100%;
    text-align: left !important;
    padding-left: 20px;
    margin-bottom: 14px;
    border-left: 5px solid transparent;
    margin-left: 16px;
  }

  #acerca h2 {
    border-left-color: #4abbb9;
  }

  #comprimidos h2 {
    border-left-color: #de6d29;
  }

  #acercaF h2 {
    border-left-color: #334976;
  }

  #paraF .para__col-text {
    background: #334976;
  }
}

@media (max-width: 576px) {
  #acerca h2,
  #comprimidos h2,
  #acercaF h2 {
    padding-left: 18px;
    border-left-width: 4px;
    margin-bottom: 12px;
  }
}



/* 1. Forzar el recorte del banner principal */
section#slider,
#slider .container-slider,
#slider .container-slider.container-fluid,
#slider .container-slider.container,
#slider_owl.owl-carousel .owl-stage-outer {
  overflow: hidden !important;
}

/* 2. Ajuste de precisión para el slider principal */
#slider_owl.owl-carousel .owl-item {
  width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* 3. Owl a veces deja un pequeño sangrado lateral */
#slider_owl.owl-carousel .owl-stage {
  display: flex;
}

.hero-media-slider .hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
}

/* Alto estable del slider */
.hero-media-slider .hero-slider::before {
  content: "";
  display: block;
  padding-top: 45%;
}

.hero-media-slider .hero-slide {
  position: absolute;
  inset: 0;
  display: none;
}

.hero-media-slider .hero-slide.is-active {
  display: block;
}

.hero-media-slider .hero-slide picture,
.hero-media-slider .hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media-slider .hero-slide picture,
.hero-media-slider .hero-slide img {
  position: absolute;
  inset: 0;
}

.hero-media-slider .hero-slide img {
  object-fit: cover;
  border: 0;
  background: #000;
}

/* navegación */
.hero-media-slider .hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(55, 72, 117, 0.85);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 16px 8px;
}

.hero-media-slider .hero-slider__nav--prev {
  left: 16px;
}

.hero-media-slider .hero-slider__nav--next {
  right: 16px;
}

.hero-media-slider .hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-media-slider .hero-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-media-slider .hero-slider__dot.is-active {
  background: #fff;
}

/* slide de video */
.hero-video-shell {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

/* player del hero */
#hero-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.2);
  transform-origin: center center;
  pointer-events: none;
}

#hero-video-player iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* botón hero */
.hero-video-cta {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  z-index: 5;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: #374875;
  background: #fff22d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-video-cta:hover {
  transform: translateX(-50%) translateY(-1px);
  background: #ffe600;
}

.commercial-modal .modal-content {
  background: transparent;
  border: 0;
  box-shadow: none;
  position: relative;
}

.commercial-modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 20;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.commercial-modal__close span {
  display: block;
  transform: translateY(-1px);
}

.commercial-modal__close:hover {
  background: rgba(0, 0, 0, 0.95);
}

@media (max-width: 767.98px) {
  .commercial-modal__close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    font-size: 26px;
  }
}

/* modal limpio: solo video */
.commercial-modal .modal-dialog {
  max-width: 1100px;
  margin: 1.75rem auto;
}

.commercial-modal .modal-content {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.commercial-modal .modal-body {
  padding: 0;
}

.commercial-modal__player-wrap {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
}

.commercial-modal__player-wrap::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

#commercial-modal-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.commercial-modal .modal-backdrop,
.modal-backdrop.show {
  opacity: 0.75;
}

@media (max-width: 767.98px) {
  .hero-media-slider .hero-slider {
    border-radius: 16px;
  }

  .hero-media-slider .hero-slider::before {
    padding-top: 56.25%;
  }

  .hero-media-slider .hero-slider__nav {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .hero-media-slider .hero-slider__nav--prev {
    left: 10px;
  }

  .hero-media-slider .hero-slider__nav--next {
    right: 10px;
  }

  .hero-media-slider .hero-slider__dots {
    bottom: 10px;
  }

  #hero-video-player {
    transform: scale(1.35);
  }

  .hero-video-cta {
    bottom: 40px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .commercial-modal .modal-dialog {
    margin: 0.75rem;
  }

  .commercial-modal__player-wrap {
    border-radius: 14px;
  }
}

.commercial-modal .modal-dialog {
  max-width: 1100px;
  margin: 1.75rem auto;
}

.commercial-modal .modal-content {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.commercial-modal .modal-body {
  padding: 0;
}

.commercial-modal__player-wrap {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
}

.commercial-modal__player-wrap::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

#commercial-modal-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767.98px) {
  .commercial-modal .modal-dialog {
    margin: 0.75rem;
  }

  .commercial-modal__player-wrap {
    border-radius: 14px;
  }
}