:root {
  color-scheme: light dark;
  --bg: #071015;
  --surface: #0d1a21;
  --surface-2: #12252e;
  --text: #edf6f8;
  --muted: #9fb2b9;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #e33b32;
  --accent-2: #38bdf8;
  --button-text: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  transition: background 220ms ease, color 220ms ease;
}

body[data-theme="corporate"] {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-2: #e8eef1;
  --text: #162228;
  --muted: #5e7077;
  --line: rgba(22, 34, 40, 0.14);
  --accent: #b91c1c;
  --accent-2: #0f766e;
  --button-text: #ffffff;
  --shadow: 0 20px 60px rgba(21, 41, 54, 0.13);
}

body[data-theme="control"] {
  --bg: #050812;
  --surface: #0a1020;
  --surface-2: #101b33;
  --text: #f5f8ff;
  --muted: #9aa8c5;
  --line: rgba(117, 152, 210, 0.2);
  --accent: #ff4d2e;
  --accent-2: #2dd4bf;
  --button-text: #071015;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

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

button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 10, 14, 0.72);
  backdrop-filter: blur(18px);
}

body[data-theme="corporate"] .topbar {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: rgba(22, 34, 40, 0.12);
}

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

.brand-logo {
  width: 44px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 24px);
  color: var(--muted);
  font-size: 13px;
}

.nav a:hover,
.call-link:hover {
  color: var(--text);
}

.call-link {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 124px clamp(18px, 5vw, 72px) 56px;
}

.hero-slider,
.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slider {
  overflow: hidden;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 1200ms ease-in-out,
    transform 3200ms ease;
  will-change: opacity, transform;
}

.hero-media.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 8, 12, 0.94) 0%, rgba(3, 8, 12, 0.78) 39%, rgba(3, 8, 12, 0.14) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(3, 8, 12, 0) 28%);
}

body[data-theme="corporate"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(245, 247, 248, 0.95) 0%, rgba(245, 247, 248, 0.72) 45%, rgba(245, 247, 248, 0.08) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(245, 247, 248, 0) 30%);
}

body[data-theme="control"] .hero-media {
  filter: saturate(1.06) contrast(1.12) brightness(0.84);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .lead {
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.hero-content .is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.hero-logo {
  width: min(158px, 34vw);
  height: auto;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55));
}

.variant-panel {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 42px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: var(--shadow);
}

.variant-btn {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.variant-btn.is-active {
  background: var(--accent);
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.18;
}

.lead {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

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

.hero-slider-controls {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.slide-dot {
  width: 42px;
  height: 6px;
  border: 0;
  background: color-mix(in srgb, var(--text) 28%, transparent);
  cursor: pointer;
  transition:
    width 220ms ease,
    background 220ms ease,
    opacity 220ms ease;
}

.slide-dot.is-active {
  width: 58px;
  background: var(--accent);
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--button-text);
  font-weight: 800;
}

.secondary {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 10px;
  max-width: 920px;
  margin-top: 42px;
}

.hero-facts article {
  min-height: 106px;
  padding: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  backdrop-filter: blur(12px);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.18;
}

.hero-facts span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 18px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.subpage-main {
  padding-top: 76px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: end;
  padding: clamp(78px, 9vw, 118px) clamp(18px, 5vw, 72px) clamp(54px, 7vw, 86px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--surface-2) 70%, var(--bg)) 0%, var(--bg) 100%);
}

.page-hero h1 {
  margin-bottom: 0;
}

.page-hero p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

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

