/* Союз-А — агропромышленный лендинг */
:root {
  --accent: #15803d;
  --accent-light: #22c55e;
  --accent-dark: #14532d;
  --accent-muted: rgba(21, 128, 61, 0.12);
  --secondary: #ca8a04;
  --secondary-light: #eab308;
  --text: #142019;
  --text-muted: #4b6356;
  --bg: #ffffff;
  --bg-soft: #f0fdf4;
  --bg-muted: #dcfce7;
  --gradient-hero: linear-gradient(145deg, #14532d 0%, #166534 45%, #15803d 100%);
  --gradient-bg: linear-gradient(160deg, #f0fdf4 0%, #ecfdf5 50%, #fefce8 100%);
  --gradient-btn: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  --gradient-accent: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  --shadow: 0 4px 24px rgba(20, 48, 33, 0.08);
  --shadow-hover: 0 16px 48px rgba(20, 80, 45, 0.14);
  --shadow-green: 0 8px 32px rgba(21, 128, 61, 0.25);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container: 1180px;
  --header-h: 76px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--soft {
  background: var(--gradient-bg);
  position: relative;
}
.section--soft::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(234, 179, 8, 0.05) 0%, transparent 45%);
  pointer-events: none;
}
.section--soft > .container { position: relative; }
.section--animate { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.section--animate.section--visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .section--animate { opacity: 1; transform: none; }
}

.section__header { max-width: 40rem; margin-bottom: 2.5rem; }
.section__header--center {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}
.section__header--center .section__lead {
  margin-inline: auto;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 0.375rem 0.875rem;
  background: var(--accent-muted);
  border-radius: 999px;
  border: 1px solid rgba(21, 128, 61, 0.15);
}
.section__label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
}
.section__label--hero {
  color: #bbf7d0;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}
.section__label--hero::before { background: var(--secondary-light); }
.section__title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.section__lead {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 42rem;
  margin: 0;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9375rem 1.625rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn--primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(21, 128, 61, 0.35);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(21, 128, 61, 0.3);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-muted);
}
.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn--sm { padding: 0.625rem 1.125rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}
.header:has(.nav--open) {
  z-index: 110;
}
.header--scrolled {
  border-color: rgba(21, 128, 61, 0.12);
  box-shadow: 0 4px 24px rgba(20, 48, 33, 0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.1875rem;
  color: var(--accent-dark);
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--accent-dark); }
.logo--footer { color: #fff; }
.logo--footer:hover { color: #fff; }
.logo__img { width: 42px; height: 42px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  position: relative;
}
.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.2s;
}
.nav a:not(.btn):hover { color: var(--accent-dark); }
.nav a:not(.btn):hover::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent-dark);
  border-radius: 2px;
  transition: transform 0.2s;
}

