/* Fuente icomoon: usar solo SVG para evitar 404 de .ttf/.woff que no están en el repo */
@font-face {
  font-family: "icomoon";
  src: url("/fonts/icomoon.svg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* Ensure only one hero slide is visible (slider may be enhanced by scripts.js) */
.slider-ppal .Slider .Slider-item {
  display: none !important;
}
.slider-ppal .Slider .Slider-item:first-child {
  display: block !important;
}

/* Hide loading overlay once page is ready (script can remove cover-hidden) */
.cover-hidden {
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
body.landing-loaded .cover-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Contact form feedback */
.contact-success {
  color: #155724;
  background-color: #d4edda;
  padding: 10px 14px;
  border-radius: 4px;
  margin: 8px 0;
}
.contact-error {
  color: #721c24;
  background-color: #f8d7da;
  padding: 10px 14px;
  border-radius: 4px;
  margin: 8px 0;
}

/* ========== Header móvil: menú hamburguesa visible y funcional ========== */
@media (max-width: 39.9375em) {
  .Header .Header-web-container {
    display: none !important;
  }
  .Header .Header-mobile {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    width: 100%;
    box-sizing: border-box;
  }
  .Header .Header-mobile .Header-logo-mobile {
    flex: 0 0 auto;
    padding-left: 16px;
  }
  .Header .Header-mobile .Header-mobile-show {
    flex: 0 0 auto;
    padding-right: 16px !important;
    min-width: 48px;
    justify-content: flex-end;
  }
  .Header .icon-mobile-btn {
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0b85ce;
    -webkit-tap-highlight-color: transparent;
  }
  .Header .icon-mobile-btn:hover {
    opacity: 0.8;
  }
  .Header .Header-mobile-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border-top: 1px solid #e6e9ea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .Header .Header-mobile-menu-open {
    display: block !important;
  }
  .Header .Header-mobile-menu li {
    border-bottom: 1px solid #e6e9ea;
  }
  .Header .Header-mobile-menu li:last-child {
    border-bottom: none;
  }
  .Header .Header-mobile-menu a {
    display: block;
    padding: 16px 24px;
    color: #0b85ce;
    text-decoration: none;
    font-size: 16px;
  }
  .Header .Header-mobile-menu a:hover {
    background: #f5f5f5;
  }
}

@media (min-width: 40em) {
  .Header .Header-mobile {
    display: none !important;
  }
  .Header .Header-mobile-menu {
    display: none !important;
  }
}
