:root { color-scheme: light; }

html { scroll-padding-top: 96px; }
body { overflow-x: hidden; }
main [id] { scroll-margin-top: 96px; }

.language-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(23, 61, 105, .18);
  border-radius: 999px;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.en-page .nav-item.open .mega { display: grid; }
.en-page .nav-item.is-escape-closed .mega { display: none; }

.en-page .lead-form-actions {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
  width: 100%;
  margin-top: 2px;
}
.en-page .lead-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}
.en-page .lead-consent input { width: 16px; height: 16px; margin: 2px 0 0; }
.en-page .lead-consent span { min-width: 0; }
.en-page .lead-consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.en-page .lead-form-button-row { display: flex; justify-content: flex-end; }
.en-page .lead-form-status { margin: 0; }
.en-page .lead-form-status[data-state="success"] { color: #087443; }
.en-page .lead-form-status[data-state="error"],
.en-page .lead-form-status[data-state="validation"] { color: #b42318; }

.en-page .hero-format-demo .format-screen::before,
.en-page .tg-phone-screen::before,
.en-page .max-phone-screen::before { content: "Message"; }
.en-page .report-row > :nth-child(1)::before,
.en-page .tg-report-row > :nth-child(1)::before,
.en-page .max-report-row > :nth-child(1)::before { content: "Number"; }
.en-page .report-row > :nth-child(2)::before,
.en-page .tg-report-row > :nth-child(2)::before,
.en-page .max-report-row > :nth-child(2)::before { content: "Date"; }
.en-page .report-row > :nth-child(3)::before,
.en-page .tg-report-row > :nth-child(3)::before,
.en-page .max-report-row > :nth-child(3)::before { content: "Time"; }
.en-page .report-row > :nth-child(4)::before,
.en-page .tg-report-row > :nth-child(4)::before,
.en-page .max-report-row > :nth-child(4)::before { content: "Status"; }
.en-page .report-row > :nth-child(5)::before,
.en-page .tg-report-row > :nth-child(5)::before,
.en-page .max-report-row > :nth-child(5)::before { content: "Error"; }

.en-section { padding: clamp(52px, 7vw, 88px) 0; }
.en-section--soft { background: #f5f8fc; }
.en-heading { display: grid; gap: 16px; max-width: 780px; margin-bottom: 32px; }
.en-heading h2 { margin: 0; }
.en-heading p { margin: 0; color: #526174; font-size: 17px; line-height: 1.65; }
.en-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.en-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid #e2e7ee;
  border-radius: 22px;
  background: #fff;
}
.en-card h3 { margin: 0 0 10px; font-size: 21px; }
.en-card p { margin: 0; color: #536173; line-height: 1.6; }
.en-card a { display: inline-flex; margin-top: 18px; font-weight: 700; }
.en-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.en-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.en-service-card { position: relative; min-height: 230px; color: inherit; text-decoration: none; }
.en-service-card .service-mark { display: block; margin-bottom: 48px; color: #0b67d1; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.en-service-card span:last-child { display: inline-block; margin-top: 18px; color: #0b67d1; font-weight: 700; }

/* EN-only spacing corrections for content-driven SMS cards. */
.en-page .cabinet-features article { min-height: 0; padding: 20px 22px; }
.en-page .cabinet-features h3 { margin: 0 0 6px; }
.en-page .commercial-grid { align-items: start; }
.en-page .commercial-grid article { min-height: 0; }

.en-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.en-list { display: grid; gap: 12px; }
.en-list article { padding: 22px 0; border-top: 1px solid #dfe5ec; }
.en-list h3 { margin: 0 0 8px; }
.en-list p { margin: 0; color: #536173; line-height: 1.6; }

.en-process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.en-process div { padding: 20px; border: 1px solid #dfe5ec; border-radius: 18px; background: #fff; }
.en-process strong, .en-process small { display: block; }
.en-process small { margin-top: 7px; color: #657386; line-height: 1.4; }

.en-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.en-facts span { padding: 16px 18px; border-radius: 14px; background: #edf5ff; color: #173d69; font-weight: 700; }

.en-legal-note { margin-top: 12px; color: #657386; font-size: 12px; line-height: 1.5; }
.en-legal-note a { font-weight: 700; }

.en-page input.is-invalid,
.en-page select.is-invalid,
.en-page textarea.is-invalid { border-color: #b42318; }

.en-page .footer .cookie-settings-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.en-page .footer .cookie-settings-link:hover,
.en-page .footer .cookie-settings-link:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .en-service-grid, .en-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .en-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .en-process { grid-template-columns: 1fr 1fr; }
  .en-process div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 78px; }
  main [id] { scroll-margin-top: 78px; }
  .language-link { min-height: 34px; padding-inline: 10px; }
  .en-page .nav-actions > .button { display: none; }
  .en-section { padding: 44px 0; }
  .en-split, .en-card-grid, .en-service-grid, .en-four, .en-facts, .en-process { grid-template-columns: 1fr; }
  .en-process div:last-child { grid-column: auto; }
  .en-card { padding: 22px; }
  .en-service-card { min-height: 0; }
  .en-service-card .service-mark { margin-bottom: 26px; }
  .en-page .lead-form-button-row .button { width: 100%; }
  .en-page .mobile-products a {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .en-page .mobile-products a small {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    font-weight: 400;
  }
}