.nav-overlay {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 98;
  background: rgba(20, 48, 33, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.nav-overlay:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .burger { display: flex; z-index: 110; margin-left: auto; }
  .header__cta-desktop { display: none; }
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 105;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.5rem 2rem;
    background: #fff;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -8px 0 32px rgba(20, 48, 33, 0.12);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, visibility 0.3s;
  }
  .nav--open { transform: translateX(0); visibility: visible; pointer-events: auto; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--bg-soft); font-size: 1.0625rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn--header-mobile { display: inline-flex; margin-top: 1.25rem; width: 100%; }
  .burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger--open span:nth-child(2) { opacity: 0; }
  .burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (min-width: 769px) {
  .nav .btn--header-mobile { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: clamp(4rem, 9vw, 6.5rem);
  background: var(--gradient-bg);
  overflow: hidden;
  color: var(--text);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(234, 179, 8, 0.05) 0%, transparent 45%);
  pointer-events: none;
}
.hero__decor { display: none; }
.hero > .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 440px; margin: 0 auto; }
}
.hero h1 {
  font-size: clamp(2.125rem, 5.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero__text {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 34rem;
  line-height: 1.7;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 2.5rem;
  max-width: 28rem;
  background: #fff;
  border: 1px solid rgba(21, 128, 61, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero__stat {
  flex: 1 1 0;
  min-width: 9rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  position: relative;
}
.hero__stat:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  right: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(21, 128, 61, 0.2), transparent);
}
.hero__stat-value {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent-dark);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero__stat-plus {
  font-size: 0.72em;
  color: var(--accent-light);
  margin-left: 0.05em;
}
.hero__stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
@media (max-width: 480px) {
  .hero__stats { flex-direction: column; max-width: 100%; }
  .hero__stat:not(:last-child)::after {
    top: auto;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(21, 128, 61, 0.2), transparent);
  }
}
.hero__visual {
  position: relative;
  margin: 0;
  isolation: isolate;
}
.hero__visual-glow {
  position: absolute;
  inset: 8% -4% -6% -4%;
  background:
    radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.22) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(234, 179, 8, 0.14) 0%, transparent 50%);
  border-radius: var(--radius-xl);
  z-index: 0;
  pointer-events: none;
}
.hero__figure {
  position: relative;
  z-index: 1;
  padding: 0.625rem;
  background: #fff;
  border-radius: calc(var(--radius-xl) + 2px);
  border: 1px solid rgba(21, 128, 61, 0.14);
  box-shadow:
    0 4px 6px rgba(20, 48, 33, 0.04),
    0 24px 56px rgba(20, 80, 45, 0.16);
}
.hero__figure::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.75rem;
  right: 1.75rem;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 0 0 4px 4px;
  z-index: 2;
}
.hero__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--accent-dark);
}
.hero__img-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}
.hero__visual:hover .hero__img-wrap img {
  transform: scale(1.05);
}
.hero__img-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 48, 33, 0.08) 0%, transparent 28%),
    linear-gradient(0deg, rgba(20, 48, 33, 0.55) 0%, transparent 42%);
  pointer-events: none;
}
.hero__caption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.875rem 0.375rem 0.375rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid rgba(21, 128, 61, 0.1);
  border-radius: var(--radius);
}
.hero__caption-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-muted);
  color: var(--accent);
}
@media (max-width: 900px) {
  .hero__visual-glow { inset: 4% -2% -4% -2%; }
  .hero__caption { font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__img-wrap img,
  .hero__visual:hover .hero__img-wrap img {
    transform: none;
    transition: none;
  }
}

/* About */
.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .about__layout { grid-template-columns: 1fr; }
  .about__visual { max-width: 520px; margin: 0 auto; }
}
.about__visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.about__content .section__label { margin-bottom: 1rem; }
.about__content .section__title {
  margin-bottom: 1.25rem;
  max-width: 18ch;
}
.about__accent {
  color: var(--accent);
}
.about__text {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 36rem;
}
.about-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}
@media (max-width: 520px) {
  .about-features { grid-template-columns: 1fr; }
}
.about-features li {
  position: relative;
  padding-left: 1.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}
.about-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

/* Cards */
.cards { display: grid; gap: 1.25rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards--2, .cards--3 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  border: 1px solid rgba(21, 128, 61, 0.08);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(21, 128, 61, 0.2);
}
.card--service .card__num {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-muted);
  line-height: 1;
  pointer-events: none;
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-muted) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1.125rem;
  border: 1px solid rgba(21, 128, 61, 0.1);
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.0625rem; font-weight: 700; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }

/* Portfolio gallery */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.portfolio-item {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}
.portfolio-item:hover img {
  transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-item img { transition: none; }
  .portfolio-item:hover img { transform: none; }
}
@media (min-width: 900px) {
  .portfolio-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 520px) {
  .portfolio-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

/* Equipment catalog */
.equipment-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .equipment-catalog { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .equipment-catalog { grid-template-columns: 1fr; }
}

.equipment-tile {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.625rem 1.25rem;
  border: 1px solid rgba(21, 128, 61, 0.1);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 9rem;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.equipment-tile__icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  margin-bottom: 0.875rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.equipment-tile:hover .equipment-tile__icon {
  transform: scale(1.06);
}
.equipment-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(240, 253, 244, 0.9) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.equipment-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(21, 128, 61, 0.2);
}
.equipment-tile:hover::after {
  opacity: 1;
}
.equipment-tile h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  max-width: 14rem;
}

.equipment-cta {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: #fff;
  border: 1px solid rgba(21, 128, 61, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.equipment-cta p {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}
@media (max-width: 600px) {
  .equipment-cta {
    flex-direction: column;
    text-align: center;
  }
  .equipment-cta .btn { width: 100%; }
}

/* FAQ */
.faq { max-width: 48rem; }
.faq details {
  background: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(21, 128, 61, 0.08);
  overflow: hidden;
}
.faq summary {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  line-height: 1;
  background: var(--accent-muted);
  color: var(--accent);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.25rem;
  translate: 0 -0.5px;
}
.faq details[open] summary::after {
  content: '−';
  background: var(--accent);
  color: #fff;
  font-size: 1.375rem;
  font-weight: 400;
  translate: 0 0;
}
.faq__answer { padding: 0 1.5rem 1.375rem; color: var(--text-muted); font-size: 0.9375rem; }
.faq__answer p { margin: 0; line-height: 1.7; }

/* Contact */
.contact-shell {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(21, 128, 61, 0.1);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-panel {
  background: linear-gradient(155deg, #14532d 0%, #166534 55%, #15803d 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: calc(var(--radius-xl) - 4px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.contact-panel::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.22) 0%, transparent 68%);
  pointer-events: none;
}
.contact-panel::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 45%;
  height: 50%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.contact-panel__head {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}
.contact-panel__title {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.contact-panel__lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
  flex: 1;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.9375rem 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.contact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.contact-card__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbf7d0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}
.contact-card__body {
  min-width: 0;
  flex: 1;
}
.contact-card__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.25rem;
}
.contact-card__value,
.contact-card__body > a {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
  word-break: break-word;
}
.contact-card__body > a,
.contact-card__row a {
  color: #bbf7d0;
}
.contact-card__body > a:hover,
.contact-card__row a:hover {
  color: #fff;
}
.contact-card__rows {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.contact-card__row {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.contact-card__meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.contact-card__row a {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-all;
}
.contact-card--vk {
  background: rgba(0, 119, 255, 0.12);
  border-color: rgba(0, 119, 255, 0.28);
}
.contact-card--vk:hover {
  background: rgba(0, 119, 255, 0.18);
  border-color: rgba(0, 119, 255, 0.4);
}
.contact-card__icon--vk {
  background: #0077ff;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.contact-card__vk-logo {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}
.contact-card__value--vk {
  color: #93c5fd !important;
}
.contact-card__value--vk:hover {
  color: #fff !important;
}
.contact-card__body .contact-card__meta {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}
.contact-panel__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-panel__actions .btn {
  flex: 1;
  min-width: 8rem;
}

.contact-form-wrap {
  min-height: 100%;
}

.form {
  background: var(--bg-soft);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: calc(var(--radius-xl) - 4px);
  border: 1px solid rgba(21, 128, 61, 0.12);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}
.form__header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(21, 128, 61, 0.12);
}
.form__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.form__subtitle {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 520px) {
  .form__row { grid-template-columns: 1fr; }
}
.form__group { margin-bottom: 1.125rem; }
.form__row .form__group { margin-bottom: 1.125rem; }
.form__group--invalid input,
.form__group--invalid textarea {
  border-color: #dc2626;
  background: #fef2f2;
}
.form__group--invalid input:focus,
.form__group--invalid textarea:focus {
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-field-error {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  color: #b42318;
  line-height: 1.4;
}
.form-field-error[hidden] { display: none; }
.form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--text-muted);
}
.form__required { color: #dc2626; }
.form input:not([type="checkbox"]),
.form textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  border: 2px solid rgba(21, 128, 61, 0.12);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form input:not([type="checkbox"])::placeholder,
.form textarea::placeholder {
  color: #94a3b8;
}
.form input:not([type="checkbox"]):focus,
.form textarea:focus {
  border-color: var(--accent);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-muted);
}
.form .btn { margin-top: 0.25rem; }
.form-success {
  background: linear-gradient(160deg, #f0fdf4 0%, #dcfce7 100%);
  color: var(--accent-dark);
  padding: clamp(2rem, 5vw, 3rem) 2rem;
  border-radius: calc(var(--radius-xl) - 4px);
  text-align: center;
  border: 1px solid rgba(21, 128, 61, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  gap: 0.25rem;
}
.form-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.15);
  border: 2px solid rgba(21, 128, 61, 0.15);
}
.form-success p { margin: 0.25rem 0; }
.form-success strong { font-size: 1.125rem; }
.form-error {
  color: #b42318;
  font-size: 0.875rem;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: #fef3f2;
  border-radius: var(--radius);
  border: 1px solid #fecdca;
}
.form-error[hidden] { display: none; }
.form-success[hidden], .form[hidden] { display: none; }

/* Form checkbox (152-FZ consent) */
.form__group--checkbox { margin-bottom: 1.25rem; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  position: relative;
}
.form-checkbox__input {
  position: absolute;
  top: 0.1rem;
  left: 0;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.form-checkbox__box {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.1rem;
  border: 2px solid rgba(21, 128, 61, 0.4);
  border-radius: 5px;
  background: #fff;
  position: relative;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.form-checkbox__text {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}
.form-checkbox__input:focus-visible + .form-checkbox__box {
  box-shadow: 0 0 0 4px var(--accent-muted);
}
.form-checkbox__input:checked + .form-checkbox__box {
  background: var(--accent);
  border-color: var(--accent);
}
.form-checkbox__input:checked + .form-checkbox__box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form__group--invalid .form-checkbox__box {
  border-color: #dc2626;
  background: #fef2f2;
}
.form-checkbox__hint {
  margin: 0.625rem 0 0;
  padding-left: calc(1.375rem + 0.75rem);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.form-checkbox__hint a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 1rem;
  background: rgba(20, 48, 33, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  width: min(100%, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.cookie-banner__title {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}
.cookie-banner__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 42rem;
}
.cookie-banner__text a {
  color: #bbf7d0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__text a:hover { color: #fff; }
@media (max-width: 600px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__inner .btn { width: 100%; }
}

/* Legal pages */
.legal-body { background: var(--bg-soft); }
.legal-header {
  background: #fff;
  border-bottom: 1px solid rgba(21, 128, 61, 0.1);
  padding: 1rem 0;
}
.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.legal-header__back {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}
.legal-header__back:hover { color: var(--accent); }
.legal-page { padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; }
.legal-page__inner {
  max-width: 48rem;
  background: #fff;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(21, 128, 61, 0.1);
  box-shadow: var(--shadow);
}
.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.legal-page__updated {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.legal-page h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
}
.legal-page p,
.legal-page li {
  color: var(--text-muted);
  line-height: 1.7;
}
.legal-page ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}
.legal-page__links {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(21, 128, 61, 0.12);
  font-size: 0.875rem;
}
.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid rgba(21, 128, 61, 0.12);
  border-radius: var(--radius-lg);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 640px;
}
.legal-table th,
.legal-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(21, 128, 61, 0.1);
}
.legal-table th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--text);
  font-size: 0.8125rem;
}
.legal-table td { color: var(--text-muted); }
.legal-table tr:last-child td { border-bottom: none; }
.legal-table code {
  font-size: 0.8125rem;
  background: var(--bg-muted);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  color: var(--accent-dark);
}
.footer--legal { padding: 1.5rem 0; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer__legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Footer */
.footer {
  background: var(--accent-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 1.5rem;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-light), var(--secondary-light), var(--accent-light));
}
.footer a { color: rgba(255, 255, 255, 0.9); }
.footer a:hover { color: #bbf7d0; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand p { font-size: 0.9375rem; max-width: 22rem; margin-top: 0.875rem; line-height: 1.65; }
.footer h4 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.625rem; font-size: 0.9375rem; }
.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.noscript-banner {
  background: #fef9c3;
  color: #713f12;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.875rem;
}
