        html, body {
      overflow-x: hidden;
      max-width: 100%;
    }

    .container-fluid, .row, section {
      overflow-x: hidden;
    }

    /* Estilo SECCIONES */
    .section {
      height: 100vh;
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      position: relative;
      transition: background-image 0.5s ease-in-out;
    }

    .section-content {
      text-align: center;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
      z-index: 2;
      position: relative;
    }

    .section-content.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Estilo TITULO SECCIONES */
    .section-content h1 {
      font-size: 3rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: White;
      margin-bottom: 1rem;
    }

    .section-content-neg h1 {
      font-size: 3rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: black;
      margin-bottom: 1rem;
    }

    /* Estilo del párrafo SECCIONES */
    .section-content p {
      font-size: 1.25rem;
      color: white;
      letter-spacing: 0.5px;
      margin-bottom: 2rem;
      line-height: 1.6;
    }

    .section-content p,
    .section-content {
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
    }

    .text-green {
      color: #00a878; /* Verde institucional Maxtrim - reemplazar si tenés otro código */
      font-weight: 600; /* opcional: da un poco más de fuerza al texto */
    }

    /* Overlay GENERAL */
    .overlay {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.5);
      z-index: 1;
    }

    
    /* Overlay para Fondos Intermedios */
    .overlay-medio {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.7);
      z-index: 1;
    }

    /* Overlay para Fondos Claros */
    .overlay-oscuro {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.9);
      z-index: 1;
    }

    /* Estilo del Navbar */
    .navbar-brand {
      margin-left: 20px; /* alinea el logo con el texto de las section-left */
    }

    .navbar-nav .nav-link {
      position: relative;
      color: #ffffff;
      transition: color 0.3s ease;
    }

    .navbar-nav .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      height: 2px;
      width: 100%;
      background-color: #3cb686;
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
      color: #3cb686;
    }

    .navbar-nav .nav-link:hover::after {
      width: 100%;
      transform: scaleX(1);
    }

    .navbar.scrolled {
      background-color: #0d0d0d !important;
      transition: background-color 0.5s ease;
      scroll-behavior: smooth;
    }

    /* Chevron para bajar a la siguiente sección */
    .chevron-down {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      width: 40px;
      height: 40px;
      cursor: pointer;
      fill: #3cb686;
      animation: bounce 2s infinite;
      z-index: 3;
    }

    @keyframes bounce {
      0%, 100% {
      transform: translateX(-50%) translateY(0);
      }
      50% {
      transform: translateX(-50%) translateY(10px);
      } 
    }

    @keyframes bounce-up {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-15px);
      }
    }

    .dropdown-menu {
      background-color: #f9f9f9;
      border-radius: 8px;
      padding: 0.5rem;
      min-width: 200px;
    }

    .dropdown-item:hover {
      background-color: #3cb686;
      color: white;
    }

    .section-video {
      position: relative;
      overflow: hidden;
    }

    .bg-video {
      position: absolute;
      top: 0;
      left: 0;
      min-width: 100%;
      min-height: 100%;
      object-fit: cover;
      z-index: 0;
    }

    .button-group {
      margin-top: 30px;
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }

        /* Botón base */
    .btn-maxtrim {
      display: inline-block;
      padding: 0.75rem 2rem;
      border-radius: 30px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-size: 0.9rem;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
      text-align: center;
      text-decoration: none;
    }

    /* Verde institucional */
    .btn-maxtrim-green {
      background-color: #3cb686;
      color: white;
    }

    .btn-maxtrim-green:hover {
      background-color: #89969E;
    }

    /* Negro elegante */
    .btn-maxtrim-dark {
      background-color: #1e1e1e;
      color: white;
    }

    .btn-maxtrim-dark:hover {
      background-color: #89969E;
    }

    .maxtrim-text-left {
      max-width: 700px;
      text-align: left;
      color: white;
      padding: 40px 20px;
    }

    .maxtrim-text-right {
      max-width: 700px;
      text-align: right;
      color: white;
      padding: 40px 20px;
    }

    .small-title {
      font-size: 14px;
      letter-spacing: 1px;
      font-weight: 600;
    }

    .small-title-neg {
      font-size: 14px;
      letter-spacing: 1px;
      font-weight: 600;
      color: black;
    }

    .main-title {
      font-size: 48px;
      font-weight: 800;
      line-height: 1.2;
      margin: 10px 0;
      text-transform: uppercase;
    }

    .main-title-neg {
      font-size: 48px;
      font-weight: 800;
      line-height: 1.2;
      margin: 10px 0;
      text-transform: uppercase;
      color: black;
    }
    
    @media (max-width: 768px) {
      .main-title-neg {
        font-size: 3rem;
        hyphens: auto;
        word-break: break-word;
        overflow-wrap: break-word;
      }
    
      .maxtrim-text-left h1,
      .maxtrim-text-left {
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
      }
    }

    .main-title .highlight {
      color: #3cb686; /* Verde institucional */
    }

    .main-title-neg .highlight {
      color: #3cb686; /* Verde institucional */
    }

    .description {
      font-size: 18px;
      font-weight: 300;
      margin-top: 20px;
    }

    .description-neg {
      font-size: 18px;
      font-weight: 400;
      margin-top: 20px;
      color: black;
    }

        /* Estilos del botón */
    .whatsapp-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #1B9672;
      color: white;
      font-weight: bold;
      padding: 12px 16px;
      border-radius: 40px;
      display: flex;
      align-items: center;
      text-decoration: none;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      animation: borderPulse 8s infinite ease-in-out;
      z-index: 1000;
      transition: all 0.3s ease;
    }

    .whatsapp-button:hover {
      background-color: #1ebc5a;
    }

    .whatsapp-button img {
      width: 24px;
      height: 24px;
      margin-right: 8px;
    }

        .especialista-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #1B9672;
      color: white;
      font-weight: bold;
      padding: 12px 16px;
      border-radius: 40px;
      display: flex;
      align-items: center;
      text-decoration: none;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      animation: borderPulse 8s infinite ease-in-out;
      z-index: 1000;
      transition: all 0.3s ease;
    }

    .especialista-button:hover {
      background-color: #1ebc5a;
    }

    /*Botones Redes Footer*/
    .footer-socials a {
      color: white;
      font-size: 1.1rem;
      transition: color 0.3s ease;
    }

    .footer-socials a:hover {
      color: #3cb686 !important; /* Verde institucional */
    }


    @keyframes borderPulse {
  0% {
    border-radius: 30px;
  }
  25% {
    border-radius: 10px 30px 10px 30px;
  }
  50% {
    border-radius: 5px;
  }
  75% {
    border-radius: 30px 10px 30px 10px;
  }
  100% {
    border-radius: 30px;
  }
}

