/* === Шрифты === */
/* Cygre — веб-версия семейства (кириллица включена) */

@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-Thin.woff2') format('woff2'),
       url('fonts/Cygre-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-ThinIt.woff2') format('woff2'),
       url('fonts/Cygre-ThinIt.woff') format('woff');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-Light.woff2') format('woff2'),
       url('fonts/Cygre-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-LightIt.woff2') format('woff2'),
       url('fonts/Cygre-LightIt.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-Book.woff2') format('woff2'),
       url('fonts/Cygre-Book.woff') format('woff');
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-BookIt.woff2') format('woff2'),
       url('fonts/Cygre-BookIt.woff') format('woff');
  font-weight: 350;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-Regular.woff2') format('woff2'),
       url('fonts/Cygre-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-RegularIt.woff2') format('woff2'),
       url('fonts/Cygre-RegularIt.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-Medium.woff2') format('woff2'),
       url('fonts/Cygre-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-MediumIt.woff2') format('woff2'),
       url('fonts/Cygre-MediumIt.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-SemiBold.woff2') format('woff2'),
       url('fonts/Cygre-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-SemiBoldIt.woff2') format('woff2'),
       url('fonts/Cygre-SemiBoldIt.woff') format('woff');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-Bold.woff2') format('woff2'),
       url('fonts/Cygre-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-BoldIt.woff2') format('woff2'),
       url('fonts/Cygre-BoldIt.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-ExtraBold.woff2') format('woff2'),
       url('fonts/Cygre-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-ExtraBoldIt.woff2') format('woff2'),
       url('fonts/Cygre-ExtraBoldIt.woff') format('woff');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-Black.woff2') format('woff2'),
       url('fonts/Cygre-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cygre';
  src: url('fonts/Cygre-BlackIt.woff2') format('woff2'),
       url('fonts/Cygre-BlackIt.woff') format('woff');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* === Токены бренда === */
:root {
  --brand-primary: #1FA637;
  --brand-bright:  #5CD434;
  --brand-light:   #8BE09E;
  --brand-deep:    #1E8049;
  --brand-text:    #15241A;
  --brand-bg:      #F2FAF4;
  --brand-gradient: linear-gradient(135deg, #1E8049, #1FA637);

  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft:  0 8px 30px rgba(30, 128, 73, .10);
  --shadow-hover: 0 16px 40px rgba(30, 128, 73, .18);
  --transition: 200ms cubic-bezier(.4, 0, .2, 1);

  --font-main: "Inter", "Inter", system-ui, sans-serif;
  --font-secondary: "Inter", system-ui, sans-serif;
  --font-heading: "Cygre", system-ui, sans-serif;
}

/* === Глобальные базовые стили === */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  accent-color: var(--brand-primary);
}

body {
  font-family: var(--font-main);
  font-weight: 500;
  color: var(--brand-text);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.brand-title,
.hero-date,
.hero-place,
.footer-heading,
#concept .concept__intro,
#concept .concept-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
}

::selection {
  background: var(--brand-light);
  color: var(--brand-text);
}

img { max-width: 100%; }

/* === Кнопки === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 0;
  padding: .55rem 1.125rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: none;
  font-family: var(--font-secondary);
  font-size: clamp(.75rem, 1.1vw, .875rem);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

button.btn {
  appearance: none;
  -webkit-appearance: none;
}

.btn i,
.btn svg {
  flex-shrink: 0;
  font-size: .75em;
  transition: transform var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.btn--pill-soft {
  border-color: var(--brand-light);
  background: var(--brand-bg);
  color: var(--brand-deep);
}

@media (hover: hover) {
  .btn--pill-soft:hover {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #fff;
  }

  .btn--pill-soft:hover i,
  .btn--pill-soft:hover svg {
    transform: translateX(3px);
  }
}

.btn--block {
  width: 100%;
}

/* === Scroll-reveal === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--transition), transform 0.55s var(--transition);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* === ШАПКА (sticky nav) === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--brand-primary);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}
@supports (backdrop-filter: blur(12px)) {
  .site-header.scrolled {
    background: rgba(31, 166, 55, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(255,255,255,.12);
  }
}
.site-header:not(.scrolled) {
  background: var(--brand-primary);
}

/* Пункты меню */
.nav-link-custom {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: clamp(.7rem, 1vw, .9rem);
  text-transform: uppercase;
  color: rgba(255,255,255,.9) !important;
  letter-spacing: .04em;
  padding: .5rem .6rem !important;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-link-custom::after {
  content: "";
  position: absolute;
  bottom: 0; left: .6rem; right: .6rem;
  height: 2px;
  background: var(--brand-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: #fff !important;
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  transform: scaleX(1);
}

/* Иконка VK в шапке */
.nav-vk {
  color: rgba(255,255,255,.85) !important;
  font-size: 1.25rem;
  transition: color var(--transition), transform var(--transition);
  padding: .4rem .5rem !important;
}
.nav-vk:hover { color: #fff !important; transform: scale(1.15); }

/* Балансировка шапки: меню + VK центрируются как группа */
@media (min-width: 1200px) {
  .site-header .navbar > .container-xl { justify-content: center; }
  .site-header #navbarMain { flex: 0 0 auto; }
  .site-header .nav-vk { margin-left: 12px !important; }
}

/* Три декоративных подсолнуха в мобильной шапке (слева от бургера) */
.header-motif {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: clamp(.15rem, 1vw, .35rem);
  flex-shrink: 0;
  pointer-events: none;
}
.header-motif-sf {
  width: auto;
  display: block;
  /* opacity: .35; */
  -webkit-mask-image: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,.5) 55%, transparent 100%);
  mask-image:         linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,.5) 55%, transparent 100%);
}
.header-motif-sf--1 {
  height: 26px;
  margin-bottom: 6px;
}
.header-motif-sf--2 {
  height: 36px;
}
.header-motif-sf--3 {
  height: 30px;
  margin-bottom: 3px;
}

