/* ==========================================================================
   Public review platform — layout modelled on the reference review site
   ========================================================================== */

:root {
    --green:      #00b67a;
    --star-5:     #00b67a;
    --star-4:     #73cf11;
    --star-3:     #ffce00;
    --star-2:     #ff8622;
    --star-1:     #ff3722;
    --ink:        #1b1a1b;
    --text:       #2d2f29;
    --muted:      #6b6b6b;
    --line:       #e3e3e6;
    --line-soft:  #efeff1;
    --indigo:     #3c57bc;
    --peri:       #799dfa;
    --lavender:   #f1f0fb;
    --cyan:       #d5f2f6;
    --radius:     12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    background: var(--ink);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 10px; line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: 34px; font-weight: 800; }
h2 { font-size: 22px; font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
p  { margin: 0 0 12px; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); font-weight: 400; }
.dot { color: #9b9b9b; margin: 0 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.info-dot {
    display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%;
    border: 1px solid #b5b5bb; color: #7a7a80; font-size: 10px; font-weight: 700; font-style: normal;
    line-height: 1; vertical-align: middle; cursor: help;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border: 1px solid transparent; border-radius: 999px;
    font-size: 15px; font-weight: 600; cursor: pointer; transition: .15s ease; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 15px; height: 15px; fill: currentColor; }