.nav-link:hover .chevron {
  border-top-color: #1ebc5a;
}

/* Chevron visual */
.chevron {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid White;
  transition: transform 0.3s ease;
}

.chevron-prof {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #1ebc5a;
  transition: transform 0.3s ease;
}

#eshop {
  position: relative;
}

.scroll-feature-section {
  background: #f9f9f9;
}

.feature-block h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-block p {
  font-size: 1rem;
  color: #555;
}

.sticky-image {
  position: sticky;
  top: 100px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MOBILE FIRST */
@media (max-width: 768px) {

  .main-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .description,
  .section-content p {
    font-size: 16px;
    padding: 0 10px;
  }

  .section {
    height: auto;
    padding: 80px 0;
    flex-direction: column;
    justify-content: center;
  }

  .maxtrim-text-left,
  .maxtrim-text-right {
    text-align: center;
    padding: 20px;
  }

  .button-group {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .btn-maxtrim {
    width: 80%;
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
  }

  .navbar .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 1rem;
  }

  .dropdown-menu {
    min-width: 100%;
  }

  .chevron-down,
  .chevron-up-wrapper {
    bottom: 15px;
    width: 30px;
    height: 30px;
  }

  .whatsapp-button {
    bottom: 15px;
    right: 15px;
    padding: 10px 12px;
  }

  .whatsapp-button span {
    display: none;
  }
}

/* iOS fix solo si NO rompe layout */
@supports (-webkit-touch-callout: none) {
  .section {
    min-height: 100vh;
    height: auto;
    padding-top: 70px; /* espacio para la navbar en mobile */
    box-sizing: border-box;
  }
}


@media (max-width: 576px) {
  .whatsapp-button span {
    display: none;
  }

  .whatsapp-button img {
    margin-right: 0;
  }

  .whatsapp-button {
    padding: 12px; /* más compacto si solo hay ícono */
    border-radius: 50%; /* lo hace más redondo */
    width: 48px;
    height: 48px;
    justify-content: center; /* centra el ícono dentro */
  }
}

/*Mapa*/
@media (max-width: 768px) {
  #eshop .col-md-8,
  #eshop .col-md-4 {
    max-height: none !important;
  }
  #resultsList {
    max-height: 300px;
    overflow-y: auto;
  }
}

