/* Акция: серый блок; сетка auto + 1fr — текст на всю оставшуюся ширину до padding 15px. */
.section.section-call-us {
  --call-us-gap: clamp(0.65rem, 1.5vw, 1.35rem);
  --call-us-panel-bg: var(--bg-secondary-color, #1c1c1c);
  --call-us-panel-radius: 14px;
  --call-us-edge: 15px;
}

.section.section-call-us .big-container,
.section.section-call-us .container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.section.section-call-us .section-call-us__panel {
  width: 100%;
  box-sizing: border-box;
  background: var(--call-us-panel-bg);
  border-radius: var(--call-us-panel-radius);
  padding: clamp(0.85rem, 1.6vw, 1.35rem) var(--call-us-edge) clamp(0.85rem, 1.6vw, 1.35rem) clamp(0.75rem, 1.3vw, 1.1rem);
}

/* Grid: колонка бирки — по содержимому, вторая — вся оставшаяся ширина */
/* style.css раньше задавал h2 .section-call-us__title max-width 400px / 280px — сжимал всю сетку; убрали в style.css, дублируем сюда на случай кэша */
.section.section-call-us .section-call-us__title {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: var(--call-us-gap);
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
  flex-direction: initial !important;
  font-family: "RF Dewi Expanded", "RF Dewi", system-ui, sans-serif;
}

.section.section-call-us .section-call-us__title--discount.section-call-us__tag {
  margin-bottom: 0;
}

.section.section-call-us .section-call-us__tag {
  grid-column: 1;
  align-self: center;
  justify-self: start;
  min-width: 0;
  max-width: min(16rem, 32vw);
  width: min(16rem, 32vw);
  display: block;
  line-height: 0;
  transform: rotate(-3.5deg);
  transform-origin: center center;
}

.section.section-call-us .section-call-us__tag-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Текст растягивается на всю вторую колонку (до правого padding панели) */
.section.section-call-us .section-call-us__text {
  grid-column: 2;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  text-align: start;
  text-transform: uppercase;
  font-size: clamp(0.85rem, 1.1vw + 0.45rem, 1.35rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
  hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
  color: var(--primary-color, #fff);
  font-weight: 400;
  margin: 0;
  padding: 0;
}

@media (min-width: 900px) {
  .section.section-call-us .section-call-us__tag {
    max-width: min(17.5rem, 28vw);
    width: min(17.5rem, 28vw);
  }
  .section.section-call-us .section-call-us__text {
    font-size: clamp(0.95rem, 0.9vw + 0.5rem, 1.6rem);
  }
}

@media (min-width: 1200px) {
  .section.section-call-us .section-call-us__tag {
    max-width: min(19rem, 24vw);
    width: min(19rem, 24vw);
  }
  .section.section-call-us .section-call-us__text {
    font-size: clamp(1.05rem, 0.75vw + 0.6rem, 1.75rem);
    letter-spacing: 0.05em;
  }
}

@media (max-width: 600px) {
  .section.section-call-us .section-call-us__title {
    grid-template-columns: 1fr;
    row-gap: var(--call-us-gap);
  }
  .section.section-call-us .section-call-us__tag {
    grid-column: 1;
    justify-self: center;
    max-width: min(15rem, 90%);
    width: min(15rem, 90%);
    transform: rotate(-3deg);
  }
  .section.section-call-us .section-call-us__text {
    grid-column: 1;
    text-align: center;
    text-align-last: center;
    font-size: clamp(0.75rem, 2.1vw + 0.4rem, 0.95rem);
  }
  .section.section-call-us .section-call-us__panel {
    padding-left: 12px;
  }
}
