/* =========================================================
   Poultrysystems.ru by Long Feng
   css/style.css
   Calm light B2B engineering style
   ========================================================= */

:root {
  --bg: #f6f8f5;
  --bg-soft: #eef3ed;
  --bg-white: #ffffff;

  --text: #17211c;
  --text-soft: #536159;
  --text-muted: #7b8881;

  --green: #24724a;
  --green-dark: #155737;
  --green-soft: #e4f1e8;

  --accent: #dca63a;
  --accent-soft: #fff4d9;

  --line: #dce5df;
  --line-dark: #c9d5cd;

  --shadow-sm: 0 8px 22px rgba(28, 54, 40, 0.07);
  --shadow-md: 0 18px 44px rgba(28, 54, 40, 0.11);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;

  --container: 1360px;
  --container-hero: 1440px;

  --font-main: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Base */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.hero .container {
  width: min(var(--container-hero), calc(100% - 48px));
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand strong,
.footer-brand,
.number-card strong {
  font-family: var(--font-heading);
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 700;
}

p {
  color: var(--text-soft);
}

.section-head {
  max-width: 860px;
  margin-bottom: 42px;
}

.section-head.compact {
  max-width: 780px;
}

.section-head p:last-child {
  margin-bottom: 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 10px 22px rgba(36, 114, 74, 0.22);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: rgba(36, 114, 74, 0.16);
}

.btn-secondary:hover {
  background: #d8eadf;
  transform: translateY(-1px);
}

.btn-header {
  min-height: 40px;
  padding: 11px 16px;
  color: #ffffff;
  background: var(--green);
  font-size: 14px;
}

.btn-header:hover {
  background: var(--green-dark);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 223, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), #5da574);
  font-weight: 700;
  letter-spacing: -0.03em;
  box-shadow: 0 8px 20px rgba(36, 114, 74, 0.18);
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.main-nav a {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: var(--green-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  color: var(--green-dark);
  font-weight: 600;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 10px;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 70px;
  background:
    radial-gradient(circle at 86% 18%, rgba(36, 114, 74, 0.13), transparent 30%),
    radial-gradient(circle at 18% 4%, rgba(220, 166, 58, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f9f5 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -130px -190px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(36, 114, 74, 0.06);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(540px, 1.08fr);
  gap: 58px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: #3d4f46;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.65;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #ffffff;
  border: 1px solid rgba(36, 114, 74, 0.16);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.hero-media {
  margin: 0;
  padding: 14px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.hero-media img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 22px;
  background: var(--green-soft);
}

.hero-media figcaption {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

/* Numbers */

.proof-strip {
  padding: 34px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.number-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--line);
}

.number-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.number-card span {
  color: var(--text-soft);
  font-weight: 500;
}

/* Product categories */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.product-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-image img {
  width: 100%;
  height: 275px;
  object-fit: cover;
  background: var(--green-soft);
}

.product-body {
  padding: 26px;
}

.product-subtitle {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.card-line {
  width: 42px;
  height: 2px;
  margin: 14px 0 16px;
  background: var(--accent);
  border-radius: 999px;
}

.product-body p:last-of-type {
  margin-bottom: 20px;
}

.product-body a {
  color: var(--green-dark);
  font-weight: 600;
}

.product-body a:hover {
  text-decoration: underline;
}

/* Systems */

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.system-card {
  min-height: 195px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.system-card h3 {
  position: relative;
  padding-left: 18px;
}

.system-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 56px;
  align-items: center;
}

.about-media {
  margin: 0;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.about-media img {
  width: 100%;
  border-radius: 22px;
  background: var(--green-soft);
}

.about-media figcaption {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

.about-copy {
  max-width: 760px;
}

.about-copy .lead {
  color: #3d4f46;
  font-size: 19px;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green-dark);
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.step-card span {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--green);
  font-weight: 700;
}

/* Advantages */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.compare-grid article {
  padding: 30px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* RFQ */

.rfq-section {
  background:
    linear-gradient(180deg, rgba(36, 114, 74, 0.06), rgba(36, 114, 74, 0)),
    var(--bg);
}

.rfq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  gap: 56px;
  align-items: start;
}

.rfq-copy {
  max-width: 760px;
}

.rfq-form {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.rfq-form label {
  display: block;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.rfq-form input,
.rfq-form select,
.rfq-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 15px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  color: var(--text);
  background: #ffffff;
  outline: none;
  transition: 0.2s ease;
}

.rfq-form input:focus,

.rfq-form select:focus,
.rfq-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(36, 114, 74, 0.12);
}

.rfq-form textarea {
  resize: vertical;
  min-height: 120px;
}

.rfq-form .btn {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.faq-list details {
  padding: 22px 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.faq-list p {
  margin: 14px 0 0;
}

/* Footer */

.site-footer {
  padding: 64px 0 34px;
  color: #dfece4;
  background: #10251a;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(220px, 0.7fr));
  gap: 48px;
}

.footer-brand {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-tagline {
  margin-bottom: 14px;
  color: #93a89c;
}

.site-footer p,
.site-footer a {
  color: #b9c9c0;
}

.site-footer h3 {
  color: #ffffff;
  font-size: 18px;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8ea096;
  font-size: 13px;
}

/* Responsive */

@media (min-width: 1500px) {
  .product-image img {
    height: 305px;
  }
}

@media (max-width: 1180px) {
  .hero-grid,
  .about-grid,
  .rfq-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .about-copy,
  .rfq-copy {
    max-width: none;
  }

  .hero-media img {
    min-height: 360px;
  }

  .numbers-grid,
  .compare-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid,
  .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .container,
  .hero .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 58px 0 56px;
  }

  .header-inner {
    min-height: 70px;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
    border-radius: 14px;
  }

  .main-nav a:hover {
    background: var(--green-soft);
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-media {
    padding: 10px;
    border-radius: 24px;
  }

  .hero-media img {
    min-height: 260px;
    border-radius: 18px;
  }

  .numbers-grid,
  .product-grid,
  .system-grid,
  .compare-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rfq-form {
    padding: 24px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -0.025em;
  }

  h2 {
    font-size: 28px;
    line-height: 1.14;
    letter-spacing: -0.018em;
  }

  h3 {
    font-size: 20px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .product-image img {
    height: 220px;
  }

  .product-body,
  .system-card,
  .compare-grid article,
  .step-card {
    padding: 22px;
  }
}