:root {
  --blue-950: #062653;
  --blue-900: #07356f;
  --blue-800: #0b4b90;
  --blue-100: #eaf3ff;
  --ink: #10284d;
  --muted: #62748f;
  --line: #dce6f2;
  --green: #78a900;
  --green-dark: #5d8500;
  --paper: #ffffff;
  --soft: #f4f8fc;
  --shadow: 0 12px 36px rgba(16, 40, 77, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  line-height: 1.45;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 70px;
  padding: 10px clamp(18px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--blue-950);
}

.brand-mark {
  width: 38px;
  height: 38px;
  background:
    linear-gradient(30deg, transparent 24%, #fff 25% 33%, transparent 34%),
    linear-gradient(150deg, transparent 24%, #fff 25% 33%, transparent 34%),
    var(--blue-800);
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
  display: inline-block;
}

.brand strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  flex: 1;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  color: var(--blue-950);
  white-space: nowrap;
}

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

.phone {
  display: grid;
  gap: 1px;
  text-align: right;
  color: var(--blue-950);
}

.phone strong {
  font-size: 16px;
}

.phone span {
  font-size: 11px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

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

.btn-secondary {
  color: var(--blue-950);
  background: #fff;
  border-color: var(--blue-800);
}

.btn-dark {
  color: #fff;
  background: var(--blue-950);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--blue-800);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.link-arrow::after {
  content: "→";
  font-size: 16px;
  transition: transform 0.2s ease;
}

.link-arrow:hover {
  color: var(--blue-950);
  gap: 10px;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  min-height: 500px;
  padding: 56px clamp(20px, 5vw, 56px) 36px;
  background:
    linear-gradient(90deg, rgba(245, 250, 255, 0.98) 0%, rgba(233, 243, 252, 0.8) 45%, rgba(8, 45, 91, 0.16) 100%),
    url("/static/img/hero-worker.jpg") right center / cover;
}

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

.hero h1 {
  max-width: 700px;
  margin: 0 0 18px;
  color: var(--blue-950);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 0 0 34px;
  font-size: 18px;
  color: #18375f;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.hero-stats div {
  min-height: 62px;
  padding-left: 16px;
  border-left: 2px solid var(--blue-800);
}

.hero-stats strong,
.metrics strong {
  display: block;
  color: var(--blue-950);
  font-size: 18px;
}

.hero-stats span {
  color: #324f73;
  font-size: 13px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.calc-card,
.question-form {
  align-self: start;
  padding: 24px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-950), #073a78);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.calc-card h2,
.question-form h2 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.25;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  margin-bottom: 10px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cdd9e8;
  border-radius: 4px;
  font: inherit;
}

textarea {
  min-height: 74px;
  padding-top: 12px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
}

.consent input {
  width: 14px;
  min-height: 14px;
  margin: 2px 0 0;
  flex: 0 0 auto;
}

.calc-card .btn,
.question-form .btn {
  width: 100%;
}

.section {
  padding: 34px clamp(20px, 5vw, 56px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

h2 {
  margin: 0 0 18px;
  color: var(--blue-950);
  font-size: 26px;
  line-height: 1.2;
}

h1,
h2,
h3,
p,
a,
span,
td,
th {
  overflow-wrap: anywhere;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(135px, 1fr));
  gap: 14px;
}

.service-card,
.project-card,
.price-card,
.map-card,
.docs-card,
.faq,
.blog {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(16, 40, 77, 0.06);
}

.service-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  min-height: 280px;
  padding: 16px;
}

.service-card .icon {
  color: var(--blue-800);
  font-size: 26px;
}

.service-card h3 {
  min-height: 46px;
  margin: 8px 0;
  color: var(--blue-950);
  font-size: 14px;
  line-height: 1.25;
}

.service-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.service-card a {
  margin-bottom: 12px;
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 700;
}

.service-card a::after {
  content: " ->";
}

.thumb,
.project-image {
  min-height: 92px;
  border-radius: 4px;
  background-position: center;
  background-size: cover;
}

.geo { background-image: url("/static/img/service-geodesy.jpg"); }
.drill { background-image: url("/static/img/service-drill.jpg"); }
.ecology { background-image: url("/static/img/service-ecology.jpg"); }
.seismic { background-image: url("/static/img/service-seismic.jpg"); }
.survey { background-image: url("/static/img/service-survey.jpg"); }
.hydro { background-image: url("/static/img/service-hydro.jpg"); }
.dendro { background-image: url("/static/img/service-dendro.jpg"); }
.project { background-image: url("/static/img/service-project.jpg"); }

.metrics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  padding: 24px clamp(20px, 5vw, 56px);
  color: #fff;
  background: var(--blue-950);
}

.metrics div {
  min-height: 70px;
  padding: 6px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.metrics strong {
  color: #fff;
  font-size: 22px;
}

.metrics span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.two-plus-one {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.about-copy p {
  color: #324f73;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 24px;
  list-style: none;
}

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
  font-weight: 700;
}

.map-card,
.docs-card {
  padding: 24px;
}

.map-card h3 {
  margin: 0 0 12px;
  color: var(--blue-800);
}

.russia-map {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 230px;
  margin: 12px 0;
  padding: 12px;
  background: linear-gradient(180deg, #f8fbff, #eef6ff);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.russia-map__svg {
  width: 100%;
  min-height: 180px;
}

.russia-map__shape {
  fill: #dcecff;
  stroke: #8eb2dc;
  stroke-width: 3;
}

.russia-map__line {
  fill: none;
  stroke: rgba(11, 75, 144, 0.32);
  stroke-width: 2;
  stroke-dasharray: 6 8;
}

.russia-map__points a {
  color: var(--blue-950);
  cursor: pointer;
}

.russia-map__points circle {
  fill: var(--green);
  stroke: #fff;
  stroke-width: 3;
  transition: transform 0.2s ease, fill 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.russia-map__points text {
  fill: var(--blue-950);
  font-size: 18px;
  font-weight: 700;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 4px;
}

.russia-map__points a:hover circle,
.russia-map__points a:focus circle {
  fill: var(--blue-800);
  transform: scale(1.35);
}

.russia-map__status {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.russia-map__status strong {
  color: var(--blue-950);
}

.russia-map__status span {
  color: var(--muted);
  font-size: 13px;
}

.docs-card a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 700;
}

.docs-card .all-docs {
  display: inline-flex;
  border: 0;
  padding: 0;
  min-height: 0;
  margin-top: 8px;
}

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

.project-card {
  overflow: hidden;
}

.project-card h3,
.project-card p,
.project-card strong {
  margin-left: 18px;
  margin-right: 18px;
}

.project-card h3 {
  color: var(--blue-950);
  font-size: 17px;
}

.project-card p {
  color: var(--muted);
  font-size: 13px;
}

.project-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-800);
}

.card-link {
  display: inline-block;
  margin: 0 18px 18px;
  color: var(--blue-800);
  font-weight: 700;
}

.card-link::after {
  content: " ->";
}

.project-image {
  min-height: 150px;
  border-radius: 0;
}

.project-image span {
  display: inline-block;
  margin: 112px 0 0 16px;
  padding: 6px 10px;
  color: #fff;
  background: var(--green);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}

.plant { background-image: url("/static/img/project-plant.jpg"); }
.housing { background-image: url("/static/img/project-housing.jpg"); }
.road { background-image: url("/static/img/project-road.jpg"); }
.dam { background-image: url("/static/img/project-dam.jpg"); }

.work-info {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.price-card,
.faq,
.blog {
  padding: 22px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 13px;
}

th,
td {
  padding: 14px;
  text-align: left;
  border: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--soft);
  color: var(--blue-950);
}

td:first-child {
  color: var(--blue-950);
  font-weight: 700;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

.steps ol {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-size: 14px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue-800);
  border: 1px solid var(--green);
  border-radius: 50%;
  font-weight: 700;
}

.steps small {
  color: var(--muted);
  white-space: nowrap;
}

.benefits {
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(rgba(6, 38, 83, 0.96), rgba(6, 38, 83, 0.92)),
    url("/static/img/project-dam.jpg") center / cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.benefits h2 {
  color: #fff;
}

.benefits p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
}

.benefits strong {
  display: block;
  color: #fff;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 0.62fr 1.25fr;
  gap: 28px;
  align-items: start;
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  cursor: pointer;
  font-weight: 700;
}

summary::after {
  content: "+";
  color: var(--blue-800);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0 0 14px;
  color: var(--muted);
}

.blog article {
  display: grid;
  gap: 6px;
  padding: 0 0 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.blog h3 {
  margin: 0;
  color: var(--blue-950);
  font-size: 16px;
}

.blog time {
  color: var(--muted);
  font-size: 12px;
}

.question-form {
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(6, 38, 83, 0.98) 0%, rgba(7, 53, 111, 0.92) 60%, rgba(6, 38, 83, 0.52) 100%),
    url("/static/img/faq-hero.jpg") right center / cover;
}

.question-form p {
  max-width: 360px;
  margin: -6px 0 18px;
}

.question-form input,
.question-form textarea {
  max-width: 360px;
}

.question-form .btn {
  max-width: 220px;
}

.site-footer {
  color: #fff;
  background: linear-gradient(145deg, var(--blue-950), #052247);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
  gap: 36px;
  padding: 40px clamp(20px, 5vw, 56px) 28px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: #cde4ff;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 16px;
}

.site-footer .brand small,
.site-footer p,
.site-footer span,
.site-footer small {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #cde4ff;
}

.footer-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-messengers {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.messenger-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
  padding: 48px clamp(20px, 5vw, 56px);
  background:
    linear-gradient(90deg, rgba(244, 248, 252, 0.98), rgba(234, 243, 255, 0.86)),
    var(--page-image) right center / cover;
}

.page-hero__content {
  max-width: 820px;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--blue-800);
  font-weight: 700;
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 10px;
  color: #9badc4;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--blue-950);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.08;
}

.lead-text {
  max-width: 720px;
  margin: 0 0 24px;
  color: #254469;
  font-size: 18px;
}

.page-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero__aside,
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(16, 40, 77, 0.06);
}

.page-hero__aside {
  padding: 24px;
}

.page-hero__aside h2,
.card h2,
.card h3 {
  color: var(--blue-950);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.content-grid--sidebar {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.content-main {
  padding: 26px;
}

.content-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.content-sidebar .card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.tile-grid {
  display: grid;
  gap: 18px;
}

.tile-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tile-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card--image {
  overflow: hidden;
}

.card__image {
  min-height: 170px;
  background-position: center;
  background-size: cover;
}

.card__body {
  padding: 20px;
}

.card__body h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.25;
}

.card__body p,
.card p,
.article-body p {
  color: var(--muted);
}

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

.compact-steps {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: #254469;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 20px clamp(20px, 5vw, 56px) 38px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-950), #0a4383);
  border-radius: 6px;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta-band p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.request-panel {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.request-panel input,
.request-panel textarea {
  margin: 0;
}

.request-panel .btn {
  width: fit-content;
  min-width: 210px;
}

.consent-dark {
  color: var(--muted);
}

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

.contact-grid .card,
.article-body.card {
  padding: 24px;
}

.table-wrap {
  padding: 24px;
  overflow-x: auto;
}


/* ---- Burger & Mobile Menu ---- */
.burger-btn {
  display: none;
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  flex-shrink: 0;
}

.burger-btn span {
  display: block;
  position: absolute;
  left: 4px;
  width: 28px;
  height: 3px;
  background: var(--blue-950);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.burger-btn span:nth-child(1) { top: 8px; }
.burger-btn span:nth-child(2) { top: 16px; }
.burger-btn span:nth-child(3) { top: 24px; }

.burger-btn.active span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  visibility: hidden;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 38, 83, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: #fff;
  padding: 20px 20px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 30px rgba(6, 38, 83, 0.15);
}

.mobile-menu__nav {
  display: grid;
  gap: 0;
  margin-bottom: 20px;
}

.mobile-menu__nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue-950);
  font-size: 16px;
  font-weight: 700;
}

.mobile-menu__phone {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-950);
  font-size: 18px;
  font-weight: 700;
}

.mobile-menu__phone-label {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
}

.mobile-menu__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 48px;
  color: #fff;
  background: var(--green);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-menu__btn:hover {
  background: var(--green-dark);
}

.mobile-menu.open { visibility: visible; }
.mobile-menu.open .mobile-menu__overlay { opacity: 1; }
.mobile-menu.open .mobile-menu__panel { transform: translateX(0); }

body.menu-open { overflow: hidden; }

@media (max-width: 1200px) {
  .main-nav {
    display: none;
  }

  .burger-btn {
    display: block;
  }

  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .two-plus-one,
  .work-info,
  .bottom-grid,
  .page-hero,
  .content-grid,
  .content-grid--sidebar,
  .tile-grid--3,
  .tile-grid--4,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .docs-card,
  .benefits,
  .question-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    flex-wrap: nowrap;
  }

  .header-actions {
    display: none;
  }

  .hero {
    display: block;
    padding-top: 36px;
  }

  .hero-stats,
  .service-grid,
  .project-grid,
  .metrics,
  .two-plus-one,
  .work-info,
  .bottom-grid,
  .page-hero,
  .content-grid,
  .content-grid--sidebar,
  .tile-grid--3,
  .tile-grid--4,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .russia-map {
    overflow-x: auto;
  }

  .russia-map__svg {
    min-width: 720px;
  }

  .service-card {
    min-height: auto;
  }

  .steps li {
    grid-template-columns: 42px 1fr;
  }

  .steps small {
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .brand strong {
    font-size: 20px;
  }

  .hero h1 {
    max-width: 320px;
    font-size: 29px;
  }

  .page-hero h1 {
    max-width: 330px;
    font-size: 32px;
  }

  .hero p {
    max-width: 330px;
    font-size: 16px;
  }

  .page-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-hero__actions .btn,
  .page-hero__aside .btn,
  .request-panel .btn {
    width: 100%;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .calc-card,
  .question-form {
    width: 100%;
    min-width: 0;
    padding: 20px;
  }

  .question-form input,
  .question-form textarea,
  .question-form .btn {
    max-width: none;
  }

  th,
  td {
    padding: 10px;
    font-size: 12px;
  }
}
