
:root{
  --bg:#f5f5f1;
  --surface:#fff;
  --text:#111311;
  --muted:#586158;
  --line:rgba(17,19,17,.12);
  --green:#174c3c;
  --green-deep:#0f3027;
  --green-dark:#0c241e;
  --lime:#8fbf00;
  --container:1320px;
  --header-height:82px;
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:22px;
  --shadow-soft:0 18px 50px rgba(0,0,0,.06);
  --ease:cubic-bezier(.2,.7,.2,1);
}

*,
*::before,
*::after{box-sizing:border-box}

html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,Arial,sans-serif;
  font-size:18px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{
  font-family:Manrope,Inter,Arial,sans-serif;
  letter-spacing:-.035em;
}
section{position:relative}

#pakalpojumi,#sesana,#lopbariba,#kukuruza,#skidrmesli,#ziema,#kontakti{scroll-margin-top:96px}

.container{
  width:min(calc(100% - 48px),var(--container));
  margin-inline:auto;
}
.section-space{padding:78px 0}
.eyebrow{
  margin-bottom:18px;
  color:var(--green);
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.eyebrow.light{color:rgba(255,255,255,.76)}

.site-header{
  position:fixed;
  top:0;
  z-index:1000;
  width:100%;
  border-bottom:1px solid rgba(255,255,255,.08);
  transition:background .3s ease,border-color .3s ease,box-shadow .3s ease;
}
.site-header.scrolled{
  background:var(--bg);
  border-bottom-color:rgba(0,0,0,.06);
  box-shadow:0 8px 30px rgba(0,0,0,.05);
}
.header-inner{
  min-height:var(--header-height);
  display:flex;
  align-items:center;
  gap:34px;
}
.logo-link{display:flex;align-items:center;flex:0 0 auto}
.site-logo{width:170px;height:auto;max-height:62px;object-fit:contain}
.desktop-nav{margin-left:auto;display:flex;align-items:center;gap:26px}
.desktop-nav a{
  position:relative;
  color:rgba(255,255,255,.9);
  font-size:14px;
  font-weight:600;
}
.site-header.scrolled .desktop-nav a{color:var(--text)}
.desktop-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:1px;
  background:currentColor;
  transition:width .25s ease;
}
.desktop-nav a:hover::after,
.desktop-nav a.active::after{width:100%}
.header-phone{
  padding:12px 16px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  color:#fff;
  font-size:14px;
  font-weight:700;
}
.site-header.scrolled .header-phone{
  color:var(--green);
  border-color:rgba(23,76,60,.22);
}
.menu-toggle,.mobile-menu{display:none}

