:root {
  --ink: #172033;
  --ink-2: #5b6b80;
  --brand: #0b6bcb;
  --brand-2: #0857a6;
  --brand-deep: #071833;
  --brand-soft: #e8f2fc;
  --brand-pale: #d5e6f8;
  --line: #e3ebf4;
  --tint: #f4f7fb;
  --white: #ffffff;
  --good: #0c9b78;
  --poor: #e24b57;
  --shadow: 0 18px 40px rgba(16, 40, 72, 0.08);
  --radius: 20px;
  --max: 1120px;
  --header: 76px;
  --font: "Noto Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 100;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

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

.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand img { width: 132px; height: auto; }

.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.site-nav { margin-left: auto; }
.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.site-nav a,
.site-nav button {
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.site-nav a:hover,
.site-nav button:hover,
.site-nav a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand);
}
.nav-cta,
.site-nav a.nav-cta {
  background: var(--brand);
  color: var(--white) !important;
  padding: 10px 16px;
}
.site-nav a.nav-cta:hover { background: var(--brand-2); }

.has-sub { position: relative; }
.has-sub > ul {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  flex-direction: column;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
}
.has-sub:hover > ul,
.has-sub:focus-within > ul,
.has-sub.is-open > ul { display: flex; }
.has-sub > ul a { display: block; border-radius: 12px; }

.hero {
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(11, 107, 203, 0.16), transparent 60%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 64px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 18px;
}
.quote {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 16px;
}
.quote-by {
  color: var(--ink-2);
  font-size: 18px;
  margin: 0;
}

.hero-visual {
  position: relative;
  min-height: 380px;
}
.hero-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 24px -18px 24px;
  height: 40px;
  background: radial-gradient(closest-side, rgba(7, 24, 51, 0.18), transparent);
  z-index: -1;
}

.section { padding: 80px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); }
.kicker {
  display: block;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
}
.lead { font-size: 18px; color: var(--ink-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--white) !important;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--brand-2); }
.btn-ghost {
  background: var(--white);
  color: var(--brand) !important;
  border: 1px solid var(--brand-pale);
}
.btn-ghost:hover { background: var(--brand-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 20px; }
.card p { color: var(--ink-2); font-size: 15px; flex: 1; }
.card .more { font-weight: 700; }

.section-foot { margin-top: 22px; text-align: right; font-weight: 700; }

.app-band {
  background-color: #f7fbff;
  background-image:
    linear-gradient(to right, rgba(11, 107, 203, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 107, 203, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  padding: 72px 0 0;
  overflow: hidden;
}
.app-band h2 {
  color: var(--ink);
  font-size: clamp(40px, 4.6vw, 62px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  max-width: 9em;
}
.app-band h2 em { font-style: normal; color: var(--brand); }
.app-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: end;
}
.app-copy { padding-bottom: 72px; }
.app-copy p { color: var(--ink-2); max-width: 34em; font-size: 18px; }
.app-kicker { background: var(--brand-soft); color: var(--brand); }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 18px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  min-width: 168px;
  padding: 8px 18px 8px 14px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--white) !important;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(11, 107, 203, 0.22);
}
.store:hover { background: var(--brand-2); }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.85; line-height: 1.15; }
.store b { display: block; font-size: 16px; line-height: 1.15; }
.store.is-soon { cursor: default; }
.app-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 700;
}
.app-more:hover { gap: 10px; }
.phones {
  position: relative;
  height: 470px;
}
.phones img {
  position: absolute;
  width: 230px;
  border-radius: 28px;
  box-shadow: 0 24px 40px rgba(10, 27, 82, 0.18);
}
.phones img:first-child { left: 6%; bottom: -70px; }
.phones img:last-child { right: 4%; bottom: -18px; }

.cta {
  background: var(--tint) url("/assets/img/callus.jpg") center/cover no-repeat;
  position: relative;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 51, 0.72);
}
.cta .wrap { position: relative; text-align: center; padding: 72px 0; }
.cta h2 { color: var(--white); font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }

.page-hero {
  background: linear-gradient(180deg, #f7fbff, #fff);
  border-bottom: 1px solid var(--line);
  padding: 42px 0 28px;
}
.crumbs { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 10px; color: var(--ink-2); font-size: 14px; }
.crumbs a { color: var(--ink-2); }
.page-hero h1 { font-size: clamp(34px, 4vw, 48px); }

.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin: 28px 0 10px; }
.prose h3 { font-size: 22px; margin: 26px 0 8px; }
.prose h4, .prose h5 { margin: 18px 0 8px; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 4px 0; }

