/* PrețServicii.md — public site. Plain CSS, no build step (shared hosting).
   Direction: a practical local marketplace. Deep blue bar (Moldovan blue), a yellow price-tag accent
   used only where money or the main action is, flat white lists with hairline dividers. */
:root {
  --bg: #f2f4f7;
  --surface: #ffffff;
  --sunk: #eef1f5;
  --ink: #15191f;
  --ink-2: #3d4653;
  --muted: #677182;
  --line: #e1e5eb;
  --line-2: #c9d0da;

  --accent: #0d4ea6;          /* brand blue: header, links, primary buttons */
  --accent-hover: #0a3f87;
  --accent-soft: #e9f0fb;
  --bar: #0d3f86;             /* header bar */
  --bar-2: #0a3270;

  --tag: #ffd02e;             /* price tag yellow: typical price, search button, "add company" */
  --tag-hover: #f5c200;
  --tag-ink: #2b2200;
  --tag-soft: #fff6d4;

  --price: #15191f;           /* prices are read, not decorated: black and bold */
  --price-soft: #fff6d4;
  --ok: #16804a;
  --ok-soft: #e5f4eb;
  --star: #f2a100;
  --danger: #c62b2b;
  --danger-soft: #fdecec;

  --radius: 10px;
  --radius-sm: 7px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 2px 8px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 36px rgba(16, 24, 40, .18);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15.5px/1.55 var(--font); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; }
