.site-music-toggle {
  position: fixed;
  z-index: 20;
  inset-inline-start: max(12px, env(safe-area-inset-left));
  inset-block-end: max(16px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #c4e89c66;
  border-radius: 8px;
  background: #17382b;
  color: #f2f6e5;
  font: 750 .875rem/1.2 Manrope, sans-serif;
  cursor: pointer;
}
.site-music-toggle span:first-child { font-size: 1.25rem; }
.site-music-toggle:is(:hover, [aria-pressed="true"]) {
  color: #e6f8c9;
  background: #275440;
  border-color: #a9de7b;
}
.site-music-toggle:focus-visible {
  outline: 2px solid #b6e981;
  outline-offset: 3px;
}

.home-page .header .agro-lockup .agro-mark { width: clamp(57px, 6vw, 90px); }
.home-page .header .agro-name {
  color: #deefc5;
  text-shadow: 0 1px #f3ffdc80, 0 2px #1e492a, 0 0 16px #8cdb62a0, 0 4px 12px #101e17;
}
.home-page .header .agro-name::after {
  background-image: linear-gradient(107deg, transparent 39%, #81d564 46%, #e7ffc6 50%, #8be668 54%, transparent 61%);
}
.home-page .header .nav a {
  position: relative;
}
.home-page .header .nav a::after {
  content: "";
  position: absolute;
  inset-inline: 16%;
  inset-block-end: 0;
  height: 2px;
  border-radius: 2px;
  background: #b9ec8a;
  box-shadow: 0 0 10px 2px #9cf4728c;
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .2s ease, transform .2s ease;
}
.home-page .header .nav a:is(:hover, :focus-visible) {
  color: #dbf6bf;
  background: #183f2fd9;
}
.home-page .header .nav a:is(:hover, :focus-visible)::after { opacity: 1; transform: scaleX(1); }
.header-contact {
  display: grid;
  justify-items: center;
  flex: none;
  gap: 3px;
}
.home-page .header-contact .phone { padding: 8px 14px; min-height: 40px; align-content: center; }
.header-email {
  display: grid;
  place-items: center;
  min-height: 32px;
  color: #e2f6cf;
  font-weight: 750;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .2em;
  text-shadow: 0 1px 6px #101e17;
}
.header-email:hover { color: #b9ec8a; }
.header-contact .site-music-toggle {
  position: static;
  min-height: 32px;
  padding: 4px 8px;
  font-size: .75rem;
}
.header-contact .site-music-toggle span:first-child { font-size: 1rem; }

.field-preference {
  display: flex;
  justify-content: flex-end;
  padding: 10px var(--ag-gutter, 5%);
  background: #17382b;
}
.field-game-toggle {
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #b9ec8a80;
  border-radius: 6px;
  background: transparent;
  color: #e2f6cf;
  font: 750 .875rem/1.2 Manrope, sans-serif;
  cursor: pointer;
}
.field-game-toggle:is(:hover,:focus-visible) { background: #2b593e; }
#field-play[hidden], #field-info[hidden], .field-game-toggle[hidden] { display: none !important; }
.field-preference:not(:has(.field-game-toggle:not([hidden]))) { display: none; }

@media (max-width: 760px) {
  .home-page .header .agro-lockup .agro-mark { width: clamp(48px, 13.5vw, 66px); }
  .home-page .header .brand.agro-lockup { gap: 6px; }
  .home-page .header .agro-name { font-size: clamp(12px, 3.16vw, 22px); }
  .home-page .header .nav { order: 1; justify-content: center; width: 100%; }
  .home-page .dawn .hero-foot .hero-socials { inset-block-start: 184px; }
  .home-page .header-contact .phone { min-height: 36px; padding: 5px 7px; font-size: clamp(12px, 3.1vw, 15px); }
  .header-email { min-height: 28px; font-size: .75rem; }
  .site-music-toggle { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .header .nav a::after { transition: none; }
}

html:has(.home-page) { scroll-behavior: auto; }
.home-page .header { align-items: center; }
.home-page .header-contact { position: relative; --header-contact-size: clamp(1.05rem, 1.5vw, 1.45rem); }
.home-page .header-contact :is(.phone, .header-email) {
  width: 100%;
  min-height: 46px;
  padding-inline: 12px;
  font: 700 var(--header-contact-size)/1.2 var(--ag-control-font);
  white-space: nowrap;
}
.home-page .header-email {
  position: absolute;
  inset: calc(100% + 5px) 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid #dceeb779;
  border-radius: 5px;
  background: #132b22e8;
  color: #f6fae9;
  text-decoration: none;
  white-space: nowrap;
}
.header-email span { font-size: 1.15em; }
.home-page .hero-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 26px;
}
.home-page #hero .hero-action-row .field-actions { margin: 0; padding: 0; }
.home-page #hero .field-title-wrap > [data-main-music] {
  position: absolute;
  inset: 25% auto auto calc(100% + clamp(9px, 2vw, 34px));
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  pointer-events: auto;
}
.speaker-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 20px;
  background: none;
}
.speaker-icon::before {
  content: "";
  position: absolute;
  inset: 2px 7px 2px 0;
  background: currentColor;
  clip-path: polygon(0 32%, 32% 32%, 78% 0, 78% 100%, 32% 68%, 0 68%);
}
.speaker-icon::after {
  content: "";
  position: absolute;
  inset: 3px 1px 3px 10px;
  border-inline-end: 2px solid currentColor;
  border-radius: 50%;
}
.home-page #hero .site-music-toggle[aria-pressed="false"] .speaker-icon::after {
  inset: 5px 3px 2px 16px;
  border-radius: 0;
  rotate: 35deg;
}
.marat-toggle {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f5fae6;
  pointer-events: auto;
  cursor: pointer;
}
.marat-toggle img { display: block; }
.marat-help {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 30px;
  border: 1px solid #adc790;
  border-radius: 16px;
  background: #f4f7eb;
  color: #18382a;
}
.marat-help::backdrop { background: #0b1b14ae; }
.marat-help h2 { margin: 0 34px 12px 0; font-size: clamp(1.4rem, 4vw, 2rem); }
.home-page #hero .marat-help {
  position: fixed;
  inset: auto var(--ag-gutter) clamp(20px, 8vh, 80px) auto;
  width: min(450px, calc(100% - 2 * var(--ag-gutter)));
  max-height: 70dvh;
  margin: 0;
}
#hero .marat-help :is(h2, p, summary) { color: #18382a; text-shadow: none; }
#hero .marat-help p { font: 400 1rem/1.55 var(--ag-control-font); }
.marat-help p { line-height: 1.55; }
.marat-close {
  position: absolute;
  inset: 12px 12px auto auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #e1ebd6;
  color: #18382a;
  font: 700 1.5rem/1 var(--ag-control-font);
  cursor: pointer;
}
.marat-help details { border-top: 1px solid #cedac1; padding: 12px 0; }
.marat-help summary { cursor: pointer; font-weight: 690; }
.marat-help details p { margin: 8px 0 0; }
.marat-help a { color: #235b3a; text-decoration: underline; }
.site-email-address {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #adc790;
  border-radius: 6px;
  background: #fff;
  color: #17382b;
  font: 650 1rem/1.3 var(--ag-control-font, sans-serif);
}
.site-email-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.site-email-options :is(a, button) {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 7px;
  border: 1px solid #adc790;
  border-radius: 6px;
  background: #e5efda;
  color: #18382a;
  font: 650 .88rem/1.25 var(--ag-control-font, sans-serif);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.site-email-options :is(a, button):is(:hover, :focus-visible) { background: #d7e7b9; }
.site-email-status:empty { display: none; }
.home-page #contact .contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: #e7f5c7;
  font: 650 clamp(1.15rem, 2.25vw, 1.65rem)/1.25 var(--ag-control-font);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.company-story {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(26px, 6vw, 90px);
  margin-bottom: clamp(30px, 5vw, 70px);
}
.company-story h2 {
  font-size: clamp(2.8rem, 5.75vw, 6rem);
  line-height: 1.05;
}
.company-story .company-intro { margin-bottom: 0; line-height: 1.62; }
.company-story-photos {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1.15;
  margin-inline: auto;
}
.company-photo {
  position: absolute;
  display: block;
  width: var(--circle-size);
  inset-inline-start: var(--circle-left);
  inset-block-start: var(--circle-top);
  aspect-ratio: 1;
  border: clamp(2px, .4vw, 5px) solid #63846a;
  border-radius: 50%;
  background: #17382b;
  box-shadow: 0 12px 30px #081b1390;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.company-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.company-photo--soil { --circle-left: 1%; --circle-top: 19%; --circle-size: 51%; }
.company-photo--mower { --circle-left: 54%; --circle-top: 2%; --circle-size: 43%; }
.company-photo--sowing { --circle-left: 55%; --circle-top: 56%; --circle-size: 37%; }
.company-photo--razor { --circle-left: 23%; --circle-top: 74%; --circle-size: 23%; }
.company-photo--bars { --circle-left: 28%; --circle-top: 0%; --circle-size: 20%; }
.company-photo:is(:hover, :focus-visible) { z-index: 1; transform: translateY(-5px); border-color: #deefa6; }
.home-page #showcase-title {
  font: 730 clamp(2.4rem, 6vw, 5.6rem)/1 var(--ag-display-font);
  color: #f7faef;
  letter-spacing: -.055em;
  text-shadow: 0 2px #243925, 0 4px #15291e, 0 12px 24px #101d15b0;
}
.home-page #showcase-title em { color: #deefa6; font-style: normal; }
.field-gallery {
  --gallery-gap: clamp(8px, 1vw, 16px);
  padding: clamp(24px, 4vw, 60px) var(--gallery-gap);
  background: #13291e;
  color: #f8faed;
}
.field-gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: clamp(14px, 2vw, 26px);
  padding-inline: max(4px, calc(var(--ag-gutter) - var(--gallery-gap)));
}
.home-page .field-gallery #showcase-title { margin: 0; font-size: clamp(1.9rem, 4.7vw, 4.8rem); }
.field-gallery-controls { display: flex; gap: 8px; }
.field-gallery-controls button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #d8ad727d;
  border-radius: 6px;
  background: #213d2d;
  color: #ffde9b;
  font: 700 1.3rem/1 var(--ag-control-font);
  cursor: pointer;
}
.field-gallery-controls button[aria-disabled="true"] { opacity: .48; cursor: default; }
.field-gallery-track {
  display: flex;
  gap: var(--gallery-gap);
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-color: #b18c55 #162f22;
  scrollbar-width: thin;
}
.field-gallery-track:focus-visible { outline: 2px solid #ffd58a; outline-offset: 2px; }
.showcase-card {
  flex: 0 0 calc((100% - 2 * var(--gallery-gap)) / 3);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.showcase-card > a {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  aspect-ratio: 1.65;
  min-height: 220px;
  padding: clamp(14px, 2.1vw, 32px);
  overflow: hidden;
  border: 1px solid #e1bd7560;
  border-radius: 9px;
  background: #223e2f;
  color: #f7faef;
  text-decoration: none;
}
.showcase-card > a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #0b1d14f0, #0b1d1460 36%, transparent 68%);
}
.showcase-card img { position: absolute; z-index: -2; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.showcase-card-copy { display: grid; gap: 5px; text-shadow: 0 1px 3px #0c1d12, 0 3px 9px #0c1d12; }
.showcase-card-copy small { letter-spacing: .09em; color: #f8d194; font-weight: 700; }
.showcase-card-copy strong { font: 730 clamp(1.1rem, 2.2vw, 2rem)/1.2 var(--ag-display-font); }
.showcase-card-copy > span { width: fit-content; border-bottom: 1px solid #e9be79; font-size: .875rem; }
.showcase-card > a:is(:hover,:focus-visible) { border-color: #ffcf82; }
.showcase-card > a:focus-visible { outline: 2px solid #ffcf82; outline-offset: -4px; }
@media (max-width: 920px) {
  .showcase-card { flex-basis: calc((100% - var(--gallery-gap)) / 2); }
}
@media (max-width: 600px) {
  .showcase-card { flex-basis: 83%; }
  .field-gallery-controls button { width: 44px; height: 44px; }
}
.ag-footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.catalog-collection .catalog-model-card .catalog-model-description {
  margin: 6px 0 0;
  color: #294536;
  font: 400 1rem/1.55 var(--ag-control-font);
}
@media (prefers-reduced-motion: reduce) {
  .company-photo { transition: none; }
  .company-photo:is(:hover, :focus-visible) { transform: none; }
}
@media (max-width: 820px) {
  .home-page .header-contact { --header-contact-size: clamp(.71rem, 3.2vw, .94rem); }
  .home-page .header-contact :is(.phone, .header-email) { min-height: 34px; padding-inline: 7px; }
  .home-page .header-email { inset-block-start: calc(100% + 3px); }
  .home-page #hero .hero-action-row { margin-top: 18px; gap: 10px; }
  .home-page #hero .hero-action-row .field-actions { flex-basis: 100%; }
  .home-page #hero .hero-content { pointer-events: none; }
  .home-page #hero .hero-content :is(a, button, .field-title-wrap) { pointer-events: auto; }
  .company-story { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .home-page .header .nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin-top: 20px;
  }
  .home-page .header .nav a {
    justify-content: center;
    padding-inline: 4px;
    white-space: nowrap;
  }
}

.agro-lockup-copy { display: grid; gap: 5px; }
.home-page .agro-lockup-place {
  font: 630 clamp(.61rem, 1.05vw, .84rem)/1.25 var(--ag-control-font);
  color: #f9d99d;
  text-shadow: 0 2px 5px #0c2016;
}
.home-page .home-contact-stack { display: grid; gap: 6px; }
.home-page .home-contact-stack :is(.ag-ask-marat, .ag-contact-toggle) {
  width: 142px;
  min-height: 44px;
  padding: 5px 8px;
  border: 1px solid #d8af7375;
  border-radius: 6px;
  background: #183a2d;
  color: #f8faed;
  font: 680 .8rem/1.25 var(--ag-control-font);
  box-shadow: 0 4px 16px #1023185c;
}
.home-page .home-contact-stack .ag-ask-marat { cursor: pointer; }
.home-page .home-contact-stack :is(.ag-ask-marat, .ag-contact-toggle):is(:hover,:focus-visible) {
  background: #365744;
  border-color: #f2bd73;
}
.home-page .ag-tools .hero-socials { display: flex; gap: 5px; align-items: center; }
.home-page .ag-tools .hero-socials .hero-social {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d8af7375;
  border-radius: 50%;
  background: #17382bea;
}
.home-page .ag-tools .hero-socials .hero-social:is(:hover,:focus-visible) { border-color: #f6c571; }
.home-page .ag-tools .hero-youtube-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 18px;
  border-radius: 5px;
  background: #e72c35;
}
:is(.home-page, .catalog-collection, .product-page) :is(.btn, .phone, .links .call, .nav a, .ag-contact-toggle) {
  border-color: #dca96180;
}
.home-page #hero .field-actions .btn:not(.field-contact) {
  background-color: #eadc9b;
  border-color: #f3cc83;
}
.home-page :is(#company-facts-title, #contact-title, #showcase-title),
.catalog-collection .manufacturer-cover h1 {
  text-shadow: 0 1px #ffe5b465, 0 2px #253f29, 0 5px 14px #101d15a6;
}
@media (max-width: 820px) {
  .home-page #hero .hero-content { padding-block-end: 118px; }
  .home-page #hero .field-title-wrap > [data-main-music] {
    width: 40px;
    height: 40px;
    inset-inline-start: calc(100% + 8px);
  }
}
@media (max-width: 430px) {
  .home-page .home-contact-stack :is(.ag-ask-marat, .ag-contact-toggle) { width: 116px; font-size: .75rem; }
  .home-page .ag-tools .hero-socials { gap: 4px; }
  .home-page .ag-tools .hero-socials .hero-social { width: 40px; height: 40px; }
  .home-page .ag-tools .hero-social img { width: 26px; height: 26px; }
  .home-page #hero #field-title { font-size: clamp(1.42rem, 7.1vw, 1.92rem); }
  .home-page .agro-lockup-place { font-size: .58rem; }
}
