:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #1f1f23;
  --muted: #626873;
  --line: #dfe3e8;
  --brand: #ed1c24;
  --brand-dark: #b51218;
  --accent: #2a2a2f;
  --soft-red: #fff3f4;
  --shadow: 0 18px 45px rgba(20, 24, 31, .08);
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 82px; padding: 18px 0; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; padding: 8px 0; }
.brand img { width: 92px; display: block; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; color: #3f4650; font-weight: 700; font-size: 14px; }
.nav a { position: relative; padding: 10px 0; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 3px; width: 0; height: 2px; background: var(--brand); transition: width .2s ease; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 6px;
  background: var(--brand);
  color: white; font-weight: 800; box-shadow: 0 10px 24px rgba(237, 28, 36, .18);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--brand-dark); box-shadow: 0 14px 30px rgba(237, 28, 36, .24); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid #b8c0ca; box-shadow: none; }
.btn-outline:hover { background: #fff; color: var(--ink); border-color: var(--accent); box-shadow: none; }
.btn-light { background: white; color: var(--brand-dark); box-shadow: none; }
.btn-light:hover { background: #f5f5f5; color: var(--brand-dark); }
.hero { padding-top: 74px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.eyebrow, .section-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--brand-dark); font-weight: 900; text-transform: uppercase;
  letter-spacing: .09em; font-size: 12px;
}
.eyebrow::before, .section-label::before { content: ""; width: 28px; height: 2px; background: var(--brand); }
h1 { margin: 22px 0 24px; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.02; letter-spacing: -.055em; }
h2 { margin: 14px 0 0; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -.035em; }
h3 { margin: 16px 0 10px; font-size: 21px; letter-spacing: -.02em; }
p { color: var(--muted); line-height: 1.75; }
.lead { font-size: 18px; max-width: 660px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-card {
  min-height: 520px;
  border-radius: 18px;
  padding: 34px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.stat-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(20,24,31,.06);
  min-width: 0;
}

.stat-card strong {
  display: block;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ink);
}

.stat-card span {
  display: block;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.45;
}

.main-stat {
  width: 100%;
  margin-top: 74px;
  border-left: 5px solid var(--brand);
}

.main-stat strong {
  font-size: clamp(52px, 6vw, 72px);
  color: var(--brand-dark);
  white-space: nowrap;
}

.mini-stats {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-stats .stat-card {
  padding: 20px;
}

.mini-stats .stat-card strong {
  font-size: clamp(22px, 1.8vw, 27px);
}

.mini-stats .stat-card span {
  font-size: 15px;
}
.two-col { display: grid; grid-template-columns: .8fr 1fr; gap: 70px; align-items: start; }
.about { background: #fff; border-bottom: 1px solid var(--line); }
.about p { font-size: 18px; margin: 8px 0 0; }
.section-head { max-width: 800px; margin-bottom: 34px; }
.section-head.compact { max-width: 720px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9ced6; }
.card span { color: var(--brand-dark); font-weight: 900; font-size: 13px; letter-spacing: .1em; }
.partners { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-cloud span { padding: 12px 16px; background: #fff; border: 1px solid #cfd5dd; border-radius: 6px; font-weight: 800; color: #2f3540; }
.client-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.client-list div { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; padding: 20px; }
.client-list strong { display: block; line-height: 1.45; }
.client-list span { display: block; margin-top: 8px; color: var(--brand-dark); font-weight: 900; font-size: 14px; }
.cta-card {
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  background: linear-gradient(135deg, #252529, #111114);
  color: white; border-radius: 18px; padding: 48px; box-shadow: var(--shadow); border-top: 6px solid var(--brand);
}
.cta-card p, .cta-card .section-label { color: rgba(255,255,255,.78); }
.cta-card .section-label::before { background: var(--brand); }
.footer { padding: 34px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer img { width: 88px; }
.footer p { margin: 0; font-size: 14px; }
button.btn { border: 0; cursor: pointer; font-family: inherit; }
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(17, 17, 20, .64); backdrop-filter: blur(8px); }
.modal-dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px; box-shadow: 0 30px 90px rgba(17, 17, 20, .35); }
.modal-dialog h2 { font-size: clamp(30px, 4vw, 42px); }
.modal-dialog p { margin-bottom: 22px; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #f7f8fa; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 800; }
.contact-form .full, .contact-form button { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #cfd5dd; border-radius: 8px; padding: 14px 16px; font: inherit; color: var(--ink); background: #fff; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(237, 28, 36, .08); }
.contact-form textarea { resize: vertical; }
@media (max-width: 980px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero-grid, .two-col, .cta-card { grid-template-columns: 1fr; }
  .hero-card { min-height: 460px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .client-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 62px 0; }
  .header-inner { min-height: 76px; }
  .brand img { width: 82px; }
  .btn-small { display: none; }
  h1 { font-size: 42px; }
  .hero-card { min-height: auto; padding: 22px; }
  .main-stat { width: 100%; margin: 20px 0; }
  .main-stat strong { font-size: 52px; }
  .mini-stats { position: static; grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cta-card { padding: 30px; border-radius: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .contact-form { grid-template-columns: 1fr; }
  .modal-dialog { padding: 26px; border-radius: 14px; }
}
.contacts {
  background: #fff;
  border-top: 1px solid var(--line);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 24px;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-item p {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.contact-item a {
  color: var(--ink);
  transition: .2s;
}

.contact-item a:hover {
  color: var(--brand);
}

.contact-card-accent {
  background: linear-gradient(
    135deg,
    #252529 0%,
    #111114 100%
  );
  color: white;
}

.contact-card-accent p {
  color: rgba(255,255,255,.75);
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}