﻿.site-header {
  background: #fbf7f3;
}

.site-header.is-mobile-nav-open {
  position: relative;
  z-index: 20;
  border-bottom-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  box-shadow: 0 22px 45px rgba(4, 69, 52, 0.15);
}

header > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 6rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

header img {
  width: auto;
  height: 3.5rem;
}

nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

nav a {
  color: inherit;
  text-decoration: none;
}

.app-login-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.05rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(4, 69, 52, 0.18);
  border-radius: 0.25rem;
  background: #044534;
  color: #fbf7f3;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.app-login-button:hover {
  background: #37c21b;
  color: #fbf7f3;
  transform: translateY(-1px);
}

.site-login-link {
  display: none;
}

@media (min-width: 768px) {
  .site-login-link {
    display: inline-flex;
  }
}

.mobile-nav {
  display: none;
  max-width: 100%;
  margin: 0 auto;
}

.mobile-nav.is-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  justify-content: stretch;
  justify-items: stretch;
  gap: 0;
  margin: 0 1.5rem 1rem;
  padding: 1rem;
  border: 1px solid rgba(4, 69, 52, 0.08);
  border-radius: 0.9rem;
  background: rgba(251, 247, 243, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 16px 30px rgba(4, 69, 52, 0.08);
}

.mobile-nav a {
  display: flex;
  width: 100%;
  justify-self: stretch;
  min-height: 3.95rem;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(4, 69, 52, 0.08);
  padding: 0 0.95rem;
  color: #044534;
  text-decoration: none;
}

.mobile-nav a:first-child {
  border-top-left-radius: 0.55rem;
  border-top-right-radius: 0.55rem;
}

.mobile-nav a:last-child {
  border-bottom: 0;
  border-bottom-right-radius: 0.55rem;
  border-bottom-left-radius: 0.55rem;
}

.mobile-nav a.is-active {
  border-bottom-color: transparent;
  border-left: 0.18rem solid #37c21b;
  background: rgba(140, 162, 121, 0.1);
  color: #044534;
}

.mobile-nav a.mobile-login-link {
  margin-top: 0.65rem;
  border: 0;
  border-radius: 0.55rem;
  background: #044534;
  color: #fbf7f3;
}

.mobile-nav a svg:first-child {
  color: #426653;
}

.mobile-nav a svg:last-child {
  color: #8ca279;
}

.mobile-nav a.mobile-login-link svg {
  color: currentColor;
}

.mobile-nav-toggle .mobile-menu-icon-close,
.mobile-nav-toggle.is-open .mobile-menu-icon-open {
  display: none;
}

.mobile-nav-toggle.is-open .mobile-menu-icon-close {
  display: block;
}

button[data-language-toggle] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.site-header.is-mobile-nav-open button[data-language-toggle] {
  height: 2.5rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(4, 69, 52, 0.1);
  border-radius: 999px;
  background: rgba(251, 247, 243, 0.58);
}

.mobile-nav-toggle {
  background: rgba(251, 247, 243, 0.68);
}

.site-footer {
  margin-top: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  padding-bottom: 0 !important;
  width: 100%;
  max-width: 100%;
  background: #fbf7f3;
}

.site-footer-panel {
  overflow: hidden;
  width: 100% !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
  border: 1px solid #044534;
  border-radius: 0.3rem;
  background: #044534;
}

.site-footer-main {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
  padding: 2rem;
}

.site-footer-brand {
  display: inline-flex;
  width: fit-content;
}

.site-footer-brand img {
  width: auto;
  height: 3.5rem;
}

.site-footer-brand-block {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  align-content: start;
}

.site-footer-brand-block p {
  max-width: 12rem;
  color: rgba(251, 247, 243, 0.72);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
}

.site-footer-column {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  align-content: start;
}

.site-footer-column span {
  margin-bottom: 0.2rem;
  color: rgba(251, 247, 243, 0.46);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-footer-column a {
  color: #fbf7f3;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer-column a:hover {
  color: #b6e88b;
}

.site-footer-bottom {
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(251, 247, 243, 0.14);
  margin: 0 2rem;
  padding: 0.95rem 0 1.05rem;
  color: rgba(251, 247, 243, 0.55);
  font-size: 0.68rem;
  font-weight: 500;
  text-align: center;
}

.site-footer-bottom p {
  margin: 0;
  overflow-wrap: anywhere;
}

.site-footer-bottom span:last-child {
  color: rgba(251, 247, 243, 0.68);
}

.home-hero {
  display: grid;
  gap: 2.5rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

.home-hero h1 {
  margin: 0;
}

.home-hero .hero-panel-link {
  margin-top: 1.4rem;
}

.home-hero img {
  width: 100%;
  max-width: 36rem !important;
  max-height: 30rem !important;
  object-fit: contain;
}

.home-hero > div:last-child {
  margin-top: -1.25rem;
}

.home-page .home-hero img,
.about-page .home-hero img,
.services-page .home-hero img {
  width: 100%;
  max-width: 36rem !important;
  max-height: 30rem !important;
  object-fit: contain;
}
