/**
 * Accessibility overrides — WCAG AA.
 * Preserves layout; brand teal (#50af9b) kept for decorative fills.
 * Text / solid CTAs use accessible teal #1f7a6a (≥4.5:1 on white / white on teal).
 */
:root {
  --a11y-teal-text: #1f7a6a;
  --a11y-teal-solid: #1f7a6a;
  --brand-teal: #50af9b;
  --focus-ring: #0f110f;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: #0f110f;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transform: translateY(-200%);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Visible focus for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.menu-btn:focus-visible,
.close-btn:focus-visible,
.sub-btn:focus-visible,
.whatsapp-button:focus-visible {
  outline: 3px solid var(--focus-ring) !important;
  outline-offset: 3px !important;
}

/* AA text / CTA teal (brand hue, darker for contrast) */
.linktext,
.number,
.view,
.sv,
.content-title,
.content-title1,
.content-title2 {
  color: var(--a11y-teal-text) !important;
}
.list_services li i {
  color: var(--a11y-teal-text) !important;
}
.buttonget_green {
  background-color: var(--a11y-teal-solid) !important;
  border-color: var(--a11y-teal-solid) !important;
  color: #ffffff !important;
}
.buttonget_green:hover {
  color: var(--a11y-teal-text) !important;
  background-color: #fff !important;
  fill: var(--a11y-teal-text) !important;
}
.getbtn {
  background-color: var(--a11y-teal-solid) !important;
  color: #ffffff !important;
}
.bg_blue_theme {
  background-color: var(--a11y-teal-solid) !important;
}

/* Menu controls as buttons — match nav link look (compact, single row) */
.menu-item > .sub-btn {
  color: #010101;
  font-size: 16px;
  text-decoration: none;
  margin: 0;
  padding: 0.35rem 0.55rem;
  font-weight: 700;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.menu-item > .sub-btn:hover {
  color: black;
  transition: 0.3s;
}
.menu-close-item {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 0;
  display: none;
}
@media (max-width: 1199px) {
  .menu-close-item {
    display: block;
  }
}
.menu-btn,
.close-btn {
  background-color: transparent;
  border: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
.menu-cta {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
.menu-cta .bigbtn,
.menu-cta form {
  margin: 0;
}

/* ========== Header layout / responsive (consistency fixes) ========== */
header.navbar.site-header,
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 72px;
  padding: 0.65rem 1.25rem !important;
  background: #edf7f5;
  border-bottom: 1px solid #e7cdcd;
  box-sizing: border-box;
}

header.site-header .logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

header.site-header .logo,
header.site-header img.logo {
  width: 150px !important;
  max-width: 150px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}

header.site-header .navigation {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  line-height: normal !important;
  min-width: 0;
}

header.site-header .navigation .menu {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  width: auto;
  line-height: normal !important;
}

header.site-header .menu-item {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0;
  padding: 0;
  line-height: normal !important;
}

/* Text links only — CTAs excluded so they keep white text */
header.site-header .menu-item > a:not(.btn-audit):not(.btn-wa-nav) {
  color: #010101 !important;
  font-size: 16px !important;
  font-weight: 700;
  text-decoration: none;
  margin: 0 !important;
  padding: 0.35rem 0.55rem !important;
  line-height: 1.25 !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  background: transparent !important;
}

header.site-header .menu-item > .sub-btn {
  color: #010101 !important;
  font-size: 16px !important;
  font-weight: 700;
  margin: 0 !important;
  padding: 0.35rem 0.55rem !important;
  line-height: 1.25 !important;
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap;
  background: transparent !important;
  border: 0 !important;
}

header.site-header .menu-item .sub-menu {
  position: absolute !important;
  left: 0 !important;
  top: calc(100% + 0.35rem) !important;
  line-height: 1.4 !important;
  min-width: 260px;
  padding: 0.5rem 0;
  z-index: 1001;
  list-style: none !important;
  margin: 0 !important;
  background: #edf7f5 !important;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  transform: translateY(8px);
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

header.site-header .menu-item:hover > .sub-menu,
header.site-header .menu-item.is-open > .sub-menu,
header.site-header .menu-item .sub-menu.show {
  pointer-events: all !important;
  transform: translateY(0);
  opacity: 1 !important;
  visibility: visible !important;
}

header.site-header .menu-item .sub-menu .sub-item {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

header.site-header .menu-item .sub-menu .sub-item a {
  display: block;
  padding: 0.45rem 1rem !important;
  white-space: normal;
  font-size: 0.95rem !important;
  color: #010101 !important;
  line-height: 1.4 !important;
  min-height: 0 !important;
  text-decoration: none !important;
}

header.site-header .menu-cta {
  margin-left: 0.15rem;
  align-self: center;
}

/* Clear fixed header — consistent spacing under nav */
main#main-content {
  display: block;
  padding-top: 76px;
}

/* Prevent old navbar line-height from stretching header */
header.site-header .navigation,
header.site-header .navigation .menu,
header.site-header .menu-item,
header.site-header .menu-item > a,
header.site-header .menu-item > .sub-btn {
  line-height: 1.25 !important;
}

header.site-header {
  min-height: 68px;
  padding: 0.55rem 1.35rem !important;
  gap: 0.5rem 1rem;
}

header.site-header .logo,
header.site-header img.logo {
  width: 140px !important;
  max-width: 140px !important;
}

header.site-header .navigation .menu {
  gap: 0.15rem 0.35rem !important;
}

header.site-header .menu-item > a:not(.btn-audit):not(.btn-wa-nav),
header.site-header .menu-item > .sub-btn {
  padding: 0.3rem 0.45rem !important;
  min-height: 40px;
  font-size: 15px !important;
}

header.site-header .menu-item.menu-cta > a.btn-audit,
header.site-header .menu-item.menu-cta > a.btn-wa-nav {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 0.95rem !important;
  margin: 0 0.1rem !important;
}

/* Nav CTAs — fixed height + forced readable contrast */
header.site-header .menu-item.menu-cta > a.btn-audit,
header.site-header .menu-item.menu-cta > a.btn-wa-nav,
header.site-header a.btn-audit,
header.site-header a.btn-wa-nav {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 1.1rem !important;
  margin: 0 0.15rem !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

header.site-header .menu-item.menu-cta > a.btn-audit,
header.site-header a.btn-audit {
  background-color: #0f110f !important;
  background-image: none !important;
  border: 1px solid #0f110f !important;
  color: #ffffff !important;
}

header.site-header .menu-item.menu-cta > a.btn-audit:hover,
header.site-header .menu-item.menu-cta > a.btn-audit:focus,
header.site-header a.btn-audit:hover,
header.site-header a.btn-audit:focus {
  background-color: #ffffff !important;
  color: #0f110f !important;
  border-color: #0f110f !important;
}

header.site-header .menu-item.menu-cta > a.btn-wa-nav,
header.site-header a.btn-wa-nav {
  background-color: #128c7e !important;
  background-image: none !important;
  border: 1px solid #128c7e !important;
  color: #ffffff !important;
}

header.site-header .menu-item.menu-cta > a.btn-wa-nav:hover,
header.site-header .menu-item.menu-cta > a.btn-wa-nav:focus,
header.site-header a.btn-wa-nav:hover,
header.site-header a.btn-wa-nav:focus {
  background-color: #0f110f !important;
  border-color: #0f110f !important;
  color: #ffffff !important;
}

/* Tablet / mobile drawer — avoid broken mid-width wrap */
@media (max-width: 1199px) {
  header.site-header {
    padding: 0.6rem 1rem !important;
    min-height: 64px;
  }

  header.site-header .logo,
  header.site-header img.logo {
    width: 130px !important;
    max-width: 130px !important;
  }

  header.site-header .menu-btn {
    display: block !important;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    background: url(/assets/images/menu.png) no-repeat center / 28px !important;
    margin: 0 !important;
  }

  header.site-header .navigation {
    flex: 0 0 auto;
  }

  header.site-header .navigation .menu {
    position: fixed !important;
    display: block !important;
    background: #f4faf8 !important;
    width: min(90%, 360px) !important;
    height: 100vh !important;
    top: 0 !important;
    right: -100% !important;
    padding: 4.5rem 1.25rem 6rem !important;
    visibility: hidden;
    overflow-y: auto;
    transition: right 0.35s ease, visibility 0.35s ease;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
    z-index: 1002;
  }

  header.site-header .navigation .menu.active {
    right: 0 !important;
    visibility: visible;
  }

  header.site-header .menu-item {
    display: block;
    width: 100%;
    border-bottom: 1px solid #d7ebe5;
  }

  header.site-header .menu-item > a,
  header.site-header .menu-item > .sub-btn {
    display: flex !important;
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 0.25rem !important;
    font-size: 17px !important;
    margin: 0 !important;
    white-space: normal;
  }

  header.site-header .menu-item .sub-menu {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: all !important;
    display: none;
    background: #e7f4f0 !important;
    box-shadow: none !important;
    border-radius: 8px;
    margin: 0 0 0.75rem;
    padding: 0.25rem 0;
    min-width: 0;
  }

  header.site-header .menu-item .sub-menu.show,
  header.site-header .menu-item.is-open .sub-menu {
    display: block !important;
  }

  header.site-header .menu-cta {
    display: block;
    width: 100%;
    margin: 0.75rem 0 0;
    border-bottom: 0;
  }

  header.site-header .menu-cta .btn-audit,
  header.site-header .menu-cta .btn-wa-nav {
    width: 100% !important;
    margin: 0.35rem 0 !important;
    min-height: 46px;
  }

  header.site-header .close-btn {
    position: absolute;
    background: url(/assets/images/close.png) no-repeat center / 22px !important;
    width: 40px;
    height: 40px;
    top: 0.75rem;
    left: 0.75rem;
    margin: 0 !important;
    cursor: pointer;
  }

  main#main-content {
    padding-top: 64px;
  }
}

@media (max-width: 575px) {
  header.site-header {
    padding: 0.5rem 0.75rem !important;
  }

  header.site-header .logo,
  header.site-header img.logo {
    width: 118px !important;
    max-width: 118px !important;
  }

  header.site-header .navigation .menu {
    width: 100% !important;
  }
}

/* Form status / errors */
.form-status[role="status"],
.confirmation1,
.confirmation2,
.confirmation3 {
  display: none;
}
.form-status.is-visible,
.confirmation1.is-visible,
.confirmation2.is-visible,
.confirmation3.is-visible {
  display: block;
}
.form-error {
  color: #8a1f1f;
  font-size: 0.9rem;
  margin-top: 0.35rem;
  display: none;
}
.form-error.is-visible {
  display: block;
}
.form_box label {
  display: block;
}

.footer-heading.h4,
.quick_links .footer-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
