:root {
  --bg: #f7f8fa;
  --panel: #eef1f5;
  --white: #ffffff;
  --ink: #121826;
  --muted: #667085;
  --line: #dce3ec;
  --accent: #2f5bff;
  --accent-soft: #e8eeff;
  --ok: #0f7b4c;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 18px 50px rgba(18, 24, 38, 0.06);
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; color: var(--accent); }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 250, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a, .nav-mobile a {
  font-size: 14px;
  font-weight: 600;
  color: #344054;
}
.nav a:hover, .nav-mobile a:hover { color: var(--accent); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 8px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.nav-mobile[hidden] { display: none !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 91, 255, 0.22);
}
.btn-primary:hover { background: #2449d8; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--white); }

.hero { padding: 28px 0 8px; }
.hero-grid {
  display: grid;
  gap: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 91, 255, 0.14), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(18, 24, 38, 0.08), transparent 28%),
    linear-gradient(160deg, #101828 0%, #1d2939 55%, #344054 100%);
  color: #fff;
  border-radius: 32px;
  padding: clamp(36px, 6vw, 72px);
  box-shadow: var(--shadow);
}
.hero-copy { max-width: 720px; }
.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero h1 em { color: #9db2ff; }
.lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost {
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.hero .btn-ghost:hover { background: rgba(255,255,255,0.08); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.hero-stats article {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
}
.hero-stats strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: #c7d4ff;
  margin-bottom: 4px;
}
.hero-stats span {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

.section { padding: 18px 0; }
.section-last { padding-bottom: 36px; }
.panel {
  background: var(--panel);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
}
.panel.soft { background: var(--white); border: 1px solid var(--line); }
.section-head { margin-bottom: 28px; }
.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #98a2b3;
  margin-bottom: 14px;
}
.section-head-row {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.section-head h2,
.panel.soft h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.section-desc { color: var(--muted); font-size: 1rem; padding-top: 6px; }

.feature-grid,
.industries-grid,
.reviews-grid,
.steps,
.contacts-grid {
  display: grid;
  gap: 14px;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.partner-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 148px;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 100px;
  padding: 22px 18px 16px;
  background: var(--white);
}
.partner-logo img {
  width: 100%;
  height: 64px;
  object-fit: contain;
  object-position: center;
}
.partner-cat {
  margin: 0;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.feature-card,
.industry-card,
.reviews-grid blockquote,
.steps article,
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.feature-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #98a2b3;
  margin-bottom: 18px;
}
.feature-card h3,
.industry-card h3,
.steps h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p,
.industry-card p,
.steps p,
.reviews-grid p { color: var(--muted); font-size: 0.95rem; }

.industries-grid { grid-template-columns: repeat(3, 1fr); }
.industry-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 0;
}
.industry-card span {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.75;
}
.industry-card h3 { color: #fff; }
.industry-card p { color: rgba(255,255,255,0.82); }
.tone-a { background: linear-gradient(160deg, #1d2939, #344054); }
.tone-b { background: linear-gradient(160deg, #1c3d7a, #2f5bff); }
.tone-c { background: linear-gradient(160deg, #17324d, #3b6d8c); }
.tone-d { background: linear-gradient(160deg, #243447, #4b5e78); }
.tone-e { background: linear-gradient(160deg, #1f3a5f, #4f73b8); }
.tone-f { background: linear-gradient(160deg, #223045, #5a6f8c); }
.panel-link {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 600;
}
.panel-link a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.steps { grid-template-columns: repeat(4, 1fr); }
.steps strong {
  display: block;
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 18px;
}

.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.panel.soft ul {
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}
.panel.soft li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}
.panel.soft li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.reviews-grid { grid-template-columns: repeat(3, 1fr); }
.reviews-grid cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
}

.faq-list { display: grid; gap: 10px; }
.faq-list details {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 4px 18px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p {
  color: var(--muted);
  padding-bottom: 16px;
}

.form-panel { background: #e8edf5; }
.lead-form { display: grid; gap: 14px; max-width: 760px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #344054;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  outline: none;
}
.lead-form input:focus,
.lead-form textarea:focus {
  border-color: #9db2ff;
  box-shadow: 0 0 0 4px rgba(47, 91, 255, 0.12);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.form-note { color: var(--muted); font-size: 13px; font-weight: 500; }
.form-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-success {
  background: #e8f7ef;
  color: var(--ok);
  border: 1px solid #b7e4cb;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
}

.contacts-grid { grid-template-columns: repeat(3, 1fr); }
.contact-card {
  transition: transform .15s ease, box-shadow .15s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-card strong { font-size: 1.05rem; }

.city-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 22px;
}
.city-tab {
  border: 1px solid var(--line);
  background: var(--white);
  color: #344054;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
}
.city-tab:hover { border-color: #b8c5ff; color: var(--accent); }
.city-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.city-panels { display: grid; gap: 12px; }
.city-panel { display: none; gap: 12px; }
.city-panel.is-active { display: grid; }
.loc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.loc-row strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 4px;
}
.loc-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.loc-row a {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}
.loc-row a:hover { text-decoration: underline; }

.site-footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.site-footer p,
.site-footer li,
.footer-bottom {
  color: var(--muted);
  font-size: 14px;
}
.site-footer h4 {
  font-size: 14px;
  margin-bottom: 12px;
}
.site-footer .logo { margin-bottom: 14px; display: inline-block; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile:not([hidden]) { display: flex; }
  .hero-stats,
  .feature-grid,
  .industries-grid,
  .partners-grid,
  .steps,
  .reviews-grid,
  .contacts-grid,
  .dual,
  .footer-grid,
  .section-head-row,
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .loc-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .hero-grid { border-radius: 24px; padding: 28px 22px; }
  .hero-stats,
  .feature-grid,
  .industries-grid,
  .partners-grid,
  .steps,
  .reviews-grid,
  .contacts-grid,
  .dual,
  .footer-grid,
  .section-head-row,
  .form-row {
    grid-template-columns: 1fr;
  }
}
