:root {
  --black: #111111;
  --black-soft: #1b1b1b;
  --green-900: #103c2b;
  --green-800: #1d5c3f;
  --green-700: #2a7a4d;
  --green-600: #3d8f5b;
  --green-100: #e8f6ed;
  --yellow-900: #8a5b00;
  --yellow-700: #d29200;
  --yellow-500: #f5b100;
  --yellow-300: #ffd566;
  --bone: #f4efe7;
  --white: #ffffff;
  --muted: #5b625f;
  --border: rgba(17, 17, 17, 0.09);
  --shadow-soft: 0 16px 40px rgba(17, 17, 17, 0.08);
  --shadow-strong: 0 22px 50px rgba(17, 17, 17, 0.12);
  --radius-xs: 12px;
  --radius-sm: 18px;
  --radius-md: 26px;
  --radius-lg: 32px;
  --container: min(1180px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--black);
  background: linear-gradient(180deg, #f8f5f0 0%, #f1eee9 100%);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--black);
  color: var(--white);
  padding: 0.9rem 1.2rem;
  border-radius: 0 0 0.75rem 0.75rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 240, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(248, 245, 240, 0.96);
  border-color: rgba(17, 17, 17, 0.06);
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}

.brand-text small {
  font-size: 0.71rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  position: relative;
  color: var(--black);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.22rem 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow-500), var(--green-700));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow-500), var(--yellow-300));
  color: var(--black);
  box-shadow: 0 12px 28px rgba(245, 177, 0, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 16px 30px rgba(245, 177, 0, 0.32);
}

.btn-secondary {
  background: rgba(17, 17, 17, 0.04);
  border-color: rgba(17, 17, 17, 0.1);
  color: var(--black);
}

.nav-toggle {
  display: none;
  width: 3.1rem;
  height: 3.1rem;
  background: rgba(17, 17, 17, 0.04);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-toggle span {
  width: 1.3rem;
  height: 2px;
  background: var(--black);
  border-radius: 999px;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(245, 177, 0, 0.28), rgba(245, 177, 0, 0) 28%),
    linear-gradient(135deg, rgba(13, 38, 28, 0.94), rgba(17, 17, 17, 0.9) 70%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 26, 20, 0.8), rgba(9, 26, 20, 0.35), rgba(0, 0, 0, 0.22)),
    url("../image/apopco_farm.png") center/cover no-repeat;
  opacity: 0.32;
  transform: scale(1.08);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.hero-copy {
  color: var(--white);
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.74rem;
  color: var(--yellow-300);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  max-width: 11ch;
}

.lead {
  margin: 1.4rem 0 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.motto {
  margin-top: 1.6rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--yellow-300);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-card {
  position: relative;
  width: min(100%, 520px);
  padding: 1.2rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(8px);
}

.hero-image-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 34px;
  border: 1px solid rgba(255, 212, 96, 0.25);
  pointer-events: none;
}

.hero-image-card img {
  width: 100%;
  border-radius: 24px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
}

.hero-badge {
  position: absolute;
  bottom: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17, 17, 17, 0.88);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.78rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.section {
  padding: 6rem 0;
}

.section-heading {
  margin-bottom: 2.3rem;
}

.section-heading h2,
.story-copy h2,
.premium-copy h2,
.contact-details h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.about {
  background: rgba(255, 255, 255, 0.38);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.about-copy {
  font-size: 1.06rem;
  color: var(--black-soft);
}

.about-copy p {
  margin: 0 0 1.15rem;
}

.about-visual img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 2.5rem;
}

.info-card,
.value-card,
.service-card,
.premium-card,
.range-panel,
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.info-card {
  padding: 1.5rem 1.4rem;
}

.card-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--green-800);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.info-card p {
  margin: 0;
  color: var(--black-soft);
  font-weight: 500;
}

.values-wrap {
  margin-top: 3rem;
}

.values-header {
  margin-bottom: 1.2rem;
}

