:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --text: #0b1728;
  --muted: #5d6b7c;
  --line: #dde6f0;
  --blue: #1463ff;
  --blue-dark: #0b4bd6;
  --navy: #081627;
  --shadow: 0 24px 70px rgba(10, 29, 54, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
  overflow-x: hidden;
  width: 100%;
}

body,
button,
input,
textarea {
  font: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(221, 230, 240, 0.8);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  box-shadow: 0 14px 32px rgba(8, 22, 39, 0.18);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
}

.b-shape {
  fill: #fff;
}

.spark,
.check {
  fill: none;
  stroke: var(--blue);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spark {
  fill: var(--blue);
  stroke: none;
}

.check-shadow {
  fill: none;
  stroke: #dfe8f6;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 20px;
  font-weight: 780;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #2d3b4d;
  font-size: 15px;
  font-weight: 650;
}

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

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.language-switch button {
  width: 42px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
}

.language-switch button.is-active {
  background: var(--navy);
  color: #fff;
}

.hero {
  position: relative;
  min-height: min(820px, calc(100vh - 78px));
  overflow: hidden;
  background: #eef3f8;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 250, 253, 0.98) 0%, rgba(247, 250, 253, 0.92) 32%, rgba(247, 250, 253, 0.4) 58%, rgba(247, 250, 253, 0.05) 100%),
    linear-gradient(180deg, rgba(247, 250, 253, 0.4) 0%, rgba(247, 250, 253, 0.08) 52%, rgba(247, 250, 253, 0.92) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: min(820px, calc(100vh - 78px));
  padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 86px);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.98;
  font-weight: 840;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: #334255;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 760;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 16px 36px rgba(20, 99, 255, 0.24);
}

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

.btn-secondary {
  border-color: #cdd8e6;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-row span {
  padding: 7px 10px;
  border: 1px solid rgba(205, 216, 230, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #344457;
  font-size: 13px;
  font-weight: 690;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 86px);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head h2,
.split h2,
.contact-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.03;
  font-weight: 820;
}

.section-head p:not(.section-kicker),
.contact-copy p,
.process-step p,
.service-card p,
.case-card p,
.example-list p {
  color: var(--muted);
  line-height: 1.65;
}

.intro {
  padding-bottom: 32px;
}

.services {
  padding-top: 16px;
}

.service-grid,
.case-grid,
.process-grid {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  gap: 16px;
}

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

.service-card,
.case-card,
.process-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 46px rgba(10, 29, 54, 0.06);
}

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

.service-card.accent {
  background: var(--navy);
  color: #fff;
}

.service-card.accent p {
  color: #c4d2e4;
}

.card-icon {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 840;
}

.service-card h3,
.case-card h3,
.process-step h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.examples {
  background: var(--surface);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  max-width: 1180px;
  margin: 0 auto;
  gap: 42px;
  align-items: start;
}

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

.example-list p {
  position: relative;
  margin: 0;
  padding: 20px 22px 20px 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.example-list p::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 4px #dce8ff;
}

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

.case-card {
  padding: 26px;
}

.case-card span {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 820;
}

.case-card p {
  margin-bottom: 0;
}

.process {
  background: #fff;
}

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

.process-step {
  padding: 28px;
}

.process-step strong {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  max-width: 1180px;
  margin: 0 auto;
  gap: 36px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.contact-copy {
  color: #fff;
}

.contact-copy p {
  color: #c2d1e5;
}

.email-link {
  display: inline-flex;
  margin-top: 14px;
  color: #fff;
  font-weight: 760;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #273649;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccd7e5;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--text);
  outline: none;
}

.contact-form input {
  height: 46px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
  padding: 12px 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 99, 255, 0.12);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.footer-brand {
  display: grid;
  color: var(--text);
}

.footer-brand span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.thanks-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--bg);
}

.thanks-card {
  max-width: 620px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    position: relative;
    height: min(58vw, 520px);
    inset: auto;
    order: -1;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(247, 250, 253, 0.08) 0%, rgba(247, 250, 253, 0.96) 92%);
  }

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

  .service-grid,
  .case-grid,
  .process-grid,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100vw;
  }

  .site-header {
    min-height: 68px;
    padding: 10px 14px;
    gap: 10px;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }

  .brand {
    min-width: auto;
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .language-switch button {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .hero {
    min-height: calc(100vh - 68px);
    background: #edf3f9;
  }

  .hero-media {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(247, 250, 253, 0.02) 0%, rgba(247, 250, 253, 0.18) 34%, rgba(247, 250, 253, 0.86) 62%, rgba(247, 250, 253, 0.98) 100%),
      linear-gradient(90deg, rgba(247, 250, 253, 0.86) 0%, rgba(247, 250, 253, 0.38) 52%, rgba(247, 250, 253, 0.05) 100%);
  }

  .hero-inner {
    min-height: calc(100vh - 68px);
    padding-top: 260px;
    padding-bottom: 34px;
    align-items: end;
  }

  h1 {
    max-width: 100%;
    font-size: 36px;
    line-height: 1.05;
  }

  .hero-lead {
    font-size: 17px;
  }

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

  .hero-copy,
  .section-head,
  .split,
  .contact-panel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-inner,
  .section {
    width: 100vw;
    max-width: 100vw;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-row span {
    min-width: 0;
    text-align: center;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-card,
  .case-card,
  .process-step {
    padding: 22px;
  }

  .contact-panel {
    padding: 16px;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    display: grid;
  }
}
