    :root {
      --bg: #f5f6f8;
      --card: #ffffff;
      --text: #111827;
      --muted: #6b7280;
      --muted-dark: #4b5563;
      --border: #d9dde5;
      --border-light: #e7eaf0;
      --primary: #1f2937;
      --primary-hover: #111827;
      --accent: #2563eb;
      --error: #dc2626;
      --success: #15803d;
      --footer-text: #667085;
      --chat: #76b82a;
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      min-height: 100%;
    }

    body {
      margin: 0;
      font-family: "Inter", Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
    }

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .main {
      flex: 1;
      display: flex;
      justify-content: center;
      padding: 48px 16px 56px;
    }

    .container {
      width: 100%;
      max-width: 860px;
    }

    .top-note {
      margin-bottom: 16px;
      padding: 14px 18px;
      border: 1px solid var(--border-light);
      border-radius: 12px;
      background: #ffffff;
      color: var(--muted-dark);
      font-size: 13px;
      line-height: 1.5;
    }

    .top-note strong {
      color: var(--text);
      font-weight: 600;
    }

    .card {
      background: var(--card);
      border: 1px solid var(--border-light);
      border-radius: 18px;
      box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
      overflow: hidden;
    }

    .card-header {
      padding: 34px 38px 26px;
      border-bottom: 1px solid var(--border-light);
      background: #ffffff;
    }

    .eyebrow {
      margin-bottom: 14px;
      color: var(--accent);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }

    h1 {
      margin: 0 0 12px;
      font-size: 28px;
      line-height: 1.2;
      font-weight: 700;
      letter-spacing: -0.03em;
      color: var(--text);
    }

    .subtitle {
      margin: 0;
      max-width: 680px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.55;
    }

    .form {
      padding: 34px 38px 38px;
    }

    .section {
      margin-bottom: 30px;
    }

    .section:last-of-type {
      margin-bottom: 0;
    }

    .section-head {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
    }

    .section-icon {
      width: 32px;
      height: 32px;
      border-radius: 10px;
      background: #eef4ff;
      color: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      font-weight: 700;
      flex-shrink: 0;
    }

    .section-title {
      margin: 0;
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px 20px;
    }

    .field {
      position: relative;
    }

    .field.medium {
      max-width: 380px;
    }

    .field.full {
      grid-column: span 2;
      max-width: 380px;
    }

    label {
      display: block;
      margin-bottom: 8px;
      color: var(--text);
      font-size: 14px;
      font-weight: 600;
    }

    .optional {
      color: var(--muted);
      font-weight: 500;
    }

    input {
      width: 100%;
      height: 52px;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 0 14px;
      background: #ffffff;
      color: var(--text);
      font-family: inherit;
      font-size: 15px;
      outline: none;
      transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    }

    input::placeholder {
      color: #aeb4c0;
    }

    input:hover {
      border-color: #b9c0cc;
    }

    input:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    }

    input.error {
      border-color: var(--error);
      background: #fffafa;
    }

    .error-text {
      display: none;
      margin-top: 7px;
      color: var(--error);
      font-size: 12px;
      line-height: 1.35;
    }

    .error-text.show {
      display: block;
    }

    .divider {
      height: 1px;
      margin: 30px 0;
      background: var(--border-light);
    }

    .phone-row {
      display: grid;
      grid-template-columns: 130px minmax(0, 250px);
      gap: 12px;
      align-items: start;
    }

    .country-box {
      height: 52px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: #ffffff;
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 0 13px;
      color: var(--text);
      font-size: 15px;
    }

    .flag {
      width: 23px;
      height: 23px;
      border-radius: 50%;
      display: inline-block;
      background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #ffffff 33.33%,
        #1d56a5 33.33%,
        #1d56a5 66.66%,
        #d52b1e 66.66%,
        #d52b1e 100%
      );
      border: 1px solid #e5e7eb;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
      flex-shrink: 0;
    }

    .country-muted {
      margin-left: auto;
      color: var(--muted);
      font-size: 12px;
    }

    .privacy-block {
      margin-top: 22px;
      padding: 16px;
      border: 1px solid var(--border-light);
      border-radius: 12px;
      background: #f9fafb;
    }

    .checkbox {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      cursor: pointer;
    }

    .checkbox input {
      width: 18px;
      height: 18px;
      margin: 1px 0 0;
      accent-color: var(--primary);
      flex-shrink: 0;
    }

    .checkbox-text {
      color: var(--muted-dark);
      font-size: 13px;
      line-height: 1.45;
    }

    .checkbox-text a {
      color: var(--text);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .security-note {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid var(--border-light);
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .actions {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 28px;
      flex-wrap: wrap;
    }

    .submit {
      min-width: 220px;
      height: 52px;
      border: none;
      border-radius: 10px;
      background: var(--primary);
      color: #ffffff;
      font-family: inherit;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.16s ease, transform 0.16s ease;
    }

    .submit:hover {
      background: var(--primary-hover);
      transform: translateY(-1px);
    }

    .submit:active {
      transform: translateY(0);
    }

    .submit:disabled {
      background: #cbd5e1;
      cursor: not-allowed;
      transform: none;
    }

    .status {
      font-size: 14px;
      font-weight: 600;
    }

    .status.success {
      color: var(--success);
    }

    .status.error {
      color: var(--error);
    }

    .footer {
      border-top: 1px solid var(--border-light);
      background: #ffffff;
      padding: 0 16px 26px;
      color: var(--footer-text);
      font-size: 12px;
      line-height: 1.55;
      text-align: center;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 48px;
      flex-wrap: wrap;
      padding: 8px 0 24px;
    }

    .footer-links a {
      color: #111827;
      font-size: 13px;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .footer-text {
      max-width: 1180px;
      margin: 0 auto;
    }

    .footer-disclaimer {
      max-width: 1180px;
      margin: 16px auto 0;
      color: #667085;
    }

    .footer-copy {
      margin-top: 28px;
      color: #667085;
    }

    .chat-button {
      position: fixed;
      right: 20px;
      bottom: 20px;
      width: 52px;
      height: 52px;
      border: none;
      border-radius: 50%;
      background: var(--chat);
      box-shadow: 0 10px 24px rgba(80, 130, 32, 0.32);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 20;
      transition: transform 0.16s ease, box-shadow 0.16s ease;
    }

    .chat-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 30px rgba(80, 130, 32, 0.38);
    }

    .chat-icon {
      position: relative;
      width: 25px;
      height: 21px;
      background: #ffffff;
      border-radius: 50%;
    }

    .chat-icon::after {
      content: "";
      position: absolute;
      right: 2px;
      bottom: -4px;
      width: 9px;
      height: 9px;
      background: #ffffff;
      border-radius: 0 0 8px 0;
      transform: rotate(35deg);
    }

    .chat-dot {
      position: absolute;
      top: 9px;
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: var(--chat);
      z-index: 2;
    }

    .chat-dot:nth-child(1) {
      left: 7px;
    }

    .chat-dot:nth-child(2) {
      left: 12px;
    }

    .chat-dot:nth-child(3) {
      left: 17px;
    }

    @media (max-width: 760px) {
      .main {
        padding: 24px 12px 40px;
      }

      .card {
        border-radius: 14px;
      }

      .card-header {
        padding: 28px 22px 22px;
      }

      h1 {
        font-size: 24px;
      }

      .form {
        padding: 28px 22px 32px;
      }

      .grid {
        grid-template-columns: 1fr;
      }

      .field.full {
        grid-column: auto;
        max-width: none;
      }

      .field.medium {
        max-width: none;
      }

      .phone-row {
        grid-template-columns: 120px minmax(0, 1fr);
      }

      .submit {
        width: 100%;
      }

      .footer-links {
        gap: 14px;
        flex-direction: column;
        padding-bottom: 20px;
      }

      .footer {
        padding-bottom: 82px;
      }
    }

    @media (max-width: 430px) {
      .phone-row {
        grid-template-columns: 1fr;
      }

      .country-box {
        max-width: 140px;
      }

      .chat-button {
        right: 16px;
        bottom: 16px;
      }
    }
    .seo-block,
.faq-block {
  margin-top: 28px;
  padding: 32px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.seo-header {
  max-width: 760px;
  margin-bottom: 24px;
}

.seo-header .eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.seo-header h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.seo-header p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.65;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.info-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e7eb;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #111827;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.info-card h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.3;
}

.info-card p {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

.notice-box {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 22px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.notice-box h3 {
  margin: 0 0 8px;
  color: #9a3412;
  font-size: 18px;
}

.notice-box p {
  margin: 0;
  color: #7c2d12;
  font-size: 15px;
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 18px 52px 18px 20px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #ffffff;
  color: #111827;
  font-size: 20px;
  line-height: 26px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .seo-block,
  .faq-block {
    padding: 24px;
    border-radius: 24px;
  }

  .seo-header h2 {
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  .seo-block,
  .faq-block {
    margin-top: 20px;
    padding: 20px;
    border-radius: 20px;
  }

  .seo-header h2 {
    font-size: 22px;
  }

  .seo-header p,
  .info-card p,
  .notice-box p,
  .faq-item p {
    font-size: 14px;
  }

  .info-card {
    padding: 18px;
  }

  .faq-item summary {
    padding: 16px 48px 16px 16px;
    font-size: 15px;
  }
}
.hero-benefits {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 22px;
    }

    .hero-benefit {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 14px 15px;
      border-radius: 18px;
      background: #f8fafc;
      border: 1px solid #e5e7eb;
    }

    .hero-benefit-icon {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: #111827;
      color: #ffffff;
      font-size: 14px;
      font-weight: 800;
      line-height: 1;
    }

    .hero-benefit span:last-child {
      color: #334155;
      font-size: 14px;
      line-height: 1.45;
      font-weight: 600;
    }

    .offer-box {
      margin: 24px 0 0;
      padding: 22px 24px;
      border-radius: 24px;
      background:
        radial-gradient(circle at top left, rgba(251, 146, 60, 0.18), transparent 34%),
        linear-gradient(135deg, #fff7ed 0%, #ffffff 70%);
      border: 1px solid #fed7aa;
    }

    .offer-box-top {
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }

    .offer-badge {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 46px;
      height: 46px;
      border-radius: 16px;
      background: #fb923c;
      color: #ffffff;
      font-size: 22px;
      font-weight: 800;
      box-shadow: 0 10px 24px rgba(251, 146, 60, 0.28);
    }

    .offer-box h2 {
      margin: 0 0 7px;
      color: #9a3412;
      font-size: 21px;
      line-height: 1.25;
      letter-spacing: -0.02em;
    }

    .offer-box p {
      margin: 0;
      color: #7c2d12;
      font-size: 15px;
      line-height: 1.65;
    }

    .micro-note {
      margin-top: 12px;
      color: #64748b;
      font-size: 13px;
      line-height: 1.5;
    }

    .seo-block,
    .benefits-block,
    .start-block,
    .faq-block {
      margin-top: 28px;
      padding: 32px;
      border-radius: 28px;
      background: #ffffff;
      box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
      border: 1px solid rgba(226, 232, 240, 0.9);
    }

    .seo-header {
      max-width: 800px;
      margin-bottom: 24px;
    }

    .seo-header .eyebrow {
      display: inline-flex;
      align-items: center;
      margin-bottom: 10px;
      padding: 6px 12px;
      border-radius: 999px;
      background: #f3f4f6;
      color: #64748b;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    .seo-header h2 {
      margin: 0 0 12px;
      color: #0f172a;
      font-size: 28px;
      line-height: 1.2;
      letter-spacing: -0.03em;
    }

    .seo-header p {
      margin: 0;
      color: #475569;
      font-size: 16px;
      line-height: 1.65;
    }

    .info-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      margin-top: 22px;
    }

    .info-card {
      padding: 22px;
      border-radius: 22px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      border: 1px solid #e5e7eb;
    }

    .info-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      margin-bottom: 16px;
      border-radius: 14px;
      background: #111827;
      color: #ffffff;
      font-size: 16px;
      font-weight: 800;
    }

    .info-icon.orange {
      background: #fb923c;
    }

    .info-icon.green {
      background: #16a34a;
    }

    .info-icon.blue {
      background: #2563eb;
    }

    .info-card h3 {
      margin: 0 0 10px;
      color: #0f172a;
      font-size: 18px;
      line-height: 1.3;
      letter-spacing: -0.01em;
    }

    .info-card p {
      margin: 0;
      color: #475569;
      font-size: 15px;
      line-height: 1.6;
    }

    .notice-box {
      margin-top: 22px;
      padding: 22px 24px;
      border-radius: 22px;
      background: #fff7ed;
      border: 1px solid #fed7aa;
    }

    .notice-box h3 {
      margin: 0 0 8px;
      color: #9a3412;
      font-size: 18px;
      line-height: 1.35;
    }

    .notice-box p {
      margin: 0;
      color: #7c2d12;
      font-size: 15px;
      line-height: 1.6;
    }

    .start-list {
      display: grid;
      gap: 12px;
      margin-top: 22px;
    }

    .start-item {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 18px 20px;
      border-radius: 20px;
      background: #f8fafc;
      border: 1px solid #e5e7eb;
    }

    .start-check {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: #16a34a;
      color: #ffffff;
      font-size: 15px;
      font-weight: 800;
    }

    .start-item strong {
      display: block;
      margin-bottom: 4px;
      color: #0f172a;
      font-size: 16px;
      line-height: 1.35;
    }

    .start-item span {
      display: block;
      color: #475569;
      font-size: 15px;
      line-height: 1.55;
    }

    .faq-list {
      display: grid;
      gap: 12px;
    }

    .faq-item {
      border-radius: 18px;
      background: #f8fafc;
      border: 1px solid #e5e7eb;
      overflow: hidden;
    }

    .faq-item summary {
      position: relative;
      display: block;
      padding: 18px 52px 18px 20px;
      color: #0f172a;
      font-size: 16px;
      font-weight: 800;
      cursor: pointer;
      list-style: none;
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item summary::after {
      content: "+";
      position: absolute;
      right: 20px;
      top: 50%;
      width: 26px;
      height: 26px;
      transform: translateY(-50%);
      border-radius: 50%;
      background: #ffffff;
      color: #111827;
      font-size: 20px;
      line-height: 26px;
      text-align: center;
      box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    }

    .faq-item[open] summary::after {
      content: "−";
    }

    .faq-item p {
      margin: 0;
      padding: 0 20px 18px;
      color: #475569;
      font-size: 15px;
      line-height: 1.65;
    }

    @media (max-width: 900px) {
      .hero-benefits,
      .info-grid {
        grid-template-columns: 1fr;
      }

      .seo-block,
      .benefits-block,
      .start-block,
      .faq-block {
        padding: 24px;
        border-radius: 24px;
      }

      .seo-header h2 {
        font-size: 24px;
      }
    }

    @media (max-width: 520px) {
      .seo-block,
      .benefits-block,
      .start-block,
      .faq-block {
        margin-top: 20px;
        padding: 20px;
        border-radius: 20px;
      }

      .seo-header h2 {
        font-size: 22px;
      }

      .seo-header p,
      .info-card p,
      .notice-box p,
      .faq-item p,
      .start-item span,
      .offer-box p {
        font-size: 14px;
      }

      .info-card {
        padding: 18px;
      }

      .faq-item summary {
        padding: 16px 48px 16px 16px;
        font-size: 15px;
      }

      .offer-box {
        padding: 18px;
        border-radius: 20px;
      }

      .offer-box-top {
        gap: 12px;
      }

      .offer-badge {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        font-size: 19px;
      }

      .offer-box h2 {
        font-size: 18px;
      }
    }
    /* Красивый select в форме */
.field select {
  width: 100%;
  height: 56px;
  padding: 0 48px 0 16px;
  border: 1px solid #d8dee9;
  border-radius: 12px;
  background-color: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.field select:hover {
  border-color: #b8c2d6;
}

.field select:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

.field select option {
  color: #0f172a;
  background-color: #ffffff;
}

/* Чтобы select нормально выглядел на мобильных */
@media (max-width: 520px) {
  .field select {
    height: 54px;
    font-size: 15px;
  }
}

/* Блок бизнес-направления в общем стиле сайта */
.business-block {
  margin-top: 28px;
  padding: 32px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

/* Небольшое улучшение верхнего бейджа в бизнес-блоке */
.business-block .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}

/* Чтобы заголовок бизнес-блока не прилипал и выглядел аккуратнее */
.business-block .seo-header {
  margin-bottom: 24px;
}

.business-block .seo-header h2 {
  max-width: 820px;
}

.business-block .seo-header p {
  max-width: 860px;
}

/* Адаптив бизнес-блока */
@media (max-width: 900px) {
  .business-block {
    padding: 24px;
    border-radius: 24px;
  }
}

@media (max-width: 520px) {
  .business-block {
    margin-top: 20px;
    padding: 20px;
    border-radius: 20px;
  }
}
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.exit-popup.is-active {
  display: flex;
}

.exit-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(8px);
}

.exit-popup__dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 28px;
  background: #ffffff;
  padding: 30px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28);
  animation: exitPopupIn 0.25s ease;
}

@keyframes exitPopupIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.exit-popup__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.exit-popup__close:hover {
  background: #e2e8f0;
}

.exit-popup__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.exit-popup__title {
  margin: 0 42px 12px 0;
  color: #020617;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
}

.exit-popup__text {
  margin: 0 0 18px;
  color: #334155;
  font-size: 17px;
  line-height: 1.6;
}

.exit-popup__benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 22px;
}

.exit-popup__benefit {
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.exit-popup__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.exit-popup__agree {
  margin-top: 16px;
}

.exit-popup__button {
  width: 100%;
  margin-top: 18px;
}

body.exit-popup-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .exit-popup {
    padding: 12px;
  }

  .exit-popup__dialog {
    padding: 22px;
    border-radius: 22px;
  }

  .exit-popup__title {
    font-size: 26px;
  }

  .exit-popup__text {
    font-size: 15px;
  }

  .exit-popup__benefits {
    grid-template-columns: 1fr;
  }

  .exit-popup__grid {
    grid-template-columns: 1fr;
  }
}
.field select {
  width: 100%;
  height: 56px;
  padding: 0 48px 0 16px;
  border: 1px solid #d8dee9;
  border-radius: 12px;
  background-color: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.field select:hover {
  border-color: #b8c2d6;
}

.field select:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}
/* Exit popup */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.exit-popup.is-active {
  display: flex;
}

.exit-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(8px);
}

.exit-popup__dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(255, 237, 213, 0.95), transparent 34%),
    #ffffff;
  box-shadow: 0 30px 100px rgba(15, 23, 42, 0.34);
  animation: exitPopupShow 0.25s ease;
}

