:root {
  --green: #2f8a3d;
  --green-dark: #13622c;
  --green-soft: #eaf4e9;
  --blue: #0757a5;
  --blue-dark: #043b75;
  --blue-deep: #003970;
  --ink: #20313b;
  --muted: #6c7a83;
  --line: #dfe8e4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(1170px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 82px 0; }
.eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow.green { color: var(--green); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 72px;
  color: #fff;
  background: linear-gradient(100deg, #064a92 0%, #0a5aa7 45%, #003e7c 100%);
  box-shadow: 0 5px 20px rgba(0, 51, 106, .18);
}
.header-inner {
  width: min(1210px, calc(100% - 40px));
  height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-brand { width: 152px; flex: 0 0 152px; height: 64px; overflow: hidden; display: flex; align-items: center; }
.logo-sprite { display: block; background-image: url('assets/layout-reference.png'); background-repeat: no-repeat; }
.header-logo {
  width: 98px;
  height: 59px;
  margin-left: -2px;
  background-size: 682px 2048px;
  background-position: -33px 0;
}
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 26px; flex: 1; }
.desktop-nav a { font-size: 12px; font-weight: 650; white-space: nowrap; opacity: .95; transition: opacity .2s, transform .2s; }
.desktop-nav a:hover { opacity: 1; transform: translateY(-1px); }
.desktop-nav a:first-child { position: relative; }
.desktop-nav a:first-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 2px; background: #fff; }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 205px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 7px;
  background: #349043;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  font-size: 12px;
  font-weight: 750;
}
.menu-button { display: none; border: 0; background: transparent; color: #fff; font-size: 28px; padding: 8px; }
.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: 690px;
  padding: 32px 20px 120px;
  display: grid;
  place-items: start center;
  overflow: visible;
  isolation: isolate;
}
.hero-reference {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url('assets/layout-reference.png') center -7.04vw / 100vw auto no-repeat;
}
.hero-reference::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0 23%, rgba(255,255,255,.92) 35%, rgba(255,255,255,.94) 65%, rgba(255,255,255,0) 77%);
}
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, transparent 0 21%, #fff 32%, #fff 68%, transparent 79%),
    linear-gradient(180deg, rgba(255,255,255,.02) 0 70%, #fff 99%);
}
.hero-content {
  width: min(670px, 100%);
  margin-top: 13px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo {
  width: 145px;
  height: 96px;
  background-size: 682px 2048px;
  background-position: -267px -79px;
  margin-bottom: 8px;
}
.hero h1 {
  margin: 0;
  color: #064c91;
  font-size: clamp(36px, 3.45vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 800;
}
.hero h1 span { display: block; color: #319146; }
.hero-content > p {
  margin: 26px 0 21px;
  color: #66757c;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
  font-weight: 450;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; }
.button {
  min-width: 170px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 7px 16px rgba(0, 0, 0, .15);
  transition: transform .2s, filter .2s;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.button-agro { background: linear-gradient(90deg, #318d3f, #3b9b49); }
.button-animal { background: linear-gradient(90deg, #0756a5, #0964ba); }
.metrics-wrap {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: -12px;
  width: min(1210px, calc(100% - 64px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metric-card {
  min-height: 122px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  border: 1px solid #e5ece9;
  border-radius: 8px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 25px rgba(23, 57, 75, .13);
}
.metric-icon { color: #309346; font-size: 39px; line-height: 1; font-weight: 800; }
.metric-card strong { display: block; color: #2b8840; font-size: 24px; line-height: 1.05; white-space: nowrap; }
.metric-card small { display: block; margin-top: 8px; color: #78858b; font-size: 10px; line-height: 1.3; }
.metric-4 .metric-icon, .metric-4 strong { color: #0756a5; }
.metric-4 strong { font-size: 17px; }

.ecosystem { padding-top: 110px; border-bottom: 1px solid #e3ebe8; }
.ecosystem-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.ecosystem-copy h2 {
  margin: 0 0 20px;
  color: #13652d;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.ecosystem-copy h2 span { color: #0757a4; }
.section-intro { max-width: 600px; margin: 0 0 26px; color: #6b777d; font-size: 14px; line-height: 1.7; }
.feature-list { display: grid; gap: 19px; margin-bottom: 31px; }
.feature-list > div { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 14px; }
.feature-list > div > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #eef7ed; color: #318d40; font-size: 25px; }
.feature-list p { margin: 0; color: #7a868b; font-size: 11px; line-height: 1.45; }
.feature-list strong { display: block; margin-bottom: 5px; color: #33494c; font-size: 13px; }
.small-button { display: inline-flex; padding: 13px 25px; border-radius: 6px; background: #359444; color: #fff; font-size: 12px; font-weight: 750; box-shadow: 0 5px 13px rgba(47,138,61,.2); }
.ecosystem-visual {
  height: 400px;
  align-self: center;
  background-image: url('assets/layout-reference.png');
  background-repeat: no-repeat;
  background-size: 1057px 3174px;
  background-position: -507px -804px;
}

.products-section { border-bottom: 1px solid #e1ebe8; }
.section-heading { text-align: center; margin-bottom: 36px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 41px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: #829097; font-size: 13px; }
.green-heading .eyebrow, .green-heading h2 { color: #13662d; }
.blue-heading .eyebrow, .blue-heading h2 { color: #0756a5; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  min-height: 530px;
  display: flex;
  flex-direction: column;
  padding: 21px 27px 24px;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 17px rgba(31, 57, 67, .07);
}
.agro-card { border: 1.5px solid #8ec88e; }
.animal-card { border: 1.5px solid #75a8dc; background: rgba(255,255,255,.86); }
.product-card img { width: 100%; height: 250px; object-fit: contain; object-position: center; margin-bottom: 12px; }
.product-card h3 { margin: 0; font-size: 19px; line-height: 1.1; }
.product-card h4 { margin: 4px 0 13px; font-size: 14px; line-height: 1.2; }
.agro-card h3, .agro-card h4 { color: #267f39; }
.animal-card h3, .animal-card h4 { color: #0758a8; }
.product-card ul { margin: 0 0 20px; padding: 0; list-style: none; color: #64777e; font-size: 12px; line-height: 1.85; }
.product-card li::before { content: "•"; margin-right: 8px; color: currentColor; }
.product-card > a { margin-top: auto; align-self: flex-start; padding: 10px 20px; border-radius: 6px; color: #fff; font-size: 11px; font-weight: 800; }
.agro-card > a { background: #318d40; }
.animal-card > a { background: #0759aa; }
.animal-section { background: linear-gradient(180deg, #f2f8fe 0%, #f8fbff 50%, #fff 100%); }
.animal-product-sprite {
  width: 315px;
  max-width: 100%;
  height: 250px;
  margin: 0 auto 12px;
  background-image: url('assets/layout-reference.png');
  background-repeat: no-repeat;
  background-size: 1108px 3328px;
  background-color: #fff;
  border-radius: 7px;
}
.mastilack { background-position: -61px -2088px; }
.imunilack { background-position: -394px -2088px; }
.nutrilack { background-position: -727px -2088px; }

.faq { padding-block: 48px 40px; }
.faq-container { max-width: 1050px; }
.section-heading.compact { margin-bottom: 22px; }
.section-heading.compact h2 { font-size: 30px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.faq details { border: 1px solid #e1e8e5; border-radius: 5px; background: #fff; box-shadow: 0 2px 5px rgba(31,56,67,.04); }
.faq summary { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 19px; cursor: pointer; list-style: none; color: #536369; font-size: 11px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: #225b75; font-size: 20px; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 19px 17px; color: #708087; font-size: 11px; line-height: 1.55; }
.faq-button { width: 205px; min-height: 38px; margin: 15px auto 0; display: flex; align-items: center; justify-content: center; border: 1.5px solid #83bb8c; border-radius: 6px; color: #267e3c; font-size: 11px; font-weight: 750; }

.contact { padding: 55px 0 46px; color: #fff; background: linear-gradient(110deg, #064a90, #075dad 48%, #013b78); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: center; }
.eyebrow.lime { color: #a7d873; }
.contact-copy h2 { margin: 0 0 16px; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.05; letter-spacing: -.035em; }
.contact-copy > p { max-width: 420px; margin: 0 0 30px; color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.6; }
.contact-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-benefits span { color: rgba(255,255,255,.84); font-size: 9px; line-height: 1.5; }
.contact-benefits b { float: left; margin-right: 6px; color: #fff; font-size: 18px; }
.contact-form { padding: 27px 28px 24px; border-radius: 11px; background: #fff; color: #45565d; box-shadow: 0 15px 35px rgba(0,27,69,.25); }
.form-kicker { display: block; margin-bottom: 17px; color: #3c974b; font-size: 12px; font-weight: 800; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; margin-bottom: 12px; font-size: 9px; font-weight: 650; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #e2e8e6; border-radius: 5px; padding: 10px 12px; color: #33434b; outline: none; font-size: 10px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #55a963; box-shadow: 0 0 0 3px rgba(85,169,99,.12); }
.contact-form button { width: 100%; min-height: 43px; border: 0; border-radius: 5px; background: linear-gradient(90deg, #319244, #3a9b49); color: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }

footer { padding: 31px 0 0; color: #fff; background: linear-gradient(100deg, #043d79, #064c91 60%, #02366e); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .72fr .72fr 1.1fr; gap: 65px; padding-bottom: 24px; }
.footer-logo { width: 94px; height: 62px; background-size: 682px 2048px; background-position: -31px 0; }
.footer-brand p { margin: 3px 0 13px; color: rgba(255,255,255,.8); font-size: 10px; line-height: 1.6; }
.socials { display: flex; gap: 7px; }
.socials a { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 4px; background: rgba(255,255,255,.9); color: #064b8f; font-size: 10px; font-weight: 800; }
.footer-grid h3 { margin: 0 0 12px; color: #8dca58; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a, .footer-grid > div > p { margin: 0 0 6px; color: rgba(255,255,255,.84); font-size: 9px; }
.footer-cta { margin-top: 7px !important; padding: 9px 17px; border-radius: 5px; background: #3a974a; color: #fff !important; font-size: 10px !important; font-weight: 750; }
.footer-bottom { min-height: 30px; display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding: 0 max(24px, calc((100vw - 1170px) / 2)); background: rgba(0,36,79,.32); color: rgba(255,255,255,.62); font-size: 8px; }

@media (min-width: 1600px) {
  .hero { min-height: 720px; }
  .hero-content { margin-top: 22px; }
}

@media (max-width: 1100px) {
  .desktop-nav { gap: 14px; }
  .desktop-nav a { font-size: 10px; }
  .header-cta { min-width: 178px; padding-inline: 12px; font-size: 10px; }
  .header-brand { width: 120px; flex-basis: 120px; }
  .metric-card { padding: 20px 17px; gap: 11px; }
  .metric-card strong { font-size: 20px; }
  .metric-icon { font-size: 31px; }
  .ecosystem-grid { gap: 28px; }
  .ecosystem-visual { background-position: -520px -804px; }
}

@media (max-width: 850px) {
  .container { width: min(100% - 32px, 700px); }
  .site-header, .header-inner { height: 68px; }
  .header-inner { width: calc(100% - 28px); }
  .desktop-nav, .header-cta { display: none; }
  .header-brand { flex: 1; }
  .menu-button { display: block; cursor: pointer; }
  .mobile-nav { position: absolute; inset: 68px 0 auto; display: grid; max-height: 0; overflow: hidden; background: #054785; transition: max-height .3s ease; box-shadow: 0 10px 20px rgba(0,35,72,.2); }
  .mobile-nav.open { max-height: 520px; padding: 10px 20px 18px; }
  .mobile-nav a { padding: 11px 5px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 13px; font-weight: 650; }
  .hero { min-height: 770px; padding-top: 34px; }
  .hero-reference { background-size: auto 900px; background-position: center top; filter: saturate(.9); }
  .hero-reference::after { background: rgba(255,255,255,.7); }
  .hero-fade { background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.88) 68%, #fff 100%); }
  .hero-content { margin-top: 0; }
  .hero h1 { font-size: clamp(36px, 9vw, 54px); }
  .metrics-wrap { bottom: -60px; grid-template-columns: repeat(2, 1fr); width: min(100% - 32px, 700px); }
  .metric-card { min-height: 100px; }
  .ecosystem { padding-top: 155px; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .ecosystem-copy { text-align: center; }
  .section-intro { margin-inline: auto; }
  .feature-list { max-width: 520px; margin-inline: auto; text-align: left; }
  .ecosystem-visual { height: 370px; max-width: 540px; width: 100%; margin-inline: auto; background-position: -507px -804px; }
  .product-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .product-card { min-height: auto; }
  .product-card img { height: 300px; }
  .animal-product-sprite { height: 250px; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact-copy { text-align: center; }
  .contact-copy > p { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 35px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .section { padding: 62px 0; }
  .hero { min-height: 865px; padding-inline: 14px; }
  .hero-logo { transform: scale(.9); margin-bottom: 2px; }
  .hero h1 { font-size: 37px; line-height: 1.06; }
  .hero-content > p { font-size: 14px; }
  .hero-content > p br { display: none; }
  .hero-actions { width: 100%; flex-direction: column; align-items: center; }
  .button { width: min(280px, 100%); }
  .metrics-wrap { bottom: -118px; gap: 8px; }
  .metric-card { min-height: 112px; padding: 17px 13px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .metric-icon { font-size: 26px; }
  .metric-card strong { font-size: 18px; }
  .metric-4 strong { font-size: 14px; }
  .metric-card small { margin-top: 5px; }
  .ecosystem { padding-top: 190px; }
  .ecosystem-copy h2 { font-size: 34px; }
  .ecosystem-copy h2 br { display: none; }
  .feature-list > div { grid-template-columns: 48px 1fr; }
  .ecosystem-visual { height: 300px; transform: scale(.82); transform-origin: top center; margin-bottom: -55px; }
  .section-heading h2 { font-size: 31px; }
  .product-card { padding-inline: 20px; }
  .product-card img { height: 250px; }
  .animal-product-sprite { height: 250px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding-inline: 18px; }
  .contact-benefits { grid-template-columns: 1fr; justify-items: center; }
  .contact-benefits span { width: 180px; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}


.agro-product-sprite {
  width: 315px;
  max-width: 100%;
  height: 250px;
  margin: 0 auto 12px;
  border-radius: 7px;
  background-color: #fff;
  background-image: url('assets/layout-reference.png');
  background-repeat: no-repeat;
  background-size: 1159px 3482px;
}
.agro-1 { background-position: -76px -1555px; }
.agro-2 { background-position: -425px -1555px; }
.agro-3 { background-position: -765px -1555px; }
