:root {
  --page: #f5f9fc;
  --surface: #ffffff;
  --surface-soft: #eef6fc;
  --surface-blue: #e7f3fb;
  --text: #18345c;
  --text-strong: #0d2442;
  --muted: #5f7085;
  --line: #d9e7f1;
  --line-strong: #bdd7e9;
  --blue: #1f7bc4;
  --blue-dark: #155a93;
  --blue-soft: #d9edf9;
  --green: #2ebc8c;
  --shadow: 0 18px 48px rgba(24, 52, 92, .10);
  --shadow-soft: 0 10px 28px rgba(24, 52, 92, .07);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(31, 123, 196, .12), transparent 28%),
    radial-gradient(circle at 90% 2%, rgba(46, 188, 140, .10), transparent 24%),
    linear-gradient(180deg, #f9fcff 0%, var(--page) 44%, #eef5fa 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 123, 196, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 123, 196, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 74%);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
img { display: block; max-width: 100%; }

.container {
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -42px;
  left: 16px;
  z-index: 99;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--text-strong);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 231, 241, .86);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: 236px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .94rem;
  font-weight: 520;
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #455b73;
}
.nav a:hover {
  color: var(--blue-dark);
  background: var(--surface-blue);
}

.hero {
  padding: 94px 0 76px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  color: var(--text-strong);
  font-size: clamp(2.35rem, 4.3vw, 4.05rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.018em;
}

h2 {
  margin-bottom: 16px;
  color: var(--text-strong);
  font-size: clamp(1.85rem, 3vw, 2.85rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.014em;
}

h3 {
  margin-bottom: 9px;
  color: var(--text-strong);
  font-size: 1.14rem;
  font-weight: 610;
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--text-strong);
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.button:hover {
  transform: translateY(-1px);
  color: var(--blue-dark);
  box-shadow: var(--shadow-soft);
}
.button-primary {
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 123, 196, .20);
}
.button-primary:hover { color: #fff; }
.button-secondary { background: rgba(255, 255, 255, .76); }

.hero-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,251,255,.96)),
    var(--surface);
  box-shadow: var(--shadow);
}

.panel-heading {
  margin-bottom: 20px;
  color: var(--text-strong);
  font-size: 1.05rem;
  font-weight: 650;
}

.summary-list {
  display: grid;
  gap: 14px;
}

.summary-list div {
  position: relative;
  padding: 18px 18px 18px 62px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.summary-list span {
  position: absolute;
  left: 18px;
  top: 19px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: .78rem;
  font-weight: 700;
}

.summary-list strong { display: block; margin-bottom: 2px; color: var(--text-strong); }
.summary-list p { margin-bottom: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }

.intro {
  padding: 42px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .62);
}

.intro-grid {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 46px;
  align-items: center;
}
.intro h2 { margin-bottom: 0; font-size: clamp(1.55rem, 2.4vw, 2.25rem); }
.intro p { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }

.section { padding: 86px 0; }
.section-soft {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .54);
}

.section-header {
  max-width: 820px;
  margin-bottom: 36px;
}
.section-header.centered { margin-inline: auto; text-align: center; }
.section-header.left { margin-bottom: 0; }
.section-header p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }

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

.service-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-soft);
}

.card-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 14px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: .9rem;
  font-weight: 700;
}

.service-card p,
.process-list p,
.region-band p,
.contact-info p,
.form-note,
.legal-card p,
.legal-card li { color: var(--muted); }

.work-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 46px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: var(--blue);
  font-weight: 650;
}

.process-list h3 { margin-bottom: 5px; }
.process-list p { margin-bottom: 0; }

.region-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 38px;
  padding: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(231, 243, 251, .96), rgba(255, 255, 255, .9));
  box-shadow: var(--shadow-soft);
}
.region-band p { max-width: 740px; margin-bottom: 0; }

.contact-section { padding-top: 66px; }

.contact-layout {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 28px;
  align-items: start;
}

.contact-info,
.contact-form,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-soft);
}

.contact-info { padding: 32px; }
.contact-form { padding: 32px; }

.contact-lines {
  display: grid;
  gap: 13px;
  margin-top: 26px;
}
.contact-lines p {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--text-strong);
}
.contact-lines span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.contact-lines a { color: var(--blue-dark); font-weight: 650; }

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text-strong);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--text-strong);
  font: inherit;
  outline: none;
}
textarea { min-height: 150px; resize: vertical; }
input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 123, 196, .12);
}
.form-note { margin: 0; font-size: .9rem; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0;
  color: var(--muted);
  font-size: .94rem;
}
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--blue-dark); }

.legal-page .site-header { position: relative; }
.legal-main { padding: 68px 0 100px; }
.legal-card {
  max-width: 920px;
  margin-inline: auto;
  padding: 42px;
}
.legal-card h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.legal-card h2 { margin-top: 34px; font-size: 1.45rem; }
.legal-card a { color: var(--blue-dark); font-weight: 600; }

@media (max-width: 980px) {
  .header-inner { min-height: auto; padding: 18px 0; align-items: flex-start; flex-direction: column; }
  .nav { width: 100%; overflow-x: auto; }
  .hero { padding: 68px 0 58px; }
  .hero-layout,
  .intro-grid,
  .work-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .hero-panel { max-width: 680px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .region-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand img { width: 208px; }
  .nav a { padding: 9px 11px; }
  .hero { padding: 52px 0 44px; }
  h1 { font-size: clamp(2rem, 10vw, 2.85rem); }
  h2 { font-size: clamp(1.65rem, 8vw, 2.2rem); }
  .section { padding: 66px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .service-grid,
  .form-row { grid-template-columns: 1fr; }
  .hero-panel,
  .service-card,
  .contact-info,
  .contact-form,
  .region-band,
  .legal-card { padding: 24px; }
  .process-list li { grid-template-columns: 42px 1fr; padding: 18px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