.hero{
  min-height:82vh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:var(--green-dark);
  color:#fff;
}
.hero-media,.hero-overlay{position:absolute;inset:0}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 50%}
.hero-overlay{
  background:
    linear-gradient(90deg,rgba(8,26,20,.88) 0%,rgba(8,26,20,.66) 46%,rgba(8,26,20,.18) 100%),
    linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(8,26,20,.42) 100%);
}
.hero-content{
  position:relative;
  z-index:2;
  padding-top:155px;
  padding-bottom:76px;
}
.hero h1{
  max-width:900px;
  margin-bottom:24px;
  font-size:clamp(58px,6.8vw,96px);
  line-height:.91;
  font-weight:700;
}
.hero-text{
  max-width:720px;
  margin-bottom:0;
  color:rgba(255,255,255,.84);
  font-size:20px;
  line-height:1.58;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 21px;
  border-radius:var(--radius-sm);
  font-size:15px;
  font-weight:700;
  transition:transform .22s var(--ease),background .22s ease;
}
.button:hover{transform:translateY(-2px)}
.button-light{background:#fff;color:var(--text)}
.button-outline{border:1px solid rgba(255,255,255,.34);color:#fff}

.service-nav{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.service-nav-grid{display:grid;grid-template-columns:repeat(5,1fr)}
.service-nav a{
  min-height:150px;
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border-right:1px solid var(--line);
  transition:background .2s ease;
}
.service-nav a:first-child{border-left:1px solid var(--line)}
.service-nav a:hover{background:#f0f1ec}
.service-nav span{
  color:var(--green);
  font-size:12px;
  font-weight:800;
}
.service-nav strong{
  margin-top:auto;
  font-family:Manrope,Inter,Arial,sans-serif;
  font-size:22px;
  line-height:1.05;
}
.service-nav small{
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.intro{background:var(--bg)}
.intro-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:76px;
}
.intro h2{
  max-width:760px;
  margin-bottom:0;
  font-size:clamp(42px,4.4vw,64px);
  line-height:.98;
}
.intro-copy{
  color:var(--muted);
  font-size:19px;
}
.intro-copy p:last-child{margin-bottom:0}

.service-feature{background:#fff}
.service-feature.dark{background:var(--green-deep);color:#fff}
.feature-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
}
.feature-grid.reverse{grid-template-columns:.95fr 1.05fr}
.feature-grid.reverse .feature-media{order:2}
.feature-grid.reverse .feature-copy{order:1}
.feature-media{
  display:block;
  overflow:hidden;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
}
.feature-media img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  transition:transform .45s var(--ease);
}
.feature-media:hover img{transform:scale(1.02)}
.feature-copy h2{
  margin-bottom:20px;
  font-size:clamp(42px,4vw,60px);
  line-height:.98;
}
.lead{
  max-width:650px;
  margin-bottom:0;
  color:var(--muted);
  font-size:20px;
  line-height:1.55;
}
.dark .lead{color:rgba(255,255,255,.84)}
.supporting{
  max-width:650px;
  margin-top:20px;
  margin-bottom:0;
  color:var(--muted);
}
.dark .supporting{color:rgba(255,255,255,.75)}

.facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:28px;
}
.facts>div{
  padding:18px;
  background:#f2f3ef;
  border-radius:12px;
}
.facts strong{
  display:block;
  margin-bottom:4px;
  font-family:Manrope,Inter,Arial,sans-serif;
  font-size:23px;
  letter-spacing:-.03em;
}
.facts span{color:var(--muted);font-size:13px}
.facts.light>div{background:rgba(255,255,255,.07)}
.facts.light span{color:rgba(255,255,255,.62)}

.text-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:24px;
  color:var(--green);
  font-size:17px;
  font-weight:700;
}
.text-link span{transition:transform .2s ease}
.text-link:hover span{transform:translateX(4px)}
.light-link{color:#d0e89a}

.service-group{background:#eef0eb}
.service-group-alt{background:#fff}
.section-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:56px;
  margin-bottom:34px;
}
.section-heading h2{
  max-width:820px;
  margin-bottom:0;
  font-size:clamp(42px,4vw,58px);
  line-height:.98;
}
.section-heading>p{
  max-width:520px;
  margin-bottom:0;
  color:var(--muted);
  font-size:18px;
}

.service-cards{
  display:grid;
  gap:16px;
}
.service-cards.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.service-cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.service-card{
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(17,19,17,.06);
  border-radius:var(--radius-md);
  box-shadow:0 12px 34px rgba(0,0,0,.035);
}
.card-media{
  display:block;
  overflow:hidden;
}
.card-media img{
  width:100%;
  height:230px;
  object-fit:cover;
  transition:transform .45s var(--ease);
}
.service-card.large .card-media img{height:320px}
.card-media:hover img{transform:scale(1.025)}
.card-body{padding:24px}
.card-no{
  display:block;
  margin-bottom:20px;
  color:var(--green);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
}
.card-body h3{
  margin-bottom:12px;
  font-size:28px;
  line-height:1.03;
}
.card-body p{
  margin-bottom:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
}

.why{background:#fff}
.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);
}
.why-grid article{
  position:relative;
  padding:26px 24px 0 0;
}
.why-grid article::before{
  content:"";
  position:absolute;
  top:-5px;
  left:0;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--green);
}
.why-grid span{
  display:block;
  margin-bottom:20px;
  color:var(--green);
  font-size:12px;
  font-weight:800;
}
.why-grid h3{
  margin-bottom:8px;
  font-size:23px;
}
.why-grid p{
  max-width:250px;
  margin-bottom:0;
  color:var(--muted);
  font-size:16px;
}

.contact{
  padding:70px 0;
  background:var(--green-dark);
  color:#fff;
}
.contact-grid{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:70px;
  align-items:center;
}
.contact h2{
  max-width:780px;
  margin-bottom:14px;
  font-size:clamp(42px,4.5vw,62px);
  line-height:.97;
}
.contact p:not(.eyebrow){
  max-width:680px;
  margin-bottom:0;
  color:rgba(255,255,255,.75);
}
.contact-phone{
  padding-left:32px;
  border-left:1px solid rgba(255,255,255,.16);
}
.contact-phone>span,
.contact-phone small{
  display:block;
  color:rgba(255,255,255,.56);
  font-size:13px;
}
.contact-phone a{
  display:block;
  margin:8px 0;
  font-family:Manrope,Inter,Arial,sans-serif;
  font-size:42px;
  font-weight:700;
  letter-spacing:-.04em;
}

.site-footer{
  padding:52px 0 24px;
  background:#071713;
  color:#fff;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.5fr repeat(3,.7fr);
  gap:60px;
  padding-bottom:42px;
}
.footer-brand img{
  width:165px;
  height:auto;
  margin-bottom:18px;
}
.footer-brand p{
  max-width:320px;
  color:rgba(255,255,255,.56);
  font-size:14px;
}
.footer-column{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-column strong{
  margin-bottom:7px;
  font-size:14px;
}
.footer-column a,
.footer-column span{
  color:rgba(255,255,255,.58);
  font-size:14px;
}
.footer-column a:hover{color:#fff}
.footer-bottom{
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.36);
  font-size:12px;
}

@media(max-width:1100px){
  .desktop-nav{display:none}
  .header-phone{margin-left:auto}
  .menu-toggle{
    display:inline-flex;
    flex-direction:column;
    justify-content:center;
    gap:6px;
    width:44px;
    height:44px;
    padding:0;
    border:0;
    background:transparent;
  }
  .menu-toggle span{
    width:24px;
    height:2px;
    background:#fff;
  }
  .site-header.scrolled .menu-toggle span{background:var(--text)}
  .mobile-menu{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    padding:12px 24px 22px;
    background:var(--bg);
    border-top:1px solid var(--line);
  }
  .mobile-menu.open{display:block}
  .mobile-menu nav{display:flex;flex-direction:column}
  .mobile-menu a{
    padding:13px 0;
    border-bottom:1px solid var(--line);
    font-size:17px;
    font-weight:600;
  }
  .mobile-phone{color:var(--green)}

  .service-nav-grid{grid-template-columns:repeat(2,1fr)}
  .service-nav a{min-height:120px}
  .service-nav a:nth-child(even){border-right:0}

  .feature-grid,
  .feature-grid.reverse,
  .intro-grid{gap:38px}
  .service-cards.four{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr);row-gap:32px}
}

@media(max-width:760px){
  body{font-size:17px}
  .container{width:calc(100% - 32px)}
  .header-inner{min-height:72px}
  .site-logo{width:145px}
  .header-phone{display:none}

  .hero{min-height:680px}
  .hero-content{
    padding-top:132px;
    padding-bottom:48px;
  }
  .hero h1{font-size:clamp(48px,13vw,64px)}
  .hero-text{font-size:18px}

  .service-nav-grid{grid-template-columns:1fr 1fr}
  .service-nav a{
    min-height:108px;
    padding:16px;
    border-bottom:1px solid var(--line);
  }
  .service-nav a:last-child{grid-column:1/-1}
  .service-nav strong{font-size:19px}
  .service-nav small{font-size:12px}

  .section-space{padding:54px 0}

  .intro-grid,
  .feature-grid,
  .feature-grid.reverse,
  .contact-grid{
    grid-template-columns:1fr;
    gap:26px;
  }
  .feature-grid.reverse .feature-media,
  .feature-grid.reverse .feature-copy{order:initial}

  .intro h2,
  .feature-copy h2,
  .section-heading h2{font-size:38px}

  .feature-media img{aspect-ratio:4/3}
  .lead{font-size:18px}

  .facts{grid-template-columns:1fr 1fr}
  .facts>div:last-child{grid-column:1/-1}

  .section-heading{display:block;margin-bottom:26px}
  .section-heading>p{margin-top:18px;font-size:17px}

  .service-cards.four,
  .service-cards.two{grid-template-columns:1fr}
  .card-media img,
  .service-card.large .card-media img{height:auto;aspect-ratio:16/10}

  .why-grid{
    grid-template-columns:1fr;
    border-top:0;
    gap:0;
  }
  .why-grid article{
    margin-left:5px;
    padding:0 0 26px 28px;
    border-left:1px solid var(--line);
  }
  .why-grid article::before{
    top:5px;
    left:-5px;
  }
  .why-grid article:last-child{border-color:transparent;padding-bottom:0}
  .why-grid span{margin-bottom:6px}

  .contact{padding:54px 0}
  .contact-phone{
    padding:24px 0 0;
    border-left:0;
    border-top:1px solid rgba(255,255,255,.16);
  }
  .contact-phone a{font-size:40px}

  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:30px;
  }
  .footer-brand{grid-column:1/-1}
}

@media(max-width:420px){
  .container{width:calc(100% - 26px)}
  .site-logo{width:138px}
  .hero{min-height:650px}
  .hero h1{font-size:43px}
  .service-nav-grid{grid-template-columns:1fr}
  .service-nav a:last-child{grid-column:auto}
  .facts{grid-template-columns:1fr}
  .facts>div:last-child{grid-column:auto}
  .footer-grid{grid-template-columns:1fr}
  .footer-brand{grid-column:auto}
}


/* v2 — sowing + corn refinements */
.service-cards.three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.mini-facts{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}

.mini-facts span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:8px 10px;
  border-radius:999px;
  background:#f1f3ee;
  color:#4f584f;
  font-size:13px;
  line-height:1;
}

