:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --ink: #15171d;
  --muted: #626977;
  --line: #e3e7ee;
  --blue: #155eef;
  --blue-dark: #0c3fb2;
  --mint: #26c281;
  --amber: #f5b841;
  --shadow: 0 20px 60px rgba(21, 23, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

button,
input,
textarea {
  font: inherit;
}

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

.brand,
.nav,
.hero-actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.84rem;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover,
.header-action:hover {
  color: var(--blue);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
}

.header-action {
  padding: 0 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 920px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero-text,
.section-heading p,
.contact p,
.service-card p,
.steps p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 680px;
  font-size: 1.12rem;
}

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

.button {
  border: 0;
  padding: 0 22px;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 18px;
  border-radius: 8px;
  background: var(--bg);
}

.hero-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel strong {
  font-size: 1.2rem;
}

.section,
.process,
.contact {
  padding: 88px clamp(18px, 4vw, 56px);
}

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

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

.service-card,
.steps li,
.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  min-height: 220px;
  padding: 28px;
}

.service-card:nth-child(1) {
  border-top: 5px solid var(--blue);
}

.service-card:nth-child(2) {
  border-top: 5px solid var(--mint);
}

.service-card:nth-child(3) {
  border-top: 5px solid var(--amber);
}

.process {
  background: var(--ink);
  color: white;
}

.process .eyebrow {
  color: var(--mint);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  padding: 28px;
  color: var(--ink);
}

.steps span {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  margin: 88px clamp(18px, 4vw, 56px);
  padding: clamp(28px, 5vw, 54px);
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--ink);
  background: #fbfcfe;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.12);
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #eef2ff;
  color: var(--blue-dark);
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .nav,
  .header-action {
    display: none;
  }

  .hero,
  .contact,
  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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