:root {
  --accent: #064e3b;
  --bg1: #fdfbf7;
  --bg2: #011504;
  --bg3: #0b5a00;
  --focus: #065f46;
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--bg1);
  color: #1c1917;
}

a,
button {
  transition: all 150ms ease;
}

a[aria-disabled="true"],
button[aria-busy="true"] {
  pointer-events: none;
  opacity: 0.78;
}

button,
a[role="button"] {
  min-height: 44px;
}

input,
select,
textarea {
  min-height: 44px;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  background: #064e3b;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 30px -10px rgba(6, 78, 59, 0.12);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(5, 150, 105, 0.6);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(6, 78, 59, 0.18);
}

.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, #064e3b, #059669);
}

.nav--top {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}

.nav--top .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.nav--top .nav-link:hover,
.nav--top .nav-link:focus-visible {
  color: #ffffff;
}

.nav--top #navBrandText {
  color: #ffffff;
}

.nav--top #navDivider {
  background: rgba(255, 255, 255, 0.18);
}

.nav--top #langSelect,
.nav--top #langChevron,
.nav--top #langSelectMobile,
.nav--top #langChevronMobile,
.nav--top #menuBtn {
  color: #ffffff;
}

.nav--top #menuBtn:hover,
.nav--top #menuBtn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.nav--top #navCta {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav--top #navCta:hover,
.nav--top #navCta:focus-visible {
  transform: translateY(-1px);
}

.nav--scrolled {
  background: rgba(253, 251, 247, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 28, 22, 0.08);
}

.nav--scrolled .nav-link {
  color: #44403c;
}

.nav--scrolled .nav-link:hover,
.nav--scrolled .nav-link:focus-visible {
  color: #064e3b;
}

.nav--scrolled #navBrandText {
  color: #064e3b;
}

.nav--scrolled #navDivider {
  background: rgba(10, 28, 22, 0.1);
}

.nav--scrolled #langSelect,
.nav--scrolled #langChevron,
.nav--scrolled #langSelectMobile,
.nav--scrolled #langChevronMobile,
.nav--scrolled #menuBtn {
  color: #064e3b;
}

.nav--scrolled #menuBtn:hover,
.nav--scrolled #menuBtn:focus-visible {
  background: rgba(10, 28, 22, 0.05);
}

.nav--scrolled #navCta {
  background: #064e3b;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(10, 28, 22, 0.18);
}

.nav--scrolled #navCta:hover,
.nav--scrolled #navCta:focus-visible {
  background: #047857;
}

.nav--top #mobileMenu {
  background: rgba(0, 0, 0, 0.62);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav--top #mobileMenu a,
.nav--top #mobileMenu select,
.nav--top #mobileMenu button {
  color: rgba(255, 255, 255, 0.9);
}

.nav--top #navCtaMobile {
  background: #ffffff;
  color: #111111;
}

.nav--scrolled #mobileMenu {
  background: #fdfbf7;
  border-color: rgba(10, 28, 22, 0.1);
}

#mobileMenu a,
#mobileMenu button {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

#navCta,
#navCtaMobile {
  min-height: 44px;
}

.nav-link.is-active {
  font-weight: 700;
  border-bottom: 2px solid currentColor;
}

.nav--top .nav-link.is-active {
  color: #ffffff;
}

.nav--scrolled .nav-link.is-active {
  color: #064e3b;
}

.nav--scrolled #mobileMenu a,
.nav--scrolled #mobileMenu select,
.nav--scrolled #mobileMenu button {
  color: #44403c;
}

.nav--scrolled #navCtaMobile {
  background: #064e3b;
  color: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    opacity: 0.92;
  }

  a.inline-flex:hover,
  button:not([disabled]):hover {
    transform: translateY(-1px);
  }
}

details[open] summary .chev {
  transform: rotate(180deg);
}

summary::-webkit-details-marker {
  display: none;
}

summary {
  border-radius: 0.75rem;
}

summary:focus-visible {
  background: rgba(6, 78, 59, 0.08);
}

details > div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

details > div > * {
  overflow: hidden;
}

details[open] > div {
  grid-template-rows: 1fr;
}

section .glass-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

section [class*="border"] {
  border-width: 0 !important;
}

section [class*="ring-"] {
  box-shadow: none !important;
}

section [class*="shadow"] {
  box-shadow: none !important;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

#siteNav button[aria-expanded="true"] {
  background: rgba(6, 78, 59, 0.12);
}

.btn-state {
  pointer-events: none;
}

.btn-icon-spin {
  animation: spin 0.8s linear infinite;
}

.button-success-pop {
  animation: success-pop 220ms ease;
}

@keyframes success-pop {
  from {
    transform: scale(0.92);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.field-error {
  border-color: #059669 !important;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.12);
}

.form-feedback {
  animation: fade-slide-up 240ms ease;
}

@keyframes fade-slide-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead-form-success {
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.25), 0 0 35px rgba(5, 150, 105, 0.18);
}

.slider-wrap {
  position: relative;
}

.slider-tip {
  position: absolute;
  top: -2.2rem;
  transform: translateX(-50%);
  background: #064e3b;
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.slider-tip.is-visible {
  opacity: 1;
}

img[loading="lazy"] {
  background: #f1f5f9;
}

img.is-lazy-loading {
  filter: blur(8px);
  transform: scale(1.01);
  transition: filter 220ms ease, transform 220ms ease;
}

.no-js #menuBtn {
  display: none !important;
}

.no-js #mobileMenu,
.no-js #mobileMenu.hidden {
  display: block !important;
  position: static !important;
}

@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;
  }
}