/* Кнопка бургера */
.navbar-toggler {
  border: none;
  color: #fff;
  font-size: 1.3rem;
  padding: .4rem .6rem;
  min-width: 44px;
  min-height: 44px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--brand-bright); }

/* Offcanvas */
.offcanvas-header { background: var(--brand-deep); }
.offcanvas-body { background: var(--brand-primary); }
.offcanvas .nav-link-custom {
  font-size: 1rem;
  padding: .75rem 1rem !important;
  border-radius: 8px;
  margin-bottom: 4px;
}
.offcanvas .nav-link-custom:hover,
.offcanvas .nav-link-custom.active { background: rgba(255,255,255,.1); }
.offcanvas .nav-link-custom::after { display: none; }

/* === HERO-ШАПКА (логотип + контакты) === */
.hero-banner {
  background: var(--brand-gradient);
  padding: clamp(1.5rem, 4vw, 3.5rem) 0;
  position: relative;
  overflow: hidden;
}
/* Дуги белым по градиенту — перекликаются с дугами в футере;
   пара зеркальных элементов в нижних углах */
.hero-banner::before,
.hero-banner::after {
  content: "";
  position: absolute;
  width: min(420px, 70vw); height: min(420px, 70vw);
  background: #fff;
  opacity: .07;
  -webkit-mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  pointer-events: none;
}
/* Одинаковый фрагмент дуг в противоположных углах:
   слева — из верхнего угла (перевёрнут по вертикали), справа — из нижнего */
.hero-banner::before { left: -110px;  top: -110px;    transform: scaleY(-1); }
.hero-banner::after  { right: -110px; bottom: -110px; transform: scaleX(-1); }
.hero-banner .container-xl {
  position: relative;
  z-index: 1;
}
.hero-banner .brand-title {
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: .5rem;
}
.hero-banner .row {
  justify-content: center;
}
.hero-banner .row > .col {
  flex: 0 0 auto;
  width: auto;
}
.hero-banner .contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: flex-start;
}
.hero-banner .contact-item {
  color: rgba(255,255,255,.9);
  font-size: clamp(.78rem, 1.2vw, .95rem);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.hero-banner .contact-item i {
  color: var(--brand-bright);
  font-size: 1em;
  flex-shrink: 0;
}
.hero-banner .logo-wrap img { height: clamp(56px, 8vw, 90px); }

/* Hero-блок в ширину контентной колонки (about-v2) */
.hero-banner .hero-banner__content {
  display: flex;
  align-items: center;
  width: 100%;
}

.banner-divider {
  width: 1px;
  height: 100%;
  min-height: 48px;
  background: rgba(255,255,255,.3);
  margin: 0 .5rem;
}
.banner-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(.75rem, 1.1vw, .88rem);
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .35rem;
}

/* === ЧАСЫ === */
.clock-bar {
  background: var(--brand-deep);
  padding: .5rem 1rem;
  text-align: center;
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: clamp(.9rem, 1.5vw, 1rem);
  color: #fff;
  letter-spacing: .03em;
}
.clock-sep {
  display: inline-block;
  transition: opacity .15s;
}
.clock-sep.blink { opacity: 0; }

