﻿:root{--accent:#d5e9a0;--accent-strong:#bcd47d;--deep:#173a2c;--ink:#17251d;--paper:#f4f4e9;--line:rgba(37,68,45,.16);--sun:#f0a93a;--field:#5f9a3a}
html{scroll-behavior:smooth}body{overflow-x:hidden;-webkit-font-smoothing:antialiased;font-family:Manrope,Arial,sans-serif;background:var(--paper);color:var(--ink)}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #e0b75a;outline-offset:4px}
.category-card,.product{box-shadow:0 8px 32px rgba(30,55,35,.05);transition:transform .25s ease,box-shadow .25s ease,background .25s ease}.category-card:hover,.product:hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(30,55,35,.12)}
.category-card{border-radius:4px;overflow:hidden}.category-photo,.product-image,.visual{position:relative;overflow:hidden}.category-photo img,.product-image img,.visual img{position:relative;z-index:1;display:block}.image-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:22px;color:#566a58;background:linear-gradient(135deg,#e5ebdc,#cbd7c4);font-size:14px;line-height:1.5;font-weight:600}.category-photo img,.product-image img{transition:transform .55s cubic-bezier(.2,.7,.2,1)}.category-card:hover .category-photo img,.product:hover .product-image img{transform:scale(1.045)}
.product{overflow:hidden;border-radius:5px}.product-image{display:block}.product h2 a:hover,.crumb a:hover,.more:hover{color:#53752d}.product-content{gap:2px}.links .call,.btn,.topnav .phone,.header .phone{transition:transform .2s ease,background .2s ease,box-shadow .2s ease}.links .call:hover,.btn:hover,.topnav .phone:hover,.header .phone:hover{transform:translateY(-2px);box-shadow:0 7px 18px rgba(20,42,26,.15);background:var(--accent-strong)}.btn-outline:hover{background:rgba(255,255,255,.15);color:#fff}.links .call,.btn{border-radius:5px}.filter{transition:background .2s,color .2s,border-color .2s}.filter:hover:not(.active){background:#d0dbc6;border-color:#779070}.search{border-radius:0}.spec-table th{background:#e5ebdf}.spec-table tr:nth-child(even) td{background:#edf1e9}.spec-table td,.spec-table th{white-space:normal;min-width:105px}.spec-table td:first-child,.spec-table th:first-child{min-width:165px}.category-more{gap:12px}.bottom,.contact{background:linear-gradient(120deg,#173a2c,#244835)}
@media(max-width:600px){.category-card:hover,.product:hover{transform:none}.category-photo{height:210px}.product-image{height:220px}.spec-table td,.spec-table th{font-size:13px}.top{flex-wrap:wrap}.topnav{margin-left:auto}.section-inner{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.category-card,.product,.category-photo img,.product-image img,.links .call,.btn,.topnav .phone,.header .phone,.filter{transition:none!important}.category-card:hover,.product:hover,.links .call:hover,.btn:hover,.topnav .phone:hover,.header .phone:hover{transform:none}.category-card:hover .category-photo img,.product:hover .product-image img{transform:none}}

.image-fallback{background:linear-gradient(0deg,rgba(13,33,19,.70),rgba(13,33,19,.28)),url('/field-placeholder.png') center/cover;color:#fff;text-shadow:0 1px 5px #000}.illustration-badge{position:absolute;right:10px;bottom:10px;z-index:3;padding:5px 8px;border-radius:4px;background:#10291fc9;color:#fff;font-size:11px}.category-photo{isolation:isolate}
@supports (background-image: image-set(url('/field-placeholder-optimized.webp') type('image/webp'), url('/field-placeholder.png') type('image/png'))) {
  .image-fallback {
    background-image: linear-gradient(0deg,rgba(13,33,19,.70),rgba(13,33,19,.28)), image-set(url('/field-placeholder-optimized.webp') type('image/webp'), url('/field-placeholder.png') type('image/png'));
  }
}


.gallery-current-caption{font-size:13px;line-height:1.5;color:#536959;margin:10px 0;padding:0 4px}

/* Dark cinematic header over hero */
.header{border:0;padding:22px 5%;gap:20px;align-items:center;color:#fff}
.header .brand{display:inline-flex;align-items:center;gap:0;padding:0;animation:none;text-shadow:none;font-size:0;line-height:0}
.header .brand:before{display:none!important;content:none}
.header .brand-lockup{display:block;height:48px;width:auto;max-width:min(320px,55vw);object-fit:contain;filter:drop-shadow(0 2px 8px rgba(0,0,0,.4))}
.header .brand-logo,.header .brand-text{display:none}
.header .nav{display:flex;gap:8px;align-items:center}
.header .nav a{font-size:16px;font-weight:700;padding:13px 16px;border-radius:9px;background:rgba(9,31,20,.32);transition:background .2s,color .2s;color:#fff}
.header .nav a:hover{background:rgba(220,236,188,.95);color:#173a2c}
.header .phone{font-size:17px;font-weight:800;color:#152d1d;white-space:nowrap;padding:15px 20px;border-radius:9px;background:#d9eaa5;box-shadow:0 5px 24px #0003}
.header .phone:hover{background:#edf6cf}

/* Hero: dark gradient overlay (no white fog), 3D layers */
.hero{color:#fff;background:#2a3b2c}
.hero-bg{
  position:absolute;inset:-4%;
  background:linear-gradient(90deg,rgba(12,26,19,.85),rgba(17,32,22,.35) 63%,rgba(11,24,17,.15)),url('/field.png') center/cover;
  background-position:100% center;
  transform:translateY(var(--shift,0px)) scale(1.04);will-change:transform;
}
@supports (background-image: image-set(url('/field-optimized.webp') type('image/webp'), url('/field.png') type('image/png'))) {
  .hero-bg {
    background-image: linear-gradient(90deg,rgba(12,26,19,.85),rgba(17,32,22,.35) 63%,rgba(11,24,17,.15)), image-set(url('/field-optimized.webp') type('image/webp'), url('/field.png') type('image/png'));
  }
}
.hero::after{
  content:"";position:absolute;inset:-20%;pointer-events:none;z-index:0;
  background:radial-gradient(ellipse at 74% 31%, rgba(255,220,150,.18), transparent 40%);
  animation:sunlight 12s ease-in-out infinite alternate;
}
@keyframes sunlight{from{transform:translate3d(-4%,0,0);opacity:.4}to{transform:translate3d(5%,2%,0);opacity:.95}}

.hero h1{
  text-shadow:0 2px 14px rgba(12,26,19,.65),0 0 30px rgba(255,226,165,.2);
  animation:hero-heading-arrive 800ms cubic-bezier(.22,1,.36,1) both;
}
.hero h1 em{
  color:#d6e4a8;
  text-shadow:0 2px 14px rgba(12,26,19,.65),0 0 28px rgba(224,235,165,.28);
}
@keyframes hero-heading-arrive{from{opacity:.65;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.hero .eyebrow,.hero p,.hero .actions{animation:hero-detail-arrive 850ms cubic-bezier(.22,1,.36,1) both}
.hero p{animation-delay:100ms}
.hero .actions{animation-delay:180ms}
@keyframes hero-detail-arrive{from{opacity:.72;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}

.tractor-layer{
  position:absolute;z-index:1;right:-2%;bottom:31%;width:55%;pointer-events:none;
  filter:brightness(.82) drop-shadow(0 8px 7px rgba(22,19,8,.35));
  animation:tractor-drift-gentle 18s ease-in-out infinite alternate;
}
.tractor-layer img{display:block;width:100%;height:auto;transform:perspective(1400px) rotateY(var(--tractor-tilt,0deg));transition:transform .65s ease-out;transform-origin:center bottom}
@keyframes tractor-drift-gentle{
  from{transform:translate3d(calc(-8px + var(--tractor-scroll,0px)),0,0)}
  to{transform:translate3d(calc(8px + var(--tractor-scroll,0px)),-1px,0)}
}
.wheat-layer{
  position:absolute;z-index:2;bottom:-6%;left:-5%;width:110%;height:42%;pointer-events:none;
  transform:translateX(var(--wheat-x,0px));transition:transform .35s ease-out;opacity:.97;
}
.wheat-layer img{width:100%;height:100%;object-fit:fill;object-position:bottom;transform-origin:center bottom;animation:ryeSway 5.5s ease-in-out infinite alternate}
.wheat-back{height:45%;bottom:-5%;opacity:.37;transform:translateX(var(--wheat-x,0px)) scaleX(1.13);filter:brightness(.82);z-index:1}
.wheat-back img{animation:ryeBack 7s ease-in-out infinite alternate;animation-delay:-2s}
@keyframes ryeSway{0%{transform:rotate(-.7deg) skewX(-1deg)}100%{transform:rotate(.7deg) skewX(1deg)}}
@keyframes ryeBack{0%{transform:rotate(.9deg) skewX(1.4deg)}100%{transform:rotate(-.9deg) skewX(-1.4deg)}}
.hero-content,.hero-foot{z-index:3;position:relative}
.hero-foot{text-shadow:0 1px 5px #000}
.hero-foot span{background:#102318a8;padding:7px 10px;border-radius:5px}

.section-tag{color:#71884c}
.catalog-wrap{background:#e5e9db}

/* Precision block keeps photo, fits dark-green system */
.precision{display:grid;grid-template-columns:1.15fr .85fr;gap:6%;align-items:center;padding:96px 6%;max-width:1600px;margin:0 auto}
.precision-media img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:2px;box-shadow:0 18px 40px rgba(16,41,31,.18)}
.precision-note{margin:12px 0 0;font-size:12px;line-height:1.45;color:#667761}
.precision-copy h2{font-size:clamp(34px,4.4vw,58px);line-height:1.05;letter-spacing:-.045em;font-weight:500;margin:18px 0 16px;max-width:16ch;text-wrap:balance}
.precision-copy p{color:#526153;font-size:18px;line-height:1.55;max-width:38ch;margin:0 0 22px}
.precision-link{font-weight:700;border-bottom:1px solid #9eaf98;padding-bottom:4px}

@media(max-width:900px){
  .header{flex-wrap:wrap;justify-content:space-between;gap:12px;padding:15px 5%}
  .header .brand-lockup{height:40px;max-width:min(240px,62vw)}
  .header .phone{font-size:14px;padding:12px}
  .header .nav{order:3;width:100%;justify-content:space-between;gap:5px}
  .header .nav a{font-size:14px;padding:10px 11px;text-align:center;flex:1}
  .hero-content{padding-top:155px}
  .tractor-layer{width:90%;right:-20%;bottom:35%;opacity:.86}
  .wheat-layer:not(.wheat-back){height:38%}
  .wheat-back{height:39%}
  .precision{display:block;padding:70px 5%}
  .precision-media{margin-bottom:22px}
}
@media(max-width:600px){
  .hero{min-height:780px}
  .hero p{background:rgba(9,24,16,.64);border-radius:4px;padding:8px 10px;margin-left:-10px;text-shadow:0 1px 3px rgba(0,0,0,.8);max-width:320px}
  .hero .actions{margin-top:18px}
  .tractor-layer{width:130%;right:1%;bottom:10%;opacity:1}
  .wheat-layer:not(.wheat-back){height:26%}
  .wheat-back{height:29%}
}
@media(prefers-reduced-motion:reduce){
  .header .brand,.hero::after,.hero h1,.hero .eyebrow,.hero p,.hero .actions,.tractor-layer,.wheat-layer img,.wheat-back img{animation:none}
  .wheat-layer{transition:none}
  .tractor-layer img{transition:none;transform:none}
  .hero-bg{transform:none!important}
}
/* Более крупный масштаб каталога и фотографий на всех его страницах. */
#catalog .catalog{max-width:none;padding-inline:3%}
#catalog .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border:0;background:transparent}
#catalog .category-photo{height:auto;aspect-ratio:16/10}
#catalog .category-body{padding:32px}
#catalog .category-card h3{font-size:clamp(28px,3vw,42px);margin-top:20px}
body[data-category] .catalog{padding-inline:3%}
body[data-category] .container{max-width:none}
body[data-category] .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body[data-category] .product-image{height:auto;aspect-ratio:16/10}
body[data-category] .product-content{padding:32px}
body[data-category] .product h3{font-size:clamp(26px,2.6vw,38px)}
body .wrap{max-width:1800px}
.wrap .visual,.wrap .visual img{min-height:480px}
@media(max-width:700px){
  #catalog .grid,body[data-category] .products{grid-template-columns:1fr;gap:16px}
  #catalog .catalog,body[data-category] .catalog{padding-inline:4%}
  #catalog .category-photo,body[data-category] .product-image{height:auto;aspect-ratio:4/3}
  #catalog .category-body,body[data-category] .product-content{padding:24px}
  .wrap .visual,.wrap .visual img{height:auto;min-height:280px}
}
