/* =========================================================
   ПЕРЕМЕННЫЕ
   ========================================================= */

:root {
  color-scheme: light;

  --page-bg: #f6fbf8;
  --surface: #ffffff;
  --surface-soft: #eff9f4;
  --surface-hover: #f5fcf8;

  --text: #173d32;
  --text-strong: #0f3329;
  --muted: #668078;

  --green: #248a63;
  --green-dark: #176348;
  --green-bright: #5bd39a;
  --green-pale: #dff7eb;

  --border: #d5eae0;
  --border-strong: #afd9c5;

  --white: #ffffff;
  --danger: #b14848;

  --shadow-small:
    0 8px 24px rgba(31, 104, 76, 0.07);

  --shadow:
    0 18px 48px rgba(31, 104, 76, 0.11);

  --container: 1220px;
}


html[data-theme="dark"] {
  color-scheme: dark;

  --page-bg: #0e1814;
  --surface: #17261f;
  --surface-soft: #12221b;
  --surface-hover: #1b3027;

  --text: #e8f7ef;
  --text-strong: #f2fff8;
  --muted: #9fbaad;

  --green: #68d9a2;
  --green-dark: #88e7b8;
  --green-bright: #9af0c5;
  --green-pale: #204b38;

  --border: #2e4b3d;
  --border-strong: #47725c;

  --shadow-small:
    0 8px 24px rgba(0, 0, 0, 0.18);

  --shadow:
    0 18px 48px rgba(0, 0, 0, 0.3);
}


/* =========================================================
   БАЗОВЫЕ СТИЛИ
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--page-bg);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  line-height: 1.5;
}


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


button,
input,
textarea,
select {
  font: inherit;
}


button {
  color: inherit;
}


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


.container {
  width: min(
    var(--container),
    calc(100% - 40px)
  );
  margin-right: auto;
  margin-left: auto;
}


.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  margin: -1px !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}


.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}


/* =========================================================
   ШАПКА
   ========================================================= */

.site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}


.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 28px;
}


.brand,
.footer-logo {
  flex: 0 0 auto;
  color: var(--text-strong);
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -1.4px;
  line-height: 1;
}


.brand span {
  color: var(--green);
}


.brand small,
.footer-logo span {
  color: var(--green);
  font-size: inherit;
}


.main-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 24px;
}


.main-nav a {
  position: relative;
  padding: 27px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}


.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  content: "";
  background: var(--green);
  opacity: 0;
  transform: scaleX(0.5);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}


.main-nav a:hover,
.main-nav a.is-current {
  color: var(--green);
}


.main-nav a:hover::after,
.main-nav a.is-current::after {
  opacity: 1;
  transform: scaleX(1);
}


.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}


.max-link {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}


.max-link:hover {
  color: var(--green-dark);
}


.icon-button,
.menu-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface-soft);
  cursor: pointer;
}


.icon-button {
  font-size: 19px;
}


.icon-button:hover,
.menu-button:hover {
  border-color: var(--green);
}


.menu-button {
  display: none;
  flex-direction: column;
  gap: 4px;
}


.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}


/* =========================================================
   ПЕРВЫЙ ЭКРАН
   ========================================================= */

.promo-hero {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 15%,
      rgba(255, 255, 255, 0.82),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #f0fff7 0%,
      #d9f6e7 55%,
      #aae4c6 100%
    );
}


html[data-theme="dark"] .promo-hero {
  background:
    radial-gradient(
      circle at 82% 15%,
      rgba(104, 217, 162, 0.18),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #12251c 0%,
      #1a412f 55%,
      #285f47 100%
    );
}


.promo-hero-inner {
  min-height: 320px;
  padding-top: 26px;
  padding-bottom: 58px;
}


.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 13px;
}


.breadcrumbs a:hover {
  color: var(--green);
}


.promo-hero h1 {
  max-width: 850px;
  margin: 0 0 18px;
  color: var(--text-strong);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -3px;
}


.promo-hero-text {
  max-width: 680px;
  margin: 0;
  color: #396b5d;
  font-size: 17px;
  line-height: 1.65;
}


html[data-theme="dark"] .promo-hero-text {
  color: #c2ddcf;
}