/* === HERO-ВИДЕО === */
.hero-video {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--brand-gradient);
}
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video .overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 128, 73, .4);
  z-index: 1;
}
.hero-video .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: clamp(2rem, 6vw, 4rem) 1rem;
}
.hero-date {
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.0;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-place {
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 3rem);
  line-height: 1.1;
  margin-top: .5rem;
}
.hero-address {
  font-weight: 700;
  font-size: clamp(.85rem, 1.8vw, 1.25rem);
  line-height: 1.3;
  margin-top: .5rem;
  opacity: .9;
}
.hero-free {
  position: relative;
  overflow: hidden;
  font-weight: 500;
  font-size: clamp(.9rem, 1.5vw, 1.15rem);
  margin: 0 0 1rem;
  opacity: .85;
  background: rgba(255,255,255,.12);
  display: inline-block;
  padding: .4rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.25);
}

.hero-free::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,.55) 50%,
    rgba(255,255,255,0) 65%,
    transparent 100%
  );
  transform: translateX(-180%) skewX(-18deg);
  animation: hero-free-sweep 4.5s ease-in-out infinite;
}

@keyframes hero-free-sweep {
  0%   { transform: translateX(-180%) skewX(-18deg); }
  /* луч проходит за ~0.9s, остальное время — пауза */
  20%  { transform: translateX(280%) skewX(-18deg); }
  100% { transform: translateX(280%) skewX(-18deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-free::before {
    animation: none;
  }
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  margin-top: 1.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 44px;
  padding: .85rem clamp(1.2rem, 3vw, 1.8rem);
  background: var(--brand-light);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: clamp(.9rem, 1.6vw, 1.05rem);
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: var(--brand-bright);
  color: #fff;
}

.hero-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero-cta i {
  font-size: 1.1em;
}

.hero-cta-note {
  margin: 0;
  font-size: clamp(.75rem, 1.2vw, .9rem);
  font-weight: 500;
  opacity: .8;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta {
    transition: none;
  }
  .hero-cta:hover {
    transform: none;
  }
}

@media (max-height: 480px) {
  .hero-video { min-height: 100vh; }
  .hero-date { font-size: 2rem; }
  .hero-place { font-size: 1.2rem; }
  .hero-address { font-size: .8rem; }
  .hero-video .hero-content { padding: 1rem; }
  .hero-cta-wrap { margin-top: 1rem; gap: .45rem; }
  .hero-cta { padding: .65rem 1.2rem; font-size: .85rem; }
  .hero-cta-note { font-size: .72rem; }
}

/* === СЕКЦИЯ СПОНСОРОВ === */
.sponsors-section {
  background: var(--brand-bg);
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
/* Фирменные радиальные дуги («аграрные горизонты») в углах секции.
   Маска позволяет красить элемент токенами палитры. */
.sponsors-section::before {
  content: "";
  position: absolute;
  -webkit-mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
  width: min(640px, 85vw); height: min(640px, 85vw);
  background: var(--brand-primary);
  opacity: .07;
  top: -120px; right: -120px;
  transform: rotate(180deg);
}
.sponsors-section .container-xl { position: relative; z-index: 1; }

.sponsors-section .section-title {
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: #000;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.sponsor-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid transparent;
  /* box-shadow: var(--shadow-soft); */
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
@media (hover: hover) {
  .sponsor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-light);
  }
}
.sponsor-card .sponsor-name {
  font-weight: 600;
  font-size: .9rem;
  color: var(--brand-text);
  margin-bottom: .75rem;
}
.sponsor-logo-wrap {
  height: 80px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .75rem;
  width: 100%;
}
.sponsor-logo-wrap img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}
.sponsor-status {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: .78rem;
  color: #6c8c78;
}

/* === ИНФОРМАЦИОННЫЕ ПАРТНЕРЫ === */
.info-partners-section {
  background: #fff;
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.info-partners-section .container-xl { position: relative; z-index: 1; }

.info-partners-section .section-title {
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: #000;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.info-partners-section .row {
  --bs-gutter-y: clamp(3rem, 6vw, 5rem);
}

.info-partner-logo {
  height: 96px;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1.25rem;
  transition: transform var(--transition);
  padding: 10px 20px;
}

.info-partner-logo img {
  max-height: 92px;
  /* max-width: 240px; */
  width: auto;
  object-fit: contain;
}

@media (hover: hover) {
  .info-partner-logo:hover {
    transform: translateY(-3px);
  }
}

/* === НОВОСТИ === */
.news-section {
  background: var(--brand-bg);
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
/* Фирменная радиальная дуга («аграрные горизонты») в левом нижнем углу. */
.news-section::after {
  content: "";
  position: absolute;
  -webkit-mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
  width: min(460px, 65vw); height: min(460px, 65vw);
  background: var(--brand-deep);
  opacity: .06;
  bottom: -100px; left: -100px;
}

.news-section .container-xl {
  position: relative;
  z-index: 1;
}

.news-section .section-title {
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: #000;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.news-section__carousel-wrap {
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 0 clamp(.75rem, 3vw, 4.5rem);
}

.news-section .news__title.b3line,
.news-section .b3line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-wrap: unset;
}

.news-section .news__text.b4line,
.news-section .b4line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  text-wrap: unset;
}

.news-section .mhd75 {
  min-height: 75px;
}

@media (max-width: 568px) {
  .news-section .mhd75 {
    min-height: 50px;
  }
}

.news__item {
  background: #fbfbfb;
  display: flex;
  flex-direction: column;
  height: unset;
}

.news-section .header-img {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 200px;
  width: 100%;
  flex-shrink: 0;
}

.news__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(1.25rem, 2.5vw, 1.875rem);
}