h2 { font-size: clamp(19px, 2.1vw, 22px); letter-spacing: -.01em; }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.num, .price { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.h3 { font-size: 16px; margin-bottom: 10px; }
.r { text-align: right; }
.empty { color: var(--muted); }
.narrow { max-width: 820px; }

/* Icons */
.ico { width: 22px; height: 22px; flex: none; vertical-align: middle; }
.ico--sm { width: 16px; height: 16px; }
.ico--lg { width: 28px; height: 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: var(--radius-sm); padding: 10px 16px; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--outline { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { background: var(--sunk); color: var(--ink); }
.btn--ghost:hover { background: var(--line); }
.btn--tag { background: var(--tag); color: var(--tag-ink); }
.btn--tag:hover { background: var(--tag-hover); }
.btn--call { background: var(--ok); color: #fff; }
.btn--call:hover { background: #116b3d; }
.btn--sm { padding: 7px 12px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ==========================================================================
   Header: blue bar with search, white category row
   ========================================================================== */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.bar { background: var(--bar); color: #fff; }
.bar__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding-block: 12px; }
.bar__tools { display: flex; align-items: center; gap: 14px; }
.bar__link { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; }
.bar__link:hover { text-decoration: none; opacity: .85; }
.bar__add { padding: 9px 14px; font-size: 14.5px; }

.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none !important; font-size: 21px; letter-spacing: -.02em; white-space: nowrap; line-height: 1; }
.logo__mark { width: 28px; height: 28px; color: var(--accent); }
.bar .logo__mark, .logo--footer .logo__mark { color: var(--tag); }
.logo__txt { font-weight: 700; }
.logo__txt b { font-weight: 700; color: inherit; }
.logo__txt i { font-style: normal; font-weight: 500; opacity: .7; }
.bar .logo, .logo--footer { color: #fff; }

.lang { display: inline-flex; border-radius: 6px; overflow: hidden; text-decoration: none !important; border: 1px solid var(--line-2); }
.lang__opt { padding: 3px 9px; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.lang__opt.is-on { background: var(--ink); color: #fff; }
.bar .lang { border: 0; background: rgba(255, 255, 255, .12); }
.bar .lang__opt { padding: 4px 9px; color: rgba(255, 255, 255, .8); }
.bar .lang__opt.is-on { background: #fff; color: var(--bar); }

.search { display: flex; align-items: stretch; background: var(--surface); border-radius: var(--radius); min-width: 0; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); color: var(--ink); }
.search__field { position: relative; flex: 1 1 auto; display: flex; align-items: center; min-width: 0; }
.search__ico { position: absolute; left: 13px; color: var(--muted); pointer-events: none; width: 19px; height: 19px; }
.search__field input { width: 100%; border: 0; background: transparent; padding: 12px 12px 12px 41px; outline: none; min-width: 0; font-size: 16px; }
.search__field input::placeholder { color: #8a93a2; }
.search__loc { display: flex; align-items: center; gap: 4px; padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); flex: 0 0 auto; }
.search__loc select { border: 0; background: transparent; padding: 11px 8px 11px 0; max-width: 170px; outline: none; cursor: pointer; color: var(--ink); font-weight: 500; }
.search__loc .us { width: 170px !important; }
.search__loc .us__btn { min-height: 46px; }
.search__btn { border-radius: 0 var(--radius) var(--radius) 0; padding-inline: 24px; font-size: 15.5px; }

.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: -1px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 40; overflow: hidden; max-height: 70vh; overflow-y: auto; color: var(--ink); }
.suggest__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink); text-decoration: none !important; border-top: 1px solid var(--line); }
.suggest__item:first-child { border-top: 0; }
.suggest__item:hover, .suggest__item.is-active { background: var(--accent-soft); }
.suggest__meta { font-size: 13px; color: var(--muted); white-space: nowrap; }
.suggest__group { padding: 6px 14px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--sunk); }
.suggest__empty { padding: 12px 14px; color: var(--muted); font-size: 14px; }
.suggest__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.suggest__item--all { font-weight: 600; color: var(--accent) !important; }

.catnav__in { position: relative; display: flex; align-items: center; gap: 6px; padding-block: 5px; }
/* Phones: the row scrolls sideways, a fade on the right edge shows there is more. */
.catnav__list { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.catnav__list::-webkit-scrollbar { display: none; }
.catnav__list.is-end { -webkit-mask-image: none; mask-image: none; }
/* Desktop (priority+ navigation, public/js/app.js): what doesn't fit moves into the "More" menu. */
.catnav__in.is-priority .catnav__list { overflow: hidden; -webkit-mask-image: none; mask-image: none; }
.catnav__more { flex: none; position: relative; }
.catnav__more-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.catnav__more-btn:hover, .catnav__more-btn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.catnav__caret { width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.catnav__more-btn[aria-expanded="true"] .catnav__caret { transform: rotate(-135deg); margin-top: 3px; }
.catnav__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; display: grid; grid-template-columns: repeat(2, minmax(210px, 1fr)); gap: 2px; width: max-content; max-width: min(580px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.catnav__menu a { display: block; padding: 8px 10px; white-space: normal; line-height: 1.3; }
.catnav__menu .catnav__sep { grid-column: 1 / -1; width: auto; height: 1px; margin: 6px 4px; }
@media (max-width: 480px) { .catnav__menu { grid-template-columns: minmax(0, 1fr); } }
.catnav a { padding: 7px 10px; border-radius: 6px; color: var(--ink-2); white-space: nowrap; font-size: 14.5px; }
.catnav a:hover { background: var(--sunk); color: var(--ink); text-decoration: none; }
.catnav__sep { flex: none; width: 1px; height: 18px; background: var(--line-2); margin-inline: 6px; }
.catnav a.catnav__util { color: var(--accent); font-weight: 500; }

@media (max-width: 960px) {
  .bar__in { grid-template-columns: 1fr auto; gap: 10px 12px; padding-block: 10px 12px; }
  .search { grid-column: 1 / -1; order: 3; }
  .bar__link span, .bar__add span { display: none; }
  .bar__add { padding: 8px 10px; }
  .search__loc select { max-width: 130px; }
  .search__loc .us { width: 140px !important; }
}
@media (max-width: 560px) {
  .bar__tools { gap: 10px; }
  .logo { font-size: 19px; }
  .search { flex-wrap: wrap; }
  .search__field { flex-basis: 100%; border-bottom: 1px solid var(--line); }
  .search__loc { border-left: 0; flex: 1 1 auto; min-width: 0; }
  .search__loc select { max-width: none; width: 100%; }
  .search__loc .us { width: 100% !important; flex: 1 1 auto; }
  .search__btn { border-radius: 0 0 var(--radius) 0; padding-inline: 20px; }
}

/* ==========================================================================
   Main frame
   ========================================================================== */
.site-main { padding-bottom: 56px; min-height: 60vh; }
.crumbs { padding-block: 14px 0; font-size: 13.5px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.flash { margin-top: 14px; padding: 12px 16px; background: var(--ok-soft); color: var(--ok); border-radius: var(--radius-sm); font-weight: 500; }
.flash--error { background: var(--danger-soft); color: var(--danger); }

.section { margin-top: 32px; }
.section--tight { margin-top: 18px; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; }
.section__head h2 { margin: 0; }
.section__head a { font-weight: 500; white-space: nowrap; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.panel--pad { padding: 18px 20px; }

.page-head { display: flex; align-items: flex-start; gap: 14px; padding-top: 14px; }
.page-head h1 { margin-bottom: 6px; }
.page-head__ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--accent); }
.page-head__lead { color: var(--ink-2); max-width: 72ch; margin: 0; }
@media (max-width: 560px) { .page-head__ico { display: none; } }

/* Price, badges, stars */
.price { color: var(--price); font-weight: 700; white-space: nowrap; }
.tagprice { display: inline-block; background: var(--tag); color: var(--tag-ink); font-weight: 700; padding: 1px 8px; border-radius: 5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.badge { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 5px; background: var(--sunk); color: var(--muted); white-space: nowrap; vertical-align: middle; line-height: 1.4; }
.badge .ico { width: 13px; height: 13px; }
.badge--promo { background: var(--tag-soft); color: #7a5b00; }
.badge--ok { background: transparent; color: var(--ok); padding-inline: 0; }
.badge--warn { background: var(--danger-soft); color: var(--danger); }
.stars { display: inline-flex; align-items: center; gap: 3px; color: var(--star); font-weight: 600; font-size: 14px; }
.stars .ico { width: 15px; height: 15px; }
.stars span { color: var(--ink); }
.stars .ico.is-off { color: var(--line-2); }

/* Forms */
.field { display: grid; gap: 5px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 11px 12px; background: var(--surface); font-size: 16px; }
.field textarea { min-height: 96px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.field__error { color: var(--danger); font-size: 13.5px; }
.field.has-error input, .field.has-error textarea, .field.has-error .us__btn { border-color: var(--danger); }
/* Custom dropdowns inside public forms match the 46px text inputs */
.field .us__btn { min-height: 46px; padding: 11px 12px; font-size: 16px; }
.hp { position: absolute !important; left: -9999px !important; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.pager a, .pager span { min-width: 40px; padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); text-align: center; color: var(--ink); }
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.pager .is-current { background: var(--accent); color: #fff; border-color: var(--accent); }
.pager .is-disabled { color: var(--line-2); }

/* Chips (links) and segmented filters */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); font-size: 14.5px; text-decoration: none !important; white-space: nowrap; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip__n { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip.is-on .chip__n { color: rgba(255, 255, 255, .75); }
.chips--sm .chip { padding: 5px 11px; font-size: 13.5px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips--scroll::-webkit-scrollbar { display: none; }
.city-filter { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.city-filter__label { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 14px; color: var(--muted); font-weight: 600; }
@media (max-width: 560px) {
  .city-filter { display: block; }
  .city-filter .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: 6px; padding-bottom: 2px; }
}

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 11px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { border-top: 0; font-size: 13.5px; color: var(--muted); font-weight: 500; background: var(--surface); white-space: nowrap; border-bottom: 1px solid var(--line); }
.table thead + tbody tr:first-child td { border-top: 0; }
.table .r { text-align: right; }
.table tbody tr:hover { background: #fafbfd; }

/* Two columns */
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.layout-2__side { display: grid; gap: 14px; margin-top: 18px; position: sticky; top: 16px; }
@media (max-width: 960px) {
  .layout-2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .layout-2__side { position: static; margin-top: 32px; }
}
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.side-box h2, .side-cta h2 { margin-bottom: 10px; }
.side-box__more { display: inline-block; margin-top: 12px; font-size: 14.5px; font-weight: 600; }
.side-cta { background: var(--accent-soft); border-color: transparent; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.link-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.link-list .price { font-size: 14px; font-weight: 600; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--bar); color: #fff; border: 0; }
.cta-band h2 { margin-bottom: 4px; color: #fff; }
.cta-band p, .cta-band .muted { margin: 0; color: rgba(255, 255, 255, .8); }
.cta-band .btn--primary { background: var(--tag); color: var(--tag-ink); }
.cta-band .btn--primary:hover { background: var(--tag-hover); }

/* ==========================================================================
   Home
   ========================================================================== */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero__in { padding-block: 26px 22px; display: grid; gap: 14px; }
.hero h1 { font-size: clamp(26px, 3.6vw, 38px); margin: 0; }
.hero__sub { color: var(--ink-2); max-width: 62ch; margin: 0; font-size: 16.5px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.quick__label { font-size: 14px; color: var(--muted); margin-right: 2px; }
.quick a { display: inline-flex; padding: 6px 12px; border-radius: 99px; background: var(--sunk); color: var(--ink); font-size: 14.5px; }
.quick a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }
@media (max-width: 560px) {
  .quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .quick::-webkit-scrollbar { display: none; }
  .quick a, .quick__label { white-space: nowrap; flex: none; }
}

/* Category directory: every category shows its main services with a starting price */
.dir { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dir__block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 12px; display: flex; flex-direction: column; }
.dir__head { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 16.5px; line-height: 1.25; margin-bottom: 8px; }
.dir__head:hover { color: var(--accent); text-decoration: none; }
.dir__head .ico { color: var(--accent); }
.dir__list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; }
.dir__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 5px 0; font-size: 14.5px; border-top: 1px dashed var(--line); }
.dir__row:first-child { border-top: 0; }
.dir__row a { color: var(--ink-2); min-width: 0; }
.dir__row a:hover { color: var(--accent); }
.dir__from { font-size: 13.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dir__from b { color: var(--ink); font-weight: 600; }
.dir__more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 500; }
@media (max-width: 1000px) { .dir { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .dir { grid-template-columns: minmax(0, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .dir__block { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 0; }
  .dir__block:first-child { border-top: 0; }
  .dir__head { margin: 0; padding: 13px 14px; font-size: 16px; }
  .dir__head::after { content: "›"; margin-left: auto; color: var(--line-2); font-size: 22px; font-weight: 400; }
  .dir__list, .dir__more { display: none; }
}

/* Price tables (home popular, category services) */
.ptable td { vertical-align: middle; }
.ptable__svc a { font-weight: 600; color: var(--ink); }
.ptable__svc a:hover { color: var(--accent); }
.ptable__svc small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.ptable__n { color: var(--muted); white-space: nowrap; font-size: 14px; }
@media (max-width: 640px) {
  .ptable thead { display: none; }
  .ptable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); }
  .ptable tbody tr:first-child { border-top: 0; }
  .ptable td { padding: 0; border: 0; }
  .ptable .ptable__svc { grid-column: 1; grid-row: 1 / span 2; }
  .ptable .ptable__from { grid-column: 2; grid-row: 1; text-align: right; }
  .ptable .ptable__typ { grid-column: 2; grid-row: 2; text-align: right; font-size: 13.5px; }
  .ptable .ptable__n { display: none; }
}

/* Service list with ranges (category, city, search) */
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 4px 18px; padding: 12px 16px; border-top: 1px solid var(--line); }
.svc-row:first-child { border-top: 0; }
.svc-row:hover { background: #fafbfd; }
.svc-row__main { min-width: 0; }
.svc-row__name { font-weight: 600; color: var(--ink); }
.svc-row__name:hover { color: var(--accent); }
.svc-row__cat { display: block; font-size: 13px; color: var(--muted); }
.svc-row__count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.svc-row__price { text-align: right; }
/* One column grid for the whole list so counts and prices line up from row to row */
@supports (grid-template-columns: subgrid) {
  @media (min-width: 561px) {
    .svc-list { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 18px; }
    .svc-row { grid-column: 1 / -1; grid-template-columns: subgrid; }
    .svc-row__count { text-align: right; }
  }
}
@media (max-width: 560px) {
  .svc-row { grid-template-columns: 1fr auto; padding: 11px 14px; }
  .svc-row__count { grid-row: 2; grid-column: 1; font-size: 13px; }
  .svc-row__price { grid-row: 1 / span 2; grid-column: 2; }
  .svc-row__price .price { white-space: normal; }
}

/* Category tiles (subcategories, city page) */
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.cat-grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.cat-tile { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none !important; transition: border-color .15s; }
.cat-tile:hover { border-color: var(--accent); }
.cat-tile__ico { flex: none; color: var(--accent); display: grid; place-items: center; }
.cat-tile__name { font-weight: 600; line-height: 1.25; display: block; }
.cat-tile__meta { font-size: 13px; color: var(--muted); display: block; }
.cat-tile > span:not(.cat-tile__ico) { min-width: 0; }

/* Recent prices, guides */
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide-list--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.guide-item { padding: 14px 16px; }
.guide-item p { margin: 6px 0 0; color: var(--ink-2); font-size: 14.5px; }
.guide-item__title { font-weight: 600; color: var(--ink); font-size: 16px; }
.guide-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.guide-card { overflow: hidden; display: flex; flex-direction: column; }
.guide-card__img { width: 100%; aspect-ratio: 20 / 11; object-fit: cover; background: var(--sunk); }
.guide-card__body { padding: 14px 16px; display: grid; gap: 6px; }
.guide-card__body p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.article-cover { width: 100%; border-radius: var(--radius); margin-top: 14px; aspect-ratio: 2 / 1; object-fit: cover; }
.article-lead { font-size: 17.5px; color: var(--ink-2); margin-top: 14px; }

/* ==========================================================================
   Service page
   ========================================================================== */
/* The answer: range in one sentence, the typical price on a yellow tag, a strip with every company */
.answer { margin-top: 14px; padding: 20px 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: start; }
.answer__range { font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; margin: 0; font-variant-numeric: tabular-nums; }
.answer__range small { font-size: .6em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.answer__typical { margin: 8px 0 0; font-size: 16px; color: var(--ink-2); }
.answer__typical .tagprice { font-size: 17px; margin-left: 2px; }
.answer__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-2); min-width: 200px; }
.answer__meta li { display: flex; align-items: center; gap: 7px; }
.answer__meta .ico { color: var(--muted); }
.answer .spread { grid-column: 1 / -1; }
.answer__lead { grid-column: 1 / -1; margin: 0; color: var(--ink-2); font-size: 15px; max-width: 80ch; border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 700px) {
  .answer { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .answer__meta { min-width: 0; font-size: 14px; }
}

.spread { position: relative; padding: 22px 0 2px; }
.spread__track { position: relative; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #dbe7f8, #b9cdef); }
.spread__dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.spread__mid { position: absolute; top: -22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--tag-ink); white-space: nowrap; }
.spread__mid span { background: var(--tag); padding: 1px 6px; border-radius: 4px; }
.spread__mid::after { content: ""; width: 2px; height: 16px; background: var(--tag-hover); }
.spread__ends { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.spread__cap { text-align: center; }
@media (max-width: 480px) { .spread__cap { display: none; } }

/* Filters bar */
.fbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 12px 0 0; }
.fbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.fbar__label { font-size: 14px; color: var(--muted); font-weight: 500; }
.fbar select { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 8px 10px; background: var(--surface); font-size: 14.5px; max-width: 100%; }
.fbar__reset { font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; padding: 12px 14px; margin-top: 14px; }
.filters__item { display: grid; gap: 4px; font-size: 13.5px; color: var(--muted); font-weight: 500; min-width: 0; }
.filters__item--grow { flex: 1 1 220px; }
.filters select, .filters input { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 8px 10px; background: var(--surface); color: var(--ink); font-weight: 400; font-size: 15px; max-width: 100%; }
.filters__reset { font-size: 14px; padding-bottom: 9px; }
.section__head + .filters { margin-top: 0; }
@media (max-width: 560px) {
  .filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filters__item--grow { grid-column: 1 / -1; }
  .filters select, .filters input { width: 100%; }
  .fbar__row--selects { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fbar__row--selects select { width: 100%; min-width: 0; }
  .fbar__row--selects select:only-of-type { grid-column: 1 / -1; }
  .fbar__row--selects .us { width: 100% !important; }
  .fbar__row--selects .us:only-of-type { grid-column: 1 / -1; }
  .filters .us { width: 100% !important; }
}

/* Offers: one bordered list, a row per company */
.offers { list-style: none; margin: 12px 0 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) fit-content(260px) 176px; grid-template-areas: "co price act" "more more more"; align-items: center; gap: 8px 20px; padding: 16px 18px; border-top: 1px solid var(--line); }
.offer:first-child { border-top: 0; }
.offer.is-promo { background: #fffcef; }
.offer__co { grid-area: co; display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.offer__who { min-width: 0; display: grid; gap: 3px; }
.offer__name { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.offer__name a { font-weight: 700; color: var(--ink); font-size: 16.5px; }
.offer__name a:hover { color: var(--accent); }
.offer__meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 14px; color: var(--muted); }
.offer__meta > span { display: inline-flex; align-items: center; gap: 4px; }
.offer__price { grid-area: price; display: grid; justify-items: end; text-align: right; gap: 2px; }
.offer__price .price { font-size: 20px; letter-spacing: -.01em; }
.offer__variant { font-size: 14px; color: var(--ink-2); }
.offer__note { font-size: 13px; color: var(--muted); max-width: 28ch; }
.offer__date { font-size: 13px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.offer__act { grid-area: act; display: grid; gap: 6px; }
.offer__act .btn { width: 100%; }
.offer__foot { grid-area: more; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 6px 16px; }
.offer__more { list-style: none; margin: 0; padding: 0 0 0 64px; display: grid; gap: 2px; font-size: 14px; flex: 1 1 280px; max-width: 540px; }
@media (max-width: 860px) { .offer__more { padding-left: 0; } }
.offer__more li { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.offer__more .price { font-weight: 600; }
.offer__report { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 2px 0; color: var(--muted); font-size: 13px; cursor: pointer; margin-left: auto; }
.offer__report:hover { color: var(--danger); }
.offer__promo { font-size: 12px; font-weight: 600; color: #7a5b00; }
/* The offers column is narrow on 961–1180px desktops (sidebar visible): size by the list, not the viewport. */
.offers { container-type: inline-size; }
@container (max-width: 720px) {
  .offer { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "co price" "act act" "more more"; }
  .offer__act { grid-template-columns: 1fr 1fr; }
  .offer__act .btn { white-space: normal; text-align: center; }
  .offer__more { padding-left: 0; }
}
@media (max-width: 860px) {
  .offer { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "co price" "act act" "more more"; padding: 14px; }
  .offer__act { grid-template-columns: 1fr 1fr; }
  .offer__act .btn { white-space: normal; text-align: center; }
}
@media (max-width: 480px) {
  .offer { grid-template-columns: minmax(0, 1fr); grid-template-areas: "co" "price" "act" "more"; }
  .offer__price { justify-items: start; text-align: left; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; }
  .offer__price .price { grid-row: 1; }
  .offer__date { justify-content: flex-start; grid-column: 1 / -1; }
  .offer__variant, .offer__note { grid-column: 1 / -1; max-width: none; }
  .offer .co-logo { width: 40px; height: 40px; font-size: 16px; }
}
.phone-reveal { margin: 0; }
.phone-reveal .btn { width: 100%; }
.phone-reveal__err { display: block; margin-top: 4px; font-size: 13px; color: var(--danger); }
.phone-list { display: grid; gap: 2px; align-content: center; justify-items: center; padding: 6px 0; }
.phone-list a { font-weight: 700; white-space: nowrap; font-size: 16px; color: var(--ok); }

/* Legacy summary grid (price index) */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 16px; overflow: hidden; }
.stat { display: grid; align-content: start; gap: 2px; padding: 12px 16px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__label { font-size: 13.5px; color: var(--muted); }
.stat__val { font-size: 20px; font-weight: 700; }
.stat--main { background: var(--tag-soft); }
.stats__unit { grid-column: 1 / -1; margin: 0; padding: 6px 16px; border-top: 1px solid var(--line); font-size: 13px; }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .stats, .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
  .stat, .stats__unit { border: 0; background: var(--surface); }
  .stat--main { order: -1; grid-column: 1 / -1; background: var(--tag-soft); }
  .stats--4 .stat--main { order: 0; grid-column: auto; }
}

/* Text blocks */
.data-note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.data-note h2 { font-size: 18px; }
.data-note p:last-child { margin-bottom: 0; }
.prose { max-width: 75ch; overflow-wrap: break-word; line-height: 1.65; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.3em; }
.prose h3 { margin-top: 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .3em; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 7px 10px; }
.prose img { border-radius: var(--radius-sm); }
.faq { overflow: hidden; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:first-child { border-top: 0; }
.faq__item summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq__item summary:hover { color: var(--accent); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; font-weight: 400; }
.faq__item[open] summary::after { content: "−"; }
.faq__a { padding: 0 18px 16px; color: var(--ink-2); }

/* Modal (native <dialog>) */
.modal { border: 0; padding: 0; border-radius: 14px; width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-shadow: var(--shadow-lg); color: var(--ink); }
.modal::backdrop { background: rgba(10, 20, 40, .55); }
.modal__box { padding: 20px 22px 22px; margin: 0; }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.modal__head h2 { font-size: 20px; margin: 0; }
.modal__x { background: none; border: 0; padding: 2px; cursor: pointer; color: var(--muted); }
.modal__x:hover { color: var(--ink); }
.modal__sub { color: var(--ink-2); font-size: 14.5px; margin: 4px 0 14px; }
.modal__sub:empty { display: none; }
.modal__note { font-size: 13px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.form-msg { margin-bottom: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--danger-soft); color: var(--danger); font-size: 14.5px; }
.form-msg:empty { display: none; }
.form-msg.is-ok { background: var(--ok-soft); color: var(--ok); }

/* ==========================================================================
   Companies
   ========================================================================== */
.co-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.co-list.section--tight { margin-top: 14px; }
.co-list--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.co-card { display: flex; align-items: center; gap: 12px; padding: 13px 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.co-card:hover { border-color: var(--line-2); }
.co-card.is-promo { background: #fffcef; border-color: #f1dc91; }
.co-card__body { flex: 1 1 auto; min-width: 0; }
.co-card__title { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.co-card__title a { font-weight: 700; color: var(--ink); }
.co-card__meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.co-card__addr { display: inline-flex; align-items: center; gap: 3px; min-width: 0; }
.co-card__go { flex: none; }
@media (max-width: 560px) { .co-card__go { display: none; } }
.co-list--grid .co-card { align-items: flex-start; }
.co-list--grid .co-card__go { display: none; } /* narrow grid cells: the name is the link */
.co-logo { flex: none; width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.co-logo--ph { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border-color: transparent; font-weight: 700; font-size: 20px; }
.co-logo--lg { width: 84px; height: 84px; font-size: 32px; border-radius: 14px; }
@media (max-width: 560px) { .co-logo--lg { width: 60px; height: 60px; font-size: 24px; } }

/* Company page */
.co-head { display: grid; grid-template-columns: auto minmax(0, 1fr) 220px; gap: 18px 22px; align-items: center; padding: 20px 22px; margin-top: 14px; }
.co-head.is-promo { border-color: #f1dc91; }
.co-head h1 { margin: 0 0 6px; }
.co-head__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 6px; }
.co-head__badges .stars { text-decoration: none; }
.co-head__act { display: grid; gap: 8px; }
.co-head__act .btn { width: 100%; }
.co-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-top: 14px; border-bottom: 1px solid var(--line); }
.co-tabs::-webkit-scrollbar { display: none; }
.co-tabs a { padding: 10px 14px; color: var(--ink-2); font-weight: 600; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.co-tabs a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
@media (max-width: 760px) {
  .co-head { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 12px; }
  .co-head__act { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .co-head__act > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .co-head__act .btn { white-space: normal; text-align: center; }
}
.quick-filter { position: relative; display: flex; align-items: center; margin-bottom: 10px; }
.quick-filter .ico { position: absolute; left: 12px; color: var(--muted); }
.quick-filter .input { padding-left: 38px; }
.pricelist { display: grid; gap: 10px; }
.pricelist__group { overflow: hidden; }
.pricelist__cat { font-size: 15px; font-weight: 700; margin: 0; padding: 11px 16px; background: var(--sunk); border-bottom: 1px solid var(--line); }
.pricelist__table td { padding: 10px 16px; vertical-align: top; }
.pricelist__table tr:first-child td { border-top: 0; }
.pricelist__table td.r { white-space: nowrap; }
.pricelist__note { display: block; font-size: 13px; color: var(--muted); }
.pricelist__date { display: block; font-size: 12.5px; color: var(--muted); }
@media (max-width: 560px) {
  .pricelist__table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
  .pricelist__table tr:first-child { border-top: 0; }
  .pricelist__table td { display: block; padding: 0; border: 0; overflow-wrap: anywhere; }
  .pricelist__table td.r { white-space: normal; text-align: right; }
}
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--sunk); }
.reviews { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.review { padding: 14px 16px; }
.review p { margin: 6px 0 0; white-space: pre-line; overflow-wrap: break-word; }
.review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.review__head time { font-size: 13.5px; }
.review__reply { margin-top: 10px; padding: 9px 12px; background: var(--sunk); border-radius: var(--radius-sm); font-size: 14.5px; }
.review-form summary { list-style: none; display: inline-flex; }
.review-form:not([open]) { background: none; border: 0; padding: 0; }
.review-form summary::-webkit-details-marker { display: none; }
.review-form[open] summary { margin-bottom: 14px; }
.rate-input { border: 0; padding: 0; margin: 0 0 14px; }
.rate-input legend { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 4px; }
.rate-input__stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rate-input__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-input__stars label { cursor: pointer; color: var(--line-2); padding: 2px; }
.rate-input__stars .ico { width: 30px; height: 30px; }
.rate-input__stars label:hover, .rate-input__stars label:hover ~ label, .rate-input__stars input:checked ~ label { color: var(--star); }
.rate-input__stars input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }
.branches { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.branch + .branch { border-top: 1px solid var(--line); padding-top: 14px; }
.branch__addr { display: flex; gap: 5px; align-items: flex-start; margin: 2px 0 8px; font-size: 14.5px; }
.branch__addr .ico { margin-top: 3px; color: var(--muted); }
.schedule { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 14px; }
.schedule th { text-align: left; font-weight: 400; color: var(--muted); padding: 2px 0; }
.schedule td { text-align: right; padding: 2px 0; font-variant-numeric: tabular-nums; }
.schedule .is-today th, .schedule .is-today td { color: var(--ink); font-weight: 700; }
.map { margin-top: 14px; height: 220px; border-radius: var(--radius-sm); background: var(--sunk); overflow: hidden; display: grid; place-items: center; }
.map__ph { font-size: 13.5px; color: var(--muted); }
.map.is-ready { display: block; }

/* Sticky action bar on phones (company page) */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(16, 24, 40, .08); }
  .mbar .btn { width: 100%; }
  .mbar { transition: transform .2s ease-out, visibility .2s; }
  .mbar.is-hidden { transform: translateY(110%); visibility: hidden; }
  .has-mbar .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* Price index */
.chg { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.chg--up { color: var(--danger); }
.chg--down { color: var(--ok); }
.movers { list-style: none; margin: 0; padding: 0; }
.movers li { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 10px 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.movers li:first-child { border-top: 0; }
.movers__vals { font-size: 14.5px; white-space: nowrap; }

/* 404 */
.notfound { margin-top: 24px; padding: 40px 28px; text-align: center; display: grid; justify-items: center; gap: 4px; }
.notfound__code { margin: 0; font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.notfound h1 { margin: 10px 0 4px; }
.notfound__text { color: var(--ink-2); max-width: 52ch; }
.notfound__search { display: flex; gap: 8px; width: min(100%, 480px); margin-top: 6px; }
.notfound__search .input { flex: 1 1 auto; min-width: 0; }
.notfound__links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-weight: 500; }
@media (max-width: 560px) { .notfound { padding: 28px 16px; } .notfound__search { flex-direction: column; } }

/* Empty state with an icon (price index before two months of data) */
.empty--big { display: grid; justify-items: center; gap: 6px; text-align: center; padding-block: 36px; }
.empty--big .ico { color: var(--muted); }
.empty--big h2 { margin: 4px 0 0; color: var(--ink); }
.empty--big p { margin: 0 0 10px; max-width: 52ch; }

/* Add company */
.add-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px 26px; margin-top: 14px; background: var(--bar); color: #fff; border: 0; }
.add-hero h1 { font-size: clamp(24px, 3vw, 34px); color: #fff; }
.add-hero p, .add-hero .muted { color: rgba(255, 255, 255, .85); }
.add-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.add-hero .btn--primary { background: var(--tag); color: var(--tag-ink); }
.add-hero .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.add-hero__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.add-hero__facts li, .plan__list li { display: flex; gap: 8px; align-items: flex-start; }
.add-hero__facts .ico { color: var(--tag); margin-top: 3px; }
.plan__list .ico { color: var(--ok); margin-top: 3px; }
@media (max-width: 760px) { .add-hero { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; } }
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.plan { padding: 20px; }
.plan--hl { border: 2px solid var(--accent); }
.plan__name { font-size: 20px; margin-bottom: 2px; }
.plan__tag { color: var(--muted); font-size: 14px; }
.plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0c1a33; color: #aab6c8; font-size: 14.5px; margin-top: 8px; }
.site-footer a { color: #e2e8f1; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 2fr 1fr 1.2fr; gap: 32px; padding-block: 40px 28px; }
.footer__about p { margin-top: 12px; max-width: 34ch; }
.logo--footer { font-size: 19px; }
.footer__h { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #1f2f4d; padding-block: 16px; font-size: 13.5px; }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.co-head__addr { margin: 0; color: var(--ink-2); font-size: 15px; }
.co-head__addr .ico { color: var(--muted); margin: -2px 4px 0 0; }
@media (max-width: 760px) {
  .co-head { align-items: start; }
  .co-head h1 { font-size: 22px; }
}
.offer__act .btn { padding-inline: 10px; }
@media (max-width: 480px) { .offer__act .btn, .co-head__act .btn { font-size: 14px; gap: 5px; } }
/* Touch: keep tap targets around 40px on phones and tablets */
@media (max-width: 960px) {
  .bar .lang__opt { padding: 10px 11px; }
  .bar__link { min-width: 40px; min-height: 40px; justify-content: center; }
  .bar__add { min-width: 40px; min-height: 40px; }
  .chips--sm .chip { padding-block: 8px; }
  .offer__report { min-height: 40px; }
  .notfound__links a { display: inline-block; padding-block: 10px; }
}
@media (max-width: 400px) {
  .bar__in { column-gap: 8px; }
  .bar__tools { gap: 4px; }
  .logo { font-size: 17px; gap: 6px; }
  .logo__mark { width: 24px; height: 24px; }
  .bar .lang__opt { padding-inline: 7px; }
  .bar__link { min-width: 36px; }
}
.section__head > .muted { flex: none; white-space: nowrap; }
/* Narrow desktops: icon-only header tools so the search keeps its width */
@media (min-width: 961px) and (max-width: 1180px) {
  .bar__link span, .bar__add span { display: none; }
  .bar__add { padding: 8px 10px; }
  .bar__in { gap: 14px; }
  .search__loc .us { width: 150px !important; }
}

/* ==========================================================================
   Advertising slots (site/partials/ad.blade.php) — always labelled "Publicitate"
   ========================================================================== */
.ad { position: relative; }
.ad__label { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.ad__title { font-weight: 700; color: var(--ink); line-height: 1.3; }
.ad__title:hover { color: var(--accent); }
.ad__body { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); }
.ad__cta { white-space: nowrap; }
.ad__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }

/* Wide banner: home and category pages */
.ad--wide { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 22px; padding: 20px 24px; background: var(--bar); border-radius: var(--radius); color: #fff; overflow: hidden; }
.ad--wide::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 208, 46, .12); pointer-events: none; }
.ad--wide .ad__label { position: absolute; top: 8px; right: 12px; color: rgba(255, 255, 255, .6); }
.ad--wide .ad__img { grid-row: 1; width: 120px; height: 76px; }
.ad--wide .ad__main { grid-column: 2; }
.ad--wide:not(:has(.ad__img)) .ad__main { grid-column: 1 / 3; }
.ad--wide .ad__title { color: #fff; font-size: 19px; }
.ad--wide .ad__title:hover { color: var(--tag); }
.ad--wide .ad__body { color: rgba(255, 255, 255, .82); font-size: 15px; }
.ad--wide .ad__cta { grid-column: 3; position: relative; z-index: 1; }
@media (max-width: 700px) {
  .ad--wide { grid-template-columns: minmax(0, 1fr); padding: 14px 16px 16px; }
  .ad--wide .ad__label { position: static; }
  .ad--wide .ad__img { display: none; }
  .ad--wide .ad__main, .ad--wide:not(:has(.ad__img)) .ad__main, .ad--wide .ad__cta { grid-column: 1; }
  .ad--wide .ad__cta { justify-self: start; margin-top: 8px; }
}

/* Sidebar card */
.ad--card { display: grid; gap: 8px; padding: 16px 18px 18px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--tag); border-radius: var(--radius); }
.ad--card .ad__img { display: block; aspect-ratio: 15 / 8; }
.ad--card .ad__title { font-size: 16.5px; }
.ad--card .ad__cta { justify-self: start; }

/* Row inside the offers list */
.ad--inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 18px; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--accent-soft); list-style: none; }
.ad--inline .ad__label { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .ad--inline { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .ad--inline .ad__cta { justify-self: start; }
}

/* Google reviews block */
.gr .reviews { margin: 0; }
.gr .review { padding: 12px 0; border-top: 1px solid var(--line); border-radius: 0; }
.gr .review:first-child { border-top: 0; padding-top: 0; }
.gr__foot { margin: 12px 0 0; color: var(--muted); }

/* Two-line prices (EUR/USD with lei equivalent) — never overflow into the company column */
.price-approx { display: block; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.offer__price .price { white-space: normal; overflow-wrap: anywhere; }
.offer__price .price-approx { margin-top: -1px; }
.offer__name a { overflow-wrap: anywhere; }
.offer__more-price { text-align: right; flex: none; }
.offer__more-price .price-approx, .pricelist__table .price-approx { font-size: 12px; }
@media (max-width: 480px) { .offer__price .price-approx { grid-column: 1 / -1; } }

/* Signed-in account link in the header */
.bar__avatar { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tag); color: var(--tag-ink); font-size: 13px; font-weight: 700; line-height: 1; }
.bar__link .bar__avatar { display: inline-grid; }

/* Privacy-policy consent checkbox on forms */
.field--consent { margin: 4px 0 14px; }
.consent { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2, var(--ink)); cursor: pointer; }
.consent input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--accent); }
.consent a { font-weight: 500; }

/* Cookie consent banner (analytics load only after "Accept") */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-left: auto; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(16, 24, 40, .18); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__title { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.cookie-banner__text { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--ink-2, var(--ink)); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-banner__actions .btn { flex: 1 1 150px; }
.footer__cookie { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
@media (max-width: 760px) {
  .cookie-banner { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 16px; }
  .has-mbar .cookie-banner { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* Sort dropdown: room for its longest option ("Actualizate recent") on wider screens */
@media (min-width: 761px) { .fbar__row--selects .us:has(#f-sort) { min-width: 196px; } }
