:root {
  --green: #1b5e20;
  --green-2: #2e7d32;
  --green-3: #0f3d14;
  --accent: #f8f6f1;
  --dark: #18191c;
  --text: #6f7174;
  --light: #f8f6f1;
  --line: #e8e6df;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(24, 25, 28, 0.1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-glass: cubic-bezier(0.19, 1, 0.22, 1);
  --glass-border: rgba(255, 255, 255, 0.58);
  --glass-shadow: 0 30px 90px rgba(15, 61, 20, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: Lexend, sans-serif;
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

.scroll-progress {
  background: var(--green);
  height: 3px;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: scaleX(0);
  transform-origin: left center;
  width: 100%;
  z-index: 1200;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p {
  color: var(--text);
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--dark);
  letter-spacing: 0;
  line-height: 1.05;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section.light {
  background: var(--light);
}

.section-title {
  margin-bottom: 48px;
}

.section-title.center {
  text-align: center;
}

.section-title .sub-title,
.eyebrow {
  color: var(--green-2);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 58px;
  font-weight: 700;
  max-width: 760px;
}

.section-title.center h2 {
  margin: 0 auto;
}

.section-title .text {
  font-size: 16px;
  margin-top: 18px;
  max-width: 680px;
}

.theme-btn {
  align-items: center;
  background: var(--green);
  color: var(--white);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0;
  min-height: 58px;
  overflow: hidden;
  padding: 16px 30px;
  position: relative;
  text-transform: uppercase;
  transition:
    background 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.theme-btn::after {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 7px;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease-smooth);
  width: 7px;
}

.theme-btn:hover {
  background: var(--green-3);
  box-shadow: 0 16px 32px rgba(15, 61, 20, 0.22);
  transform: translateY(-2px);
}

.theme-btn:hover::after {
  transform: rotate(45deg) translate(3px, -3px);
}

.site-header {
  animation: header-drop 0.72s var(--ease-out) both;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(24, 25, 28, 0.07);
  overflow-anchor: none;
  position: sticky;
  top: 0;
  transition: box-shadow 0.35s ease;
  z-index: 1000;
}

.header-top {
  background: var(--green-3);
  color: var(--light);
  font-size: 12px;
  max-height: 38px;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.header-top .container {
  align-items: center;
  display: flex;
  min-height: 38px;
  transition: min-height 0.3s ease;
}

.top-icons {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  width: 100%;
}

.top-icon-link {
  align-items: center;
  border-radius: 6px;
  color: var(--light);
  display: inline-flex;
  font-weight: 600;
  gap: 8px;
  justify-content: flex-start;
  min-width: 0;
  padding: 5px 8px;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
  width: 100%;
}

.top-icon,
.top-icon-link svg {
  color: var(--light);
  flex: 0 0 auto;
  height: 15px;
  width: 15px;
}

.top-icon-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-icon-link:hover {
  background: rgba(248, 246, 241, 0.14);
  color: var(--white);
  transform: translateY(-1px);
}

.top-icon-link:hover svg {
  color: var(--white);
}

.header-main .container {
  align-items: center;
  display: flex;
  min-height: 88px;
  position: relative;
  transition: min-height 0.3s ease;
}

.logo {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
}

.logo img {
  height: 52px;
  transition: height 0.3s ease;
  width: auto;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 34px;
  justify-content: center;
  margin-left: auto;
}

.main-nav a {
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  padding: 34px 0;
  position: relative;
  transition:
    color 0.3s ease,
    padding 0.3s ease;
}

.main-nav a::after {
  background: var(--green);
  bottom: 26px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transition: width 0.3s ease;
  width: 0;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-action {
  align-items: flex-start;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(27, 94, 32, 0.14);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 34px;
  min-width: 170px;
  padding: 13px 20px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    margin-left 0.3s ease,
    padding 0.3s ease,
    transform 0.3s ease;
}

.header-action:hover {
  background: var(--green-3);
  border-color: var(--green-3);
  box-shadow: 0 18px 34px rgba(15, 61, 20, 0.22);
  transform: translateY(-2px);
}

.header-action .action-title {
  color: var(--white);
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.header-action .action-subtitle {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.site-header.is-compact {
  box-shadow: 0 10px 34px rgba(24, 25, 28, 0.12);
}

.site-header.is-compact .header-top {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
}

.site-header.is-compact .header-top .container {
  min-height: 0;
}

.site-header.is-compact .header-main .container {
  min-height: 64px;
}

.site-header.is-compact .logo img {
  height: 42px;
}

.site-header.is-compact .main-nav {
  top: 64px;
}

.site-header.is-compact .main-nav a {
  padding: 22px 0;
}

.site-header.is-compact .main-nav a::after {
  bottom: 16px;
}

.site-header.is-compact .header-action {
  margin-left: 28px;
  min-width: 150px;
  padding: 10px 16px;
}

.site-header.is-compact .header-action .action-title {
  font-size: 13px;
}

.site-header.is-compact .header-action .action-subtitle {
  font-size: 10px;
}

.menu-toggle {
  align-items: center;
  background: var(--green);
  border: 0;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 46px;
  justify-content: center;
  margin-left: auto;
  width: 46px;
}

.menu-toggle span {
  background: var(--white);
  border-radius: 999px;
  display: block;
  height: 2px;
  transition: 0.3s ease;
  width: 22px;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(10, 20, 13, 0.88), rgba(10, 20, 13, 0.5)),
    url("../images/hero.jpg");
  background-position:
    center,
    center calc(50% + var(--parallax-y, 0px));
  background-repeat: no-repeat;
  background-size: auto, cover;
  display: flex;
  min-height: 770px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  animation: hero-sheen 8.5s ease-in-out 1.3s infinite;
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.1) 48%,
    transparent 58%,
    transparent 100%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
  z-index: 0;
}

.hero::after {
  background: rgba(255, 255, 255, 0.06);
  content: "";
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 34%;
  z-index: 0;
}

.hero-content {
  max-width: 820px;
  padding: 120px 0 160px;
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: var(--accent);
  position: relative;
}

.hero .eyebrow::after {
  background: currentColor;
  content: "";
  height: 2px;
  left: calc(100% + 12px);
  position: absolute;
  top: 50%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease-smooth) 0.12s;
  width: 32px;
}

.hero-content.visible .eyebrow::after {
  transform: scaleX(1);
}

.hero h1 {
  color: var(--white);
  font-size: 98px;
  font-weight: 700;
  margin-bottom: 28px;
}

.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  max-width: 650px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content p,
.hero-content .hero-actions {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.hero-content.visible .eyebrow,
.hero-content.visible h1,
.hero-content.visible p,
.hero-content.visible .hero-actions {
  opacity: 1;
  transform: none;
}

.hero-content.visible h1 {
  transition-delay: 0.08s;
}

.hero-content.visible p {
  transition-delay: 0.16s;
}

.hero-content.visible .hero-actions {
  transition-delay: 0.24s;
}

.hero-note {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-dots {
  bottom: 40px;
  display: flex;
  gap: 12px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-dots span {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: block;
  height: 10px;
  transition:
    background 0.35s ease,
    transform 0.35s ease;
  width: 10px;
}

.hero-dots span:first-child {
  background: var(--accent);
  transform: scale(1.25);
}

.quick-services {
  margin-top: -72px;
  position: relative;
  z-index: 4;
}

.quick-grid {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(24, 25, 28, 0.09);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.quick-card {
  background: var(--white);
  border-right: 1px solid var(--line);
  min-height: 210px;
  padding: 34px 24px;
  position: relative;
  transition:
    background 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.quick-card::before {
  background: var(--green);
  content: "";
  height: 3px;
  inset: 0 0 auto;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s var(--ease-smooth);
}

.quick-card:first-child {
  border-radius: 8px 0 0 8px;
}

.quick-card:last-child {
  border-radius: 0 10px 10px 0;
  border-right: 0;
}

.quick-card:hover {
  background: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.quick-card:hover::before {
  transform: scaleX(1);
}

.quick-card img {
  background: #e5f1e8;
  border-radius: 50%;
  height: 58px;
  margin-bottom: 22px;
  padding: 13px;
  transition:
    background 0.35s var(--ease-smooth),
    filter 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
  width: 58px;
}

.quick-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.quick-card p {
  font-size: 13px;
  line-height: 1.65;
}

.quick-card:hover h3,
.quick-card:hover p {
  color: var(--white);
}

.quick-card:hover img {
  background: rgba(255, 255, 255, 0.15);
  filter: brightness(0) invert(1);
  transform: translateY(-3px) scale(1.04);
}

.about-section {
  overflow: hidden;
  padding: 72px 0 36px;
}

.about-section::before {
  background: linear-gradient(
    180deg,
    var(--light) 0%,
    rgba(248, 246, 241, 0.72) 58%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  height: 260px;
  inset: 0 0 auto;
  position: absolute;
  z-index: 0;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.about-section .section-title {
  margin-bottom: 28px;
}

.about-section .info-list {
  gap: 22px;
  margin: 26px 0 0;
}

.services-section {
  padding: 70px 0 80px;
}

.about-grid {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: 0.95fr 1.05fr;
}

.image-collage {
  min-height: 620px;
  position: relative;
}

.image-collage .image-main,
.image-collage .image-small {
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: absolute;
}

.image-collage .image-main {
  height: 520px;
  left: 0;
  top: 0;
  width: 78%;
}

.image-collage .image-small {
  border: 14px solid var(--white);
  bottom: 0;
  height: 300px;
  right: 0;
  width: 58%;
}

.image-collage img {
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-smooth);
  width: 100%;
}

.image-collage:hover img {
  transform: scale(1.04);
}

.image-collage.visible .image-main {
  animation: float-main 7s ease-in-out 0.8s infinite;
}

.image-collage.visible .image-small {
  animation: float-small 8s ease-in-out 1.1s infinite;
}

.experience-box {
  align-items: center;
  background: var(--green);
  bottom: 72px;
  color: var(--white);
  display: grid;
  gap: 8px 18px;
  grid-template-columns: auto 1fr;
  left: 42px;
  padding: 24px 28px 22px;
  position: absolute;
  transition:
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
  width: 310px;
}

.image-collage:hover .experience-box {
  box-shadow: 0 22px 46px rgba(15, 61, 20, 0.22);
  transform: translateY(-4px);
}

.experience-box strong {
  color: var(--white);
  display: block;
  font-size: 44px;
  line-height: 1;
}

.experience-box span {
  color: rgba(255, 255, 255, 0.88);
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.experience-link {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  grid-column: 1 / -1;
  justify-content: center;
  letter-spacing: 0;
  margin-top: 8px;
  min-height: 42px;
  padding: 11px 18px;
  text-transform: uppercase;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.experience-link:hover {
  background: var(--white);
  color: var(--green);
  transform: translateY(-2px);
}

.info-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 36px;
}

.info-box {
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 58px 1fr;
  overflow: hidden;
  padding: 22px;
  position: relative;
  transition:
    border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.info-box::before {
  background: var(--green);
  content: "";
  inset: auto 0 0;
  height: 3px;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s var(--ease-smooth);
}

.info-box:hover {
  border-color: rgba(27, 94, 32, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.info-box:hover::before {
  transform: scaleX(1);
}

.info-box img {
  background: #e5f1e8;
  border-radius: 50%;
  height: 58px;
  padding: 13px;
  transition: transform 0.35s var(--ease-smooth);
  width: 58px;
}

.info-box:hover img {
  transform: rotate(-4deg) scale(1.05);
}

.info-box h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.service-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition:
    box-shadow 0.4s var(--ease-smooth),
    transform 0.4s var(--ease-smooth);
}

.service-card:hover {
  box-shadow: 0 28px 70px rgba(24, 25, 28, 0.16);
  transform: translateY(-8px);
}

.service-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.service-image::after {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
  content: "";
  inset: 0;
  position: absolute;
}

.service-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-smooth);
  width: 100%;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-icon {
  align-items: center;
  background: var(--green);
  border: 8px solid var(--white);
  border-radius: 50%;
  display: flex;
  height: 78px;
  justify-content: center;
  position: absolute;
  right: 26px;
  top: 211px;
  transition:
    background 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
  width: 78px;
  z-index: 2;
}

.service-card:hover .service-icon {
  background: var(--green-3);
  transform: translateY(-6px) rotate(5deg);
}

.service-icon img {
  filter: brightness(0) invert(1);
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.service-content {
  padding: 56px 30px 32px;
}

.service-content h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

.read-more {
  color: var(--green);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0;
  margin-top: 22px;
  text-transform: uppercase;
  transition: color 0.3s var(--ease-smooth);
}

.read-more::after {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 7px;
  margin-top: 6px;
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease-smooth);
  width: 7px;
}

.service-card:hover .read-more {
  color: var(--green-3);
}

.service-card:hover .read-more::after {
  transform: rotate(45deg) translate(3px, -3px);
}

.funfact {
  background-image:
    linear-gradient(90deg, rgba(15, 61, 20, 0.94), rgba(15, 61, 20, 0.9)),
    url("../images/field4.jpg");
  background-position:
    center,
    center calc(50% + var(--parallax-y, 0px));
  background-repeat: no-repeat;
  background-size: auto, cover;
  color: var(--white);
  overflow: hidden;
  padding: 92px 0 110px;
}

.funfact-grid {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 0.95fr 1.05fr;
}

.funfact .section-title {
  margin-bottom: 0;
}

.funfact .sub-title,
.funfact h2,
.funfact p {
  color: var(--white);
}

.stats-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 30px;
  transition:
    background 0.35s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-6px);
}

.stat-card img {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  filter: brightness(0) invert(1);
  height: 58px;
  margin-bottom: 20px;
  opacity: 0.92;
  padding: 13px;
  transition:
    background 0.35s var(--ease-smooth),
    opacity 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
  width: 58px;
}

.stat-card:hover img {
  background: rgba(255, 255, 255, 0.24);
  opacity: 1;
  transform: rotate(-4deg) scale(1.06);
}

.stat-card h3 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 4px;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.split-grid {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr 1fr;
}

.split-image {
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 520px;
  overflow: hidden;
}

.split-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease-smooth);
  width: 100%;
}

.split-image:hover img {
  transform: scale(1.05);
}

.project-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
}

.projects-section {
  padding-top: 80px;
}

.project-card {
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 420px;
  overflow: hidden;
  position: relative;
  transition:
    box-shadow 0.4s var(--ease-smooth),
    transform 0.4s var(--ease-smooth);
}

.project-card img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 0.5s ease;
  width: 100%;
}

.project-card::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05),
    rgba(10, 20, 13, 0.86)
  );
  content: "";
  inset: 0;
  position: absolute;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-card:hover {
  box-shadow: 0 30px 70px rgba(24, 25, 28, 0.18);
  transform: translateY(-6px);
}

.project-content {
  bottom: 0;
  left: 0;
  padding: 32px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.project-content h3,
.project-content p {
  color: var(--white);
}

.project-content h3 {
  font-size: 25px;
  margin-bottom: 10px;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 28px;
}

.why-section {
  padding-top: 84px;
}

.feature-box {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 16px;
  min-height: 112px;
  padding: 22px;
  transition:
    border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.feature-box:hover {
  border-color: rgba(27, 94, 32, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-box img {
  background: #e5f1e8;
  border-radius: 50%;
  height: 56px;
  padding: 13px;
  transition: transform 0.35s var(--ease-smooth);
  width: 56px;
}

.feature-box:hover img {
  transform: scale(1.05) rotate(-4deg);
}

.feature-box h3 {
  font-size: 18px;
}

.partners {
  overflow: hidden;
  padding-top: 84px;
}

.logos {
  align-items: center;
  display: flex;
  gap: 54px;
  justify-content: center;
  margin-top: 36px;
}

.logos-track,
.logos-set {
  display: contents;
}

.logos-set.duplicate {
  display: none;
}

.logos img {
  filter: grayscale(100%);
  flex: 0 0 auto;
  max-height: 56px;
  opacity: 0.65;
  transition:
    filter 0.35s var(--ease-smooth),
    opacity 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.logos img:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-3px) scale(1.04);
}

.publications-section {
  background: var(--white);
  padding: 96px 0 110px;
}

.publications-section .section-title {
  margin-bottom: 42px;
}

.publications-section .section-title h2 {
  color: var(--green-3);
  max-width: none;
}

.publication-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}

.publication-card {
  background: var(--white);
  border: 1px solid rgba(27, 94, 32, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(24, 25, 28, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  overflow: hidden;
  padding: 38px 34px;
  position: relative;
  transition:
    border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.publication-card::before {
  background: var(--green);
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s var(--ease-smooth);
}

.publication-card:hover {
  border-color: rgba(27, 94, 32, 0.45);
  box-shadow: 0 24px 60px rgba(24, 25, 28, 0.1);
  transform: translateY(-5px);
}

.publication-card:hover::before {
  transform: scaleX(1);
}

.publication-card h3 {
  color: var(--green-3);
  font-size: 30px;
  margin-bottom: 26px;
}

.publication-link {
  align-items: center;
  align-self: flex-start;
  background: var(--green);
  border: 0;
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  text-transform: uppercase;
  transition:
    background 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.publication-link:hover {
  background: var(--green-3);
  box-shadow: 0 14px 28px rgba(15, 61, 20, 0.18);
  transform: translateY(-2px);
}

.site-footer {
  background: var(--light);
  color: var(--dark);
  padding-top: 64px;
}

.site-footer p {
  color: var(--text);
}

.footer-wrap {
  margin: 0 auto;
  width: min(1200px, calc(100% - 40px));
}

.footer-newsletter {
  align-items: center;
  border-bottom: 1px solid rgba(24, 25, 28, 0.12);
  border-top: 1px solid rgba(24, 25, 28, 0.12);
  display: grid;
  gap: 36px;
  grid-template-columns: 240px 1fr;
  padding: 34px 0;
}

.footer-newsletter .footer-logo {
  display: inline-flex;
}

.footer-newsletter .footer-logo img {
  height: 54px;
  width: auto;
}

.newsletter-form {
  display: flex;
  min-height: 64px;
}

.newsletter-form input {
  background: var(--white);
  border: 1px solid transparent;
  color: var(--dark);
  flex: 1;
  font: inherit;
  min-width: 0;
  padding: 0 28px;
}

.newsletter-form input:focus {
  border-color: rgba(27, 94, 32, 0.4);
  outline: 0;
}

.newsletter-form button {
  background: var(--green);
  border: 0;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  min-width: 280px;
  padding: 0 30px;
  text-transform: uppercase;
  transition:
    background 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.newsletter-form button:hover {
  background: var(--green-3);
  box-shadow: 0 14px 28px rgba(15, 61, 20, 0.16);
  transform: translateY(-1px);
}

.footer-main {
  padding: 58px 0 64px;
}

.footer-main-grid {
  display: grid;
  gap: 54px;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1fr;
}

.footer-brand p {
  max-width: 410px;
}

.footer-column h3 {
  color: var(--dark);
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-links,
.footer-contact-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-links a,
.footer-contact-list a,
.footer-contact-list span {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-weight: 500;
  gap: 10px;
}

.footer-links a:hover,
.footer-contact-list a:hover {
  color: var(--green);
}

.footer-contact-icon {
  color: var(--green);
  flex: 0 0 auto;
  height: 16px;
  width: 16px;
}

.footer-bottom {
  background: var(--white);
  border-top: 1px solid rgba(24, 25, 28, 0.1);
  padding: 24px 0;
}

.footer-bottom .container {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.footer-bottom p {
  color: var(--dark);
  font-weight: 500;
}

.footer-socials {
  align-items: center;
  display: flex;
  gap: 12px;
}

.footer-social {
  align-items: center;
  background: var(--green);
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition:
    background 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
  width: 38px;
}

.footer-social:hover {
  background: var(--green-3);
  box-shadow: 0 12px 24px rgba(15, 61, 20, 0.18);
  transform: translateY(-2px);
}

.footer-social svg {
  height: 17px;
  width: 17px;
}

.fade {
  filter: blur(14px);
  opacity: 0;
  transform: translate3d(0, 48px, 0) scale(0.972);
  transition:
    opacity 1.05s var(--ease-glass),
    filter 1.05s var(--ease-glass),
    transform 1.05s var(--ease-glass);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.fade[data-reveal="left"] {
  transform: translate3d(-64px, 24px, 0) scale(0.978);
}

.fade[data-reveal="right"] {
  transform: translate3d(64px, 24px, 0) scale(0.978);
}

.fade[data-reveal="zoom"] {
  transform: translate3d(0, 28px, 0) scale(0.93);
}

.fade.visible {
  filter: blur(0);
  opacity: 1;
  transform: none;
}

.section-title .sub-title,
.section-title .eyebrow {
  position: relative;
}

.section-title .sub-title::after,
.section-title .eyebrow::after {
  background: currentColor;
  content: "";
  height: 2px;
  left: calc(100% + 10px);
  position: absolute;
  top: 50%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease-smooth) 0.12s;
  width: 26px;
}

.fade.visible .sub-title::after,
.fade.visible .eyebrow::after {
  transform: scaleX(1);
}

@keyframes header-drop {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-sheen {
  0%,
  58% {
    transform: translateX(-120%);
  }
  82%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes float-main {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes float-small {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 8px, 0);
  }
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes footprint-card-shift {
  0%,
  100% {
    background-position: 0% 50%;
    border-color: rgba(27, 94, 32, 0.14);
  }
  50% {
    background-position: 100% 50%;
    border-color: rgba(27, 94, 32, 0.34);
  }
}

@keyframes footprint-card-sheen {
  0%,
  55% {
    transform: translateX(-120%);
  }
  85%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes profile-cover-sheen {
  from {
    transform: translateX(-130%) rotate(12deg);
  }
  to {
    transform: translateX(130%) rotate(12deg);
  }
}

@keyframes glass-light-pass {
  0%,
  52% {
    transform: translateX(-130%) skewX(-14deg);
  }
  82%,
  100% {
    transform: translateX(130%) skewX(-14deg);
  }
}

@keyframes glass-border-breathe {
  0%,
  100% {
    box-shadow:
      0 24px 70px rgba(15, 61, 20, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.42);
  }
  50% {
    box-shadow:
      0 34px 96px rgba(15, 61, 20, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.7);
  }
}

@keyframes glass-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@media (max-width: 1100px) {
  .header-action {
    display: none;
  }

  .top-icons {
    gap: 10px;
  }

  .top-icon-link {
    font-size: 11px;
    padding-inline: 6px;
  }

  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-card:nth-child(3) {
    border-radius: 0 10px 10px 0;
    border-right: 0;
  }

  .quick-card:nth-child(4) {
    border-radius: 8px 0 0 8px;
    margin-top: 1px;
  }

  .quick-card:nth-child(5) {
    border-radius: 0 10px 10px 0;
    margin-top: 1px;
  }
}

@media (max-width: 900px) {
  .header-top {
    display: none;
  }

  .header-main .container {
    min-height: 76px;
  }

  .main-nav {
    background: var(--white);
    border-top: 3px solid var(--green);
    box-shadow: 0 18px 45px rgba(24, 25, 28, 0.15);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 20px;
    margin-left: 0;
    padding: 12px;
    position: absolute;
    right: 20px;
    top: 76px;
    z-index: 10;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 10px;
    width: 100%;
  }

  .site-header.is-compact .main-nav a {
    padding: 13px 10px;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding: 100px 0 130px;
  }

  .quick-services {
    margin-top: 0;
    padding-top: 28px;
  }

  .quick-grid,
  .about-grid,
  .split-grid,
  .funfact-grid,
  .service-grid,
  .project-grid,
  .footer-main-grid {
    grid-template-columns: 1fr;
  }

  .footer-newsletter {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    width: 100%;
  }

  .quick-card,
  .quick-card:first-child,
  .quick-card:last-child,
  .quick-card:nth-child(3),
  .quick-card:nth-child(4),
  .quick-card:nth-child(5) {
    border-radius: 8px;
    border-right: 0;
    margin-top: 0;
  }

  .image-collage {
    min-height: 500px;
  }

  .publication-grid {
    grid-template-columns: 1fr;
  }

  .logos {
    justify-content: flex-start;
    gap: 0;
    margin-top: 26px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent,
      #000 12%,
      #000 88%,
      transparent
    );
    mask-image: linear-gradient(
      90deg,
      transparent,
      #000 12%,
      #000 88%,
      transparent
    );
  }

  .logos-track {
    align-items: center;
    animation: logo-scroll 22s linear infinite;
    display: flex;
    min-width: max-content;
  }

  .logos-set,
  .logos-set.duplicate {
    align-items: center;
    display: flex;
    gap: 42px;
    padding-right: 42px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .section {
    padding: 86px 0;
  }

  .hero h1 {
    font-size: 50px;
  }

  .section-title h2,
  .publications-section .section-title h2 {
    font-size: 42px;
  }

  .publication-card {
    min-height: 220px;
    padding: 30px 26px;
  }

  .publication-card h3 {
    font-size: 25px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter-form input,
  .newsletter-form button {
    min-height: 56px;
    width: 100%;
  }

  .newsletter-form button {
    min-width: 0;
  }

  .footer-bottom .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero p {
    font-size: 16px;
  }

  .feature-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .image-collage {
    min-height: 430px;
  }

  .image-collage .image-main {
    height: 360px;
    width: 84%;
  }

  .image-collage .image-small {
    height: 220px;
    width: 62%;
  }

  .experience-box {
    bottom: 38px;
    left: 20px;
    padding: 20px;
    width: 250px;
  }

  .experience-link {
    font-size: 11px;
    min-height: 38px;
    padding: 10px 14px;
  }

  .service-image,
  .split-image {
    height: 360px;
  }

  .service-icon {
    top: 321px;
  }
}

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

  .scroll-progress {
    display: none;
  }

  .fade,
  .fade[data-reveal="left"],
  .fade[data-reveal="right"],
  .fade[data-reveal="zoom"],
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content p,
  .hero-content .hero-actions {
    filter: none;
    opacity: 1;
    transform: none;
  }
}

/* About page */
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.about-page {
  background: var(--white);
  overflow: hidden;
}

.section-kicker {
  color: var(--green-2);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.about-page .section {
  padding: 96px 0;
}

.about-hero {
  isolation: isolate;
  min-height: 690px;
  overflow: hidden;
  padding: 118px 0 92px;
  position: relative;
}

.about-hero-bg {
  background:
    linear-gradient(
      90deg,
      rgba(5, 32, 10, 0.62),
      rgba(5, 32, 10, 0.22) 48%,
      rgba(5, 32, 10, 0.5)
    ),
    url("../images/hero.jpg") center / cover;
  inset: 0;
  position: absolute;
  transform: scale(1.04);
  z-index: -2;
}

.about-hero::after {
  background:
    radial-gradient(
      circle at 20% 24%,
      rgba(255, 255, 255, 0.24),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.about-hero-grid {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(300px, 760px);
  min-height: 480px;
}

.about-hero-panel {
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.74),
      rgba(255, 255, 255, 0.46)
    ),
    rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  box-shadow:
    0 30px 80px rgba(5, 32, 10, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  max-width: 740px;
  padding: clamp(30px, 5vw, 64px);
}

.about-hero-panel h1 {
  color: var(--dark);
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 24px;
  max-width: 780px;
}

.about-hero-panel p {
  color: #55595b;
  font-size: 18px;
  line-height: 1.8;
  max-width: 700px;
}

.about-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.about-story {
  background: linear-gradient(180deg, var(--white), #fbfaf7);
}

.about-story-grid,
.footprint-grid,
.profile-download-grid {
  align-items: center;
  display: grid;
  gap: clamp(42px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.about-story-grid {
  align-items: stretch;
}

.about-story-copy,
.about-story-cards {
  height: 100%;
}

.about-story-copy h2,
.footprint-copy h2,
.approach-copy h2,
.profile-download-copy h2 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  margin-bottom: 24px;
}

.about-story-copy p,
.footprint-copy p,
.approach-copy p,
.profile-download-copy p {
  font-size: 18px;
  line-height: 1.85;
}

.about-story-copy blockquote {
  background: var(--green);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(15, 61, 20, 0.18);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 34px;
  padding: 34px;
}

.about-story-cards {
  display: grid;
  gap: 18px;
  grid-template-rows: repeat(3, 1fr);
}

.about-pill-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 25, 28, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(24, 25, 28, 0.06);
  display: grid;
  gap: 22px;
  grid-template-columns: 74px 1fr;
  height: 100%;
  padding: 34px 32px;
  transition:
    border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.about-pill-card:hover {
  border-color: rgba(27, 94, 32, 0.24);
  box-shadow: 0 24px 60px rgba(24, 25, 28, 0.09);
  transform: translateY(-4px);
}

.about-card-icon {
  align-items: center;
  background: rgba(27, 94, 32, 0.11);
  border-radius: 50%;
  color: var(--green);
  display: inline-flex;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.about-card-icon svg {
  height: 34px;
  width: 34px;
}

.about-card-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.about-pill-card h3,
.glass-value-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.about-pill-card p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}

.about-footprint {
  background: var(--light);
}

.about-page .about-story {
  padding-bottom: 72px;
}

.about-page .about-footprint {
  padding-bottom: 58px;
  padding-top: 62px;
}

.footprint-copy {
  max-width: 620px;
}

.footprint-metrics {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(280px, 440px);
  margin-top: 34px;
}

.footprint-metrics div {
  animation: footprint-card-shift 7s ease-in-out infinite;
  background:
    linear-gradient(
      120deg,
      rgba(27, 94, 32, 0.1),
      rgba(255, 255, 255, 0.96) 42%,
      rgba(47, 138, 58, 0.14)
    ),
    var(--white);
  background-size: 220% 220%;
  border: 1px solid rgba(27, 94, 32, 0.16);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(15, 61, 20, 0.08);
  overflow: hidden;
  padding: 26px 32px;
  position: relative;
}

.footprint-metrics div::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.62),
    transparent
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
  animation: footprint-card-sheen 5.8s ease-in-out infinite;
}

.footprint-metrics strong {
  color: var(--green);
  display: block;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.footprint-metrics span {
  color: var(--text);
  display: block;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.footprint-map-card {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(24, 25, 28, 0.12);
  padding: clamp(22px, 4vw, 42px);
}

.somalia-map {
  aspect-ratio: 540 / 680;
  display: block;
  height: auto;
  margin: 0 auto;
  max-height: 720px;
  width: min(100%, 520px);
}

.somalia-map img {
  display: block;
  width: 100%;
}

.district {
  stroke: rgba(255, 255, 255, 0.88);
  stroke-linejoin: round;
  stroke-width: 2;
  transition:
    fill 0.35s var(--ease-smooth),
    opacity 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
  vector-effect: non-scaling-stroke;
}

.district.is-active {
  fill: #2f8a3a;
}

.district.is-muted {
  fill: #dfe5dc;
}

.district:hover {
  fill: var(--green-3);
  opacity: 0.95;
}

.somalia-outline {
  fill: none;
  stroke: rgba(15, 61, 20, 0.36);
  stroke-linejoin: round;
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
}

.map-pins circle {
  fill: var(--white);
  stroke: var(--green-3);
  stroke-width: 4;
}

.map-legend {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 18px;
}

.map-legend span {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  text-transform: uppercase;
}

.map-legend i {
  border-radius: 50%;
  display: inline-block;
  height: 12px;
  width: 12px;
}

.legend-active {
  background: #2f8a3a;
}

.legend-muted {
  background: #dfe5dc;
}

.about-approach-band {
  background:
    linear-gradient(120deg, rgba(15, 61, 20, 0.95), rgba(27, 94, 32, 0.86)),
    url("../images/field1.jpg") center / cover;
  overflow: hidden;
  padding-top: 78px !important;
}

.approach-copy {
  max-width: 960px;
}

.about-approach-band .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.approach-copy h2,
.approach-copy p,
.glass-value-card h3,
.glass-value-card p {
  color: var(--white);
}

.approach-copy p {
  max-width: 940px;
}

.approach-glass-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
}

.glass-value-card {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  min-height: 286px;
  padding: 32px;
  transition:
    background 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.glass-value-card:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-5px);
}

.glass-value-card .about-card-icon {
  background: rgba(255, 255, 255, 0.17);
  color: var(--white);
  margin-bottom: 28px;
}

.glass-value-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.profile-download {
  background:
    radial-gradient(circle at 18% 35%, rgba(27, 94, 32, 0.09), transparent 32%),
    linear-gradient(180deg, #fbfaf7, var(--white));
  padding-top: 88px !important;
}

.profile-download-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
}

.profile-mockup {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 520px;
  perspective: 1200px;
  position: relative;
}

.profile-cover-card {
  background: var(--white);
  border: 1px solid rgba(24, 25, 28, 0.08);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(24, 25, 28, 0.17);
  margin: 0;
  max-width: 380px;
  overflow: hidden;
  position: relative;
  transform: rotate(2deg) rotateY(-8deg);
  transition:
    box-shadow 0.55s var(--ease-smooth),
    filter 0.55s var(--ease-smooth),
    transform 0.55s var(--ease-smooth);
}

.profile-cover-card::after {
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.14) 38%,
    rgba(255, 255, 255, 0.56) 50%,
    rgba(255, 255, 255, 0.14) 62%,
    transparent 100%
  );
  content: "";
  inset: -18%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-130%) rotate(12deg);
}

.profile-cover-card img {
  display: block;
  height: auto;
  transition: transform 0.65s var(--ease-smooth);
  width: 100%;
}

.profile-cover-card:hover,
.profile-cover-card:focus-within {
  box-shadow: 0 44px 110px rgba(24, 25, 28, 0.22);
  filter: saturate(1.04);
  transform: rotate(0deg) rotateY(0deg) translateY(-12px) scale(1.02);
}

.profile-cover-card:focus-visible {
  outline: 3px solid rgba(47, 138, 58, 0.4);
  outline-offset: 8px;
}

.profile-cover-card:hover::after,
.profile-cover-card:focus-within::after {
  animation: profile-cover-sheen 1.05s var(--ease-smooth) both;
  opacity: 1;
}

.profile-cover-card:hover img,
.profile-cover-card:focus-within img {
  transform: scale(1.025);
}

.profile-download-copy {
  max-width: 650px;
}

.profile-download-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
  margin-top: 32px;
}

.about-page {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 42%, #ffffff 100%);
}

.about-page .container,
.about-hero-grid {
  position: relative;
  z-index: 1;
}

.about-hero {
  --parallax-y: 0px;
}

.about-hero-bg {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08);
  transform-origin: center;
  will-change: transform;
}

.about-hero-panel {
  animation: glass-border-breathe 7s ease-in-out infinite;
  background:
    radial-gradient(
      circle at var(--mx, 26%) var(--my, 18%),
      rgba(255, 255, 255, 0.78),
      rgba(255, 255, 255, 0.34) 36%,
      transparent 66%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.76),
      rgba(255, 255, 255, 0.38)
    ),
    rgba(255, 255, 255, 0.48);
  overflow: hidden;
  position: relative;
  transition:
    box-shadow 0.55s var(--ease-glass),
    transform 0.55s var(--ease-glass);
}

.about-hero-panel::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), transparent 42%),
    linear-gradient(315deg, rgba(27, 94, 32, 0.08), transparent 42%);
  border-radius: inherit;
  content: "";
  inset: 1px;
  pointer-events: none;
  position: absolute;
}

.about-hero-panel::after {
  animation: glass-light-pass 8.5s ease-in-out 1.1s infinite;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 38%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.12) 62%,
    transparent 100%
  );
  content: "";
  inset: -24%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-130%) skewX(-14deg);
}

.about-hero-panel > * {
  position: relative;
  z-index: 1;
}

.about-hero-panel:hover {
  box-shadow:
    0 38px 105px rgba(5, 32, 10, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: translateY(-5px);
}

.about-pill-card,
.footprint-map-card,
.footprint-metrics div,
.glass-value-card,
.profile-cover-card {
  position: relative;
  transform-style: preserve-3d;
}

.about-pill-card,
.footprint-map-card,
.footprint-metrics div {
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  background:
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 0%),
      rgba(255, 255, 255, 0.82),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.86),
      rgba(248, 246, 241, 0.56)
    );
  border-color: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 24px 70px rgba(15, 61, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

.about-pill-card::before,
.footprint-map-card::before,
.glass-value-card::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), transparent 44%),
    linear-gradient(315deg, rgba(27, 94, 32, 0.1), transparent 46%);
  content: "";
  inset: 0;
  opacity: 0.66;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.45s var(--ease-glass);
}

.about-pill-card > *,
.footprint-map-card > *,
.footprint-metrics div > *,
.glass-value-card > * {
  position: relative;
  z-index: 1;
}

.about-pill-card {
  opacity: 0;
  transform: translate3d(34px, 26px, 0) scale(0.98);
  transition:
    border-color 0.45s var(--ease-glass),
    box-shadow 0.45s var(--ease-glass),
    opacity 0.85s var(--ease-glass),
    transform 0.85s var(--ease-glass);
}

.about-story-cards.visible .about-pill-card {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.about-story-cards.visible .about-pill-card:nth-child(2) {
  transition-delay: 110ms;
}

.about-story-cards.visible .about-pill-card:nth-child(3) {
  transition-delay: 220ms;
}

.about-story-cards.reveal-complete .about-pill-card {
  transition-delay: 0ms;
}

.about-pill-card:hover,
.footprint-map-card:hover {
  border-color: rgba(27, 94, 32, 0.26);
  box-shadow:
    0 34px 90px rgba(15, 61, 20, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  transform: translateY(-7px);
}

.about-pill-card:hover::before,
.footprint-map-card:hover::before,
.glass-value-card:hover::before {
  opacity: 1;
}

.about-card-icon {
  transition:
    background 0.4s var(--ease-glass),
    color 0.4s var(--ease-glass),
    transform 0.4s var(--ease-glass);
}

.about-pill-card:hover .about-card-icon,
.glass-value-card:hover .about-card-icon {
  transform: translateZ(18px) scale(1.06);
}

.about-story-copy blockquote {
  position: relative;
  transition:
    box-shadow 0.45s var(--ease-glass),
    transform 0.45s var(--ease-glass);
}

.about-story-copy blockquote:hover {
  box-shadow: 0 28px 70px rgba(15, 61, 20, 0.24);
  transform: translateY(-5px);
}

.footprint-map-card {
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.54) 34%,
    rgba(255, 255, 255, 0.74) 68%
  );
}

.somalia-map {
  transition:
    filter 0.5s var(--ease-glass),
    transform 0.5s var(--ease-glass);
}

.footprint-map-card:hover .somalia-map {
  filter: drop-shadow(0 18px 28px rgba(15, 61, 20, 0.14));
  transform: translateY(-5px) scale(1.015);
}

.about-approach-band {
  --parallax-y: 0px;
  background-image:
    linear-gradient(120deg, rgba(15, 61, 20, 0.95), rgba(27, 94, 32, 0.84)),
    url("../images/field1.jpg");
  background-position:
    center,
    center calc(50% + var(--parallax-y, 0px));
  background-repeat: no-repeat;
  background-size: auto, cover;
}

.glass-value-card {
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  background:
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 0%),
      rgba(255, 255, 255, 0.26),
      transparent 38%
    ),
    rgba(255, 255, 255, 0.12);
  box-shadow:
    0 22px 54px rgba(5, 32, 10, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  overflow: hidden;
  position: relative;
  transition:
    background 0.45s var(--ease-glass),
    border-color 0.45s var(--ease-glass),
    box-shadow 0.45s var(--ease-glass),
    transform 0.45s var(--ease-glass);
}

.glass-value-card:hover {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 30px 74px rgba(5, 32, 10, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  transform: translateY(-8px);
}

.profile-cover-card {
  box-shadow:
    0 34px 90px rgba(24, 25, 28, 0.17),
    0 0 0 1px rgba(255, 255, 255, 0.76);
}

.profile-mockup::before {
  background:
    linear-gradient(145deg, rgba(27, 94, 32, 0.14), transparent 54%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.64), transparent 48%);
  border-radius: 8px;
  content: "";
  height: 72%;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
  right: 8%;
  top: 12%;
  transform: rotate(-6deg);
  width: min(78%, 420px);
}

@media (max-width: 1100px) {
  .about-hero-grid,
  .about-story-grid,
  .footprint-grid,
  .profile-download-grid {
    gap: 42px;
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding-top: 96px;
  }

  .about-hero-panel {
    max-width: none;
  }

  .approach-glass-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .about-page .section {
    padding: 72px 0;
  }

  .about-hero {
    min-height: auto;
    padding: 70px 0;
  }

  .about-hero-grid {
    min-height: 0;
  }

  .about-hero-panel {
    padding: 28px;
  }

  .about-hero-panel p,
  .about-story-copy p,
  .footprint-copy p,
  .approach-copy p,
  .profile-download-copy p {
    font-size: 16px;
  }

  .about-hero-actions,
  .map-legend {
    align-items: stretch;
    flex-direction: column;
  }

  .about-hero-actions .theme-btn,
  .profile-download-btn {
    width: 100%;
  }

  .footprint-metrics,
  .approach-glass-grid {
    grid-template-columns: 1fr;
  }

  .about-pill-card {
    align-items: flex-start;
    height: auto;
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .footprint-map-card {
    padding: 18px;
  }

  .glass-value-card {
    min-height: auto;
  }

  .profile-mockup {
    min-height: 430px;
  }

  .profile-cover-card {
    max-width: 300px;
    transform: rotate(1deg);
  }
}

/* Services page */
.services-page {
  background: var(--white);
  overflow: hidden;
}

.services-hero {
  --parallax-y: 0px;
  align-items: center;
  background-color: var(--green-3);
  background-image:
    linear-gradient(90deg, rgba(8, 22, 11, 0.92), rgba(15, 61, 20, 0.74)),
    url("../images/field4.jpg");
  background-position:
    center,
    center calc(50% + var(--parallax-y, 0px));
  background-repeat: no-repeat;
  background-size: auto, cover;
  color: var(--white);
  display: flex;
  isolation: isolate;
  min-height: 760px;
  overflow: hidden;
  padding: 126px 0 112px;
  position: relative;
}

.services-hero::before {
  animation: hero-sheen 9s ease-in-out 1s infinite;
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.12) 48%,
    transparent 58%,
    transparent 100%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
  z-index: -1;
}

.services-hero::after {
  background: rgba(255, 255, 255, 0.06);
  content: "";
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 32%;
  z-index: -1;
}

.services-hero-inner {
  display: grid;
  gap: clamp(34px, 6vw, 82px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  position: relative;
  z-index: 1;
}

.services-hero-copy {
  max-width: 880px;
}

.services-hero .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.services-hero h1 {
  color: var(--white);
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 26px;
  max-width: 980px;
}

.services-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  max-width: 690px;
}

.services-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

.services-secondary-link {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition:
    color 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.services-secondary-link:hover {
  color: var(--white);
  transform: translateX(4px);
}

.services-hero-metrics {
  align-self: end;
  display: grid;
  gap: 14px;
}

.services-metric {
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  background:
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 0%),
      rgba(255, 255, 255, 0.28),
      transparent 36%
    ),
    rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(5, 32, 10, 0.22);
  padding: 24px;
  transition:
    background 0.35s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.services-metric:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-5px);
}

.services-metric strong {
  color: var(--white);
  display: block;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.services-metric span {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 10px;
}

.services-intro {
  padding-bottom: 50px;
}

.services-intro-grid {
  align-items: end;
  display: grid;
  gap: clamp(28px, 6vw, 76px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.services-intro-copy h2,
.services-cta-card h2 {
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 800;
  max-width: 760px;
}

.services-intro-text p {
  font-size: 18px;
  line-height: 1.85;
}

.service-lines {
  background: var(--light);
  padding-top: 54px;
}

.services-stack {
  display: grid;
  gap: 24px;
}

.service-line-card {
  background: var(--green-3);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(15, 61, 20, 0.16);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  min-height: 430px;
  overflow: hidden;
  position: relative;
  transition:
    box-shadow 0.45s var(--ease-smooth),
    transform 0.45s var(--ease-smooth);
}

.service-line-card.is-reversed {
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.78fr);
}

.service-line-card.is-reversed .service-line-media {
  order: 2;
}

.service-line-card:hover {
  box-shadow: 0 38px 94px rgba(15, 61, 20, 0.24);
  transform: translateY(-8px);
}

.service-line-media {
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.service-line-media::after {
  background: linear-gradient(90deg, rgba(15, 61, 20, 0.58), transparent 62%);
  content: "";
  inset: 0;
  position: absolute;
}

.service-line-card.is-reversed .service-line-media::after {
  background: linear-gradient(270deg, rgba(15, 61, 20, 0.58), transparent 62%);
}

.service-line-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-smooth);
  width: 100%;
}

.service-line-card:hover .service-line-media img {
  transform: scale(1.06);
}

.service-line-content {
  align-content: center;
  display: grid;
  min-height: 430px;
  padding: clamp(30px, 5vw, 58px);
  position: relative;
}

.service-line-number {
  color: rgba(255, 255, 255, 0.28);
  font-size: clamp(72px, 11vw, 132px);
  font-weight: 800;
  line-height: 0.82;
  position: absolute;
  right: 30px;
  top: 30px;
}

.service-line-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  height: 70px;
  justify-content: center;
  margin-bottom: 28px;
  width: 70px;
}

.service-line-icon svg {
  height: 34px;
  width: 34px;
}

.service-line-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.service-line-content h3 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  max-width: 780px;
}

