/* Общий прайс и одинаковые блоки цен на страницах услуг. */
.site-nav { gap: clamp(20px, 2.4vw, 38px); }
.price-hero .breadcrumbs { padding-top: 16px; }
.price-hero-heading { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 20px 28px; }
.price-hero h1 { font-size: clamp(38px, 4vw, 60px); line-height: 1.1; }
.price-hero-description { max-width: 460px; color: var(--muted-light); font-size: 15px; line-height: 1.5; }
.price-catalog { padding-block: 20px 64px; }
.service-care-link { margin-top: 24px; font-size: 15px; }
.service-item-dent { grid-column: 1 / -1; }
.starting-price-card { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.6fr); gap: 32px; padding: 24px; background: var(--stone); border-left: 2px solid var(--brand-accent); scroll-margin-top: 24px; }
.starting-price-amount { font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; line-height: 1.15; letter-spacing: -.04em; white-space: nowrap; }
.starting-price-caption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.starting-price-description > p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.starting-price-description > p + p { margin-top: 12px; }
.starting-price-description .text-link { margin-top: 18px; font-size: 14px; color: var(--brand-link); }
@media (max-width: 700px) {
  .starting-price-card { grid-template-columns: 1fr; gap: 20px; padding: 20px 18px; }
  .starting-price-description > p { font-size: 14px; }
  .starting-price-description .text-link { font-size: 13px; }
}
.price-layout { max-width: 1250px; }
.price-tools { margin-bottom: 48px; }
.price-tools-heading { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.price-class-picker { border: 0; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.price-class-choice { display: flex; position: relative; }
.price-class-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.price-class-choice span { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border: 1px solid var(--line); border-right: 0; padding: 10px 12px; font-size: 14px; cursor: pointer; }
.price-class-choice:last-child span { border-right: 1px solid var(--line); }
.price-class-choice input:checked + span { color: #fff; background: var(--dark); border-color: var(--dark); }
.price-class-choice input:focus-visible + span { outline: 2px solid var(--brand-link); outline-offset: 3px; z-index: 1; }
.price-class-choice:hover span { border-bottom-color: var(--brand-link); }
.price-display-note { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.price-note { margin-top: 32px; padding: 18px 20px; border-left: 2px solid var(--brand-accent); background: var(--stone); color: var(--muted); font-size: 14px; line-height: 1.6; }
.price-note strong { color: var(--ink); font-weight: 600; }
.price-vehicle-guide { margin-top: 12px; }
.price-vehicle-guide > summary { display: inline-flex; gap: 10px; align-items: center; min-height: 36px; font-size: 14px; cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 4px; }
.price-vehicle-guide > summary::-webkit-details-marker { display: none; }
.price-vehicle-guide > summary::after { content: "+"; text-decoration: none; }
.price-vehicle-guide[open] > summary::after { content: "−"; }
.price-vehicle-classes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 16px 0 0; padding: 20px; background: var(--stone); }
.price-vehicle-classes dt { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.price-vehicle-classes dd { margin: 0; color: var(--muted); font-size: 14px; }
.price-category { scroll-margin-top: 24px; }
.price-category-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.price-category-meta span:first-child { color: var(--brand-link); font-size: 13px; }
.price-intro { max-width: 840px; margin-bottom: 26px; }
.price-intro p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.price-intro p + p { margin-top: 8px; }
.price-group { border-top: 1px solid var(--line); }
.price-group:last-of-type { border-bottom: 1px solid var(--line); }
.price-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 19px; cursor: pointer; list-style: none; }
.price-group > summary::-webkit-details-marker { display: none; }
.price-group > summary h3 { font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
.price-group > summary::after { content: "+"; font-size: 24px; line-height: 1; font-weight: 400; flex-shrink: 0; }
.price-group[open] > summary::after { content: "−"; }
.price-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-bottom: 24px; }
.price-table thead th { background: var(--stone); padding: 13px 10px; font-size: 12px; font-weight: 400; color: var(--muted); text-align: right; }
.price-table thead th:first-child { width: 49%; padding-left: 16px; text-align: left; }
.price-table tbody th { width: 49%; padding: 22px 16px 22px 0; font-weight: 400; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.price-table tbody td { padding: 23px 10px; text-align: right; vertical-align: top; border-bottom: 1px solid var(--line); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-service-name { display: block; font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.price-unit { display: block; margin-top: 5px; font-size: 13px; color: var(--muted); }
.price-value { white-space: nowrap; }
.price-amount { font-size: clamp(16px, 1.5vw, 23px); letter-spacing: -.04em; font-weight: 600; }
.price-quote { display: block; color: var(--muted); font-size: 14px; line-height: 1.3; }
.price-mobile-class { display: none; }
.price-row-details { margin-top: 10px; font-size: 14px; font-weight: 400; }
.price-row-details summary { display: inline-flex; gap: 8px; align-items: center; min-height: 32px; color: var(--muted); cursor: pointer; list-style: none; }
.price-row-details summary::-webkit-details-marker { display: none; }
.price-row-details summary::after { content: "+"; }
.price-row-details[open] summary::after { content: "−"; }
.price-row-details[open] summary { color: var(--ink); }
.price-row-details p { margin-top: 8px; color: var(--muted); line-height: 1.55; }
.price-row-details .price-clarification { color: var(--ink); padding-left: 12px; border-left: 2px solid var(--brand-accent); }
.price-row-details .text-link { margin-top: 10px; font-size: 13px; color: var(--brand-link); }
.price-conditions { margin-top: 24px; }
.price-conditions > summary { display: flex; gap: 24px; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; font-size: 15px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.price-conditions > summary::-webkit-details-marker { display: none; }
.price-conditions > summary::after { content: "+"; font-size: 20px; }
.price-conditions[open] > summary::after { content: "−"; }
.price-conditions-body { padding: 20px; background: var(--stone); }
.price-conditions-body h3 { margin-bottom: 10px; font-size: 19px; letter-spacing: -.02em; }
.price-conditions-body h3:not(:first-child) { margin-top: 24px; }
.price-conditions-body p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.price-category-bottom { display: flex; gap: 24px; justify-content: space-between; align-items: center; margin-top: 24px; }
.price-category-bottom p { max-width: 570px; font-size: 13px; color: var(--muted); }
.price-category-bottom .text-link { flex-shrink: 0; font-size: 14px; color: var(--brand-link); }
.service-prices { border-top: 1px solid var(--line); padding-block: clamp(40px,5vw,80px); }
.service-prices > .container { max-width: 1250px; }
.service-prices-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 30px; }
.service-prices-heading > .text-link { flex-shrink: 0; margin-bottom: 6px; }
.service-prices .price-tools { margin-bottom: 32px; }
.service-prices .price-class-picker { max-width: 760px; }
.service-prices .price-intro { max-width: 940px; }
.service-prices .price-table thead th:first-child, .service-prices .price-table tbody th { width: 48%; }
.service-prices .price-amount { font-size: 24px; }
[data-pricing][data-selected-class]:not([data-selected-class="all"]) .price-table thead th:first-child,
[data-pricing][data-selected-class]:not([data-selected-class="all"]) .price-table tbody th { width: 72%; }
.hero-price { display: block; border-top: 1px solid var(--line-dark); padding-top: 16px; margin-top: 22px; text-decoration: none; }
.hero-price-amount { display: block; color: var(--paper); font-size: 28px; letter-spacing: -.04em; line-height: 1.15; }
.hero-price-label { display: block; max-width: 350px; margin-top: 7px; color: var(--muted-light); font-size: 12px; line-height: 1.5; }
.hero-price-link { display: inline-block; margin-top: 9px; font-size: 13px; color: var(--brand-light); }
.hero-price:hover .hero-price-link { text-decoration: underline; }
.home-prices-link { margin-top: 16px; padding-block: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-prices-link p { color: var(--muted); font-size: 14px; }
.home-prices-link .text-link { color: var(--brand-link); }
.price-contact-address { margin-top: 20px; color: var(--muted-light); font-size: 14px; font-style: normal; line-height: 1.6; }
@media (max-width: 1200px) {
  .site-nav { gap: 20px; }
  .header-actions .location { display: none; }
  .price-table thead th, .price-table tbody td { padding-inline: 8px; }
}
@media (max-width: 980px) {
  .price-hero-heading { gap: 24px; }
  .price-hero-description { max-width: 340px; font-size: 14px; }
  .price-tools { margin-bottom: 36px; }
  .hero-aside { flex-wrap: wrap; }
  .hero-price { width: 100%; margin-top: 0; }
}
@media (max-width: 700px) {
  .price-hero .breadcrumbs { padding-top: 8px; }
  .price-hero-heading { padding-block: 10px 14px; }
  .price-hero h1 { font-size: clamp(32px, 8vw, 42px); }
  .price-hero-description { display: none; }
  .price-catalog { padding-block: 24px 40px; }
  .price-class-picker { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 14px; }
  .price-class-choice span { font-size: 13px; min-height: 46px; }
  .price-class-choice:nth-child(2) span { border-right: 1px solid var(--line); }
  .price-class-choice:nth-child(n+3) span { border-top: 0; }
  .price-vehicle-classes { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .price-intro p { font-size: 14px; }
  .price-category-meta { gap: 10px; flex-wrap: wrap; }
  .price-group > summary { padding-block: 18px; gap: 18px; }
  .price-group > summary h3 { font-size: 21px; }
  .price-table, .price-table tbody { display: block; width: 100%; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .price-table tbody tr { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 18px 0 20px; border-top: 1px solid var(--line); gap: 16px 4px; }
  .price-table tbody th, .service-prices .price-table tbody th { display: block; width: 100%; grid-column: 1/-1; padding: 0; border: 0; }
  .price-table tbody td { display: block; border: 0; padding: 0 4px 0 0; text-align: left; min-width: 0; }
  .price-service-name { font-size: 18px; }
  .price-mobile-class { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
  .price-value { display: flex; flex-direction: column; gap: 1px; }
  .price-amount, .service-prices .price-amount { font-size: clamp(15px,4.4vw,22px); }
  .price-quote { font-size: 13px; }
  .price-row-details { font-size: 14px; }
  .price-row-details summary { min-height: 36px; }
  .price-category-bottom { flex-direction: column; align-items: start; gap: 16px; }
  .price-category-bottom .text-link { min-height: 44px; }
  .price-conditions-body { padding: 16px; }
  .service-prices-heading { display: block; margin-bottom: 24px; }
  .service-prices-heading > .text-link { margin-top: 14px; }
  [data-pricing][data-selected-class]:not([data-selected-class="all"]) .price-table tbody tr { grid-template-columns: minmax(0,1fr) 104px; gap: 16px; }
  [data-pricing][data-selected-class]:not([data-selected-class="all"]) .price-table tbody th { grid-column: auto; width: 100%; }
  [data-pricing][data-selected-class]:not([data-selected-class="all"]) .price-table tbody td { text-align: right; padding: 0; }
  [data-pricing][data-selected-class]:not([data-selected-class="all"]) .price-amount { font-size: 20px; }
  .hero-price { margin-top: 4px; }
  .hero-price-amount { font-size: 27px; }
  .home-prices-link { flex-direction: column; align-items: start; gap: 10px; }
}
/* Компактный выбор класса и раскрывающийся список направлений. */
.price-catalog .price-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; margin-bottom: 16px; }
.price-catalog .price-tools-heading { font-size: 16px; }
.price-catalog .price-class-picker { grid-column: 1 / -1; grid-row: 2; margin: 0; }
.price-catalog .price-vehicle-guide { grid-column: 2; grid-row: 1; margin: 0; }
.price-catalog .price-vehicle-guide[open] { grid-column: 1 / -1; grid-row: 2; }
.price-catalog .price-tools:has(.price-vehicle-guide[open]) .price-class-picker { grid-row: 3; }
.price-catalog [data-price-status] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.price-catalog .price-group > summary { padding-block: 14px; }
.price-catalog .price-group > summary h3 { font-size: 20px; }
.price-catalog .price-table tbody th { padding-block: 16px; }
.price-catalog .price-table tbody td { padding-block: 17px; }
.price-catalog .price-table tbody tr:hover { background: var(--stone); }
@media (max-width: 980px) {
  .price-catalog { padding-top: 16px; }
  .price-catalog .price-tools { margin-bottom: 18px; }
}
@media (max-width: 700px) {
  .prices-page .studio-header-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .prices-page .studio-header-phone { display: flex; flex-direction: column; justify-content: center; align-items: start; gap: 0; min-height: 44px; }
  .prices-page .studio-header-phone strong { font-size: 14px; }
  .prices-page .studio-header-phone span { font-size: 10px; }
  .price-catalog { padding-top: 8px; }
  .price-catalog .price-tools { gap: 4px 8px; margin-bottom: 12px; }
  .price-catalog .price-tools-heading { font-size: 14px; }
  .price-catalog .price-vehicle-guide > summary { min-height: 32px; font-size: 12px; gap: 5px; }
  .price-catalog .price-class-picker { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .price-catalog .price-class-choice span { padding: 8px 3px; min-height: 44px; font-size: 12px; }
  .price-catalog .price-class-choice:nth-child(2) span { border-right: 0; }
  .price-catalog .price-class-choice:nth-child(n+3) span { border-top: 1px solid var(--line); }
  .price-catalog .price-group > summary { padding-block: 12px; }
  .price-catalog .price-group > summary h3 { font-size: 18px; }
  .price-catalog .price-table tbody tr { padding-block: 12px 16px; gap: 10px 4px; }
  .price-catalog .price-table tbody th, .price-catalog .price-table tbody td { padding-block: 0; }
  .price-catalog .price-unit { display: inline-block; }
  .price-catalog .price-row-details { display: inline-block; vertical-align: top; margin: 0 0 0 12px; }
  .price-catalog .price-row-details[open] { display: block; margin-left: 0; }
  .price-catalog .price-row-details summary { min-height: 32px; }
}
.price-categories { border-top: 1px solid var(--line); }
.price-category { border-bottom: 1px solid var(--line); }
.price-category-summary { display: flex; align-items: center; gap: 20px; min-height: 60px; padding-block: 12px; list-style: none; cursor: pointer; }
.price-category-summary::-webkit-details-marker { display: none; }
.price-category-number { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.price-category-summary h2 { flex: 1; font-size: clamp(24px, 2.2vw, 32px); }
.price-category-icon { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border: 1px solid var(--line); color: var(--brand-link); font-size: 24px; line-height: 1; }
.price-category-icon::before { content: "+"; }
.price-category[open] > .price-category-summary .price-category-icon::before { content: "−"; }
.price-category-summary:hover h2, .price-category[open] > .price-category-summary h2 { color: var(--brand-link); }
.price-category-content { padding: 4px 0 28px 34px; }
.price-category-link { margin-top: 16px; font-size: 13px; }
.price-catalog .price-category-meta { min-height: 26px; margin-bottom: 8px; }
.price-catalog .price-intro { margin-bottom: 18px; }
.price-catalog .film-terms { margin-block: 16px; padding-block: 16px; }
.price-catalog .film-terms dd { font-size: 24px; }
@media (max-width: 700px) {
  .price-category-summary { min-height: 50px; padding-block: 8px; gap: 12px; }
  .price-category-summary h2 { font-size: 19px; line-height: 1.2; }
  .price-category-number { font-size: 10px; }
  .price-category-icon { flex-basis: 28px; height: 28px; font-size: 22px; }
  .price-category-content { padding: 8px 0 20px; }
  .price-catalog .price-note { margin-top: 20px; padding: 14px 16px; font-size: 13px; }
}
@media print {
  .price-class-picker, .price-row-details .text-link, .price-category-bottom .text-link { display: none !important; }
  .price-category { break-inside: avoid; }
}
