/* Велосклад — страницы сайта (доставка, оплата, рассрочка, прокат, ремонт, контакты, магазины, о компании)
   в дизайне новой главной. Основа — styles.css главной: цвета, шрифты, кнопки, шапка, меню каталога, подвал. */

/* ---------- шапка: пункт текущей страницы ---------- */
.nav a.on { color: var(--yellow); }

/* ---------- первый экран страницы ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: 168px 0 84px; }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 0, .18), rgba(255, 214, 0, 0)); pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 26px; }
.crumbs a { color: rgba(255,255,255,.8); transition: color .25s; }
.crumbs a:hover { color: var(--yellow); }
.crumbs span::before { content: '/'; margin-right: 10px; color: rgba(255,255,255,.3); }
.page-hero .eyebrow { color: rgba(255,255,255,.75); }
.page-hero .h1 { font-size: clamp(44px, 6.2vw, 96px); margin-top: 16px; }
.page-hero .lead { max-width: 760px; margin-top: 24px; color: rgba(255,255,255,.78); }
.page-hero .lead + .lead { margin-top: 10px; }
.hero-h2 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.2; margin-top: 18px; color: var(--yellow); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 15px; font-weight: 700; }
.hero-facts svg { width: 18px; height: 18px; color: var(--yellow); }
.hero-facts a:hover { color: var(--yellow); }

/* ---------- содержание ---------- */
.page-body { padding: 84px 0 110px; }
.pg-block + .pg-block { margin-top: 84px; }
.pg-block > .eyebrow + .h2 { margin-top: 14px; }
.pg-block > .h2 { font-size: clamp(32px, 3.4vw, 54px); margin-bottom: 30px; }
.pg-block > .lead { max-width: 760px; margin: -12px 0 30px; }

.pg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.pg-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-card { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pg-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .35); }
.pg-card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; margin-bottom: 10px; }
.pg-card .ic svg { width: 24px; height: 24px; }
.pg-card h3 { font-family: var(--f-head); text-transform: uppercase; font-weight: 600; font-size: 24px; line-height: 1.1; }
.pg-card .big { font-family: var(--f-head); font-size: 44px; font-weight: 600; line-height: 1; margin: 2px 0 4px; }
.pg-card .big small { font-size: 19px; color: var(--muted); font-family: var(--f-body); font-weight: 700; }
.pg-card p, .pg-card li { color: var(--muted); font-size: 15px; line-height: 1.5; }
.pg-card ul { list-style: none; display: grid; gap: 6px; margin-top: 4px; }
.pg-card li { padding-left: 18px; position: relative; }
.pg-card li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.pg-card.hot { background: var(--yellow); }
.pg-card.hot .ic { background: rgba(255, 255, 255, .5); }
.pg-card.hot p, .pg-card.hot li, .pg-card.hot .big small { color: rgba(26, 26, 24, .72); }
.pg-card.hot li::before { background: var(--ink); }
.pg-card .num { font-family: var(--f-head); font-size: 15px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.pg-card .tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 800; }
.pg-card.hot .tag { background: rgba(255,255,255,.55); }

