:root {
  --ink: #14213d;
  --muted: #5f6b7a;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --line: #dde5ef;
  --blue: #2667ff;
  --green: #0c8f7f;
  --coral: #ef5b5b;
  --gold: #f4b544;
  --deep: #07111f;
  --shadow: 0 24px 70px rgba(20, 33, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 14px;
  border: 1px solid rgba(221, 229, 239, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(20, 33, 61, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: min(260px, calc(100% - 58px));
}

.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  background: #fff;
}

.brand-name {
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #2d3948;
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover {
  background: var(--soft);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section,
.section-band,
.cta-band {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 72px 0 56px;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 4.2vw, 4.55rem);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h1 span {
  display: block;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-lead,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 30px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 28px rgba(20, 33, 61, 0.2);
}

.button.ghost {
  border-color: var(--line);
  background: #fff;
}

.button.light {
  color: var(--ink);
  background: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 640px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.hero-stats dt {
  font-size: 1.45rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 22%, rgba(38, 103, 255, 0.22), transparent 26%),
    radial-gradient(circle at 78% 72%, rgba(244, 181, 68, 0.28), transparent 24%),
    linear-gradient(135deg, #eef5ff 0%, #f8fbff 45%, #e9f8f5 100%);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
}

.visual-panel {
  position: absolute;
  border: 1px solid rgba(221, 229, 239, 0.84);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.visual-panel.main {
  inset: 76px 42px auto;
  padding: 24px;
}

.panel-top,
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-top {
  margin-bottom: 26px;
}

.panel-top span,
.metric-row span {
  color: var(--muted);
  font-weight: 700;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  height: 190px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 18px;
  background: #f6f8fc;
}

.chart-bars span {
  min-height: 34px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}

.metric-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.metric-row strong {
  color: var(--green);
}

.visual-panel.floating {
  right: 24px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(330px, calc(100% - 48px));
  padding: 18px;
}

.visual-panel.floating p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.check-icon {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gold);
}

.check-icon::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  width: 11px;
  height: 18px;
  border: solid var(--deep);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.section {
  padding: 86px 0;
}

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

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

.service-card {
  min-height: 330px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 33, 61, 0.08);
}

.service-card p,
.feature-list p,
.steps p {
  color: var(--muted);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 42px;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
}

.accent-blue .service-icon {
  background: var(--blue);
}

.accent-green .service-icon {
  background: var(--green);
}

.accent-coral .service-icon {
  background: var(--coral);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list article {
  padding-left: 22px;
  border-left: 4px solid var(--gold);
}

.process {
  padding-bottom: 40px;
}

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

.steps li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.steps span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), #17324f 54%, #0c5d55);
}

.cta-band .eyebrow {
  color: #8ce5d9;
}

.cta-band h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  font-weight: 800;
}

.contact-details span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd8e5;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input,
select {
  height: 48px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

.form-field-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(38, 103, 255, 0.18);
  border-color: var(--blue);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  font-weight: 800;
}

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

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

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

  .hero {
    min-height: 0;
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 470px;
  }

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

  .service-card {
    min-height: auto;
  }

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

@media (max-width: 560px) {
  .site-header,
  .section,
  .section-band,
  .cta-band,
  .site-footer {
    width: min(100% - 22px, 1160px);
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 1rem;
    letter-spacing: 0.06em;
  }

  h1 {
    font-size: clamp(2.45rem, 12.5vw, 3.2rem);
    line-height: 1;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .visual-panel.main {
    inset: 44px 16px auto;
    padding: 18px;
  }

  .chart-bars {
    height: 150px;
  }

  .visual-panel.floating {
    right: 12px;
    bottom: 18px;
    width: calc(100% - 24px);
  }

  .section {
    padding: 64px 0;
  }

  .cta-band {
    padding: 24px;
  }

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