.service-line-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.75;
  margin-top: 20px;
  max-width: 720px;
}

.service-process {
  background: var(--white);
  overflow: hidden;
}

.process-heading {
  margin-bottom: 48px;
}

.process-heading h2 {
  color: var(--green-3);
  font-size: clamp(38px, 4.7vw, 60px);
  font-weight: 800;
  max-width: 980px;
}

.process-heading .text {
  color: #6f7179;
  font-size: 18px;
  line-height: 1.75;
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  text-align: center;
}

.services-process-steps {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 48px;
  padding: 0 36px 32px;
  position: relative;
}

.services-process-steps::before {
  background: rgba(27, 94, 32, 0.24);
  content: "";
  height: 2px;
  left: 9%;
  position: absolute;
  right: 9%;
  top: 157px;
}

.process-step {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-family: inherit;
  min-width: 0;
  padding: 0;
  position: relative;
  text-align: center;
}

.process-step h3 {
  color: #70727a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  min-height: 48px;
  transition: color 0.3s var(--ease-smooth);
}

.process-step.is-active h3 {
  color: var(--green);
  font-weight: 800;
}

.process-drop {
  border-left: 2px dashed rgba(24, 25, 28, 0.28);
  height: 44px;
  margin: 12px 0 14px;
}

.process-step.is-active .process-drop {
  border-color: rgba(27, 94, 32, 0.64);
}