/* обычный текст страницы */
.prose { max-width: 840px; font-size: 17px; line-height: 1.65; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { list-style: none; display: grid; gap: 8px; }
.prose li { padding-left: 22px; position: relative; }
.prose li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.prose b { font-weight: 800; }
.prose a, .pg-card a.link { border-bottom: 1.5px solid var(--yellow); font-weight: 700; }
.note { max-width: 840px; margin-top: 22px; padding: 20px 24px; border-radius: 0 18px 18px 0; background: var(--white);
  border-left: 4px solid var(--yellow); font-size: 16px; line-height: 1.55; }
.note b { font-weight: 800; }
.note.loud { background: var(--ink); color: var(--white); font-family: var(--f-head); text-transform: uppercase; font-size: 22px; letter-spacing: .02em; }
/* фото в тексте страницы и крупный телефон */
.pg-photo { width: 100%; max-width: 840px; border-radius: var(--radius); margin-bottom: 24px; }
.pg-phone { display: inline-block; margin-top: 18px; font-family: var(--f-head); font-size: clamp(30px, 3vw, 44px); font-weight: 600; border-bottom: 3px solid var(--yellow); line-height: 1.15; }
/* «Закажите услугу» */
.pg-order { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; background: var(--yellow); border-radius: 28px; padding: 32px 36px; }
.pg-order p { font-family: var(--f-head); text-transform: uppercase; font-weight: 600; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.1; }

/* шаги / этапы */
.pg-steps { counter-reset: st; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pg-steps > div { counter-increment: st; background: var(--white); border-radius: var(--radius); padding: 28px; }
.pg-steps > div::before { content: '0' counter(st); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--ink); font-family: var(--f-head); font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.pg-steps h3 { font-family: var(--f-head); text-transform: uppercase; font-weight: 600; font-size: 22px; margin-bottom: 8px; }
.pg-steps p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* прайс */
.price-list { background: var(--white); border-radius: var(--radius); padding: 10px 28px; max-width: 840px; }
.pl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pl-row:last-child { border-bottom: 0; }
.pl-row span { font-size: 17px; }
.pl-row span small { display: block; color: var(--muted); font-size: 14px; }
.pl-row b { font-family: var(--f-head); font-size: 28px; font-weight: 600; white-space: nowrap; }
.pl-row b small { font-family: var(--f-body); font-size: 15px; color: var(--muted); font-weight: 700; }

/* ---------- магазины: фото и контакты ---------- */
.store-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.store-card { background: var(--white); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.store-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .4); }
.store-card .ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.store-card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.store-card:hover .ph img { transform: scale(1.04); }
/* фото магазина ещё нет — тёмная плашка с названием города */
.store-card .ph.empty { aspect-ratio: 16 / 6; background: radial-gradient(80% 90% at 80% 10%, rgba(255, 214, 0, .22), rgba(255, 214, 0, 0) 60%), var(--ink); }
/* несколько фото в карточке: листаются свайпом и стрелками */
.ph-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline-offset: -3px; }
.ph-track::-webkit-scrollbar { display: none; }
.store-card .ph .ph-track img, .store-card:hover .ph .ph-track img { position: static; flex: 0 0 100%; width: 100%; min-width: 0; scroll-snap-align: start; transform: none; }
.ph-gallery::after, .ph-gallery .city { pointer-events: none; }
.ph-nav { position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; margin-top: -21px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: var(--white); cursor: pointer; transition: background .2s, opacity .2s; }
.ph-nav:hover { background: var(--yellow); color: var(--ink); }
.ph-nav:disabled { opacity: 0; pointer-events: none; }
.ph-nav svg { width: 20px; height: 20px; }
.ph-nav.prev { left: 12px; }
.ph-nav.next { right: 12px; }
.ph-dots { position: absolute; right: 18px; bottom: 22px; z-index: 2; display: flex; gap: 6px; pointer-events: none; }
.ph-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: background .2s; }
.ph-dots i.on { background: var(--yellow); }
.store-card .ph .city { position: absolute; left: 22px; bottom: 18px; z-index: 1; color: var(--white);
  font-family: var(--f-head); text-transform: uppercase; font-weight: 700; font-size: 44px; line-height: 1; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.store-card .ph::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.store-card .bd { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.sc-list { list-style: none; display: grid; gap: 10px; }
.sc-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.sc-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--ink); }
.sc-list a { font-weight: 700; }

/* о компании: список крупнее */
.about-list { font-family: var(--f-serif); font-size: 19px; }

/* ---------- телефон и планшет ---------- */
@media (max-width: 860px) {
  .store-cards, .pg-grid.two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .page-hero { padding: 112px 0 48px; }
  .page-hero .h1 { font-size: clamp(40px, 11vw, 60px); }
  .page-hero .lead { font-size: 18px; margin-top: 18px; }
  .hero-facts { margin-top: 24px; }
  .hero-facts span { font-size: 14px; padding: 8px 14px; }
  .page-body { padding: 48px 0 72px; }
  .pg-block + .pg-block { margin-top: 60px; }
  .pg-block > .h2 { margin-bottom: 22px; }
  .pg-card, .pg-steps > div { padding: 22px; }
  .pg-card .big { font-size: 38px; }
  .price-list { padding: 4px 18px; }
  .pl-row b { font-size: 24px; }
  .note { padding: 16px 18px; font-size: 15px; }
  .note.loud { font-size: 19px; }
  .store-card .ph .city { font-size: 36px; left: 18px; bottom: 14px; }
  .store-card .bd { padding: 20px; }
  .about-list { font-size: 17px; }
  .pg-order { padding: 24px 22px; border-radius: 22px; }
  .pg-order .btn { flex: 1 1 100%; }
}

/* магазин скоро откроется: фото размыто, поверх — город, улица и надпись (свойство «Скоро открытие» в инфоблоке) */
.store-card .ph.ph-soon { background: var(--ink); }
.store-card .ph.ph-soon img, .store-card:hover .ph.ph-soon img { filter: blur(8px) saturate(.85); transform: scale(1.12); }
.store-card .ph.ph-soon::after { inset: 0; background: rgba(12, 12, 10, .45); }
.ph-soon-mark { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 18px; text-align: center; color: var(--white); }
.ph-soon-mark b { font-family: var(--f-head); text-transform: uppercase; font-weight: 700; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; }
.ph-soon-mark span { font-family: var(--f-serif); font-style: italic; color: var(--yellow); font-size: clamp(17px, 1.7vw, 24px); line-height: 1.2; }
.ph-soon-mark em { margin-top: 10px; padding: 8px 16px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-style: normal;
  font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }