/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* GLOBAL VARS */
:root {
  --green-dark: #0c6b3d;
  --green-main: #16924a;
  --green-soft: #e9f8ee;
  --blue-label: #1d8ee6;
  --text-main: #111827;
  --text-soft: #4b5563;
  --bg-main: #f5f7f5;
  --bg-white: #ffffff;
}

/* Smooth scroll for anchors */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  background: var(--bg-main);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===========================
   TOP BAR
   =========================== */
.topbar {
  background: #022c22;
  color: #ecfdf5;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  gap: 8px;
}

.topbar-tagline {
  opacity: 0.9;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 11px;
}

.topbar-link {
  color: #bbf7d0;
  text-decoration: none;
  font-weight: 500;
}

.topbar-link:hover {
  text-decoration: underline;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--green-dark);
  border-bottom: 1px solid #064d2f;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  transform: translateY(2px);
}

.brand-name {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav a {
  color: #e5f9ef;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  padding-top: 4px;
  transition: border-color 0.15s, opacity 0.15s;
  opacity: 0.9;
}

.nav a:hover {
  border-color: #c6f6d5;
  opacity: 1;
}

/* MENU TOGGLE — теперь ВСЕГДА видна */
.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #d1fae5;
  background: #19a14f;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}

/* OVERLAY MENU */
.overlay-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}

.menu-open .overlay-menu {
  opacity: 1;
  pointer-events: auto;
}

.overlay-panel {
  width: 320px;
  max-width: 85%;
  background: var(--green-dark);
  padding: 20px 22px 26px;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.overlay-close {
  align-self: flex-end;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #ecfdf5;
}

.overlay-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.overlay-heading {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a7f3d0;
  margin-bottom: 2px;
}

.overlay-link {
  font-size: 16px;
  color: #ffffff;
  padding: 4px 0;
}

.overlay-link-accent {
  color: #bbf7d0;
  font-weight: 600;
}

.overlay-bottom {
  margin-top: auto;
  border-top: 1px solid #047857;
  padding-top: 10px;
}

/* HERO */
.hero {
  padding: 100px 0 80px;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.1), transparent 55%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.08), transparent 55%),
    #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-text {
  max-width: 620px;
}

.hero-kicker {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-main);
  margin-bottom: 12px;
}

.hero-text h1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 46px;
  line-height: 1.12;
  margin-bottom: 24px;
  color: #021b16;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-soft);
  margin-bottom: 14px;
}

/* HERO BULLETS */
.hero-bullets {
  list-style: none;
  margin: 10px 0 18px;
  padding: 0;
}

.hero-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 4px;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-meta {
  font-size: 14px;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.hero-meta .dot {
  font-size: 16px;
}

.hero-image img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.22);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  border-color: #16a34a;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(22, 163, 74, 0.5);
}

.btn-ghost {
  background: #f9fafb;
  color: var(--green-dark);
  border-color: #d1d5db;
}

.btn-ghost:hover {
  background: #e5f9ef;
  border-color: var(--green-main);
}

.btn-full-width {
  width: 100%;
}

/* SECTIONS */
.section {
  padding: 84px 0;
}

.section-soft {
  background: #f5f7f5;
}

.section-green {
  background: var(--green-dark);
  color: #ecfdf5;
  padding: 100px 0;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading-left {
  max-width: 620px;
  margin: 0 0 24px;
  text-align: left;
}

.section-heading h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 32px;
  margin-bottom: 12px;
  color: #022c22;
}

.section-heading p {
  font-size: 17px;
  color: var(--text-soft);
}

.section-green .section-heading h2,
.section-green .section-heading p {
  color: #ecfdf5;
}

.section-green p {
  color: #d1fae5;
  font-size: 16px;
}

/* TRUSTED STRIP */
.trusted-strip {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.trusted-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 16px 0;
  font-size: 13px;
}

.trusted-label {
  font-family: "Poppins", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
  font-size: 11px;
}

.trusted-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trusted-countries span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5f9ef;
  color: #065f46;
  font-size: 12px;
}

/* TRUST BADGE */
.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.trusted-badge {
  height: 42px;
  width: auto;
  opacity: 0.85;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

/* KPI STRIP */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.kpi-item {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.kpi-value {
  display: block;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #022c22;
  margin-bottom: 4px;
}

.kpi-label {
  display: block;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

/* MISSION */
.mission-section {
  background: #f8faf9;
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: start;
}

.mission-message h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 23px;
  margin-bottom: 10px;
  color: #022c22;
}

.mission-message p {
  font-size: 16px;
  color: var(--text-soft);
}

.mission-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.mission-col h4 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.mission-col p {
  font-size: 15px;
  color: var(--text-soft);
}

/* ABOUT */
.about-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 42px;
  max-width: 900px;
  margin: 0 auto;
}

/* CARDS */
.cards {
  display: grid;
  gap: 22px;
  margin-top: 16px;
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--bg-white);
  border-radius: 22px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.10);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #bbf7d0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* Card label */
.card-label {
  padding: 12px 18px 6px;
}

.label-link {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--blue-label);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
}

.card-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-body {
  padding: 12px 18px 20px;
}

.card h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.card p {
  font-size: 15px;
  color: var(--text-soft);
}

.card ul {
  margin-top: 10px;
  padding-left: 18px;
  font-size: 15px;
  color: var(--text-soft);
}

.card-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
  color: var(--green-main);
}

/* SMALL CARDS (WHY US) */
.small-cards .card {
  padding: 18px 18px 20px;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 24px;
  margin-top: 16px;
}

.contact-box,
.contact-form {
  border-radius: 20px;
  padding: 28px;
}

.contact-box {
  background: var(--bg-white);
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.contact-box h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.contact-box p + p {
  margin-top: 4px;
  font-size: 15px;
}

.map-wrapper {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.contact-form {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.08);
}

.contact-form h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--green-dark);
}

.form-row {
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 1px #22c55e33;
}

/* FOOTER */
.footer {
  background: var(--bg-white);
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 22px 0 28px;
}

.footer-left p {
  color: #6b7280;
  font-size: 15px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a {
  color: var(--green-main);
}

.footer-links a:hover {
  text-decoration: underline;
}

/* LEGAL PAGE */
.legal-page {
  background: var(--bg-main);
}

.legal-container {
  max-width: 900px;
  padding: 48px 16px 72px;
  margin: 0 auto;
}

.legal-container h1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 30px;
  margin-bottom: 16px;
  color: var(--green-dark);
}

.legal-container h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 22px;
  margin-top: 18px;
  margin-bottom: 8px;
  color: #022c22;
}

.legal-container p,
.legal-container li {
  font-size: 16px;
  color: var(--text-soft);
}

.legal-container p {
  margin-bottom: 10px;
}

.legal-container ul {
  margin: 6px 0 10px 18px;
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 60;
}

.back-to-top-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-2px);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-image {
    order: -1;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .section-green {
    padding: 72px 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .trusted-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .trusted-logos {
    margin-left: 0;
  }

  .kpi-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 70px 0 48px;
  }

  .hero-text h1 {
    font-size: 30px;
    line-height: 1.25;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-bullets li {
    font-size: 14px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .section-heading p {
    font-size: 15px;
  }

  .mission-columns {
    gap: 18px;
  }

  .about-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cards {
    gap: 20px;
  }

  .card-body {
    padding: 16px 18px 20px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p,
  .card ul {
    font-size: 14px;
  }

  .small-cards .card {
    padding: 20px 16px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
  }

  .contact-box,
  .contact-form {
    padding: 20px;
  }

  .footer-left p {
    font-size: 14px;
  }
}