.process-icon {
  align-items: center;
  background: var(--white);
  border: 2px solid rgba(27, 94, 32, 0.22);
  border-radius: 50%;
  display: flex;
  height: 98px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition:
    background 0.35s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
  width: 98px;
  z-index: 2;
}

.process-icon img {
  height: 154px;
  max-width: none;
  object-fit: contain;
  width: 154px;
}

.process-step.is-active .process-icon {
  background: #f1f8f1;
  border-color: var(--green);
  border-width: 3px;
  box-shadow: 0 16px 34px rgba(15, 61, 20, 0.16);
}

.process-step:hover .process-icon {
  transform: translateY(-5px);
}

.process-step:focus-visible {
  outline: none;
}

.process-step:focus-visible .process-icon {
  box-shadow:
    0 0 0 4px rgba(27, 94, 32, 0.16),
    0 16px 34px rgba(15, 61, 20, 0.16);
}

.process-highlight {
  background:
    radial-gradient(
      circle at 50% 25%,
      rgba(31, 124, 52, 0.42),
      transparent 34%
    ),
    linear-gradient(135deg, #064217 0%, #006225 52%, #004816 100%);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(15, 61, 20, 0.18);
  margin-top: 0;
  padding: 42px clamp(24px, 7vw, 92px) 48px;
  position: relative;
  text-align: center;
}

.process-highlight::before {
  border-bottom: 24px solid #07551e;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  content: "";
  left: var(--process-pointer-x, 25%);
  position: absolute;
  top: -23px;
  transform: translateX(-50%);
  transition: left 0.35s var(--ease-smooth);
}

.process-highlight p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 900px;
}