.leaflet-control-attribution {
  font-size: 4px;
  opacity: 0.4;
}

#resultsList .list-group-item {
  background-color: #37a579 !important;  /* Verde Maxtrim */
  color: #fff !important;
  border: none;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: background-color 0.3s ease;
  font-size: 14px;
  padding: 10px 14px;
  line-height: 1.2;
  white-space: normal; /* Permite salto de línea si necesario */
}

#resultsList .list-group-item:hover,
#resultsList .list-group-item:focus {
  background-color: #2b855c !important;  /* Verde un poco más oscuro */
  color: #fff !important;
  cursor: pointer;
}

#resultsList,
#resultsList .list-group-item,
#resultsList .list-group-item:hover {
  font-family: 'Inter', sans-serif;
}

/* Fondo del panel */
.panel-listado {
  background-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 0 8px 8px 0;
}

/* Para pantallas pequeñas: redondear abajo */
@media (max-width: 768px) {
  .panel-listado {
    border-radius: 0 0 8px 8px;
  }
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  z-index: 999;
  cursor: pointer;
  border-radius: 8px 0 0 8px;
  text-align: center;
  padding: 10px;
}

@media (max-width: 768px) {
  .map-overlay {
    border-radius: 8px 8px 0 0;
  }
}


/* Barra vertical a la izquierda del texto */
.divider-bar {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  height: 18px;
  margin-right: 8px;
}

/* Separador visual del selector */
.nav-view-selector {
  margin-left: 16px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

/* Elimina la animación de subrayado solo para el selector Pacientes */
.nav-view-selector .nav-link::after {
  display: none !important;
}

/* Estilo de texto verde sin subrayado */
.nav-view-selector .link-menu {
  color: #3cb686;
  text-decoration: none;
  font-weight: 500;
}

/* Estilo acordeón FAQ */
.faq-accordion .accordion-item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.faq-accordion .accordion-button {
  background-color: transparent;
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 1rem 0;
  border: none;
  box-shadow: none;
  position: relative;
}

.faq-accordion .accordion-button::after {
  content: '+';
  font-size: 1.2rem;
  color: #3cb686;
  position: absolute;
  right: 1rem;
  transform: none;
  background-image: none !important;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  content: '×';
  color: white;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.faq-accordion .accordion-body {
  background-color: #3cb686;
  color: white;
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.accordion-body {
  text-align: left;
}

/* Animación fade-in / fade-out */
#newsletterPopup {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#newsletterPopup.visible {
  opacity: 1;
  visibility: visible;
}

#partners img {
  transition: filter 0.3s ease;
}

#partners img:hover {
  filter: brightness(0) saturate(100%) invert(57%) sepia(20%) saturate(918%) hue-rotate(90deg) brightness(90%) contrast(100%);
}


/* === BLOQUE TEMPORAL DISTRIBUIDORES === */
#eshop .mensaje-temp {
  max-width: 700px;
  margin: 0 auto 30px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#eshop .mensaje-temp p {
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Deshabilitar mapa y panel temporalmente */
#eshop #map,
#eshop #map-overlay,
#eshop .panel-listado {
  pointer-events: none !important;
  opacity: 0.15 !important;
  filter: grayscale(100%) blur(2px);
  user-select: none !important;
}


/* Elimina visualmente el mapa y el listado */
#eshop .row.g-0.flex-md-nowrap.flex-wrap.mt-4.rounded.shadow {
  display: none !important;
}

#eshop {
  height: auto !important;
  padding: 100px 0 80px;
}

/* Eliminar rectángulo azul (Safari iOS) en links y dropdowns */
.navbar .nav-link,
.navbar .dropdown-item {
  -webkit-tap-highlight-color: transparent; /* esto elimina el rectángulo azul en iOS */
  outline: none !important;
  box-shadow: none !important;
}






