/* Ocultar lupa del buscador (sin función) */
.header-button .search-trigger,
.header-button .search-icon { display: none !important; }

/* Counter "25+" alineado a la izquierda como el título */
.ehs-counter {
  justify-content: flex-start !important;
  align-items: flex-start !important;
}
.ehs-counter .elementor-widget-counter {
  padding-left: 24px !important;
  padding-right: 24px !important;
}
.ehs-counter .elementor-counter,
.ehs-counter .elementor-counter-number-wrapper {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}
.ehs-counter .elementor-counter-number-prefix {
  flex: 0 0 auto !important;
  width: auto !important;
}


/* footer-fixes:contact-info-area */
.contact-info-area .contact-info-items .content .contact-info-link {
  display: inline-block;
  font-family: var(--heading-font, "Roboto Slab", serif);
  font-size: 22px;
  font-weight: 600;
  color: #101A29;
  line-height: 1.3;
  margin-top: 4px;
  transition: color .2s;
  text-decoration: none;
}
.contact-info-area .contact-info-items .content .contact-info-link:hover {
  color: var(--theme, #FFA500);
}
.contact-info-area { padding: 60px 0; }
.footer-widgets-wrapper { padding: 25px 0 55px; }
@media (max-width: 991px) {
  .contact-info-area { padding: 40px 0; }
  .contact-info-area .contact-info-items .content .contact-info-link { font-size: 18px; }
}


/* seo-fixes:h1-styling */
/* Promoted h1 (was h3) on home hero — keep visual identical */
.elementor-widget-heading h1.elementor-heading-title {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  margin: 0;
}

/* seo-fixes:logo-aspect — Override intrinsic width/height attrs on logos.
   Necessary because apply-seo-fixes added attrs from real file size (2560x1065),
   which broke the CSS max-height in header/contact-bar/footer. */
.header-logo img,
.logo-img img,
.footer .footer-logo img,
.contact-info-area .logo-img img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
}
.header-main .logo {
  width: auto !important;
  max-width: 320px;
  height: auto !important;
}

/* Center the main menu between logo and CTA button */
.header-main .header-right {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}
.header-main .header-right .mean__menu-wrapper {
  flex: 1 1 auto;
  display: flex !important;
  justify-content: center !important;
}
.header-logo img {
  max-height: 120px !important;
  max-width: none !important;
}
.contact-info-area .logo-img img {
  max-height: 120px;
}
.footer .footer-logo img,
.footer-widget-1 .footer-logo img {
  max-height: 56px;
}

/* Footer widgets — increase gutter from 24px (Bootstrap default) to 40px
   for better breathing room between dense About Company and lighter widgets */
.footer-widgets-wrapper .row {
  --bs-gutter-x: 40px;
}

/* ============================================================
   Vision/Mission rotator (replaces Swiper for 2-slide carousel)
   ============================================================ */
.testimonial-vm {
  position: relative;
  min-height: 280px;
}
.testimonial-vm .vm-item {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0; left: 0; right: 0;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.testimonial-vm .vm-item.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  transition: opacity 0.5s ease, visibility 0s linear 0s;
}

/* WCAG 2.3.3 — respect users' OS-level reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .testimonial-vm .vm-item {
    transition: none;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Who We Are — Vision/Mission slider: place "Our Vision"/"Our Mission"
   on the same line as the quote SVG, with the description text below */
.testimonial-section .testi-content .icon {
  display: flex !important;
  align-items: flex-start !important;
  gap: 18px;
}
.testimonial-section .testi-content .icon svg {
  flex-shrink: 0;
  margin-top: 6px;
}
.testimonial-section .testi-content .icon h4 {
  margin: 0;
  flex: 1 1 auto;
}
.testimonial-section .testi-content .icon h4 b {
  display: block;
  margin-bottom: 8px;
}

/* skip-link:wcag */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 100000;
  padding: 12px 18px;
  background: #0E1E2D;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 6px 0;
  transition: top .15s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  outline: 2px solid #F55B1F;
  outline-offset: 2px;
  color: #fff;
}


/* offcanvas-email:lowercase */
.offcanvas__wrapper .offcanvas__content .offcanvas__contact ul li .offcanvas__contact-text a {
  text-transform: none;
}


/* offcanvas-top:compact — close button anchored top-right after removing .offcanvas__top wrapper */
.offcanvas__info .offcanvas__wrapper .offcanvas__content .offcanvas__close {
  position: absolute;
  top: 20px;
  right: 20px;
}
.offcanvas__info .offcanvas__wrapper .offcanvas__content .mobile-menu {
  margin-top: 48px;
}


/* services:equal-height — start */
/* Equal-height cards for services + sectors. The col is flex → its child (.service-box-items)
   inherits the col's stretched height without forcing height:100% on the card itself
   (so the theme's margin-top:30 keeps separating wrapped rows). */
.services-grid-col {
  display: flex;
}
.services-grid-col > .service-box-items {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.services-grid-col > .service-box-items > .service-content {
  flex: 1 1 auto;
}
/* services:equal-height — end */


/* contact-form:honeypot — visually hidden but still rendered (bots fill it, humans don't see it) */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0;
}

/* contact-form:status — feedback after submit */
.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
}
.form-status--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-status--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