.process-highlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 30px;
}

.process-output-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  color: var(--green-3);
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  gap: 14px;
  justify-content: center;
  min-width: 282px;
  padding: 16px 24px;
  transition:
    background 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth),
    color 0.3s var(--ease-smooth);
}

.process-highlight-actions svg {
  height: 30px;
  width: 30px;
}

.process-highlight-actions svg * {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.process-panel-copy,
.process-output-pill {
  transition:
    opacity 0.22s var(--ease-smooth),
    transform 0.22s var(--ease-smooth);
}

.process-highlight.is-changing .process-panel-copy,
.process-highlight.is-changing .process-output-pill {
  opacity: 0;
  transform: translateY(8px);
}

.service-testimonials {
  background:
    radial-gradient(circle at 18% 18%, rgba(27, 94, 32, 0.13), transparent 30%),
    radial-gradient(circle at 86% 72%, rgba(27, 94, 32, 0.1), transparent 28%),
    #edf3ee;
  color: var(--dark);
  overflow: hidden;
  padding: 86px 0;
}

.service-testimonials .sub-title {
  color: var(--green);
}

.service-testimonials h2 {
  color: var(--green-3);
  font-size: clamp(34px, 4vw, 54px);
}

.testimonial-shell {
  margin-top: 50px;
  position: relative;
}

.testimonial-cards {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 48px 4px 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonial-cards::-webkit-scrollbar {
  display: none;
}

.testimonial-nav {
  background: transparent;
  border: solid rgba(27, 94, 32, 0.72);
  border-width: 0 4px 4px 0;
  cursor: pointer;
  height: 26px;
  padding: 0;
  position: absolute;
  top: calc(50% + 20px);
  transition:
    border-color 0.3s var(--ease-smooth),
    transform 0.3s var(--ease-smooth);
  width: 26px;
  z-index: 3;
}

.testimonial-prev {
  left: -58px;
  transform: translateY(-50%) rotate(135deg);
}

.testimonial-next {
  right: -58px;
  transform: translateY(-50%) rotate(-45deg);
}

.testimonial-nav:hover,
.testimonial-nav:focus-visible {
  border-color: var(--green-3);
  outline: none;
}

.testimonial-prev:hover,
.testimonial-prev:focus-visible {
  transform: translate(-5px, -50%) rotate(135deg);
}

.testimonial-next:hover,
.testimonial-next:focus-visible {
  transform: translate(5px, -50%) rotate(-45deg);
}

.testimonial-card {
  background:
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 0%),
      rgba(255, 255, 255, 0.96),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.76),
      rgba(255, 255, 255, 0.48)
    ),
    radial-gradient(circle at 80% 80%, rgba(27, 94, 32, 0.08), transparent 34%);
  border: 1px solid rgba(27, 94, 32, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(15, 61, 20, 0.09);
  flex: 0 0 calc((100% - 44px) / 3);
  min-height: 285px;
  padding: 62px 26px 26px;
  position: relative;
  scroll-snap-align: start;
  transition:
    background 0.35s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.testimonial-card:hover {
  background:
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 0%),
      rgba(255, 255, 255, 1),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.58)
    ),
    radial-gradient(circle at 80% 80%, rgba(27, 94, 32, 0.11), transparent 34%);
  border-color: rgba(27, 94, 32, 0.22);
  box-shadow: 0 24px 60px rgba(15, 61, 20, 0.13);
  transform: translateY(-6px);
}

