/* Страницы: /mama (промо ко Дню матери), /promotions, /vip, /contacts, 404, юр-страницы.
   Только токены --sm-* и классы системы из samui.css. */

/* ---------- /mama: шапка и герой ---------- */
.promo-hdr .hdr__bar{grid-template-columns:1fr auto 1fr}
.promo-hdr__home{justify-self:start}
.promo-hero{border-radius:0 0 var(--r-panel) var(--r-panel);position:relative;min-height:640px;height:calc(100vh / var(--zf,1));max-height:900px;overflow:hidden;background:var(--sm-brown-2);color:var(--sm-on-dark);display:flex;flex-direction:column}
.promo-hero .bg-photo img{object-position:50% 35%}
.promo-hero .bg-photo::after{background:rgba(43,26,16,.6)}
.promo-hero__body{position:relative;z-index:1;flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:var(--sm-header) var(--g) 80px;text-align:center}
.promo-badge{height:48px;padding:0 22px;display:inline-flex;align-items:center;gap:10px;border-radius:var(--sm-r-pill);border:1px solid rgba(243,231,211,.5);font-family:var(--sm-font-display);font-size:18px;font-weight:600;text-transform:uppercase}
.promo-badge svg{width:22px;height:22px}
.promo-h1{font-family:var(--sm-font-display);font-weight:700;line-height:.92;text-transform:uppercase}
.promo-h1__pct{display:block;font-size:260px;color:var(--sm-blue);letter-spacing:-.02em}
.promo-h1__t{display:block;font-size:96px;letter-spacing:.01em;padding-top:12px}
.promo-hero__lead{max-width:760px;font-size:26px;line-height:1.35;color:rgba(243,231,211,.92)}
.promo-hero__btns{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;padding-top:8px}
.promo-hero__btns .btn--blue{min-width:360px}
.promo-ended{padding:22px 26px;border-radius:22px;border:1px solid rgba(243,231,211,.35);background:rgba(43,26,16,.45);display:flex;flex-direction:column;gap:14px;align-items:center;max-width:640px;font-size:18px;line-height:1.45}

/* как подарить */
.gift-step{padding:32px 30px;border-radius:26px;gap:14px}
.gift-step__n{font-family:var(--sm-font-display);font-size:56px;font-weight:700;line-height:1;color:var(--sm-blue)}
.gift-step__t{font-family:var(--sm-font-display);font-size:26px;font-weight:700;text-transform:uppercase;line-height:1.1}
.gift-step__d{font-size:17px;line-height:1.5;color:var(--sm-muted)}
.gift-step__d b{color:var(--sm-text)}
.h2--60{font-size:60px}

/* карточки программ со скидкой */
.mom-programs{position:relative;margin-top:48px;padding:56px 0 72px}
.mom-programs__in{position:relative}
.mom-card{padding:26px 22px 26px;gap:12px;background:rgba(247,238,223,.94)}
.mom-card .btn--sm{padding:0 14px;font-size:14px}
.mom-card .badge{align-self:flex-start;height:30px;padding:0 12px;font-family:var(--sm-font-display);font-size:14px}
.mom-card__t{font-size:22px;font-weight:700;line-height:1.25}
.mom-card__t a:hover{color:var(--sm-blue-2)}
.mom-card__note{font-size:16px;color:var(--sm-muted)}
.mom-card__price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;padding-top:6px}
.mom-card__new{font-family:var(--sm-font-display);font-size:36px;font-weight:700;color:var(--sm-blue);line-height:1}
.mom-card__old{font-size:18px;color:var(--sm-muted)}
.mom-card__hint{font-size:13px;color:var(--sm-muted)}
.mom-card .card__actions{padding-top:6px}

/* сертификат (тёмный) */
.mom-cert{padding:80px 0;display:flex;align-items:center}
.mom-cert>.wrap{width:100%}
.mom-cert .h2{font-size:72px}
.mom-cert__lead{font-size:22px;line-height:1.4;color:rgba(243,231,211,.9)}
.pill-note{height:48px;padding:0 20px;display:inline-flex;align-items:center;border-radius:var(--sm-r-pill);border:1px solid rgba(243,231,211,.5);font-size:16px}