.mini-facts strong{
  color:var(--text);
  font-family:Manrope,Inter,Arial,sans-serif;
  font-size:14px;
}

@media(max-width:1100px){
  .service-cards.three{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .service-cards.three .service-card:last-child{
    grid-column:1/-1;
  }
}

@media(max-width:760px){
  .service-cards.three{
    grid-template-columns:1fr;
  }
  .service-cards.three .service-card:last-child{
    grid-column:auto;
  }
}


/* v5 — corn full-cycle cards */
.service-cards.four{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

@media(max-width:1100px){
  .service-cards.four{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .service-cards.four{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   X-AGRO GLOBAL SHELL v90 — header / mobile nav / footer
   ========================================================= */
body{overflow-x:hidden}
body .site-header{position:fixed!important;inset:0 0 auto!important;z-index:1000!important;width:100%!important;background:linear-gradient(180deg,rgba(4,18,13,.44),rgba(4,18,13,.08))!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.11)!important;box-shadow:none!important;transition:background .28s ease,border-color .28s ease,box-shadow .28s ease!important}
body .site-header.scrolled{background:rgba(243,243,238,.97)!important;border-bottom-color:rgba(16,20,17,.09)!important;box-shadow:0 7px 24px rgba(10,23,17,.05)!important}
body .site-header .header-inner{min-height:82px!important;height:auto!important;display:flex!important;align-items:center!important;gap:22px!important;padding-top:0!important;padding-bottom:0!important}
body .site-header .logo-link{display:flex!important;align-items:center!important;flex:0 0 auto!important;margin:0!important;padding:0!important}
body .site-header .site-logo{display:block!important;width:168px!important;max-width:168px!important;height:auto!important;max-height:58px!important;object-fit:contain!important;margin:0!important}
body .site-header .desktop-nav{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:18px!important;margin-left:auto!important;min-width:0!important}
body .site-header .desktop-nav a{position:relative!important;display:inline-flex!important;align-items:center!important;min-height:40px!important;padding:0!important;color:rgba(255,255,255,.92)!important;font-size:13px!important;font-weight:650!important;line-height:1!important;letter-spacing:-.01em!important;white-space:nowrap!important;border:0!important;background:transparent!important;border-radius:0!important;text-transform:none!important}
body .site-header.scrolled .desktop-nav a{color:#101411!important}
body .site-header .desktop-nav a.active::after{content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:2px!important;height:1px!important;background:currentColor!important;opacity:.75!important}
body .site-header .desktop-nav .nav-featured{min-height:44px!important;padding:0 14px!important;border:1px solid rgba(255,255,255,.30)!important;border-radius:9px!important}
body .site-header.scrolled .desktop-nav .nav-featured{border-color:rgba(16,20,17,.18)!important}
body .site-header .desktop-nav .nav-featured.active::after{display:none!important}
body .site-header .header-phone{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:0 15px!important;margin:0!important;border:1px solid rgba(255,255,255,.27)!important;border-radius:999px!important;color:#fff!important;background:transparent!important;font-size:13px!important;font-weight:750!important;line-height:1!important;white-space:nowrap!important;text-decoration:none!important}
body .site-header.scrolled .header-phone{color:#101411!important;border-color:rgba(16,20,17,.18)!important}
body .site-header .menu-toggle{display:none!important;margin-left:auto!important;width:44px!important;height:44px!important;padding:0!important;border:0!important;background:transparent!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:6px!important}
body .site-header .menu-toggle span{display:block!important;width:24px!important;height:2px!important;margin:0!important;background:#fff!important;border-radius:2px!important;transition:transform .2s ease,opacity .2s ease!important}
body .site-header.scrolled .menu-toggle span{background:#101411!important}
body .site-header .mobile-menu{display:none!important;position:absolute!important;top:100%!important;left:0!important;width:100%!important;max-height:calc(100vh - 70px)!important;overflow:auto!important;padding:8px 22px 18px!important;background:#f3f3ee!important;border-top:1px solid rgba(16,20,17,.08)!important;box-shadow:0 18px 34px rgba(8,24,18,.12)!important}
body .site-header .mobile-menu.open{display:block!important}
body .site-header .mobile-menu nav{display:flex!important;flex-direction:column!important;margin:0!important;padding:0!important}
body .site-header .mobile-menu a{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:48px!important;padding:0!important;margin:0!important;border:0!important;border-bottom:1px solid rgba(16,20,17,.08)!important;border-radius:0!important;background:transparent!important;color:#101411!important;font-size:16px!important;font-weight:650!important;line-height:1.2!important;text-transform:none!important}
body .site-header .mobile-menu a.active{color:#174c3c!important;font-weight:800!important}
body .site-header .mobile-menu .mobile-featured{color:#174c3c!important}
body .site-header .mobile-menu .mobile-phone{margin-top:10px!important;justify-content:center!important;border:1px solid rgba(23,76,60,.20)!important;border-radius:999px!important;background:rgba(23,76,60,.05)!important}

body .site-footer{position:relative!important;display:block!important;height:auto!important;min-height:0!important;margin:0!important;padding:42px 0 20px!important;background:#051511!important;color:#fff!important}
body .site-footer .footer-grid{display:grid!important;grid-template-columns:1.35fr repeat(4,minmax(0,1fr))!important;gap:36px!important;align-items:start!important;padding-bottom:30px!important}
body .site-footer .footer-brand{min-width:0!important}
body .site-footer .footer-brand img{display:block!important;width:158px!important;height:auto!important;margin:0 0 14px!important}
body .site-footer .footer-brand p{max-width:290px!important;margin:0!important;color:rgba(255,255,255,.52)!important;font-size:13.5px!important;line-height:1.55!important}
body .site-footer .footer-column{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;margin:0!important;padding:0!important}
body .site-footer .footer-column strong{display:block!important;margin:0 0 6px!important;color:#fff!important;font-size:13.5px!important;font-weight:750!important}
body .site-footer .footer-column a,body .site-footer .footer-column span{display:block!important;margin:0!important;padding:0!important;color:rgba(255,255,255,.55)!important;background:none!important;border:0!important;font-size:13.5px!important;line-height:1.45!important;text-transform:none!important}
body .site-footer .footer-column a:hover{color:#fff!important}
body .site-footer .footer-bottom{display:flex!important;justify-content:space-between!important;gap:20px!important;padding-top:18px!important;border-top:1px solid rgba(255,255,255,.07)!important;color:rgba(255,255,255,.32)!important;font-size:12px!important}

@media (max-width:1320px){
  body .site-header .header-inner{gap:18px!important}
  body .site-header .desktop-nav{gap:14px!important}
  body .site-header .desktop-nav a{font-size:12px!important}
  body .site-header .desktop-nav .nav-featured{padding:0 11px!important}
  body .site-header .header-phone{padding:0 12px!important;font-size:12px!important}
  body .site-header .site-logo{width:150px!important;max-width:150px!important}
}
@media (max-width:1120px){
  body .site-header .desktop-nav,body .site-header .header-phone{display:none!important}
  body .site-header .menu-toggle{display:inline-flex!important}
  body .site-header .header-inner{min-height:70px!important}
  body .site-header .site-logo{width:145px!important;max-width:145px!important}
}
@media (max-width:900px){
  body .site-footer{padding:36px 0 18px!important}
  body .site-footer .footer-grid{grid-template-columns:1.25fr 1fr 1fr!important;gap:28px 24px!important}
  body .site-footer .footer-brand{grid-column:1/-1!important}
}
@media (max-width:620px){
  body .site-header .header-inner{min-height:68px!important}
  body .site-header .site-logo{width:138px!important;max-width:138px!important}
  body .site-header .mobile-menu{padding:6px 16px 16px!important}
  body .site-footer .footer-grid{grid-template-columns:1fr 1fr!important;gap:26px 20px!important}
  body .site-footer .footer-brand{grid-column:1/-1!important}
  body .site-footer .footer-contact{grid-column:1/-1!important}
  body .site-footer .footer-bottom{flex-direction:column!important;gap:4px!important}
}
@media (max-width:390px){
  body .site-footer .footer-grid{grid-template-columns:1fr!important}
  body .site-footer .footer-brand,body .site-footer .footer-contact{grid-column:auto!important}
}


/* =========================================================
   X-AGRO UNIFIED MOBILE FOOTER v91
   ========================================================= */
@media (max-width: 760px){
  body .site-footer{height:auto!important;min-height:0!important;padding:34px 0 20px!important;text-align:left!important}
  body .site-footer .footer-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:28px 22px!important;align-items:start!important;padding-bottom:26px!important}
  body .site-footer .footer-brand{grid-column:1/-1!important;text-align:left!important;margin:0!important;padding:0!important}
  body .site-footer .footer-brand a{display:inline-flex!important;justify-content:flex-start!important}
  body .site-footer .footer-brand img{width:148px!important;height:auto!important;margin:0 0 12px!important}
  body .site-footer .footer-brand p{max-width:300px!important;margin:0!important;color:rgba(255,255,255,.50)!important;font-size:13px!important;line-height:1.5!important;text-align:left!important}
  body .site-footer .footer-column{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:8px!important;margin:0!important;padding:0!important;text-align:left!important}
  body .site-footer .footer-column strong{width:100%!important;margin:0 0 5px!important;color:#fff!important;font-size:14px!important;line-height:1.25!important;text-align:left!important}
  body .site-footer .footer-column a,body .site-footer .footer-column span{width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;color:rgba(255,255,255,.56)!important;font-size:14px!important;line-height:1.42!important;text-align:left!important;white-space:normal!important}
  body .site-footer .footer-column:nth-child(4){grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,max-content))!important;column-gap:22px!important;row-gap:8px!important;align-items:start!important}
  body .site-footer .footer-column:nth-child(4) strong{grid-column:1/-1!important}
  body .site-footer .footer-contact{grid-column:1/-1!important;padding-top:20px!important;border-top:1px solid rgba(255,255,255,.08)!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 18px!important}
  body .site-footer .footer-contact strong{grid-column:1/-1!important}
  body .site-footer .footer-contact a:last-child{grid-column:1/-1!important}
  body .site-footer .footer-bottom{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;padding-top:16px!important;border-top:1px solid rgba(255,255,255,.07)!important;color:rgba(255,255,255,.30)!important;font-size:12px!important;text-align:left!important}
}
@media (max-width: 460px){
  body .site-footer .footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:26px 18px!important}
  body .site-footer .footer-column:nth-child(4){grid-template-columns:repeat(2,minmax(0,max-content))!important;column-gap:20px!important}
  body .site-footer .footer-contact{grid-template-columns:1fr!important;gap:8px!important}
  body .site-footer .footer-contact strong,body .site-footer .footer-contact a:last-child{grid-column:auto!important}
  body .site-footer .footer-bottom{flex-direction:row!important}
}

/* X-Agro language switch */
.language-switch{display:flex;align-items:center;gap:4px;margin-left:8px;padding:4px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px);font-size:11px;font-weight:800;letter-spacing:.06em;line-height:1}
.language-switch a,.language-switch span{display:flex;align-items:center;justify-content:center;min-width:30px;height:28px;padding:0 8px;border-radius:999px;color:inherit;text-decoration:none}
.language-switch .is-current{background:#fff;color:#173f35}
.site-header.is-scrolled .language-switch,.site-header.scrolled .language-switch{border-color:rgba(17,43,36,.16);background:rgba(17,43,36,.04);color:#173f35}
@media(max-width:1279px){.header-phone{display:none}.language-switch{margin-left:auto;margin-right:8px}.desktop-nav{display:none}.menu-toggle{display:flex}}
@media(max-width:480px){.language-switch a,.language-switch span{min-width:27px;height:26px;padding:0 6px}.language-switch{gap:2px;margin-right:4px}}


/* v3 readability pass: keep secondary text comfortably legible */
main p:not(.eyebrow),
main li,
main .section-intro,
main .hero-text {
  font-size: max(16px, 1em);
  line-height: 1.6;
}
main small {
  font-size: max(13px, 0.86em);
  line-height: 1.45;
}
@media (max-width: 760px){
  main p:not(.eyebrow),
  main li,
  main .section-intro,
  main .hero-text {
    font-size: max(16px, 1em);
    line-height: 1.58;
  }
}

/* Language switch visibility refinement */
.language-switch a{background:rgba(255,255,255,.14);color:#fff!important}
.site-header.is-scrolled .language-switch a,.site-header.scrolled .language-switch a{background:rgba(23,63,53,.08);color:#173f35!important}
.language-switch .is-current{background:#fff!important;color:#173f35!important}
@media(max-width:480px){
  .language-switch{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.30)!important}
  .language-switch a{background:rgba(255,255,255,.18)!important;color:#fff!important}
  .site-header.is-scrolled .language-switch,.site-header.scrolled .language-switch{background:rgba(23,63,53,.05)!important;border-color:rgba(23,63,53,.18)!important}
  .site-header.is-scrolled .language-switch a,.site-header.scrolled .language-switch a{background:rgba(23,63,53,.10)!important;color:#173f35!important}
}


/* v8 mobile footer + language switch touch refinements */
@media (max-width:760px){
  body .site-footer .footer-column:nth-child(4){
    grid-column:1/-1!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:8px!important;
  }
  body .site-footer .footer-column:nth-child(4) strong,
  body .site-footer .footer-column:nth-child(4) a,
  body .site-footer .footer-column:nth-child(4) span{
    grid-column:auto!important;
    width:auto!important;
  }
}
.language-switch,
.language-switch a,
.language-switch span{
  touch-action:manipulation;
  -webkit-user-select:none;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
}

/* v13: keep copyright on a single line on phones; suppress bottom overscroll. */
@media (max-width:760px) {
  body .site-footer .footer-bottom {display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
  body .site-footer .footer-bottom > span:first-child {display:inline-flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;white-space:nowrap!important;gap:.25em!important;}
  body .site-footer .footer-bottom > span:first-child span {display:inline!important;width:auto!important;margin:0!important;padding:0!important;white-space:nowrap!important;}
  body .site-footer .footer-bottom > span:last-child {display:inline!important;width:auto!important;white-space:nowrap!important;}
}
html {overscroll-behavior-y:none;}
body {overscroll-behavior-y:none;}


/* v19: smoother lower-page tonal hierarchy */
.equipment-spectrum{
  background:linear-gradient(180deg,#143f35 0%,#0d342b 100%)!important;
}
.contacts{
  background:#08261f!important;
  border-top:1px solid rgba(255,255,255,.035)!important;
}
.contacts .contact-card{
  background:rgba(255,255,255,.045)!important;
  border-color:rgba(255,255,255,.045)!important;
}
.contacts .contact-card:hover{
  background:rgba(255,255,255,.075)!important;
}
body .site-footer,.site-footer{
  background:#031713!important;
}

/* production final: compact machinery overview */
.equipment-spectrum{padding:34px 0!important;}
@media(max-width:760px){.equipment-spectrum{padding:28px 0!important;}}
