:root {
  --primary: #6878d8;
  --accent: #ed1c24;
  --text: #24324a;
  --muted: #6f7b91;
  --bg: #ffffff;
  --section: #f7f9fc;
  --border: #e6ebf4;
  --dark: #17233b;
  --radius: 18px;
  --container: 1180px;
  --shadow: 0 12px 30px rgba(36, 50, 74, .08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-grid {
  position: relative;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.brand-logo {
  width: 190px;
  max-height: 58px;
  object-fit: contain;
}

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

.nav a {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--dark);
}

.nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions .btn {
  min-height: 44px;
  padding: 0 24px;
}
/* =========================
   BURGER
========================= */

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: .3s;
}
/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: .2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: #5968c0;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

/* hero */

.hero {
  padding: 96px 0;
  background: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 64px;
}

.eyebrow,
.section-label {
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--dark);
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: var(--section);
  border: 1px solid var(--border);
  border-radius: 26px;
}

.metric {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.metric strong {
  display: block;
  color: var(--accent);
  font-size: 42px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 600;
}

/* sections */

.section {
  padding: 92px 0;
  background: var(--section);
}

.section-white {
  background: #fff;
}

.section h2 {
  max-width: 720px;
  color: var(--dark);
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -.03em;
}

.two-columns,
.contact-grid,
.partners-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.text-block p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 18px;
}

.text-block strong {
  color: var(--dark);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

/* cards */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  min-height: 250px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.card h3 {
  margin-bottom: 12px;
  color: var(--dark);
  font-size: 21px;
}

.card p {
  color: var(--muted);
}

/* partners */

.section-blue {
  background: var(--dark);
  color: #fff;
}

.section-blue h2 {
  color: #fff;
}

.section-label.light {
  color: #aeb8ff;
}

.partners-panel {
  padding: 36px;
  background: #fff;
  color: var(--text);
  border-radius: 24px;
}

.partners-panel p {
  margin-bottom: 18px;
  color: var(--muted);
}

/* contacts */

.contact-list {
  margin-top: 26px;
}

.contact-list p {
  margin-bottom: 14px;
  color: var(--muted);
}

.contact-list span {
  display: inline-block;
  min-width: 90px;
  color: var(--dark);
  font-weight: 800;
}

.contact-cta {
  padding: 40px;
  background: var(--section);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.contact-cta h3 {
  margin-bottom: 14px;
  color: var(--dark);
  font-size: 26px;
  line-height: 1.25;
}

.contact-cta p {
  margin-bottom: 26px;
  color: var(--muted);
}

/* footer */

.footer {
  padding: 32px 0;
  background: #fff;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  width: 150px;
}

.footer p {
  color: var(--muted);
  font-size: 14px;
}

/* modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 35, 59, .62);
}

.modal-window {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  padding: 38px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .25);
}

.modal-window h2 {
  margin-bottom: 24px;
  color: var(--dark);
  font-size: 24px;
  line-height: 1.15;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--dark);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.feedback-form {
  display: grid;
  gap: 16px;
}

.feedback-form label {
  display: grid;
  gap: 7px;
  color: var(--dark);
  font-weight: 700;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.honeypot {
  display: none;
}

.form-status {
  color: var(--muted);
  font-size: 14px;
}

/* responsive */

@media (max-width: 992px) {

    .brand-logo {
        width: 220px;
    }

    .nav {
        gap: 22px;
    }

    .hero-grid,
    .two-columns,
    .contact-grid,
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .site-header {
        position: sticky;
    }

 .header-grid {
  height: 74px;
}

.brand {
  position: static;
  transform: none;
}

.brand-logo {
  width: 165px;
  max-height: 54px;
}

    .header-actions {
        justify-self: end;
    }

    .header-actions .btn {
        display: none;
    }

    .burger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 30px;
        border-top: 1px solid var(--border);
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: .3s ease;
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav a {
        width: 100%;
        font-size: 16px;
        padding: 8px 0;
    }

    .hero {
        padding: 62px 0;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-text {
        font-size: 17px;
    }

    .section {
        padding: 64px 0;
    }

    .section h2 {
        font-size: 21px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .modal-window {
        padding: 28px 22px;
    }
}