/* условия */
.terms-list li{display:flex;gap:14px;align-items:flex-start;padding:16px 0;border-top:1px solid var(--sm-line-soft);font-size:17px;line-height:1.45}
.terms-list li:last-child{border-bottom:1px solid var(--sm-line-soft)}
.terms-list svg{width:20px;height:20px;color:var(--sm-blue);margin-top:2px}
.split-14{display:grid;grid-template-columns:1fr 1.4fr;gap:64px;align-items:start}

/* компактный подвал */
.promo-ftr{padding:48px 0 40px;background:var(--sm-brown);color:var(--sm-on-dark)}
.promo-ftr .wrap{display:flex;flex-direction:column;gap:28px}
.promo-ftr__top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:32px}
.promo-ftr__logo{display:flex;color:var(--sm-blue)}
.promo-ftr__logo svg{height:64px;width:auto}
.promo-ftr__nav{display:flex;flex-wrap:wrap;gap:32px}
.promo-ftr__nav a{font-family:var(--sm-font-display);font-size:20px;font-weight:600;text-transform:uppercase;color:var(--sm-on-dark-muted);transition:color .2s}
.promo-ftr__nav a:hover{color:var(--sm-on-dark)}
.promo-ftr__bottom{padding-top:24px;border-top:1px solid rgba(243,231,211,.2);display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:15px;color:var(--sm-on-dark-muted)}

/* ---------- /promotions ---------- */
.promo-card{padding:0;overflow:hidden;gap:0}
.promo-card__ph{position:relative;height:240px;background:var(--sm-brown-2)}
.promo-card__ph img{width:100%;height:100%;object-fit:cover;filter:saturate(.8)}
.promo-card__ph .badge{position:absolute;left:20px;top:20px}
.promo-card__b{padding:26px 28px 28px;display:flex;flex-direction:column;gap:12px;flex-grow:1}
.promo-card__pct{font-family:var(--sm-font-display);font-size:52px;font-weight:700;line-height:1;color:var(--sm-blue)}
.promo-card__d{font-size:16px;line-height:1.5;color:var(--sm-muted);flex-grow:1}
.promo-card .btn{align-self:flex-start;margin-top:8px}

/* ---------- /vip ---------- */
.occ{padding:28px;gap:10px}
.occ__t{font-family:var(--sm-font-display);font-size:22px;font-weight:700;text-transform:uppercase;line-height:1.15}
.occ__d{font-size:16px;line-height:1.5;color:var(--sm-muted)}
.inc-list{display:grid;grid-template-columns:1fr 1fr;gap:0 32px}
.inc-list li{display:flex;gap:14px;align-items:flex-start;padding:18px 0;border-top:1px solid rgba(243,231,211,.2);font-size:17px;line-height:1.45}
.inc-list svg{width:22px;height:22px;color:var(--sm-blue);margin-top:1px}
.vip-stats{display:flex;flex-wrap:wrap;gap:40px}
.vip-stats b{display:block;font-family:var(--sm-font-display);font-size:52px;font-weight:700;line-height:1;color:var(--sm-blue)}
.vip-stats span{font-size:15px;color:var(--sm-muted)}
.section>.wrap.center-cta{align-items:center;text-align:center;gap:24px}
.center-cta .t-lg{max-width:640px}

