/* ============================================================
   PROMO OFFER PAGES — promos/laser-new-client.html,
   promos/smas-lifting.html, promos/rf-lifting.html. Matches the
   redesigned Figma "Акции" detail template (desktop node 2387:1537,
   mobile nodes 2389:1765 / 2389:1850 / 2389:1935).
   Uses the shared header.css/footer.css/mobile-booking.css site-wide
   components, same stack as services/procedures/*.html.
   ============================================================ */
body.page--promo-offer { background: #fff; color: var(--c-text); }

/* ── DESKTOP (≥768px) ─────────────────────────────────────────────
   Every section below is `<section class="X"><div class="wrap">…`,
   never `class="X wrap"` combined on one element — .wrap's own
   `padding: 0 var(--gutter)` must never share a property with a
   same-specificity page rule, or the later one wins outright and
   silently zeroes the horizontal gutter. */
.promo-title {
  margin-top: var(--header-h); padding-top: 80px; padding-bottom: 40px;
}
.promo-title h1 {
  font-size: clamp(32px, 3.33vw, 64px); font-weight: 400; letter-spacing: -0.04em;
  line-height: 1; color: var(--c-text); max-width: 1000px; font-style: normal;
}

.promo-offer { padding-top: 20px; padding-bottom: 80px; }
.promo-offer__layout { display: flex; gap: 80px; align-items: center; }
.promo-offer__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.promo-offer__badge {
  font-size: clamp(28px, 2.5vw, 48px); font-weight: 400; letter-spacing: 0;
  line-height: 1.2; color: var(--c-accent); font-style: normal;
}
.promo-offer__desc { font-size: 18px; font-weight: 300; line-height: 1.6; color: var(--c-muted); }
.promo-offer__cta {
  display: inline-flex; align-items: center; gap: clamp(14px, 1.2vw, 23px);
  background: var(--c-accent); color: #fff; border-radius: 12px;
  padding: 18px clamp(28px, 2.6vw, 50px); font-size: clamp(17px, 1.25vw, 24px);
  font-weight: 400; letter-spacing: -0.04em; text-decoration: none;
  align-self: flex-start; transition: background 0.2s;
}
.promo-offer__cta:hover { background: #6A7C64; }
.promo-offer__cta svg { width: clamp(26px, 1.9vw, 37px); height: clamp(26px, 1.9vw, 37px); flex-shrink: 0; }
.promo-offer__media {
  width: 760px; max-width: 44vw; height: 500px; max-height: 34.7vw;
  border-radius: 24px; border: 1px solid #D9D9D9; overflow: hidden; flex-shrink: 0;
}
.promo-offer__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.promo-info { background: var(--c-accent); color: #fff; padding-top: 60px; padding-bottom: 80px; }
.promo-info__block { max-width: 1200px; display: flex; flex-direction: column; gap: 24px; }
.promo-info__block + .promo-info__block { margin-top: 48px; }
.promo-info__block h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.04em; margin: 0; }
.promo-info__block p { font-size: 18px; font-weight: 300; line-height: 1.6; margin: 0; }
.promo-info__list { display: flex; flex-direction: column; gap: 16px; }
.promo-info__item { display: flex; gap: 16px; align-items: flex-start; font-size: 18px; }
.promo-info__item b { font-weight: 700; flex-shrink: 0; }
.promo-info__item p { font-weight: 300; line-height: 1.6; margin: 0; }
.promo-info__terms { gap: 20px; }
.promo-info__terms h2 { font-size: 16px; font-weight: 500; letter-spacing: -0.04em; }
.promo-info__terms p { font-size: 15px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.4; }

.promo-others { padding-top: 100px; padding-bottom: 100px; }
/* .wrap is a shared, unstyled-by-default block container — the
   flex/center treatment for this section's heading+grid lives on a
   scoped selector rather than on .wrap itself (which must stay a
   plain full-width block, or a flex-item .wrap elsewhere would
   shrink-wrap instead of filling its section like this one just did). */
.promo-others > .wrap { display: flex; flex-direction: column; align-items: center; gap: 64px; }
.promo-others h2 {
  font-size: clamp(32px, 3.33vw, 64px); font-weight: 400; letter-spacing: -0.04em;
  color: var(--c-text); margin: 0; font-style: normal;
}
.promo-others__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1582px; width: 100%; }
/* панель внутри плитки задана в процентах от её ширины: в две колонки
   ниже ~1000px она становится уже одного слова заголовка */
@media (max-width: 1000px) { .promo-others__grid { grid-template-columns: 1fr; gap: 24px; } }

/* .promo-tile* — identical component to promos.html's grid, copied here
   rather than pulling in the rest of promos.css. */
.promo-tile { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 767 / 485; display: block; text-decoration: none; }
.promo-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-tile__panel {
  position: absolute; left: 4.173%; top: 30.515%; width: 36.767%; height: 62.887%;
  background: rgba(255,253,249,0.2); border-radius: 20px; overflow: hidden;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: clamp(14px, 1.4583vw, 28px) clamp(12px, 1.25vw, 24px);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.promo-tile:hover .promo-tile__panel { transform: translateY(-4px); }
.promo-tile__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.promo-tile__title { font-size: clamp(12px, 0.9375vw, 18px); font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; color: rgba(48,54,46,0.6); max-width: 82.9%; margin: 0; }
.promo-tile__arr { flex-shrink: 0; width: clamp(24px, 2.08vw, 40px); height: clamp(24px, 2.08vw, 40px); border-radius: 50%; background: var(--c-accent); display: flex; align-items: center; justify-content: center; transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.promo-tile:hover .promo-tile__arr { transform: translate(3px, -3px); }
.promo-tile__arr svg { width: 35%; height: 35%; }
.promo-tile__body { display: flex; flex-direction: column; gap: clamp(4px, 0.52vw, 10px); color: rgba(48,54,46,0.6); }
.promo-tile__num { font-size: clamp(32px, 4.6875vw, 90px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; margin: 0; }
.promo-tile__desc { font-size: clamp(10px, 0.78vw, 15px); font-weight: 400; line-height: 1.4; letter-spacing: -0.04em; opacity: 0.7; margin: 0; }

/* ── MOBILE (≤767px) — dedicated markup per Figma mobile frames,
   mirrors the .mobile-home pattern used on index.html/services*.html:
   desktop sections hidden outright, a separate .mh-promo-* block takes
   over rather than reflowing the same DOM. ── */
.mh-promo { display: none; }
@media (max-width: 767px) {
  .promo-title, .promo-offer, .promo-info, .promo-others { display: none !important; }
  footer.site-footer { display: none !important; }
  .mh-promo { display: block; padding-top: var(--header-h); }

  .mh-promo-hero { padding: 32px 20px; display: flex; flex-direction: column; align-items: flex-start; }
  .mh-promo-hero__img { width: 100%; height: 260px; border-radius: 12px; overflow: hidden; }
  .mh-promo-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .mh-promo-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 24px; width: 100%; }
  .mh-promo-badge { background: var(--c-accent); color: #fff; border-radius: 4px; padding: 8px 24px; font-size: 16px; font-weight: 500; letter-spacing: -0.04em; }
  .mh-promo-hero__content h1 { font-size: 28px; font-weight: 400; line-height: 1.2; color: var(--c-text); margin: 0; font-style: normal; }
  .mh-promo-hero__content p { font-size: 15px; font-weight: 400; line-height: 1.4; letter-spacing: -0.02em; color: var(--c-muted); margin: 0; }
  .mh-promo-hero__cta {
    background: var(--c-accent); color: #fff; border-radius: 8px; padding: 16px 24px;
    font-size: 15px; font-weight: 500; letter-spacing: 0.02em; text-decoration: none;
    text-align: center; width: 100%;
  }

  .mh-promo-details { background: var(--c-accent); color: #fff; padding: 32px 20px; display: flex; flex-direction: column; gap: 20px; }
  .mh-promo-details h2 { font-size: 28px; font-weight: 400; line-height: 1.3; margin: 0; font-style: normal; }
  .mh-promo-details p { font-size: 15px; font-weight: 400; line-height: 1.4; letter-spacing: -0.02em; color: rgba(255,255,242,0.9); margin: 0; }

  .mh-promo-adv { padding: 32px 20px; display: flex; flex-direction: column; gap: 24px; }
  .mh-promo-adv h2 { font-size: 28px; font-weight: 400; line-height: 1.2; color: var(--c-text); margin: 0; font-style: normal; }
  .mh-promo-adv__list { display: flex; flex-direction: column; gap: 16px; width: 100%; }
  .mh-promo-adv__row { display: flex; gap: 16px; align-items: flex-start; }
  .mh-promo-adv__row b { color: var(--c-accent); font-size: 16px; font-weight: 700; flex-shrink: 0; }
  .mh-promo-adv__row p { flex: 1 1 0; min-width: 0; font-size: 15px; font-weight: 400; line-height: 1.4; color: var(--c-muted); margin: 0; }

  .mh-promo-terms { border-top: 1px solid rgba(48,54,46,0.05); padding: 24px 20px; display: flex; flex-direction: column; gap: 8px; }
  .mh-promo-terms h2 { font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--c-text); margin: 0; }
  .mh-promo-terms p { font-size: 15px; font-weight: 400; line-height: 1.4; letter-spacing: -0.02em; color: var(--c-muted); margin: 0; }

  .mh-promo-others { padding: 32px 20px; display: flex; flex-direction: column; gap: 20px; }
  .mh-promo-others h2 { font-size: 28px; font-weight: 400; line-height: 1.2; color: var(--c-text); margin: 0; font-style: normal; }
  .mh-promo-others__list { display: flex; flex-direction: column; gap: 16px; width: 100%; }
  /* mirrors .mh-promo-card from index.html's own promo carousel: photo
     card with a translucent glass panel anchored near the bottom. */
  .mh-promo-others__card { position: relative; height: 432px; border-radius: 16px; overflow: hidden; display: block; text-decoration: none; }
  .mh-promo-others__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mh-promo-others__panel {
    position: absolute; left: 16px; right: 16px; bottom: 16px; height: 190px;
    background: rgba(255,253,249,0.2); border-radius: 16px; overflow: hidden;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 20px; display: flex; flex-direction: column; justify-content: space-between;
  }
  .mh-promo-others__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .mh-promo-others__title { font-size: 16px; font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; color: var(--c-accent); max-width: 229px; margin: 0; }
  .mh-promo-others__arr { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--c-accent); display: flex; align-items: center; justify-content: center; }
  .mh-promo-others__arr svg { width: 35%; height: 35%; }
  .mh-promo-others__body { display: flex; flex-direction: column; gap: 6px; color: var(--c-accent); }
  .mh-promo-others__num { font-size: 52px; font-weight: 500; line-height: 1; margin: 0; }
  .mh-promo-others__desc { font-size: 10px; font-weight: 400; line-height: 1.4; letter-spacing: -0.04em; opacity: 0.8; margin: 0; }
}

/* та же логика для блока «другие акции» на странице акции */
.promo-others__grid > *:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 1560 / 485; }
.promo-others__grid > *:last-child:nth-child(odd) .promo-tile__panel { left: clamp(14px, 2.05%, 28px); width: clamp(180px, 18%, 290px); }
.promo-others__grid > *:last-child:nth-child(odd) .promo-tile__img { object-position: center 78%; }
@media (max-width: 1000px) {
  .promo-others__grid > *:last-child:nth-child(odd) { aspect-ratio: 767 / 485; }
  .promo-others__grid > *:last-child:nth-child(odd) .promo-tile__panel { left: 4.173%; width: 36.767%; }
}
