/* style.css */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  color: #12231d;
}

.ayiti-nav a {
  font: inherit;
}

.ayiti-nav button {
  appearance: none;
  font: inherit;
}

.ayiti-nav {
  position: relative;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.97);

  border-bottom: 1px solid #e5ece8;

  box-shadow:
    0 1px 0 rgba(18, 35, 29, 0.02);
}

.ayiti-nav__inner {
  width: min(1480px, calc(100% - 48px));

  height: 80px;

  margin: 0 auto;

  display: flex;
  align-items: center;

  gap: 34px;
}


/* BRAND */

.ayiti-nav__brand {
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;

  gap: 11px;

  text-decoration: none;

  color: #12231d;
}

.ayiti-nav__brand-icon {
  width: 39px;
  height: 39px;

  display: grid;
  place-items: center;

  background: #07855c;
  color: #ffffff;

  border-radius: 11px;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.5px;

  box-shadow:
    0 6px 16px rgba(7, 133, 92, 0.16);
}

.ayiti-nav__brand-text {
  display: flex;
  flex-direction: column;

  line-height: 1;
}

.ayiti-nav__brand-text strong {
  font-size: 12px;
  font-weight: 800;

  letter-spacing: 1.4px;
}

.ayiti-nav__brand-text small {
  margin-top: 5px;

  color: #74827c;

  font-size: 7px;
  font-weight: 700;

  letter-spacing: 2.2px;
}


/* DESKTOP NAV */

.ayiti-nav__desktop {
  display: flex;
  align-items: center;

  gap: 6px;
}

