/* Raised header and footer */

.header__top.grey-bg {
  background: linear-gradient(180deg, #1a7a70 0%, #0a4c48 58%, #073833 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 16px rgba(7, 56, 51, 0.28);
}

.header__top .header__info ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 28px;
  margin: 0;
}

.header__top .header__info ul li,
.header__top .header__info ul li:not(:last-child) {
  display: flex;
  margin: 0;
  white-space: nowrap;
}

.header__top .header__info ul li a {
  color: #f4fffc;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 1399px) {
  .header__top .header__info ul {
    gap: 16px;
  }

  .header__top .header__info ul li a {
    font-size: 13px;
  }
}

@media (max-width: 1199px) {
  .header__top .header__info ul {
    gap: 10px;
  }

  .header__top .header__info ul li a {
    font-size: 12px;
  }

  .header__bottom .logo img {
    height: 52px;
  }

  .header__bottom .main-menu > nav > ul > li > a {
    padding: 8px 8px;
    font-size: 15px;
  }

  .header__call-copy small {
    display: none;
  }
}

.header__top .header__info ul li a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(180deg, #ffc2a4 0%, #fc8459 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 3px 0 #c45a32;
  vertical-align: middle;
}

.header__bottom {
  background: linear-gradient(180deg, #ffffff 0%, #f3f7f6 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 12px 0 rgba(10, 76, 72, 0.04), 0 22px 36px rgba(18, 42, 48, 0.14);
}

.header__bottom.sticky {
  background: linear-gradient(180deg, #ffffff 0%, #f7faf9 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 14px 28px rgba(10, 30, 36, 0.18);
}

.header__bottom .logo a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px 8px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f3faf7 100%);
  border: 1px solid rgba(10, 76, 72, 0.08);
  box-shadow: inset 0 1px 0 #ffffff, 0 6px 0 #d5e4e0, 0 14px 20px rgba(10, 76, 72, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header__bottom .logo {
  flex: 0 0 auto;
}

.header__bottom .logo img {
  display: block;
  height: 64px;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 6px 6px rgba(10, 76, 72, 0.12));
}

.header__bottom .logo a:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 0 #c5d9d4, 0 18px 24px rgba(10, 76, 72, 0.2);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 92px;
}

.header__bar .main-menu {
  flex: 1 1 auto;
  min-width: 0;
}

.header__bottom .main-menu > nav > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.header__bottom .main-menu > nav > ul > li {
  display: flex;
  margin: 0;
}

.header__bottom .main-menu > nav > ul > li > a {
  margin: 0;
  padding: 10px 14px;
  border-radius: 0;
  color: #143834;
  background: none;
  box-shadow: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  transform: none;
}

.header__bottom .main-menu > nav > ul > li > a::after {
  display: block;
  left: 14px;
  right: 14px;
  bottom: 4px;
  width: auto;
  height: 2px;
  background: transparent;
}

.header__bottom .main-menu > nav > ul > li:hover > a,
.header__bottom .main-menu > nav > ul > li.active > a {
  color: #0a4c48;
  background: none;
  box-shadow: none;
  transform: none;
}

.header__bottom .main-menu > nav > ul > li:hover > a::after,
.header__bottom .main-menu > nav > ul > li.active > a::after {
  width: auto;
  background: #fc8459;
}

.header__call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 56px;
  padding: 6px 18px 6px 6px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(180deg, #4ad592 0%, #149655 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 5px 0 #0c6b3c, 0 12px 18px rgba(20, 150, 85, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.header__call-btn:hover {
  color: #ffffff;
  transform: translateY(2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 0 #0c6b3c, 0 6px 12px rgba(20, 150, 85, 0.24);
}

.header__call-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 18px;
}

.header__call-icon i {
  color: #ffffff;
}

.header__call-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.header__call-copy strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.header__call-copy small {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
}

.header__action {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #e7efed 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 4px 0 #d3e0dd;
}