@keyframes exitPopupShow {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.exit-popup__content {
  padding: 30px;
}

.exit-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  font-family: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.exit-popup__close:hover {
  background: #e2e8f0;
  transform: rotate(90deg);
}

.exit-popup__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.exit-popup__title {
  margin: 0 48px 12px 0;
  color: #020617;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.exit-popup__text {
  margin: 0 0 20px;
  color: #334155;
  font-size: 17px;
  line-height: 1.55;
}

.exit-popup__benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin: 20px 0 24px;
}

.exit-popup__benefit {
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid #dbe4f0;
  text-align: center;
}

.exit-popup__benefit strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}

.exit-popup__benefit span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}

.exit-popup__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.exit-popup .field {
  position: relative;
}

.exit-popup .field label {
  display: block;
  margin-bottom: 7px;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

.exit-popup .field input,
.exit-popup .field select {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid #d8dee9;
  border-radius: 13px;
  background-color: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.exit-popup .field input::placeholder {
  color: #a8b2c3;
}

.exit-popup .field input:focus,
.exit-popup .field select:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.15);
}

.exit-popup .field select {
  padding-right: 42px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.exit-popup .error {
  display: none;
  margin-top: 6px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
}

.exit-popup__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  cursor: pointer;
}

.exit-popup__agree input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: #ea580c;
}

.exit-popup__agree .checkbox-text {
  color: #475569;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

.exit-popup__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 16px 34px rgba(234, 88, 12, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.exit-popup__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(234, 88, 12, 0.34);
}

.exit-popup__button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}

.exit-popup__small {
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.exit-popup .status {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.exit-popup .status.error {
  color: #dc2626;
}

.exit-popup .status.success {
  color: #16a34a;
}

.exit-popup .status.loading {
  color: #ea580c;
}

body.exit-popup-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .exit-popup {
    padding: 12px;
    align-items: flex-end;
  }

  .exit-popup__dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 24px;
  }

  .exit-popup__content {
    padding: 24px 18px 20px;
  }

  .exit-popup__close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .exit-popup__title {
    margin-right: 42px;
    font-size: 26px;
    line-height: 1.15;
  }

  .exit-popup__text {
    font-size: 15px;
  }

  .exit-popup__benefits {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .exit-popup__benefit {
    text-align: left;
  }

  .exit-popup__grid {
    grid-template-columns: 1fr;
  }
}