.detail-card,
.wide-card,
.faq-item,
.object-profile {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.detail-card,
.wide-card,
.faq-item,
.object-profile {
  padding: 24px;
}

.detail-card h3,
.wide-card h3,
.faq-item h3,
.object-profile h3 {
  margin-bottom: 14px;
}

.detail-card p,
.wide-card p,
.faq-item p,
.object-profile p {
  color: var(--muted);
  line-height: 1.62;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

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

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.steps-grid article {
  counter-increment: step;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.steps-grid article::before {
  content: counter(step, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  color: var(--accent-2);
  font-weight: 900;
}

.steps-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.subpage-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.object-profile strong {
  display: block;
  margin: 18px 0 8px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.intro > p,
.license-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.section-head {
  max-width: 820px;
  margin-bottom: 36px;
}

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

.object-grid,
.advantage-grid,
.document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.service-card,
.object-grid article,
.advantage-grid article,
.document-grid article,
.license-list article,
.concepts article,
.contact-card,
.map-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 236px;
  padding: 24px;
}

.service-code {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  color: var(--accent-2);
  font-weight: 900;
}

.service-card p,
.object-grid span,
.advantage-grid p,
.maintenance-scope span,
.document-grid span,
.license-list p,
.concepts p,
address {
  color: var(--muted);
  line-height: 1.6;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.object-types {
  background: color-mix(in srgb, var(--surface-2) 44%, var(--bg));
}

.object-grid article,
.advantage-grid article,
.document-grid article {
  min-height: 180px;
  padding: 24px;
}

.object-grid strong,
.object-grid span,
.document-grid strong,
.document-grid span {
  display: block;
}

.object-grid strong,
.document-grid strong {
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 1.2;
}

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

.maintenance-scope {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.maintenance-scope article {
  min-height: 188px;
  padding: 24px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 70%, var(--surface));
}

.maintenance-scope strong,
.maintenance-scope span {
  display: block;
}

.maintenance-scope strong {
  margin-bottom: 14px;
  font-size: 19px;
  line-height: 1.2;
}

.documents {
  background: color-mix(in srgb, var(--surface-2) 56%, var(--bg));
}

.process {
  background: var(--surface-2);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.timeline li {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.timeline li:last-child {
  border-right: 0;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  margin-bottom: 18px;
  font-size: 20px;
}

.timeline span {
  color: var(--muted);
  line-height: 1.55;
}

.license-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 92px);
  padding: clamp(54px, 8vw, 86px) clamp(18px, 5vw, 72px);
  background: var(--accent);
  color: #ffffff;
}

.license-band .section-kicker,
.license-band p {
  color: rgba(255, 255, 255, 0.82);
}

.license-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 22px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  font-weight: 900;
}

.license-details {
  background: color-mix(in srgb, var(--surface-2) 72%, var(--bg));
}

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

.license-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  min-height: 148px;
  padding: 20px;
}

.license-list span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 32px;
  border: 1px solid var(--line);
  color: var(--accent-2);
  font-weight: 900;
}

.license-list p {
  margin: 0;
  font-size: 15px;
}

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

.concepts article {
  padding: 24px;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.8fr) minmax(240px, 0.55fr);
  gap: 14px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(64px, 9vw, 112px);
}

.contact-card,
.feedback-card,
.map-card {
  padding: clamp(24px, 4vw, 42px);
}

.feedback-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(25px, 3vw, 38px);
}

.contact-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-logo-row img {
  width: 66px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.contact-logo-row .section-kicker {
  margin: 0;
}

.feedback-card h2 {
  margin-bottom: 24px;
  font-size: clamp(25px, 3vw, 36px);
}

.feedback-form {
  display: grid;
  gap: 14px;
}

.feedback-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

.feedback-form textarea {
  resize: vertical;
  min-height: 106px;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: var(--accent-2);
}

.service-choice {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}

.service-choice legend {
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.service-choice__btn {
  min-height: 42px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  padding: 9px 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.service-choice__btn.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--accent-2);
  font-weight: 800;
}

address {
  font-style: normal;
  font-size: 18px;
}

address a {
  color: var(--text);
  font-weight: 700;
}

.contact-role {
  display: inline-block;
  min-width: 88px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.copy-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--accent-2);
  font-weight: 700;
}

.map-card {
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
  gap: 18px;
  min-height: 360px;
  background: var(--surface);
  padding: 14px;
}

.map-frame {
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 38px, var(--line) 39px 40px),
    repeating-linear-gradient(0deg, transparent 0 38px, var(--line) 39px 40px),
    var(--surface-2);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}

.map-info {
  padding: 0 10px 10px;
}

.map-info span {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.map-info strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.map-link {
  width: 100%;
  margin-top: 18px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-copy {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 30;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--accent-2);
  color: var(--button-text);
}

.feedback-modal[hidden] {
  display: none;
}

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
}

.feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.feedback-modal__window {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 38px);
}

.feedback-modal__window h2 {
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 34px);
}

.feedback-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.feedback-preview {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font: inherit;
  line-height: 1.55;
}

.feedback-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.feedback-modal__status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--accent-2);
  font-weight: 800;
}

@media (max-width: 980px) {
  .topbar {
    position: sticky;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding-top: 84px;
  }

  .service-grid,
  .object-grid,
  .advantage-grid,
  .maintenance-scope,
  .detail-grid,
  .steps-grid,
  .document-grid,
  .license-list,
  .concepts,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro,
  .page-hero,
  .license-band,
  .contacts {
    grid-template-columns: 1fr;
  }

  .wide-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    min-height: 0;
  }

  .call-link {
    width: 100%;
  }

  .hero {
    padding-bottom: 40px;
  }

  .hero-shade,
  body[data-theme="corporate"] .hero-shade {
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 72%, transparent) 100%),
      linear-gradient(0deg, var(--bg) 0%, transparent 32%);
  }

  .variant-panel {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 34px;
  }

  .variant-btn {
    flex: 1 0 auto;
  }

  h1 {
    font-size: 42px;
  }

  .service-grid,
  .object-grid,
  .advantage-grid,
  .maintenance-scope,
  .detail-grid,
  .steps-grid,
  .document-grid,
  .license-list,
  .concepts,
  .timeline {
    grid-template-columns: 1fr;
  }

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

  .primary,
  .secondary {
    width: 100%;
  }

  .service-choice__grid {
    grid-template-columns: 1fr;
  }

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

  .hero-facts article {
    min-height: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