.btn-indigo { background: var(--indigo); color: #fff; }
.btn-indigo:hover { background: #32499f; }
.btn-peri { background: var(--peri); color: #111011; }
.btn-peri:hover { background: #a3bcfb; }
.btn-outline { background: #fff; color: var(--ink); border-color: #c9c9cf; }
.btn-outline:hover { border-color: var(--ink); background: #fafafa; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { padding: 8px 15px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: #c9c9cf; }

/* --- Dark top bar --------------------------------------------------------- */

.topbar { background: var(--ink); }
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 7px; font-size: 21px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-star { width: 25px; height: 25px; fill: var(--green); }

.topsearch { position: relative; flex: 1; max-width: 380px; }
.topsearch svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: #6b6b6b; }
.topsearch input {
    width: 100%; height: 40px; padding: 0 16px 0 40px; border: 0; border-radius: 999px;
    font: inherit; font-size: 14px; background: #fff; color: var(--ink);
}
.topsearch input:focus { outline: 2px solid var(--peri); }

.topnav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 15px; color: #fff; }
.topnav a { color: #fff; }
.topnav-login { font-weight: 500; }

.breadcrumbs { background: var(--ink); font-size: 12px; color: #a4a4a8; }
.breadcrumbs .wrap { display: flex; align-items: center; gap: 7px; padding: 0 0 14px; flex-wrap: wrap; }
.breadcrumbs a { color: #a4a4a8; }
.breadcrumbs strong { color: #fff; font-weight: 400; }

/* --- White page body ------------------------------------------------------ */

.page-wrapper { background: #fff; border-radius: 24px 24px 0 0; padding: 36px 0 56px; }

/* --- Sticky sub navigation ------------------------------------------------ */

.subnav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: #fff;
    border-bottom: 1px solid var(--line); transform: translateY(-101%);
    transition: transform .2s ease; box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
}
.subnav.is-visible { transform: none; }
.subnav-inner { display: flex; align-items: center; gap: 20px; height: 58px; }
.subnav-tabs { display: flex; gap: 24px; height: 100%; }
.subnav-tabs a {
    display: inline-flex; align-items: center; font-size: 14px; font-weight: 500;
    border-bottom: 2px solid transparent; padding: 0 2px;
}
.subnav-tabs a:hover { text-decoration: none; border-bottom-color: #c9c9cf; }
.subnav-tabs a.is-active { border-bottom-color: var(--ink); font-weight: 600; }
.subnav-actions { display: flex; gap: 8px; margin-left: auto; }

/* --- Stars ---------------------------------------------------------------- */

.stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.star {
    position: relative; display: inline-block;
    width: var(--star-size, 20px); height: var(--star-size, 20px);
    background: #dcdce6; border-radius: 2px; overflow: hidden;
}
.star-fill { position: absolute; inset: 0; background: var(--star-5); }
.star svg { position: relative; width: 100%; height: 100%; fill: #fff; display: block; }
.r-excellent .star-fill { background: var(--star-5); }
.r-great     .star-fill { background: var(--star-4); }
.r-average   .star-fill { background: var(--star-3); }
.r-poor      .star-fill { background: var(--star-2); }
.r-bad       .star-fill { background: var(--star-1); }

/* --- Two column summary layout -------------------------------------------- */

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 371px; gap: 28px; align-items: start; }
.col-left  { min-width: 0; display: grid; gap: 26px; }
.col-right { display: grid; gap: 12px; position: sticky; top: 16px; }

/* --- Company head --------------------------------------------------------- */

.company-head { display: flex; gap: 24px; align-items: flex-start; }

.company-logo {
    width: 88px; height: 88px; flex: none; border: 1px solid var(--line); border-radius: var(--radius);
    display: grid; place-items: center; overflow: hidden; background: #fff;
    font-size: 26px; font-weight: 800; color: var(--green);
}
.company-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

.claimed-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--line);
    border-radius: 999px; font-size: 11px; color: #4a4a4a; margin-bottom: 10px;
}
.claimed-pill svg { width: 12px; height: 12px; fill: var(--ink); }

.company-info h1 { margin-bottom: 6px; }
.company-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.rev-count { font-size: 15px; font-weight: 600; text-decoration: underline; }
.score { font-size: 15px; font-weight: 700; margin: 0 6px 0 8px; }

.company-category { display: inline-block; font-size: 15px; color: var(--indigo); text-decoration: underline; }

.hero-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* --- Integrity notice ----------------------------------------------------- */

.integrity {
    display: flex; align-items: center; gap: 12px; background: var(--lavender);
    border-radius: var(--radius); padding: 14px 18px; font-size: 14px; color: var(--text);
}
.integrity-badge {
    width: 30px; height: 30px; flex: none; border-radius: 50%; background: #dedcf7;
    display: grid; place-items: center;
}
.integrity-badge svg { width: 16px; height: 16px; fill: #4b3ab5; }
.integrity-chevron { width: 18px; height: 18px; fill: #6b6b6b; margin-left: auto; flex: none; }

/* --- Summary block -------------------------------------------------------- */

.summary-block h2 { display: flex; align-items: center; gap: 8px; font-size: 24px; }
.summary-kicker { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.summary-kicker svg { width: 15px; height: 15px; fill: #6f5cd6; }
.summary-text { font-size: 15px; line-height: 1.6; }
.block-sub { margin: 24px 0 12px; font-size: 16px; font-weight: 700; }

.mention-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.mention-card {
    border: 1px solid #e0defa; background: #fbfaff; border-radius: var(--radius); padding: 14px;
    font-size: 13px; color: var(--muted); display: grid; gap: 6px; align-content: start;
}
.mention-card:hover { text-decoration: none; border-color: #b9b2f0; }
.mention-card strong { color: #4b3ab5; font-size: 14px; }
.mention-card em { font-style: normal; }
.see-more { text-decoration: underline; color: var(--text); }

.mini-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.mini-review { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; font-size: 13px; color: var(--muted); }
.mini-review:hover { text-decoration: none; border-color: #b5b5bb; }
.mini-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.mini-head strong { display: block; color: var(--text); font-size: 13px; }
.mini-head em { font-style: normal; font-size: 12px; }
.mini-review p { margin: 0; }
.see-all { margin-top: 18px; }

/* --- About block ---------------------------------------------------------- */

.about-block { border-top: 1px solid var(--line-soft); padding-top: 24px; }
.about-cat { font-size: 13px; color: var(--muted); }
.about-text { font-size: 15px; max-width: 70ch; }
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.contact li { display: flex; gap: 10px; align-items: flex-start; }
.contact svg { width: 16px; height: 16px; fill: var(--muted); flex: none; margin-top: 2px; }

/* --- Sidebar cards -------------------------------------------------------- */

.score-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; }
.score-big { font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.score-label { font-size: 15px; font-weight: 700; margin: 6px 0 8px; }
.score-count { font-size: 12px; color: var(--muted); margin-top: 8px; }

.score-bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.bar-row:hover { text-decoration: none; }
.bar-row:hover .bar-fill { filter: brightness(.9); }
.bar-track { height: 10px; background: #f0f0f2; border-radius: 3px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--green); border-radius: 3px; }

.score-link {
    display: block; text-align: center; margin-top: 18px; padding-top: 16px;
    border-top: 1px solid var(--line-soft); font-size: 13px; text-decoration: underline;
}

.info-card {
    display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 16px;
}
.info-ico { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #f4f4f6; display: grid; place-items: center; }
.info-ico svg { width: 17px; height: 17px; fill: #5a5a60; }
.info-card strong { display: block; font-size: 14px; margin-bottom: 3px; }
.info-card p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* --- Reviews section ------------------------------------------------------ */

.reviews-section { border-top: 1px solid var(--line-soft); margin-top: 34px; padding-top: 26px; }

.reviews-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.heading-star { width: 28px; height: 28px; display: grid; place-items: center; }
.heading-star svg { width: 100%; height: 100%; fill: var(--green); }
.heading-score { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }

.reviews-grid { display: grid; grid-template-columns: 214px minmax(0, 1fr); gap: 32px; align-items: start; }

/* Filter rail */
.filter-rail { display: grid; gap: 12px; position: sticky; top: 16px; }
.filter-rail h2 { font-size: 21px; margin: 0; }
.rail-sub { font-size: 13px; color: var(--muted); margin: -4px 0 4px; }
.rail-sub strong { color: var(--text); }
.filter-rail .btn { justify-self: start; }

.rail-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: grid; gap: 4px; }
.rail-row {
    display: grid; grid-template-columns: 16px 44px 1fr 32px; align-items: center; gap: 8px;
    font-size: 12px; color: var(--text); cursor: pointer; padding: 4px 2px; border-radius: 6px;
}
.rail-row:hover { background: #fafafa; }
.rail-row input { width: 14px; height: 14px; accent-color: var(--ink); margin: 0; }
.rail-row.is-empty { color: #b0b0b5; }
.rail-track { height: 8px; background: #f0f0f2; border-radius: 4px; overflow: hidden; }
.rail-fill { display: block; height: 100%; background: var(--ink); border-radius: 4px; }
.rail-pct { text-align: right; color: var(--muted); }
.rail-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; text-decoration: underline; }
.rail-link svg { width: 12px; height: 12px; fill: currentColor; }

/* Reviews column */
.reviews-col { min-width: 0; display: grid; gap: 18px; }

.banner { display: flex; gap: 10px; background: var(--cyan); border-radius: 8px; padding: 14px 16px; font-size: 13px; }
.banner svg { width: 17px; height: 17px; fill: #0b6b7a; flex: none; margin-top: 1px; }
.banner p { margin: 0; }
.banner a { text-decoration: underline; }

.review-tools { display: grid; gap: 12px; }
.keyword { position: relative; display: block; }
.keyword svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: var(--muted); }
.keyword input {
    width: 100%; height: 46px; padding: 0 16px 0 40px; border: 1px solid #c9c9cf; border-radius: 8px;
    font: inherit; font-size: 15px;
}
.keyword input:focus { outline: none; border-color: var(--ink); }
.tool-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tool-row select {
    padding: 8px 14px; border: 1px solid #c9c9cf; border-radius: 999px; font: inherit; font-size: 14px;
    background: #fff; cursor: pointer;
}

.mentions h3 { font-size: 15px; margin-bottom: 10px; }
.mention-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mention-chip { padding: 8px 15px; border: 1px solid #c9c9cf; border-radius: 999px; font-size: 14px; }
.mention-chip:hover { text-decoration: none; border-color: var(--ink); }
.mention-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --- Review card ---------------------------------------------------------- */

.review-list { display: grid; }
.review { padding: 26px 0; border-top: 1px solid var(--line-soft); }
.review:first-child { border-top: 0; padding-top: 6px; }
.review:target { background: #fffbe9; border-radius: var(--radius); padding-inline: 14px; }

.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar {
    width: 40px; height: 40px; border-radius: 50%; flex: none; color: #fff;
    display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.avatar-sm { width: 30px; height: 30px; font-size: 11px; }
.review-who { display: flex; flex-direction: column; min-width: 0; }
.author-name { font-weight: 700; font-size: 15px; }
.author-meta { font-size: 12.5px; color: var(--muted); }
.review-date { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }

.review-title { font-size: 17px; font-weight: 700; margin: 12px 0 6px; }
.review-body { color: var(--text); font-size: 15px; line-height: 1.6; white-space: pre-line; margin-bottom: 12px; }

.review-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-flat { font-size: 12px; color: #4a4a4a; background: #f3f3f5; border-radius: 4px; padding: 4px 9px; }

.reply { margin-top: 14px; padding: 14px 16px; background: #f7f7f8; border-radius: 8px; border-left: 3px solid var(--green); }
.reply-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; margin-bottom: 6px; color: var(--muted); }
.reply-head strong { color: var(--text); }
.reply p { margin: 0; font-size: 14px; }

.review-actions { display: flex; gap: 18px; align-items: center; margin-top: 14px; }
.useful-form { display: inline; }
.act {
    display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none;
    font: inherit; font-size: 13px; color: #4a4a4a; cursor: pointer;
}
.act:hover { text-decoration: underline; }
.act svg { width: 15px; height: 15px; fill: #6b6b6b; }
.act-count { font-weight: 700; }

.empty { text-align: center; padding: 48px 0; color: var(--muted); }

.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; padding-top: 26px; flex-wrap: wrap; }
.pagination a {
    min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #c9c9cf; border-radius: 8px; font-size: 14px;
}
.pagination a:hover { border-color: var(--ink); text-decoration: none; }
.pagination a.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --- Forms (write a review, thanks, 404) ---------------------------------- */

.form-wrap { padding: 8px 0 40px; max-width: 760px; }
.form-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-panel.center { text-align: center; }
.back-link { font-size: 13px; color: var(--muted); display: inline-block; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

.review-form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select {
    padding: 12px 14px; border: 1px solid #c9c9cf; border-radius: 8px; font: inherit; font-size: 15px; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--star-1); }
.err { color: var(--star-1); font-size: 12px; }

.rate-field { border: 0; padding: 0; margin: 0; }
.rate-field legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.rate-picker { display: flex; align-items: center; gap: 8px; }
.rate-star { cursor: pointer; width: 46px; height: 46px; border-radius: 4px; background: #dcdce6; display: grid; place-items: center; transition: .12s ease; }
.rate-star input { display: none; }
.rate-star svg { width: 100%; height: 100%; fill: #fff; }
.rate-star:hover { transform: translateY(-2px); }
.rate-word { font-size: 15px; font-weight: 700; margin-left: 10px; }

.fineprint { font-size: 12px; color: var(--muted); }
.notice-green { background: rgba(0, 182, 122, .08); border-radius: 8px; padding: 14px 16px; font-size: 14px; margin-bottom: 18px; }

.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 18px; }
.alert-danger { background: rgba(255, 55, 34, .08); border: 1px solid rgba(255, 55, 34, .3); color: #a52014; }
.alert-success { background: rgba(0, 182, 122, .1); border: 1px solid rgba(0, 182, 122, .35); color: #04684a; }

.thanks-star { width: 72px; height: 72px; margin: 0 auto 18px; background: var(--green); border-radius: 8px; display: grid; place-items: center; }
.thanks-star svg { width: 100%; height: 100%; fill: #fff; }

/* --- Footer --------------------------------------------------------------- */

.site-footer { background: var(--ink); color: #d7d7db; padding: 40px 0 28px; font-size: 14px; }
.site-footer .brand { font-size: 22px; }

.footer-legal-note { max-width: 780px; margin: 22px 0 0; font-size: 12.5px; color: #9a9aa3; line-height: 1.5; }
.footer-legal-note a { color: #d7d7db; text-decoration: underline; }

.country-picker { margin: 22px 0 34px; display: grid; gap: 8px; justify-items: start; }
.country-picker label { font-size: 14px; color: #fff; }
.country-field {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border-radius: 8px; padding-left: 12px; min-width: 260px;
}
.country-flag { font-size: 16px; line-height: 1; }
.country-picker select {
    flex: 1; padding: 11px 32px 11px 2px; border: 0; border-radius: 8px; background: transparent;
    color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; appearance: none;
}
.country-picker select:focus { outline: none; }
.country-field::after {
    content: ""; position: absolute; right: 14px; width: 8px; height: 8px; pointer-events: none;
    border-right: 1.6px solid #4a4a4e; border-bottom: 1.6px solid #4a4a4e; transform: translateY(-2px) rotate(45deg);
}

.store-badges { display: grid; gap: 8px; margin-top: 18px; justify-items: start; }
.store-badge {
    display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px;
    border: 1px solid #55555a; border-radius: 7px; background: #000; color: #fff;
}
.store-badge:hover { text-decoration: none; border-color: #8d8d96; }
.store-badge svg { width: 20px; height: 20px; fill: #fff; }
.store-badge span { display: grid; line-height: 1.15; font-size: 14px; font-weight: 600; }
.store-badge em { font-style: normal; font-size: 9px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }

.socials-empty { font-size: 12.5px; color: #8d8d96; margin: 0; max-width: 200px; }
.socials-empty a { color: #b9b9c0; text-decoration: underline; }

.page-body { font-size: 15px; line-height: 1.7; max-width: 70ch; }

.footer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: #b9b9c0; font-size: 14px; }
.footer-col a:hover { color: #fff; }

.socials { display: grid; gap: 10px; justify-items: start; }
.social { width: 26px; height: 26px; display: grid; place-items: center; padding: 0; }
.social svg { width: 20px; height: 20px; fill: #d7d7db; }
.social:hover svg { fill: #fff; }

.footer-bottom {
    border-top: 1px solid #333; margin-top: 34px; padding-top: 20px;
    display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; color: #8d8d96; font-size: 13px;
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: #b9b9c0; }
.footer-legal a:hover { color: #fff; }
.footer-copy { margin-left: auto; }

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1100px) {
    .two-col { grid-template-columns: 1fr; }
    .col-right { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .reviews-grid { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
}

@media (max-width: 860px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .filter-rail { position: static; }
}

@media (max-width: 720px) {
    h1 { font-size: 26px; }
    .wrap { width: calc(100% - 28px); }
    .topbar-inner { height: auto; padding: 12px 0; flex-wrap: wrap; gap: 12px; }
    .topsearch { order: 3; max-width: none; flex-basis: 100%; }
    .topnav { gap: 12px; font-size: 14px; }
    .topnav a:not(.btn) { display: none; }
    .page-wrapper { padding: 24px 0 40px; border-radius: 16px 16px 0 0; }
    .company-head { flex-direction: column; gap: 16px; }
    .company-logo { width: 68px; height: 68px; }
    .field-row { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: 1fr 1fr; gap: 22px; }
    .footer-copy { margin-left: 0; }
    .form-panel { padding: 22px; }
    .review-date { margin-left: 0; }
    .review-head { flex-wrap: wrap; }
}
