:root {
  --navy: #1d2b45;
  --navy-soft: #3a4a66;
  --accent: #2a73c9;
  --accent-dark: #1f5ea8;
  --accent-soft: #e8f1fc;
  --sand: #f3e6da;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --line: #dfe5ec;
  --text: #1f2a3a;
  --muted: #5d6b7e;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }
a { color: var(--accent-dark); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.dots {
  background-image: radial-gradient(var(--line) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.2;
}

.logo svg { width: 34px; height: 34px; color: var(--accent); flex: none; }
.logo strong { display: block; font-size: 17px; }
.logo small { display: block; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  position: relative;
  color: var(--navy-soft);
  font-size: 15px;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--navy);
  font: 600 15px var(--sans);
  cursor: pointer;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.button:hover { background: var(--accent-dark); }
.button svg { width: 18px; height: 18px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Hero */

.hero {
  position: relative;
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
}

.hero h1 .eyebrow { display: block; line-height: 1.6; }

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lead {
  max-width: 540px;
  margin-bottom: 2em;
  font-size: 19px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.hero-art {
  position: relative;
  aspect-ratio: 1;
  max-width: 500px;
  justify-self: end;
  width: 100%;
}

.hero-art .panel {
  position: absolute;
  inset: 6%;
  border-radius: 32px;
  background-color: var(--accent-soft);
}

.hero-art > svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.ecg {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 3.2s ease-out 0.3s forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(29, 43, 69, 0.10);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.chip .tick {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.chip .tick svg { width: 16px; height: 16px; }

.chip-1 { left: -6%; top: 22%; }
.chip-2 { right: -4%; top: 52%; }
.chip-3 { left: 6%; bottom: 4%; }

/* Trust bar */

.trust {
  position: relative;
  z-index: 2;
  margin-top: -48px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(29, 43, 69, 0.08);
  overflow: hidden;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child { border-right: 0; }

.trust-item svg {
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.trust-item strong { display: block; font-size: 15px; color: var(--navy); line-height: 1.3; }
.trust-item span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* Sections */

.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); }
.section-head p { margin: 0; color: var(--muted); }

.overline {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.photo {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.photo::before {
  content: "";
  position: absolute;
  inset: 20% 0 0;
  border-radius: 32px;
  background-color: var(--accent-soft);
  background-image: radial-gradient(#cfdff2 1.4px, transparent 1.4px);
  background-size: 22px 22px;
}

.photo img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 32px 32px;
}

.about-text h2 { font-size: clamp(30px, 4vw, 44px); }

.quote {
  margin: 28px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  font-size: 19px;
  color: var(--navy);
}

/* Services */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service {
  position: relative;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background 0.25s;
}

.service:hover { background: var(--accent-soft); }

.service .num {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.service svg {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--accent);
}

.service h3 { font-size: 19px; }
.service p { margin: 0; font-size: 16px; color: var(--muted); }

/* Steps */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px);
  opacity: 0.5;
}

.steps li {
  position: relative;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 700;
}

.steps li:first-child::before { background: var(--accent); color: #fff; }

.steps h3 { font-size: 19px; }
.steps p { font-size: 16px; color: var(--muted); }

/* Experience */

.exp-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}

.exp-text h2 { font-size: clamp(30px, 4vw, 44px); }
.exp-text p { font-size: 18px; color: var(--text); }

.cred {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.cred-block { padding: 26px 28px; }
.cred-block + .cred-block { border-top: 1px solid var(--line); }

.cred h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.cred h3 svg { width: 22px; height: 22px; }

.cred .school { margin: 0; font-weight: 600; color: var(--navy); }
.cred .school span { display: block; font-weight: 400; color: var(--muted); }

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.45;
}

.checks li:last-child { margin-bottom: 0; }

.checks li svg {
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.checks li span { color: var(--muted); }

/* Contact */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 28px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.contact-text {
  position: relative;
  padding: 56px;
}

.contact-text h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); }
.contact-text p { color: rgba(255, 255, 255, 0.75); }

.contact-text .ecg-mini {
  width: 220px;
  max-width: 100%;
  margin-top: 24px;
  color: var(--accent);
}

.contact-list {
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
  padding: 40px 56px;
  list-style: none;
  background: rgba(255, 255, 255, 0.05);
}

.contact-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.contact-list li:last-child { border-bottom: 0; }

.contact-list a,
.contact-list .row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  color: #fff;
  text-decoration: none;
  word-break: break-word;
}

.contact-list a:hover strong { color: #9cc9f5; }

.contact-list .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: #9cc9f5;
}

.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.contact-list strong { font-weight: 600; transition: color 0.2s; }

/* Footer */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.site-footer p { margin: 0; }

/* Responsive */

@media (max-width: 960px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}

@media (max-width: 860px) {
  .hero-grid,
  .about-grid,
  .exp-grid,
  .contact,
  .section-head { grid-template-columns: 1fr; }

  .hero-art { justify-self: center; max-width: 420px; }
  .photo { margin: 0 auto; width: 80%; }

  .site-header nav { display: contents; }
  .header-inner { position: relative; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .logo { min-height: 44px; }
  .nav { display: none; }
  .nav-open .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(29, 43, 69, 0.08);
  }
  .nav-open .nav a { display: block; padding: 12px 0; font-size: 17px; }
  .nav-open .nav a::after { display: none; }
  .link-arrow { min-height: 44px; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .trust-grid, .services, .steps { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .contact-text, .contact-list { padding: 36px 24px; }
  .chip { font-size: 13px; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ecg { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