/* ---------- /contacts ---------- */
.req{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.req .card{gap:8px;font-size:16px;line-height:1.5}
.req .card h3{font-family:var(--sm-font-display);font-size:20px;font-weight:700;text-transform:uppercase;margin-bottom:6px}
.cert-check{display:flex;gap:12px;flex-wrap:wrap}
.cert-check .input{flex:1;min-width:220px}
.cert-res{display:flex;flex-direction:column;gap:6px;font-size:16px}
.cert-res__row{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-top:1px solid var(--sm-line-soft)}
.cert-res__row span{color:var(--sm-muted)}
.cert-res--bad{color:#B3452C}

/* ---------- юр-страницы ---------- */
.legal{max-width:860px}
.legal .prose h2:first-child{margin-top:0}
.legal__meta{font-size:15px;color:var(--sm-muted)}

/* ---------- 404 ---------- */
.nf{min-height:calc(100vh / var(--zf,1));display:flex;align-items:center}
.nf .wrap{align-items:flex-start}
.nf__code{font-family:var(--sm-font-display);font-size:200px;font-weight:700;line-height:.9;color:var(--sm-blue)}

/* ---------- адаптив ---------- */
@media (max-width:1280px){
  .promo-h1__pct{font-size:220px}.promo-h1__t{font-size:80px}
  .h2--60{font-size:48px}
  .mom-cert .h2{font-size:60px}
}
@media (max-width:960px){
  .promo-hero{min-height:760px}
  .promo-h1__pct{font-size:180px}.promo-h1__t{font-size:60px}
  .promo-hero__lead{font-size:22px}
  .h2--60{font-size:40px}
  .mom-cert{padding:64px 0}
  .mom-cert .h2{font-size:48px}
  .mom-cert__lead{font-size:19px}
  .split-14,.req{grid-template-columns:1fr;gap:32px}
  .inc-list{grid-template-columns:1fr}
  .nf__code{font-size:140px}
}
@media (max-width:600px){
  .promo-hero{min-height:680px;height:auto}
  .promo-hero__body{gap:20px;padding-bottom:72px}
  .promo-badge{font-size:15px;height:44px;padding:0 16px}
  .promo-h1__pct{font-size:min(140px,calc(29vw / var(--zf,1)))}.promo-h1__t{font-size:40px;padding-top:6px}
  .promo-hero__lead{font-size:18px}
  .promo-hero__btns{flex-direction:column;align-items:stretch;width:100%}
  .promo-hero__btns .btn--blue{min-width:0}
  .h2--60{font-size:32px}
  .gift-step{padding:24px 20px}
  .gift-step__n{font-size:44px}.gift-step__t{font-size:22px}
  .mom-programs{margin-top:24px;padding:24px 0 40px}
  .mom-card__new{font-size:34px}
  .mom-cert{padding:48px 0}
  .mom-cert .h2{font-size:34px}
  .mom-cert__lead{font-size:17px}
  .pill-note{height:40px;font-size:14px;padding:0 14px}
  .promo-ftr__top{flex-direction:column;align-items:flex-start;gap:20px}
  .promo-ftr__nav{gap:12px 20px}
  .promo-ftr__nav a{font-size:16px}
  .promo-ftr__logo svg{height:48px}
  .promo-hdr .hdr__bar{grid-template-columns:auto 1fr auto}
  .promo-hdr__home .caps{display:none}
  .promo-card__ph{height:200px}
  .vip-stats b{font-size:40px}
  .nf__code{font-size:96px}
  .cert-check .btn{width:100%}
}

/* длинные H1 в .page-hero — общий clamp(48px…) не влезает в 390 */
.page-hero .h1{font-size:clamp(34px,calc(8.6vw / var(--zf,1)),104px)}
.page-hero .h1.h1--legal{font-size:clamp(24px,calc(6.2vw / var(--zf,1)),80px)}
#cert-num{flex:0 1 150px;min-width:120px}
#cert-code{flex:1 1 180px;min-width:160px;text-transform:uppercase}

/* ======================= акции: вид 2026-10 ======================= */
.motif{height:auto}
.mamab{position:relative;display:flex;align-items:center;gap:28px;flex-wrap:wrap;padding:26px 36px 26px 150px;border-radius:28px;background:var(--sm-brown);color:var(--sm-on-dark);overflow:hidden;transition:background .2s}
.mamab:hover{background:var(--sm-brown-2)}
.mamab__pic{position:absolute;left:14px;bottom:-18px;width:126px}
.mamab__pic img{width:100%;height:auto}
.mamab__pct{font-family:var(--sm-font-display);font-size:64px;font-weight:700;line-height:1;color:var(--sm-blue)}
.mamab__b{flex:1 1 280px;display:flex;flex-direction:column;gap:4px}
.mamab__t{font-family:var(--sm-font-display);font-size:26px;font-weight:700;text-transform:uppercase}
.mamab__d{font-size:16px;color:var(--sm-on-dark-muted)}

.offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.offer{display:flex;flex-direction:column;border-radius:26px;background:var(--sm-sand-2);box-shadow:0 0 0 1px var(--sm-line-soft);overflow:hidden}
.offer__ph{position:relative;aspect-ratio:16/10;background:var(--sm-brown-2);overflow:hidden}
.offer__ph>img{width:100%;height:100%;object-fit:cover;filter:saturate(.85)}
.offer__ph::after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(180deg,transparent,rgba(43,26,16,.7));pointer-events:none}
.offer__ph--pic{background:var(--sm-sand);display:flex;align-items:center;justify-content:center}
.offer__ph--pic>img{width:auto;height:78%;object-fit:contain;filter:none}
.offer__ph--pic::after{display:none}
.offer__tag{position:absolute;left:16px;top:16px;z-index:1;height:30px;padding:0 14px;display:inline-flex;align-items:center;border-radius:var(--sm-r-pill);background:var(--sm-blue);color:var(--sm-on-dark);font-family:var(--sm-font-display);font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.offer__pct{position:absolute;left:20px;bottom:14px;z-index:1;font-family:var(--sm-font-display);font-size:60px;font-weight:700;line-height:1;color:var(--sm-on-dark)}
.offer__b{padding:22px 24px 24px;display:flex;flex-direction:column;gap:10px;flex-grow:1}
.offer__t{font-size:21px;font-weight:600;line-height:1.25}
.offer__d{font-size:15.5px;line-height:1.5;color:var(--sm-muted);flex-grow:1}
.offer .btn{align-self:flex-start;margin-top:6px}

.deals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.deal{position:relative;display:flex;flex-direction:column;gap:8px;padding:26px 24px 24px;border-radius:26px;background:var(--sm-sand-2);box-shadow:0 0 0 1px var(--sm-line-soft);min-height:300px}
.deal__pic{position:absolute;right:14px;top:14px;width:92px;height:92px;display:flex;align-items:center;justify-content:center}
.deal__pic img{max-width:100%;max-height:100%;width:auto;height:auto}
.deal__pct{font-family:var(--sm-font-display);font-size:56px;font-weight:700;line-height:1;color:var(--sm-blue);padding-top:44px}
.deal__t{font-size:19px;font-weight:600;line-height:1.25}
.deal__d{font-size:15px;line-height:1.5;color:var(--sm-muted);flex-grow:1}
.deal .btn{align-self:flex-start;margin-top:8px}
.deal--blue{background:var(--sm-blue);box-shadow:none;color:var(--sm-on-dark)}
.deal--blue .deal__pct{color:var(--sm-on-dark)}
.deal--blue .deal__d{color:rgba(243,231,211,.88)}
@media (max-width:1100px){
  .offers{grid-template-columns:repeat(2,minmax(0,1fr))}
  .deals{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
  .mamab{padding:20px 20px 20px 96px;gap:8px 16px;border-radius:22px}
  .mamab__pic{width:84px;left:6px;bottom:-10px}
  .mamab__pct{font-size:44px}
  .mamab__t{font-size:19px}
  .mamab .btn{width:100%}
  .offers{grid-template-columns:1fr;gap:14px}
  .offer{border-radius:20px}
  .offer__pct{font-size:48px}
  .offer__b{padding:18px 18px 20px}
  .deals{gap:10px}
  .deal{padding:16px 14px;min-height:0;border-radius:18px;gap:6px}
  .deal__pic{width:56px;height:56px;right:8px;top:8px}
  .deal__pct{font-size:34px;padding-top:26px}
  .deal__t{font-size:15px}
  .deal__d{font-size:13px;line-height:1.4}
  .deal .btn{height:40px;font-size:11px;padding:0 12px;white-space:normal;line-height:1.1}
}

/* страница акции и кнопка «подробнее» на карточке */
.offer__ph{display:block}
.offer__ph--pic{display:flex}
.offer__t a{color:inherit}
.offer__t a:hover{color:var(--sm-blue)}
.offer__acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.offer .offer__acts .btn{margin-top:0}
.of-badges{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.of-badges .tag{height:34px;font-size:14px;padding:0 14px}
.of-badges .tag--blue{background:var(--sm-blue);border-color:var(--sm-blue)}
.of-pct{font-family:var(--sm-font-display);font-size:64px;font-weight:700;line-height:1;color:var(--sm-on-dark);margin-right:6px}
.of-h1{font-size:clamp(30px,calc(4.6vw / var(--zf,1)),64px);line-height:1.02;overflow-wrap:anywhere}
.of-body{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:48px;align-items:start}
.of-body--one{grid-template-columns:minmax(0,820px)}
.of-text{display:flex;flex-direction:column;gap:16px}
.of-text p{font-size:18px;line-height:1.6;white-space:pre-line}
.of-cond{display:flex;flex-direction:column;gap:18px;position:sticky;top:calc(var(--sm-header) + 16px)}
.of-cond ul{display:flex;flex-direction:column;gap:12px}
.of-cond li{display:flex;gap:12px;align-items:flex-start;font-size:16.5px;line-height:1.45}
.of-cond .ico{flex:none;width:20px;height:20px;color:var(--sm-blue);margin-top:2px}
@media (max-width:960px){ .of-body{grid-template-columns:minmax(0,1fr);gap:28px} .of-cond{position:static} }
@media (max-width:600px){ .of-pct{font-size:46px} .of-text p{font-size:16.5px} .offer__acts .btn{flex:1 1 auto} }

.req--one{grid-template-columns:minmax(0,1fr)}

/* тексты договоров */
.legal--doc p{margin:0 0 10px;font-size:16px;line-height:1.6}
.legal--doc h2{margin:30px 0 12px;font-size:20px;line-height:1.25}
.legal--doc ul,.legal--doc ol{margin:0 0 12px;padding-left:22px;list-style:disc}
.legal--doc li{margin-bottom:6px;font-size:16px;line-height:1.55}
.legal__other{margin-top:32px;font-size:15px;color:var(--sm-muted)}
.legal__other a{text-decoration:underline;text-underline-offset:3px;color:var(--sm-text)}

/* акции, вид 2026-10-10: две части — на визит и на сертификаты/абонементы, над каждой «плавает» картинка */
.pr-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px 48px;align-items:start}
.pr-col{display:flex;flex-direction:column;gap:24px;min-width:0}
.pr-col+.pr-col{position:relative}
.pr-col+.pr-col::before{content:"";position:absolute;left:-24px;top:0;bottom:0;width:1px;background:var(--sm-line-soft)}
.pr-col__head{display:flex;flex-direction:column;gap:8px}
.pr-float{display:flex;align-items:flex-end;justify-content:center;height:190px;margin-bottom:10px}
.pr-float img{width:auto;max-width:86%;height:auto;max-height:100%;filter:drop-shadow(0 18px 16px rgba(43,26,16,.2));animation:pr-float 6s ease-in-out infinite;will-change:transform}
.pr-float--cert img{max-height:86%;animation-duration:7s;animation-delay:-2.5s}
@keyframes pr-float{0%,100%{transform:translateY(0) rotate(-1.2deg)}50%{transform:translateY(-14px) rotate(1.2deg)}}
@media (prefers-reduced-motion:reduce){.pr-float img{animation:none}}
.offers--col{grid-template-columns:minmax(0,1fr);gap:16px}
.offers--col .offer{flex-direction:row;align-items:stretch}
.offers--col .offer__ph{flex:0 0 38%;aspect-ratio:auto;min-height:190px}
.offers--col .offer__pct{font-size:44px;left:16px;bottom:10px}
.offers--col .offer__b{padding:18px 20px 20px;min-width:0}
.offers--col .offer__t{font-size:19px}
.offers--col .offer__d{font-size:15px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.deals--col{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.deals--col .deal{min-height:0}
.pr-note{margin-top:36px;padding-top:20px;border-top:1px solid var(--sm-line-soft)}
@media (max-width:960px){
  .pr-split{grid-template-columns:minmax(0,1fr);gap:56px}
  .pr-col+.pr-col::before{display:none}
  .pr-float{height:150px}
}
@media (max-width:600px){
  .pr-float{height:120px}
  .offers--col .offer{flex-direction:column}
  .offers--col .offer__ph{flex:none;aspect-ratio:16/10;min-height:0}
  .deals--col{gap:10px}
}
.pr-col__head .h2{font-size:clamp(22px,calc(2.3vw / var(--zf,1)),34px);line-height:1.1;min-height:2.2em}
@media (max-width:960px){ .pr-col__head .h2{min-height:0} }

/* ======================= правки 2026-10-10 (2) ======================= */
/* акции: одинаковые карточки с крупным фото, строки двух частей на одном уровне */
.ptiles{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.ptile{display:grid;grid-template-columns:46% minmax(0,1fr);height:252px;border-radius:26px;background:var(--sm-sand-2);box-shadow:0 0 0 1px var(--sm-line-soft);overflow:hidden}
.ptile__ph{position:relative;display:block;min-height:0;background:var(--sm-brown-2);overflow:hidden}
.ptile__ph picture{display:block;height:100%}
.ptile__ph img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.9);transition:transform .6s}
.ptile:hover .ptile__ph img{transform:scale(1.04)}
.ptile__ph::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(180deg,transparent,rgba(43,26,16,.72));pointer-events:none}
.ptile__tag{position:absolute;left:14px;top:14px;z-index:1;height:28px;padding:0 12px;display:inline-flex;align-items:center;border-radius:var(--sm-r-pill);background:var(--sm-blue);color:var(--sm-on-dark);font-family:var(--sm-font-display);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.ptile__pct{position:absolute;left:16px;bottom:10px;z-index:1;font-family:var(--sm-font-display);font-size:52px;font-weight:700;line-height:1;color:var(--sm-on-dark)}
.ptile__b{display:flex;flex-direction:column;gap:8px;padding:20px 20px 20px 22px;min-width:0}
.ptile__t{font-size:19px;font-weight:600;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ptile__t a{color:inherit}
.ptile__t a:hover{color:var(--sm-blue)}
.ptile__d{font-size:15px;line-height:1.45;color:var(--sm-muted);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.ptile__acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.ptile__acts .btn{white-space:nowrap}
.ptile--blue{background:var(--sm-blue);box-shadow:none;color:var(--sm-on-dark)}
.ptile--blue .ptile__d{color:rgba(243,231,211,.9)}
.pr-float--cert img{max-height:100%;max-width:74%;border-radius:4px}
@media (max-width:1180px) and (min-width:961px){
  .ptile{height:276px;grid-template-columns:42% minmax(0,1fr)}
  .ptile__b{padding:16px}
  .ptile__pct{font-size:44px}
}
@media (max-width:600px){
  .ptile{grid-template-columns:minmax(0,1fr);height:auto;border-radius:20px}
  .ptile__ph{aspect-ratio:16/10}
  .ptile__b{padding:16px 16px 18px}
  .ptile__d{-webkit-line-clamp:5}
  .ptile__acts .btn{flex:1 1 auto}
}

/* VIP: описание комплекса под кнопками, галерея апартаментов */
.vipcalc__note{font-size:15px;line-height:1.5;color:var(--sm-muted);min-height:4.5em}
/* крупная мозаика (правки 22.10: «фото должны быть большими»): первое фото — 2×2, остальные — крупные плитки по 3 в ряд */
.vipgal{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:clamp(220px,calc(24vw / var(--zf,1)),380px);gap:16px}
.vipgal__it{position:relative;border-radius:24px;overflow:hidden;background:var(--sm-brown-2)}
.vipgal__it:first-child{grid-column:span 2;grid-row:span 2}
/* последнее фото растягиваем, чтобы в конце мозаики не было пустых клеток при любом числе фото */
.vipgal:not(.of-vip *) .vipgal__it:last-child:nth-child(3n+2){grid-column:span 2}
.vipgal:not(.of-vip *) .vipgal__it:last-child:nth-child(3n+1):not(:first-child){grid-column:span 3}
.of-vip .vipgal__it:first-child{grid-column:auto;grid-row:auto}
.vipgal__it a{display:block;height:100%;cursor:zoom-in}
.vipgal__it img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s}
.vipgal__it:hover img{transform:scale(1.05)}
.of-vip .vipgal{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:220px;gap:12px}
.of-vip .vipgal__it{border-radius:16px}
@media (max-width:960px){ .vipgal{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:260px} .vipgal:not(.of-vip *) .vipgal__it:last-child:nth-child(n){grid-column:auto} .vipgal:not(.of-vip *) .vipgal__it:last-child:nth-child(2n):not(:first-child){grid-column:span 2} .of-vip .vipgal{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:180px} }
@media (max-width:600px){ .vipgal,.of-vip .vipgal{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:150px;gap:8px} .vipgal__it{border-radius:14px} .vipcalc__note{min-height:0} }
.ptile{grid-template-columns:42% minmax(0,1fr);grid-template-rows:minmax(0,1fr);height:260px}
.ptile__d{-webkit-line-clamp:3}
.ptile__acts{flex-wrap:nowrap}
.ptile__acts .btn{height:42px;padding:0 15px;font-size:12px;letter-spacing:.02em;min-width:0}
@media (max-width:1180px) and (min-width:961px){ .ptile{height:290px} .ptile__acts{flex-wrap:wrap} }
@media (max-width:600px){ .ptile{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;height:auto} .ptile__d{-webkit-line-clamp:5} .ptile__acts{flex-wrap:wrap} }

/* страница акции: абзац-список (заголовок + пункты) — карточка с галочками, несколько таких стоят рядом */
.of-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:4px 0}
.of-list{display:flex;flex-direction:column;gap:14px;padding:24px 24px 26px;border-radius:24px;background:var(--sm-sand-2);box-shadow:0 0 0 1px var(--sm-line-soft)}
.of-list__t{font-family:var(--sm-font-display);font-size:18px;font-weight:700;line-height:1.25;text-transform:uppercase}
.of-list ul{display:flex;flex-direction:column;gap:10px}
.of-list li{display:flex;gap:10px;align-items:flex-start;font-size:16px;line-height:1.45}
.of-list .ico{flex:none;width:18px;height:18px;color:var(--sm-blue);margin-top:3px}
@media (max-width:600px){ .of-list{padding:18px 18px 20px;border-radius:20px} .of-list__t{font-size:16px} }

/* «Акции на визит» /offer/na-vizit/ (правки 03.11): галерея программ со скидкой при посещении */
.pv-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
.pv-chips .chip{height:42px;font-size:15px;gap:6px}
.pv-chips .chip small{opacity:.6}
.pv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.pv-pct{position:absolute;z-index:2;right:14px;bottom:12px;height:46px;padding:0 16px;display:inline-flex;align-items:center;border-radius:var(--sm-r-pill);background:var(--sm-blue);color:var(--sm-on-dark);font-family:var(--sm-font-display);font-size:24px;font-weight:700;box-shadow:0 8px 20px -8px rgba(0,0,0,.45)}
.pv-d{font-size:15px;line-height:1.45;color:var(--sm-muted)}
.pv-card .pcard__book{background:var(--sm-blue);color:var(--sm-on-dark)}
.pv-card .pcard__price{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 4px}
.pv-empty{padding:40px 0;display:flex;flex-direction:column;align-items:flex-start;gap:18px}
@media (max-width:1100px){.pv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media (max-width:640px){.pv-grid{grid-template-columns:minmax(0,1fr)}.pv-pct{font-size:20px;height:40px}}
.pv-card .pcard__badge{z-index:2}
.pv-note{margin:2px 0 6px;font-size:14px;font-weight:600;color:var(--sm-blue-ink,var(--sm-blue))}
@media (max-width:600px){.of-pick{white-space:normal;height:auto;min-height:52px;padding:12px 16px;font-size:14px;line-height:1.25;text-align:center}}

/* «выбрать программу для двоих» длинная — в плитке duo кнопки переносятся (правки 03.11) */
.ptile__acts:has(.ptile__pick){flex-wrap:wrap}
