@font-face { font-family: Barlow; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-latin-700-normal.woff2) format("woff2"); }
/* Direction C. Scoped to the existing home, preserving the inherited stack. */
body.home {
    --home-bg: #FAF8F2; --home-ink: #192448; --home-accent: #14532D;
    --home-muted: #465348; --home-line: #BAC7BD; --home-soft: #E8EEE5;
    font-family: Barlow, Arial, sans-serif; color: var(--home-ink); background: var(--home-bg); text-align: start;
}
body.home .bap-front { overflow-wrap: anywhere; font-size: 18px; line-height: 1.65; }
body.home .bap-front .container, body.home .bap-home-footer .container { width: 100%; max-width: 1248px; padding-inline: 24px; margin-inline: auto; }
body.home .bap-front :is(h1,h2,h3), body.home .bap-home-footer :is(h2,h3) { font-family: Barlow, Arial, sans-serif; font-weight: 700; color: var(--home-ink); text-transform: none; letter-spacing: normal; }
body.home .bap-front h1 { font-size: clamp(2rem,4vw,3.5rem); line-height: 1.12; max-width: 23ch; margin: 0 0 24px; }
body.home .bap-front h2 { font-size: clamp(1.75rem,3vw,2.5rem); line-height: 1.2; margin: 0 0 28px; }
body.home .bap-front h3 { font-size: 23px; line-height: 1.3; margin: 0 0 12px; }
body.home .bap-front p { color: var(--home-muted); }
body.home .bap-front > section { padding-block: 64px; background-image: none; }
body.home .bap-front > .bap-home-hero { padding-block: 64px 72px; background: var(--home-bg); border-bottom: 1px solid var(--home-line); }
.bap-home-hero__layout.has-media { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
.bap-home-hero__copy > p:not(.bap-home-eyebrow) { max-width: 60ch; margin-bottom: 28px; }
body.home .bap-home-eyebrow { color: var(--home-accent); font-size: 15px; font-weight: 700; letter-spacing: .08em; margin: 0 0 20px; }
.bap-home-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
body.home .thm-btn, body.home .bioagri-cta { background: var(--home-accent); color: #fff; border: 1px solid var(--home-accent); border-radius: 4px; padding: 13px 24px; min-height: 48px; font: 600 16px/1.4 Barlow,Arial,sans-serif; box-shadow: none; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
body.home .thm-btn:hover, body.home .bioagri-cta:hover { background: var(--home-ink); color: #fff; border-color: var(--home-ink); }
body.home .bap-front a:not(.thm-btn):not(.bioagri-cta):not(.bioagri-share__link), body.home .bap-home-footer a { color: var(--home-accent); text-decoration: underline; text-underline-offset: 4px; }
body.home .bap-front .block-title { text-align: start !important; margin: 0; }
body.home .bap-front .block-title > p { font-size: 16px; letter-spacing: normal; text-transform: none; color: var(--home-accent); margin: 0 0 8px; }
body.home .bap-front .text-center { text-align: start !important; }
.bap-home-domains { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 48px; }
.bap-home-domain { padding-block: 24px; border-top: 1px solid var(--home-line); min-width: 0; }
.bap-home-domain p { margin: 0; }
body.home .bap-front .service_one { background: #fff; }
body.home .bap-front .service_four { background: var(--home-soft); }
body.home .bap-front .bioagri-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-block: 24px; }
body.home .bap-front .bioagri-card { border-radius: 4px; padding: 24px; box-shadow: none; border: 1px solid var(--home-line); transform: none; transition: none; }
body.home .bap-front .bioagri-card p:last-child { margin-bottom: 0; }
body.home .bap-front .blog-one { background: #fff; }
body.home .blog-one .bioagri-grid { display: block; }
body.home .blog-one .bioagri-card { padding: 24px 0; border: 0; border-top: 1px solid var(--home-line); background: transparent; border-radius: 0; }
body.home .blog-one .bioagri-card h3 { max-width: 48ch; }
body.home .blog-one .bioagri-card p { max-width: 65ch; }
body.home .bap-front .recent-project { padding-block: 40px; }
body.home .bioagri-empty { border: 0; border-inline-start: 3px solid #577B46; border-radius: 0; padding: 12px 20px; margin: 0; background: transparent; }
body.home .bap-front .product-one { background: var(--home-soft); }
body.home .product-one .thm-btn + .thm-btn { margin-inline-start: 12px; }
body.home .about_one .bioagri-grid { grid-template-columns: minmax(0,1fr); }
body.home .about_one .bioagri-card { border: 0; border-inline-start: 3px solid #577B46; border-radius: 0; background: transparent; }
body.home .bap-front > .bap-home-contact { background: var(--home-accent); }
body.home .bap-home-contact :is(h2,p), body.home .bap-home-contact .bap-home-link { color: var(--home-bg) !important; }
body.home .bap-home-contact .thm-btn { background: var(--home-bg); border-color: var(--home-bg); color: var(--home-accent); }
body.home .bap-home-contact .thm-btn:hover { background: #fff; }
.bap-home-media { margin: 0 0 24px; }
.bap-home-media img { display: block; width: 100%; height: auto; aspect-ratio: 8/5; object-fit: cover; }
.bap-home-hero__layout > .bap-home-media { margin: 0; }
body.home .bap-home-media figcaption { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--home-muted); }
body.home .blog-one .bioagri-card:has(> .bap-home-media), body.home .about_one .bioagri-card:has(> .bap-home-media) { display: grid; grid-template-columns: 280px minmax(0,1fr); column-gap: 32px; align-content: start; }
body.home .about_one .bioagri-card:has(> .bap-home-media) { grid-template-columns: 220px minmax(0,1fr); }
body.home :is(.blog-one,.about_one) .bioagri-card > .bap-home-media { grid-column: 1; grid-row: 1 / span 2; margin-bottom: 0; }
body.home :is(.blog-one,.about_one) .bioagri-card:has(> .bap-home-media) > :is(h3,p) { grid-column: 2; }
body.home .service_four .bap-home-media img { object-position: center 40%; }
body.home :is(a,button,input):focus-visible { outline: 3px solid var(--home-accent); outline-offset: 4px; }
body.home .bap-home-contact :is(a,button):focus-visible, body.home .bap-home-footer :is(a,button):focus-visible { outline-color: var(--home-bg); }
body.home .skip-link:focus { clip: auto; clip-path: none; width: auto; height: auto; }
body.home .main-nav__header-one .container { display: flex; align-items: center; max-width: 1440px; }
body.home .main-nav__left { flex: 0 0 auto; max-width: none; }
body.home .main-nav__logo { width: 184px; }
body.home .main-nav__logo .custom-logo-link { display: block; }
body.home .main-nav__main-navigation { min-width: 0; }
body.home .main-nav__navigation-box > li > a { font-size: 13px; padding-inline: 6px; }
body.home .bap-header-actions { gap: 8px; }
body.home .bap-header-actions .bap-account-link { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
body.home .icon_cart_box a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
body.home .bap-header-actions .bap-quote-btn { font-size: 13px; padding: 10px 12px; }
body.home .bap-home-footer { background: var(--home-accent); padding-block: 40px; color: var(--home-bg); }
body.home .bap-home-footer a { color: var(--home-bg); }
body.home .bap-home-footer p { margin-bottom: 16px; }
.bap-home-footer__links { display: flex; flex-wrap: wrap; gap: 16px 24px; list-style: none; padding: 0; margin: 0; }
body.home .bioagri-share { padding-block: 24px; margin-top: 0; }
body.home .bap-assistant { bottom: 16px; }
body.home .scroll-to-top { bottom: 88px; }
body.home .side-menu__block-inner { padding-bottom: 100px; }
.bap-home-mobile-actions { display: grid; gap: 16px; margin-block: 24px; }
.bap-home-mobile-actions .search-form { flex-wrap: wrap; }
.bap-home-mobile-actions input { width: 100%; max-width: 100%; }
body.home .side-menu__block .bap-lang-switcher a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
body.home .side-menu__block.active { z-index: 10000; }
body.home .side-menu__block a { color: var(--home-accent); }
body.home .side-menu__block a.thm-btn { color: #fff; }
body.home .side-menu__block :is(h2,a) { text-transform: none; }
body.home .search-popup__inner .bap-home-search-close { position: absolute; inset-inline-end: 0; top: -64px; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 4px; background: #FAF8F2; color: #14532D; }
body.home [id] { scroll-margin-top: var(--bap-home-header-offset,100px); }
@media(max-width:1279px) {
    body.home .main-nav__main-navigation { display: none !important; }
    body.home .main-nav__left .side-menu__toggler { display: inline-flex; }
    body.home .main-nav__left { flex: 1 1 auto; }
}
@media(max-width:768px) {
    body.home .bap-front .container, body.home .bap-home-footer .container { padding-inline: 16px; }
    body.home .bap-front > section { padding-block: 40px; }
    body.home .bap-front > .bap-home-hero { padding-block: 40px; }
    body.home .bap-front h1 { font-size: clamp(2rem,6vw,2.75rem); }
    .bap-home-hero__layout.has-media { grid-template-columns: minmax(0,1fr); gap: 24px; }
    body.home :is(.blog-one,.about_one) .bioagri-card:has(> .bap-home-media) { display: block; }
    body.home :is(.blog-one,.about_one) .bioagri-card > .bap-home-media { margin-bottom: 24px; }
    .bap-home-domains, body.home .bap-front .bioagri-grid { grid-template-columns: minmax(0,1fr); }
    body.home .bap-front h3 { font-size: 22px; }
    body.home .bap-front { font-size: 17px; }
    body.home .main-nav__logo, body.home .main-nav__logo .bap-logo-img { width: 136px; }
    body.home .main-nav__header-one .container { padding-inline: 12px; gap: 0; }
    body.home .main-nav__left { gap: 4px; margin-inline-end: 0; }
    body.home .bap-header-actions { gap: 0; }
    body.home .main-nav__header-one .bap-quote-btn, body.home .main-nav__header-one .main-nav__search { display: none; }
    body.home .bap-front .bap-home-contact h2 { font-size: 28px; }
}
[dir=rtl] body.home .bap-front { line-height: 1.8; }
[dir=rtl] body.home .bap-front :is(h1,h2,h3,p) { text-align: start; }
[dir=rtl] body.home .bap-front :is(h1,h2,h3) { line-height: 1.4; letter-spacing: normal; }
@media(prefers-reduced-motion:reduce) { body.home *, body.home *::before, body.home *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

body.home .bap-home-footer :is(h3,p,a,label) { color: #FAF8F2; }
body.home .bap-home-footer h3 { font-size: 22px; }
body.home .bap-home-footer .footer-widget__title h3::before { background: #C6A667; }
body.home .bap-home-footer .footer-widget__news li { padding-inline-start: 0; }
body.home .bap-home-footer .footer_input-box input { background: #fff; color: #192448; }
body.home .bap-home-footer .footer_input-box label { display: block; }
body.home .bap-home-footer .footer_input-box button { color: #14532D; }
body.home .bap-home-footer .footer_input-box { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
body.home .bap-home-footer .footer_input-box label { grid-column: 1 / -1; margin: 0; }
body.home .bap-home-footer .footer_input-box input { min-width: 0; padding: 12px; height: auto; border-radius: 4px; }
body.home .bap-home-footer .footer_input-box button { position: static; width: auto; height: auto; min-height: 48px; padding: 12px; background: #FAF8F2; color: #14532D; font-size: 16px; border: 1px solid #FAF8F2; border-radius: 4px; }
body.home .site-footer_bottom { background: #14532D; border-top: 1px solid #BAC7BD; }
body.home .site-footer_bottom a,body.home .site-footer_bottom p { color: #FAF8F2; }

body.home .bap-home-brand { display: flex; align-items: center; gap: 8px; color: #14532D; font-family: Barlow,Arial,sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .01em; }
body.home .bap-home-brand__mark { flex: 0 0 32px; width: 32px; height: 32px; }
body.home .bap-home-brand { direction: ltr; unicode-bidi: isolate; }
@media(max-width:768px) { body.home .bap-home-brand { font-size: 11px; gap: 4px; } body.home .bap-home-brand__mark { flex-basis: 24px; width: 24px; height: 24px; } }

/* Agrikol agricultural presentation, restricted to the existing home. */
body.home .bap-front > .bap-home-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 88px 80px; min-height: 560px; display: flex; align-items: center; background: var(--home-ink); }
body.home .bap-home-hero__layout.has-media { display: block; position: static; }
body.home .bap-home-hero__copy { position: relative; z-index: 2; max-width: 700px; }
body.home .bap-home-hero__layout > .bap-home-media { position: absolute; inset: 0; z-index: -2; }
body.home .bap-home-hero__layout > .bap-home-media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; }
body.home .bap-home-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #192448 0%, #192448e6 45%, #19244866 100%); }
[dir=rtl] body.home .bap-home-hero::before { background: linear-gradient(270deg, #192448 0%, #192448e6 45%, #19244866 100%); }
body.home .bap-front .bap-home-hero :is(h1,p) { color: var(--home-bg); }
body.home .bap-front .bap-home-hero .bap-home-eyebrow { color: #C6A667; }
body.home .bap-front .bap-home-hero h1 { font-size: clamp(2.5rem,4.7vw,4rem); max-width: 21ch; line-height: 1.1; }
body.home .bap-home-hero__copy > p:not(.bap-home-eyebrow) { max-width: 53ch; font-size: 19px; }
body.home .bap-home-hero .thm-btn { background: var(--home-bg); color: var(--home-accent); border-color: var(--home-bg); }
body.home .bap-home-hero .thm-btn:hover { background: #fff; }
body.home .bap-front .bap-home-hero .bap-home-actions a.bap-home-link { display: inline-flex; min-height: 48px; align-items: center; padding: 13px 20px; border: 1px solid var(--home-bg); border-radius: 4px; color: var(--home-bg); text-decoration: none; font-size: 16px; font-weight: 600; }
body.home .bap-home-hero .bap-home-link:hover { background: var(--home-ink); }
body.home .bap-home-hero :is(a,button):focus-visible { outline-color: var(--home-bg); }
body.home .bap-home-hero .bap-home-media figcaption { position: absolute; inset-inline-end: 24px; bottom: 10px; margin: 0; padding: 4px 8px; background: var(--home-ink); color: var(--home-bg); font-size: 12px; }
body.home .bap-front > .service_one { padding-block: 80px; }
body.home .bap-front .block-title h2 { max-width: 30ch; font-size: clamp(2rem,3.5vw,3rem); line-height: 1.15; }
body.home .bap-front .block-title h2::after { content: ''; display: block; width: 56px; height: 4px; margin-top: 20px; background: #C6A667; }
body.home :is(.service_one,.service_four) .block-title h2::after { width: 55px; height: 22px; -webkit-mask: url('../../../bioagroponics-agrikol/assets/images/resources/leaf.png') center / contain no-repeat; mask: url('../../../bioagroponics-agrikol/assets/images/resources/leaf.png') center / contain no-repeat; }
body.home .bap-home-domains { gap: 32px; margin-top: 32px; }
body.home .bap-home-domain { padding: 0 0 24px; border: 0; border-bottom: 3px solid var(--home-accent); background: var(--home-bg); }
body.home .bap-home-domain .bap-home-media { margin-bottom: 24px; }
body.home .bap-home-domain :is(h3,p) { padding-inline: 24px; }
body.home .bap-home-domain h3 a { text-decoration: none !important; }
body.home .bap-home-domain h3 a:hover { text-decoration: underline !important; }
body.home .bap-front > .service_four { border-block: 1px solid var(--home-line); }
body.home .service_four .bioagri-card { padding: 0 0 24px; overflow: hidden; background: #fff; }
body.home .service_four .bioagri-card :is(h3,p) { padding-inline: 24px; }
body.home .service_four .bioagri-card .bap-home-media { margin-bottom: 24px; }
body.home .bap-front > .product-one { border-inline-start: 8px solid var(--home-accent); }
body.home .bap-front > .bap-home-contact { padding-block: 72px; border-top: 6px solid #C6A667; }
@media(max-width:768px) {
    body.home .bap-front > .bap-home-hero { min-height: 0; padding-block: 48px 64px; }
    body.home .bap-front .bap-home-hero h1 { font-size: clamp(2rem,6vw,2.75rem); line-height: 1.15; }
    body.home .bap-home-hero__copy > p:not(.bap-home-eyebrow) { font-size: 17px; }
    body.home .bap-home-hero::before { background: #192448d9; }
    body.home .bap-front > .service_one { padding-block: 48px; }
    body.home .bap-home-domains { gap: 24px; }
    body.home .bap-front > .bap-home-contact { padding-block: 48px; }
}
@media(max-width:480px) {
    body.home .bap-home-actions { align-items: stretch; gap: 12px; }
    body.home .bap-home-actions > a { width: 100%; justify-content: center; text-align: center; }
}
[dir=rtl] body.home .bap-front .bap-home-hero h1 { line-height: 1.4; }

/* Keep floating controls clear of the final legal links. */
body.home .site-footer_bottom { padding-bottom: 96px; }
body.home .bap-home-footer .footer_input-box input::placeholder { color: var(--home-muted); opacity: 1; }

/* Keep the primary call to action in Agrikol's natural-gold and forest-green palette. */
body.home .bap-home-hero .thm-btn { background: #C6A667; color: #192448; border-color: #C6A667; }
body.home .bap-home-hero .thm-btn:hover { background: #14532D; border-color: #14532D; color: #FAF8F2; }
body.home .bap-home-hero .thm-btn:focus-visible { outline: 3px solid #FAF8F2; outline-offset: 3px; }


/* Agrikol reference: centered brand band, warm navigation and photographic hero. */
@media (min-width: 1121px) {
  body.home .topbar-one { min-height: 108px; background: #FFFFFF; }
  body.home .topbar-one .container { min-height: 108px; }
  body.home .topbar-one__left, body.home .topbar-one__right { display: flex !important; position: relative; z-index: 2; }
  body.home .topbar-one::after { content: ""; position: absolute; inset-inline: 0; bottom: -16px; height: 16px; z-index: 1; background: url("../../../bioagroponics-agrikol/assets/images/shapes/header-bg.png") center bottom / cover no-repeat; }
  body.home .main-nav__header-one { z-index: 3; background: #FAF8F2; }
  body.home .main-nav__header-one .container { min-height: 72px; position: relative; padding-inline: 24px; justify-content: space-between; }
  body.home .main-nav__left { width: 0; max-width: 0; flex: 0 0 0; margin: 0; padding: 0; }
  body.home .main-nav__logo { position: absolute; top: -82px; inset-inline-start: 50%; z-index: 5; width: 184px; transform: translateX(-50%); }
  body.home .main-nav__left .side-menu__toggler { display: none !important; }
  body.home .main-nav__main-navigation { display: flex !important; flex: 1 1 auto; justify-content: center; margin-inline: 54px 12px; }
  body.home .main-nav__navigation-box > li + li { margin-inline-start: 10px; margin-left: 10px; }
  body.home .main-nav__navigation-box > li > a { padding-inline: 6px; font-size: 13px; white-space: nowrap; }
  body.home .main-nav__right { position: static; flex: 0 0 auto; }
  body.home .bap-header-actions { gap: 4px; }
  body.home .main-nav__search { position: absolute; inset-inline-start: 20px; top: 50%; z-index: 2; transform: translateY(-50%); }
}
@media (max-width: 1120px) {
  body.home .topbar-one .container { min-height: 78px; }
  body.home .topbar-one__left { display: none !important; }
  body.home .topbar-one__right { display: flex !important; position: absolute; inset-inline-end: 14px; top: 6px; z-index: 5; }
  body.home .topbar-one::after { content: ""; position: absolute; inset-inline: 0; bottom: -10px; height: 10px; z-index: 1; background: url("../../../bioagroponics-agrikol/assets/images/shapes/header-bg.png") center bottom / cover no-repeat; }
  body.home .main-nav__header-one { z-index: 3; background: #FAF8F2; }
  body.home .main-nav__header-one .container { min-height: 64px; position: relative; padding-inline: 16px; justify-content: space-between; }
  body.home .main-nav__left { width: auto; max-width: none; flex: 0 0 44px; margin: 0; padding: 10px 0; }
  body.home .main-nav__logo { position: absolute; top: -61px; inset-inline-start: 50%; z-index: 5; width: 140px; transform: translateX(-50%); }
  body.home .main-nav__left .side-menu__toggler { display: inline-flex !important; margin: 0; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  body.home .main-nav__main-navigation { display: none !important; }
  body.home .main-nav__right { margin-inline-start: auto; }
  body.home .main-nav__header-one .main-nav__search, body.home .main-nav__header-one .bap-quote-btn { display: none !important; }
  body.home .bap-header-actions { gap: 0; }
}
body.home .bap-front > .bap-home-hero { min-height: clamp(560px, 80vh, 740px); padding-block: 0; border: 0; position: relative; isolation: isolate; overflow: hidden; background: #192448; }
body.home .bap-home-hero__layout.has-media { display: flex; align-items: center; position: static; min-height: inherit; padding-block: 72px; }
body.home .bap-home-hero__copy { position: relative; z-index: 2; max-width: 760px; }
body.home .bap-home-hero__layout > .bap-home-media { position: absolute; inset: 0; z-index: 0; margin: 0; }
body.home .bap-home-hero__layout > .bap-home-media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; }
body.home .bap-home-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #19244880; }
body.home .bap-home-hero .bap-home-eyebrow { position: relative; display: inline-block; padding-block-end: 16px; margin: 0 0 18px; color: #FAF8F2; text-transform: uppercase; letter-spacing: .16em; }
body.home .bap-home-hero .bap-home-eyebrow::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: min(365px, 100%); height: 23px; background: url("../../../bioagroponics-agrikol/assets/images/icon/line1.png") left bottom / contain no-repeat; }
body.home .bap-front .bap-home-hero h1 { max-width: 18ch; margin: 12px 0 28px; color: #FFFFFF; font-family: "Amatic SC", var(--heading-font, Barlow), cursive; font-size: clamp(4rem, 8vw, 7.5rem); font-weight: 400; line-height: .94; letter-spacing: .01em; text-transform: uppercase; }
body.home .bap-home-hero__copy > p:not(.bap-home-eyebrow) { max-width: 54ch; margin-bottom: 24px; color: #FAF8F2; font-size: 18px; }
body.home .bap-home-hero .thm-btn { min-height: 60px; padding: 18px 40px; background: #C6A667; border-color: #C6A667; color: #192448; font-size: 18px; }
body.home .bap-home-hero .thm-btn:hover { background: #14532D; border-color: #14532D; color: #FAF8F2; }
body.home .bap-home-hero .bap-home-media figcaption { display: none; }
@media (max-width: 768px) {
  body.home .bap-front > .bap-home-hero { min-height: clamp(480px, 72svh, 600px); }
  body.home .bap-home-hero__layout.has-media { padding-block: 48px; }
  body.home .bap-front .bap-home-hero h1 { max-width: 16ch; font-size: clamp(3.5rem, 13vw, 5.25rem); line-height: 1.02; }
  body.home .bap-home-hero__copy > p:not(.bap-home-eyebrow) { font-size: 17px; }
  body.home .bap-home-hero .thm-btn { min-height: 52px; padding: 14px 28px; }
}
[dir=rtl] body.home .bap-home-hero .bap-home-eyebrow::after { background-position: right bottom; }

/* Match the reference headline scale while keeping the live BIOAGROPONICS wording. */
body.home .bap-home-hero__copy { max-width: 1000px; }
body.home .bap-front .bap-home-hero h1 { max-width: 30ch; font-size: clamp(4rem, 6.2vw, 6rem); line-height: .98; }
body.home .bap-home-hero::before { background: #19244899; }
@media (max-width: 768px) {
  body.home .bap-front .bap-home-hero h1 { max-width: 24ch; font-size: clamp(3rem, 10vw, 4.5rem); line-height: 1.05; }
}
/* Place the existing field approach immediately after the hero, as in Agrikol's intro layout. */
body.home main.bap-front { display: flex; flex-direction: column; }
body.home main.bap-front > .bap-home-hero { order: 0; }
body.home main.bap-front > .about_one { order: 1; width: 100%; }
body.home main.bap-front > .service_one { order: 2; }
body.home main.bap-front > .service_four { order: 3; }
body.home main.bap-front > .recent-project { order: 4; }
body.home main.bap-front > .blog-one { order: 5; }
body.home main.bap-front > .product-one { order: 6; }
body.home main.bap-front > .bap-home-contact { order: 7; }
body.home main.bap-front > .container { order: 8; }

body.home .about_one { padding-block: clamp(56px, 8vw, 104px); background: #FAF8F2; }
body.home .about_one .block-title { margin: 0 0 28px; text-align: start !important; }
body.home .about_one .block-title h2 {
  max-width: 20ch;
  margin: 0;
  color: #14532D;
  font-family: "Amatic SC", var(--heading-font, Barlow), cursive;
  font-size: clamp(2.8rem, 4.5vw, 4.1rem);
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
}
body.home .about_one .bioagri-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  align-items: stretch;
}
body.home .about_one .bioagri-grid > .bioagri-card:first-child {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-rows: auto auto;
  gap: 12px 36px;
  align-items: center;
}
body.home .about_one .bioagri-grid > .bioagri-card:first-child > .bap-home-media {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 100%;
  margin: 0;
}
body.home .about_one .bioagri-grid > .bioagri-card:first-child > .bap-home-media img {
  display: block;
  width: 100%;
  min-height: 280px;
  max-height: 420px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}
body.home .about_one .bioagri-grid > .bioagri-card:first-child > h3,
body.home .about_one .bioagri-grid > .bioagri-card:first-child > p { grid-column: 2; }
body.home .about_one .bioagri-grid > .bioagri-card:first-child > h3 {
  align-self: end;
  margin: 0;
  color: #192448;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}
body.home .about_one .bioagri-grid > .bioagri-card:first-child > p {
  align-self: start;
  max-width: 48ch;
  margin: 0;
  color: #354052;
  line-height: 1.7;
}
body.home .about_one .bioagri-grid > .bioagri-card:not(:first-child) {
  margin: 0;
  padding: 20px;
  background: #FFFFFF;
  border: 1px solid rgb(20 83 45 / 12%);
  border-radius: 4px;
}
body.home .about_one .bioagri-grid > .bioagri-card:not(:first-child) .bap-home-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
}

@media (max-width: 768px) {
  body.home .about_one { padding-block: 52px; }
  body.home .about_one .block-title { margin-bottom: 22px; }
  body.home .about_one .bioagri-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body.home .about_one .bioagri-grid > .bioagri-card:first-child {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  body.home .about_one .bioagri-grid > .bioagri-card:first-child > .bap-home-media,
  body.home .about_one .bioagri-grid > .bioagri-card:first-child > h3,
  body.home .about_one .bioagri-grid > .bioagri-card:first-child > p {
    grid-column: 1;
    grid-row: auto;
  }
  body.home .about_one .bioagri-grid > .bioagri-card:first-child > .bap-home-media img { min-height: 0; }
}

/* AGRIKOL-inspired presentation for the existing BIOAGROPONICS sections. */
body.home .service_one,
body.home .service_four,
body.home .recent-project,
body.home .blog-one { padding-block: clamp(64px, 8vw, 104px); }

body.home .service_one { background: #F3EFE7; }
body.home .service_four,
body.home .blog-one,
body.home .recent-project { background: #FFFFFF; }

body.home .service_one .block-title,
body.home .service_four .block-title,
body.home .recent-project .block-title,
body.home .blog-one .block-title { margin: 0 0 38px; }

body.home .service_one .block-title > p,
body.home .service_four .block-title > p,
body.home .recent-project .block-title > p,
body.home .blog-one .block-title > p {
  margin-bottom: 8px;
  color: #577B46;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.home .service_one .block-title h2,
body.home .service_four .block-title h2,
body.home .recent-project .block-title h2,
body.home .blog-one .block-title h2,
body.home .product-one .block-title h2 {
  color: #192448;
  font-family: "Amatic SC", var(--heading-font, Barlow), cursive;
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
}

body.home .bap-home-domains {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body.home .bap-home-domain {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  padding: 26px 24px 0;
  background: #FFFFFF;
  border: 1px solid rgb(25 36 72 / 8%);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgb(25 36 72 / 7%);
  transition: transform .2s ease, box-shadow .2s ease;
}
body.home .bap-home-domain:hover,
body.home .bap-home-domain:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgb(25 36 72 / 12%);
}
body.home .bap-home-domain > h3 {
  order: 1;
  margin: 0 0 10px;
  color: #192448;
  font-family: "Amatic SC", var(--heading-font, Barlow), cursive;
  font-size: clamp(1.7rem, 2.4vw, 2.05rem);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}
body.home .bap-home-domain > h3 a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.home .bap-home-domain > p { order: 2; min-height: 3.4em; margin: 0 0 20px; color: #465064; line-height: 1.65; }
body.home .bap-home-domain > .bap-home-media { order: 3; width: calc(100% + 48px); margin: auto -24px 0; overflow: hidden; }
body.home .bap-home-domain > .bap-home-media img { display: block; width: 100%; height: 205px; object-fit: cover; transition: transform .35s ease; }
body.home .bap-home-domain:hover > .bap-home-media img { transform: scale(1.035); }

body.home .service_four .bioagri-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
body.home .service_four .bioagri-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  padding: 23px 20px 0;
  background: #FAF8F2;
  border: 1px solid rgb(20 83 45 / 10%);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgb(25 36 72 / 6%);
  transition: transform .2s ease, box-shadow .2s ease;
}
body.home .service_four .bioagri-card:hover,
body.home .service_four .bioagri-card:focus-within { transform: translateY(-4px); box-shadow: 0 14px 30px rgb(25 36 72 / 11%); }
body.home .service_four .bioagri-card > h3 {
  order: 1;
  margin: 0 0 10px;
  color: #192448;
  font-family: "Amatic SC", var(--heading-font, Barlow), cursive;
  font-size: clamp(1.65rem, 2.25vw, 1.95rem);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}
body.home .service_four .bioagri-card > h3 a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.home .service_four .bioagri-card > p { order: 2; margin: 0 0 18px; color: #465064; line-height: 1.6; }
body.home .service_four .bioagri-card > .bap-home-media { order: 3; width: calc(100% + 40px); margin: auto -20px 0; overflow: hidden; }
body.home .service_four .bioagri-card > .bap-home-media img { display: block; width: 100%; height: 190px; object-fit: cover; }
body.home .service_four .bioagri-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 12px 26px;
  background: #C6A667;
  border-radius: 3px;
  color: #192448;
  font-weight: 700;
  text-decoration: none;
}
body.home .service_four .bioagri-cta:hover { background: #14532D; color: #FAF8F2; }

body.home .recent-project .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}
body.home .recent-project .row > [class*="col-"] { width: auto; max-width: none; padding: 0; }
body.home .recent-project .bioagri-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  margin: 0;
  background: #192448;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgb(25 36 72 / 12%);
}
body.home .recent-project .bioagri-card > .bap-home-media { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
body.home .recent-project .bioagri-card > .bap-home-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
body.home .recent-project .bioagri-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgb(25 36 72 / 88%)); pointer-events: none; }
body.home .recent-project .bioagri-card:hover > .bap-home-media img { transform: scale(1.04); }
body.home .recent-project .bioagri-card > h3 { position: absolute; z-index: 1; inset-inline: 22px; bottom: 20px; margin: 0; color: #FFFFFF; font-family: "Amatic SC", var(--heading-font, Barlow), cursive; font-size: 30px; line-height: 1.05; text-transform: uppercase; }
body.home .recent-project .bioagri-card > h3 a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.home .recent-project .bioagri-empty {
  margin: 0;
  padding: 28px 32px;
  background: #FAF8F2;
  border-inline-start: 4px solid #C6A667;
  color: #192448;
  text-align: start;
}

body.home .blog-one .bioagri-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.home .blog-one .bioagri-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  padding: 0 0 24px;
  background: #FFFFFF;
  border: 1px solid rgb(25 36 72 / 8%);
  border-radius: 4px;
  box-shadow: 0 9px 28px rgb(25 36 72 / 7%);
}
body.home .blog-one .bioagri-card > .bap-home-media { order: 0; width: 100%; margin: 0 0 20px; overflow: hidden; }
body.home .blog-one .bioagri-card > .bap-home-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
body.home .blog-one .bioagri-card > h3,
body.home .blog-one .bioagri-card > p { margin-inline: 22px; }
body.home .blog-one .bioagri-card > h3 { order: 1; margin-top: 0; margin-bottom: 10px; color: #192448; font-size: 20px; line-height: 1.35; }
body.home .blog-one .bioagri-card > h3 a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.home .blog-one .bioagri-card > p { order: 2; margin-top: 0; margin-bottom: 0; color: #465064; line-height: 1.65; }
body.home .blog-one .container > p a { display: inline-block; margin-top: 28px; color: #14532D; font-weight: 700; text-underline-offset: 4px; }

body.home .product-one { padding-block: 64px; background: #FAF8F2; }
body.home .product-one .block-title { margin-bottom: 12px; }
body.home .product-one > .container > p { max-width: 62ch; margin-inline: auto; color: #465064; }
body.home .product-one .thm-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin: 12px 6px 0;
  padding: 14px 28px;
  background: #C6A667;
  border: 1px solid #C6A667;
  border-radius: 3px;
  color: #192448;
  font-weight: 700;
  text-decoration: none;
}
body.home .product-one .thm-btn:hover { background: #14532D; border-color: #14532D; color: #FAF8F2; }

body.home .bap-home-contact {
  padding-block: clamp(64px, 8vw, 96px);
  background: linear-gradient(120deg, #14532D, #577B46);
  color: #FAF8F2;
  text-align: center;
}
body.home .bap-home-contact h2 {
  max-width: 22ch;
  margin: 0 auto 14px;
  color: #FAF8F2;
  font-family: "Amatic SC", var(--heading-font, Barlow), cursive;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}
body.home .bap-home-contact p { margin-bottom: 22px; color: #FAF8F2; }
body.home .bap-home-contact .thm-btn { background: #C6A667; border-color: #C6A667; color: #192448; }
body.home .bap-home-contact .thm-btn:hover { background: #FAF8F2; border-color: #FAF8F2; color: #14532D; }
body.home .bap-home-contact .bap-home-link { display: inline-flex; min-height: 48px; align-items: center; margin-inline-start: 12px; padding: 12px 20px; color: #FAF8F2; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1100px) {
  body.home .service_four .bioagri-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body.home .bap-home-domains,
  body.home .blog-one .bioagri-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home .recent-project .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home .recent-project .row > [class*="col-"]:last-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body.home .service_one,
  body.home .service_four,
  body.home .recent-project,
  body.home .blog-one { padding-block: 54px; }
  body.home .service_one .block-title,
  body.home .service_four .block-title,
  body.home .recent-project .block-title,
  body.home .blog-one .block-title { margin-bottom: 24px; }
  body.home .bap-home-domains,
  body.home .service_four .bioagri-grid,
  body.home .recent-project .row,
  body.home .blog-one .bioagri-grid { grid-template-columns: minmax(0, 1fr); }
  body.home .recent-project .row > [class*="col-"]:last-child { grid-column: auto; }
  body.home .bap-home-domain > p { min-height: 0; }
  body.home .bap-home-domain > .bap-home-media img { height: 190px; }
  body.home .bap-home-contact .bap-home-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  body.home .bap-home-contact .bap-home-link { margin-inline-start: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  body.home .bap-home-domain,
  body.home .bap-home-domain > .bap-home-media img,
  body.home .service_four .bioagri-card,
  body.home .recent-project .bioagri-card > .bap-home-media img { transition: none; }
}

/* Keep editorial cards single-column; legacy about layouts also match article cards. */
body.home .blog-one .bioagri-grid > .bioagri-card:has(> .bap-home-media) {
  display: flex;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
body.home .blog-one .bioagri-grid > .bioagri-card > .bap-home-media {
  grid-column: auto;
  grid-row: auto;
}
body.home .blog-one .bioagri-grid > .bioagri-card > h3,
body.home .blog-one .bioagri-grid > .bioagri-card > p {
  grid-column: auto;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
body.home .service_four .bioagri-card > h3 {
  font-size: clamp(1.3rem, 1.65vw, 1.55rem);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
body.home .bap-home-domain > h3,
body.home .bap-home-domain > h3 a,
body.home .service_four .bioagri-card > h3 a,
body.home .blog-one .bioagri-card > h3 a {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-decoration: none;
}
body.home .bap-home-domain > h3 a:hover,
body.home .bap-home-domain > h3 a:focus-visible,
body.home .service_four .bioagri-card > h3 a:hover,
body.home .service_four .bioagri-card > h3 a:focus-visible,
body.home .blog-one .bioagri-card > h3 a:hover,
body.home .blog-one .bioagri-card > h3 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.home .bap-front .bioagri-card > h3 a:not(.thm-btn):not(.bioagri-cta) { text-decoration: none; }
body.home .bap-front .bioagri-card > h3 a:not(.thm-btn):not(.bioagri-cta):is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.home .bap-front .bap-home-domain > h3 a { text-decoration: none; }
body.home .bap-front .bap-home-domain > h3 a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: 3px;
}



