/* Inner pages of series 6 «Привычный» (blue). Same tokens and components as the home page (privych.css);
   here only page-level pieces: breadcrumbs, page hero, price tables, card grids, booking aside, prose. */

.page { padding-bottom: 0; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--steel); margin-bottom: 16px; }
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { color: #B5BBC4; }

/* Page hero: text left, photo right */
.phero { padding: 32px 0 48px; }
@media (min-width: 1024px) { .phero { padding: 40px 0 64px; } }
.phero__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) { .phero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.phero h1 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.15; font-weight: 700; }
.phero__lead { margin-top: 14px; font-size: 18px; color: var(--steel); max-width: 620px; }
.phero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fact { padding: 10px 14px; border-radius: 10px; background: var(--mist); font-size: 15px; }
.fact b { font-weight: 700; }
.fact--accent { background: var(--accent-soft); color: var(--accent); }
.phero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.phero__img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; border-radius: 16px; display: block; }
.phero--plain { background: var(--mist); }
.phero--plain .phero__grid { grid-template-columns: 1fr; }

/* Section heading row */
.shead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.shead .lead { max-width: 640px; margin-top: 8px; }

/* Price table */
.ptable { display: grid; gap: 8px; }
.prow { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; padding: 16px 20px; border-radius: 12px; background: var(--mist); }
.section--mist .prow { background: #fff; }
@media (min-width: 700px) { .prow { grid-template-columns: 1fr auto auto; } }
.prow__name { font-size: 17px; font-weight: 500; color: var(--ink); }
a.prow__name:hover { color: var(--accent); }
.prow__price { font-weight: 700; font-size: 17px; white-space: nowrap; }
.prow .btn { height: 40px; padding: 0 16px; font-size: 15px; }
@media (max-width: 699px) { .prow .btn { grid-column: 1 / -1; } }
.ptable__group { margin-top: 36px; }
.ptable__group:first-child { margin-top: 0; }
.ptable__group h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline; }
.ptable__group h3 a:hover { color: var(--accent); }
.ptable__group h3 small { font-size: 15px; font-weight: 400; color: var(--steel); }

/* Cards with photo (sections, works, brands, promos) */
.cgrid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cgrid { grid-template-columns: repeat(3, 1fr); } .cgrid--4 { grid-template-columns: repeat(4, 1fr); } }
.pcard { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: box-shadow .2s; }
.pcard:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.pcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.pcard__b { padding: 16px 20px 20px; display: grid; gap: 6px; }
.pcard__b h3 { font-size: 19px; font-weight: 500; }
.pcard__b p { color: var(--steel); font-size: 15px; }
.pcard__b b { font-weight: 700; }
.pcard__list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.pcard__list a { color: var(--steel); }
.pcard__list a:hover { color: var(--accent); }
.pcard__more { color: var(--accent); font-weight: 500; font-size: 15px; margin-top: 4px; }

/* Text cards without photo */
.tgrid { display: grid; gap: 12px; }
@media (min-width: 700px) { .tgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tgrid--4 { grid-template-columns: repeat(4, 1fr); } }
.tcard { padding: 22px 22px 24px; border-radius: 16px; background: var(--mist); }
.section--mist .tcard { background: #fff; }
.tcard h3 { font-size: 18px; font-weight: 500; }
.tcard p { color: var(--steel); margin-top: 6px; font-size: 15px; }
.tcard__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 14px; }