/* =========================================================
   ЗАГОЛОВКИ РАЗДЕЛОВ
   ========================================================= */

.promo-section {
  padding-top: 66px;
  padding-bottom: 70px;
}


.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}


.section-heading h2,
.faq-section h2,
.links-section h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -1.5px;
}


.section-description {
  max-width: 690px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}


.heading-link {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}


.heading-link:hover {
  color: var(--green-dark);
}


/* =========================================================
   ТАБЛИЦА НА КОМПЬЮТЕРЕ
   ========================================================= */

.promo-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}


.promo-table {
  width: 100%;
  min-width: 1160px;
  border-spacing: 0;
  border-collapse: separate;
  background: var(--surface);
}


.promo-table th {
  padding: 17px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.55px;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}


.promo-table th:first-child {
  width: 28%;
  padding-left: 22px;
}


.promo-table th:nth-child(2) {
  width: 9%;
}


.promo-table th:nth-child(3) {
  width: 20%;
}


.promo-table th:nth-child(4) {
  width: 14%;
}


.promo-table th:nth-child(5) {
  width: 12%;
}


.promo-table th:nth-child(6) {
  width: 17%;
  padding-right: 22px;
}


.promo-table td {
  padding: 22px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}


.promo-table td:first-child {
  padding-left: 22px;
}


.promo-table td:last-child {
  padding-right: 22px;
}


.promo-table tbody tr:last-child td {
  border-bottom: 0;
}


.promo-row {
  position: relative;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}


.promo-row:hover {
  background: var(--surface-hover);
}


.promo-row-featured {
  background:
    linear-gradient(
      90deg,
      rgba(91, 211, 154, 0.09),
      transparent 40%
    );
}


.promo-service {
  min-width: 250px;
}


.promo-service-name {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}


.promo-service h3 {
  max-width: 330px;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}


.featured-label {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 7px;
  border-radius: 7px;
  color: var(--green-dark);
  background: var(--green-pale);
  font-size: 10px;
  font-weight: 850;
}


/* Скидка */

.promo-discount {
  display: inline-flex;
  min-width: 66px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 11px;
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--green),
      var(--green-dark)
    );
  box-shadow:
    0 7px 18px rgba(36, 138, 99, 0.2);
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}


.promo-discount-featured {
  background:
    linear-gradient(
      135deg,
      #f09835,
      #db6e25
    );
  box-shadow:
    0 7px 18px rgba(219, 110, 37, 0.2);
}


/* Промокод */

.promo-code-line {
  display: flex;
  align-items: stretch;
  gap: 8px;
}


.promo-code {
  display: inline-flex;
  min-width: 105px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px dashed var(--green);
  border-radius: 9px;
  color: var(--text-strong);
  background: var(--surface-soft);
  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.45px;
  white-space: nowrap;
}


.copy-code-button {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--green-dark);
  background: var(--surface);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}


.copy-code-button:hover {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
}


.copy-code-button.is-copied {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
}


.copy-code-button:disabled {
  cursor: default;
  opacity: 1;
}


/* Срок */

.promo-expiration {
  display: block;
  max-width: 165px;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}


/* Применено */

.promo-applied {
  display: flex;
  min-width: 115px;
  flex-direction: column;
  gap: 4px;
}


.promo-applied strong {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}


.promo-applied span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}


/* Кнопка перехода */

.promo-action {
  display: inline-flex;
  min-width: 105px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--green),
      var(--green-dark)
    );
  box-shadow:
    0 8px 20px rgba(36, 138, 99, 0.18);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


.promo-action:hover {
  box-shadow:
    0 11px 24px rgba(36, 138, 99, 0.25);
  transform: translateY(-2px);
}


/* Реклама в каждой строке */

.promo-ad {
  display: block;
  max-width: 170px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.3;
}


.promo-note {
  max-width: 900px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}


/* =========================================================
   ИНСТРУКЦИЯ
   ========================================================= */

.how-to-section {
  padding-top: 64px;
  padding-bottom: 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}


.steps-grid {
  display: grid;
  padding: 0;
  margin: 0;
  counter-reset: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}


