:root {
  --green: #10b981;
  --green-dark: #059669;
  --green-deep: #047857;
  --green-soft: #d1fae5;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --muted-bg: #f4f6f5;
  --radius: 18px;
  --max: 1160px;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
input, textarea, select { font-size: 16px; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.mobile-only { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-h);
  gap: 16px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img {
  width: 36px;
  height: 36px;
  object-fit: cover;
}
.nav-center {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 22px;
}
.nav-center a {
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-center a:hover { color: var(--text); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.login-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: #374151;
}
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.lang-switch button.active {
  background: var(--green);
  color: #fff;
}
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.28);
}
.btn-primary:hover { background: var(--green-dark); }
.btn-outline {
  background: #fff;
  color: var(--green-dark);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green-soft); }
.btn-sm { padding: 9px 16px; font-size: 0.86rem; }

.hero {
  position: relative;
  padding: 56px 0 48px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f8fbf9 100%);
}
.hero-bg {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  opacity: 0.22;
  background:
    linear-gradient(180deg, #fff 0%, transparent 35%),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=60") center bottom / cover no-repeat;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
}
.hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4.6vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hero h1 .accent { color: var(--green); }
.lead { color: var(--muted); max-width: 36rem; margin: 0 0 24px; font-size: 1.02rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.perks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: #374151;
  font-size: 0.86rem;
  font-weight: 600;
}
.perks span { display: flex; align-items: center; gap: 8px; }
.perk-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-style: normal;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  min-height: 440px;
}
.phones {
  display: flex;
  justify-content: center;
  gap: 10px;
  transform: rotate(-6deg);
}
.phone {
  width: 198px;
  flex: 0 0 198px;
  background: #111;
  border-radius: 30px;
  padding: 9px;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.2);
}
.phone:nth-child(2) { transform: translateY(34px) rotate(12deg); }
.phone-screen {
  background: #f5f6f8;
  border-radius: 22px;
  min-height: 372px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.ph-notch {
  width: 72px;
  height: 8px;
  background: #111;
  border-radius: 999px;
  margin: 0 auto 10px;
}
.ph-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.ph-top b { color: var(--text); font-size: 0.82rem; }
.ph-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-kpi {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.ph-kpi b { display: block; font-size: 1.08rem; }
.ph-kpi small { color: var(--muted); }
.ph-chart {
  margin-top: 10px;
  height: 78px;
  border-radius: 12px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.ph-chart::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 12px;
  height: 42px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' fill='none'><path d='M0 30 C18 30 20 10 40 14 C62 18 58 6 80 10 C98 13 110 24 120 16' stroke='%2310b981' stroke-width='3' fill='none'/><path d='M0 40 L0 30 C18 30 20 10 40 14 C62 18 58 6 80 10 C98 13 110 24 120 16 V40 Z' fill='%2310b981' fill-opacity='0.12'/></svg>") center / contain no-repeat;
}
.ph-bar {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-top: 10px;
  padding: 8px 10px 6px;
  background: #fff;
  border-radius: 12px;
}
.ph-bar span {
  flex: 1;
  background: var(--green);
  border-radius: 4px 4px 2px 2px;
  opacity: 0.85;
}
.ph-list { margin-top: 10px; display: grid; gap: 6px; }
.ph-row {
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
}
.ph-pill {
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 1px 7px;
  font-weight: 700;
}
.ph-fab {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.trust { padding: 36px 0 8px; text-align: center; }
.trust p { color: var(--muted); margin: 0 0 22px; font-weight: 600; }
.trust-row,
.why-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.trust-item {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.86rem;
}
.trust-item .ico,
.why-item .ico {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
}
.trust-item .ico svg,
.why-item .ico svg {
  width: 22px;
  height: 22px;
}

.section { padding: 72px 0; }
.section-muted { background: var(--muted-bg); }
.section h2 {
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
  font-weight: 800;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 36px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feat-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.feat-card h3 { margin: 14px 0 8px; font-size: 1.06rem; }
.feat-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.icon-line {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}
.center-btn { text-align: center; margin-top: 32px; }

.farm-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.farm-card {
  display: grid;
  grid-template-columns: minmax(200px, 42%) 1fr;
  align-items: stretch;
  min-height: 260px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #eee;
}
.farm-card--layers { background: #fff7ed; }
.farm-card--broilers { background: #f0f9ff; }
.farm-media {
  overflow: hidden;
  min-height: 260px;
  background: #e5e7eb;
  align-self: stretch;
}
.farm-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center 30%;
}
.farm-body {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.farm-body h3 { margin: 0 0 12px; font-size: 1.02rem; }
.checks { margin: 0 0 16px; padding: 0; list-style: none; }
.checks li {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  color: #374151;
  font-size: 0.88rem;
}
.checks li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
}

.why-row { margin-top: 28px; text-align: center; }
.why-item strong {
  display: block;
  color: var(--green-dark);
  font-size: 1.45rem;
  margin-bottom: 4px;
}
.why-item span { color: var(--muted); font-size: 0.88rem; }

.screens-wrap { position: relative; }
.screens {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 12px 36px 22px;
  scrollbar-width: none;
}
.screens::-webkit-scrollbar { display: none; }
.screen-phone {
  flex: 0 0 198px;
  scroll-snap-align: center;
  background: #111;
  border-radius: 28px;
  padding: 9px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}
.screen-phone .phone-screen { min-height: 348px; transform: none; }
.carousel-btn {
  position: absolute;
  top: 46%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-size: 1.3rem;
  color: #111;
}
.carousel-btn.prev { left: -6px; }
.carousel-btn.next { right: -6px; }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quote {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid #f3f3f3;
}
.qmark {
  color: var(--green);
  font-size: 2.6rem;
  line-height: 0.7;
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom: 10px;
}
.quote p { margin: 0 0 18px; color: #4b5563; }
.who { display: flex; gap: 10px; align-items: center; }
.who img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.who small { color: var(--muted); }
.quote-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.quote-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
}
.quote-dots span.on { background: var(--green); }

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow);
}
.price-card h3 { margin: 0 0 8px; }
.price-card p { color: var(--muted, #6b7280); }
.price-card--featured {
  border-color: #86efac;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 48%);
}
.price-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.blog-card {
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}
.blog-card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.blog-card p { margin: 0; color: var(--muted); }

.cta-banner {
  background: var(--green-deep);
  color: #fff;
  border-radius: 28px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cta-chicken {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: #fff;
}
.cta-banner p {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 700;
  max-width: 34rem;
  line-height: 1.35;
}
.store-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px 8px 12px;
  min-width: 158px;
  font-size: 0.7rem;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 8px;
}
.store svg { width: 22px; height: 22px; flex-shrink: 0; }
.store b { display: block; font-size: 0.95rem; }

.contact-list { display: grid; gap: 10px; max-width: 560px; margin: 0 auto; }
.contact-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.site-footer {
  background: #fafafa;
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr 0.9fr 1.45fr;
  gap: 28px;
}
.site-footer h4 { margin: 0 0 12px; font-size: 0.92rem; }
.site-footer a { color: #4b5563; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--text); }
.news {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 14px;
}
.news input {
  border: 0;
  padding: 10px 14px;
  width: 100%;
  outline: none;
  min-width: 0;
}
.news button {
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
  font-size: 1.1rem;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 0;
  color: #374151;
}
.socials svg { width: 15px; height: 15px; }
.copy { text-align: center; color: var(--muted); margin-top: 32px; font-size: 0.82rem; }

.legal-wrap { width: min(760px, calc(100% - 32px)); margin: 36px auto 64px; }
.legal-card { background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.legal-card p { margin: 0 0 14px; }
.legal-meta { color: var(--muted); }

@media (max-width: 1100px) {
  .nav-center { gap: 10px 14px; }
  .nav-center a { font-size: 0.82rem; }
  .farm-card { grid-template-columns: minmax(160px, 38%) 1fr; }
}

@media (max-width: 980px) {
  .wrap { width: calc(100% - 28px); }
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .brand { font-size: 1.05rem; min-width: 0; }
  .nav-center { display: none; }
  .nav-center.open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 10px;
    box-shadow: var(--shadow);
    z-index: 80;
    max-height: min(70vh, 420px);
    overflow-y: auto;
  }
  .nav-center.open a {
    padding: 12px 10px;
    border-radius: 10px;
    white-space: normal;
  }
  .header-actions { justify-self: end; gap: 8px; }
  .menu-btn { display: grid; }
  .hero {
    padding: 24px 0 28px;
    overflow: hidden;
  }
  .hero-visual {
    min-height: 0;
    max-width: 220px;
    width: 100%;
    margin: 0 auto;
    overflow: visible;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .btn { white-space: normal; text-align: center; }
  .feat-grid,
  .farm-types,
  .quotes,
  .blog-grid,
  .price-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .farm-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .farm-media {
    min-height: 0;
    height: 200px;
  }
  .farm-media img {
    height: 200px;
    min-height: 200px;
  }
  .trust-row,
  .why-row {
    grid-template-columns: 1fr 1fr;
    gap: 18px 10px;
  }
  .trust-item:last-child,
  .why-item:last-child {
    grid-column: 1 / -1;
  }
  .cta-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .phones {
    transform: none;
    justify-content: center;
    width: 100%;
  }
  .phone {
    width: min(200px, 100%);
    flex: 0 0 auto;
    max-width: 100%;
  }
  .phone:nth-child(2) { display: none; }
  .phone-screen { min-height: 340px; }
  .carousel-btn { width: 34px; height: 34px; }
  .carousel-btn.prev { left: 4px; }
  .carousel-btn.next { right: 4px; }
  .screens { padding: 8px 40px 18px; }
  .store-btns { width: 100%; }
  .store { flex: 1; min-width: 140px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 20px); }
  .hero h1 { font-size: 1.75rem; }
  .lead { font-size: 0.95rem; }
  .section { padding: 40px 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions .btn { width: 100%; }
  .perks {
    flex-direction: column;
    gap: 10px;
  }
  .cta-left { flex-direction: column; align-items: flex-start; }
  .cta-banner {
    padding: 20px 16px;
    border-radius: 20px;
  }
  .cta-banner p { font-size: 1.02rem; }
  .contact-list a {
    flex-direction: column;
    align-items: flex-start;
    word-break: break-word;
  }
  .news {
    flex-direction: column;
    border-radius: 16px;
  }
  .news button {
    padding: 12px;
  }
  .carousel-btn { display: none; }
  .screens { padding: 8px 4px 18px; }
}
