:root {
  --bg: #f7f5ef;
  --paper: #ffffff;
  --ink: #18201d;
  --muted: #68736e;
  --line: #d9ddd5;
  --green: #1f5b49;
  --green-dark: #153f34;
  --amber: #f0b84b;
  --red: #b84238;
  --blue: #215b7a;
  --shadow: 0 18px 45px rgba(28, 38, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 245, 239, 0.94);
  border-bottom: 1px solid rgba(24, 32, 29, 0.1);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid var(--green);
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  font-weight: 800;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #34413c;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  background: rgba(31, 91, 73, 0.11);
  color: var(--green-dark);
}

.header-phone {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(420px, 68svh, 620px);
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 28, 23, 0.78), rgba(12, 28, 23, 0.36) 48%, rgba(12, 28, 23, 0.08)),
    linear-gradient(0deg, rgba(12, 28, 23, 0.22), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  max-width: 1180px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 44px 0 52px;
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 6.5vw, 5.6rem);
  line-height: 0.98;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.03rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--amber);
  color: #241a09;
  box-shadow: 0 12px 28px rgba(240, 184, 75, 0.28);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: white;
}

.quick-info {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.quick-info-grid div {
  min-height: 92px;
  padding: 20px 22px;
  background: var(--paper);
}

.quick-info-grid span,
.contact-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  text-transform: uppercase;
}

.quick-info-grid strong,
.contact-list strong {
  font-size: 1.02rem;
}

.section {
  padding: clamp(54px, 7vw, 92px) 0;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 28px;
}

.section-heading h2,
.contacts h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.news-meta,
.news-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.news-meta span:last-child {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(33, 91, 122, 0.12);
  color: var(--blue);
  font-weight: 800;
}

.news-card h3 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(1.22rem, 2.4vw, 1.9rem);
  line-height: 1.25;
}

.news-card p {
  max-width: 840px;
  margin: 0;
  color: #46514c;
}

.file-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.file-link {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.file-link:hover strong {
  color: var(--green);
}

.file-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  background: #ffe9bd;
  color: #5b3b05;
  font-size: 0.72rem;
  font-weight: 900;
}

.file-link strong,
.file-link small {
  display: block;
}

.file-link strong {
  overflow-wrap: anywhere;
}

.file-link small {
  margin-top: 3px;
  color: var(--muted);
}

.news-bottom a {
  color: var(--green);
  font-weight: 850;
}

.requisites-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.requisites-list {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.requisites-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.requisites-list div:last-child {
  border-bottom: 0;
}

.requisites-list dt {
  color: var(--muted);
  font-weight: 800;
}

.requisites-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.contacts {
  padding: clamp(48px, 6vw, 76px) 0;
  background: var(--green-dark);
  color: white;
}

.contacts-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  font-style: normal;
}

.contact-list a {
  min-height: 86px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-list span {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  padding: 22px 0;
  background: #111815;
  color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner span {
  color: white;
  font-weight: 850;
}

.footer-inner small {
  text-align: right;
}

@media (max-width: 940px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav,
  .header-phone {
    display: none;
  }

  body.menu-open .site-nav,
  body.menu-open .header-phone {
    display: flex;
  }

  body.menu-open .header-inner {
    grid-template-columns: 1fr auto;
  }

  body.menu-open .site-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 10px;
  }

  body.menu-open .site-nav a {
    border-radius: 8px;
    background: var(--paper);
  }

  body.menu-open .header-phone {
    grid-column: 1 / -1;
    width: 100%;
  }

  .quick-info-grid,
  .requisites-layout,
  .contacts-inner {
    grid-template-columns: 1fr;
  }

  .quick-info-grid {
    gap: 1px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-mark {
    width: 48px;
    height: 38px;
    font-size: 0.9rem;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-subtitle {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 470px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 28, 23, 0.82), rgba(12, 28, 23, 0.48)),
      linear-gradient(0deg, rgba(12, 28, 23, 0.28), transparent 45%);
  }

  .hero-content {
    padding: 32px 0 38px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .news-meta,
  .news-bottom,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .file-link {
    grid-template-columns: 46px 1fr;
  }

  .file-icon {
    width: 46px;
    height: 46px;
  }

  .requisites-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

}