.values-header h3 {
  margin: 0;
  font-size: 1.55rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.value-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 14rem;
  padding: 1.4rem 1rem 1.2rem;
  text-align: center;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow-500), var(--green-600));
}

.value-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(245, 177, 0, 0.13);
  color: var(--yellow-900);
  font-size: 0.75rem;
  font-weight: 700;
}

.value-card h4 {
  margin: 0.9rem 0 0;
  font-size: 1.08rem;
}

.value-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.story {
  background: linear-gradient(180deg, rgba(19, 74, 52, 0.04), rgba(245, 177, 0, 0.05));
}

.story-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.story-copy p {
  margin: 1.1rem 0 0;
  color: var(--black-soft);
}

.story-list {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 60, 43, 0.96), rgba(17, 17, 17, 0.96));
  box-shadow: var(--shadow-strong);
}

.story-list ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  list-style: disc;
}

.story-list li + li {
  margin-top: 0.9rem;
}

.premium-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.84), rgba(245, 177, 0, 0.16));
}

.premium-copy p {
  margin: 1rem 0 0;
}

.premium-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-content: center;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(17, 17, 17, 0.06);
  font-weight: 600;
  color: var(--black-soft);
}

.feature-icon {
  display: inline-flex;
  width: 1.8rem;
  height: 1.8rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(70, 145, 99, 0.15);
  color: var(--green-800);
  font-weight: 900;
}

.farming-policy {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.farming-policy h3 {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
}

.farming-policy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.5rem;
  margin: 0;
  padding-left: 1.2rem;
}

.services {
  background: rgba(255, 255, 255, 0.35);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 2.4rem;
}

.service-card {
  padding: 1.5rem 1.4rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(18, 96, 65, 0.18);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

.service-icon {
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 177, 0, 0.15), rgba(62, 142, 92, 0.08));
}

.service-icon svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: var(--green-800);
}

.service-card h3 {
  margin: 1.1rem 0 0.5rem;
  font-size: 1.25rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.range-panel {
  margin-top: 2.2rem;
  padding: 1.8rem;
}

.range-intro h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2.3rem);
  letter-spacing: -0.04em;
}

.product-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.product-columns h4 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-800);
}

.product-columns ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--black-soft);
}

.product-columns li + li {
  margin-top: 0.42rem;
}

.contact {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(17, 17, 17, 0.94));
  color: var(--white);
}

.contact .eyebrow {
  color: var(--yellow-300);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.4rem;
}

.location-block h3,
.contact-list strong {
  color: var(--white);
}

.location-block p,
.contact-list p,
.contact-list a {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.contact-form-wrap {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.form-row {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 0.9rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(245, 177, 0, 0.9);
  box-shadow: 0 0 0 4px rgba(245, 177, 0, 0.2);
}

input.invalid,
textarea.invalid {
  border-color: rgba(220, 53, 69, 0.9);
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.14);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.form-status {
  margin: 1rem 0 0;
  min-height: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.form-status.error {
  color: #ffc7d1;
}

.form-status.success {
  color: #d9f7e7;
}

.map-container {
  margin-top: 2.5rem;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.site-footer {
  background: var(--black);
  color: var(--white);
  padding-top: 3.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-branding h3,
.footer-grid h4 {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
}

.footer-branding p,
.footer-grid li,
.footer-grid a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 0.8rem;
}

.footer-logo img {
  width: 3rem;
  height: 3rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li + li {
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid rgba(245, 177, 0, 0.8);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .story-layout,
  .premium-card,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .vision-grid,
  .services-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy {
    max-width: 100%;
  }

  .nav-menu-wrapper {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 1.1rem;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-open .nav-menu-wrapper {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .nav-cta {
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-actions,
  .two-up,
  .product-columns,
  .farming-policy ul,
  .premium-features,
  .vision-grid,
  .services-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-badge {
    left: 1rem;
    right: 1rem;
    transform: none;
    white-space: normal;
    text-align: center;
  }

  .map-container iframe {
    height: 300px;
  }

  .brand-text small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
