:root {
  --amber-soft: #fff3cd;
  --amber-dark: #7a5a00;
}

/* Results search bar */
.search-bar { background: var(--white); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0, 0, 0, .04); margin-bottom: 20px; }
.search-summary { display: flex; align-items: center; gap: 28px; padding: 14px 22px; flex-wrap: wrap; }
.ss-item { min-width: 0; }
.ss-item > span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.ss-item > span svg { width: 14px; height: 14px; color: var(--red); }
.ss-item strong { display: block; font-size: 15px; margin-top: 2px; white-space: nowrap; }
.ss-item strong em, .ss-item > em { font-style: normal; font-weight: 500; color: var(--text-2); }
.ss-item > em { display: block; font-size: 12px; margin-top: 1px; }
.ss-loc { min-width: 200px; }
.search-summary .btn { margin-left: auto; height: 44px; padding: 0 18px; font-size: 14px; }
.search-bar.open .search-summary .btn { border-color: var(--black); background: var(--bg); }
.search-panel { border-top: 1px solid var(--line); padding: 12px 22px 18px; }

/* List layout and filters */
.list-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 72px; }
.list-main { min-width: 0; }
.filters-panel { background: var(--white); border-radius: var(--radius); padding: 0 0 8px; position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.filters-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--white); z-index: 2; }
.filters-head h2 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.filters-head h2 svg { width: 18px; height: 18px; color: var(--red); }
.filters-clear { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--red); }
.filters-close { display: none; width: 36px; height: 36px; border-radius: 8px; align-items: center; justify-content: center; margin-left: auto; }
.filters-close svg { width: 20px; height: 20px; }
.filters-clear + .filters-close { margin-left: 8px; }
.filter-group { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group-title { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); margin-bottom: 10px; }
.filter-group-title small { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text-3); }
.filter-reset { font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--red); }
.filter-input { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: var(--white); }
.filter-input:focus-within { border-color: var(--black); }
.filter-input svg { width: 16px; height: 16px; color: var(--text-3); flex-shrink: 0; }
.filter-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; }
.filter-input input::-webkit-search-cancel-button { -webkit-appearance: none; }
.filter-range { display: flex; align-items: flex-end; gap: 8px; }
.filter-range label { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--text-3); min-width: 0; }
.filter-range input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 10px; font-size: 14px; outline: 0; -moz-appearance: textfield; }
.filter-range input:focus { border-color: var(--black); }
.filter-range input::-webkit-outer-spin-button, .filter-range input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.filter-range i { padding-bottom: 12px; color: var(--text-3); font-style: normal; }
.filter-range .btn { height: 40px; padding: 0 12px; }
.filter-options li a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--text-2); }
.filter-options .box { width: 18px; height: 18px; border: 1.5px solid #c9c9c9; border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--white); color: var(--white); transition: border-color .15s, background .15s; }
.filter-options .box svg { width: 12px; height: 12px; opacity: 0; }
.filter-options .txt { flex: 1; min-width: 0; }
.filter-options .txt em { font-style: normal; font-size: 12px; color: var(--text-3); margin-left: 4px; }
.filter-options .cnt { font-size: 12px; color: var(--text-3); background: var(--bg); padding: 2px 7px; border-radius: 10px; }
.filter-options li a:hover { color: var(--text); }
.filter-options li a:hover .box { border-color: var(--text); }
.filter-options li.on a { color: var(--text); font-weight: 600; }
.filter-options li.on .box { background: var(--red); border-color: var(--red); }
.filter-options li.on .box svg { opacity: 1; }
.filter-options li.hide { display: none; }
.filter-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--red); }
.filter-more svg { width: 14px; height: 14px; transition: transform .15s; }
.filter-more.open svg { transform: rotate(180deg); }
.filters-apply { display: none; }
.filters-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 69; }