.footer__area.black-bg {
  background: linear-gradient(180deg, #1b3c43 0%, #10282d 42%, #0b1e22 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.footer__widget-content p {
  border-bottom: none;
  padding-bottom: 0;
}

.footer__widget-title {
  position: relative;
  border-bottom: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.footer__widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 14px;
  width: 68px;
  height: 6px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffc2a4 0%, #fc8459 100%);
  box-shadow: 0 3px 0 #c45a32;
}

.footer__widget-top {
  position: relative;
}

.footer__link ul li a {
  display: inline-block;
  margin-bottom: 8px;
  padding: 7px 14px;
  border-radius: 10px;
  color: #e7f3f1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 3px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer__link ul li a:hover {
  color: #ffffff;
  background: linear-gradient(180deg, #21897e 0%, #0a4c48 100%);
  transform: translateY(-2px);
}

.footer__info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffc2a4 0%, #fc8459 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 4px 0 #c45a32;
}

.footer__info-icon i {
  color: #ffffff;
}

.footer__logo img {
  border-radius: 14px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.28), 0 16px 24px rgba(0, 0, 0, 0.28);
}

.footer__subscribe input {
  border-radius: 12px;
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.35);
}

.footer__subscribe button {
  border-radius: 12px;
  background: linear-gradient(180deg, #ffc2a4 0%, #fc8459 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 4px 0 #c45a32;
}

.footer__social ul li a {
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(180deg, #3d5a63 0%, #243e46 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 4px 0 #15262b;
  transition: transform 0.15s ease, background 0.15s ease;
}

.footer__social ul li a:hover {
  color: #ffffff;
  background: linear-gradient(180deg, #ffc2a4 0%, #fc8459 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 3px 0 #c45a32;
  transform: translateY(-2px);
}

.footer__bottom {
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media only screen and (max-width: 1399px) {
  .header__bottom .main-menu > nav > ul > li {
    margin: 0 3px;
  }

  .header__bottom .main-menu > nav > ul > li > a {
    padding: 8px 10px;
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .header__bar {
    flex-wrap: wrap;
    gap: 8px 12px;
    min-height: 0;
    padding: 10px 0 6px;
  }

  .header__bar .logo {
    flex: 0 0 auto;
    order: 1;
  }

  .header__call-btn {
    order: 2;
    margin-left: auto;
  }

  .header__bar .main-menu {
    order: 3;
    flex: 1 0 100%;
  }

  .header__bottom .main-menu > nav > ul {
    justify-content: space-between;
    width: 100%;
  }

  .header__bottom .main-menu > nav > ul > li > a {
    padding: 8px 4px;
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .header__bottom .logo img {
    height: 42px;
  }

  .header__bottom .main-menu > nav > ul > li > a {
    padding: 8px 2px;
    font-size: 13px;
  }

  .header__call-btn {
    min-height: 46px;
    padding-right: 12px;
  }

  .header__call-icon {
    width: 36px;
    height: 36px;
  }
}

.header__bottom .main-menu > nav > ul > li.has-submenu {
  position: relative;
}

.submenu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #0a4c48;
  background: transparent;
}

.header__bottom .main-menu .submenu {
  width: 250px;
  padding: 10px 0;
  z-index: 40;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(18, 42, 48, 0.16);
}

.header__bottom .main-menu .submenu li > a {
  padding: 8px 18px;
  color: #143834;
  font-weight: 600;
  background: none;
  box-shadow: none;
}

.header__bottom .main-menu .submenu li > a::after,
.header__bottom .main-menu .submenu li > a::before {
  display: none;
}

.header__bottom .main-menu .submenu li:hover > a,
.header__bottom .main-menu .submenu li.active > a {
  color: #0a4c48;
  background: #f3faf7;
}

@media (max-width: 991px) {
  .submenu-toggle {
    display: inline-flex;
  }

  .header__bottom .main-menu > nav > ul > li.has-submenu {
    position: static;
    flex-wrap: wrap;
    align-items: center;
  }

  .header__bottom .main-menu .has-submenu .submenu {
    display: none;
    position: static;
    visibility: visible;
    opacity: 1;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
    background: #f7faf9;
  }

  .header__bottom .main-menu .has-submenu.is-open .submenu {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    z-index: 30;
  }

  .header__bar .main-menu {
    position: relative;
  }

  .header__bottom .main-menu > nav > ul {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header__bottom .logo img,
  .header__bottom .main-menu > nav > ul > li > a,
  .header__call .r-btn.r-btn-green,
  .footer__link ul li a,
  .footer__social ul li a {
    transition: none;
  }
}
