/* ==========================================================================
   Access Agro — public website
   Brand palette: fresh green + light (sky) blue.
   ========================================================================== */
:root {
    --ag-green: #1f9d55;
    --ag-green-dark: #13703b;
    --ag-green-soft: #e9f7ef;
    --ag-blue: #27a9e1;
    --ag-blue-dark: #0a7db3;
    --ag-blue-soft: #e8f6fd;
    --ag-ink: #102f3d;
    --ag-muted: #5d7684;
    --ag-line: #d9ebf2;
    --ag-bg: #f5fbfd;
    --ag-grad: linear-gradient(135deg, #1f9d55 0%, #27a9e1 100%);
    --ag-grad-deep: linear-gradient(135deg, #0f5f33 0%, #0a6f9e 100%);
    --ag-radius: 18px;
    --ag-shadow: 0 12px 34px rgba(16, 47, 61, .09);
    --ag-shadow-lg: 0 24px 60px rgba(16, 47, 61, .16);
}

* { -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ag-ink);
    background: #fff;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .font-display { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 700; letter-spacing: -.015em; color: var(--ag-ink); }
a { color: var(--ag-blue-dark); text-decoration: none; }
a:hover { color: var(--ag-green); }
p { color: var(--ag-muted); line-height: 1.75; }
img { max-width: 100%; }
::selection { background: var(--ag-green); color: #fff; }

.text-green { color: var(--ag-green) !important; }
.text-blue { color: var(--ag-blue-dark) !important; }
.bg-soft-green { background: var(--ag-green-soft); }
.bg-soft-blue { background: var(--ag-blue-soft); }
.bg-page { background: var(--ag-bg); }
.text-grad { background: var(--ag-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn { border-radius: 50px; font-weight: 600; padding: .72rem 1.6rem; transition: all .25s ease; }
.btn-sm { padding: .45rem 1.1rem; }
.btn-ag { background: var(--ag-grad); color: #fff; border: 0; box-shadow: 0 10px 24px rgba(31, 157, 85, .28); }
.btn-ag:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(39, 169, 225, .35); }
.btn-outline-ag { border: 2px solid var(--ag-green); color: var(--ag-green); background: transparent; }
.btn-outline-ag:hover { background: var(--ag-green); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-glass:hover { background: #fff; color: var(--ag-green-dark); }
.btn-white { background: #fff; color: var(--ag-green-dark); }
.btn-white:hover { background: var(--ag-green-soft); color: var(--ag-green-dark); }

/* ---------- top bar & navigation ---------- */
.topbar { background: var(--ag-grad-deep); color: rgba(255, 255, 255, .88); font-size: .82rem; }
.topbar a { color: #fff; }
.topbar a:hover { color: #bdf0d2; }
.topbar .sep { opacity: .35; margin: 0 .75rem; }

.site-nav { background: #fff; box-shadow: 0 2px 20px rgba(16, 47, 61, .07); transition: all .3s ease; z-index: 1030; }
.site-nav .navbar-brand img { height: 52px; border-radius: 6px; transition: height .3s; }
.site-nav .brand-text { line-height: 1.1; }
.site-nav .brand-text strong { display: block; font-family: 'Poppins'; font-size: 1.05rem; color: var(--ag-ink); letter-spacing: .02em; }
.site-nav .brand-text small { font-size: .68rem; color: var(--ag-green); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.site-nav .nav-link { font-weight: 600; font-size: .92rem; color: var(--ag-ink); padding: .5rem .9rem !important; position: relative; }
.site-nav .nav-link::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .15rem; height: 3px; border-radius: 3px; background: var(--ag-grad); transform: scaleX(0); transition: transform .25s ease; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--ag-green); }
.site-nav .nav-link.active::after, .site-nav .nav-link:hover::after { transform: scaleX(1); }
.site-nav .dropdown-menu { border: 0; border-radius: 14px; box-shadow: var(--ag-shadow-lg); padding: .6rem; min-width: 290px; }
.site-nav .dropdown-item { border-radius: 10px; padding: .55rem .8rem; font-weight: 500; font-size: .9rem; display: flex; align-items: center; gap: .6rem; }
.site-nav .dropdown-item i { color: var(--ag-green); font-size: 1.05rem; }
.site-nav .dropdown-item:hover { background: var(--ag-green-soft); color: var(--ag-green-dark); }
.site-nav.scrolled .navbar-brand img { height: 44px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(8, 56, 33, .88) 0%, rgba(10, 90, 60, .62) 42%, rgba(10, 111, 158, .30) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; font-weight: 800; }
.hero h1 .hl { color: #9ff0c2; }
.hero p.lead { color: rgba(255, 255, 255, .88); font-size: 1.15rem; max-width: 620px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); padding: .4rem 1rem; border-radius: 50px; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.hero .eyebrow img { height: 18px; }
.hero-divisions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.hero-divisions span { font-size: .8rem; padding: .35rem .85rem; border-radius: 50px; background: rgba(39, 169, 225, .25); border: 1px solid rgba(159, 224, 250, .45); }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; font-size: 1.6rem; animation: bob 2s infinite; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

.page-hero { position: relative; padding: 130px 0 80px; color: #fff; background-size: cover; background-position: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(8, 64, 36, .9), rgba(10, 111, 158, .72)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); }
.page-hero p { color: rgba(255, 255, 255, .85); max-width: 680px; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255, 255, 255, .8); font-size: .88rem; }
.page-hero .breadcrumb-item.active { color: #9ff0c2; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .5); }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-title { margin-bottom: 3rem; }
.section-title .kicker { display: inline-flex; align-items: center; gap: .5rem; color: var(--ag-green); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .6rem; }
.section-title .kicker::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--ag-grad); }
.section-title h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: .8rem; }
.section-title.text-center .kicker::after { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--ag-grad); }

/* ---------- stats ---------- */
.stats-band { margin-top: -70px; position: relative; z-index: 5; }
.stats-card { background: #fff; border-radius: var(--ag-radius); box-shadow: var(--ag-shadow-lg); padding: 1.4rem .5rem; }
.stat { text-align: center; padding: .8rem 1rem; }
.stat + .stat { border-left: 1px solid var(--ag-line); }
.stat .num { font-family: 'Poppins'; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1; }
.stat .lbl { font-size: .84rem; color: var(--ag-muted); margin-top: .45rem; font-weight: 500; }
.stat i { font-size: 1.5rem; color: var(--ag-blue); display: block; margin-bottom: .4rem; }
@media (max-width: 767.98px) { .stat + .stat { border-left: 0; } .stat { border-bottom: 1px solid var(--ag-line); } }

/* ---------- division cards ---------- */
.division-card { position: relative; display: block; border-radius: var(--ag-radius); overflow: hidden; min-height: 380px; color: #fff; box-shadow: var(--ag-shadow); isolation: isolate; }
.division-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -2; }
.division-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 40, 30, .05) 25%, rgba(8, 52, 36, .92) 100%); transition: background .3s; }
.division-card:hover img { transform: scale(1.07); }
.division-card:hover::before { background: linear-gradient(180deg, rgba(10, 111, 158, .25) 0%, rgba(13, 90, 52, .95) 100%); }
.division-card .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem; }
.division-card .icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--ag-grad); font-size: 1.4rem; margin-bottom: .9rem; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.division-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: .35rem; }
.division-card p { color: rgba(255, 255, 255, .85); font-size: .9rem; margin: 0; line-height: 1.55; }
.division-card .more { display: inline-flex; gap: .35rem; align-items: center; margin-top: .8rem; font-weight: 600; font-size: .88rem; color: #9ff0c2; }

/* ---------- solution cards ---------- */
.solution-card { background: #fff; border-radius: var(--ag-radius); overflow: hidden; height: 100%; box-shadow: var(--ag-shadow); border: 1px solid var(--ag-line); transition: all .3s ease; display: flex; flex-direction: column; }
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--ag-shadow-lg); border-color: transparent; }
.solution-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.solution-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.solution-card:hover .thumb img { transform: scale(1.06); }
.solution-card .thumb .tag { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .95); color: var(--ag-green-dark); font-size: .72rem; font-weight: 700; padding: .3rem .7rem; border-radius: 50px; text-transform: uppercase; letter-spacing: .06em; }
.solution-card .body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.solution-card h4 { font-size: 1.12rem; margin-bottom: .55rem; }
.solution-card p { font-size: .9rem; margin-bottom: 1rem; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { position: relative; padding-left: 1.7rem; margin-bottom: .45rem; font-size: .9rem; color: var(--ag-ink); }
.feature-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--ag-green); }

/* ---------- why / features ---------- */
.why-item { display: flex; gap: 1.1rem; padding: 1.3rem; border-radius: var(--ag-radius); background: #fff; border: 1px solid var(--ag-line); height: 100%; transition: all .3s; }
.why-item:hover { border-color: var(--ag-blue); box-shadow: var(--ag-shadow); }
.why-item .ic { flex: 0 0 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--ag-grad); }
.why-item h5 { font-size: 1.02rem; margin-bottom: .3rem; }
.why-item p { font-size: .88rem; margin: 0; line-height: 1.6; }

.process { counter-reset: step; }
.process-step { text-align: center; position: relative; padding: 0 .75rem; }
.process-step .dot { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font-size: 1.8rem; color: var(--ag-green); background: #fff; border: 2px dashed var(--ag-blue); position: relative; z-index: 1; }
.process-step .dot::after { counter-increment: step; content: counter(step); position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--ag-grad); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.process-step h6 { font-size: .98rem; margin-bottom: .3rem; }
.process-step p { font-size: .84rem; margin: 0; }
@media (min-width: 992px) { .process-step:not(:last-child)::before { content: ''; position: absolute; top: 38px; left: 50%; width: 100%; border-top: 2px dashed var(--ag-line); } }

/* ---------- about split ---------- */
.img-stack { position: relative; padding: 0 0 50px 40px; }
.img-stack .main { border-radius: 24px; box-shadow: var(--ag-shadow-lg); width: 100%; aspect-ratio: 4/3.3; object-fit: cover; }
.img-stack .small { position: absolute; left: 0; bottom: 0; width: 46%; border-radius: 20px; border: 6px solid #fff; box-shadow: var(--ag-shadow-lg); aspect-ratio: 1; object-fit: cover; }
.img-stack .badge-exp { position: absolute; right: -10px; top: 26px; background: var(--ag-grad); color: #fff; border-radius: 18px; padding: 1rem 1.2rem; text-align: center; box-shadow: var(--ag-shadow-lg); }
.img-stack .badge-exp strong { font-family: 'Poppins'; font-size: 1.9rem; display: block; line-height: 1; }
.img-stack .badge-exp span { font-size: .78rem; opacity: .9; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .7rem 1.2rem; }
.check-grid div { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; font-size: .93rem; }
.check-grid i { color: var(--ag-green); font-size: 1.15rem; }

/* ---------- project cards ---------- */
.project-card { display: block; border-radius: var(--ag-radius); overflow: hidden; background: #fff; box-shadow: var(--ag-shadow); height: 100%; transition: all .3s; color: var(--ag-ink); border: 1px solid var(--ag-line); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--ag-shadow-lg); color: var(--ag-ink); }
.project-card .thumb { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .thumb img { transform: scale(1.07); }
.project-card .highlight { position: absolute; right: 12px; bottom: 12px; background: var(--ag-grad); color: #fff; font-weight: 700; font-size: .78rem; padding: .35rem .8rem; border-radius: 50px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.project-card .div-tag { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .95); color: var(--ag-blue-dark); font-weight: 700; font-size: .7rem; padding: .28rem .7rem; border-radius: 50px; text-transform: uppercase; letter-spacing: .05em; }
.project-card .body { padding: 1.2rem 1.3rem 1.4rem; }
.project-card h5 { font-size: 1.02rem; line-height: 1.4; margin-bottom: .45rem; }
.project-card .client { font-size: .84rem; color: var(--ag-muted); display: flex; gap: .4rem; align-items: center; }
.project-card .client i { color: var(--ag-green); }

.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.filter-pills a, .filter-pills button { border: 1.5px solid var(--ag-line); background: #fff; color: var(--ag-ink); padding: .5rem 1.15rem; border-radius: 50px; font-weight: 600; font-size: .86rem; transition: all .2s; }
.filter-pills a:hover, .filter-pills button:hover { border-color: var(--ag-green); color: var(--ag-green); }
.filter-pills a.active, .filter-pills button.active { background: var(--ag-grad); border-color: transparent; color: #fff; }

/* ---------- project detail ---------- */
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed var(--ag-line); font-size: .92rem; }
.fact-list li span:first-child { color: var(--ag-muted); display: flex; align-items: center; gap: .5rem; }
.fact-list li span:first-child i { color: var(--ag-green); }
.fact-list li span:last-child { font-weight: 600; text-align: right; }
.side-card { background: #fff; border-radius: var(--ag-radius); box-shadow: var(--ag-shadow); padding: 1.6rem; border: 1px solid var(--ag-line); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.photo-grid a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; position: relative; }
.photo-grid a img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-grid a:hover img { transform: scale(1.08); }
.photo-grid a::after { content: '\F52A'; font-family: 'bootstrap-icons'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: rgba(13, 90, 52, .45); opacity: 0; transition: opacity .3s; }
.photo-grid a:hover::after { opacity: 1; }
.main-photo { border-radius: 22px; overflow: hidden; box-shadow: var(--ag-shadow-lg); aspect-ratio: 16/10; }
.main-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- logos ---------- */
.logo-marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 1.2rem; width: max-content; animation: marquee 45s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track.reverse { animation-direction: reverse; animation-duration: 55s; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-tile { flex: 0 0 auto; width: 190px; height: 100px; border-radius: 16px; background: #fff; border: 1px solid var(--ag-line); display: grid; place-items: center; padding: 14px; box-shadow: 0 6px 18px rgba(16, 47, 61, .05); transition: all .3s; }
.logo-tile img { max-width: 100%; max-height: 72px; object-fit: contain; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--ag-shadow); border-color: var(--ag-blue); }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.logo-grid .logo-tile { width: auto; height: auto; min-height: 120px; flex-direction: column; }
.logo-tile.named { height: 120px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.logo-tile.named img { max-height: 62px; }
.logo-tile.named small { font-size: .72rem; color: var(--ag-muted); margin-top: .4rem; text-align: center; line-height: 1.2; }
.logo-grid .logo-tile .tile-name { font-size: .78rem; font-weight: 600; color: var(--ag-ink); margin-top: .45rem; text-align: center; line-height: 1.2; }
.logo-grid .logo-tile .tile-name + small { margin-top: .15rem; }
.logo-grid .logo-tile small { font-size: .72rem; color: var(--ag-muted); margin-top: .35rem; text-align: center; }

/* ---------- video / CTA ---------- */
.video-band { position: relative; border-radius: 26px; overflow: hidden; min-height: 420px; display: grid; place-items: center; color: #fff; text-align: center; box-shadow: var(--ag-shadow-lg); }
.video-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(13, 90, 52, .8), rgba(10, 111, 158, .7)); }
.video-band .inner { position: relative; z-index: 2; padding: 2rem; }
.video-band h2 { color: #fff; }
.video-band p { color: rgba(255, 255, 255, .88); }
.play-btn { width: 92px; height: 92px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; color: var(--ag-green); font-size: 2.3rem; box-shadow: 0 0 0 12px rgba(255, 255, 255, .22); animation: pulse 2.2s infinite; margin-bottom: 1.4rem; }
.play-btn:hover { color: var(--ag-blue-dark); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 70% { box-shadow: 0 0 0 26px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

.cta-band { background: var(--ag-grad); border-radius: 26px; padding: 3.2rem; color: #fff; position: relative; overflow: hidden; box-shadow: var(--ag-shadow-lg); }
.cta-band::after { content: ''; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cta-band::before { content: ''; position: absolute; right: 90px; bottom: -120px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); margin: 0; }
.cta-band .wheat { position: absolute; right: 36px; top: 50%; transform: translateY(-50%); height: 140px; opacity: .18; }

/* ---------- gallery ---------- */
.gallery-grid { columns: 3 280px; column-gap: 14px; }
.gallery-item { break-inside: avoid; margin-bottom: 14px; display: block; border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 6px 18px rgba(16, 47, 61, .08); }
.gallery-item img { width: 100%; display: block; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .8rem; color: #fff; font-weight: 600; font-size: .86rem; background: linear-gradient(transparent, rgba(8, 52, 36, .85)); opacity: 0; transform: translateY(8px); transition: all .3s; }
.gallery-item:hover .cap { opacity: 1; transform: none; }
.gallery-item .vid { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ag-green); display: grid; place-items: center; font-size: 1.8rem; box-shadow: var(--ag-shadow); }

/* ---------- contact ---------- */
.contact-card { display: flex; gap: 1rem; padding: 1.3rem; background: #fff; border-radius: var(--ag-radius); border: 1px solid var(--ag-line); height: 100%; }
.contact-card .ic { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: var(--ag-grad); }
.contact-card h6 { margin-bottom: .3rem; font-size: .95rem; }
.contact-card p, .contact-card a { margin: 0; font-size: .9rem; line-height: 1.6; }
.form-card { background: #fff; border-radius: 24px; padding: 2.2rem; box-shadow: var(--ag-shadow-lg); border: 1px solid var(--ag-line); }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid var(--ag-line); padding: .72rem 1rem; font-size: .93rem; }
.form-control:focus, .form-select:focus { border-color: var(--ag-blue); box-shadow: 0 0 0 .22rem rgba(39, 169, 225, .15); }
.form-label { font-weight: 600; font-size: .86rem; color: var(--ag-ink); }
.map-wrap { border-radius: 22px; overflow: hidden; box-shadow: var(--ag-shadow); line-height: 0; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; }

/* ---------- team (after sales) ---------- */
.team-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.team-node { text-align: center; background: #fff; border-radius: var(--ag-radius); padding: 1.5rem 1rem; border: 1px solid var(--ag-line); box-shadow: 0 6px 18px rgba(16, 47, 61, .05); }
.team-node .ic { width: 64px; height: 64px; margin: 0 auto .8rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: var(--ag-grad); }
.team-node h6 { font-size: .95rem; margin: 0; }

.product-pack { text-align: center; }
.product-pack img { height: 200px; object-fit: contain; filter: drop-shadow(0 16px 22px rgba(16, 47, 61, .18)); transition: transform .3s; }
.product-pack:hover img { transform: translateY(-6px) rotate(-2deg); }

/* ---------- footer ---------- */
.site-footer { background: #0b2a36; color: rgba(255, 255, 255, .72); padding-top: 80px; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--ag-grad); }
.site-footer h6 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.site-footer h6::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--ag-grad); }
.site-footer p { color: rgba(255, 255, 255, .7); font-size: .9rem; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #7fe0a8; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .6rem; font-size: .9rem; }
.site-footer ul li i { color: var(--ag-blue); margin-right: .45rem; }
.site-footer .foot-logo { height: 58px; border-radius: 8px; }
.site-footer .social a { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .08); margin-right: .4rem; color: #fff; transition: all .25s; }
.site-footer .social a:hover { background: var(--ag-grad); transform: translateY(-3px); }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 60px; padding: 1.3rem 0; font-size: .84rem; }
.site-footer .wheat-bg { position: absolute; right: -40px; bottom: -30px; height: 320px; opacity: .04; pointer-events: none; }

.float-actions { position: fixed; right: 20px; bottom: 20px; z-index: 1040; display: flex; flex-direction: column; gap: .6rem; }
.float-actions a, .float-actions button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; border: 0; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); transition: transform .2s; }
.float-actions a:hover, .float-actions button:hover { transform: scale(1.08); color: #fff; }
.float-actions .wa { background: #1fae53; }
.float-actions .top { background: var(--ag-blue); opacity: 0; pointer-events: none; transition: opacity .3s; }
.float-actions .top.show { opacity: 1; pointer-events: auto; }

.alert-ag { background: var(--ag-green-soft); border: 1px solid #bfe8cf; color: var(--ag-green-dark); border-radius: 14px; }
.lead-sm { font-size: 1.05rem; }
.rounded-ag { border-radius: var(--ag-radius) !important; }
.shadow-ag { box-shadow: var(--ag-shadow) !important; }

@media (max-width: 991.98px) {
    .section { padding: 72px 0; }
    .site-nav .navbar-collapse { padding: 1rem 0; }
    .hero { min-height: 78vh; padding: 120px 0 110px; }
    .img-stack { padding-left: 0; }
}
@media (max-width: 575.98px) {
    .cta-band { padding: 2.2rem 1.5rem; }
    .form-card { padding: 1.5rem; }
    .site-nav .navbar-brand img { height: 42px; }
    .topbar { display: none; }
}

/* ---- Agro2 header improvements: bigger logo, section tabs on tablets/phones ---- */
.site-nav .navbar-brand { padding: 0; }
.site-nav .brand-text strong { font-size: 1.35rem; font-weight: 800; letter-spacing: .03em; }
.site-nav .brand-text small { font-size: .72rem; }
.site-nav .navbar-brand img { height: 86px; width: auto; border-radius: 8px; box-shadow: 0 2px 10px rgba(16, 47, 61, .12); }
.site-nav.scrolled .navbar-brand img { height: 68px; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-nav .navbar-brand img { height: 76px; }
    .site-nav.scrolled .navbar-brand img { height: 62px; }
}
.site-nav .nav-link { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-nav .nav-link { padding: .5rem .65rem !important; font-size: .9rem; }
    .site-nav .nav-link::after { left: .65rem; right: .65rem; }
}
.section-tabs { width: 100%; border-top: 1px solid var(--ag-line, #e6eef2); margin: .5rem 0 -.5rem; background: #fff; }
.section-tabs .container { display: flex; gap: .4rem; overflow-x: auto; padding-top: .55rem; padding-bottom: .55rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.section-tabs .container::-webkit-scrollbar { display: none; }
.section-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .9rem; border-radius: 999px; font-weight: 600; font-size: .85rem; color: var(--ag-ink); background: var(--ag-green-soft, #eaf7f0); white-space: nowrap; transition: all .2s; }
.section-tabs a i { color: var(--ag-green); }
.section-tabs a:hover { color: var(--ag-green-dark, #166b45); }
.section-tabs a.active { background: var(--ag-grad); color: #fff; }
.section-tabs a.active i { color: #fff; }
.section-tabs a.tab-cta { background: var(--ag-grad); color: #fff; }
.section-tabs a.tab-cta i { color: #fff; }
@media (max-width: 1199.98px) {
    .site-nav .navbar-collapse { max-height: 70vh; overflow-y: auto; }
}
@media (max-width: 575.98px) {
    .site-nav .navbar-brand img { height: 62px; }
    .site-nav.scrolled .navbar-brand img { height: 52px; }
    .site-nav .brand-text strong { font-size: 1.12rem; }
    .site-nav .brand-text small { font-size: .6rem; letter-spacing: .08em; }
}
.site-footer .foot-logo { height: 84px; }
@media (max-width: 1199.98px) {
    .site-nav .navbar-collapse .nav-item .btn-ag { margin-left: .9rem; }
}

/* ---- page banners with the home-page background video ---- */
.page-hero.has-video { overflow: hidden; background-color: #0d3b2a; }
.page-hero .page-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero.has-video::before { z-index: 1; background: linear-gradient(110deg, rgba(8, 64, 36, .82), rgba(10, 111, 158, .6)); }
.page-hero.has-video .container { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .page-hero .page-hero-video { display: none; } }
