/* Car Parking — тема «Парковка»: асфальт, жёлтая разметка, номерные знаки-версии, карточка гаража */
@import url("/site-assets/fonts.css");
:root {
  --bg: #F1F1EE; --surface: #FFFFFF; --surface-2: #F7F7F4; --surface-dark: #1E2024;
  --border: #E1E1DA; --border-strong: #CBCBC1;
  --text: #17181B; --text-2: #34363C; --muted: #686B73;
  --accent: #FFC21A; --accent-hover: #F2B300; --accent-soft: #FFF4CF; --accent-ink: #1B1400;
  --link: #0D6BD3; --ok: #1E8A52; --ok-soft: #DDF4E7; --warn: #9A5B00; --warn-soft: #FFF2DB;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 10px 30px -18px rgba(0,0,0,.35);
  --font-sans: 'Golos Text', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Oswald', 'Golos Text', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}
a { color: var(--link); }
h1, h2, h3, .dl-brand { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.dl-fan-bar { background: #121315; border-bottom: 0; color: #A4A7AE; }
.dl-fan-bar a { color: #A4A7AE; }
.dl-fan-inner::before { border-color: #34363C; color: #A4A7AE; }
.dl-header { background: #1E2024; border-bottom: 3px solid #FFC21A; color: #fff; }
.dl-brand { color: #fff; }
.dl-brand-mark { background: #0D6BD3; border-radius: 6px; position: relative; }
.dl-brand-mark svg { display: none; }
.dl-brand-mark::before { content: "P"; font: 700 1.05rem/1 var(--font-display); color: #fff; }
.dl-brand-ver { background: rgba(255,255,255,.1); color: #E3E4E8; font-family: var(--font-sans); text-transform: none; }
.dl-nav a { color: #D3D5DA; font-weight: 600; }
.dl-nav a:hover, .dl-nav a.active { background: rgba(255,194,26,.16); color: #fff; }
.dl-nav-cta { border-radius: 8px; font-family: var(--font-display); text-transform: uppercase; color: var(--accent-ink); }
.dl-burger { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.dl-mobile-nav { background: #1E2024; border-color: #34363C; }
.dl-mobile-nav a { color: #fff; background: rgba(255,255,255,.08); }
.dl-btn { font-family: var(--font-display); text-transform: uppercase; color: var(--accent-ink); }
.dl-btn:hover { color: var(--accent-ink); }
.dl-prose h2, .p3-h2 { font-size: 1.45rem; }
.dl-prose th { background: #FFF4CF; }
.dl-prose code { font-family: var(--font-mono); font-size: .86em; background: #1E2024; color: #FFC21A; border-radius: 5px; padding: 1px 6px; }
.dl-side-links a:hover { background: var(--accent-soft); color: var(--text); }
.dl-footer { background: #121315; border-top: 0; color: #8E9198; }
.dl-footer a { color: #fff; }
.p3-tail { margin-top: 44px; }
.p3-h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 6px 0 14px; text-transform: uppercase; }
.p3-side-img img { width: 100%; height: auto; display: block; border-radius: 10px; }

/* Главная */
.cp-stage { position: relative; overflow: hidden; color: #fff; background: #26292E; padding: 36px 0 40px; }
.cp-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cp-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(18,19,21,.92) 0%, rgba(18,19,21,.72) 48%, rgba(18,19,21,.25) 100%); }
.cp-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: center; }
.cp-head h1 { font-size: clamp(2rem, 2.8vw + 1rem, 3.6rem); line-height: 1.02; text-wrap: balance; }
.cp-lead { font-size: 1.1rem; color: #E3E4E8; margin: 14px 0 0; max-width: 56ch; }
.cp-hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 14px 8px 8px; border-radius: 10px; background: rgba(255,255,255,.08); color: #E3E4E8; font-size: .92rem; }
.cp-hint span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: #0D6BD3; color: #fff; font: 700 1.05rem/1 var(--font-display); }
.cp-garage { background: #fff; color: var(--text); border-radius: 18px; padding: 20px; box-shadow: 0 30px 60px -28px rgba(0,0,0,.8); border-top: 6px solid #FFC21A; min-width: 0; }
.cp-g-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cp-g-lbl { font: 700 .78rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cp-plate { display: inline-block; font: 700 1.05rem/1 var(--font-display); letter-spacing: .06em; padding: 7px 12px 7px 26px; border: 2px solid #17181B; border-radius: 6px; background: #fff linear-gradient(90deg, #0D6BD3 0 18px, transparent 18px); color: #17181B; white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.cp-garage h2 { font-size: 1.45rem; line-height: 1.1; margin: 14px 0 6px; }
.cp-g-sub { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.cp-feat { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.cp-feat li { font-size: .8rem; font-weight: 700; padding: 5px 9px; border-radius: 6px; background: #FFF4CF; color: #5A4300; }
.cp-feat:empty { display: none; }
.cp-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 16px; }
.cp-spec div { background: var(--surface-2); border-radius: 10px; padding: 9px 11px; min-width: 0; }
.cp-spec dt { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cp-spec dd { font-weight: 700; font-size: .92rem; overflow-wrap: anywhere; }
.cp-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 12px; background: #FFC21A; color: #1B1400; font: 700 1.15rem/1 var(--font-display); text-transform: uppercase; text-decoration: none; box-shadow: inset 0 -4px 0 rgba(0,0,0,.15); }
.cp-btn:hover { background: #FFD042; color: #1B1400; }
.cp-how { display: inline-block; margin-top: 10px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.cp-how[hidden] { display: none; }

.cp-lot { background: #3A3D43; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 6px 6px; padding: 26px 0 30px; border-top: 4px solid #FFC21A; }
.cp-bays { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; border-left: 4px solid #F5F5F0; }
.cp-bay { position: relative; appearance: none; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; padding: 16px 16px 18px; background: transparent; border: 0; border-right: 4px solid #F5F5F0; border-top: 4px solid #F5F5F0; color: #fff; font: inherit; min-height: 210px; min-width: 0; }
.cp-bay::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 4px; background: repeating-linear-gradient(90deg, #FFC21A 0 18px, transparent 18px 30px); opacity: .7; }
.cp-bay:hover { background: rgba(255,255,255,.05); }
.cp-bay.on { background: rgba(255,194,26,.14); }
.cp-bay.on::before { content: "ВЫБРАНО"; position: absolute; top: 12px; right: 12px; font: 700 .7rem/1 var(--font-sans); letter-spacing: .1em; color: #1B1400; background: #FFC21A; padding: 5px 7px; border-radius: 5px; }
.cp-no { font: 700 2rem/1 var(--font-display); color: rgba(255,255,255,.28); }
.cp-car { position: relative; width: 120px; height: 56px; border-radius: 16px 22px 22px 16px; background: var(--car); box-shadow: inset 0 -6px 0 rgba(0,0,0,.25), 0 8px 14px -6px rgba(0,0,0,.6); }
.cp-car::before { content: ""; position: absolute; left: 30px; right: 26px; top: 8px; bottom: 8px; border-radius: 10px; background: rgba(10,14,20,.75); box-shadow: inset 0 0 0 4px var(--car); }
.cp-car::after { content: ""; position: absolute; right: -2px; top: 10px; width: 6px; height: 8px; border-radius: 2px; background: #FFF6C2; box-shadow: 0 28px 0 #FFF6C2; }
.cp-car i { position: absolute; left: 14px; top: -5px; width: 22px; height: 7px; border-radius: 3px; background: #111; box-shadow: 64px 0 0 #111, 0 54px 0 #111, 64px 54px 0 #111; }
.cp-bay-t b { display: block; font: 700 1.05rem/1.2 var(--font-display); text-transform: uppercase; }
.cp-bay-t small { display: block; color: #C9CBD0; font-size: .84rem; margin-top: 4px; }
.cp-badge { font-size: .74rem; font-weight: 700; padding: 4px 8px; border-radius: 5px; background: #0D6BD3; color: #fff; }

.cp-after { padding-top: 40px; }
.cp-h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 1.4vw + 1rem, 2rem); margin-bottom: 16px; }
.cp-ggrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cp-guide { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; color: var(--text); text-decoration: none; }
.cp-guide img { width: 100%; height: 170px; object-fit: cover; display: block; }
.cp-guide span { padding: 14px 16px 16px; }
.cp-guide b { display: block; font: 700 1.08rem/1.2 var(--font-display); text-transform: uppercase; }
.cp-guide small { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; line-height: 1.4; }
.cp-guide:hover { border-color: #FFC21A; color: var(--text); }
.cp-all { margin-top: 40px; }
.cp-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; min-width: 720px; }
.cp-table th, .cp-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: .92rem; }
.cp-table th { background: #1E2024; color: #fff; font-family: var(--font-display); text-transform: uppercase; font-weight: 500; letter-spacing: .03em; }
.cp-table td a { font-weight: 700; }
@media (max-width: 960px) { .cp-in { grid-template-columns: 1fr; gap: 24px; } .cp-ggrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .dl-header-inner { gap: 8px; }
  .dl-brand { min-width: 0; flex: 1 1 auto; overflow: hidden; font-size: 1rem; }
  .dl-brand > span:not(.dl-brand-mark) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dl-nav-cta { padding: 0 12px; }
  .cp-stage { padding: 24px 0 26px; }
  .cp-lead { font-size: 1rem; }
  .cp-hint { font-size: .84rem; }
  .cp-garage { padding: 16px; }
  .cp-bays { grid-template-columns: 1fr 1fr; }
  .cp-bay { min-height: 180px; padding: 12px 10px 16px; }
  .cp-car { width: 96px; height: 46px; }
  .cp-car i { box-shadow: 46px 0 0 #111, 0 44px 0 #111, 46px 44px 0 #111; }
  .cp-bay.on::before { top: 8px; right: 8px; font-size: .62rem; }
  .cp-bay-t b { font-size: .95rem; }
  .cp-ggrid { grid-template-columns: 1fr; }
}