.steps-grid li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
}


.step-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--green);
  font-size: 16px;
  font-weight: 950;
}


.steps-grid strong {
  display: block;
  margin: 1px 0 6px;
  color: var(--text-strong);
  font-size: 15px;
}


.steps-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
  padding-top: 68px;
  padding-bottom: 68px;
}


.faq-section h2 {
  margin-bottom: 26px;
}


.faq-list {
  border-bottom: 1px solid var(--border);
}


.faq-list details {
  border-top: 1px solid var(--border);
}


.faq-list summary {
  position: relative;
  padding: 20px 45px 20px 0;
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 850;
  list-style: none;
}


.faq-list summary::-webkit-details-marker {
  display: none;
}


.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 5px;
  color: var(--green);
  content: "+";
  font-size: 24px;
  font-weight: 400;
  transform: translateY(-50%);
}


.faq-list details[open] summary::after {
  content: "−";
}


.faq-list details p {
  max-width: 820px;
  margin: -4px 0 21px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}


/* =========================================================
   ПЕРЕЛИНКОВКА
   ========================================================= */

.links-section {
  padding-top: 64px;
  padding-bottom: 72px;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}


.links-section h2 {
  margin-bottom: 26px;
}


.internal-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}


.internal-links-grid a {
  position: relative;
  display: block;
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}


.internal-links-grid a:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}


.link-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 11px;
  color: var(--white);
  background: var(--green);
  font-size: 17px;
  font-weight: 950;
}


.internal-links-grid strong {
  display: block;
  color: var(--text-strong);
  font-size: 15px;
}


.internal-links-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}


/* =========================================================
   ПОДВАЛ
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}


.footer-inner {
  display: flex;
  min-height: 135px;
  align-items: center;
  gap: 36px;
  padding-top: 25px;
  padding-bottom: 25px;
}


.footer-about {
  max-width: 300px;
}


.footer-logo {
  display: inline-block;
  margin-bottom: 8px;
}


.footer-about p,
.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}


.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-left: auto;
}


.footer-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}


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


.footer-copy {
  white-space: nowrap;
}


/* =========================================================
   УВЕДОМЛЕНИЕ О КОПИРОВАНИИ
   ========================================================= */