/* Results head */
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.results-count h1, .results-count h2 { font-size: 24px; letter-spacing: -.01em; }
.results-count p { color: var(--text-2); font-size: 14px; margin-top: 4px; }
.results-tools { display: flex; align-items: center; gap: 10px; }
.sort-form { display: flex; gap: 8px; }
.select-sort { height: 44px; min-width: 230px; }
.select-sort select { font-size: 14px; }
[data-autosubmit] [data-autosubmit-button] { display: none; }
.filters-open { display: none; position: relative; }
.filters-open .dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.chip-x { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 12px; border-radius: 17px; background: var(--white); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text); }
.chip-x span { font-weight: 500; color: var(--text-3); }
.chip-x svg { width: 14px; height: 14px; color: var(--text-3); }
.chip-x:hover { border-color: var(--text); color: var(--text); }
.chip-x:hover svg { color: var(--red); }
.chip-clear { font-size: 13px; font-weight: 600; color: var(--red); padding: 0 6px; }
.empty { background: var(--white); border-radius: var(--radius); padding: 56px 24px; text-align: center; margin-bottom: 24px; }
.empty h3 { font-size: 22px; }
.empty p { color: var(--text-2); margin-top: 8px; max-width: 480px; margin-left: auto; margin-right: auto; }
.empty .btn { margin-top: 24px; }
.alert { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; line-height: 1.45; }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.alert-error { background: var(--red-soft); color: var(--red-hover); }
.alert-info { background: var(--white); color: var(--text-2); border: 1px solid var(--line); }
.alert-info svg { color: var(--red); }
.alert-success { background: var(--green-soft); color: var(--green-dark); }
.more-row { display: flex; justify-content: center; margin-top: 18px; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.page-btn, .page-num { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text-2); }
.page-btn svg { width: 16px; height: 16px; }
.page-num:hover, .page-btn:hover { border-color: var(--text); color: var(--text); }
.page-num.current { background: var(--black); border-color: var(--black); color: var(--white); }
.page-btn.disabled { opacity: .4; }
.page-dots { padding: 0 4px; color: var(--text-3); }

