:root {
  --orange: #df7424;
  --orange-dark: #b95c18;
  --green: #246344;
  --green-dark: #123b2b;
  --green-soft: #edf5ef;
  --ink: #1e271f;
  --muted: #667268;
  --line: #dfe7df;
  --white: #ffffff;
  --paper: #f8f7f1;
  --shadow: 0 18px 46px rgba(28, 45, 30, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(223, 231, 223, .88);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #f2b04a);
  box-shadow: 0 8px 22px rgba(223, 116, 36, .28);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--green-dark);
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #3f4d43;
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a {
  transition: color .2s ease, background .2s ease;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-cta {
  padding: 10px 15px;
  border-radius: 8px;
  color: #fff !important;
  background: var(--green);
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background-image: url("assets/hero-citrus-factory-optimized.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 59, 43, .92) 0%, rgba(18, 59, 43, .76) 48%, rgba(18, 59, 43, .18) 100%),
    linear-gradient(0deg, rgba(18, 59, 43, .2), rgba(18, 59, 43, .05));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 108px;
  color: #fff;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
}

.eyebrow {
  color: #ffd58f;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.08;
}

.hero-subtitle {
  margin: 18px 0 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 760;
}

.hero-text {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 14px 30px rgba(223, 116, 36, .28);
}

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

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .12);
}

.section {
  padding: 86px 0;
}

.section-soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--green-soft);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
}

h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
  gap: 42px;
  align-items: start;
}

.intro-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.intro-card p {
  margin: 0;
}

.intro-card p + p {
  margin-top: 16px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28, 45, 30, .07);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.feature-card:nth-child(even) .feature-icon {
  background: var(--orange);
}

.feature-card p {
  margin: 12px 0 0;
}

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

.product-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-dark);
  box-shadow: var(--shadow);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .88;
  background: var(--product-bg);
  background-size: cover;
  background-position: center;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 59, 43, .25), rgba(18, 59, 43, .82));
}

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

.product-content h3,
.product-content p {
  color: #fff;
}

.product-content p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .84);
}

.product-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(223, 116, 36, .9);
  font-size: 13px;
  font-weight: 800;
}

.product-pellet {
  --product-bg:
    linear-gradient(135deg, rgba(36, 99, 68, .1), rgba(223, 116, 36, .2)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 620'%3E%3Crect width='900' height='620' fill='%237b8b55'/%3E%3Cellipse cx='470' cy='430' rx='380' ry='145' fill='%23755128'/%3E%3Cg fill='%23c9853b'%3E%3Crect x='138' y='365' width='124' height='30' rx='15' transform='rotate(12 200 380)'/%3E%3Crect x='292' y='420' width='150' height='30' rx='15' transform='rotate(-10 367 435)'/%3E%3Crect x='472' y='350' width='132' height='30' rx='15' transform='rotate(18 538 365)'/%3E%3Crect x='614' y='420' width='140' height='30' rx='15' transform='rotate(-8 684 435)'/%3E%3Crect x='380' y='485' width='168' height='30' rx='15' transform='rotate(5 464 500)'/%3E%3C/g%3E%3Ccircle cx='165' cy='130' r='66' fill='%23f09a2d'/%3E%3Cpath d='M165 68 C198 36 238 40 265 67 C222 70 196 92 176 133 Z' fill='%23246344'/%3E%3C/svg%3E");
}

.product-honey {
  --product-bg:
    linear-gradient(135deg, rgba(223, 116, 36, .25), rgba(36, 99, 68, .1)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 620'%3E%3Crect width='900' height='620' fill='%23b96a20'/%3E%3Cpath d='M0 396 C118 338 240 424 360 370 C492 312 594 360 710 324 C795 298 850 312 900 336 L900 620 L0 620 Z' fill='%23f3b64b'/%3E%3Cpath d='M165 120 H596 A76 76 0 0 1 672 196 V485 H220 A55 55 0 0 1 165 430 Z' fill='%23fff1c7' opacity='.35'/%3E%3Cpath d='M225 174 H548 A48 48 0 0 1 596 222 V432 H268 A43 43 0 0 1 225 389 Z' fill='%23814a1b' opacity='.76'/%3E%3Cpath d='M250 242 C340 202 440 280 570 226 L570 397 H250 Z' fill='%23ffc254'/%3E%3Ccircle cx='708' cy='136' r='62' fill='%23f29c2d'/%3E%3Cpath d='M705 72 C735 40 776 44 804 72 C762 74 735 96 717 140 Z' fill='%23246344'/%3E%3C/svg%3E");
}

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

.cooperation-list article {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cooperation-list strong {
  color: var(--green-dark);
  font-size: 22px;
}

.cooperation-list p {
  margin: 0;
}

.layout-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .82fr);
  gap: 46px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.layout-panel p {
  margin: 0;
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.region-tags span {
  padding: 9px 13px;
  border: 1px solid #dbe7db;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 14px;
  font-weight: 800;
}

.contact-section {
  color: #fff;
  background: var(--green-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(320px, .62fr);
  gap: 42px;
  align-items: center;
}

.contact-grid h2,
.section-label.light {
  color: #fff;
}

.section-label.light {
  color: #ffd58f;
}

.contact-directions {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.contact-directions li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, .86);
  line-height: 1.6;
}

.contact-directions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.contact-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.contact-card h3 {
  margin-bottom: 18px;
  color: #fff;
}

.contact-card p {
  margin: 12px 0;
  color: rgba(255, 255, 255, .86);
}

.contact-card b {
  color: #ffd58f;
}

.footer {
  padding: 26px 0;
  background: #0f2f23;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

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

.footer a:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    white-space: normal;
  }

  .nav-links.is-open {
    display: grid;
    gap: 12px;
  }

  .nav-cta {
    width: fit-content;
  }

  .about-grid,
  .advantage-grid,
  .product-grid,
  .layout-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 78px 0 96px;
  }
}

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

  .brand small {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .section {
    padding: 62px 0;
  }

  .advantage-grid,
  .cooperation-list article {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .product-card {
    min-height: 360px;
  }

  .layout-panel,
  .intro-card,
  .contact-card {
    padding: 24px;
  }

  .footer-inner {
    display: grid;
  }
}