.testimonial-avatar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(27, 94, 32, 0.12);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(15, 61, 20, 0.14);
  color: var(--green);
  display: flex;
  font-weight: 800;
  height: 78px;
  justify-content: center;
  left: 50%;
  padding: 12px;
  position: absolute;
  top: -39px;
  transform: translateX(-50%);
  width: 78px;
}

.testimonial-avatar img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.testimonial-card p {
  color: #4d5350;
  font-size: 15px;
  line-height: 1.68;
}

.testimonial-card h3 {
  color: var(--dark);
  font-size: 17px;
  margin-top: 24px;
}

.testimonial-card small {
  color: var(--green);
  display: block;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  margin-top: 4px;
}

.services-cta {
  background: var(--white);
}

.services-cta-card {
  background:
    linear-gradient(120deg, rgba(15, 61, 20, 0.96), rgba(27, 94, 32, 0.86)),
    url("../images/field4.jpg") center / cover;
  border-radius: 8px;
  box-shadow: 0 32px 78px rgba(15, 61, 20, 0.18);
  overflow: hidden;
  padding: clamp(42px, 8vw, 84px);
  position: relative;
}

.services-cta-card .section-kicker,
.services-cta-card h2,
.services-cta-card p {
  color: var(--white);
}

.services-cta-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.8;
  margin: 22px 0 34px;
  max-width: 720px;
}

