/* NextFood – Augalyn_website (Figma) */

@font-face {
  font-family: "Mona Sans";
  src: url("../assets/fonts/MonaSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("../assets/fonts/MonaSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("../assets/fonts/MonaSans-MediumItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("../assets/fonts/MonaSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #3CAB70;
  --ink: #101311;
  --grey: #6B736B;
  --hairline: #E0E3DE;
  --mint: #F5F7F2;
  --field-line: #BFC4BD;
  --label: #6B736B;
  --footer-bg: #0D120E;
  --footer-divider: #2E362E;
  --footer-text: #A8B2A8;
}

*, *::before, *::after { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
section[id] { scroll-margin-top: 97px; }

body {
  margin: 0;
  font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 500; }
p, ul { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}

/* ---------- Buttons & pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 64px;
  padding: 0 36px;
  border-radius: 32px;
  border: 0;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .arrow { font-weight: 400; }
.btn-solid { background: var(--green); color: #fff; }
.btn-solid:hover { background: #339862; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--mint); }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.pill-lang {
  width: 64px;
  padding: 0 22px;
  border: 1.5px solid var(--ink);
  letter-spacing: .02em;
}
.pill-lang:hover { background: var(--ink); color: #fff; }
.pill-solid {
  background: var(--green);
  color: #fff;
  padding: 0 24px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pill-solid:hover { background: #339862; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.logo img { width: 149px; height: 32px; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.burger.open span:first-child { transform: translateY(8px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  padding: 24px 20px 32px;
  background: #fff;
  border-top: 1px solid var(--hairline);
  max-height: calc(100vh - 67px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.mobile-menu li + li { border-top: 1px solid var(--hairline); }
.mobile-menu li a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
}
.mobile-menu .btn { width: 100%; }

/* ---------- Hero ---------- */

.hero { padding: 126px 0 120px; }
.hero h1 {
  font-size: 96px;
  line-height: 1;
  letter-spacing: -.02em;
  max-width: 1180px;
}
.hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-top: 66px;
}
.hero-lead {
  max-width: 632px;
  color: var(--grey);
}
.hero-actions {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.hero-band {
  height: 146px;
  background: url("../assets/img/hero.jpg") center / cover no-repeat;
  background-color: #16321f;
}

/* ---------- Veiklos kryptys ---------- */

.kryptys { background: #3CAB701A; padding: 128px 0 168px; }
.kryptys h2 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.kryptys-list { margin-top: 78px; }
.krow {
  display: grid;
  grid-template-columns: 468px 1fr;
  border-top: 1px solid var(--hairline);
  padding: 48px 0;
}
.krow h3 {
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.005em;
  color: var(--green);
  padding-left: 12px;
}
.krow ul {
  max-width: 844px;
  list-style: disc;
  padding-left: 25px;
  color: var(--grey);
  font-size: 17px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.krow li::marker { color: var(--grey); font-size: .8em; }
.krow:nth-child(1) ul { max-width: 647px; }
.krow:nth-child(2) ul { max-width: 679px; }
.krow:last-child { padding-bottom: 0; }

/* ---------- Nariai ---------- */

.nariai { background: #fff; padding: 43px 0; }
.nariai-inner {
  display: grid;
  grid-template-columns: 468px 1fr;
  align-items: center;
}
.nariai-label {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}
.nariai-logos {
  display: flex;
  align-items: center;
  gap: 64px;
}
.logo-vk { width: 113px; height: 41px; }
.logo-bio { width: 146px; height: 47px; }

/* ---------- Join (green) ---------- */

.join { background: var(--green); color: var(--ink); padding: 141px 0 140px; }
.join h2 {
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: -.01em;
  max-width: 1220px;
}
.join h2 em { font-style: italic; }
.join-sub {
  margin-top: 56px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}
.join-list {
  list-style: none;
  padding: 0;
  margin-top: 27px;
}
.join-list li {
  position: relative;
  padding: 28px 40px 29px 0;
  font-size: 22px;
  line-height: 1;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
}
.join-list li:last-child { border-bottom: 0; }
.join .btn-white { margin-top: 54px; }

/* ---------- Contact ---------- */

.contact { padding: 120px 0 140px; }
.contact-inner {
  display: grid;
  grid-template-columns: 696px 1fr;
  column-gap: 96px;
}
.contact-info h2 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.contact-email {
  display: inline-block;
  margin-top: 32px;
  font-size: 22px;
  color: var(--green);
}
.contact-email:hover { text-decoration: underline; }

.contact-form {
  position: relative;
  max-width: 520px;
  justify-self: end;
  width: 100%;
}
.field { margin-bottom: 33px; }
.field input {
  display: block;
  width: 100%;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid var(--field-line);
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.25;
  color: var(--ink);
  outline: none;
}
.field input::placeholder {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--label);
  opacity: 1;
}
.field input:focus { border-bottom-color: var(--green); }
.field input:focus-visible {
  outline: 2px solid #1E6B43;
  outline-offset: 3px;
}
.contact-form .btn { margin-top: 33px; }
.contact-form .btn[disabled] { opacity: .6; cursor: default; }

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

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 16px;
  font-size: 16px;
  color: var(--grey);
}
.form-status:empty { display: none; }
.form-status.ok { color: var(--green); }
.form-status.error { color: #C0392B; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 96px 0 48px;
  font-size: 16px;
  line-height: 1.55;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}
.footer-logo { width: 149px; height: 32px; }
.footer-desc {
  width: 520px;
  max-width: 100%;
}
.footer-divider {
  height: 1px;
  background: var(--footer-divider);
  margin: 97px 0 32px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  line-height: 1;
}
.site-footer a { color: #F5F7F2; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom p { margin: 0; }

/* ---------- Mid-size fluid scaling ---------- */

@media (max-width: 1240px) {
  .hero h1 { font-size: 7.8vw; }
  .kryptys h2, .contact-info h2 { font-size: 4.6vw; }
  .join h2 { font-size: 4vw; }
  .krow, .nariai-inner { grid-template-columns: 320px 1fr; }
  .contact-inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mobile ---------- */

@media (max-width: 820px) {
  body { font-size: 16px; }
  .container { padding-left: 20px; padding-right: 20px; }
  section[id] { scroll-margin-top: 67px; }

  .header-inner { height: 66px; }
  .logo img { width: 104px; height: 22px; }
  .pill { height: 35px; }
  .pill-lang { width: 44px; font-size: 14px; }
  .pill-header { display: none; }
  .burger { display: flex; }
  .mobile-menu:not([hidden]) { display: block; }
  .header-actions { gap: 20px; }

  .btn { height: 59px; border-radius: 29.5px; font-size: 16px; }

  .hero { padding: 55px 0 57px; }
  .hero h1 { font-size: 40px; line-height: 1.05; }
  .hero-row { flex-direction: column; margin-top: 32px; gap: 28px; }
  .hero-lead { font-size: 16px; line-height: 1.5625; max-width: none; }
  .hero-actions {
    flex-direction: column;
    gap: 13px;
    width: 100%;
  }
  .hero-actions .btn { width: 100%; }

  .hero-band { height: 160px; }

  .kryptys { padding: 67px 0 80px; }
  .kryptys h2 { font-size: 32px; line-height: 1.2; max-width: 300px; }
  .kryptys-list { margin-top: 18px; }
  .krow { grid-template-columns: 1fr; padding: 34px 0 36px; }
  .krow h3 { font-size: 22px; line-height: 1.25; padding-left: 0; }
  .krow ul {
    list-style: none;
    padding-left: 0;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.53;
    gap: 14px;
  }

  .nariai { padding: 43px 0 40px; }
  .nariai-inner { grid-template-columns: 1fr; align-items: start; }
  .nariai-label { font-size: 20px; }
  .nariai-logos { margin-top: 23px; gap: 28px; }
  .logo-vk { width: 51px; height: 18px; }
  .logo-bio { width: 66px; height: 21px; }

  .join { padding: 57px 0 56px; }
  .join h2 { font-size: 26px; line-height: 1.19; }
  .join-sub { margin-top: 33px; font-size: 22px; }
  .join-list { margin-top: 16px; }
  .join-list li {
    padding: 16px 0;
    font-size: 16px;
    line-height: 1.4375;
  }
  .join .btn-white { margin-top: 32px; width: 100%; }

  .contact { padding: 54px 0 64px; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-info h2 { font-size: 32px; line-height: 1.1; }
  .contact-email { margin-top: 28px; font-size: 18px; }
  .contact-form { margin-top: 34px; max-width: none; justify-self: stretch; }
  .field { margin-bottom: 37px; }
  .field label { font-size: 12px; }
  .field input { font-size: 16px; }
  .contact-form .btn { width: 100%; margin-top: 33px; }

  .site-footer { padding: 48px 0 36px; font-size: 14px; }
  .footer-top { flex-direction: column; gap: 30px; }
  .footer-logo { width: 120px; height: 26px; }
  .footer-divider { margin: 33px 0 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0; font-size: 14px; }
  .footer-bottom p { font-size: 12px; margin-top: 10px; }
}
