:root {
  --bg: #ffffff;
  --surface: #f4f7fb;
  --surface-2: #eaf0f8;
  --line: #dde5ef;
  --line-strong: #c6d3e4;
  --text: #0f1a2b;
  --muted: #53637d;
  --accent: #14509b;
  --accent-dark: #0e3a73;
  --accent-soft: #e8f0fb;
  --footer: #0f1a2b;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15, 26, 43, 0.06), 0 8px 24px rgba(15, 26, 43, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
}

p {
  margin: 0;
}

.wrap {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 74px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  line-height: 1.15;
}

.logo strong {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn.secondary {
  background: #fff;
  color: var(--accent);
}

.btn.secondary:hover {
  background: var(--accent-soft);
}

/* Hero */

.hero {
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: 76px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #d3e2f6;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 700;
  max-width: 20ch;
}

.hero p.lead {
  margin-top: 20px;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

img {
  max-width: 100%;
  display: block;
}

.media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media.banner {
  margin-bottom: 40px;
  aspect-ratio: 21 / 8;
}

.media.banner img {
  object-position: 50% 22%;
}

.hero-media {
  display: grid;
  gap: 18px;
}

.hero-media > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

/* Feature bands */

.feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  margin-top: 56px;
}

.feature.reverse .media {
  order: 2;
}

.feature .media {
  aspect-ratio: 4 / 3;
}

.feature h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-bottom: 12px;
}

.feature > div > p {
  color: var(--muted);
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 26px 28px;
}

.hero-card h2 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.data-list {
  display: grid;
  gap: 0;
}

.data-list div {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
}

.data-list div:first-child {
  border-top: 0;
}

.data-list dt,
.data-list span:first-child {
  color: var(--muted);
}

.data-list span:last-child {
  font-weight: 500;
}

/* Sections */

.section {
  padding: 78px 0;
}

.section.surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 62ch;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
}

.label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Service cards */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}

.service:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.service .icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.service h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.service p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

/* Process */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  padding-top: 20px;
  border-top: 2px solid var(--accent);
}

.step b {
  display: block;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.step h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.step p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* Price table */

.price-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.price-row {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 26px;
  border-top: 1px solid var(--line);
}

.price-row:first-child {
  border-top: 0;
}

.price-row:hover {
  background: var(--surface);
}

.price-row h3 {
  font-size: 1.02rem;
}

.price-row p {
  color: var(--muted);
  font-size: 0.93rem;
}

.amount {
  font-size: 1.18rem;
  font-weight: 600;
  white-space: nowrap;
}

.amount small {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
  text-align: right;
}

.amount.request {
  font-size: 1rem;
  color: var(--accent);
}

.note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Company */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.checklist {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.contact-card p,
.contact-card address {
  color: var(--muted);
  font-style: normal;
  font-size: 0.96rem;
}

.contact-card a {
  font-weight: 500;
  word-break: break-all;
}

/* Footer */

.site-footer {
  background: var(--footer);
  color: #c9d3e2;
  padding: 46px 0 30px;
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top strong {
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.footer-top p {
  margin-top: 10px;
  max-width: 40ch;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: #c9d3e2;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #91a1b8;
  font-size: 0.86rem;
}

/* Legal pages */

.legal {
  padding: 56px 0 84px;
  max-width: 78ch;
}

.legal h1 {
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.legal > p.lead {
  color: var(--muted);
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.12rem;
  margin: 34px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.legal p {
  color: #33425a;
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-grid,
  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature.reverse .media {
    order: 0;
  }

  .media.banner {
    aspect-ratio: 16 / 8;
  }

  .grid-3,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }

  .grid-3,
  .steps,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .amount,
  .amount small {
    text-align: left;
  }

  .section {
    padding: 56px 0;
  }
}
