:root {
  --red: #d71920;
  --red-dark: #a80f15;
  --ink: #20262d;
  --text: #3f4852;
  --muted: #6b747f;
  --line: #dfe4ea;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --warm: #fff7f3;
  --shadow: 0 18px 45px rgba(25, 35, 45, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--text);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

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

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-label {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 700;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--red);
  background: var(--warm);
}

.nav-links .nav-cta {
  color: var(--paper);
  background: var(--red);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: var(--paper);
  background: var(--red-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.hero::before {
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--red);
  content: "";
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.88fr);
  gap: 56px;
  align-items: center;
  min-height: 620px;
  padding: 74px 0 68px;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 4.25rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.55rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-text,
.section-text,
.section-intro,
.info-card p,
.news-item p,
.contact-copy p,
.hero-panel p {
  color: var(--muted);
  font-size: 1.04rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--paper);
  background: var(--red);
  box-shadow: 0 12px 26px rgba(215, 25, 32, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
}

.btn-secondary {
  color: var(--red-dark);
  border-color: rgba(215, 25, 32, 0.22);
  background: var(--paper);
}

.hero-panel {
  display: grid;
  gap: 24px;
  align-content: center;
  min-height: 420px;
  padding: 34px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-logo {
  width: min(100%, 320px);
  margin: 0 auto;
  object-fit: contain;
}

.hero-panel-content {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.panel-title {
  margin-bottom: 6px;
  color: var(--ink) !important;
  font-weight: 800;
}

.section {
  padding: 86px 0;
}

.about-section {
  background: var(--paper);
}

.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.split-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: start;
  max-width: none;
}

.section-text p + p {
  margin-top: 16px;
}

.areas-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.info-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 6px;
  color: var(--paper);
  background: var(--red);
  font-size: 0.86rem;
  font-weight: 800;
}

.news-section {
  background: var(--soft);
}

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

.news-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.news-date {
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-section {
  background: var(--red);
}

.contact-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-copy {
  max-width: 640px;
}

.contact-copy h2 {
  margin-bottom: 12px;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.94rem;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(215, 25, 32, 0.32);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .navbar {
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
    padding: 58px 0 56px;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-panel {
    min-height: 0;
  }

  .split-header,
  .areas-block {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-layout {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-label {
    display: none;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.8rem;
  }

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

  .btn {
    width: 100%;
  }

  .hero-panel,
  .info-card,
  .news-item,
  .contact-layout {
    padding: 22px;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