/* Check list */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .checks--2 { grid-template-columns: 1fr 1fr; gap: 12px 32px; } }
.checks li { position: relative; padding-left: 34px; font-size: 17px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); }
.checks li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 12px; height: 12px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks--warn li::before { background: #FFF1E5; }
.checks--warn li::before { background: #FFE4CC; }
.checks--warn li::after { content: "!"; left: 0; top: 2px; width: 22px; height: 22px; background: none; -webkit-mask: none; mask: none; display: grid; place-items: center; font-weight: 700; font-size: 14px; line-height: 1; color: #D9601A; }

/* Content + booking aside */
.twocol { display: grid; gap: 32px; }
@media (min-width: 1100px) { .twocol { grid-template-columns: 1fr 380px; gap: 48px; align-items: start; } }
.aside { position: sticky; top: 96px; padding: 24px; border-radius: 16px; background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.aside h3 { font-size: 20px; font-weight: 700; }
.aside__price { margin: 14px 0 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.aside__price b { font-size: 30px; font-weight: 700; display: block; }
.aside__price span { color: var(--steel); font-size: 14px; }
.aside .form .btn { width: 100%; }
@media (max-width: 1099px) { .aside { position: static; } }

/* Models of a specialisation brand */
.models { display: flex; flex-wrap: wrap; gap: 8px; }
.models span { padding: 10px 16px; border-radius: 10px; background: #fff; font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,.06); }

/* Brand grid */
.bfilter { margin-bottom: 20px; max-width: 420px; }
.bgrid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .bgrid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .bgrid { grid-template-columns: repeat(6, 1fr); } }
.bcard { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--mist); font-weight: 500; transition: background .2s; }
.bcard:hover { background: var(--line); }
.bcard i { width: 36px; height: 36px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; color: var(--accent); font-size: 15px; }
.bcard small { display: block; font-size: 12px; font-weight: 400; color: var(--accent); }
.bcard--main { background: var(--accent-soft); }

/* Contacts */
.cinfo { display: grid; gap: 14px; }
.cinfo div { display: grid; gap: 2px; }
.cinfo span { color: var(--steel); font-size: 14px; }
.cinfo b { font-size: 18px; font-weight: 500; }
.bigmap { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; position: relative; background: var(--mist); }
.bigmap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.req { display: grid; gap: 8px; font-size: 15px; }
.req div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 599px) { .req div { grid-template-columns: 1fr; gap: 2px; } }
.req span { color: var(--steel); }

/* Prose (legal) */
.prose { max-width: 820px; font-size: 16px; line-height: 1.65; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 32px 0 10px; }
.prose p { margin: 0 0 10px; }
.prose p.li { padding-left: 18px; position: relative; }
.prose p.li::before { content: "•"; position: absolute; left: 4px; color: var(--accent); }
mark.var { background: #FFF4CC; color: #7A5B00; border-radius: 4px; padding: 0 3px; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.doc-nav a { padding: 8px 14px; border-radius: 8px; background: #fff; font-size: 15px; }
.doc-nav a.is-on { background: var(--accent); color: #fff; }

/* Promo cards (examples) and empty states */
.promo { position: relative; }
.promo .tag { position: absolute; top: 12px; left: 12px; background: #fff; }
.note { padding: 16px 20px; border-radius: 12px; background: #FFF8E1; color: #6B5300; font-size: 15px; }

/* Header: active item */
.hdr__nav a.is-active { color: var(--accent); }

/* Page map */
.pmap { columns: 1; column-gap: 32px; }
@media (min-width: 800px) { .pmap { columns: 3; } }
.pmap section { break-inside: avoid; margin-bottom: 24px; }
.pmap h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.pmap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.pmap a { color: var(--accent); }
.pmap code { color: var(--steel); font-size: 12px; }

/* Small search on inner pages */
.psearch { max-width: 640px; margin-top: 24px; }
.psearch .search__box { height: 56px; }
.psearch .search__box .btn { height: 44px; }
.twocol--half, .twocol--map { grid-template-columns: 1fr; }
@media (min-width: 900px) { .twocol--half { grid-template-columns: 1fr 1fr; } .twocol--map { grid-template-columns: 1fr 1.3fr; } }
.twocol > * { min-width: 0; }
/* Section chips inside a page hero wrap (the home-page phone rule makes them one scrolling row) */
.phero .chips { flex-wrap: wrap; width: auto; margin: 18px 0 0; padding: 0; overflow: visible; }
.phero__grid > * { min-width: 0; }
@media (min-width: 1000px) { .cgrid--2 { grid-template-columns: repeat(2, 1fr); } }
