:root {
  --green: #0f3625;
  --green-2: #1d5a37;
  --earth: #76542f;
  --gold: #c8a05a;
  --ink: #18211c;
  --muted: #66756d;
  --paper: #f6f4ee;
  --white: #fff;
  --line: #d9dfd8;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--white); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main > * { animation: sectionIn .45s ease both; }
@keyframes sectionIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.topbar { position: sticky; top: 0; z-index: 20; min-height: 78px; display: flex; align-items: center; gap: 26px; padding: 12px clamp(18px, 4vw, 56px); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.brand img { width: 190px; max-height: 46px; object-fit: contain; }
.nav { margin-left: auto; display: flex; gap: 22px; font-size: 14px; font-weight: 700; color: var(--green); }
.nav a { position: relative; padding: 12px 0; transition: color .18s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--green-2); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; margin-left: auto; border: 0; background: var(--green); color: #fff; width: 42px; height: 42px; border-radius: 6px; font-size: 22px; }
.whats, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 20px; border-radius: 6px; font-weight: 800; border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.whats:hover, .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.16); }
.whats { background: #128c43; color: #fff; }
.whats.small { min-height: 40px; padding: 10px 16px; font-size: 13px; }
.btn.primary { background: var(--green-2); color: #fff; }
.btn.outline { color: #fff; border-color: rgba(255,255,255,.65); }
.btn.outline.dark { color: var(--green); border-color: var(--green); }
.btn.light { background: #fff; color: var(--green); }
.hero, .page-hero { min-height: 650px; display: grid; align-items: center; padding: clamp(70px, 9vw, 130px) clamp(20px, 5vw, 76px); background-size: cover; background-position: center; color: #fff; }
.hero-bompeso { position: relative; grid-template-columns: minmax(220px, .76fr) minmax(320px, 1fr); gap: clamp(28px, 6vw, 90px); min-height: 720px; overflow: hidden; background-color: #102d20; background-position: center bottom; }
.hero-bompeso::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(0deg, rgba(5,12,9,.55), rgba(5,12,9,0)); pointer-events: none; }
.hero-mark { position: relative; z-index: 1; justify-self: end; width: clamp(210px, 25vw, 430px); opacity: .96; filter: brightness(0) invert(1) drop-shadow(0 22px 42px rgba(0,0,0,.34)); }
.hero-mark img { width: 100%; height: auto; display: block; }
.page-hero { min-height: 410px; background-color: var(--green); }
.page-hero.compact { min-height: 300px; background: linear-gradient(135deg, var(--green), #2c6243); }
.page-banner { min-height: 270px; align-items: end; padding-top: 74px; padding-bottom: 46px; background-size: cover; background-position: center; }
.page-banner-products { background-position: center 62%; }
.page-banner-sellers { background-position: center 62%; }
.page-banner-contact { background-position: center; }
.page-banner-news { background-position: center 52%; }
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 16px; letter-spacing: 0; }
h1 { font-size: clamp(38px, 6vw, 72px); max-width: 980px; }
h2 { font-size: clamp(28px, 3.2vw, 44px); }
h3 { font-size: 20px; }
.hero p, .page-hero p { max-width: 760px; font-size: clamp(17px, 2vw, 22px); color: rgba(255,255,255,.9); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-badges span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.11); color: #fff; font-size: 13px; font-weight: 800; backdrop-filter: blur(8px); }
.section { padding: clamp(58px, 7vw, 96px) clamp(20px, 5vw, 76px); }
.intro-strip { display: grid; grid-template-columns: minmax(300px, .9fr) 1fr; gap: clamp(24px, 6vw, 80px); align-items: end; padding-top: 52px; padding-bottom: 44px; background: #fff; border-bottom: 1px solid var(--line); }
.intro-strip h2 { max-width: 780px; margin-bottom: 0; color: var(--green); }
.intro-strip p { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; }
.section-head { max-width: 820px; margin-bottom: 34px; }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.section-head-row h2 { margin-bottom: 0; }
.muted { background: var(--paper); }
.categories-section { background: linear-gradient(180deg, #fff 0%, #f6f4ee 100%); }
.category-grid, .product-grid, .rep-grid, .post-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.category-card { position: relative; min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.category-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--green-2), var(--gold)); }
.category-card::after { content: "BP"; position: absolute; right: 16px; bottom: -14px; color: rgba(15,54,37,.06); font-size: 72px; font-weight: 900; letter-spacing: 0; }
.category-card:hover, .product-card:hover, .rep-card:hover, .radar-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(20,38,28,.14); }
.category-card strong { display: block; color: var(--green); font-size: 21px; }
.category-card span, .product-card span, .post-card span { color: var(--earth); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.category-card p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.media { width: 100%; border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }
.company-feature { background: #fff; }
.factory-parallax { min-height: 460px; display: grid; align-items: center; padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 76px); color: #fff; background-size: cover; background-position: center; background-attachment: fixed; box-shadow: inset 0 -1px 0 rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.12); }
.factory-parallax-content { max-width: 840px; }
.factory-parallax h2 { max-width: 760px; color: #fff; font-size: clamp(34px, 4.8vw, 58px); }
.factory-parallax p { max-width: 760px; color: rgba(255,255,255,.9); font-size: 19px; }
.factory-parallax .features span { background: rgba(255,255,255,.13); border-left-color: rgba(255,255,255,.72); color: #fff; backdrop-filter: blur(8px); }
.media-stack { position: relative; }
.media-note { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 16px 18px; border-radius: 8px; background: rgba(15,54,37,.92); color: #fff; font-weight: 800; box-shadow: 0 18px 35px rgba(0,0,0,.18); }
.features { display: grid; gap: 10px; margin: 22px 0; }
.features span { padding: 14px 16px; background: var(--paper); border-left: 4px solid var(--gold); font-weight: 700; }
.product-showcase { background: #f2efe6; }
.product-card, .rep-card, .post-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.product-card img { width: 100%; height: 240px; object-fit: contain; padding: 22px; background: #f7f7f2; }
.product-card > div, .post-card { padding: 20px; }
.product-card p, .rep-card p, .post-card p { color: var(--muted); }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.card-actions a { padding: 9px 12px; border-radius: 5px; background: var(--green); color: #fff; font-size: 13px; font-weight: 800; }
.card-actions a + a { background: #128c43; }
.agro-radar { background: #fff; }
.agro-radar .section-head p { color: var(--muted); margin: 0; max-width: 760px; }
.news-feature { background: #fff; padding-bottom: 36px; }
.news-feature .section-head p { color: var(--muted); margin: 0; }
.external-news { padding-top: 24px; background: #fff; }
.external-news-card { display: grid; grid-template-columns: minmax(300px, .9fr) 1fr; gap: clamp(24px, 5vw, 54px); align-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); overflow: hidden; }
.external-news-card img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.external-news-card div { padding: clamp(24px, 4vw, 46px); }
.external-news-card p { color: var(--muted); font-size: 18px; max-width: 680px; }
.radar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.radar-card { position: relative; min-height: 220px; padding: 24px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(15,54,37,.16); background: linear-gradient(145deg, #0f3625, #1d5a37); color: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.radar-card::after { content: ""; position: absolute; right: -48px; bottom: -55px; width: 150px; height: 165px; background: url('../img/icone-svg-branco.svg') center/contain no-repeat; opacity: .09; }
.radar-card span { display: inline-block; color: #dec18b; font-size: 12px; font-weight: 900; text-transform: uppercase; margin-bottom: 18px; }
.radar-card strong { display: block; font-size: 22px; line-height: 1.1; margin-bottom: 12px; }
.radar-card p { color: rgba(255,255,255,.82); margin: 0; }
.radar-modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 20px; }
.radar-modal.open { display: flex; }
.radar-modal-backdrop { position: absolute; inset: 0; background: rgba(5,18,12,.72); backdrop-filter: blur(5px); }
.radar-modal-panel { position: relative; width: min(100%, 620px); padding: clamp(28px, 5vw, 46px); border-radius: 8px; background: #fff; box-shadow: 0 28px 70px rgba(0,0,0,.32); animation: modalIn .2s ease both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.radar-modal-panel h2 { max-width: 520px; color: var(--green); }
.radar-modal-panel p { color: var(--muted); font-size: 17px; }
.radar-modal-note { padding: 13px 15px; border-left: 4px solid var(--gold); background: var(--paper); font-size: 14px!important; font-weight: 700; }
.radar-modal-close { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--green); font-size: 30px; line-height: 1; cursor: pointer; }
.radar-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.radar-modal-actions button { background: #fff; }
body.modal-open { overflow: hidden; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 50px clamp(20px, 5vw, 76px); color: #fff; background: linear-gradient(90deg, var(--green), #2b5c3f); }
.cta-agro { background-image: linear-gradient(90deg, rgba(13,47,32,.96), rgba(46,84,49,.88)), url('../img/placeholder.svg'); background-size: cover; background-position: center; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.filters { display: grid; grid-template-columns: 1fr 260px auto; gap: 12px; margin-bottom: 34px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 14px 15px; font: inherit; background: #fff; }
.product-detail { display: grid; grid-template-columns: minmax(280px, 46%) 1fr; gap: 54px; padding: clamp(44px, 7vw, 90px) clamp(20px, 5vw, 76px); background: var(--paper); align-items: center; }
.detail-media { min-width: 0; }
.detail-image { background: #fff; border-radius: 8px; padding: 34px; border: 1px solid var(--line); }
.detail-image img { max-height: 520px; object-fit: contain; margin: auto; }
.detail-main h1 { color: var(--green); font-size: clamp(34px, 5vw, 60px); }
.back { display: inline-block; margin-bottom: 20px; color: var(--green); font-weight: 800; }
.detail-back-top { margin-bottom: 14px; }
.detail-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.detail-tabs article { padding: 26px; border: 1px solid var(--line); border-radius: 8px; }
.detail-tabs article:first-child { grid-row: span 2; }
.content { color: #33423a; }
.detail-tabs .content {
    font-size: 18px;
    line-height: 1.7;
}
.technical { white-space: pre-wrap; font-family: Arial, Helvetica, sans-serif; }
.prose { line-height: 1.75; }
.company-page { align-items: start; }
.company-copy h2 { margin: 0 0 16px; color: var(--green); font-size: clamp(28px, 3.4vw, 42px); }
.company-copy h2:not(:first-child) { margin-top: 38px; }
.company-copy p { margin: 0 0 18px; color: #56645c; }
.company-copy ul { display: grid; gap: 0; padding: 0; margin: 18px 0 0; list-style: none; border-top: 1px solid var(--line); }
.company-copy li { padding: 17px 0; border-bottom: 1px solid var(--line); color: #56645c; }
.company-copy li strong { display: block; margin-bottom: 4px; color: #213d2e; }
.company-page .media { position: sticky; top: 110px; }
.sellers-section { background: #fff; padding-top: 42px; }
.seller-group { margin-bottom: 58px; }
.seller-group h1 { margin: 0 0 30px; color: #2d322f; font-size: clamp(26px, 3vw, 34px); font-weight: 500; }
.seller-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 1180px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.seller-card { min-width: 0; padding: 26px clamp(20px, 2.4vw, 32px) 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .18s ease; }
.seller-card:hover { background: #fafbf8; }
.seller-card h2 { margin: 0; color: #303333; font-size: 22px; line-height: 1.15; }
.seller-role { margin: 2px 0 20px; color: #a8a8a8; font-size: 17px; }
.seller-region { margin: 0 0 8px; color: #666; font-size: 17px; line-height: 1.45; }
.seller-region strong { color: #2847d8; }
.seller-phone { margin: 0; color: #565656; font-size: 17px; font-weight: 800; line-height: 1.45; }
.seller-region::first-letter, .seller-phone::first-letter { text-transform: uppercase; }
.seller-map-section { padding: 0 0 70px; background: #fff; }
.seller-map-head { padding: 0 clamp(20px, 5vw, 76px) 18px; }
.seller-map-head h2 { margin: 4px 0 8px; color: var(--green); font-size: clamp(28px, 4vw, 42px); }
.seller-map-head p { margin: 0; color: var(--muted); }
.seller-map { width: 100%; height: min(560px, 62vh); min-height: 380px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #dce9dc; z-index: 1; }
.seller-pin { position: relative; }
.seller-pin span { position: absolute; left: 50%; top: 0; width: 28px; height: 28px; transform: translateX(-50%) rotate(45deg); border-radius: 50% 50% 50% 0; background: #e63f35; border: 3px solid #fff; box-shadow: 0 10px 20px rgba(0,0,0,.22); }
.seller-pin span::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: rgba(255,255,255,.95); }
.leaflet-popup-content strong { color: var(--green); font-size: 15px; }
.leaflet-popup-content span { color: #555; }
.rep-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rep-card { padding: 24px; }
.contact-grid { display: grid; grid-template-columns: minmax(300px, 520px) 1fr; gap: 44px; align-items: start; }
.contact-form, .contact-info { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 14px; font-weight: 700; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-unit { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-unit h3 { margin-bottom: 8px; color: #5a5f5b; text-transform: uppercase; font-size: 18px; }
.contact-unit p { margin: 0 0 12px; color: #666; font-size: 17px; }
.contact-info iframe { width: 100%; height: 320px; border: 0; border-radius: 8px; margin-top: 14px; }
.flash { padding: 12px 14px; border-radius: 6px; background: #e6f4ea; color: #155724; font-weight: 700; }
.article { max-width: 940px; margin: 0 auto; padding: 70px 20px; }
.article img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 8px; margin: 22px 0; }
.footer { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 36px; padding: 54px clamp(20px, 5vw, 76px); background: #101915; color: #dbe5dc; }
.footer img { width: 220px; max-height: 54px; margin-bottom: 16px; }
.footer a { display: block; margin: 8px 0; color: #dbe5dc; }
.footer-social { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.footer-social .footer-social-link { display: grid; place-items: center; width: 42px; height: 42px; margin: 0; border-radius: 50%; color: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.footer-social .footer-social-link.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045); }
.footer-social .footer-social-link.facebook { background: #1877f2; }
.footer-social .footer-social-link:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.28); }
.footer-social .footer-social-link:focus-visible { outline: 3px solid #dec18b; outline-offset: 3px; }
.footer-social svg { width: 23px; height: 23px; fill: currentColor; }
.copyright { display: flex; justify-content: center; gap: 8px 18px; flex-wrap: wrap; padding: 16px 20px; text-align: center; background: #0b120f; color: #9fb0a5; font-size: 13px; }
.copyright a { color: #d5b574; font-weight: 800; transition: color .18s ease; }
.copyright a:hover { color: #fff; }
.floating-whats { position: fixed; right: 20px; bottom: 20px; z-index: 25; display: grid; place-items: center; width: 58px; height: 58px; border: 2px solid rgba(255,255,255,.92); border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 14px 28px rgba(0,0,0,.24); transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.floating-whats svg { width: 31px; height: 31px; }
.floating-whats:hover { background: #1fbd5a; color: #fff; transform: translateY(-3px); box-shadow: 0 18px 34px rgba(0,0,0,.28); }
.floating-whats:focus-visible { outline: 3px solid #d5b574; outline-offset: 3px; }
@media (max-width: 980px) {
  .nav, .topbar .whats { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav.open { position: absolute; left: 0; right: 0; top: 77px; display: grid; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 22px; }
  .category-grid, .product-grid, .rep-grid, .post-grid, .radar-grid, .seller-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .product-detail, .contact-grid, .footer, .hero-bompeso, .intro-strip, .external-news-card { grid-template-columns: 1fr; }
  .hero-mark { justify-self: start; width: clamp(150px, 38vw, 240px); }
  .factory-parallax { background-attachment: scroll; }
  .detail-tabs { grid-template-columns: 1fr; }
  .detail-tabs article:first-child { grid-row: auto; }
  .company-page .media { position: static; }
}
@media (max-width: 640px) {
  .hero, .page-hero { min-height: 560px; }
  .hero-bompeso { min-height: 660px; align-content: center; background-position: center bottom; }
  .page-hero.compact { min-height: 260px; }
  .page-banner { min-height: 250px; }
  .section-head-row { display: grid; align-items: start; }
  .section-head-row .btn { width: 100%; }
  .category-grid, .product-grid, .rep-grid, .post-grid, .radar-grid, .filters, .seller-grid { grid-template-columns: 1fr; }
  .seller-card { padding: 23px 20px 25px; }
  .product-card img { height: 210px; }
  .cta-band { display: grid; }
}