.news__title {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.25;
  font-weight: 700;
  color: #000;
  margin: 0 0 1rem;
  text-wrap: unset;
}

.news__text {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: clamp(.8rem, 1.2vw, .9375rem);
  line-height: 1.35;
  color: #666;
  margin-bottom: 1rem;
  text-wrap: unset;
}

.news__time {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-size: clamp(.75rem, 1.1vw, 1.0625rem);
  line-height: 1.3;
  color: #888;
}

.news__time i {
  color: #c4c4c4;
  font-size: .95em;
}

.news__carousel .owl-stage {
  display: flex;
}

.news__carousel .owl-item {
  display: flex;
}

.news__carousel .owl-nav button.owl-next,
.news__carousel .owl-nav button.owl-prev {
  position: absolute;
  top: 130px;
  color: var(--brand-primary);
}

.news__carousel .owl-nav button.owl-next svg,
.news__carousel .owl-nav button.owl-prev svg {
  pointer-events: none;
}

.news__carousel .owl-nav button.owl-next {
  right: -3.75rem;
}

.news__carousel .owl-nav button.owl-prev {
  left: -3.75rem;
}

.news__carousel .owl-dots {
  counter-reset: dots;
  padding-top: clamp(2rem, 4vw, 4.375rem);
}

.news__carousel .owl-dot span {
  display: none;
}

.news__carousel .owl-dot::before {
  counter-increment: dots;
  content: counter(dots);
  color: #000;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.25;
  margin: 0 .625rem;
}

.news__carousel .owl-dot.active::before {
  border-bottom: 2px solid var(--brand-deep);
}

.news__carousel.owl-theme .owl-nav [class*=owl-]:hover {
  background: none;
  color: var(--brand-deep);
}

@media (max-width: 1024px) {
  .news__carousel .owl-nav button.owl-next {
    right: -2.75rem;
  }

  .news__carousel .owl-nav button.owl-prev {
    left: -2.75rem;
  }
}

@media (max-width: 767px) {
  .news-section__carousel-wrap {
    padding: 0;
  }

  .news__carousel .owl-nav button.owl-next {
    right: -.5rem;
  }

  .news__carousel .owl-nav button.owl-prev {
    left: -.5rem;
  }

  .news__carousel .owl-nav button.owl-next svg,
  .news__carousel .owl-nav button.owl-prev svg {
    max-width: 13px;
  }

  .news__time {
    margin-bottom: .75rem;
  }
}

/* === БАННЕР ZO === */
.zo-banner-wrap {
  display: block;
  width: 100%;
  background: linear-gradient(to right, #3A884A, #273D20);
  text-decoration: none;
  overflow: hidden;
}
.zo-banner-wrap img {
  width: 100%;
  display: block;
}

/* === ФУТЕР === */
.site-footer {
  background: var(--brand-deep);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem;
  color: rgba(255,255,255,.9);
  position: relative;
  overflow: hidden;
}
/* Дуги белым по тёмно-зелёному — едва заметное заполнение пустого угла */
.site-footer::after {
  content: "";
  position: absolute;
  width: min(640px, 70vw); height: min(640px, 70vw);
  bottom: -90px; right: -90px;
  background: #fff;
  opacity: .05;
  transform: scaleX(-1);
  -webkit-mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  pointer-events: none;
}
/* Тот же мотив в левом верхнем углу — отзеркален по вертикали и на 30% меньше */
.site-footer::before {
  content: "";
  position: absolute;
  width: min(508px, 49vw); 
  height: min(508px, 49vw);
  top: -43px; left: -63px;
  background: #fff;
  opacity: .05;
  transform: scaleX(-1) scaleY(-1);
  -webkit-mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  pointer-events: none;
}
.site-footer .container-xl {
  position: relative;
  z-index: 1;
}
.site-footer .footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-nav li + li {
  margin-top: .5rem;
}
.site-footer .footer-nav a {
  font-family: var(--font-p);
  font-size: .9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  position: relative;
  display: inline-block;
}
.site-footer .footer-nav a.active {
  color: var(--brand-bright);
}
.site-footer .footer-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-bright);
}

