/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

@font-face {
  font-family: "Geologica";
  src: url("../fonts/Geologica.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
  --color-primary: #004d9d;
  --color-primary-hover: #003d7d;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #6b7280;
  --color-background: #ffffff;
  --color-background-alt: #f8f9fa;
  --color-border: #e5e7eb;
  --color-primary-soft: rgba(0, 77, 157, 0.10);
  --color-shadow: rgba(0, 77, 157, 0.10);
  --radius: 12px;
  --section-space: clamp(3.5rem, 6vw, 6rem);
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  color: var(--color-text);
  background: var(--color-background);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-primary); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button { border: 0; }
::selection { background: #c7dfff; color: #073057; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.muted { color: var(--color-text-muted); }
.small { font-size: .875rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.rule { border-top: 1px solid var(--color-border); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-weight: 650; line-height: 1.16; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.35vw, 4.125rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); letter-spacing: -.025em; }
h3 { font-size: 1.25rem; letter-spacing: -.012em; }
p + p { margin-top: 1rem; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; }
.eyebrow { color: var(--color-primary); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }
.accent { color: var(--color-primary); }
.copy { max-width: 65ch; }
.prose > * + * { margin-top: 1.25rem; }
.section-title { margin-bottom: 2.25rem; }
.section-title p { margin-top: .9rem; max-width: 64ch; color: var(--color-text-muted); }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.section-title-row .section-title { margin-bottom: 0; }
.section-title-row { margin-bottom: 2.25rem; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: 1280px; padding-inline: 16px; margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-alt { background: var(--color-background-alt); }
.section-soft { background: #eef4fa; }
.grid { display: grid; gap: 1.25rem; }
.grid > *, .split > * { min-width: 0; }
.split { display: grid; gap: 2.5rem; align-items: center; }
.split-top { align-items: start; }
.stack { display: grid; gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); }
.card-pad { padding: clamp(1.25rem, 2.5vw, 2rem); }
.inset { padding: clamp(1.5rem, 3.5vw, 3rem); }
.note { padding: 1.25rem 1.5rem; border-left: 3px solid var(--color-primary); background: #f0f5fa; }
.media { position: relative; overflow: hidden; background: #e7edf2; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.media.contain { background: #f3f5f6; }
.media.contain img { object-fit: contain; padding: 1.5rem; }
.media-fallback { display: flex; flex-direction: column; justify-content: flex-end; gap: .75rem; height: 100%; padding: clamp(1.5rem, 3vw, 2.5rem); color: #123e66; background: #e7eff7; }
.media-fallback strong { font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.2; max-width: 20ch; }
.media-fallback span { font-size: .875rem; max-width: 35ch; }
.has-image .media-fallback { visibility: hidden; }
.media-caption { margin-top: .75rem; font-size: .875rem; color: var(--color-text-muted); }
.image-unavailable { visibility: hidden; }

/* ===== BUTTONS ===== */
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .65rem; min-height: 48px; padding: .78rem 1.3rem; border: 1px solid var(--color-primary); border-radius: 8px; background: var(--color-primary); color: #fff; font-size: .9375rem; font-weight: 650; line-height: 1.4; text-align: center; text-decoration: none; transition: background .18s, border-color .18s, box-shadow .18s; }
.button:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); text-decoration: none; }
.button-outline { color: var(--color-primary); background: transparent; border-color: #b8cde1; }
.button-outline:hover { color: var(--color-primary-hover); background: #e9f1f9; border-color: var(--color-primary); }
.button-white { background: #fff; border-color: #fff; color: var(--color-primary); }
.button-white:hover { background: #e4eef8; border-color: #e4eef8; }
.button-outline-white { border-color: #9fbfdd; color: #fff; background: transparent; }
.button-outline-white:hover { background: var(--color-primary-hover); border-color: #fff; }
.icon-button { display: inline-flex; min-width: 44px; min-height: 44px; padding: 10px; align-items: center; justify-content: center; background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--color-primary); color: white; box-shadow: 0 2px 12px var(--color-shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 80px; flex-wrap: wrap; }
.brand { display: block; width: 164px; height: 52px; position: relative; flex: 0 0 auto; color: inherit; text-decoration: none; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.brand-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; font-size: 1.12rem; font-weight: 750; line-height: 1.13; letter-spacing: .045em; }
.brand-fallback small { margin-top: 4px; font-size: .625rem; font-weight: 500; letter-spacing: .2em; }
.brand.has-image .brand-fallback { display: none; }
.header-contact { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.header-phone { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: #fff; text-decoration: none; font-size: .9375rem; font-weight: 650; white-space: nowrap; }
.header-phone span { display: none; }
.header-cta { display: none; }
.site-nav { width: 100%; order: 3; }
.site-nav ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding-block: .5rem 1rem; }
.site-nav a { display: flex; align-items: center; min-height: 44px; padding: .6rem .8rem; color: #fff; font-size: .875rem; text-decoration: none; border-radius: 6px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255,255,255,.13); }

/* ===== MOBILE NAVIGATION ===== */
.menu-toggle { display: none; }
.js .menu-toggle { display: inline-flex; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.menu-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-lines { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: block; }

/* ===== HERO ===== */
.hero { padding-top: clamp(2.5rem, 5vw, 4.75rem); }
.hero-layout { display: grid; gap: 2rem; align-items: stretch; }
.hero-copy { padding-bottom: 1rem; }
.hero-copy h1 { max-width: 17ch; }
.hero-copy .lead { margin-top: 1.5rem; max-width: 40ch; }
.hero-copy .support { margin-top: 1rem; max-width: 57ch; color: #576372; font-size: .9375rem; }
.hero-media { min-height: 350px; aspect-ratio: 1; border-radius: 12px; background: var(--color-primary); }
.hero-media .media-fallback { background: #003d7d; color: #fff; padding-bottom: 7.5rem; }
.hero-media .media-fallback strong { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.hero-stamp { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,50,101,.88); color: #fff; padding: 1.5rem 1.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero-stamp strong { font-size: 1rem; display: block; }
.hero-stamp span { font-size: .8125rem; color: #dce8f5; }
.hero-stamp .icon { width: 32px; height: 32px; }
.hero-footer { display: grid; gap: 1rem; padding-block: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--color-border); }
.hero-footer p { margin: 0; display: flex; gap: .65rem; align-items: center; font-size: .875rem; color: #536270; }
.hero-footer .icon { color: var(--color-primary); width: 22px; height: 22px; }
.page-intro { padding-block: 2rem 3.5rem; background: #f2f6fa; }
.page-intro .lead { max-width: 66ch; margin-top: 1.25rem; color: #536270; }
.page-intro .eyebrow { margin-bottom: .75rem; }

/* ===== PRODUCTS ===== */
.product-card { overflow: hidden; box-shadow: 0 5px 20px rgba(0,35,75,.025); }
.product-card .media { border-radius: 0; aspect-ratio: 16 / 10; }
.product-card h3 { font-size: 1.625rem; margin: .35rem 0 .8rem; }
.product-card .card-pad { padding-top: 1.5rem; }
.product-card p { color: #59636f; }
.product-card .product-type { color: var(--color-primary); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.product-card .price { margin-top: 1.1rem; color: var(--color-text); font-size: .9375rem; }
.product-card .actions { margin-top: 1.1rem; }

/* ===== ADVANTAGES ===== */
.advantage { padding: 1.65rem 0; border-top: 1px solid #d9e1e9; }
.advantage .icon { color: var(--color-primary); margin-bottom: 1.2rem; width: 30px; height: 30px; }
.advantage p { margin-top: .8rem; color: #5b6570; }
.advantages-grid { column-gap: 2.5rem; row-gap: 0; }

/* ===== PEAT ===== */
.peat-brand { height: 65px; width: 240px; max-width: 100%; position: relative; color: var(--color-primary); margin-bottom: 1.5rem; }
.peat-brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.peat-brand .brand-fallback { font-size: 1.6rem; }
.peat-brand.has-image .brand-fallback { display: none; }
.peat-brand small { font-size: .7rem; }
.peat-visuals { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; align-items: center; }
.peat-visuals .media { aspect-ratio: 3 / 4; }
.peat-visuals .media:nth-child(2) { margin-top: 2rem; }
.peat-visuals .media-fallback { padding: 1.25rem; }
.peat-visuals .media-fallback strong { font-size: 1.2rem; }
.spec-table { width: 100%; table-layout: fixed; font-size: .9375rem; }
.spec-table caption { text-align: left; font-size: 1.25rem; font-weight: 650; padding-bottom: 1rem; }
.spec-table th, .spec-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; overflow-wrap: anywhere; }
.spec-table thead th { background: #edf3fa; font-size: .8125rem; color: #45566a; font-weight: 600; }
.spec-table th:first-child { width: 39%; }
.spec-table tbody th { font-weight: 550; }
.spec-table td strong { font-size: 1.125rem; color: var(--color-primary); font-weight: 650; }
.spec-table td .small { display: block; margin-top: .25rem; color: #5b6570; }
.spec-note { margin-top: 1.5rem; font-size: .875rem; color: #5b6570; }
.general-spec { margin-top: 2rem; }
.general-spec h3 { margin-bottom: .7rem; }
.chemistry { margin-top: 2rem; }
.chemistry article { padding: 1.5rem; border: 1px solid var(--color-border); border-radius: 10px; }
.chemistry h3 { margin-bottom: .75rem; font-size: 1.125rem; }
.chemistry .small { margin-top: .75rem; color: #5b6570; }

/* ===== FACTS ===== */
.facts { display: grid; gap: 2rem; padding-block: 2.5rem; }
.fact { padding-left: 1.25rem; border-left: 2px solid #aac6e2; }
.fact strong { display: block; color: var(--color-primary); font-size: clamp(2.25rem, 4vw, 3.4rem); line-height: 1.15; font-weight: 600; letter-spacing: -.035em; }
.fact span { display: block; margin-top: .6rem; color: #5b6570; font-size: .875rem; max-width: 24ch; }

/* ===== VEHICLES ===== */
.vehicle-grid .media { aspect-ratio: 4 / 3; }
.vehicle-grid .media-fallback { padding: 1.25rem; }
.vehicle-grid .media-fallback strong { font-size: 1.1rem; }
.vehicle-copy { max-width: 62ch; }

/* ===== PROCESS ===== */
.process-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 1.5rem; }
.process-item { border-top: 1px solid #bdcfe0; padding-top: 1.25rem; }
.step-number { display: block; color: var(--color-primary); font-size: 2.25rem; font-weight: 500; line-height: 1.1; margin-bottom: 1.5rem; }
.process-item p { margin-top: .75rem; color: #5b6570; }
.delivery-list { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.delivery-list li { border-top: 1px solid #d5e1ed; padding: 1rem 0; }
.delivery-list strong { display: block; margin-bottom: .25rem; }
.delivery-list span { color: #5b6570; }
.timeline { display: grid; gap: 1.5rem; margin-top: 2rem; }
.timeline-item { border-left: 3px solid var(--color-primary); padding-left: 1.25rem; }
.timeline-item strong { display: block; color: var(--color-primary); font-size: 1.5rem; }
.timeline-item p { margin-top: .4rem; }

/* ===== DOCUMENTS ===== */
.document-card { padding: 1.75rem; display: flex; flex-direction: column; align-items: flex-start; }
.document-top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 1.5rem; color: var(--color-primary); }
.document-top .icon { width: 32px; height: 32px; }
.file-type { font-size: .8125rem; border: 1px solid #c5d7e9; padding: .15rem .55rem; border-radius: 4px; letter-spacing: .07em; }
.document-card h3 { font-size: 1.125rem; margin-bottom: 1.5rem; }
.document-card .button { margin-top: auto; }

/* ===== GALLERY ===== */
.gallery-grid { gap: 1rem; }
.gallery-grid .media { aspect-ratio: 4 / 3; }
.gallery-grid .media-fallback { padding: 1.5rem; }
.gallery-grid .media-fallback strong { font-size: 1.125rem; }

/* ===== CONTACTS ===== */
.contact-cta { background: var(--color-primary); color: #fff; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.contact-cta h2 { max-width: 24ch; }
.contact-cta p { margin-top: 1rem; max-width: 54ch; color: #dae7f5; }
.contact-cta .actions { margin-top: 1.5rem; }
.contact-cta .eyebrow { color: #d3e5f7; }
.contact-direct { display: grid; gap: .5rem; align-content: center; }
.contact-direct a { color: inherit; font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 550; line-height: 1.35; min-height: 44px; overflow-wrap: anywhere; text-decoration: none; }
.contact-direct a + a { font-size: clamp(1rem, 2.2vw, 1.35rem); }
.contact-block + .contact-block { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.contact-block h2, .contact-block h3 { font-size: 1.125rem; margin-bottom: .7rem; }
.contact-block .large-contact { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.3; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-block .email-contact { font-size: clamp(1rem, 2vw, 1.25rem); }
.contact-address { font-style: normal; }
.legal-list { display: grid; gap: 0; margin-top: 1rem; }
.legal-list > div { padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
.legal-list dt { color: #5b6570; font-size: .875rem; margin-bottom: .3rem; }
.legal-list dd { overflow-wrap: anywhere; }
.legal-list a { display: inline-block; min-height: 44px; padding-block: .5rem; }
.map-card { background: #eef4fa; border: 1px solid #d4e1ed; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); }
.map-card > .icon { width: 40px; height: 40px; color: var(--color-primary); margin-bottom: 1.5rem; }
.map-card h2 { font-size: 1.75rem; margin-bottom: 1rem; }

/* ===== FOOTER ===== */
.site-footer { background: var(--color-primary); color: white; padding-top: 3.5rem; border-top: 1px solid rgba(255,255,255,.2); }
.footer-grid { display: grid; gap: 2.25rem; padding-bottom: 3rem; }
.footer-brand p { margin-top: 1rem; max-width: 29ch; font-size: .875rem; color: #d6e5f3; }
.footer-column h2 { font-size: .875rem; font-weight: 600; color: #c8def2; margin-bottom: .8rem; letter-spacing: .025em; }
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column a { display: inline-flex; align-items: center; min-height: 44px; color: white; font-size: .9375rem; text-decoration: none; overflow-wrap: anywhere; max-width: 100%; }
.footer-column a:hover { text-decoration: underline; }
.footer-column p { font-size: .875rem; color: #d6e5f3; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.22); padding-block: 1.35rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8125rem; color: #d6e5f3; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs { padding-block: 1.25rem; font-size: .875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .7rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; gap: .7rem; color: #5b6570; }
.breadcrumbs li + li::before { content: "/"; color: #98a4b0; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }

/* ===== PRODUCT PAGE ===== */
.product-hero { padding-block: 1.5rem 4rem; }
.product-hero h1 { margin-bottom: 1.5rem; }
.product-hero .lead { margin-bottom: 1rem; }
.product-hero .price { font-weight: 600; margin-top: 1.5rem; }
.application-list { display: grid; gap: 1.5rem; margin-top: 2rem; }
.application-list article { border-top: 1px solid #cddbe8; padding-top: 1.5rem; }
.application-list .icon { color: var(--color-primary); margin-bottom: 1rem; }
.application-list p { color: #5b6570; margin-top: .75rem; }
.service-card .icon { color: var(--color-primary); width: 32px; height: 32px; margin-bottom: 1.5rem; }
.service-card p { margin-top: 1rem; color: #5b6570; }

/* ===== ERROR PAGE ===== */
.message-page { min-height: 55vh; padding-block: 3rem 5rem; }
.message-code { font-size: clamp(4rem, 15vw, 8rem); line-height: 1; font-weight: 650; color: #c3d7ed; margin-bottom: 1.5rem; letter-spacing: -.05em; }
.message-page h1 { max-width: 22ch; }
.message-page p { max-width: 58ch; margin-top: 1.5rem; color: #5b6570; }

/* ===== RESPONSIVE ===== */
@media (min-width: 480px) {
  .hero-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vehicle-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-phone span { display: inline; }
  .header-phone .icon { display: none; }
}
@media (min-width: 768px) {
  .container { padding-inline: 24px; }
  .grid-2, .chemistry, .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-layout { grid-template-columns: 1.12fr 1fr; gap: 2rem; }
  .hero-copy h1 { font-size: clamp(2.25rem, 4.35vw, 4.125rem); }
  .hero-media { min-height: 100%; aspect-ratio: auto; }
  .split { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .legal-list > div { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; }
  .legal-list dt { margin-bottom: 0; }
  .application-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .container { padding-inline: 32px; }
  .grid-3, .advantages-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4, .vehicle-grid, .process-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.25fr .8fr .8fr 1.15fr; }
  .hero-layout { gap: 3rem; }
  .split { gap: 4rem; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1280px) {
  .container { padding-inline: 40px; }
  .header-inner { flex-wrap: nowrap; gap: 1rem; min-height: 88px; }
  .brand { width: 162px; }
  .header-contact { order: 2; gap: .85rem; }
  .site-nav, .js .site-nav { display: block; width: auto; margin-left: auto; order: 0; }
  .site-nav ul { display: flex; gap: 0; padding: 0; }
  .site-nav a { padding-inline: .62rem; font-size: .875rem; white-space: nowrap; }
  .js .menu-toggle { display: none; }
  .header-cta { padding-inline: .85rem; font-size: .875rem; }
  .header-phone { font-size: .875rem; }
}
@media (max-width: 479px) {
  .spec-table thead { display: none; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table tr { padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
  .spec-table th, .spec-table td { border: 0; padding: .3rem 0; }
  .spec-table th:first-child { width: 100%; }
  .spec-table tbody th { font-weight: 650; margin-bottom: .25rem; }
  .spec-table td::before { content: attr(data-label) ": "; color: #5b6570; font-size: .875rem; }
  .hero-media { min-height: 300px; }
  .peat-visuals { gap: .5rem; }
  .peat-visuals .media-fallback { padding: .85rem; }
  .peat-visuals .media-fallback span { font-size: .8125rem; }
  .actions .button { flex: 1 1 100%; }
  .card-pad { padding: 1.25rem; }
}

/* ===== ACCESSIBILITY ===== */
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-180%); background: #fff; color: #003d7d; border: 2px solid #003d7d; padding: .7rem 1rem; border-radius: 6px; min-height: 44px; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #e2a500; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .actions, .skip-link { display: none; }
  .section { padding-block: 1.5rem; }
  .card, table, figure { break-inside: avoid; }
  body { color: #000; background: #fff; }
}

/* ===== DESIGN REFRESH 2026 ===== */
:root {
  --font-sans: "Geologica";
  --glass-white: rgba(255, 255, 255, .72);
  --glass-white-strong: rgba(255, 255, 255, .88);
  --glass-blue: rgba(0, 77, 157, .78);
  --glass-border: rgba(255, 255, 255, .36);
  --soft-blue-border: rgba(0, 77, 157, .14);
  --shadow-soft: 0 22px 60px rgba(0, 45, 92, .10);
  --shadow-hover: 0 30px 70px rgba(0, 45, 92, .17);
  --radius: 18px;
}

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 8% 8%, rgba(0, 77, 157, .055), transparent 28rem),
    radial-gradient(circle at 92% 38%, rgba(0, 77, 157, .04), transparent 24rem),
    var(--color-background);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: auto -8rem 8vh auto;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(0, 77, 157, .055);
  filter: blur(70px);
  pointer-events: none;
}

h1, h2, h3, .button, .eyebrow, .site-nav, .fact strong, .step-number {
  font-family: var(--font-sans);
}

h1, h2, h3 {
  font-variation-settings: "wght" 620;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .42rem .72rem;
  margin-left: -.72rem;
  border-radius: 999px;
  background: rgba(0, 77, 157, .07);
  letter-spacing: .105em;
}

.eyebrow::before {
  content: "";
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(0, 77, 157, .08);
}

/* ===== GLASS HEADER ===== */
.site-header {
  background: rgba(0, 61, 125, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 8px 32px rgba(0, 30, 65, .14);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

.site-nav a,
.icon-button,
.button-white {
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transform: translateY(-1px);
}

/* ===== RUNNING LINE ===== */
.marquee {
  position: relative;
  z-index: 19;
  overflow: hidden;
  background: rgba(246, 250, 254, .88);
  border-bottom: 1px solid rgba(0, 77, 157, .12);
  color: #17476f;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: clamp(1.5rem, 8vw, 8rem);
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f7fbff 10%, rgba(247, 251, 255, 0));
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f7fbff 10%, rgba(247, 251, 255, 0));
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: running;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-shrink: 0;
  padding: .72rem .55rem;
  white-space: nowrap;
}

.marquee-group span {
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.marquee-group span:nth-child(even) {
  color: rgba(0, 77, 157, .34);
  font-size: .62rem;
}

@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* ===== AMBIENT SECTIONS ===== */
.hero,
.page-intro,
.product-hero,
.section-alt,
.section-soft,
.contact-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before,
.page-intro::before,
.product-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  top: -20rem;
  right: -10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 77, 157, .14), rgba(0, 77, 157, 0) 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 20rem;
  height: 20rem;
  left: -9rem;
  bottom: -10rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 77, 157, .12);
  box-shadow: 0 0 0 42px rgba(0, 77, 157, .025), 0 0 0 84px rgba(0, 77, 157, .018);
  pointer-events: none;
}

.section-alt {
  background:
    linear-gradient(135deg, rgba(244, 248, 252, .92), rgba(255, 255, 255, .72)),
    var(--color-background-alt);
}

.section-soft {
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 77, 157, .10), transparent 24rem),
    linear-gradient(135deg, rgba(237, 245, 252, .9), rgba(247, 250, 253, .8));
}

/* ===== GLASS SURFACES ===== */
.card,
.chemistry article,
.map-card,
.note {
  background: var(--glass-white);
  border-color: var(--soft-blue-border);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  backdrop-filter: blur(16px) saturate(115%);
}

.card,
.chemistry article,
.document-card,
.map-card,
.media {
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .28s ease;
}

.card:hover,
.chemistry article:hover,
.document-card:hover,
.map-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 77, 157, .24);
}

.media {
  box-shadow: 0 18px 44px rgba(0, 38, 79, .10);
}

.media img {
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}

.media:hover img {
  transform: scale(1.035);
}

/* ===== HERO MOTION ===== */
.hero {
  padding-top: clamp(3rem, 6vw, 5.5rem);
  background: linear-gradient(180deg, rgba(247, 251, 255, .72), rgba(255, 255, 255, .92));
}

.hero-layout {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  max-width: 15.5ch;
}

.hero-copy .accent {
  position: relative;
  display: inline;
  background: linear-gradient(100deg, #004d9d 0%, #0c6bc7 48%, #004d9d 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: accent-flow 8s ease-in-out infinite;
}

@keyframes accent-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-media {
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 32px 75px rgba(0, 45, 92, .18);
  transform: perspective(1000px) rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg)) translateY(var(--hero-lift, 0px));
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .3s ease;
}

.hero-media:hover {
  --hero-lift: -5px;
  box-shadow: 0 38px 85px rgba(0, 45, 92, .23);
}

.hero-media img {
  animation: hero-breathe 12s ease-in-out infinite alternate;
}

@keyframes hero-breathe {
  from { transform: scale(1.01); }
  to { transform: scale(1.055); }
}

.hero-stamp {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 14px;
  background: rgba(0, 49, 100, .70);
  box-shadow: 0 18px 40px rgba(0, 25, 55, .24);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

.hero-footer {
  border-top-color: rgba(0, 77, 157, .14);
}

.hero-footer p {
  padding: .65rem .8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .60);
  border: 1px solid rgba(0, 77, 157, .08);
}

/* ===== BUTTON MOTION ===== */
.button {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 77, 157, .12);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -45%;
  width: 38%;
  transform: rotate(18deg) translateX(-180%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transition: transform .55s ease;
  pointer-events: none;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 77, 157, .20);
}

.button:hover::after {
  transform: rotate(18deg) translateX(480%);
}

.button-outline {
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ===== ADVANTAGES / FACTS / PROCESS ===== */
.advantage,
.process-item,
.fact {
  position: relative;
}

.advantage {
  padding: 1.65rem 1.35rem;
  border: 1px solid rgba(0, 77, 157, .10);
  border-radius: 16px;
  background: rgba(255, 255, 255, .48);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.advantage:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .78);
  border-color: rgba(0, 77, 157, .22);
}

.advantage .icon {
  padding: .45rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 77, 157, .08);
}

.fact {
  padding: 1.15rem 1.25rem;
  border-left: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .56);
  border: 1px solid rgba(0, 77, 157, .09);
  box-shadow: 0 12px 32px rgba(0, 46, 95, .055);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.fact strong {
  background: linear-gradient(115deg, #004d9d, #1874cc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process-item {
  padding: 1.4rem;
  border: 1px solid rgba(0, 77, 157, .10);
  border-radius: 16px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.step-number {
  color: rgba(0, 77, 157, .32);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  letter-spacing: -.055em;
}

/* ===== PRODUCT / DOCUMENT DETAILS ===== */
.product-card {
  box-shadow: var(--shadow-soft);
}

.document-card .document-top .icon,
.service-card .icon {
  padding: .45rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 77, 157, .08);
}

.file-type {
  background: rgba(0, 77, 157, .06);
}

.spec-table {
  overflow: hidden;
  border-radius: 14px;
}

.spec-table thead th {
  background: rgba(0, 77, 157, .075);
}

/* ===== CONTACT CTA ===== */
.contact-cta {
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.18), transparent 25rem),
    radial-gradient(circle at 86% 115%, rgba(37,126,209,.55), transparent 28rem),
    linear-gradient(135deg, #003d7d 0%, #004d9d 55%, #075fae 100%);
}

.contact-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  right: -8rem;
  top: -10rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255,255,255,.035), 0 0 0 88px rgba(255,255,255,.025);
}

.contact-direct {
  padding: 1.4rem;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* ===== FOOTER REFRESH ===== */
.site-footer {
  background:
    radial-gradient(circle at 88% 0%, rgba(70,145,218,.30), transparent 26rem),
    #003d7d;
}

/* ===== SCROLL REVEAL ===== */
.js .motion-reveal {
  opacity: 0;
  transform: translateY(22px) scale(.985);
  transition:
    opacity .7s cubic-bezier(.2,.7,.2,1),
    transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===== RESPONSIVE REFINEMENTS ===== */
@media (max-width: 1279px) {
  .js .site-nav.is-open {
    padding: .6rem;
    margin-bottom: .75rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    background: rgba(0, 48, 99, .62);
    box-shadow: 0 20px 42px rgba(0, 20, 45, .20);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
}

@media (max-width: 767px) {
  .marquee-group { gap: .8rem; padding-block: .62rem; }
  .marquee-group span { font-size: .72rem; }
  .hero-stamp { left: .65rem; right: .65rem; bottom: .65rem; padding: 1.05rem 1.1rem; }
  .advantage, .process-item { padding: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .hero-copy .accent { animation: none; }
  .hero-media img { animation: none; }
  .js .motion-reveal { opacity: 1; transform: none; }
  .button::after { display: none; }
}


/* ===== DUAL COLOR LOGOS IN HEADER ===== */
.header-brands {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex: 0 0 auto;
  min-height: 58px;
  padding: .42rem .58rem .42rem .72rem;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 15px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 30px rgba(0, 28, 58, .12), inset 0 1px 0 rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}

.header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
  border-radius: 10px;
  transition: transform .2s ease, background-color .2s ease;
}

.header-logo:hover {
  background: rgba(0, 77, 157, .055);
  transform: translateY(-1px);
}

.header-logo img {
  display: block;
  max-width: 100%;
  object-fit: contain;
  /* Логотипы цветные: не применять filter, opacity или mix-blend-mode. */
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.header-logo-main {
  width: clamp(118px, 11vw, 150px);
}

.header-logo-main img {
  width: 100%;
  height: auto;
}

.header-logo-agro {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.header-logo-agro img {
  width: 39px;
  height: 39px;
}

.header-brand-divider {
  width: 1px;
  height: 34px;
  flex: 0 0 1px;
  background: linear-gradient(to bottom, transparent, rgba(0,77,157,.26), transparent);
}

@media (max-width: 1279px) {
  .header-brands {
    padding: .34rem .48rem .34rem .58rem;
    border-radius: 13px;
  }

  .header-logo-main {
    width: clamp(112px, 18vw, 142px);
  }

  .header-logo-agro {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .header-logo-agro img {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 479px) {
  .header-inner {
    gap: .45rem;
  }

  .header-brands {
    gap: .42rem;
    min-height: 50px;
    padding: .28rem .38rem .28rem .48rem;
    border-radius: 12px;
  }

  .header-logo {
    min-width: 36px;
    min-height: 36px;
  }

  .header-logo-main {
    width: 104px;
  }

  .header-logo-agro {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .header-logo-agro img {
    width: 31px;
    height: 31px;
  }

  .header-brand-divider {
    height: 28px;
  }
}

@media (min-width: 1280px) {
  .header-brands {
    margin-right: .1rem;
  }

  .site-nav a {
    padding-inline: .53rem;
  }
}

/* ===== COMPACT LIGHT HEADER OVERRIDE ===== */
.site-header {
  background: rgba(255, 255, 255, .74);
  color: var(--color-text);
  border-bottom: 1px solid rgba(16, 24, 40, .08);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
}

.header-inner {
  min-height: 66px;
  gap: .6rem;
  padding-block: .35rem;
}

.header-brands {
  min-height: 48px;
  padding: .2rem .38rem .2rem .46rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(0, 77, 157, .12);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255,255,255,.72);
}

.header-logo {
  min-width: 36px;
  min-height: 36px;
  border-radius: 8px;
}

.header-logo-main {
  width: clamp(100px, 10vw, 132px);
}

.header-logo-agro {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.header-logo-agro img {
  width: 30px;
  height: 30px;
}

.header-brand-divider {
  height: 24px;
  background: linear-gradient(to bottom, transparent, rgba(0,77,157,.22), transparent);
}

.site-header .site-nav a,
.site-header .header-phone,
.site-header .menu-toggle,
.site-header .icon-button {
  color: var(--color-text);
}

.site-header .site-nav a {
  min-height: 40px;
  padding: .48rem .72rem;
  border-radius: 8px;
  font-size: .84rem;
}

.site-header .site-nav a:hover,
.site-header .site-nav a[aria-current="page"] {
  background: rgba(0, 77, 157, .08);
  box-shadow: inset 0 0 0 1px rgba(0, 77, 157, .08);
}

.site-header .icon-button {
  border-color: rgba(0, 77, 157, .18);
  background: rgba(255,255,255,.45);
}

.header-contact {
  gap: .55rem;
}

.header-phone {
  min-width: 40px;
  min-height: 40px;
  font-size: .86rem;
  font-weight: 600;
}

.site-header .header-cta.button-white {
  min-height: 40px;
  padding: .64rem .95rem;
  border-color: rgba(0, 77, 157, .12);
  background: rgba(0, 77, 157, .08);
  color: var(--color-primary);
  box-shadow: none;
}

.site-header .header-cta.button-white:hover {
  background: rgba(0, 77, 157, .12);
  border-color: rgba(0, 77, 157, .18);
}

@media (min-width: 1024px) {
  .header-inner {
    min-height: 72px;
    gap: .85rem;
  }

  .site-nav a {
    padding-inline: .56rem;
  }
}

@media (max-width: 1023px) {
  .site-nav ul {
    padding: .35rem 0 .75rem;
  }
}

@media (max-width: 479px) {
  .header-inner {
    min-height: 60px;
    gap: .4rem;
    padding-block: .28rem;
  }

  .header-brands {
    min-height: 44px;
    gap: .34rem;
    padding: .15rem .28rem .15rem .36rem;
    border-radius: 10px;
  }

  .header-logo-main {
    width: 92px;
  }

  .header-logo-agro {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .header-logo-agro img {
    width: 27px;
    height: 27px;
  }

  .header-brand-divider {
    height: 20px;
  }

  .header-phone,
  .site-header .header-cta.button-white,
  .site-header .icon-button,
  .site-header .site-nav a {
    min-height: 38px;
  }
}

/* ===== HEADER REFINEMENT: UNIFIED BACKDROP + MODERN CONTROLS ===== */
.site-header {
  background: rgba(255, 255, 255, .78);
  border-bottom: 1px solid rgba(0, 77, 157, .10);
  box-shadow: 0 10px 34px rgba(15, 23, 42, .07);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.header-inner {
  min-height: 64px;
  padding-block: .28rem;
}

/* Логотипы находятся прямо на общей подложке шапки. */
.header-brands {
  min-height: 0;
  gap: .42rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-logo {
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 7px;
  background: transparent;
}

.header-logo:hover {
  background: transparent;
  transform: translateY(-1px) scale(1.015);
}

.header-logo-main {
  width: clamp(82px, 8vw, 106px);
}

.header-logo-agro {
  width: 31px;
  height: 31px;
  flex-basis: 31px;
}

.header-logo-agro img {
  width: 29px;
  height: 29px;
}

.header-brand-divider {
  height: 22px;
  background: linear-gradient(to bottom, transparent, rgba(0, 77, 157, .24), transparent);
}

/* Навигация: современные спокойные pill-кнопки. */
.site-header .site-nav a {
  position: relative;
  min-height: 38px;
  padding: .46rem .68rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #273548;
  font-size: .81rem;
  font-weight: 590;
  letter-spacing: -.01em;
  background: transparent;
  box-shadow: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.site-header .site-nav a:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, .74);
  border-color: rgba(0, 77, 157, .10);
  box-shadow: 0 7px 18px rgba(15, 23, 42, .07);
  transform: translateY(-1px);
}

.site-header .site-nav a[aria-current="page"] {
  color: var(--color-primary);
  background: rgba(0, 77, 157, .075);
  border-color: rgba(0, 77, 157, .10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
  transform: none;
}

/* Телефон выглядит как отдельная компактная glass-кнопка. */
.site-header .header-phone {
  min-height: 38px;
  padding: .43rem .7rem;
  border: 1px solid rgba(0, 77, 157, .11);
  border-radius: 999px;
  color: #24405d;
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.site-header .header-phone:hover {
  color: var(--color-primary);
  border-color: rgba(0, 77, 157, .20);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 7px 18px rgba(15, 23, 42, .07);
  transform: translateY(-1px);
}

/* Основной CTA — более выразительная современная синяя capsule-кнопка. */
.site-header .header-cta.button-white {
  position: relative;
  overflow: hidden;
  min-height: 38px;
  padding: .55rem .92rem;
  border: 1px solid rgba(0, 61, 125, .14);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0058b5 0%, #004d9d 52%, #003f82 100%);
  box-shadow: 0 7px 18px rgba(0, 77, 157, .18), inset 0 1px 0 rgba(255,255,255,.20);
  font-weight: 650;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.site-header .header-cta.button-white::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -65%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg);
  transition: left .45s ease;
  pointer-events: none;
}

.site-header .header-cta.button-white:hover {
  color: #fff;
  border-color: rgba(0, 61, 125, .16);
  background: linear-gradient(135deg, #0063c7 0%, #0053aa 52%, #00448d 100%);
  box-shadow: 0 10px 24px rgba(0, 77, 157, .24), inset 0 1px 0 rgba(255,255,255,.24);
  transform: translateY(-1px);
  filter: saturate(1.04);
}

.site-header .header-cta.button-white:hover::before {
  left: 130%;
}

.site-header .icon-button,
.site-header .menu-toggle {
  min-width: 38px;
  min-height: 38px;
  padding: 8px;
  border: 1px solid rgba(0, 77, 157, .12);
  border-radius: 999px;
  color: #24405d;
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.site-header .icon-button:hover,
.site-header .menu-toggle:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, .88);
  border-color: rgba(0, 77, 157, .20);
}

@media (min-width: 1024px) {
  .header-inner {
    min-height: 66px;
    gap: .72rem;
  }

  .site-header .site-nav a {
    padding-inline: .62rem;
  }
}

@media (max-width: 1023px) {
  .site-nav ul {
    gap: .35rem;
  }

  .site-header .site-nav a {
    border-radius: 12px;
    background: rgba(255, 255, 255, .52);
  }
}

@media (max-width: 479px) {
  .header-inner {
    min-height: 56px;
    padding-block: .22rem;
  }

  .header-brands {
    gap: .3rem;
  }

  .header-logo-main {
    width: 76px;
  }

  .header-logo-agro {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }

  .header-logo-agro img {
    width: 25px;
    height: 25px;
  }

  .header-brand-divider {
    height: 18px;
  }

  .site-header .header-phone,
  .site-header .header-cta.button-white,
  .site-header .icon-button,
  .site-header .menu-toggle,
  .site-header .site-nav a {
    min-height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .site-nav a,
  .site-header .header-phone,
  .site-header .header-cta.button-white,
  .header-logo {
    transition: none;
  }

  .site-header .header-cta.button-white::before {
    display: none;
  }
}

/* ===== EYEBROW + GLOBAL BUTTONS REFINEMENT ===== */
.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .82rem;
  padding: .62rem 1.18rem .62rem 1.05rem;
  margin-left: 0;
  border: 1px solid rgba(0, 77, 157, .08);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .72) 0%, rgba(229, 238, 248, .92) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 8px 24px rgba(46, 95, 148, .08);
  color: #0e4f9d;
  letter-spacing: .12em;
  font-size: .83rem;
  line-height: 1;
  white-space: nowrap;
}

.eyebrow::before {
  width: .66rem;
  height: .66rem;
  flex: 0 0 .66rem;
  background: linear-gradient(180deg, #1b66bc 0%, #004d9d 100%);
  box-shadow: 0 0 0 8px rgba(0, 77, 157, .07), 0 3px 8px rgba(0, 77, 157, .16);
}

.page-intro .eyebrow,
.hero .eyebrow,
.contact-cta .eyebrow {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.button,
.button-white,
.button-outline,
.button-outline-white {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  padding: .8rem 1.18rem;
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: -.01em;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255,255,255,.16);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, filter .2s ease;
}

.button::before,
.button-white::before,
.button-outline::before,
.button-outline-white::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -65%;
  width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.20), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
  pointer-events: none;
}

.button:hover::before,
.button-white:hover::before,
.button-outline:hover::before,
.button-outline-white:hover::before {
  left: 135%;
}

.button,
.button-white {
  border: 1px solid rgba(0, 61, 125, .14);
  background: linear-gradient(135deg, #005fc2 0%, #004d9d 50%, #003f82 100%);
  color: #fff;
}

.button:hover,
.button-white:hover {
  color: #fff;
  background: linear-gradient(135deg, #0068d4 0%, #0058b4 50%, #00448d 100%);
  border-color: rgba(0, 61, 125, .18);
  box-shadow: 0 12px 26px rgba(0, 77, 157, .22), inset 0 1px 0 rgba(255,255,255,.22);
  transform: translateY(-2px);
  filter: saturate(1.03);
}

.button-outline,
.button-outline-white {
  border: 1px solid rgba(0, 77, 157, .14);
  background: rgba(255, 255, 255, .66);
  color: #1f4f84;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .06), inset 0 1px 0 rgba(255,255,255,.72);
}

.button-outline:hover,
.button-outline-white:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, .92);
  border-color: rgba(0, 77, 157, .22);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255,255,255,.82);
  transform: translateY(-2px);
}

.actions .button,
.actions .button-white,
.actions .button-outline,
.actions .button-outline-white {
  width: auto;
}

@media (max-width: 767px) {
  .eyebrow {
    gap: .68rem;
    padding: .56rem .98rem .56rem .92rem;
    font-size: .74rem;
    letter-spacing: .10em;
    white-space: normal;
  }

  .eyebrow::before {
    width: .58rem;
    height: .58rem;
    flex-basis: .58rem;
    box-shadow: 0 0 0 6px rgba(0, 77, 157, .07), 0 3px 8px rgba(0, 77, 157, .16);
  }

  .button,
  .button-white,
  .button-outline,
  .button-outline-white {
    min-height: 44px;
    padding: .78rem 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button-white,
  .button-outline,
  .button-outline-white,
  .eyebrow {
    transition: none;
  }

  .button::before,
  .button-white::before,
  .button-outline::before,
  .button-outline-white::before {
    display: none;
  }
}

/* ===== PROCESS STEP NUMBER SEQUENCE ===== */
.process-list .step-number {
  color: rgba(0, 77, 157, .22);
  text-shadow: none;
  filter: saturate(.9);
  transform-origin: left center;
  animation: step-number-cycle 8s ease-in-out infinite;
}

.process-list .process-item:nth-child(1) .step-number { animation-delay: 0s; }
.process-list .process-item:nth-child(2) .step-number { animation-delay: 2s; }
.process-list .process-item:nth-child(3) .step-number { animation-delay: 4s; }
.process-list .process-item:nth-child(4) .step-number { animation-delay: 6s; }

@keyframes step-number-cycle {
  0%, 18%, 100% {
    color: rgba(0, 77, 157, .22);
    text-shadow: none;
    filter: saturate(.9);
    transform: scale(1);
  }
  6%, 12% {
    color: rgba(0, 77, 157, .92);
    text-shadow: 0 0 18px rgba(0, 77, 157, .16), 0 0 36px rgba(24, 116, 204, .12);
    filter: saturate(1.08);
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-list .step-number {
    animation: none;
    color: rgba(0, 77, 157, .32);
    transform: none;
    text-shadow: none;
    filter: none;
  }
}

/* ===== PRODUCT CARD BUTTON ALIGNMENT ===== */
.product-card {
  display: flex;
  flex-direction: column;
}

.product-card .card-pad {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
}

.product-card .price {
  margin-top: auto;
  padding-top: 1rem;
}

.product-card .actions {
  margin-top: 1.1rem;
  padding-top: .1rem;
}

/* ===== CONTACT CTA EYEBROW READABILITY ===== */
.contact-cta .eyebrow {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(8, 43, 86, .58) 0%, rgba(11, 54, 107, .72) 100%);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 24px rgba(0, 25, 58, .18);
}

.contact-cta .eyebrow::before {
  background: linear-gradient(180deg, #9ac7ff 0%, #d6e9ff 100%);
  box-shadow: 0 0 0 8px rgba(255,255,255,.08), 0 4px 10px rgba(0,0,0,.18);
}

/* ===== DELIVERY LINES SEQUENTIAL HIGHLIGHT ===== */
.delivery-list li {
  position: relative;
  border-top: 0;
  padding: 1rem 0;
}

.delivery-list li::before,
.delivery-list li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
}

.delivery-list li::before {
  background: rgba(0, 77, 157, .14);
}

.delivery-list li::after {
  right: auto;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(74, 144, 226, 0) 0%, rgba(74, 144, 226, .95) 20%, rgba(0, 77, 157, .98) 50%, rgba(74, 144, 226, .95) 80%, rgba(74, 144, 226, 0) 100%);
  box-shadow: 0 0 10px rgba(0, 77, 157, .24);
  animation: delivery-line-cycle 6s ease-in-out infinite;
}

.delivery-list li:nth-child(1)::after { animation-delay: 0s; }
.delivery-list li:nth-child(2)::after { animation-delay: 2s; }
.delivery-list li:nth-child(3)::after { animation-delay: 4s; }

@keyframes delivery-line-cycle {
  0%, 20%, 100% {
    transform: scaleX(0);
    opacity: 0;
  }
  7%, 14% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .delivery-list li::after {
    animation: none;
    transform: none;
    opacity: 0;
  }
}

/* ===== DELIVERY LINES: SMOOTHER SEQUENTIAL FLOW ===== */
.delivery-list li::before,
.delivery-list li::after {
  height: 2px;
  border-radius: 999px;
}

.delivery-list li::before {
  background: rgba(0, 77, 157, .11);
}

.delivery-list li::after {
  width: 100%;
  opacity: 0;
  transform: none;
  background: linear-gradient(
    90deg,
    rgba(0, 77, 157, 0) 0%,
    rgba(63, 137, 218, .18) 24%,
    rgba(31, 111, 198, .82) 43%,
    rgba(0, 77, 157, 1) 50%,
    rgba(31, 111, 198, .82) 57%,
    rgba(63, 137, 218, .18) 76%,
    rgba(0, 77, 157, 0) 100%
  );
  background-size: 230% 100%;
  background-position: 180% 0;
  box-shadow: 0 0 12px rgba(0, 77, 157, .22);
  animation: delivery-line-flow 9s cubic-bezier(.45, 0, .2, 1) infinite;
  will-change: opacity, background-position;
}

.delivery-list li:nth-child(1)::after { animation-delay: 0s; }
.delivery-list li:nth-child(2)::after { animation-delay: 3s; }
.delivery-list li:nth-child(3)::after { animation-delay: 6s; }

@keyframes delivery-line-flow {
  0%, 3% {
    opacity: 0;
    background-position: 180% 0;
  }
  7% {
    opacity: .48;
  }
  13% {
    opacity: 1;
  }
  25% {
    opacity: .92;
    background-position: -80% 0;
  }
  31% {
    opacity: 0;
    background-position: -130% 0;
  }
  100% {
    opacity: 0;
    background-position: -130% 0;
  }
}

/* ===== FINAL UI REFINEMENTS ===== */
/* Eyebrow pills: clean text-only capsules, without the decorative dot. */
.eyebrow {
  gap: 0;
  padding-inline: 1.05rem;
}

.eyebrow::before {
  content: none;
  display: none;
}

/* Product cards: keep CTA rows aligned without a large empty vertical gap. */
.product-card .card-pad {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  height: auto;
}

.product-card h3 + p {
  min-height: 4.9em;
}

.product-card .price {
  margin-top: .9rem;
  padding-top: 0;
}

.product-card .actions {
  margin-top: 1rem;
}

/* Continuous media rails for vehicles and production galleries. */
.media-strip-viewport {
  position: relative;
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding-block: .35rem .8rem;
  isolation: isolate;
  -webkit-mask-image: none;
  mask-image: none;
  clip-path: inset(0);
}

.media-strip-track {
  display: flex;
  width: max-content;
  animation: media-strip-scroll 34s linear infinite;
  will-change: transform;
}

.lightbox-open .media-strip-track {
  animation-play-state: paused;
}

.gallery-grid .media-strip-track {
  animation-duration: 42s;
}

.media-strip-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
  padding-right: 1rem;
}

.vehicle-grid.media-strip-viewport .media,
.gallery-grid.media-strip-viewport .media {
  flex: 0 0 clamp(260px, 31vw, 430px);
  width: clamp(260px, 31vw, 430px);
  margin: 0;
  opacity: 1;
  transform: none;
  border: 1px solid rgba(0, 77, 157, .10);
  border-radius: 18px;
  background: rgba(255,255,255,.65);
  box-shadow: 0 14px 32px rgba(25, 57, 92, .10);
  transition: border-color .25s ease, box-shadow .25s ease, filter .25s ease;
}

.vehicle-grid.media-strip-viewport .media {
  aspect-ratio: 16 / 10;
}

.gallery-grid.media-strip-viewport .media {
  flex-basis: clamp(250px, 28vw, 390px);
  width: clamp(250px, 28vw, 390px);
  aspect-ratio: 4 / 3;
}

.gallery-grid.media-strip-viewport .media:nth-child(3n + 2) {
  transform: translateY(.45rem);
}

.media-strip-viewport .media img {
  transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}

.media-strip-viewport .media:hover {
  border-color: rgba(0, 77, 157, .20);
  box-shadow: 0 18px 38px rgba(25, 57, 92, .14);
}

.media-strip-viewport .media:hover img {
  transform: scale(1.035);
  filter: saturate(1.03) contrast(1.015);
}

@keyframes media-strip-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 767px) {
  .product-card h3 + p {
    min-height: 0;
  }

  .vehicle-grid.media-strip-viewport .media,
  .gallery-grid.media-strip-viewport .media {
    flex-basis: min(82vw, 340px);
    width: min(82vw, 340px);
  }

  .media-strip-group {
    gap: .75rem;
    padding-right: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .delivery-list li::after {
    animation: none;
    opacity: 0;
  }

  .media-strip-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }

  .media-strip-track {
    animation: none;
  }

  .media-strip-track .media {
    transform: none !important;
  }
}

/* Dynamic alignment handles product rows; do not reserve excessive fixed text height. */
.product-card h3 + p {
  min-height: 0;
}

/* ===== 2026 MOTION & VISUAL REFINEMENTS ===== */

/* Header logo balance: first logo slightly smaller, AGROCHARA slightly larger. */
.header-logo-main {
  width: clamp(68px, 6.5vw, 90px);
}

.header-logo-agro {
  width: 39px;
  height: 39px;
  flex-basis: 39px;
}

.header-logo-agro img {
  width: 37px;
  height: 37px;
}

@media (max-width: 479px) {
  .header-logo-main {
    width: 64px;
  }

  .header-logo-agro {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .header-logo-agro img {
    width: 30px;
    height: 30px;
  }
}

/* Subtle alternating gradients make long pages easier to scan. */
main > section.section:not(.section-alt):not(.section-soft):nth-of-type(odd) {
  background-image:
    radial-gradient(circle at 7% 15%, rgba(0, 77, 157, .035), transparent 30rem),
    linear-gradient(180deg, rgba(248, 251, 254, .26), rgba(255, 255, 255, 0));
}

main > section.section:not(.section-alt):not(.section-soft):nth-of-type(even) {
  background-image:
    radial-gradient(circle at 94% 20%, rgba(0, 77, 157, .028), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(241, 247, 252, .22));
}

.section-alt {
  background-image:
    radial-gradient(circle at 88% 15%, rgba(0, 77, 157, .035), transparent 28rem),
    linear-gradient(135deg, rgba(244, 248, 252, .94), rgba(255, 255, 255, .80));
}

.section-soft {
  background-image:
    radial-gradient(circle at 14% 12%, rgba(0, 77, 157, .075), transparent 25rem),
    linear-gradient(135deg, rgba(237, 245, 252, .88), rgba(249, 251, 253, .86));
}

/* Headings receive their own restrained reveal instead of a large page animation. */
.js .heading-reveal {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  filter: blur(5px);
  transition:
    opacity .62s cubic-bezier(.2,.7,.2,1),
    transform .62s cubic-bezier(.2,.7,.2,1),
    filter .72s ease;
}

.js .heading-reveal.is-heading-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}


/* Animated number state. */
.count-up-number {
  font-variant-numeric: tabular-nums;
}


/* Gentle shine on product and document cards. */
.product-card,
.document-card,
.hero-media {
  position: relative;
  overflow: hidden;
}

.product-card::after,
.document-card::after,
.hero-media::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: -35%;
  bottom: -35%;
  left: -70%;
  width: 38%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.08) 24%, rgba(255,255,255,.62) 50%, rgba(255,255,255,.10) 76%, transparent 100%);
  transform: skewX(-18deg);
  opacity: 0;
}

.product-card:hover::after,
.document-card:hover::after,
.hero-media:hover::after {
  opacity: 1;
  animation: card-shine-pass .82s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes card-shine-pass {
  from { left: -70%; }
  to { left: 135%; }
}

/* All raster content photos can open in the fullscreen lightbox. */
main img.lightbox-photo {
  cursor: zoom-in;
}

.lightbox-trigger:focus-visible {
  outline: 3px solid rgba(0, 77, 157, .28);
  outline-offset: 4px;
}

.site-lightbox {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: rgba(7, 17, 30, .78);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
  backdrop-filter: blur(18px) saturate(110%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}

.site-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.site-lightbox-dialog {
  position: relative;
  display: grid;
  width: min(94vw, 1380px);
  height: min(90vh, 900px);
  place-items: center;
  transform: translateY(10px) scale(.985);
  transition: transform .34s cubic-bezier(.2,.7,.2,1);
}

.site-lightbox.is-open .site-lightbox-dialog {
  transform: translateY(0) scale(1);
}

.site-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 4.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
}

.site-lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 0;
  max-width: min(80vw, 900px);
  transform: translateX(-50%);
  margin: 0;
  padding: .58rem .9rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(12, 31, 53, .62);
  color: rgba(255,255,255,.90);
  font-size: .8rem;
  text-align: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-lightbox-control {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #fff;
  font: inherit;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.site-lightbox-control:hover,
.site-lightbox-control:focus-visible {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.32);
  transform: scale(1.04);
}

.site-lightbox-close {
  top: 0;
  right: 0;
}

.site-lightbox-prev,
.site-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.site-lightbox-prev:hover,
.site-lightbox-prev:focus-visible,
.site-lightbox-next:hover,
.site-lightbox-next:focus-visible {
  transform: translateY(-50%) scale(1.04);
}

.site-lightbox-prev { left: 0; }
.site-lightbox-next { right: 0; }

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .site-lightbox {
    padding: .65rem;
  }

  .site-lightbox-dialog {
    width: 100%;
    height: 92vh;
  }

  .site-lightbox-control {
    width: 40px;
    height: 40px;
  }

  .site-lightbox-prev { left: .15rem; }
  .site-lightbox-next { right: .15rem; }
  .site-lightbox-close { top: .15rem; right: .15rem; }

  .site-lightbox-caption {
    bottom: .2rem;
    max-width: 86vw;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .heading-reveal,
  .js .heading-reveal.is-heading-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .product-card:hover::after,
  .document-card:hover::after,
  .hero-media:hover::after {
    animation: none;
    opacity: 0;
  }

  .site-lightbox,
  .site-lightbox-dialog,
  .site-lightbox-control {
    transition: none;
  }
}



/* ===== REQUESTED INTERACTIONS: SPEC ROWS / LOGOS / LIGHTBOX COUNTER ===== */
/* Smooth, restrained row highlight for peat specification tables. */
.spec-table tbody tr > th,
.spec-table tbody tr > td {
  transition: background-color .28s ease, color .28s ease, box-shadow .28s ease;
}

.spec-table tbody tr:hover > th,
.spec-table tbody tr:hover > td,
.spec-table tbody tr:focus-within > th,
.spec-table tbody tr:focus-within > td {
  background: rgba(0, 77, 157, .055);
}

.spec-table tbody tr:hover > th:first-child,
.spec-table tbody tr:focus-within > th:first-child {
  box-shadow: inset 3px 0 0 rgba(0, 77, 157, .48);
}

.spec-table tbody tr:hover td strong,
.spec-table tbody tr:focus-within td strong {
  color: #003f82;
}

/* One-time micro-animation for the two header logos. */
.header-logo-main {
  animation: header-logo-enter-main .58s cubic-bezier(.2,.75,.25,1) backwards;
}

.header-logo-agro {
  animation: header-logo-enter-agro .66s .09s cubic-bezier(.2,.75,.25,1) backwards;
}

@keyframes header-logo-enter-main {
  from { opacity: 0; transform: translateY(-5px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes header-logo-enter-agro {
  from { opacity: 0; transform: translateY(-4px) scale(.90) rotate(-3deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}

.site-lightbox-counter {
  position: absolute;
  z-index: 3;
  top: .15rem;
  left: 50%;
  transform: translateX(-50%);
  min-width: 3.6rem;
  padding: .48rem .72rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(12, 31, 53, .64);
  color: rgba(255,255,255,.94);
  font-size: .78rem;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  letter-spacing: .02em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

@media (max-width: 767px) {
  .site-lightbox-counter {
    top: .25rem;
    padding: .42rem .62rem;
    font-size: .74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-logo-main,
  .header-logo-agro {
    animation: none;
  }

  .spec-table tbody tr > th,
  .spec-table tbody tr > td {
    transition: none;
  }
}

/* ===== EXPANDED HEADER NAVIGATION ===== */
.site-nav .nav-list,
.site-nav .nav-submenu {
  list-style: none;
  margin: 0;
}

.site-nav .nav-list {
  padding: .45rem 0 .8rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: .2rem;
}

.nav-item {
  position: relative;
  min-width: 0;
}

.nav-link-wrap {
  display: flex;
  align-items: center;
  gap: .15rem;
  min-width: 0;
}

.site-header .site-nav .nav-main-link {
  flex: 1 1 auto;
  min-width: 0;
}

.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(0, 77, 157, .10);
  border-radius: 999px;
  background: rgba(255,255,255,.44);
  color: #35516f;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible {
  color: var(--color-primary);
  background: rgba(0, 77, 157, .07);
  border-color: rgba(0, 77, 157, .16);
}

.submenu-chevron {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}

.has-submenu.submenu-open > .nav-link-wrap .submenu-chevron {
  transform: rotate(180deg);
}

.site-nav .nav-submenu {
  display: none;
  grid-template-columns: 1fr;
  gap: .22rem;
  padding: .35rem .15rem .55rem .85rem;
}

.has-submenu.submenu-open > .nav-submenu {
  display: grid;
}

.site-header .site-nav .nav-submenu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .15rem;
  min-height: 0;
  padding: .68rem .78rem;
  border: 1px solid transparent;
  border-radius: 11px;
  background: rgba(255,255,255,.52);
  color: #273548;
  white-space: normal;
  box-shadow: none;
}

.site-header .site-nav .nav-submenu a:hover,
.site-header .site-nav .nav-submenu a:focus-visible {
  color: var(--color-primary);
  border-color: rgba(0,77,157,.10);
  background: rgba(255,255,255,.90);
  transform: none;
  box-shadow: 0 7px 18px rgba(15,23,42,.06);
}

.submenu-title {
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.25;
}

.submenu-meta {
  color: #718096;
  font-size: .70rem;
  font-weight: 480;
  line-height: 1.32;
  letter-spacing: 0;
}

@media (min-width: 1280px) {
  .site-nav .nav-list {
    display: flex;
    align-items: center;
    gap: .08rem;
    padding: 0;
  }

  .nav-link-wrap {
    border-radius: 999px;
  }

  .site-header .site-nav .nav-main-link {
    flex: 0 1 auto;
    padding-right: .30rem;
  }

  .submenu-toggle {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
    margin-left: -.28rem;
    border: 0;
    background: transparent;
  }

  .submenu-chevron {
    width: 15px;
    height: 15px;
  }

  .site-nav .nav-submenu {
    position: absolute;
    z-index: 70;
    top: calc(100% + 9px);
    left: 0;
    display: grid;
    width: max-content;
    min-width: 260px;
    max-width: 310px;
    padding: .48rem;
    gap: .15rem;
    border: 1px solid rgba(0,77,157,.10);
    border-radius: 16px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 48px rgba(15,23,42,.13), inset 0 1px 0 rgba(255,255,255,.8);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    backdrop-filter: blur(20px) saturate(145%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-7px) scale(.985);
    transform-origin: top left;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  }

  .site-nav .nav-submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
  }

  .nav-item:nth-last-child(-n+2) > .nav-submenu {
    left: auto;
    right: 0;
    transform-origin: top right;
  }

  .has-submenu:hover > .nav-submenu,
  .has-submenu:focus-within > .nav-submenu,
  .has-submenu.submenu-open > .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .has-submenu:hover > .nav-link-wrap .submenu-chevron,
  .has-submenu:focus-within > .nav-link-wrap .submenu-chevron,
  .has-submenu.submenu-open > .nav-link-wrap .submenu-chevron {
    transform: rotate(180deg);
  }

  .site-header .site-nav .nav-submenu a {
    min-width: 245px;
    padding: .72rem .82rem;
    border-radius: 12px;
  }
}

@media (max-width: 1279px) {
  .site-nav.is-open {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav .nav-submenu,
  .submenu-chevron,
  .submenu-toggle {
    transition: none;
  }
}


/* ===== REFINED PRIMARY NAVIGATION GROUPS ===== */
.site-header .site-nav .nav-parent-button {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid transparent;
  font: inherit;
  cursor: default;
  text-align: left;
}

.site-header .site-nav .nav-parent-button.is-current-group {
  color: var(--color-primary);
  background: rgba(0, 77, 157, .075);
  border-color: rgba(0, 77, 157, .10);
}

.site-header .site-nav .nav-submenu a[aria-current="page"] {
  color: var(--color-primary);
  background: rgba(0, 77, 157, .075);
  border-color: rgba(0, 77, 157, .10);
}

@media (max-width: 1279px) {
  .site-header .site-nav .nav-parent-button {
    min-height: 38px;
    width: 100%;
    padding: .46rem .68rem;
    border-radius: 12px;
    color: #273548;
    background: rgba(255,255,255,.52);
  }
}

/* ===== UNIFIED HEADER DESIGN ===== */
/* Единый визуальный шаблон шапки для всех страниц. */
.site-header {
  background: rgba(255, 255, 255, .80);
  border-bottom: 1px solid rgba(0, 77, 157, .09);
  box-shadow: 0 10px 34px rgba(15, 23, 42, .07);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.header-inner {
  min-height: 64px;
  padding-block: .28rem;
  gap: .72rem;
}

/* Все четыре верхних пункта имеют одинаковую геометрию и состояния. */
.site-nav .nav-list {
  align-items: center;
}

.site-header .site-nav .nav-link-wrap {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.site-header .site-nav .nav-main-link,
.site-header .site-nav .nav-parent-button {
  min-height: 36px;
  padding: .46rem .68rem;
  border: 0;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
  color: #273548;
  font-size: .81rem;
  font-weight: 590;
  line-height: 1;
  white-space: nowrap;
  transform: none !important;
}

.site-header .site-nav .has-submenu .nav-main-link,
.site-header .site-nav .has-submenu .nav-parent-button {
  padding-right: .24rem;
}

.site-header .site-nav .nav-link-wrap:hover,
.site-header .site-nav .nav-item:focus-within > .nav-link-wrap {
  background: rgba(255, 255, 255, .76);
  border-color: rgba(0, 77, 157, .10);
  box-shadow: 0 7px 18px rgba(15, 23, 42, .065);
  transform: translateY(-1px);
}

.site-header .site-nav .nav-main-link:hover,
.site-header .site-nav .nav-parent-button:hover {
  color: var(--color-primary);
}

.site-header .site-nav .nav-main-link[aria-current="page"],
.site-header .site-nav .nav-main-link.is-current-group,
.site-header .site-nav .nav-parent-button.is-current-group {
  color: var(--color-primary);
}

.site-header .site-nav .nav-item:has(.nav-main-link[aria-current="page"]) > .nav-link-wrap,
.site-header .site-nav .nav-item.current-group > .nav-link-wrap {
  background: rgba(0, 77, 157, .075);
  border-color: rgba(0, 77, 157, .10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .64);
}

.site-header .submenu-toggle {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  margin-right: .18rem;
  border: 0;
  background: transparent;
  color: #5c7087;
}

.site-header .submenu-toggle:hover,
.site-header .submenu-toggle:focus-visible {
  color: var(--color-primary);
  background: rgba(0, 77, 157, .06);
}

/* Телефон и CTA также одинаковы на всех страницах. */
.site-header .header-phone {
  min-height: 38px;
  padding: .43rem .70rem;
  border: 1px solid rgba(0, 77, 157, .11);
  border-radius: 999px;
  color: #24405d;
  background: rgba(255,255,255,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.site-header .header-cta.button-white {
  min-height: 38px;
  padding: .55rem .92rem;
  border-radius: 999px;
}

@media (min-width: 1280px) {
  .site-nav .nav-list {
    gap: .12rem;
    padding: 0;
  }

  .site-header .site-nav .nav-main-link,
  .site-header .site-nav .nav-parent-button {
    width: auto;
  }
}

@media (max-width: 1279px) {
  .site-header .site-nav .nav-list {
    gap: .28rem;
    padding: .45rem 0 .8rem;
  }

  .site-header .site-nav .nav-link-wrap {
    width: 100%;
    border-radius: 12px;
    background: rgba(255,255,255,.52);
  }

  .site-header .site-nav .nav-main-link,
  .site-header .site-nav .nav-parent-button {
    width: 100%;
    border-radius: 12px;
  }

  .site-header .submenu-toggle {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    margin-right: .12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .site-nav .nav-link-wrap {
    transition: none;
  }
}

/* ===== DOCUMENT PREVIEWS ===== */
.document-card {
  overflow: hidden;
}

.document-preview {
  position: relative;
  display: block;
  width: calc(100% + 3.5rem);
  margin: -1.75rem -1.75rem 1.35rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 77, 157, .10);
  background: linear-gradient(145deg, #f8fbfe, #edf3f9);
  text-decoration: none;
}

.document-preview img {
  display: block;
  width: 100%;
  height: 100%;
  padding: .75rem;
  object-fit: contain;
  object-position: center top;
  filter: saturate(.94) contrast(.99);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}

.document-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(10, 36, 66, .10));
}

.document-preview:hover img,
.document-preview:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1);
}

.document-preview:focus-visible {
  outline: 3px solid rgba(0, 77, 157, .28);
  outline-offset: -3px;
}

/* ===== LIGHTBOX THUMBNAIL FILMSTRIP ===== */
.site-lightbox-dialog {
  height: min(92vh, 940px);
}

.site-lightbox-image {
  max-height: calc(92vh - 10.5rem);
}

.site-lightbox-caption {
  bottom: 5.2rem;
  max-width: min(78vw, 900px);
}

.site-lightbox-thumbs {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  display: flex;
  gap: .48rem;
  max-width: min(82vw, 920px);
  padding: .5rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(8, 24, 43, .54);
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  backdrop-filter: blur(14px) saturate(115%);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.30) transparent;
}

.site-lightbox-thumbs[hidden] {
  display: none;
}

.site-lightbox-thumb {
  flex: 0 0 auto;
  width: 68px;
  height: 50px;
  padding: 2px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  background: rgba(255,255,255,.06);
  opacity: .62;
  cursor: pointer;
  transition: opacity .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.site-lightbox-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.site-lightbox-thumb:hover,
.site-lightbox-thumb:focus-visible {
  opacity: .92;
  border-color: rgba(255,255,255,.44);
  transform: translateY(-1px);
}

.site-lightbox-thumb.is-active,
.site-lightbox-thumb[aria-current="true"] {
  opacity: 1;
  border-color: rgba(134, 193, 255, .92);
  box-shadow: 0 0 0 2px rgba(44, 132, 226, .28), 0 8px 18px rgba(0,0,0,.18);
}

@media (max-width: 767px) {
  .document-preview {
    width: calc(100% + 2.4rem);
    margin: -1.2rem -1.2rem 1.1rem;
  }

  .site-lightbox-image {
    max-height: calc(92vh - 9.3rem);
  }

  .site-lightbox-caption {
    bottom: 4.45rem;
    max-width: 82vw;
    font-size: .74rem;
  }

  .site-lightbox-thumbs {
    bottom: .1rem;
    max-width: 88vw;
    gap: .38rem;
    padding: .4rem;
    border-radius: 13px;
  }

  .site-lightbox-thumb {
    width: 58px;
    height: 44px;
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .document-preview img,
  .site-lightbox-thumb {
    transition: none;
  }
}


/* ===== SHARED HEADER STICKY + SCROLL GLASS STATE ===== */
/*
 * После переноса шапки в общий JS-компонент sticky должен принадлежать
 * внешнему контейнеру #site-header-root. Иначе сама .site-header ограничена
 * высотой родителя и перестаёт сопровождать прокрутку страницы.
 */
#site-header-root {
  position: sticky;
  top: 0;
  z-index: 30;
}

#site-header-root .site-header {
  position: relative;
  top: auto;
  z-index: 1;
  background: rgba(255, 255, 255, .80);
  border-bottom-color: rgba(0, 77, 157, .09);
  box-shadow: 0 10px 34px rgba(15, 23, 42, .07);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  transition:
    background-color .28s ease,
    border-color .28s ease,
    box-shadow .28s ease,
    -webkit-backdrop-filter .28s ease,
    backdrop-filter .28s ease;
}

/* После начала прокрутки шапка становится немного прозрачнее, но дизайн не меняется. */
#site-header-root .site-header.is-scrolled {
  background: rgba(255, 255, 255, .66);
  border-bottom-color: rgba(0, 77, 157, .08);
  box-shadow: 0 8px 28px rgba(15, 23, 42, .055);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
}

@media (prefers-reduced-motion: reduce) {
  #site-header-root .site-header {
    transition: none;
  }
}


/* ===== PRODUCT IMAGE FULL-FIT OVERRIDE ===== */
/*
 * В карточках продукции показываем изображение целиком без обрезки.
 * Особенно важно для широкого фото карьера и упаковки торфа.
 */
.product-card .media {
  background: linear-gradient(180deg, #f8fafc 0%, #f2f6fa 100%);
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: clamp(.35rem, .8vw, .75rem);
}

.product-card .media.contain img {
  padding: clamp(.8rem, 1.5vw, 1.5rem);
}

@media (max-width: 767px) {
  .product-card .media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .product-card .media img {
    padding: .45rem;
  }

  .product-card .media.contain img {
    padding: .8rem;
  }
}

/* Три этапа истории компании на широких экранах. */
@media (min-width: 768px) {
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== PRODUCT IMAGE COVER OVERRIDE ===== */
/* Карточки продукции: изображение полностью заполняет область и при необходимости обрезается. */
.product-card .media,
.product-card .media.contain {
  overflow: hidden;
  background: #f3f5f6;
}

.product-card .media img,
.product-card .media.contain img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .product-card .media img,
  .product-card .media.contain img {
    padding: 0;
    object-fit: cover;
  }
}

/* ===== PEAT SPEC SOURCE ===== */
.spec-source {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  margin-top: .9rem;
  padding: .62rem .82rem;
  border: 1px solid rgba(0, 77, 157, .12);
  border-radius: 12px;
  background: rgba(0, 77, 157, .045);
  color: #526275;
  font-size: .86rem;
  line-height: 1.35;
}

.spec-source-label {
  font-weight: 600;
  color: #526275;
}

.spec-source a {
  color: var(--color-primary);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 77, 157, .24);
  transition: color .2s ease, border-color .2s ease;
}

.spec-source a:hover,
.spec-source a:focus-visible {
  color: var(--color-primary-hover);
  border-bottom-color: currentColor;
}

@media (max-width: 479px) {
  .spec-source {
    align-items: flex-start;
    gap: .3rem .5rem;
    padding: .58rem .7rem;
    font-size: .8rem;
  }
}


/* ===== NORMALIZED VERTICAL RHYTHM ===== */
/* Единый вертикальный ритм: секции не выглядят разорванными, но сохраняют воздух. */
:root {
  --section-space: clamp(2.75rem, 4.2vw, 4.5rem);
  --section-space-compact: clamp(2rem, 3vw, 3rem);
  --section-heading-gap: clamp(1.45rem, 2vw, 1.9rem);
}

.section {
  padding-block: var(--section-space);
}

.section-title,
.section-title-row {
  margin-bottom: var(--section-heading-gap);
}

.section-title p {
  margin-top: .72rem;
}

.page-intro {
  padding-block: clamp(1.65rem, 2.8vw, 2.35rem) clamp(2.15rem, 3.8vw, 3rem);
}

.page-intro .lead {
  margin-top: .9rem;
}

.breadcrumbs {
  padding-block: .95rem;
}

.product-hero {
  padding-block: clamp(1.1rem, 2vw, 1.5rem) clamp(2.75rem, 4vw, 3.75rem);
}

.hero {
  padding-top: clamp(2.4rem, 4.2vw, 4rem);
}

.facts {
  padding-block: clamp(2rem, 3.2vw, 2.9rem);
}

.contact-cta {
  padding-block: clamp(2.6rem, 4vw, 3.75rem);
}

.footer-grid {
  gap: clamp(1.6rem, 2.8vw, 2.25rem);
  padding-bottom: clamp(2.1rem, 3vw, 2.7rem);
}

.site-footer {
  padding-top: clamp(2.6rem, 4vw, 3.35rem);
}

/* Равномерные внутренние интервалы в крупных двухколоночных блоках. */
.split {
  gap: clamp(2rem, 3.5vw, 3.5rem);
}

.actions {
  margin-top: 1.35rem;
}

/* Подпись адреса офиса в футере должна считываться как отдельный факт. */
.footer-office-address strong {
  display: inline-block;
  margin-bottom: .18rem;
  color: #ffffff;
  font-weight: 650;
}

.office-note {
  max-width: 58ch;
}

@media (max-width: 767px) {
  :root {
    --section-space: 2.5rem;
    --section-heading-gap: 1.35rem;
  }

  .page-intro {
    padding-block: 1.45rem 2.15rem;
  }

  .product-hero {
    padding-block: 1rem 2.5rem;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .contact-cta {
    padding-block: 2.5rem;
  }

  .facts {
    padding-block: 2rem;
  }

  .split {
    gap: 1.75rem;
  }
}

/* ===== CONTACT OFFICE KICKER ALIGNMENT ===== */
.office-kicker {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
}

.map-card > .office-kicker .icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  margin: 0;
  color: var(--color-primary);
}

.office-kicker .eyebrow {
  margin: 0;
}

/* ===== MOBILE NAVIGATION READABILITY ===== */
@media (max-width: 1279px) {
  .js .site-nav.is-open {
    width: 100%;
    max-height: calc(100dvh - 68px);
    margin: .35rem 0 .45rem;
    padding: .55rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(0, 77, 157, .10);
    border-radius: 15px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    backdrop-filter: blur(18px) saturate(130%);
  }

  .site-header .site-nav .nav-list {
    gap: .35rem;
    padding: 0;
    align-items: stretch;
  }

  .site-header .site-nav .nav-link-wrap {
    min-height: 0;
    border: 1px solid rgba(0, 77, 157, .08);
    border-radius: 11px;
    background: #f7f9fc;
    box-shadow: none;
  }

  .site-header .site-nav .nav-main-link,
  .site-header .site-nav .nav-parent-button {
    min-height: 42px;
    padding: .62rem .78rem;
    color: #24384f;
    font-size: .92rem;
    font-weight: 650;
    line-height: 1.15;
  }

  .site-header .site-nav .nav-item:has(.nav-main-link[aria-current="page"]) > .nav-link-wrap,
  .site-header .site-nav .nav-item.current-group > .nav-link-wrap {
    background: rgba(0, 77, 157, .075);
    border-color: rgba(0, 77, 157, .14);
  }

  .site-header .submenu-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    margin-right: .08rem;
    color: #58708b;
    background: transparent;
  }

  .site-nav .nav-submenu {
    gap: .26rem;
    padding: .35rem 0 .08rem .55rem;
  }

  .site-header .site-nav .nav-submenu a {
    min-height: 0;
    padding: .56rem .68rem;
    border: 1px solid rgba(0, 77, 157, .07);
    border-radius: 9px;
    background: #ffffff;
    color: #273548;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .035);
  }

  .submenu-title {
    font-size: .82rem;
    line-height: 1.18;
  }

  .submenu-meta {
    margin-top: .02rem;
    font-size: .67rem;
    line-height: 1.22;
    color: #758398;
  }
}

@media (max-width: 767px) {
  .header-inner {
    min-height: 54px;
    padding-block: .18rem;
    gap: .35rem;
  }

  .header-logo-main {
    width: 72px;
  }

  .header-logo-agro {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .header-logo-agro img {
    width: 27px;
    height: 27px;
  }

  .header-brand-divider {
    height: 18px;
  }

  .site-header .header-phone,
  .site-header .menu-toggle,
  .site-header .icon-button {
    min-width: 36px;
    min-height: 36px;
    width: 36px;
    height: 36px;
    padding: 7px;
  }

  .js .site-nav.is-open {
    max-height: calc(100dvh - 58px);
    margin-top: .25rem;
    padding: .45rem;
    border-radius: 13px;
  }

  .site-header .site-nav .nav-list {
    gap: .28rem;
  }

  .site-header .site-nav .nav-main-link,
  .site-header .site-nav .nav-parent-button {
    min-height: 39px;
    padding: .54rem .68rem;
    font-size: .88rem;
  }

  .site-header .submenu-toggle {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
  }

  .site-nav .nav-submenu {
    padding: .28rem 0 .04rem .42rem;
  }

  .site-header .site-nav .nav-submenu a {
    padding: .5rem .6rem;
  }

  .submenu-meta {
    display: none;
  }

  .office-kicker {
    gap: .6rem;
    margin-bottom: .8rem;
  }

  .map-card > .office-kicker .icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .office-kicker .eyebrow {
    padding: .5rem .76rem;
    font-size: .70rem;
    letter-spacing: .085em;
  }
}


/* ===== MOBILE LIQUID-GLASS OVERLAY MENU ===== */
/*
 * Mobile navigation is a floating overlay rather than part of the header flow.
 * Opening the burger therefore never pushes the page content down.
 */
.mobile-nav-backdrop {
  display: none;
}

@media (max-width: 1279px) {
  /*
   * Не блокируем прокрутку через overflow на <html>: на iOS/Safari это может
   * сбросить sticky-шапку к началу документа, из-за чего backdrop виден,
   * а сама панель меню оказывается за пределами viewport.
   * На время открытого меню закрепляем весь header-root непосредственно
   * в viewport. Backdrop перехватывает взаимодействие с фоном.
   */
  html.mobile-menu-open {
    overscroll-behavior: none;
  }

  html.mobile-menu-open #site-header-root {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
  }

  #site-header-root {
    isolation: isolate;
  }

  #site-header-root .site-header {
    z-index: 62;
  }

  .site-header .header-contact {
    position: relative;
    z-index: 64;
  }

  .js .site-nav,
  .js .site-nav.is-open {
    display: block;
    position: absolute;
    z-index: 63;
    top: calc(100% + 8px);
    right: clamp(10px, 2vw, 22px);
    left: auto;
    order: initial;
    width: min(380px, calc(100vw - 20px));
    max-height: calc(100dvh - 82px);
    margin: 0;
    padding: .62rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 77, 157, .22) transparent;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 22px;
    background:
      radial-gradient(circle at 92% -8%, rgba(116, 187, 255, .20), transparent 34%),
      radial-gradient(circle at 0% 112%, rgba(255, 255, 255, .92), transparent 42%),
      linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(242, 248, 255, .66));
    box-shadow:
      0 24px 64px rgba(18, 48, 78, .18),
      0 8px 20px rgba(18, 48, 78, .09),
      inset 0 1px 0 rgba(255, 255, 255, .92),
      inset 0 -1px 0 rgba(0, 77, 157, .04);
    -webkit-backdrop-filter: blur(30px) saturate(170%);
    backdrop-filter: blur(30px) saturate(170%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -10px, 0) scale(.975);
    transform-origin: top right;
    transition:
      opacity .22s ease,
      visibility .22s ease,
      transform .26s cubic-bezier(.2, .8, .2, 1);
  }

  .js .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .js .site-nav::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 1px 1px auto;
    height: 38%;
    border-radius: 21px 21px 48% 48%;
    background: linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,255,255,0));
    pointer-events: none;
  }

  .site-nav .nav-list {
    position: relative;
    z-index: 1;
  }

  .mobile-nav-backdrop {
    position: fixed;
    z-index: 61;
    inset: 0;
    display: block;
    touch-action: none;
    width: 100%;
    height: auto;
    padding: 0;
    border: 0;
    background: rgba(21, 39, 58, .10);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
  }

  .mobile-nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header .site-nav .nav-list {
    gap: .28rem;
    padding: 0;
  }

  .site-header .site-nav .nav-link-wrap {
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 77, 157, .075);
    border-radius: 14px;
    background: rgba(255, 255, 255, .50);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.72),
      0 3px 10px rgba(15, 23, 42, .025);
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
  }

  .site-header .site-nav .nav-link-wrap:hover,
  .site-header .site-nav .nav-item:focus-within > .nav-link-wrap {
    background: rgba(255, 255, 255, .82);
    border-color: rgba(0, 77, 157, .12);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.92),
      0 7px 20px rgba(15, 23, 42, .055);
    transform: none;
  }

  .site-header .site-nav .nav-main-link,
  .site-header .site-nav .nav-parent-button {
    min-height: 40px;
    padding: .58rem .76rem;
    border-radius: 14px;
    color: #21384f;
    font-size: .89rem;
    font-weight: 650;
    line-height: 1.12;
  }

  .site-header .site-nav .nav-item:has(.nav-main-link[aria-current="page"]) > .nav-link-wrap,
  .site-header .site-nav .nav-item.current-group > .nav-link-wrap {
    border-color: rgba(0, 77, 157, .13);
    background:
      linear-gradient(135deg, rgba(225, 239, 253, .82), rgba(255,255,255,.68));
  }

  .site-header .submenu-toggle {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    margin-right: .18rem;
    border: 1px solid transparent;
    color: #55718e;
    background: rgba(255,255,255,.18);
  }

  .site-header .submenu-toggle:hover,
  .site-header .submenu-toggle:focus-visible {
    color: var(--color-primary);
    border-color: rgba(0, 77, 157, .08);
    background: rgba(0, 77, 157, .055);
  }

  .site-nav .nav-submenu {
    gap: .24rem;
    padding: .28rem .08rem .02rem .46rem;
  }

  .site-header .site-nav .nav-submenu a {
    padding: .52rem .62rem;
    border: 1px solid rgba(0, 77, 157, .065);
    border-radius: 11px;
    background: rgba(255, 255, 255, .68);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.76);
  }

  .site-header .site-nav .nav-submenu a:hover,
  .site-header .site-nav .nav-submenu a:focus-visible {
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 5px 14px rgba(15,23,42,.045), inset 0 1px 0 #fff;
  }

  .submenu-title {
    font-size: .81rem;
    line-height: 1.16;
  }

  .submenu-meta {
    margin-top: .02rem;
    font-size: .66rem;
    line-height: 1.18;
  }

  /* The burger itself behaves like a small polished glass control. */
  .site-header .menu-toggle {
    position: relative;
    overflow: hidden;
    border-color: rgba(0, 77, 157, .13);
    background:
      linear-gradient(145deg, rgba(255,255,255,.84), rgba(236,244,252,.60));
    box-shadow:
      0 6px 16px rgba(15,23,42,.07),
      inset 0 1px 0 rgba(255,255,255,.95);
    -webkit-backdrop-filter: blur(16px) saturate(155%);
    backdrop-filter: blur(16px) saturate(155%);
  }

  .site-header .menu-toggle .menu-lines,
  .site-header .menu-toggle .menu-close {
    position: absolute;
    inset: 50% auto auto 50%;
    display: block;
    width: 19px;
    height: 19px;
    margin: -9.5px 0 0 -9.5px;
    transition: opacity .18s ease, transform .24s cubic-bezier(.2,.8,.2,1);
  }

  .site-header .menu-toggle .menu-lines {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }

  .site-header .menu-toggle .menu-close {
    opacity: 0;
    transform: rotate(-35deg) scale(.62);
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-lines {
    opacity: 0;
    transform: rotate(35deg) scale(.65);
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@media (min-width: 600px) and (max-width: 1279px) {
  .site-nav .nav-submenu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: .35rem;
  }

  /* При нечётном числе пунктов последний занимает всю строку. */
  .site-nav .nav-submenu > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .site-nav .nav-submenu > li,
  .site-nav .nav-submenu > li > a {
    min-height: 100%;
  }
}

@media (max-width: 599px) {
  .js .site-nav,
  .js .site-nav.is-open {
    right: 8px;
    width: calc(100vw - 16px);
    padding: .5rem;
    border-radius: 19px;
  }

  .site-header .site-nav .nav-main-link,
  .site-header .site-nav .nav-parent-button {
    min-height: 38px;
    padding: .52rem .68rem;
    font-size: .86rem;
  }

  .site-header .submenu-toggle {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .site-nav .nav-submenu {
    padding: .24rem .02rem .02rem .38rem;
  }

  .site-header .site-nav .nav-submenu a {
    padding: .48rem .58rem;
  }

  .submenu-meta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .site-nav,
  .js .site-nav.is-open,
  .mobile-nav-backdrop,
  .site-header .menu-toggle .menu-lines,
  .site-header .menu-toggle .menu-close {
    transition: none;
  }
}

/* ===== MOBILE MENU BALANCE + STRONGER DISCLOSURE CONTROL ===== */
@media (max-width: 1279px) {
  /* Make category disclosure affordance easier to notice and tap. */
  .site-header .site-nav .nav-link-wrap {
    align-items: center;
  }

  .site-header .submenu-toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 40px;
    margin: 0 .24rem 0 .08rem;
    border: 1px solid rgba(0, 77, 157, .14);
    border-radius: 13px;
    color: #0757a6;
    background:
      linear-gradient(145deg, rgba(255,255,255,.86), rgba(225,239,253,.70));
    box-shadow:
      0 4px 12px rgba(0, 77, 157, .07),
      inset 0 1px 0 rgba(255,255,255,.96);
    -webkit-backdrop-filter: blur(14px) saturate(155%);
    backdrop-filter: blur(14px) saturate(155%);
  }

  .site-header .submenu-toggle:hover,
  .site-header .submenu-toggle:focus-visible,
  .site-header .has-submenu.submenu-open > .nav-link-wrap .submenu-toggle {
    color: #004d9d;
    border-color: rgba(0, 77, 157, .24);
    background:
      linear-gradient(145deg, rgba(239,247,255,.96), rgba(209,231,252,.82));
    box-shadow:
      0 6px 16px rgba(0, 77, 157, .11),
      inset 0 1px 0 rgba(255,255,255,.98);
  }

  .site-header .submenu-chevron {
    width: 22px;
    height: 22px;
    stroke-width: 2.15;
  }

  /* Stable, symmetric two-column layout where there is enough room. */
  .site-header .site-nav .nav-submenu {
    grid-auto-flow: row;
    align-items: stretch;
  }

  .site-header .site-nav .nav-submenu > li,
  .site-header .site-nav .nav-submenu > li > a {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 600px) and (max-width: 1279px) {
  .site-header .site-nav .nav-submenu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Explicit selector so a 3-item category can never leave a half-empty final row. */
  .site-header .site-nav .nav-submenu > li:nth-child(3):last-child,
  .site-header .site-nav .nav-submenu > li:nth-child(5):last-child,
  .site-header .site-nav .nav-submenu > li:nth-child(7):last-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 599px) {
  .site-header .submenu-toggle {
    flex-basis: 42px;
    width: 42px;
    height: 38px;
    margin-right: .16rem;
    border-radius: 12px;
  }

  .site-header .submenu-chevron {
    width: 21px;
    height: 21px;
  }
}

/* ===== MOBILE NAV FINAL ALIGNMENT + WIDE DISCLOSURE ===== */
@media (max-width: 1279px) {
  /* Disclosure control: wider, lower and visually integrated into the row. */
  .site-header .submenu-toggle {
    flex: 0 0 58px;
    width: 58px;
    height: 32px;
    margin: 0 .34rem 0 .08rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 77, 157, .14);
    background:
      linear-gradient(145deg, rgba(255,255,255,.90), rgba(224,238,252,.72));
    box-shadow:
      0 3px 10px rgba(0,77,157,.055),
      inset 0 1px 0 rgba(255,255,255,.98);
  }

  .site-header .submenu-chevron {
    width: 19px;
    height: 19px;
    stroke-width: 2.05;
  }

  .site-header .submenu-toggle:hover,
  .site-header .submenu-toggle:focus-visible,
  .site-header .has-submenu.submenu-open > .nav-link-wrap .submenu-toggle {
    background:
      linear-gradient(145deg, rgba(247,251,255,.98), rgba(207,229,250,.86));
    border-color: rgba(0,77,157,.23);
    box-shadow:
      0 4px 12px rgba(0,77,157,.08),
      inset 0 1px 0 rgba(255,255,255,1);
  }
}

@media (min-width: 600px) and (max-width: 1279px) {
  /* True two-column grid: cards in the same row always have identical height. */
  .site-header .site-nav .nav-submenu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    align-items: stretch;
  }

  .site-header .site-nav .nav-submenu > li {
    display: flex;
    min-width: 0;
    align-self: stretch;
  }

  .site-header .site-nav .nav-submenu > li > a {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* If a submenu contains an odd number of cards, the final one fills the row. */
  .site-header .site-nav .nav-submenu > li:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 599px) {
  .site-header .submenu-toggle {
    flex-basis: 54px;
    width: 54px;
    height: 30px;
    margin-right: .22rem;
  }

  .site-header .submenu-chevron {
    width: 18px;
    height: 18px;
  }
}

/* ===== MOBILE SUBMENU TEXT ALIGNMENT ===== */
@media (max-width: 1279px) {
  /*
   * Equal-height submenu cards stay stretched by the grid, but their content
   * starts at the same top edge instead of being vertically centered.
   */
  .site-header .site-nav .nav-submenu > li > a {
    justify-content: flex-start;
    align-items: flex-start;
  }

  /*
   * The marquee remains part of the page in its normal position.
   * When the burger is open, the common fixed backdrop sits above it, so the
   * running line stays visible but receives the same blur as the rest of the page.
   */
  html.mobile-menu-open .marquee {
    position: relative;
    z-index: 19;
    top: auto;
    right: auto;
    left: auto;
    width: auto;
  }
}

/* ===== MOBILE MENU: KEEP MARQUEE IN NORMAL PAGE FLOW ===== */
@media (max-width: 1279px) {
  /*
   * Keep the shared header sticky instead of switching its root to fixed.
   * This preserves the header's original place in document flow, so the
   * running line underneath does not jump upward or disappear behind it.
   * The menu itself still opens as an overlay because .site-nav is absolute,
   * while the fixed backdrop blurs the marquee together with the page.
   */
  html.mobile-menu-open #site-header-root {
    position: sticky !important;
    top: 0;
    right: auto;
    left: auto;
    width: auto;
  }

  /* No special lifting of the marquee while the burger is open. */
  html.mobile-menu-open .marquee {
    position: relative;
    z-index: auto;
    top: auto;
    right: auto;
    left: auto;
    width: auto;
  }
}