/* Detail layout */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; padding-bottom: 72px; }
.detail-main > * + * { margin-top: 24px; }
.detail-hero { background: var(--white); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.detail-title .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-title h1 { font-size: 32px; margin-top: 12px; letter-spacing: -.01em; }
.detail-title h1 small { font-size: 15px; font-weight: 500; color: var(--text-3); margin-left: 6px; white-space: nowrap; }
.detail-variant { color: var(--text-2); font-size: 15px; margin-top: 6px; }
.detail-title .chips { margin-top: 14px; }
.detail-media { padding: 8px 12px; }
.detail-media img { width: 100%; height: auto; }
.panel { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.panel h2 { font-size: 20px; margin-bottom: 18px; }
.panel h2.mt { margin-top: 32px; }
.panel-sub { font-size: 13px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; margin: 28px 0 12px; }
.panel-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.panel-note svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--red); }
.panel-note.small { font-size: 13px; }
.prose { color: var(--text-2); line-height: 1.65; }
.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.spec { background: var(--bg); border-radius: var(--radius-sm); padding: 12px 14px; min-width: 0; }
.spec span { display: block; font-size: 12px; color: var(--text-3); }
.spec strong { display: block; font-size: 15px; margin-top: 2px; overflow-wrap: anywhere; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.feature-list li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 15px; }
.feature-list svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
.cond-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.cond span { display: block; font-size: 13px; color: var(--text-3); }
.cond strong { display: block; font-size: 15px; margin-top: 2px; }
.cond small { display: block; font-weight: 400; color: var(--text-3); font-size: 13px; }
.firm-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.firm-logo { width: 56px; height: 56px; border-radius: 12px; background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 22px; flex-shrink: 0; }
.firm-logo.lg { width: 88px; height: 88px; font-size: 36px; background: var(--white); color: var(--black); }
.firm-body { flex: 1; min-width: 200px; }
.firm-body strong { font-size: 17px; }
.firm-body .meta { color: var(--text-2); font-size: 14px; margin-top: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.firm-body .meta svg { width: 16px; height: 16px; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--text); }
.rating svg { width: 16px; height: 16px; color: var(--star); }
.loc-list { display: flex; flex-direction: column; }
.loc { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.loc:last-child { border-bottom: 0; padding-bottom: 0; }
.loc > svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.loc strong { display: block; font-size: 15px; }
.loc strong small { font-weight: 500; color: var(--text-3); font-size: 12px; margin-left: 6px; }
.loc span { display: block; color: var(--text-2); font-size: 14px; margin-top: 2px; }
.similar .section-title { font-size: 22px; }
.similar .section-head { margin-bottom: 18px; }

/* Price box */
.aside { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 16px; }
.price-box { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.price-head { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.price-mode { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.price-big { display: block; font-size: 34px; font-weight: 800; color: var(--red); letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; }
.price-sub-line { display: block; font-size: 13px; color: var(--text-2); margin-top: 4px; }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dates div { background: var(--bg); border-radius: var(--radius-sm); padding: 10px 12px; min-width: 0; }
.dates span { display: block; font-size: 12px; color: var(--text-3); }
.dates strong { display: block; font-size: 15px; margin-top: 2px; }
.dates em { display: block; font-style: normal; font-size: 13px; color: var(--text-2); margin-top: 2px; overflow-wrap: anywhere; }
.change { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.price-sub { font-size: 12px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; margin: 20px 0 8px; }
.tiers li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.tiers li.active { color: var(--text); font-weight: 600; }
.tiers li.active span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: 1px; }
.extras { display: flex; flex-direction: column; }
.extra { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.extra:last-child { border-bottom: 0; }
.extra input { width: 20px; height: 20px; accent-color: var(--red); flex-shrink: 0; margin: 0; }
.extra .name { flex: 1; font-size: 15px; font-weight: 500; }
.extra .name small { display: block; font-size: 12px; color: var(--text-3); font-weight: 400; line-height: 1.35; margin-top: 2px; }
.extra .amt { font-weight: 600; font-size: 14px; white-space: nowrap; }
.extra .amt small { font-weight: 400; color: var(--text-3); }
.total { margin-top: 20px; padding-top: 14px; border-top: 2px solid var(--black); }
.total .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; color: var(--text-2); }
.total .grand { font-size: 20px; color: var(--text); font-weight: 700; padding-top: 8px; }
.total .grand strong { color: var(--red); }
.total .muted { font-size: 12px; color: var(--text-3); }
.price-box .btn { margin-top: 16px; }
.price-box .btn + .btn { margin-top: 10px; }
.price-note { margin-top: 14px; font-size: 13px; color: var(--text-3); display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.price-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--green); }
.summary-car { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary-car img { width: 128px; height: auto; flex-shrink: 0; }
.summary-car strong { display: block; font-size: 16px; }
.summary-car strong small { display: block; font-weight: 400; color: var(--text-3); font-size: 13px; }
.summary-car span { display: block; font-size: 13px; color: var(--text-2); }
.panel .summary-car { padding-bottom: 18px; margin-bottom: 18px; }
.panel .summary-car img { width: 160px; }

/* Forms */
.steps { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-3); margin-bottom: 20px; }
.steps li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.steps b { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--text-2); }
.steps b svg { width: 14px; height: 14px; }
.steps .done b { background: var(--black); color: var(--white); }
.steps .now { color: var(--text); font-weight: 600; }
.steps .now b { background: var(--red); color: var(--white); }
.steps i { flex: 1; height: 1px; background: var(--line); min-width: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-field label small { font-weight: 400; color: var(--text-3); }
.form-field input, .form-field select, .form-field textarea { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 14px; background: var(--white); outline: none; font-size: 16px; transition: border-color .15s; }
.form-field textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.45; font-family: inherit; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--red); }
.form-field.invalid input, .form-field.invalid textarea { border-color: var(--red); background: var(--red-soft); }
.form-field .err, .check .err { color: var(--red); font-size: 13px; margin-top: 6px; font-weight: 500; }
.form-field .hint { color: var(--text-3); font-size: 13px; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.radio-row { display: flex; gap: 10px; margin-bottom: 16px; }
.radio-row label { flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; background: var(--white); font-weight: 500; transition: border-color .15s; }
.radio-row label:hover { border-color: var(--text-3); }
.radio-row input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.radio-row label.on { border-color: var(--red); background: var(--red-soft); }
.checks { display: flex; flex-direction: column; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-2); line-height: 1.45; cursor: pointer; }
.check input { margin: 3px 0 0; width: 20px; height: 20px; accent-color: var(--red); flex-shrink: 0; }
.check.invalid { color: var(--red-hover); }
.check .u { text-decoration: underline; text-underline-offset: 3px; color: var(--text); }
.form-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Reservation result */
.result-head { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.result-label { font-size: 13px; color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: .06em; }
.result-head .code { font-family: var(--font-display); font-weight: 900; font-size: 40px; letter-spacing: .02em; line-height: 1.1; margin-top: 4px; }
.result-status { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.result-when { font-size: 13px; color: rgba(255, 255, 255, .7); }
.status { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 17px; font-weight: 600; font-size: 14px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pending { background: var(--amber-soft); color: var(--amber-dark); }
.status-ok { background: var(--green-soft); color: var(--green-dark); }
.status-cancel { background: var(--bg-2); color: var(--text-2); }
.result-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; margin-top: 24px; padding-bottom: 72px; align-items: start; }
.result-main > * + * { margin-top: 20px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.kv .full { grid-column: 1 / -1; }
.kv span { display: block; font-size: 12px; color: var(--text-3); }
.kv strong { display: block; font-size: 15px; margin-top: 2px; }
.kv em { display: block; font-style: normal; font-size: 13px; color: var(--text-2); }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.lookup { max-width: 560px; margin: 0 auto 72px; }
.lookup-title { font-size: 26px; text-align: center; }
.lookup .page-lead { margin: 8px auto 24px; text-align: center; }
.lookup .form-actions { margin-top: 4px; }
.lookup .form-actions .btn { width: 100%; }

/* Firm page and directory */
.firm-hero { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--black); color: var(--white); min-height: 300px; display: flex; align-items: flex-end; box-shadow: var(--shadow-lg); }
.firm-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.firm-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .8) 100%); }
.firm-hero-body { position: relative; width: 100%; padding: 32px; display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; }
.firm-hero-text { flex: 1; min-width: 240px; }
.firm-hero h1 { font-size: 36px; margin-top: 12px; letter-spacing: -.01em; }
.firm-hero .meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.firm-hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.firm-hero .meta svg { width: 16px; height: 16px; color: var(--red); }
.firm-hero .meta .rating { color: var(--white); }
.firm-hero .meta .rating svg { color: var(--star); }
.firm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; margin-top: 24px; padding-bottom: 72px; align-items: start; }
.firm-main { min-width: 0; }
.firm-main > * + * { margin-top: 24px; }
.firm-facts { margin-top: 20px; }
.firm-fleet .section-title { font-size: 22px; }
.contact-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 15px; }
.contact-list svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; }
.firm-grid-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 32px; }
.firm-tile { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); display: flex; flex-direction: column; }
.firm-tile-cover { position: relative; display: block; height: 150px; background: var(--black); }
.firm-tile-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.firm-tile-cover .firm-logo { position: absolute; left: 22px; bottom: -22px; width: 56px; height: 56px; border: 3px solid var(--white); }
.firm-tile-body { padding: 34px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.firm-tile h2 { font-size: 20px; }
.firm-tile .meta { color: var(--text-2); font-size: 14px; margin-top: 4px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.firm-tile .meta svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }
.firm-tile p { color: var(--text-2); font-size: 14px; margin-top: 10px; }
.firm-facts-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.firm-facts-row li { flex: 1 1 90px; background: var(--bg); border-radius: 8px; padding: 8px 10px; min-width: 0; }
.firm-facts-row strong { display: block; font-size: 15px; white-space: nowrap; }
.firm-facts-row span { font-size: 11px; color: var(--text-3); }
.firm-tile-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; flex-wrap: wrap; }
.cta-band-small { min-height: 0; margin-bottom: 72px; }
.cta-band-small .cta-text { width: 100%; padding: 40px 44px; }
.cta-band-small .cta-text h2 { font-size: 30px; }