.site-footer .footer-heading {
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #fff;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.site-footer .footer-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .75rem;
  font-size: .93rem;
}
.site-footer .footer-item i {
  color: var(--brand-light);
  font-size: 1em;
  margin-top: .15em;
  flex-shrink: 0;
}
.site-footer a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color var(--transition);
}
.site-footer a:hover { color: var(--brand-bright); }

.footer-legal {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  max-width: 60ch;
}
.footer-requisites {
  font-family: var(--font-secondary);
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-top: .75rem;
}

/* Три декоративных подсолнуха в футере с градиентным растворением */
.footer-motif {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: clamp(.5rem, 2vw, 1.25rem);
  margin-top: 1.5rem;
}
.motif-sf {
  width: auto;
  display: block;
  opacity: .35;
}
.motif-sf--1 {
  height: 88px;
  margin-bottom: 20px;
}
.motif-sf--2 {
  height: 120px;
}
.motif-sf--3 {
  height: 104px;
  margin-bottom: 10px;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-bottom img { height: 32px; opacity: .85; }
.footer-vk {
  color: rgba(255,255,255,.7) !important;
  font-size: 1.4rem;
  transition: color var(--transition), transform var(--transition);
}
.footer-vk:hover { color: var(--brand-bright) !important; transform: scale(1.1); }

/* === СТРАНИЦА О ВЫСТАВКЕ === */
.about-section {
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.about-section .container-xl {
  position: relative;
  z-index: 1;
}

/* Виньетка из фирменных иллюстраций (пшеница, подсолнух, шестерёнка) —
   фоновый слой под текстом, прижата к правому нижнему углу секции;
   текст (.container, z-index:1) лежит поверх */
.field-motif {
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  bottom: 0;
  z-index: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: clamp(1.25rem, 4vw, 2.25rem);
  opacity: .22;
  pointer-events: none;
}
.field-motif img { width: auto; }
.about-accent {
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--brand-bright);
  border-radius: 2px;
  vertical-align: middle;
  margin-right: .5rem;
  flex-shrink: 0;
}
.about-section h1 {
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--brand-primary);
  line-height: 1.05;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem;
  margin-bottom: 1.75rem;
}
.about-lead {
  background: var(--brand-bg);
  border-left: 4px solid var(--brand-light);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.5rem;
}
.about-section p {
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  color: var(--brand-text);
  margin-bottom: 1.25rem;
}

/* === СТРАНИЦА ЭКСПОНЕНТАМ === */
.exhibitors-section .exhibitors-block {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.exhibitors-section .exhibitors-block__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  color: var(--brand-deep);
  line-height: 1.2;
  margin-bottom: .5rem;
}

.exhibitors-section .exhibitors-block__org {
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  font-weight: 600;
  color: var(--brand-text);
  margin-bottom: 1.25rem;
  opacity: .88;
}

.exhibitors-section .contact-card {
  background: var(--brand-bg);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(139, 224, 158, .4);
  padding: 1.25rem 1.35rem;
  height: 100%;
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

@media (hover: hover) {
  .exhibitors-section .contact-card:hover {
    box-shadow: var(--shadow-soft);
    border-color: var(--brand-light);
    transform: translateY(-2px);
  }
}

.exhibitors-section .contact-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(.88rem, 1.25vw, .98rem);
  color: var(--brand-deep);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 1rem;
}

.exhibitors-section .contact-card__item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .65rem;
  font-size: clamp(.88rem, 1.2vw, .95rem);
}

.exhibitors-section .contact-card__item:last-child {
  margin-bottom: 0;
}

.exhibitors-section .contact-card__item i {
  color: var(--brand-primary);
  font-size: 1em;
  margin-top: .2em;
  flex-shrink: 0;
  width: 1.1em;
  text-align: center;
}

.exhibitors-section .contact-card__item a {
  color: var(--brand-text);
  text-decoration: none;
  transition: color var(--transition);
  word-break: break-word;
}

@media (hover: hover) {
  .exhibitors-section .contact-card__item a:hover {
    color: var(--brand-primary);
  }
}

.exhibitors-section .download-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(139, 224, 158, .45);
  text-decoration: none;
  color: inherit;
  max-width: 420px;
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