.copy-toast {
  position: fixed;
  z-index: 1000;
  right: 22px;
  bottom: 22px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  color: var(--white);
  background: #143d31;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}


.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   ПЛАНШЕТ
   ========================================================= */

@media (max-width: 1000px) {
  .header-inner {
    gap: 17px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .max-link {
    display: none;
  }

  .internal-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   Таблица превращается в отдельные карточки
   ========================================================= */

@media (max-width: 720px) {
  .container {
    width: min(
      100% - 28px,
      var(--container)
    );
  }


  /* Шапка */

  .header-inner {
    min-height: 64px;
    gap: 10px;
  }

  .brand {
    font-size: 22px;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    right: 14px;
    left: 14px;
    display: none;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px;
    border-radius: 10px;
    font-size: 14px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a.is-current {
    background: var(--surface-soft);
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-button {
    display: inline-flex;
  }


  /* Первый экран */

  .promo-hero-inner {
    min-height: 270px;
    padding-top: 18px;
    padding-bottom: 40px;
  }

  .breadcrumbs {
    margin-bottom: 30px;
  }

  .promo-hero h1 {
    font-size: 41px;
    letter-spacing: -2px;
  }

  .promo-hero-text {
    font-size: 15px;
  }


  /* Заголовок предложений */

  .promo-section {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .section-heading {
    display: block;
    margin-bottom: 23px;
  }

  .heading-link {
    display: inline-block;
    margin-top: 17px;
  }


  /* Контейнер таблицы */

  .promo-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .promo-table,
  .promo-table tbody,
  .promo-table tr,
  .promo-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .promo-table {
    border-collapse: separate;
    background: transparent;
  }

  .promo-table thead {
    display: none;
  }

  .promo-table tbody {
    display: grid;
    gap: 18px;
  }


  /*
   * Каждая строка таблицы становится
   * самостоятельной выраженной карточкой.
   */

  .promo-table .promo-row {
    position: relative;
    display: grid;
    overflow: hidden;
    gap: 0;
    padding: 21px;
    border: 1px solid var(--border);
    border-radius: 21px;
    background: var(--surface);
    box-shadow: var(--shadow-small);
  }

  .promo-table .promo-row::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    content: "";
    background:
      linear-gradient(
        90deg,
        var(--green),
        var(--green-bright)
      );
  }

  .promo-table .promo-row-featured::before {
    background:
      linear-gradient(
        90deg,
        #f09835,
        #db6e25
      );
  }

  .promo-table .promo-row:hover {
    background: var(--surface);
  }

  .promo-table td,
  .promo-table td:first-child,
  .promo-table td:last-child {
    padding: 0;
    border: 0;
  }

  .promo-table td::before {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
  }

  .promo-table td + td {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
  }


  /* Название предложения */

  .promo-table td[data-label="Предложение"] {
    padding-top: 3px;
  }

  .promo-table td[data-label="Предложение"]::before {
    display: none;
  }

  .promo-service {
    min-width: 0;
  }

  .promo-service h3 {
    max-width: none;
    font-size: 18px;
    line-height: 1.35;
  }


  /* Скидка */

  .promo-table td[data-label="Скидка"] {
    position: absolute;
    top: 20px;
    right: 20px;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .promo-table td[data-label="Скидка"]::before {
    display: none;
  }

  .promo-service h3 {
    padding-right: 88px;
  }

  .promo-discount {
    min-width: 68px;
    min-height: 35px;
    padding: 6px 9px;
    font-size: 14px;
  }


  /* Промокод */

  .promo-code-line {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      auto;
    width: 100%;
    gap: 8px;
  }

  .promo-code {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    overflow: hidden;
    justify-content: flex-start;
    padding-right: 12px;
    padding-left: 12px;
    text-overflow: ellipsis;
  }

  .copy-code-button {
    min-height: 42px;
    padding-right: 13px;
    padding-left: 13px;
    font-size: 11px;
  }


  /* Срок и количество применений */

  .promo-table td[data-label="Срок действия"],
  .promo-table td[data-label="Применено"] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .promo-table td[data-label="Срок действия"]::before,
  .promo-table td[data-label="Применено"]::before {
    flex: 0 0 auto;
    margin: 0;
  }

  .promo-expiration {
    max-width: 62%;
    text-align: right;
  }

  .promo-applied {
    min-width: 0;
    align-items: flex-end;
  }

  .promo-applied strong,
  .promo-applied span {
    text-align: right;
    white-space: normal;
  }


  /* Кнопка и рекламная маркировка */

  .promo-action {
    display: flex;
    width: 100%;
    min-height: 46px;
    font-size: 14px;
  }

  .promo-ad {
    max-width: none;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid var(--border);
    font-size: 8px;
    line-height: 1.35;
  }


  /* Остальные разделы */

  .how-to-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

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

  .faq-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .links-section {
    padding-top: 50px;
    padding-bottom: 55px;
  }

  .internal-links-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .footer-nav {
    width: 100%;
  }

  .copy-toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
    text-align: center;
  }
}


/* =========================================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ
   ========================================================= */

@media (max-width: 410px) {
  .promo-hero h1 {
    font-size: 36px;
  }

  .promo-table .promo-row {
    padding: 18px;
    border-radius: 18px;
  }

  .promo-table td[data-label="Скидка"] {
    top: 18px;
    right: 18px;
  }

  .promo-service h3 {
    padding-right: 78px;
    font-size: 16px;
  }

  .promo-code-line {
    grid-template-columns: 1fr;
  }

  .copy-code-button {
    width: 100%;
  }

  .promo-table td[data-label="Срок действия"],
  .promo-table td[data-label="Применено"] {
    align-items: flex-start;
  }

  .promo-expiration {
    max-width: 58%;
  }

  .section-heading h2,
  .faq-section h2,
  .links-section h2 {
    font-size: 29px;
  }
}


/* =========================================================
   ДОСТУПНОСТЬ И АНИМАЦИИ
   ========================================================= */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(36, 138, 99, 0.35);
  outline-offset: 3px;
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}