@media (max-width: 1100px) {
  .services-hero-inner,
  .services-intro-grid {
    grid-template-columns: 1fr;
  }

  .services-hero-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-line-card,
  .service-line-card.is-reversed {
    grid-template-columns: 1fr;
  }

  .service-line-card.is-reversed .service-line-media {
    order: 0;
  }

  .testimonial-card {
    flex-basis: calc((100% - 22px) / 2);
  }

  .testimonial-prev {
    left: -36px;
  }

  .testimonial-next {
    right: -36px;
  }
}

@media (max-width: 760px) {
  .services-hero {
    min-height: auto;
    padding: 84px 0 72px;
  }

  .services-hero h1 {
    font-size: 50px;
  }

  .services-hero-metrics {
    grid-template-columns: 1fr;
  }

  .services-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .services-hero-actions .theme-btn {
    width: 100%;
  }

  .service-line-content {
    min-height: auto;
    padding: 30px 24px;
  }

  .service-line-number {
    font-size: 70px;
    right: 20px;
    top: 22px;
  }

  .service-line-content h3 {
    font-size: 30px;
  }

  .services-process-steps {
    grid-template-columns: repeat(6, 150px);
    margin-inline: -20px;
    overflow-x: auto;
    padding-inline: 24px;
  }

  .services-process-steps::before {
    left: 74px;
    right: auto;
    width: 756px;
  }

  .process-highlight {
    text-align: left;
  }

  .process-highlight::before {
    left: 100px;
  }

  .process-highlight-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .process-output-pill {
    min-width: 0;
  }

  .service-testimonials {
    padding: 70px 0;
  }

  .testimonial-shell {
    margin-top: 42px;
  }

  .testimonial-cards {
    gap: 16px;
    padding-inline: 2px;
  }

  .testimonial-card {
    flex-basis: 86%;
    min-height: auto;
    padding: 58px 22px 24px;
  }

  .testimonial-nav {
    display: none;
  }
}

/* Projects & Publications page */

.projects-page {
  background: #fbfaf7;
}

.projects-hero {
  align-items: center;
  background: var(--green-3);
  display: flex;
  isolation: isolate;
  min-height: 690px;
  overflow: hidden;
  padding: 118px 0 92px;
  position: relative;
}

.projects-hero-media {
  background:
    linear-gradient(
      90deg,
      rgba(15, 61, 20, 0.98) 0%,
      rgba(15, 61, 20, 0.9) 34%,
      rgba(15, 61, 20, 0.66) 100%
    ),
    url("../images/projects-hero-river.png") center 46% / cover;
  inset: 0;
  position: absolute;
  transform: translateY(var(--parallax-y, 0));
  z-index: -2;
}

.projects-hero::before {
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.78) 1.4px,
    transparent 1.5px
  );
  background-size: 18px 18px;
  content: "";
  height: 150px;
  left: -2px;
  opacity: 0.72;
  position: absolute;
  top: 190px;
  width: 260px;
}

.projects-hero::after {
  background: repeating-radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.22) 0 2px,
    transparent 3px 15px
  );
  border-radius: 50%;
  content: "";
  height: 420px;
  opacity: 0.86;
  position: absolute;
  right: -90px;
  top: 84px;
  width: 560px;
}

.projects-hero-inner {
  align-items: center;
  display: flex;
  min-height: 480px;
}