@media (hover: hover) {
  .exhibitors-section .download-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-light);
    transform: translateY(-2px);
  }

  .exhibitors-section .download-card:hover .download-card__arrow {
    transform: translateY(2px);
    color: var(--brand-primary);
  }
}

.exhibitors-section .download-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.exhibitors-section .download-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.exhibitors-section .download-card__info {
  flex: 1;
  min-width: 0;
}

.exhibitors-section .download-card__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(.9rem, 1.3vw, 1rem);
  color: var(--brand-deep);
  margin-bottom: .2rem;
}

.exhibitors-section .download-card__size {
  display: block;
  font-size: .82rem;
  color: #6c8c78;
}

.exhibitors-section .download-card__arrow {
  flex-shrink: 0;
  color: var(--brand-deep);
  font-size: .95rem;
  transition:
    transform var(--transition),
    color var(--transition);
}

/* === СТРАНИЦА #КОНЦЕПЦИЯ 2026 === */
.concept-page {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  background: var(--brand-bg);
}

#concept {
  --concept-bg: var(--brand-light);
  --concept-surface: #ffffff;
  --concept-ink: var(--brand-text);
  --concept-pill: #ffffff;
  --concept-radius-card: var(--radius-lg);
  --concept-radius-pill: var(--radius-md);
  --concept-pad: clamp(22px, 2.8vw, 34px);
  --concept-gap: clamp(18px, 2.2vw, 28px);
  color: var(--concept-ink);
  font-family: var(--font-main);
  font-weight: 500;
  line-height: 1.45;
}

#concept .concept__viewport {
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 0 clamp(20px, 3vw, 36px) clamp(24px, 3vw, 36px);
  overflow: hidden;
  box-sizing: border-box;
}


/* Фирменные дуги внутри контентного блока — по аналогии с секцией спонсоров */
/* #concept .concept__viewport::before,
#concept .concept__viewport::after {
  content: "";
  position: absolute;
  -webkit-mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
} */
#concept .concept__viewport::before {
  width: min(640px, 85vw); height: min(640px, 85vw);
  background: var(--brand-primary);
  opacity: .07;
  top: -120px; right: -120px;
  transform: rotate(180deg);
}
#concept .concept__viewport::after {
  width: min(460px, 65vw); height: min(460px, 65vw);
  background: var(--brand-deep);
  opacity: .06;
  bottom: -100px; left: -100px;
}

#concept .concept__intro {
  position: relative;
  z-index: 1;
  margin: 0 auto clamp(16px, 2.5vw, 28px);
  max-width: min(920px, 100%);
  padding: 0 clamp(12px, 2vw, 20px);
  text-align: center;
  font-size: clamp(20px, 2.1vw, 32px);
  color: var(--brand-primary);
  letter-spacing: -0.02em;
}

#concept .concept__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--concept-gap);
  margin: 0;
  padding: 0;
}

#concept .concept-card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--concept-bg);
  border-radius: var(--concept-radius-card);
  padding: 0;
  box-shadow: var(--shadow-soft);
  border: 1px solid transparent;
  box-sizing: border-box;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
@media (hover: hover) {
  #concept .concept-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-light);
    transform: translateY(-4px);
  }
}

#concept .concept-card__tags {
  margin: 0 0 clamp(16px, 2vw, 22px);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

#concept .concept-card__tag {
  display: inline-block;
  background: var(--concept-pill);
  color: var(--brand-deep);
  border-radius: 18px 18px 0 0;
  padding: 10px 18px 14px;
  font-family: var(--font-main);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  white-space: normal;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  margin: 5px 6px;
}

#concept .concept-card__title {
  margin: 0 0 clamp(14px, 1.8vw, 20px);
  padding: 0 var(--concept-pad);
  font-size: clamp(19px, 1.65vw, 26px);
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}

#concept .concept-card__body {
  margin: 0;
  padding: 0 var(--concept-pad) var(--concept-pad);
  font-family: var(--font-main);
  font-size: clamp(14px, 1.05vw, 15px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--concept-ink);
}

#concept .concept-card__body p {
  margin: 0 0 14px;
}

#concept .concept-card__body p:last-child {
  margin-bottom: 0;
}

#concept .concept-card--1,
#concept .concept-card--3 {
  margin-top: 0;
}

#concept .concept-card--2,
#concept .concept-card--4 {
  margin-top: clamp(56px, 7.5vw, 100px);
}

