:root {
  --bg: #f8faf7;
  --surface: #ffffff;
  --surface-soft: #eef4ef;
  --text: #10212b;
  --muted: #60707a;
  --border: #dfe7e2;
  --dark: #092030;
  --dark-2: #102f42;
  --primary: #1db954;
  --primary-dark: #159945;
  --white: #ffffff;
  --shadow: 0 16px 42px rgba(9, 32, 48, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 33, 43, 0.08);
  background: rgba(248, 250, 247, 0.94);
  backdrop-filter: blur(16px);
}

.nav-row {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 154px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-menu a {
  color: #20323d;
  font-size: 0.95rem;
  font-weight: 650;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-dark);
}

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--primary);
  color: var(--white) !important;
  padding: 0 22px;
  box-shadow: 0 10px 22px rgba(29, 185, 84, 0.22);
}

.nav-cta:hover,
.nav-cta.active {
  background: var(--primary-dark);
  color: var(--white) !important;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  display: grid;
  min-width: 330px;
  transform: translateX(-50%) translateY(6px);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-dropdown-menu a {
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text);
}

.nav-dropdown-menu a:hover {
  background: var(--surface-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: 680px;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

.hero.compact {
  min-height: 360px;
  padding: 88px 0;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 32, 48, 0.96), rgba(9, 32, 48, 0.74), rgba(9, 32, 48, 0.18)),
    linear-gradient(0deg, rgba(9, 32, 48, 0.44), transparent 48%);
}

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

.hero-copy {
  max-width: 770px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 3.9rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.2rem;
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
  line-height: 1.22;
}

.lead {
  color: #d7e0e3;
  font-size: 1.22rem;
  line-height: 1.72;
}

.section-lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 24px;
  font-weight: 750;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button.primary {
  background: var(--primary);
  color: var(--white);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.light {
  background: var(--white);
  color: var(--primary-dark);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.button.outline {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.button.outline:hover {
  background: var(--primary);
  color: var(--white);
}

.section {
  padding: 88px 0;
}

.section.soft {
  background: var(--surface-soft);
}

.section.dark {
  background: var(--dark);
  color: var(--white);
}

.section-header {
  margin-bottom: 44px;
}

.section-header.center {
  max-width: 790px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: #edf2f0;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.media-frame.contain img {
  object-fit: contain;
  padding: 22px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(9, 32, 48, 0.06);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 185, 84, 0.36);
  box-shadow: var(--shadow);
}

.card-body {
  padding: 24px;
}

.card p,
.muted {
  color: var(--muted);
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 450ms ease;
}

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

.learn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--primary-dark);
  font-weight: 800;
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(29, 185, 84, 0.12);
  color: var(--primary-dark);
  font-weight: 900;
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 8px;
  background: rgba(29, 185, 84, 0.08);
  padding: 14px;
  font-weight: 650;
}

.check-list li::before {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  content: "✓";
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
}

.kicker-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px;
}

.product-hero {
  background: var(--dark);
  color: var(--white);
  padding: 78px 0;
}

.back-link {
  display: inline-flex;
  margin-bottom: 32px;
  color: #c6d0d4;
  font-weight: 750;
}

.product-hero .split {
  align-items: center;
}

.product-hero .lead {
  margin-bottom: 28px;
}

.detail-panel {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 34px;
  box-shadow: 0 10px 28px rgba(9, 32, 48, 0.06);
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(29, 185, 84, 0.12);
  color: var(--primary-dark);
  padding: 5px 11px;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card .country {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 11px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.project-card .image-wrap {
  position: relative;
}

.project-meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item .icon-box {
  flex: 0 0 48px;
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

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

label {
  font-size: 0.9rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.16);
}

textarea {
  min-height: 126px;
  resize: vertical;
}

.form-message {
  display: none;
  border-radius: 6px;
  padding: 12px 13px;
  font-size: 0.92rem;
}

.form-message.error {
  display: block;
  background: #ffecec;
  color: #a62d2d;
}

.form-message.success {
  display: block;
  background: rgba(29, 185, 84, 0.12);
  color: var(--primary-dark);
}

.cta-band {
  background: var(--primary);
  color: var(--white);
  padding: 74px 0;
  text-align: center;
}

.cta-band .container {
  max-width: 840px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}

.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 38px;
}

.footer-brand img {
  width: 162px;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #aebcc3;
  font-size: 0.94rem;
}

.site-footer a:hover {
  color: var(--primary);
}

.site-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary) !important;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.simple-page {
  min-height: 48vh;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: 81px;
    right: 0;
    left: 0;
    display: none;
    height: calc(100vh - 81px);
    align-items: stretch;
    overflow: auto;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    padding: 18px 24px 28px;
  }

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

  .nav-menu > a,
  .nav-dropdown > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    transform: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    padding: 4px 0 12px 16px;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }

  .nav-cta {
    margin-top: 16px;
  }

  .hero {
    min-height: 620px;
  }

  .split,
  .contact-layout,
  .grid.two,
  .grid.three,
  .grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  h1 {
    font-size: 2.34rem;
  }

  h2 {
    font-size: 1.78rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .section,
  .product-hero {
    padding: 62px 0;
  }

  .hero,
  .hero.compact {
    min-height: auto;
    padding: 90px 0;
  }

  .button-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .contact-form {
    padding: 22px;
  }
}