.mobile-cta { display: none; }

@media (max-width: 1300px) {
  .list-main .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .detail, .result-grid, .firm-grid, .list-layout { grid-template-columns: 1fr; }
  .list-main .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-cta { position: sticky; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); }
  .mobile-cta span { display: block; font-size: 12px; color: var(--text-3); }
  .mobile-cta strong { display: block; font-size: 20px; color: var(--red); line-height: 1.1; }
  .mobile-cta .btn { height: 48px; padding: 0 20px; }
  .aside { position: static; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters-panel { position: fixed; top: 0; bottom: 0; left: 0; width: min(360px, 92vw); max-height: none; border-radius: 0; z-index: 70; transform: translateX(-105%); transition: transform .25s; box-shadow: var(--shadow-lg); padding-bottom: 0; }
  .filters-panel.open { transform: none; }
  .filters-close { display: flex; }
  .filters-apply { display: block; position: sticky; bottom: 0; padding: 12px 18px; background: var(--white); border-top: 1px solid var(--line); }
  .filters-open { display: inline-flex; }
  .search-summary { gap: 18px; }
}

@media (max-width: 640px) {
  .brand img { height: 32px; }
  .header-actions .btn { height: 38px; padding: 0 12px; font-size: 13px; }
  .header-actions .btn svg { display: none; }
  .search-summary { padding: 12px 14px; gap: 10px 18px; }
  .ss-loc { flex: 1 1 100%; }
  .ss-dur { display: none; }
  .search-summary .btn { margin-left: 0; width: 100%; }
  .search-panel { padding: 8px 14px 14px; }
  .results-head { align-items: flex-start; flex-direction: column; }
  .results-tools { width: 100%; }
  .sort-form { flex: 1; }
  .select-sort { min-width: 0; width: 100%; }
  .list-main .card-grid { grid-template-columns: 1fr; }
  .detail-hero { grid-template-columns: 1fr; padding: 20px; }
  .detail-title h1 { font-size: 26px; }
  .detail-media { padding: 0; }
  .panel { padding: 20px; }
  .feature-list, .cond-list, .form-grid, .kv, .firm-grid-list { grid-template-columns: 1fr; }
  .steps { font-size: 13px; gap: 6px; }
  .steps i { min-width: 8px; }
  .steps li:not(.now) { font-size: 0; gap: 0; flex-shrink: 0; }
  .steps li:not(.now) b { font-size: 13px; }
  .detail-form .aside { order: -1; }
  .radio-row { flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .result-head { padding: 22px 20px; }
  .result-head .code { font-size: 30px; }
  .result-status { align-items: flex-start; }
  .firm-hero-body { padding: 20px; }
  .firm-hero h1 { font-size: 26px; }
  .firm-hero .btn { width: 100%; }
  .price-box { padding: 20px; }
  .price-big { font-size: 28px; }
  .summary-car img { width: 100px; }
  .cta-band-small .cta-text { padding: 28px 20px; }
  .cta-band-small .cta-text h2 { font-size: 24px; }
}

.firm-logo img, .firm-dot img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; background: #fff; padding: 2px; box-sizing: border-box; }
.steps-vertical { flex-direction: column; align-items: flex-start; gap: 10px; }
.steps-vertical i { display: none; }
.result-label + .code + .result-label { display: block; margin-top: 4px; }

.result-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; align-items: start; padding: 26px 30px 0; }
.result-code-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; background: rgba(255, 255, 255, .12); color: var(--white); font-size: 13px; font-weight: 600; transition: background .15s; }
.copy-btn:hover { background: rgba(255, 255, 255, .22); color: var(--white); }
.copy-btn.done { background: var(--green); }
.copy-btn svg { width: 15px; height: 15px; }
.result-sub { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.result-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 20px; margin: 2px -30px 0; padding: 16px 30px 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.result-facts > div { min-width: 0; }
.result-facts span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .6); }
.result-facts strong { display: block; margin-top: 4px; font-size: 16px; line-height: 1.3; }
.result-facts em { display: block; font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-facts .fact-total strong { font-size: 22px; font-family: var(--font-display); font-weight: 900; letter-spacing: .01em; }
.steps-card { background: var(--white); border-radius: var(--radius); padding: 16px 24px; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.steps-card .steps { margin-bottom: 0; }
.result-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.result-actions .btn { margin: 0; }
.result-actions .change { margin: 4px 0 0; text-align: center; }
.result-cta strong { color: var(--text); }
@media (max-width: 640px) {
  .result-head { grid-template-columns: 1fr; gap: 14px; padding: 20px 18px 0; }
  .result-head .code { font-size: 32px; }
  .result-status { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
  .result-facts { grid-template-columns: 1fr 1fr; gap: 14px 12px; margin: 0 -18px; padding: 14px 18px 18px; }
  .result-facts strong { font-size: 15px; }
  .result-facts .fact-total strong { font-size: 20px; }
  .result-facts .fact-total em { white-space: normal; }
  .steps-card { padding: 14px 10px; }
  .steps-card .steps { gap: 0; }
  .steps-card .steps li, .steps-card .steps li:not(.now) { flex: 1 1 0; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.2; text-align: center; white-space: normal; }
  .steps-card .steps i { flex: 0 0 22px; min-width: 0; margin-top: 14px; align-self: flex-start; }
  .steps-vertical li:not(.now) { font-size: 13px; gap: 8px; }
  .kv > div { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .kv > div:last-child { padding-bottom: 0; border-bottom: 0; }
  .result-grid { padding-bottom: 24px; }
  .result-main .panel h2 { font-size: 18px; margin-bottom: 14px; }
}