@media (max-width: 1199.98px) {
  #concept .concept__grid {
    flex-wrap: wrap;
    row-gap: clamp(20px, 3vw, 28px);
  }

  #concept .concept-card {
    flex: 1 1 calc(50% - var(--concept-gap) / 2);
    max-width: calc(50% - var(--concept-gap) / 2);
  }

  #concept .concept-card--1,
  #concept .concept-card--3 {
    margin-top: 0;
  }

  #concept .concept-card--2,
  #concept .concept-card--4 {
    margin-top: clamp(28px, 5vw, 48px);
  }
}

@media (max-width: 767.98px) {
  #concept .concept-card {
    flex: 1 1 100%;
    max-width: 100%;
    border-radius: var(--concept-radius-card);
  }

  #concept .concept-card--2,
  #concept .concept-card--3,
  #concept .concept-card--4 {
    margin-top: 0;
  }
}

/* === СТРАНИЦА 404 === */
.error-section {
  background: var(--brand-bg);
  padding: clamp(3rem, 10vw, 6rem) 0;
  min-height: calc(75svh - 200px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.error-section::before {
  content: "";
  position: absolute;
  -webkit-mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
  width: min(640px, 85vw);
  height: min(640px, 85vw);
  background: var(--brand-primary);
  opacity: .07;
  top: -120px;
  right: -120px;
  transform: rotate(180deg);
}

.error-section::after {
  content: "";
  position: absolute;
  -webkit-mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  mask: url("../img/decor/arcs.svg") no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
  width: min(460px, 65vw);
  height: min(460px, 65vw);
  background: var(--brand-deep);
  opacity: .06;
  bottom: -100px;
  left: -100px;
}

.error-section .container-xl {
  position: relative;
  z-index: 1;
}

.error-section__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.error-section__code {
  margin: 0 0 clamp(.5rem, 2vw, 1rem);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(5rem, 18vw, 10rem);
  line-height: 1;
  color: var(--brand-primary);
  letter-spacing: -.04em;
}

.error-section__title {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2.25rem);
  line-height: 1.15;
  color: var(--brand-deep);
  text-wrap: balance;
}

.error-section__cta {
  display: flex;
  justify-content: center;
}

.error-section .hero-cta {
  background: var(--brand-gradient);
  color: #fff;
}

@media (hover: hover) {
  .error-section .hero-cta:hover {
    background: linear-gradient(135deg, #1FA637, #5CD434);
    color: #fff;
  }
}

/* === Утилиты === */
:focus-visible {
  outline: 3px solid var(--brand-bright);
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  .hero-video { min-height: 100svh; min-height: 100vh; }
}

/* === ФОРМА АВТОРИЗАЦИИ (scoped) === */
main:has(.form_auth) {
  background: var(--brand-bg);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem);
  min-height: calc(75svh - 200px);
}

main:has(.form_auth) .modal__cabinet__head {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--brand-primary);
  text-align: center;
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

main:has(.form_auth) .form_auth {
  max-width: 480px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1.5px solid rgba(139, 224, 158, .35);
}

main:has(.form_auth) .form_auth .fields-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

main:has(.form_auth) .form_auth .fields {
  margin: 0;
}

main:has(.form_auth) .form_auth .field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

main:has(.form_auth) .form_auth .field-label {
  order: -1;
  font-family: var(--font-secondary);
  font-size: clamp(.78rem, 1.1vw, .875rem);
  font-weight: 600;
  color: var(--brand-deep);
  letter-spacing: .02em;
}

main:has(.form_auth) .form_auth .input,
main:has(.form_auth) .form_auth input[type="text"]:not([type="hidden"]),
main:has(.form_auth) .form_auth input[type="password"] {
  width: 100%;
  height: 52px;
  padding: .75rem 1rem;
  border: 1.5px solid var(--brand-light);
  border-radius: var(--radius-md);
  background: #fff;
  font-family: var(--font-main);
  font-size: clamp(.9rem, 1.2vw, 1rem);
  font-weight: 500;
  color: var(--brand-text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

main:has(.form_auth) .form_auth .input::placeholder,
main:has(.form_auth) .form_auth input[type="text"]::placeholder,
main:has(.form_auth) .form_auth input[type="password"]::placeholder {
  color: rgba(21, 36, 26, .4);
}

main:has(.form_auth) .form_auth .input:focus,
main:has(.form_auth) .form_auth input[type="text"]:focus,
main:has(.form_auth) .form_auth input[type="password"]:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(31, 166, 55, .15);
  background: #fff;
}

main:has(.form_auth) .form_auth .fields--remember {
  margin: 0 0 -.7rem;
}

main:has(.form_auth) .form_auth .fields--remember + .input-submit {
  margin-top: 10px;
}

main:has(.form_auth) .form_auth .form-auth-remember {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  font-family: var(--font-secondary);
  font-size: .92rem;
  font-weight: 600;
  color: var(--brand-deep);
  user-select: none;
  line-height: 1.3;
}

main:has(.form_auth) .form_auth .form-auth-remember span {
  transition: color var(--transition);
}

@media (hover: hover) {
  main:has(.form_auth) .form_auth .form-auth-remember:hover span {
    color: var(--brand-primary);
  }
}

main:has(.form_auth) .form_auth .form-auth-remember input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 22px;
  height: 22px;
  margin: 0;
  flex-shrink: 0;
  border: 2px solid var(--brand-light);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

main:has(.form_auth) .form_auth .form-auth-remember input[type="checkbox"]::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

main:has(.form_auth) .form_auth .form-auth-remember input[type="checkbox"]:checked {
  background: var(--brand-gradient);
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(31, 166, 55, .25);
}

main:has(.form_auth) .form_auth .form-auth-remember input[type="checkbox"]:checked::after {
  transform: rotate(45deg) scale(1);
  opacity: 1;
}

main:has(.form_auth) .form_auth .form-auth-remember input[type="checkbox"]:focus-visible {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(31, 166, 55, .18);
}

@media (hover: hover) {
  main:has(.form_auth) .form_auth .form-auth-remember:hover input[type="checkbox"]:not(:checked) {
    border-color: var(--brand-primary);
    background: #fff;
  }

  main:has(.form_auth) .form_auth .form-auth-remember:hover input[type="checkbox"]:checked {
    box-shadow: 0 6px 16px rgba(31, 166, 55, .32);
    transform: scale(1.04);
  }
}

main:has(.form_auth) .form_auth .form-auth-remember input[type="checkbox"]:active {
  transform: scale(.96);
}

main:has(.form_auth) .form_auth .form-auth-remember input[type="checkbox"]:checked:active {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  main:has(.form_auth) .form_auth .form-auth-remember input[type="checkbox"],
  main:has(.form_auth) .form_auth .form-auth-remember input[type="checkbox"]::after {
    transition: none;
  }
}

main:has(.form_auth) .form_auth .input-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px !important;
  margin-top: .5rem;
  padding: .85rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  font-family: var(--font-secondary);
  font-size: clamp(.9rem, 1.2vw, 1rem);
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

@media (hover: hover) {
  main:has(.form_auth) .form_auth .input-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, #1FA637, #5CD434);
  }
}

main:has(.form_auth) .form_auth .input-submit:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}

