:root {
  color-scheme: light;
  --ink: #15161a;
  --muted: #626875;
  --line: #dfe4eb;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --accent: #0b5d7e;
  --accent-strong: #06415c;
  --accent-warm: #b86b2c;
  --ok: #187a4f;
  --shadow: 0 18px 50px rgba(17, 29, 44, 0.12);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.brand-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

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

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

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 14px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent-strong);
}

.section-band {
  background:
    linear-gradient(115deg, rgba(244, 247, 251, 0.95), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 82% 12%, rgba(184, 107, 44, 0.18), transparent 28%),
    radial-gradient(circle at 10% 80%, rgba(11, 93, 126, 0.14), transparent 32%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(30px, 5vw, 74px);
  min-height: calc(100vh - 74px);
  padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(38px, 6vw, 74px);
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #3e4652;
  font-size: clamp(18px, 2vw, 23px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button.secondary {
  color: var(--accent-strong);
  background: #ffffff;
}

.hero-visual {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 620px;
}

.hero-brand-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  width: min(620px, 100%);
  min-height: 100%;
  margin-left: auto;
  padding: clamp(28px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-logo {
  width: min(380px, 72vw);
  height: auto;
}

.hero-brand-copy {
  display: grid;
  gap: 8px;
  max-width: 420px;
  margin-top: 18px;
  text-align: center;
}

.hero-brand-copy strong {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.hero-brand-copy span {
  color: #46515e;
  font-size: 17px;
}

.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-capabilities li {
  padding: 10px 12px;
  color: var(--accent-strong);
  background: #eef7fa;
  border: 1px solid #cce5ee;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
}

.terminal-panel {
  position: relative;
  width: 100%;
  min-height: 188px;
  padding: 22px;
  overflow: hidden;
  color: #d9f6ff;
  background: #15161a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(17, 29, 44, 0.16);
}

.terminal-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  background: var(--accent-warm);
  border-radius: 50%;
}

.terminal-panel pre {
  min-height: 108px;
  margin: 22px 0 0;
  white-space: pre-wrap;
  font: 17px/1.65 Consolas, "Courier New", monospace;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: -0.18em;
  background: #d9f6ff;
  animation: cursor-blink 0.9s steps(2, start) infinite;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

.section {
  padding: clamp(56px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

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

.section-heading {
  max-width: 860px;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 32px;
  align-items: start;
}

.split p {
  max-width: 860px;
  margin: 0 0 18px;
  color: #333b46;
  font-size: 18px;
}

.facts,
.details-grid {
  margin: 0;
}

.facts {
  display: grid;
  gap: 12px;
}

.facts div,
.details-grid div,
.service-card,
.info-columns > div,
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.facts div {
  padding: 18px;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-weight: 700;
}

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

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

.service-card,
.info-columns > div {
  padding: 22px;
}

.service-card h3,
.info-columns h3 {
  margin: 0 0 12px;
  line-height: 1.25;
}

.service-card p,
.info-columns p {
  margin: 0;
  color: #39414c;
}

.service-card strong {
  display: block;
  margin-top: 16px;
  color: var(--accent-warm);
}

.service-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 10px 14px;
  color: var(--accent-strong);
  background: #eef7fa;
  border: 1px solid #cce5ee;
  border-radius: 8px;
  font-weight: 700;
}

.price-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(260px, 1.5fr) minmax(140px, 0.55fr);
  min-height: 62px;
  border-top: 1px solid var(--line);
}

.price-row:first-child {
  border-top: 0;
}

.price-row span {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-left: 1px solid var(--line);
}

.price-row span:first-child {
  border-left: 0;
  font-weight: 800;
}

.price-head {
  color: #ffffff;
  background: var(--accent-strong);
  font-weight: 800;
}

.note {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #27313d;
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
  font-weight: 600 !important;
}

.consent input {
  width: 20px;
  height: 20px;
}

.consent a {
  color: var(--accent-strong);
}

.contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.form-note {
  align-self: center;
  margin: 0;
  color: var(--muted);
}

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

.news-list article {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-list time {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.news-list h3 {
  margin: 8px 0;
}

.news-list p,
.about-text {
  color: #39414c;
}

.about-text {
  max-width: 900px;
  margin: 0 0 24px;
  font-size: 18px;
}

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

.details-grid div {
  padding: 18px;
}

.contact-panel {
  max-width: 780px;
  padding: 24px;
}

.contact-panel p {
  margin: 0 0 16px;
}

.contact-link {
  display: block;
  color: var(--accent-strong);
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
}

.contact-link.mail {
  margin-top: 6px;
  font-size: 22px;
}

.section-checklist {
  background: #f8fbf9;
}

.checklist {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 16px 18px 16px 48px;
  background: #ffffff;
  border: 1px solid #dbe8df;
  border-radius: 8px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 14px;
  height: 8px;
  border: solid var(--ok);
  border-width: 0 0 3px 3px;
  transform: rotate(-45deg);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #ffffff;
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.policy-page {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) 18px;
}

.policy-page h1 {
  margin-top: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
}

.policy-page h2 {
  margin-top: 34px;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .split,
  .service-grid,
  .info-columns,
  .details-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-brand-panel {
    margin-left: 0;
  }

  .price-table {
    overflow-x: auto;
  }

  .price-row {
    min-width: 760px;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .hero h1 {
    font-size: 34px;
  }

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

  .hero-capabilities {
    justify-content: flex-start;
  }

  .terminal-panel pre {
    font-size: 13px;
  }

  .contact-link {
    font-size: 22px;
  }
}