.stack { display: grid; gap: 28px; }
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.media-row img, .frame {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  min-height: 280px;
  background: var(--tint) center/cover no-repeat;
}
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.value {
  border-radius: 18px;
  padding: 24px;
  color: var(--white);
}
.value h3, .value p { color: var(--white); }
.value p { margin: 8px 0 0; color: rgba(255,255,255,0.9); }
.value:nth-child(1) { background: #0b6bcb; }
.value:nth-child(2) { background: #14345c; }
.value:nth-child(3) { background: #0c8f86; }
.value:nth-child(4) { background: #1d4e89; }
.philosophy { text-align: center; max-width: 820px; margin: 0 auto 8px; color: var(--ink-2); }

.awards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.award {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  display: block;
}
.award img { width: 100%; height: 180px; object-fit: cover; }
.award span { display: block; padding: 12px 12px 14px; font-size: 13px; font-weight: 600; color: var(--ink); }

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.person {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.person img { width: 100%; height: 280px; object-fit: cover; object-position: top; }
.person div { padding: 16px 16px 20px; }
.person h3 { font-size: 20px; }
.person p { margin: 4px 0 0; color: var(--brand); font-weight: 700; }

.partner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.partner-logo {
  background: var(--tint);
  border-radius: 16px;
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 18px;
}
.partner-logo img { max-height: 110px; width: auto; margin: 0 auto; }
.partners { display: grid; gap: 18px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  color: var(--ink);
  box-shadow: var(--shadow);
  min-height: 180px;
}
.contact-card:hover { border-color: var(--brand-pale); color: var(--ink); }
.contact-card h3 { font-size: 18px; }
.contact-card p { color: var(--ink-2); margin: 0; flex: 1; }
.contact-card .action { color: var(--brand); font-weight: 700; }
.office {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.office-copy { padding: 28px; }
.office iframe { width: 100%; height: 360px; min-height: 360px; border: 0; background: var(--tint); }

.tool-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}
.form-control,
select.form-control {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
  height: auto;
  min-height: 48px;
}
.control input,
.control select {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
  height: auto;
}
.form-control:focus-visible,
.control input:focus-visible,
.control select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}
.suffix, .input-group-text {
  padding: 0 12px;
  color: var(--ink-2);
  font-weight: 700;
  background: var(--tint);
  border: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.summary-figure {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.error-msg { color: var(--poor); font-size: 13px; display: block; min-height: 1em; }

.approval-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 22px; align-items: start; }
.employment {
  display: block;
  width: 100%;
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: center;
  background: transparent;
}
.employment.bg-blue, .bg-blue { background: var(--brand); color: #fff; }
.display-none { display: none; }
.cal-flex { display: flex; align-items: center; gap: 8px; }
.flex-all { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.wrap-group { margin-bottom: 14px; }
.result-span { font-size: 40px; font-weight: 800; }
.result-group { min-width: 180px; }
.rating-color { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.rating-excellent { background: var(--good); }
.rating-poor { background: var(--poor); }
.rating-fair { background: #f0b429; }
#result-table { width: 100%; border-collapse: collapse; }
#result-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.font-dark-grey { color: var(--ink-2); font-size: 12px; }
.sw-theme-dots .sw-toolbar { background: transparent; border: 0 !important; padding: 8px 0 0; }
.sw-theme-dots > ul.step-anchor > li > a { color: var(--ink-2); }
.sw-theme-dots > ul.step-anchor > li.active > a,
.sw-theme-dots > ul.step-anchor > li.done > a { color: var(--brand) !important; }
.sw-btn-next, .sw-btn-prev, .btn-global, .step-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  background: var(--brand);
  color: #fff !important;
  border: 0;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
}
.sw-btn-prev { background: var(--tint); color: var(--ink) !important; }
.step-btn { display: block; width: fit-content; background: transparent; color: var(--brand) !important; padding: 0 0 6px; }
.text-message { font-weight: 800; color: var(--good); margin-bottom: 8px; }
.calc-note { font-size: 12px; color: var(--ink-2); }

.site-footer { background: var(--brand-deep); color: #d5e2f2; padding: 48px 0 20px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr;
  gap: 28px;
  align-items: start;
}
.site-footer a { color: #fff; }
.site-footer img { width: 128px; background: #fff; border-radius: 10px; padding: 6px; }
.footer-links { display: flex; gap: 40px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 6px 0; }
.footer-title { color: #fff; margin-bottom: 8px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 14px;
}
.footer-bottom ul { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 24, 51, 0.86);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(920px, 100%); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  border: 0;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    margin: 0;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .has-sub > ul { position: static; box-shadow: none; display: none; min-width: 0; }
  .hero-grid, .split, .app-intro, .media-row, .team, .contact-grid, .office, .tool-layout, .approval-layout, .partner, .awards, .values, .footer-grid {
    grid-template-columns: 1fr;
  }
  .awards, .team, .contact-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual, .hero-visual img { min-height: 0; height: 280px; }
  .app-copy { padding-bottom: 12px; }
  .phones { height: 360px; }
  .phones img { width: 168px; }
  .phones img:first-child { left: 4%; bottom: -36px; }
  .phones img:last-child { right: 2%; bottom: 8px; }
  .flex-all { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 640px) {
  .awards, .team, .contact-grid, .cards { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .section { padding: 56px 0; }
  #result-table, #result-table tr, #result-table td { display: block; width: 100% !important; }
}