main:has(.form_auth) .form_auth .field--error .field-comment {
  padding: .75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(220, 53, 69, .08);
  border: 1px solid rgba(220, 53, 69, .25);
  color: #b02a37;
  font-size: .9rem;
  line-height: 1.45;
}

main:has(.form_auth) .form_auth .field--success .field-comment {
  padding: .75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(31, 166, 55, .08);
  border: 1px solid rgba(31, 166, 55, .25);
  color: var(--brand-deep);
  font-size: .9rem;
  line-height: 1.45;
}

main:has(.form_auth) .alert.alert-danger {
  margin-bottom: 1rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(220, 53, 69, .08);
  border: 1px solid rgba(220, 53, 69, .25);
  color: #b02a37;
  font-size: .9rem;
  line-height: 1.45;
}

main:has(.form_auth) .form_auth .field-captcha {
  margin-bottom: .5rem;
}

main:has(.form_auth) .form_auth .field-captcha img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--brand-light);
}

main:has(.form_auth) .form_auth .fields__bottom {
  margin-top: 1rem;
  text-align: center;
}

main:has(.form_auth) .form_auth .fields__bottom__forgot,
main:has(.form_auth) .form_auth .forgot_password {
  font-family: var(--font-secondary);
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand-deep);
  text-decoration: none;
  transition: color var(--transition);
}

@media (hover: hover) {
  main:has(.form_auth) .form_auth .fields__bottom__forgot:hover,
  main:has(.form_auth) .form_auth .forgot_password:hover {
    color: var(--brand-primary);
  }
}

@media (max-width: 575.98px) {
  main:has(.form_auth) .form_auth {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  main:has(.form_auth) .form_auth .input,
  main:has(.form_auth) .form_auth input[type="text"]:not([type="hidden"]),
  main:has(.form_auth) .form_auth input[type="password"],
  main:has(.form_auth) .form_auth .input-submit {
    height: 48px !important;
  }
}


@media (max-width: 508px) {
  .pmx10 {
    padding-left: 10px;
    padding-right: 10px;
  }

  footer {
    padding-left: 10px!important;
    padding-right: 10px!important;
  }
}