.projects-hero-copy {
  max-width: 760px;
  padding: 40px 0;
}

.projects-hero h1 {
  color: var(--white);
  font-size: clamp(58px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.projects-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.75;
  max-width: 680px;
}

.projects-publications,
.projects-list-section {
  padding: 96px 0;
}

.projects-list-section {
  border-top: 1px solid rgba(24, 25, 28, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #fafbf8 100%);
  padding-top: 64px;
  padding-bottom: 72px;
}

.projects-section-heading {
  margin: 0 auto 34px;
  max-width: 820px;
  text-align: center;
}

.projects-section-heading .section-title {
  margin-bottom: 22px;
}

.projects-section-heading .section-title h2 {
  color: var(--dark);
  font-size: clamp(42px, 5vw, 64px);
  margin-inline: auto;
}

.projects-section-heading .section-title .text {
  color: var(--text);
  margin-inline: auto;
  max-width: 650px;
}

.projects-outline-link {
  align-items: center;
  border: 1px solid rgba(27, 94, 32, 0.35);
  border-radius: 5px;
  color: var(--green-3);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  margin: 0 auto;
  min-width: 168px;
  padding: 8px 14px;
  transition:
    background 0.3s var(--ease-smooth),
    border-color 0.3s var(--ease-smooth),
    color 0.3s var(--ease-smooth),
    transform 0.3s var(--ease-smooth);
}

.projects-outline-link:hover,
.projects-outline-link:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  outline: none;
  transform: translateY(-2px);
}

.projects-page .publication-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 0 0 34px;
}

.projects-page .publication-filter {
  background: var(--white);
  border: 1px solid rgba(24, 25, 28, 0.12);
  border-radius: 5px;
  color: #25272b;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  min-width: 96px;
  padding: 7px 15px;
  transition:
    background 0.25s var(--ease-smooth),
    border-color 0.25s var(--ease-smooth),
    color 0.25s var(--ease-smooth),
    transform 0.25s var(--ease-smooth);
}

.projects-page .publication-filter.is-active,
.projects-page .publication-filter:hover,
.projects-page .publication-filter:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  outline: none;
  transform: translateY(-1px);
}

.publication-carousel {
  margin-inline: auto;
  position: relative;
}

.publication-carousel-window {
  overflow: hidden;
  padding: 4px 0 16px;
  position: relative;
}

.projects-page .publication-grid {
  --publication-card-width: calc((100% - 66px) / 4);
  --publication-offset: 0px;
  display: grid;
  gap: 22px;
  grid-auto-columns: var(--publication-card-width);
  grid-template-columns: none;
  grid-template-rows: repeat(2, minmax(0, auto));
  padding: 4px 0 8px;
  transform: translate3d(var(--publication-offset), 0, 0);
  transition: transform 0.45s var(--ease-smooth);
  will-change: transform;
}

.projects-page .publication-grid::-webkit-scrollbar {
  display: none;
}

.publication-carousel-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(27, 94, 32, 0.24);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(24, 25, 28, 0.12);
  color: var(--green);
  cursor: pointer;
  display: inline-flex;
  height: 54px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition:
    background 0.25s var(--ease-smooth),
    border-color 0.25s var(--ease-smooth),
    color 0.25s var(--ease-smooth),
    transform 0.25s var(--ease-smooth);
  width: 54px;
  z-index: 4;
}

.publication-carousel-prev {
  left: -72px;
}

.publication-carousel-next {
  right: -72px;
}

.publication-carousel-arrow svg {
  height: 30px;
  width: 30px;
}

.publication-carousel-arrow:hover,
.publication-carousel-arrow:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  outline: none;
  transform: translateY(-50%) scale(1.06);
}

.publication-carousel.is-static .publication-carousel-arrow {
  opacity: 0.35;
  pointer-events: none;
}

.projects-page .publication-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(24, 25, 28, 0.11);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(24, 25, 28, 0.06);
  display: flex;
  flex-direction: column;
  grid-column: var(--publication-col, auto);
  grid-row: var(--publication-row, auto);
  justify-content: flex-start;
  min-height: 276px;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  transition:
    border-color 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth),
    opacity 0.25s var(--ease-smooth),
    transform 0.3s var(--ease-smooth);
}

.projects-page .publication-card.is-hidden {
  display: none;
}

.projects-page .publication-card:hover {
  border-color: rgba(27, 94, 32, 0.28);
  box-shadow: 0 20px 44px rgba(15, 61, 20, 0.1);
  transform: translateY(-4px);
}

.projects-page .publication-card img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.projects-page .publication-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 13px 17px 14px;
}

