/* ============================================================
   Профи Стейдж — страница «Цены» (prices.html)
   Использует токены и шрифты из styles.css
   ============================================================ */

/* ---- hero: заголовок + ключевые факты ---- */
.prices-hero h1 em { font-style: normal; color: var(--olive); }
.prices-hero .lead { max-width: 600px; }

/* ---- баннер скачивания прайс-листа ---- */
.price-download { padding: 0 0 64px; }
.download-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
.download-main {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 42px;
  position: relative;
  overflow: hidden;
}
.download-main::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 168, 48, 0.25), transparent 70%);
}
.download-main .eyebrow { color: var(--olive); }
.download-main h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin: 14px 0 12px;
  position: relative;
}
.download-main p {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 440px;
  position: relative;
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--navy);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5); }
.dl-btn .ext {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--cream);
  flex: 0 0 auto;
}
.dl-btn .ext svg { width: 20px; height: 20px; color: var(--navy); }
.dl-btn .meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.dl-btn .meta small { font-size: 11px; font-weight: 500; color: var(--text-faint); letter-spacing: 0.3px; }
.dl-btn.is-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.dl-btn.is-ghost .ext { background: rgba(255, 255, 255, 0.1); }
.dl-btn.is-ghost .ext svg { color: #fff; }
.dl-btn.is-ghost .meta small { color: rgba(255, 255, 255, 0.55); }

/* боковая карточка-памятка */
.download-aside {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
}
.download-aside .upd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--olive-dark);
  background: rgba(168, 168, 48, 0.12);
  border: 1px solid rgba(168, 168, 48, 0.3);
  border-radius: 999px;
  padding: 6px 13px;
  align-self: flex-start;
}
.download-aside h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 20px;
  color: var(--navy);
  margin: 18px 0 14px;
}
.download-aside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.download-aside li {
  display: flex;
  gap: 11px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}
.download-aside li svg { width: 18px; height: 18px; color: var(--olive); flex: 0 0 auto; margin-top: 1px; }
.download-aside li b { color: var(--navy); font-weight: 600; }

/* ============================================================
   ПРАЙС-ТАБЛИЦЫ ПО РАЗДЕЛАМ
   ============================================================ */
.price-tables { padding: 0 0 96px; }

.price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
}
.price-tab {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.price-tab:hover { border-color: var(--navy); color: var(--navy); }
.price-tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.price-section { margin-bottom: 48px; scroll-margin-top: 120px; }
.price-section:last-child { margin-bottom: 0; }
.price-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.price-section-ico {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.price-section-ico svg { width: 26px; height: 26px; }
.price-section-head h2 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.3px;
  color: var(--navy);
  margin: 0;
}
.price-section-head p { margin: 4px 0 0; font-size: 14px; color: var(--text-muted); }

.price-table-wrap {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}
table.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.price-table thead th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-faint);
  background: var(--cream);
  padding: 15px 24px;
  border-bottom: 1px solid var(--border-card);
}
.price-table th.col-unit,
.price-table td.col-unit { width: 130px; white-space: nowrap; color: var(--text-muted); }
.price-table th.col-price,
.price-table td.col-price { width: 180px; text-align: right; white-space: nowrap; }
.price-table tbody td {
  padding: 15px 24px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr { transition: background 0.15s ease; }
.price-table tbody tr:hover { background: rgba(168, 168, 48, 0.05); }
.price-table .work-name { color: var(--navy); font-weight: 500; }
.price-table .work-desc { display: block; margin-top: 3px; font-size: 12.5px; color: var(--text-faint); font-weight: 400; }
.price-table td.col-price b {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: -0.2px;
}
.price-table td.col-price .from { font-size: 11px; color: var(--text-faint); font-weight: 400; margin-right: 4px; }

/* ============================================================
   УКРУПНЁННЫЕ ПОКАЗАТЕЛИ ЗА м²
   ============================================================ */
.price-perm2 { background: var(--cream); padding: 96px 0; }
body.subpage .price-perm2 { background: var(--cream); }
.perm2-head { max-width: 680px; margin-bottom: 44px; }
.perm2-head .lead { margin-top: 22px; }
.perm2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.perm2-card {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.perm2-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.perm2-card .top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.perm2-card .ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--cream);
  color: var(--navy);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.perm2-card .ico svg { width: 22px; height: 22px; }
.perm2-card h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 18px;
  color: var(--navy);
  margin: 0;
}
.perm2-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}
.perm2-price .from { font-size: 12px; color: var(--text-faint); }
.perm2-price b {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.6px;
  color: var(--navy);
  line-height: 1;
}
.perm2-price .unit { font-size: 14px; color: var(--text-muted); }
.perm2-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.perm2-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.perm2-card li svg { width: 16px; height: 16px; color: var(--olive); flex: 0 0 auto; }

/* ---- дисклеймер ---- */
.price-disclaimer {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--border-card);
  border-left: 3px solid var(--olive);
  border-radius: var(--radius-sm);
}
.price-disclaimer svg { width: 24px; height: 24px; color: var(--olive); flex: 0 0 auto; margin-top: 1px; }
.price-disclaimer p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.price-disclaimer b { color: var(--navy); }
.price-disclaimer a { color: var(--olive-dark); font-weight: 500; }
.price-disclaimer a:hover { text-decoration: underline; }

/* ---- responsive ---- */
@media (max-width: 920px) {
  .download-grid { grid-template-columns: 1fr; }
  .perm2-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .price-table { font-size: 14px; }
  .price-table thead th { padding: 13px 16px; }
  .price-table tbody td { padding: 13px 16px; }
  .price-table th.col-unit, .price-table td.col-unit { width: auto; }
  .price-table th.col-price, .price-table td.col-price { width: 110px; }
  /* на мобильных скрываем колонку «ед. изм.» — она дублируется в подписи */
  .price-table .col-unit { display: none; }
}
@media (max-width: 600px) {
  .perm2-grid { grid-template-columns: 1fr; }
  .price-perm2 { padding: 64px 0; }
  .download-main { padding: 30px 26px; }
  .download-aside { padding: 26px; }
}
