@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&family=PT+Serif:wght@400;700&display=swap');

:root {
  --green: #3a7d44;
  --green-light: #4e9c5a;
  --green-pale: #eef5f0;
  --dark: #2b2b2b;
  --gray: #555555;
  --gray-light: #888888;
  --border: #dde4df;
  --bg: #fafafa;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.13);
  --transition: 0.22s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'PT Sans', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--bg);
  opacity: 1;
  transition: opacity 0.2s ease;
}

body.fade-out {
  opacity: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.btn:hover,
button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-light);
}

.btn-secondary {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-white {
  background: var(--white);
  color: var(--green);
}

.btn-white:hover {
  background: var(--green-pale);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  font-family: 'PT Serif', Georgia, serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 16px;
  color: var(--gray);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.top-bar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.top-bar-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-group a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition: box-shadow var(--transition), border-color var(--transition), background-color var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
  border-color: rgba(221, 228, 223, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  font-size: 1.25rem;
}

.logo span {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--dark);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
  background: var(--green-pale);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border);
}

.burger-lines,
.burger-lines::before,
.burger-lines::after {
  width: 18px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  content: '';
  display: block;
}

.burger-lines {
  position: relative;
}

.burger-lines::before {
  position: absolute;
  top: -6px;
}

.burger-lines::after {
  position: absolute;
  top: 6px;
}

.nav-open + .burger .burger-lines {
  transform: rotate(45deg);
}

.nav-open + .burger .burger-lines::before {
  transform: translateY(6px) rotate(90deg);
}

.nav-open + .burger .burger-lines::after {
  opacity: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a3a20 0%, #2b2b2b 60%, #1e3d25 100%);
  color: var(--white);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.hero::before {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -40px;
}

.hero::after {
  width: 240px;
  height: 240px;
  bottom: -100px;
  left: -40px;
}

.hero-home {
  min-height: 560px;
  display: flex;
  align-items: center;
  text-align: center;
}

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

.hero-home .hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 84px 0;
}

.hero-label {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.page-hero {
  height: 280px;
  display: flex;
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb span:last-child {
  color: var(--white);
  font-weight: 700;
}

.stats-bar {
  background: var(--green);
  padding: 36px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  margin-bottom: 4px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 2rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--green-pale);
  color: var(--green);
}

.card p:last-child,
.info-card p:last-child {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 700;
  color: var(--green);
}

.text-link:hover {
  color: var(--green-light);
}

.center-cta {
  margin-top: 36px;
  text-align: center;
}

.about-preview,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: start;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-label {
  color: var(--gray);
  font-weight: 700;
}

.stat-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-card {
  background: var(--green-pale);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.8rem;
  color: var(--green);
}

.documents-list {
  display: grid;
  gap: 14px;
  counter-reset: doc;
}

.document-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.document-item::before {
  counter-increment: doc;
  content: counter(doc, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--green-pale);
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.25rem;
  color: var(--green);
}

.advantage-card {
  background: #f5f5f5;
  border: 0;
  box-shadow: none;
}

.advantage-card:hover {
  box-shadow: var(--shadow);
}

.feature-rows {
  display: grid;
  gap: 24px;
}

.feature-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 26px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.feature-row.reverse {
  grid-template-columns: 1fr 100px;
}

.feature-row.reverse .feature-icon {
  order: 2;
}

.feature-row.reverse .feature-copy {
  order: 1;
}

.feature-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: var(--green-pale);
  color: var(--green);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.step::after {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(100% + 12px);
  width: calc(100% - 24px);
  height: 1px;
  background: var(--border);
}

.step:last-child::after {
  display: none;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  border: 1px solid rgba(58, 125, 68, 0.16);
  font-weight: 700;
}

.step-title {
  margin-bottom: 8px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.15rem;
}

.table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.requisites-table {
  width: 100%;
  border-collapse: collapse;
}

.requisites-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.requisites-table tr:nth-child(odd) td {
  background: #f9f9f9;
}

.requisites-table tr:last-child td {
  border-bottom: 0;
}

.requisites-table td:first-child {
  width: 40%;
  font-weight: 700;
  color: var(--gray);
}

.requisites-table td:last-child {
  color: var(--dark);
  user-select: text;
}

.copy-actions {
  margin-top: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--green-pale);
  color: var(--green);
}

.full-width {
  width: 100%;
}

.map-placeholder {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius);
  background: #1e3d25;
  color: var(--white);
  box-shadow: var(--shadow);
}

.map-placeholder p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-banner {
  background: var(--green);
  color: var(--white);
  text-align: center;
  border-radius: 20px;
  padding: 48px 24px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 700px;
  margin: 0 auto 24px;
}

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 72px;
}

.footer-main {
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer-title {
  margin-bottom: 16px;
  color: var(--white);
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.2rem;
}

.footer-logo {
  margin-bottom: 16px;
  color: var(--white);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .card-grid,
  .stats-grid,
  .stat-blocks,
  .steps,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-preview,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 88px 1fr;
  }

  .feature-row.reverse .feature-icon,
  .feature-row.reverse .feature-copy {
    order: initial;
  }

  .steps .step:nth-child(2)::after,
  .steps .step:nth-child(4)::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 56px 0;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner {
    min-height: 76px;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 8px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .main-nav.nav-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .burger {
    display: inline-flex;
  }

  .card-grid,
  .stats-grid,
  .stat-blocks,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-home {
    min-height: 500px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .info-row {
    flex-direction: column;
  }

  .document-item {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .step::after {
    display: none;
  }

  .requisites-table,
  .requisites-table tbody,
  .requisites-table tr,
  .requisites-table td {
    display: block;
    width: 100%;
  }

  .requisites-table td {
    padding: 12px 16px;
  }

  .requisites-table td:first-child {
    padding-bottom: 4px;
    width: 100%;
  }

  .requisites-table td:last-child {
    padding-top: 0;
  }
}