.projects-page .publication-type {
  color: var(--green);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.projects-page .publication-card h3 {
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.14;
  margin-bottom: 8px;
}

.projects-page .publication-card p {
  color: #424844;
  font-size: 12px;
  line-height: 1.42;
}

.projects-page .publication-meta {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
}

.projects-page .publication-date {
  align-items: center;
  color: #343836;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  line-height: 1.25;
}

.projects-page .publication-date-icon {
  color: var(--green);
  flex: 0 0 auto;
  height: 18px;
  width: 18px;
}

.projects-page .publication-download {
  background: rgba(27, 94, 32, 0.08);
  border: 1px solid rgba(27, 94, 32, 0.22);
  border-radius: 5px;
  color: var(--green);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 16px;
  transition:
    background 0.25s var(--ease-smooth),
    border-color 0.25s var(--ease-smooth),
    box-shadow 0.25s var(--ease-smooth),
    color 0.25s var(--ease-smooth),
    transform 0.25s var(--ease-smooth);
}

.project-row-title a {
  align-items: center;
  background: rgba(27, 94, 32, 0.08);
  border: 1px solid rgba(27, 94, 32, 0.22);
  border-radius: 5px;
  color: var(--green);
  flex: 0 0 auto;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0.01em;
  margin-top: auto;
  max-width: 150px;
  min-width: 128px;
  padding: 11px 18px;
  text-transform: uppercase;
  transition:
    background 0.25s var(--ease-smooth),
    border-color 0.25s var(--ease-smooth),
    box-shadow 0.25s var(--ease-smooth),
    color 0.25s var(--ease-smooth),
    transform 0.25s var(--ease-smooth);
}

.projects-page .publication-download:hover,
.projects-page .publication-download:focus-visible {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 12px 24px rgba(27, 94, 32, 0.18);
  color: var(--white);
  outline: none;
  transform: translateY(-2px);
}

.project-row-title a:hover,
.project-row-title a:focus-visible {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 12px 24px rgba(27, 94, 32, 0.16);
  color: var(--white);
  outline: none;
  transform: translateY(-2px);
}

.project-rows {
  display: grid;
  gap: 0;
  margin: 12px auto 0;
  max-width: 1360px;
}

.project-row {
  --project-row-height: clamp(240px, 18vw, 280px);
  align-items: stretch;
  border-top: 1px solid rgba(24, 25, 28, 0.11);
  display: grid;
  gap: clamp(34px, 4vw, 72px);
  grid-template-columns: minmax(220px, 0.92fr) minmax(360px, 1.25fr) minmax(
      320px,
      1.28fr
    );
  padding: 46px 0;
}

.project-row:first-child {
  border-top: 0;
  padding-top: 18px;
}

.project-row-title,
.project-row-detail {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.project-row-title {
  height: var(--project-row-height);
}

.project-row-detail {
  height: var(--project-row-height);
  justify-content: space-between;
}

.project-location {
  align-items: center;
  color: #343936;
  display: inline-flex;
  font-size: 16px;
  gap: 6px;
  margin-bottom: 22px;
}

.project-location svg {
  color: #252a27;
  height: 24px;
  width: 24px;
}

.project-row h3 {
  color: var(--dark);
  font-size: clamp(26px, 2.15vw, 34px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 22px;
}

.project-row:nth-child(3) h3 {
  font-size: clamp(24px, 1.85vw, 30px);
}

.project-row-image {
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(24, 25, 28, 0.08);
  height: var(--project-row-height);
  overflow: hidden;
}

.project-row-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-smooth);
  width: 100%;
}

.project-row:hover .project-row-image img {
  transform: scale(1.045);
}

.project-row-detail p {
  color: #2d322f;
  font-size: 17px;
  line-height: 1.42;
  margin-bottom: 22px;
}

.project-row-detail dl {
  border-top: 1px solid rgba(24, 25, 28, 0.11);
  display: grid;
  gap: 0;
}

.project-row-detail dl div {
  align-items: center;
  border-bottom: 1px solid rgba(24, 25, 28, 0.11);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(140px, 0.86fr) minmax(180px, 1.14fr);
  padding: 16px 0;
}

.project-row-detail dt {
  color: var(--dark);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-row-detail dd {
  color: var(--dark);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  text-align: right;
}

@media (max-width: 1100px) {
  .projects-page .publication-grid {
    --publication-card-width: calc((100% - 22px) / 2);
  }

  .publication-carousel-prev {
    left: -28px;
  }

  .publication-carousel-next {
    right: -28px;
  }

  .project-row {
    gap: 28px 34px;
    grid-template-columns: minmax(170px, 0.8fr) minmax(240px, 1.2fr);
  }

  .project-row-detail {
    grid-column: 1 / -1;
    height: auto;
    padding-top: 0;
  }

  .project-row-title {
    height: auto;
  }
}

@media (max-width: 760px) {
  .projects-hero,
  .projects-hero-inner {
    min-height: 560px;
  }

  .projects-hero-copy {
    margin-left: 0;
    padding: 72px 0;
  }

  .projects-hero h1 {
    font-size: 52px;
  }

  .projects-hero::before {
    left: -28px;
    top: 320px;
  }

  .projects-hero::after {
    opacity: 0.45;
    right: -150px;
  }

  .projects-publications,
  .projects-list-section {
    padding: 72px 0;
  }

  .projects-list-section {
    padding-bottom: 56px;
  }

  .projects-section-heading {
    margin-bottom: 32px;
  }

  .projects-outline-link {
    width: 100%;
  }

  .projects-page .publication-filters {
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .projects-page .publication-filter {
    flex: 0 0 auto;
  }

  .project-row {
    gap: 24px;
    grid-template-columns: 1fr;
    padding: 46px 0;
  }

  .publication-carousel-window {
    margin-inline: -6px;
    padding-inline: 6px;
  }

  .projects-page .publication-grid {
    --publication-card-width: min(84vw, 340px);
    grid-template-rows: 1fr;
  }

  .publication-carousel-arrow {
    height: 46px;
    top: 50%;
    width: 46px;
  }

  .publication-carousel-prev {
    left: 4px;
  }

  .publication-carousel-next {
    right: 4px;
  }

  .projects-page .publication-card {
    min-height: auto;
  }

  .project-row-image {
    height: clamp(210px, 52vw, 320px);
  }

  .project-row-detail p {
    font-size: 16px;
  }

  .project-row-detail {
    height: auto;
  }

  .project-row-title a {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .projects-page .publication-grid {
    --publication-card-width: min(86vw, 310px);
    gap: 12px;
  }

  .project-row-detail dl div {
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .project-row-detail dd {
    text-align: left;
  }
}

/* Contact page */
.contact-page {
  background: var(--white);
}

.contact-hero {
  min-height: 480px;
  overflow: hidden;
  position: relative;
}

.contact-hero-media {
  background:
    linear-gradient(90deg, rgba(7, 35, 13, 0.9), rgba(12, 55, 20, 0.72)),
    url("../images/field4.jpg") center 48% / cover;
  inset: 0;
  position: absolute;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.06);
  transform-origin: center;
  transition: transform 0.2s linear;
}

.contact-hero::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.62) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  content: "";
  height: 96px;
  left: 0;
  opacity: 0.55;
  position: absolute;
  top: 220px;
  width: 190px;
  z-index: 1;
}

.contact-hero::after {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 0;
  border-radius: 50%;
  content: "";
  height: 420px;
  opacity: 0.7;
  position: absolute;
  right: -180px;
  top: 20px;
  width: 420px;
  z-index: 1;
}

.contact-hero-inner {
  align-items: center;
  display: flex;
  min-height: 480px;
  position: relative;
  z-index: 2;
}

.contact-hero-copy {
  max-width: 760px;
  padding: 74px 0;
}

.contact-hero .sub-title {
  color: #dcead9;
}

.contact-hero h1 {
  color: var(--white);
  font-size: 72px;
  font-weight: 800;
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 850px;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 760px;
}

.contact-hero .theme-btn::after {
  display: none;
}

.contact-message-section {
  background:
    radial-gradient(circle at 10% 14%, rgba(27, 94, 32, 0.08), transparent 34%),
    linear-gradient(180deg, var(--white) 0%, #fbfaf6 100%);
  padding: 104px 0 92px;
}

.contact-message-grid {
  align-items: stretch;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
}

.contact-form-card,
.contact-support-card,
.contact-info-card,
.contact-faq-card {
  background:
    radial-gradient(circle at var(--mx, 20%) var(--my, 10%), rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.66));
  border: 1px solid rgba(27, 94, 32, 0.13);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(15, 61, 20, 0.1);
  overflow: hidden;
}

@supports (backdrop-filter: blur(18px)) {
  .contact-form-card,
  .contact-support-card,
  .contact-info-card,
  .contact-faq-card {
    backdrop-filter: blur(18px);
  }
}

.contact-form-card {
  padding: 44px;
}

.contact-form-card h2,
.contact-faq-copy h2 {
  color: var(--dark);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
}

.contact-form-card p,
.contact-support-copy p,
.contact-faq-copy p,
.contact-faq-card p {
  color: #55595b;
  font-size: 16px;
  line-height: 1.8;
}

.contact-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field.full {
  grid-column: 1 / -1;
}

.contact-field label {
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(24, 25, 28, 0.13);
  border-radius: 6px;
  color: var(--dark);
  font: inherit;
  min-height: 54px;
  padding: 12px 15px;
  transition:
    border-color 0.28s var(--ease-smooth),
    box-shadow 0.28s var(--ease-smooth),
    transform 0.28s var(--ease-smooth);
  width: 100%;
}

.contact-field textarea {
  min-height: 142px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(27, 94, 32, 0.56);
  box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.1);
  outline: 0;
}

.contact-submit {
  align-items: center;
  background: var(--green);
  border: 0;
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  grid-column: 1 / -1;
  justify-content: center;
  justify-self: start;
  min-height: 56px;
  padding: 14px 30px;
  text-transform: uppercase;
  transition:
    background 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: var(--green-3);
  box-shadow: 0 16px 34px rgba(15, 61, 20, 0.18);
  outline: 0;
  transform: translateY(-2px);
}

.contact-support-card {
  display: grid;
  grid-template-rows: minmax(250px, 0.9fr) auto;
}

.contact-support-image {
  overflow: hidden;
}

.contact-support-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.58s var(--ease-smooth);
  width: 100%;
}

.contact-support-card:hover .contact-support-image img {
  transform: scale(1.045);
}

.contact-support-copy {
  padding: 34px;
}

.contact-support-copy h3 {
  color: var(--dark);
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-info-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.contact-info-card {
  align-items: center;
  color: var(--dark);
  display: flex;
  gap: 18px;
  min-height: 116px;
  padding: 26px;
  transition:
    border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.contact-info-card:hover {
  border-color: rgba(27, 94, 32, 0.38);
  box-shadow: 0 22px 54px rgba(15, 61, 20, 0.14);
  transform: translateY(-4px);
}

.contact-info-icon {
  align-items: center;
  background: rgba(27, 94, 32, 0.1);
  border-radius: 50%;
  color: var(--green);
  display: inline-flex;
  flex: 0 0 auto;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.contact-info-icon svg {
  height: 22px;
  width: 22px;
}

.contact-info-card strong,
.contact-info-card small {
  display: block;
}

.contact-info-card strong {
  color: var(--dark);
  font-size: 18px;
  margin-bottom: 2px;
}

.contact-info-card small {
  color: #5d6263;
  font-size: 14px;
  line-height: 1.6;
}

.contact-faq-section {
  background: var(--white);
  padding: 96px 0 108px;
}

.contact-faq-grid {
  align-items: start;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.contact-faq-copy {
  position: sticky;
  top: 150px;
}

.contact-inline-link {
  color: var(--green);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  margin-top: 28px;
  text-transform: uppercase;
  transition:
    color 0.3s var(--ease-smooth),
    transform 0.3s var(--ease-smooth);
}

.contact-inline-link:hover {
  color: var(--green-3);
  transform: translateX(3px);
}

.contact-faq-list {
  display: grid;
  gap: 14px;
}

.contact-faq-card {
  padding: 0;
}

.contact-faq-card summary {
  align-items: center;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  font-size: 20px;
  font-weight: 800;
  gap: 20px;
  justify-content: space-between;
  line-height: 1.35;
  list-style: none;
  padding: 25px 28px;
}

.contact-faq-card summary::-webkit-details-marker {
  display: none;
}

.contact-faq-card p {
  border-top: 1px solid rgba(27, 94, 32, 0.11);
  padding: 0 28px 26px;
}

.contact-faq-toggle {
  border: 1px solid rgba(27, 94, 32, 0.32);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 30px;
  position: relative;
  width: 30px;
}

.contact-faq-toggle::before,
.contact-faq-toggle::after {
  background: var(--green);
  content: "";
  height: 2px;
  left: 8px;
  position: absolute;
  top: 13px;
  transition: transform 0.28s var(--ease-smooth);
  width: 12px;
}

.contact-faq-toggle::after {
  transform: rotate(90deg);
}

.contact-faq-card[open] .contact-faq-toggle::after {
  transform: rotate(0deg);
}

@media (max-width: 1100px) {
  .contact-message-grid,
  .contact-faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-support-card {
    grid-template-columns: minmax(260px, 0.9fr) 1fr;
    grid-template-rows: auto;
  }

  .contact-faq-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .contact-hero,
  .contact-hero-inner {
    min-height: 560px;
  }

  .contact-hero-copy {
    padding: 72px 0;
  }

  .contact-hero h1 {
    font-size: 52px;
  }

  .contact-hero p {
    font-size: 17px;
  }

  .contact-message-section,
  .contact-faq-section {
    padding: 72px 0;
  }

  .contact-form-card {
    padding: 28px;
  }

  .contact-form-card h2,
  .contact-faq-copy h2 {
    font-size: 42px;
  }

  .contact-form,
  .contact-info-grid,
  .contact-support-card {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    min-height: 104px;
  }

  .contact-faq-card summary {
    font-size: 18px;
    padding: 22px 22px;
  }

  .contact-faq-card p {
    padding: 0 22px 22px;
  }
}

@media (max-width: 520px) {
  .contact-hero h1 {
    font-size: 42px;
  }

  .contact-form-card h2,
  .contact-faq-copy h2 {
    font-size: 34px;
  }

  .contact-support-copy {
    padding: 28px;
  }

  .contact-support-copy h3 {
    font-size: 28px;
  }
}