.ayiti-nav__link,
.ayiti-nav__trigger {
  position: relative;

  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 0;

  padding: 0 13px;

  border-radius: 9px;

  background: transparent;

  color: #394942;

  text-decoration: none;

  font-size: 14px;
  font-weight: 650;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.ayiti-nav__link:hover,
.ayiti-nav__trigger:hover {
  color: #087556;

  background: #f6faf8;
}

.ayiti-nav__link--active {
  color: #07855c;
}


/* CLEAN UNDERLINE INDICATOR */

.ayiti-nav__trigger::after {
  content: "";

  position: absolute;

  left: 13px;
  right: 13px;

  bottom: 5px;

  height: 2px;

  border-radius: 999px;

  background: #07855c;

  transform: scaleX(0);

  transform-origin: center;

  opacity: 0;

  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
}

.ayiti-nav__trigger:hover::after {
  transform: scaleX(0.45);

  opacity: 0.55;
}

.ayiti-nav__trigger.active {
  color: #07855c;

  background: #f5faf7;
}

.ayiti-nav__trigger.active::after {
  transform: scaleX(1);

  opacity: 1;
}


/* ACTIONS */

.ayiti-nav__actions {
  margin-left: auto;

  display: flex;
  align-items: center;

  gap: 9px;
}

.ayiti-nav__button {
  height: 41px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 15px;

  border: 1px solid transparent;

  border-radius: 9px;

  text-decoration: none;

  white-space: nowrap;

  font-size: 12px;
  font-weight: 750;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.ayiti-nav__button:hover {
  transform: translateY(-1px);
}

.ayiti-nav__button--soft {
  background: #f4faf7;

  border-color: #d8e9e1;

  color: #087556;
}

.ayiti-nav__button--soft:hover {
  background: #edf7f2;
}

.ayiti-nav__button--outline {
  background: #ffffff;

  border-color: #d9e5df;

  color: #087556;
}

.ayiti-nav__button--outline:hover {
  border-color: #bad6ca;

  box-shadow:
    0 5px 15px rgba(18, 35, 29, 0.05);
}

.ayiti-nav__button--dark {
  background: #12231d;

  color: #ffffff;

  box-shadow:
    0 6px 16px rgba(18, 35, 29, 0.14);
}

.ayiti-nav__button--dark:hover {
  background: #1b3229;

  box-shadow:
    0 8px 20px rgba(18, 35, 29, 0.18);
}


/* MEGA PANEL */

.ayiti-mega {
  position: absolute;

  top: 80px;
  left: 0;
  right: 0;

  background: #ffffff;

  border-top: 1px solid #eef2f0;
  border-bottom: 1px solid #e2ebe6;

  box-shadow:
    0 26px 60px rgba(18, 35, 29, 0.12);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transform:
    translateY(-12px)
    scaleY(0.98);

  transform-origin: top;

  transition:
    opacity 0.22s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.22s ease;
}

.ayiti-mega.active {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  transform:
    translateY(0)
    scaleY(1);
}

.ayiti-mega__inner {
  width: min(1280px, calc(100% - 48px));

  margin: 0 auto;

  padding: 40px 0 44px;

  display: grid;

  grid-template-columns: 310px minmax(0, 1fr);

  gap: 68px;
}

.ayiti-mega__intro {
  padding-right: 20px;
}

.ayiti-mega__label {
  display: inline-block;

  margin-bottom: 12px;

  color: #07855c;

  font-size: 10px;
  font-weight: 850;

  letter-spacing: 1.7px;
}

.ayiti-mega__intro h2 {
  margin: 0 0 12px;

  color: #14251e;

  font-size: 28px;
  font-weight: 760;

  line-height: 1.15;

  letter-spacing: -0.7px;
}

.ayiti-mega__intro p {
  margin: 0;

  max-width: 290px;

  color: #6c7973;

  font-size: 14px;

  line-height: 1.65;
}


/* CARDS */

.ayiti-mega__grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 12px;
}

.ayiti-mega__card {
  position: relative;

  min-height: 84px;

  display: flex;
  align-items: center;

  gap: 14px;

  padding: 16px;

  border: 1px solid #e9efec;

  border-radius: 14px;

  background: #ffffff;

  color: #172820;

  text-decoration: none;

  overflow: hidden;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.ayiti-mega__card::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 2px;

  background: #07855c;

  transform: scaleX(0);

  transform-origin: left;

  transition: transform 0.25s ease;
}

.ayiti-mega__card:hover {
  transform: translateY(-2px);

  border-color: #cae2d7;

  background: #fbfdfc;

  box-shadow:
    0 10px 24px rgba(18, 35, 29, 0.06);
}

.ayiti-mega__card:hover::after {
  transform: scaleX(1);
}

.ayiti-mega__icon {
  flex-shrink: 0;

  width: 43px;
  height: 43px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background: #eef8f3;

  color: #07855c;

  font-size: 13px;
  font-weight: 800;
}

.ayiti-mega__content {
  min-width: 0;
}

.ayiti-mega__content strong {
  display: block;

  margin-bottom: 5px;

  color: #172820;

  font-size: 14px;
  font-weight: 750;
}

.ayiti-mega__content small {
  display: block;

  color: #74817b;

  font-size: 12px;

  line-height: 1.4;
}


/* COLUMNS */

.ayiti-mega__columns {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 46px;
}

.ayiti-mega__column h3 {
  margin: 0 0 13px;

  padding-bottom: 11px;

  border-bottom: 1px solid #edf1ef;

  color: #182921;

  font-size: 13px;
  font-weight: 780;
}

.ayiti-mega__column a {
  position: relative;

  display: block;

  padding: 8px 0;

  color: #63716a;

  text-decoration: none;

  font-size: 13px;
  font-weight: 500;

  transition:
    color 0.18s ease,
    padding-left 0.18s ease;
}

.ayiti-mega__column a::before {
  content: "";

  position: absolute;

  left: 0;
  top: 50%;

  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: #07855c;

  opacity: 0;

  transform:
    translateY(-50%)
    scale(0);

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.ayiti-mega__column a:hover {
  padding-left: 11px;

  color: #07855c;
}

.ayiti-mega__column a:hover::before {
  opacity: 1;

  transform:
    translateY(-50%)
    scale(1);
}


/* MOBILE BUTTON */

.ayiti-nav__mobile-button {
  display: none;

  margin-left: auto;

  width: 43px;
  height: 43px;

  padding: 10px;

  border: 1px solid #dce6e1;

  border-radius: 10px;

  background: #ffffff;

  cursor: pointer;
}

.ayiti-nav__mobile-button span {
  display: block;

  width: 100%;
  height: 2px;

  margin: 4px 0;

  border-radius: 999px;

  background: #12231d;
}


/* MOBILE MENU */

.ayiti-mobile {
  position: fixed;

  inset: 0;

  z-index: 3000;

  background: #ffffff;

  overflow-y: auto;

  transform: translateX(100%);

  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.ayiti-mobile.active {
  transform: translateX(0);
}

.ayiti-mobile__top {
  height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 20px;

  border-bottom: 1px solid #e6ede9;
}

.ayiti-mobile__close {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 0;

  border-radius: 10px;

  background: #f4f8f6;

  color: #172820;

  font-size: 28px;
  font-weight: 300;

  line-height: 1;

  cursor: pointer;
}

.ayiti-mobile__content {
  padding: 16px 20px 28px;
}

.ayiti-mobile__main-link,
.ayiti-mobile__accordion {
  width: 100%;

  min-height: 57px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0;

  border: 0;
  border-bottom: 1px solid #edf1ef;

  background: transparent;

  color: #182921;

  text-decoration: none;

  text-align: left;

  font-size: 16px;
  font-weight: 700;

  cursor: pointer;
}


/* CSS PLUS */

.ayiti-mobile__plus {
  position: relative;

  width: 18px;
  height: 18px;

  flex-shrink: 0;
}

.ayiti-mobile__plus::before,
.ayiti-mobile__plus::after {
  content: "";

  position: absolute;

  top: 50%;
  left: 50%;

  border-radius: 999px;

  background: #64726b;

  transform:
    translate(-50%, -50%);

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.ayiti-mobile__plus::before {
  width: 14px;
  height: 2px;
}

.ayiti-mobile__plus::after {
  width: 2px;
  height: 14px;
}

.ayiti-mobile__accordion.active
.ayiti-mobile__plus::after {
  transform:
    translate(-50%, -50%)
    rotate(90deg);

  opacity: 0;
}


/* MOBILE PANELS */

.ayiti-mobile__panel {
  max-height: 0;

  overflow: hidden;

  background: #f8fbf9;

  transition:
    max-height 0.32s ease;
}

.ayiti-mobile__panel.active {
  max-height: 360px;
}

.ayiti-mobile__panel a {
  display: block;

  padding: 12px 18px;

  color: #627069;

  text-decoration: none;

  font-size: 14px;

  border-bottom: 1px solid #eef2f0;
}

.ayiti-mobile__panel a:last-child {
  border-bottom: 0;
}


/* MOBILE ACTIONS */

.ayiti-mobile__actions {
  display: grid;

  gap: 10px;

  margin-top: 28px;
}

.ayiti-mobile__actions a {
  min-height: 49px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #dbe6e0;

  border-radius: 10px;

  color: #087556;

  text-decoration: none;

  font-size: 14px;
  font-weight: 750;
}

.ayiti-mobile__actions
.ayiti-mobile__access {
  border-color: #12231d;

  background: #12231d;

  color: #ffffff;
}


/* OVERLAY */

.ayiti-overlay {
  position: fixed;

  inset: 0;

  z-index: 900;

  background: rgba(14, 29, 23, 0.18);

  backdrop-filter: blur(2px);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.ayiti-overlay.active {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;
}


/* RESPONSIVE */

@media (max-width: 1240px) {

  .ayiti-nav__inner {
    gap: 20px;
  }

  .ayiti-nav__desktop {
    gap: 2px;
  }

  .ayiti-nav__button {
    padding: 0 11px;
  }

}


@media (max-width: 1120px) {

  .ayiti-nav__desktop,
  .ayiti-nav__actions {
    display: none;
  }

  .ayiti-nav__mobile-button {
    display: block;
  }

  .ayiti-mega {
    display: none;
  }

}


@media (max-width: 700px) {

  .ayiti-nav__inner {
    width: calc(100% - 30px);

    height: 70px;
  }

  .ayiti-nav__brand-icon {
    width: 36px;
    height: 36px;

    border-radius: 10px;
  }

  .ayiti-nav__brand-text strong {
    font-size: 11px;
  }

  .ayiti-nav__brand-text small {
    font-size: 6px;
  }

}