:root {
  --green: #104721;
  --dark: #0c1c14;
  --muted: #415048;
  --line: #dfe6dd;
  --pale: #f3f6ef;
  --paper: #fff;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: #fafcf9;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid #b9790d; outline-offset: 4px; }
img { display: block; max-width: 100%; }
svg { display: block; width: 24px; height: 24px; flex: none; }
p { line-height: 1.55; margin: 0 0 14px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.14; }
h1 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.25rem, 2.5vw, 1.7rem); letter-spacing: -.024em; }
h3 { font-size: 1.13rem; }
.wrap { width: min(1220px, calc(100% - 72px)); margin-inline: auto; }
.header { position: relative; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-bar { display: flex; align-items: center; min-height: 84px; gap: clamp(14px, 3vw, 35px); }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 900; line-height: 1; }
.logo { max-width: 134px; max-height: 69px; object-fit: contain; }
.desktop { display: flex; align-items: center; gap: clamp(15px, 2.4vw, 31px); font-size: .93rem; font-weight: 700; }
.desktop > a, summary { padding: 12px 0; }
[aria-current="page"], .active { border-bottom: 2px solid var(--green); color: var(--green); }
.dropdown, .mobile { position: relative; }
summary { cursor: pointer; list-style: none; white-space: nowrap; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '⌄'; margin-left: 7px; }
.dropdown > div, .mobile > nav { position: absolute; top: 100%; right: 0; min-width: 205px; padding: 7px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 22px #0c1c1420; }
.dropdown > div a, .mobile nav > a { display: block; padding: 11px; }
.dropdown > div a:hover, .mobile nav > a:hover { background: var(--pale); }
.mobile { display: none; }
.wa { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: #079734; color: white; }
.wa:hover { background: #057b2a; color: white; }
.wa svg { width: 29px; height: 29px; }
.floating { position: fixed; right: 22px; bottom: 21px; z-index: 2; box-shadow: 0 5px 18px #0c1c1440; width: 52px; height: 52px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--green); color: white; font-weight: 700; font-size: .91rem; padding: 11px 16px; border-radius: 7px; line-height: 1.3; }
.button:hover { background: #1a602e; color: white; }
.button svg { width: 21px; height: 21px; }
.hero { position: relative; min-height: clamp(456px, 66vh, 700px); display: flex; align-items: center; background: #2b3828; isolation: isolate; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0b1b11dc,#0b1b1177 54%,#13261913); }
.hero-copy { padding-block: 60px 110px; color: white; }
.hero-copy h1 { max-width: 660px; font-size: clamp(2.6rem, 5.45vw, 5.4rem); text-shadow: 0 2px 12px #0005; }
.hero-copy p { font-weight: 700; font-size: clamp(1rem, 2vw, 1.45rem); margin-bottom: 22px; }
.hero-control { position: absolute; top: 46%; display: grid; place-items: center; width: 33px; height: 46px; border: 0; border-radius: 7px; background: #0004; color: white; font-size: 2rem; cursor: pointer; }
.hero-control:hover { background: #0009; }
.hero-control[hidden] { display: none; }
.hero-prev { left: 7px; }
.hero-next { right: 7px; }
.shortcuts { position: relative; margin-top: -55px; border-radius: 11px; background: white; box-shadow: 0 9px 30px #10241419; padding: 13px 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.shortcuts a { display: grid; justify-items: center; gap: 6px; padding: 12px 14px; text-align: center; }
.shortcuts a + a { border-left: 1px solid var(--line); }
.shortcuts svg, .values svg { color: var(--green); width: 38px; height: 38px; }
.shortcuts strong { font-size: 1.18rem; }
.shortcuts span { color: var(--muted); font-size: .9rem; }
.page { padding-top: 34px; padding-bottom: 54px; min-height: 66vh; }
.crumb { display: flex; flex-wrap: wrap; gap: 9px; font-size: .85rem; margin-bottom: 16px; }
.crumb a { color: var(--green); }
.page-heading { position: relative; isolation: isolate; overflow: hidden; padding: 5px 0 16px; }
.page-heading h1::after { content: ''; display: block; width: 54px; height: 3px; margin-top: 13px; background: var(--green); }
.page-heading p { max-width: min(680px, 65%); color: var(--muted); }
.page-heading p:empty { display: none; }
.heading-art { position: absolute; top: 0; right: 0; height: 100%; width: 34%; object-fit: cover; object-position: right center; z-index: -1; mask-image: linear-gradient(90deg,transparent,black 26%); border-radius: 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(22px, 4vw, 54px); }
.about { align-items: center; }
.about h2 { max-width: 480px; font-size: clamp(1.55rem, 3.1vw, 2.6rem); }
.shop { width: 100%; max-height: 480px; object-fit: cover; border-radius: 13px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 25px; }
.values article { padding: 22px; text-align: center; }
.values svg { margin: 0 auto 10px; }
.values p { margin: 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.brand-grid { grid-template-columns: repeat(20,minmax(0,1fr)); gap: 14px; }
.brand-card { grid-column: span 5; text-align: center; padding: 10px; }
.brand-grid:not(.fertilizer-brands) > .brand-card:nth-child(4):nth-last-child(4) ~ .brand-card { grid-column: span 6; }
.brand-grid:not(.fertilizer-brands) > .brand-card:nth-child(5):nth-last-child(3) { grid-column: 2/span 6; }
.brand-grid:not(.fertilizer-brands) > .brand-card:nth-child(5):last-child, .brand-grid:not(.fertilizer-brands) > .brand-card:has(~ .brand-card:nth-child(5):last-child) { grid-column: span 4; }
.card, .values article, .editorial section, .dealer-card { background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 3px 12px #12392109; }
.card { overflow: hidden; }
.brand-product, .card-image img { width: 100%; height: 185px; object-fit: contain; background: #f8faf6; }
.brand-card h2 { font-size: 1.04rem; margin: 10px 0; }
.brand-card .button { padding-inline: 10px; }
.card-image { display: block; background: var(--pale); }
.card-copy { padding: 15px; }
.card-copy p { font-size: .9rem; color: var(--muted); }
.catalog-group { margin-top: 32px; }
.catalog-nav, .contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 14px; }
.seed-posters { margin-bottom: 28px; }
.poster-card { display: flex; flex-direction: column; }
.poster-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; background: var(--pale); }
.poster-card strong { display: block; padding: 12px; margin-top: auto; }
.poster-card:hover strong { text-decoration: underline; }
.dealer { display: grid; grid-template-columns: 170px 1fr; gap: 13px; margin-bottom: 18px; }
.dealer h2 { background: var(--green); color: white; display: grid; align-content: center; margin: 0; padding: 18px; border-radius: 8px; }
.dealer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.dealer-card { position: relative; display: grid; justify-items: center; align-content: center; text-align: center; padding: 10px; font-weight: 700; min-height: 83px; }
.dealer-card img { width: 100%; height: 48px; object-fit: contain; }
.dealer-card img + span { font-size: .78rem; margin-top: 5px; }
.external { position: absolute; bottom: 4px; right: 6px; }
.product-detail h1 { margin-top: 8px; }
.product-intro { font-weight: 700; }
.product-photo { width: 100%; max-height: 540px; object-fit: contain; background: var(--pale); border-radius: 12px; }
.poster { display: block; width: min(100%, 710px); margin-inline: auto; }
.poster img { width: 100%; height: auto; border-radius: 10px; }
.specs { padding: 17px 20px; background: var(--pale); border-radius: 10px; margin-bottom: 16px; }
.specs h2 { font-size: 1.17rem; }
.specs p:last-child { margin-bottom: 0; }
.source-link { display: block; margin-top: 14px; text-decoration: underline; }
.irrigation { align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: white; }
.irrigation img { width: 100%; max-height: 350px; object-fit: contain; }
.irrigation .button { margin: 4px 6px 0 0; }
.checks { padding: 0; list-style: none; line-height: 1.8; }
.checks li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 8px; }
.contact dl { margin: 0; }
.contact dt { font-weight: 800; padding-top: 10px; }
.contact dd { margin: 6px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.map { border: 0; border-radius: 12px; width: 100%; height: 320px; }
.editorial { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-block: 36px 0; }
.editorial section { padding: 20px; }
.editorial p:last-child { margin-bottom: 0; }
.gallery figure { margin: 0; }
.gallery img { height: 190px; width: 100%; object-fit: contain; background: white; }
.gallery figcaption { padding-block: 10px; }
footer { margin-top: 44px; padding: 27px 0 35px; background: #edf3ea; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 13px; padding-right: 32px; }
.foot p { margin: 6px 0 0; }
.foot a { display: inline-block; margin-right: 10px; text-decoration: underline; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 44px); }
  .brand-product,.card-image img { height: 150px; }
  .brand-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .grid.brand-grid > .brand-card:nth-child(n) { grid-column: auto !important; }
  .products, .gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .nav-bar { min-height: 65px; }
  .logo { max-width: 102px; max-height: 55px; }
  .desktop { display: none; }
  .mobile { display: block; font-weight: 700; }
  .mobile .dropdown > div { position: static; box-shadow: none; min-width: unset; }
  .mobile .dropdown > summary { padding-left: 11px; }
  .header-wa { width: 38px; height: 38px; }
  .hero-copy { padding-inline: 14px; }
  .shortcuts a { padding-inline: 6px; }
  .shortcuts strong { font-size: .9rem; }
  .shortcuts span { font-size: .76rem; }
  .shortcuts svg { width: 30px; height: 30px; }
  .split, .dealer, .editorial { grid-template-columns: 1fr; }
  .values { gap: 8px; }
  .values article { padding: 10px 6px; }
  .values h3 { font-size: .95rem; }
  .values p { font-size: .78rem; }
  .products, .brand-grid, .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .dealer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .floating { width: 46px; height: 46px; right: 12px; bottom: 12px; }
}

.brand-product.brand-logo {
  box-sizing: border-box;
  padding: 16px;
  background: #fff;
}

.social-tabs {
  position: fixed;
  top: 45%;
  right: 0;
  z-index: 4;
  display: grid;
  gap: 5px;
}

.social-tabs a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 38px;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 2px 8px #17232130;
}

.social-tabs .facebook { background: #0866ff; }
.social-tabs .instagram { background: radial-gradient(circle at 22% 105%, #ffdc80, #f77737 27%, #e1306c 53%, #833ab4 80%, #405de6); }
.social-tabs img { width: 20px; height: 20px; }
.social-tabs a:focus-visible { outline: 2px solid #111; outline-offset: -3px; }

@media (max-width: 600px) {
  .social-tabs { top: auto; bottom: 76px; }
  .social-tabs a { width: 32px; height: 36px; }
  .social-tabs img { width: 18px; height: 18px; }
}

.fertilizer-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fertilizer-brands > .brand-card:nth-child(n) { grid-column: auto; }
.fertilizer-brands > .brand-card .button { white-space: normal; }

@media (max-width: 900px) {
  .fertilizer-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .fertilizer-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.shop.shop-storefront {
  display: block;
  max-height: none;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  filter: brightness(1.09) contrast(.96) saturate(1.04);
}
