:root {
    font-size: 100%;
    --main-color: #16161a;
    --light-color: #16161a;
    --dark-color: rgba(22, 22, 26, 0.85);
    --dark-bg-color: #ffffff;
    /* Orange accent (Tinder-style). Names kept as --gold* for backward compat. */
    --gold: #ff5a1f;
    --gold-dim: #ff3d00;
    --orange: #ff5a1f;
    --orange-grad: linear-gradient(135deg, #ff7a00 0%, #ff3d00 100%);
    --bg: #f6f6f9;
    --bg-card: #ffffff;
    --bg-raised: #f1f1f5;
    --text: #16161a;
    --text-muted: #6c6c77;
    --border: rgba(0, 0, 0, .09);
    --r: 16px;
    --shadow: 0 8px 24px rgba(20,20,30,.10);
    --transition: .22s ease;
}

html {
    height: 100%;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    font-size: 62.5%;
}

/* Brand the default browser blue: tap-highlight flash + keyboard focus ring → orange */
a { -webkit-tap-highlight-color: rgba(255,90,31,.25); }
a:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}
a:focus:not(:focus-visible) { outline: none; }

body {
    color: var(--text);
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--light-color);
    margin: 0;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -.01em;
}

.dark-text { color: var(--dark-color) !important; }
.light-text { color: var(--light-color) !important; }

/* ════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════ */

.header {
    position: sticky; top: 0; z-index: 50;
    background-color: rgba(255,255,255,.82) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(20,20,30,.05);
    font-family: 'Inter', sans-serif;
}

.header .logo,
.header .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text) !important;
    letter-spacing: -.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-mark {
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--orange-grad);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255,77,0,.3);
}
.brand-text { color: var(--text); }

.header a,
.header .nav-link {
    color: var(--text-muted) !important;
    font-size: .86rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    transition: color var(--transition), background var(--transition);
    padding: .5rem .9rem;
    border-radius: 999px;
}
.header a:hover,
.header .nav-link:hover { color: var(--text) !important; background: var(--bg-raised); }

.header .nav-link.active,
.header a.active { color: #fff !important; background: var(--orange-grad); }

.header .dropdown-menu {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(20,20,30,.16);
    padding: .4rem 0;
    margin-top: 6px;
}
.header .dropdown-item {
    color: var(--text-muted) !important;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    padding: .5rem 1rem;
    transition: background var(--transition), color var(--transition);
}
.header .dropdown-item:hover {
    background: var(--bg-raised);
    color: var(--orange) !important;
}

/* ── Hamburger ── */
@media (min-width: 768px) {
    .navbar-toggler { display: none !important; }
}
@media (max-width: 767.98px) {
    .navbar-toggler { display: flex !important; }
}
.navbar-toggler {
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255,90,31,.25) !important;
    outline: none !important;
}
.navbar-toggler-icon { display: none !important; }

.tog-bar {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    min-height: 2px !important;
    background: var(--text) !important;
    border-radius: 2px !important;
    transition: transform .25s ease, opacity .2s ease !important;
    transform-origin: center !important;
    flex-shrink: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}
.navbar-toggler:not(.collapsed) .tog-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
}
.navbar-toggler:not(.collapsed) .tog-bar:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
}
.navbar-toggler:not(.collapsed) .tog-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
}

/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */

.footer {
    background-color: #ffffff !important;
    border-top: 1px solid var(--border);
    color: var(--text-muted) !important;
    font-size: .8rem;
    line-height: 1.8;
    padding: 2rem 1rem !important;
    box-shadow: none !important;
    margin-top: auto;
    text-align: center;
}
.footer::before {
    content: '';
    display: block;
    height: 3px; width: 48px;
    border-radius: 999px;
    background: var(--orange-grad);
    margin: 0 auto 1.2rem;
}
.footer a {
    color: var(--orange) !important;
    text-decoration: none;
    font-weight: 600;
    transition: opacity var(--transition);
}
.footer a:hover { opacity: .75; text-decoration: underline; }

/* ════════════════════════════════════════════════════
   LEGACY / ОБЩИЕ
   ════════════════════════════════════════════════════ */

.catalog-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.catalog-item {
    position: relative;
    width: 282px;
    height: 420px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-item__details {
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--dark-color);
    font-size: small;
    color: var(--main-color);
    height: 120px;
    display: flex;
    flex-direction: column;
}
.catalog-item__details ul { display: inline-flex; padding: 0; margin: 0; }
.catalog-item__details li { list-style: none; display: inline-block; margin: 0; }

.parameters-down {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border: solid 1px var(--main-color);
}
.parameters-down span { font-size: small; color: var(--main-color); }

.detail-image {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-text { padding: 20px; color: var(--main-color); font-size: small; }

.title-wrapper { text-align: center; margin: 20px auto; }

.like-btn {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50px;
    color: #fff;
    padding: 5px 13px;
    font-size: .82rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background var(--transition), border-color var(--transition);
}
.like-btn:hover,
.like-btn.liked { background: var(--gold); border-color: var(--gold); color: #fff; }
.like-icon { font-size: 1rem; line-height: 1; color: inherit; transition: color 0.2s; }
.like-count { color: inherit; transition: color 0.2s; }

.spisok-uslug li { list-style: none; padding: 0; margin: 0; color: var(--main-color); }
.spisok-uslug li a { color: var(--dark-color); text-decoration: none; }
.uslug { color: var(--light-color) !important; text-decoration: none; }
del { color: var(--dark-color); }

.page-wrap { padding: 2rem 0 4rem; }

/* ════════════════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════════════════ */

.main-photo {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 20px 50px rgba(0,0,0,.55);
}
.main-photo img { width: 100%; display: block; transition: transform .4s ease; }
.main-photo:hover img { transform: scale(1.02); }

.thumb-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 6px;
}
.thumb-row a { border-radius: 7px; overflow: hidden; display: block; background: var(--bg-card); }
.thumb-row img { width: 100%; height: 90px; object-fit: cover; transition: transform .3s ease, opacity .3s; }
.thumb-row a:hover img { transform: scale(1.06); opacity: .9; }

.video-wrap { margin-top: 8px; border-radius: var(--r); overflow: hidden; background: var(--bg-card); }
.video-wrap video { width: 100%; display: block; }

/* ════════════════════════════════════════════════════
   DETAIL PAGE — INFO
   ════════════════════════════════════════════════════ */

.profile-name {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
    margin: 0 0 .25rem;
}
.profile-sub {
    font-size: .78rem;
    color: var(--text-muted);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.phone-wrap { margin-bottom: 1.1rem; }
.phone-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: .02em;
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.phone-link:hover { color: var(--gold-dim); }

.phone-reveal-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 6px;
    font-size: .9rem; font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}
.phone-reveal-btn:hover {
    background: var(--gold);
    color: #fff;
}

.messengers { display: flex; gap: 8px; margin-bottom: 1.2rem; }
.msg-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: border-color var(--transition), background var(--transition);
}
.msg-btn:hover { background: var(--gold); border-color: var(--gold); }
.msg-btn img { width: 24px; height: 24px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.1rem; }
.badge-pill {
    display: inline-flex; align-items: center;
    padding: 5px 15px; border-radius: 50px;
    font-size: .75rem; font-weight: 600;
    letter-spacing: .07em; text-transform: uppercase;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}
.badge-apt  { background: rgba(255,90,31,.1); color: var(--gold); border: 1px solid rgba(255,90,31,.35); }
.badge-vyezd{ background: rgba(100,160,220,.1); color: #6da4d8;     border: 1px solid rgba(100,160,220,.3); }
.badge-apt:hover   { background: var(--gold); color: #fff; }
.badge-vyezd:hover { background: #6da4d8;     color: #fff; }

.calltime { font-size: .82rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.calltime strong { color: var(--text); }

.owner-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.4rem; }
.owner-btns .btn {
    font-size: .78rem; padding: 5px 14px;
    border-color: var(--border); color: var(--text-muted);
    background: transparent; border-radius: 6px;
    transition: border-color var(--transition), color var(--transition);
}
.owner-btns .btn:hover { border-color: var(--gold); color: var(--gold); }

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    margin-bottom: 1.6rem;
}
.price-card table { width: 100%; margin: 0; border-collapse: collapse; }
.price-card thead th {
    background: var(--bg-raised);
    color: var(--text-muted);
    font-size: .7rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    padding: .6rem 1rem;
    border-bottom: 1px solid var(--border);
}
.price-card tbody td {
    padding: .6rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: .88rem;
}
.price-card tbody tr:last-child td { border-bottom: none; }
.price-card .row-lbl { color: var(--text-muted); font-size: .8rem; }
.price-val { color: var(--gold); font-weight: 700; }

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
    margin-bottom: 1.4rem;
}
.spec-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: .42rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .87rem;
}
.spec-label { color: var(--text-muted); }
.spec-value { color: var(--text); font-weight: 500; text-align: right; }
.spec-value a { color: var(--gold); text-decoration: none; }
.spec-value a:hover { text-decoration: underline; }

.story-card {
    background: var(--bg-card);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--r) var(--r) 0;
    padding: 1.1rem 1.4rem;
    font-size: .9rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* ── Выезд ── */
.vyezd-list { margin-bottom: 1.2rem; }
.vyezd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.vyezd-chip {
    display: inline-flex; align-items: center;
    padding: 4px 13px; border-radius: 50px;
    font-size: .74rem; font-weight: 500;
    border: 1px solid rgba(100,160,220,.3);
    color: #6da4d8; background: rgba(100,160,220,.08);
}
.vyezd-comment {
    font-size: .78rem; color: var(--text-muted);
    font-style: italic; align-self: center;
}


/* ════════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════════ */

.services-wrap {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 3rem 0 3.5rem;
    margin-top: 3rem;
}
.services-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.9rem; font-weight: 700;
    color: var(--text);
    margin-bottom: 2rem;
    position: relative; display: inline-block;
}
.services-title::after {
    content: '';
    position: absolute; bottom: -6px; left: 0;
    width: 36px; height: 2px;
    background: var(--gold);
}

.svc-cat { margin-bottom: 2rem; }
.svc-cat-title {
    font-size: .68rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .7rem; padding-bottom: .5rem;
    border-bottom: 1px solid var(--border);
}
.svc-list { list-style: none; padding: 0; margin: 0; }
.svc-list li {
    padding: .32rem 0;
    border-bottom: 1px solid rgba(255,90,31,.06);
    font-size: .87rem; line-height: 1.4;
}
.svc-list li:last-child { border-bottom: none; }
.svc-list a { color: var(--text); text-decoration: none; transition: color var(--transition); }
.svc-list a:hover { color: var(--gold); }
.svc-price {
    margin-left: 6px;
    background: rgba(255,90,31,.1); color: var(--gold);
    border-radius: 4px; padding: 1px 6px;
    font-size: .74rem; font-weight: 700;
}
.svc-comment { font-size: .77rem; color: var(--text-muted); margin: 2px 0 0; line-height: 1.4; }

/* ════════════════════════════════════════════════════
   CATALOG PAGE
   ════════════════════════════════════════════════════ */

.catalog-page { padding: 2rem 0 4rem; }

.catalog-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--text);
    text-transform: none;
    letter-spacing: -.02em;
    margin: 0 0 .3rem;
}
.catalog-heading::after {
    content: '';
    display: block; height: 3px; width: 48px; border-radius: 999px;
    background: var(--orange-grad); margin-top: 10px;
}

.filter-accordion {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    margin-bottom: 1.8rem;
    overflow: hidden;
}
.filter-toggle {
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem 1.2rem;
    cursor: pointer; user-select: none;
    background: var(--bg-raised);
    border: none; width: 100%;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: .82rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    transition: background var(--transition);
}
.filter-toggle:hover { background: #e9e9ef; }
.filter-toggle-label { display: flex; align-items: center; gap: 8px; }
.filter-toggle-label svg { color: var(--gold); }
.filter-arrow { transition: transform .25s ease; color: var(--text-muted); }
.filter-toggle[aria-expanded="true"] .filter-arrow { transform: rotate(180deg); }

.filter-body {
    display: none;
    padding: 1.2rem 1.4rem 1.4rem;
    border-top: 1px solid var(--border);
}
.filter-body.open { display: block; }

.filter-group-label {
    font-size: .68rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--gold); margin-bottom: .6rem;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.filter-chip {
    display: inline-flex; align-items: center;
    padding: 4px 13px; border-radius: 50px;
    font-size: .74rem; font-weight: 500;
    border: 1px solid var(--border);
    color: var(--text-muted); background: transparent;
    cursor: pointer; text-decoration: none;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.filter-chip:hover,
.filter-chip.active { border-color: var(--orange); color: var(--orange); background: rgba(255,90,31,.08); }

.filter-apply {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 22px;
    background: var(--orange-grad); color: #fff;
    border: none; border-radius: 999px;
    font-size: .8rem; font-weight: 700;
    letter-spacing: .02em; text-transform: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}
.filter-apply:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(255,77,0,.3); }

.filter-group-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: none; padding: 0;
    cursor: pointer; color: var(--gold);
    font-size: .68rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    margin-bottom: .4rem;
}
.filter-group-toggle .filter-arrow {
    transition: transform .25s ease;
    color: var(--text-muted);
}
.filter-group-toggle[aria-expanded="true"] .filter-arrow {
    transform: rotate(180deg);
}

.filter-services-body {
    display: none;
    border-top: 1px solid var(--border);
    padding-top: .8rem;
    margin-top: .2rem;
}
.filter-services-body.open {
    display: block;
}

.anketa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
/* Wider layout + 5 cards per row on large screens */
@media (min-width: 1200px) {
    .header > .container,
    .catalog-page > .container { max-width: 1320px; }
    .anketa-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1500px) {
    .header > .container,
    .catalog-page > .container { max-width: 1500px; }
}

.anketa-card {
    position: relative;
    border-radius: var(--r); overflow: hidden;
    background: var(--bg-card);
    aspect-ratio: 3 / 4.1;
    box-shadow: var(--shadow);
    isolation: isolate;
    transition: transform .25s ease, box-shadow .25s ease;
}
.anketa-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(20,20,30,.22);
}
.anketa-card__photo-link {
    position: absolute; inset: 0; z-index: 0; display: block;
}
.anketa-card__img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
}
.anketa-card__overlay {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top,
        rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 32%, rgba(0,0,0,0) 58%);
}

.card-status-badges {
    position: absolute; top: 12px; left: 12px; right: 58px;
    display: flex; flex-wrap: wrap; gap: 6px; z-index: 3;
}
.card-badge-vip, .card-badge-top, .card-badge-verified, .card-badge-video {
    padding: 5px 10px; border-radius: 999px;
    font-size: .6rem; font-weight: 800;
    letter-spacing: .3px; text-transform: uppercase;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    line-height: 1;
}
.card-badge-vip { background: var(--orange-grad); color: #fff; }
.card-badge-top { background: rgba(255,255,255,.2); color: #fff; }
.card-badge-verified { background: rgba(34,197,94,.92); color: #06210f; }
.card-badge-video { background: rgba(0,0,0,.5); color: #fff; }

.anketa-card .like-btn {
    position: absolute; top: 10px; right: 10px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0,0,0,.42);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border: 0; color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    font-size: 1.1rem; line-height: 1; cursor: pointer; z-index: 4;
    transition: background .18s, transform .18s, color .18s;
}
.anketa-card .like-btn:hover { background: rgba(0,0,0,.6); transform: scale(1.08); }
.anketa-card .like-btn.liked { color: var(--orange); }
.anketa-card .like-count { font-size: .55rem; font-weight: 700; }

.anketa-card__info {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 16px 16px 15px; z-index: 2; color: #fff;
}
.anketa-card__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem; font-weight: 800; letter-spacing: -.3px;
    color: #fff; text-decoration: none;
    display: flex; align-items: baseline; gap: 8px;
    line-height: 1.1; margin-bottom: 7px;
}
.anketa-card__name:hover { color: #fff; }
.anketa-card__name .age { font-weight: 600; color: rgba(255,255,255,.85); font-size: 1.05rem; }

.anketa-card__metro {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,.82); font-size: .78rem; font-weight: 500; margin-bottom: 11px;
}
.anketa-card__metro svg { flex-shrink: 0; color: #fff; opacity: .8; }
.anketa-card__metro a { color: rgba(255,255,255,.82); text-decoration: none; }
.anketa-card__metro a:hover { color: #fff; text-decoration: underline; }

.anketa-card__params {
    display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 13px;
}
.param-chip {
    font-size: .66rem; font-weight: 600;
    background: rgba(255,255,255,.14);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    border-radius: 8px; padding: 4px 9px;
    display: flex; gap: 4px; align-items: center;
}
.param-chip span:first-child { color: rgba(255,255,255,.7); }
.param-chip span:last-child  { color: #fff; font-weight: 700; }

.anketa-card__foot { display: flex; align-items: center; justify-content: space-between; }
.anketa-card__price { display: flex; align-items: baseline; gap: 4px; margin: 0; }
.price-label { font-size: .62rem; color: rgba(255,255,255,.65); font-weight: 600; text-transform: lowercase; letter-spacing: 0; }
.price-amount { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 800; color: #ff8a4d; }
.price-unit { font-size: .8rem; color: #ff8a4d; font-weight: 700; }
.anketa-card__cta {
    position: relative; z-index: 1;
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    background: var(--orange-grad); color: #fff; text-decoration: none;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    box-shadow: 0 6px 16px rgba(255,77,0,.45);
    transition: transform .18s ease;
}
.anketa-card__cta:hover { color: #fff; transform: scale(1.08); }

.catalog-pagination {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 6px;
    margin-top: 2.5rem;
}
.catalog-pagination .page-link {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 6px; padding: 6px 14px; font-size: .8rem;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.catalog-pagination .page-link:hover {
    border-color: var(--orange); color: var(--orange); background: rgba(255,90,31,.07);
}
.catalog-pagination .page-item.active .page-link {
    background: var(--orange-grad); border-color: transparent; color: #fff; font-weight: 700;
}

/* Top SEO text — sits between H1 and the filter */
.seo-top-text {
    font-size: .9rem; line-height: 1.75; color: var(--text-muted);
    max-width: 900px;
}
.seo-top-text p { margin: 0 0 .7rem; }
.seo-top-text h2, .seo-top-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem; font-weight: 700; color: var(--text);
    margin: 1rem 0 .4rem;
}
.seo-top-text a { color: var(--orange); text-decoration: none; font-weight: 600; }
.seo-top-text a:hover { text-decoration: underline; }

.seo-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.5rem 1.8rem; margin-top: 2.5rem;
    font-size: .87rem; line-height: 1.8; color: var(--text-muted);
}
.seo-block a { color: var(--orange); text-decoration: none; font-weight: 600; }
.seo-block a:hover { text-decoration: underline; }
.seo-block h2,
.seo-block h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem; font-weight: 700;
    color: var(--text); text-transform: none;
    margin: 1rem 0 .4rem;
}
.seo-block.seo-block h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    text-transform: none;
    margin: 1rem 0 .4rem;
}
/* ════════════════════════════════════════════════════
   FAQ — accordion
   ════════════════════════════════════════════════════ */

.faq { margin: 2rem 0; }

.faq h2, .faq h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem; font-weight: 800;
    color: var(--text); text-transform: none;
    margin-bottom: 1.2rem;
    display: inline-block; position: relative;
}
.faq h2::after, .faq h4::after {
    content: ''; display: block;
    height: 3px; width: 40px; border-radius: 999px;
    background: var(--orange-grad); margin-top: 8px;
}

/* NB: markup uses Bootstrap-5-style class names (accordion-button, card-header,
   accordion-collapse...) but the project ships Bootstrap 4.6.2, which defines
   none of that component — .card-header is a real BS4 class with its own
   default background, and .accordion-button has no built-in styling at all
   (no ::after content/box). Everything below is built from scratch. */
.faq .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
    margin-bottom: 8px; overflow: hidden;
    box-shadow: var(--shadow);
}
.faq .card-header {
    background: transparent;
    border-bottom: none;
    padding: 0;
}
.faq .accordion-header { margin: 0; }
.faq .accordion-button {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; width: 100%; text-align: left;
    background: var(--bg-card);
    color: var(--text);
    font-size: .9rem; font-weight: 600;
    padding: 1rem 1.2rem;
    box-shadow: none !important; border: none; outline: none;
    cursor: pointer;
    transition: color var(--transition);
}
.faq .accordion-button:hover { color: var(--orange); }
.faq .accordion-button:not(.collapsed) {
    background: var(--bg-card); color: var(--orange);
    box-shadow: none !important;
}
.faq .accordion-button::after {
    content: '';
    flex-shrink: 0;
    width: 14px; height: 14px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform .25s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236c6c77'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff5a1f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq .accordion-collapse { border-top: 1px solid var(--border); }
.faq .accordion-body {
    background: var(--bg-card);
    color: var(--text-muted) !important;
    font-size: .87rem; line-height: 1.75;
    padding: 0 1.2rem 1.1rem;
}
.faq .accordion-body.dark-text { color: var(--text-muted) !important; }

/* ════════════════════════════════════════════════════
   DETAIL PAGE — специфичные классы
   ════════════════════════════════════════════════════ */

.page-body { padding: 24px 0 60px; }

.update-date {
    font-size: .74rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Галерея — боковые миниатюры */
.thumbs-list {
    display: flex; flex-direction: column; gap: 6px;
    width: 80px; flex-shrink: 0;
}
.thumbs-list a {
    display: block; border-radius: 4px; overflow: hidden;
    border: 2px solid transparent;
    transition: border-color .2s;
}
.thumbs-list a:hover,
.thumbs-list a.active { border-color: var(--gold); }
.thumbs-list img { width: 80px; height: 60px; object-fit: cover; display: block; }

.main-photo-area { display: flex; gap: 8px; align-items: flex-start; }
.main-photo-wrap {
    flex: 1; position: relative;
    border-radius: var(--r); overflow: hidden;
    background: var(--bg-card);
}
.main-photo-wrap img { width: 100%; display: block; }

.photo-count-badge {
    position: absolute; bottom: 10px; left: 10px;
    background: rgba(0,0,0,.6);
    color: #fff; font-size: .75rem; font-weight: 600;
    padding: 3px 10px; border-radius: 4px;
    display: flex; align-items: center; gap: 5px;
}
.photo-count-badge svg { width: 13px; height: 13px; }

.fancybox-hidden { display: none; }

/* Шапка профиля */
.profile-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 10px;
}
.profile-num { color: var(--text-muted); font-size: .78rem; font-weight: 500; }

.profile-desc {
    font-size: .88rem; color: var(--text-muted);
    margin-bottom: 14px; font-style: italic;
}

/* Телефон */
.phone-row {
    display: flex; align-items: center; gap: 12px;
    flex-wrap: wrap; margin-bottom: 14px;
}

/* Badges */
.badges-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 13px; border-radius: 4px;
    font-size: .74rem; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase;
    border: 1px solid; text-decoration: none;
    transition: background .2s;
}
.tag-apt      { border-color: var(--gold);  color: var(--gold);  background: transparent; }
.tag-vyezd    { border-color: #5b9bd5;      color: #5b9bd5;      background: transparent; }
.tag-verified { border-color: #27ae60;      color: #27ae60;      background: transparent; }
.tag-apt:hover      { background: var(--gold);  color: #fff; }
.tag-vyezd:hover    { background: #5b9bd5;      color: #fff; }
.tag-verified:hover { background: #27ae60;      color: #fff; }
.tag-calltime { font-size: .78rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.tag-calltime strong { color: var(--text); }

/* Owner row */
.owner-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.owner-row .btn {
    font-size: .75rem; padding: 4px 12px;
    border: 1px solid var(--border);
    color: var(--text-muted); background: transparent;
    border-radius: 4px;
    transition: border-color var(--transition), color var(--transition);
}
.owner-row .btn:hover { border-color: var(--gold); color: var(--gold); }

/* Характеристики */
.chars-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.chars-table td {
    padding: 5px 6px;
    border-bottom: 1px solid var(--border);
    font-size: .82rem;
}
.chars-table .char-label { color: var(--text-muted); width: 38%; }
.chars-table .char-value { font-weight: 600; text-transform: uppercase; font-size: .78rem; color: var(--text); }
.chars-table .char-value a { color: var(--gold); text-decoration: none; }
.chars-table .char-value a:hover { text-decoration: underline; }

/* Цены */
.prices-section { margin-bottom: 20px; }
.section-title {
    font-size: .7rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--text-muted);
    margin-bottom: 10px; padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
    display: inline-block;
}

.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    padding: 6px 10px;
    font-size: .72rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--text-muted); text-align: left;
}
.price-table td {
    border: 1px solid var(--border);
    padding: 7px 10px; font-size: .82rem;
    color: var(--text);
}
.price-table .row-lbl {
    font-size: .78rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 6px;
}
.price-dash { color: var(--text-muted); }

/* Услуги на детальной */
.services-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px 24px;
    margin-top: 28px;
}
.services-section .section-title { margin-bottom: 16px; }

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0 28px;
}
.svc-cat-name {
    font-size: .68rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 7px; padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
}

/* История */
.story-section {
    background: var(--bg-card);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--r) var(--r) 0;
    padding: 16px 20px;
    font-size: .88rem; line-height: 1.75;
    color: var(--text-muted);
    margin-top: 16px;
}
.story-section p { margin: 0 0 .5em; }
.story-section p:last-child { margin: 0; }

/* ════════════════════════════════════════════════════
   REVIEWS
   ════════════════════════════════════════════════════ */

.reviews-section {
    margin-top: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.5rem 1.8rem;
}

.reviews-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 1.4rem;
}
.reviews-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem; font-weight: 700;
    color: var(--text);
    position: relative; display: inline-block;
}
.reviews-title::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 30px; height: 2px;
    background: var(--gold);
}
.reviews-count {
    background: rgba(255,90,31,.12);
    color: var(--gold);
    font-size: .72rem; font-weight: 700;
    padding: 2px 8px; border-radius: 50px;
    border: 1px solid rgba(255,90,31,.3);
}

/* Список */
.reviews-list { margin-bottom: 2rem; }

.review-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.review-item:last-child { border-bottom: none; }

.review-top {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap; margin-bottom: .5rem;
}
.review-author {
    font-weight: 600; font-size: .85rem;
    color: var(--text);
}
.review-stars { display: flex; gap: 1px; line-height: 1; }
.review-stars .star       { color: var(--text-muted); font-size: 1rem; }
.review-stars .star.filled{ color: var(--gold);       font-size: 1rem; }
.review-date {
    font-size: .73rem; color: var(--text-muted);
    margin-left: auto;
}
.review-text {
    font-size: .87rem; line-height: 1.7;
    color: var(--text-muted);
}

/* Пусто */
.reviews-empty {
    font-size: .85rem; color: var(--text-muted);
    padding: 1rem 0; margin-bottom: 1.5rem;
}

/* Форма */
.review-form-wrap {
    border-top: 1px solid var(--border);
    padding-top: 1.4rem;
    margin-top: .5rem;
}
.review-form-title {
    font-size: .7rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1rem;
}

.form-label-dark {
    display: block;
    font-size: .74rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .35rem;
}

.form-control-dark {
    background: var(--bg-raised) !important;
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    color: var(--text) !important;
    font-size: .85rem !important;
    padding: .5rem .8rem !important;
    margin-bottom: .8rem !important;
    transition: border-color var(--transition) !important;
    width: 100%;
}
.form-control-dark::placeholder { color: var(--text-muted) !important; }
.form-control-dark:focus {
    border-color: rgba(255,90,31,.5) !important;
    box-shadow: 0 0 0 3px rgba(255,90,31,.1) !important;
    outline: none !important;
    background: var(--bg-raised) !important;
    color: var(--text) !important;
}

.form-select-dark {
    background: var(--bg-raised) !important;
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    color: var(--text) !important;
    font-size: .85rem !important;
    padding: .5rem .8rem !important;
    width: 100%;
    cursor: pointer;
    transition: border-color var(--transition) !important;
    /* Стрелка */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ff5a1f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right .7rem center !important;
    background-size: 14px !important;
    -webkit-appearance: none;
    appearance: none;
}
.form-select-dark:focus {
    border-color: rgba(255,90,31,.5) !important;
    box-shadow: 0 0 0 3px rgba(255,90,31,.1) !important;
    outline: none !important;
}
.form-select-dark option { background: #ffffff; color: var(--text); }

.review-submit-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 22px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 6px;
    font-size: .78rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}
.review-submit-btn:hover {
    background: var(--gold);
    color: #fff;
}

/* ════════════════════════════════════════════════════
   LATEST REVIEWS (главная)
   ════════════════════════════════════════════════════ */

.latest-reviews {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.latest-reviews__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem; font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    position: relative; display: inline-block;
}
.latest-reviews__title::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 30px; height: 2px;
    background: var(--gold);
}
.latest-reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.latest-review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1rem 1.2rem;
    transition: border-color var(--transition);
}
.latest-review-card:hover {
    border-color: rgba(255,90,31,.35);
}
.latest-review-card__top {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: .35rem;
}
.latest-review-card__name {
    font-weight: 700; font-size: .9rem;
    color: var(--gold);
    text-decoration: none;
    transition: opacity var(--transition);
}
.latest-review-card__name:hover { color: var(--gold); opacity: .8; }

.latest-review-card__stars { display: flex; gap: 1px; }
.latest-review-card__stars .star        { color: var(--text-muted); font-size: .9rem; }
.latest-review-card__stars .star.filled { color: var(--gold);       font-size: .9rem; }

.latest-review-card__author {
    font-size: .72rem; color: var(--text-muted);
    margin-bottom: .5rem;
}
.latest-review-card__text {
    font-size: .83rem; line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: .6rem;
}
.latest-review-card__date {
    font-size: .7rem; color: var(--text-muted);
    opacity: .7;
}

/* Load more button */
.load-more-wrap { text-align: center; padding: 2rem 0; }
.load-more-btn {
    background: var(--orange-grad);
    border: 0;
    color: #fff;
    padding: 13px 44px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255,77,0,.28);
    transition: transform .18s, box-shadow .18s, opacity .18s;
}
.load-more-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,77,0,.36); }
.load-more-btn:disabled { opacity: .5; cursor: wait; }
.card-badge-video {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
    background: rgba(220, 38, 38, .88);
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 1px 4px rgba(0,0,0,.4);
}

@media (max-width: 767.98px) {
    .navbar-toggler { order: 3; }
    .theme-toggle   { order: 2; }
}
/* ══ Site Reviews Section ══ */
.site-reviews-section {
    margin: 3rem 0 2rem;
}
.site-reviews__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .5rem;
}
.site-reviews__desc {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.site-reviews__empty {
    color: var(--text-muted);
    font-size: .9rem;
    margin-bottom: 1rem;
}
.site-review-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.8rem;
}
.site-review-card + .site-review-card {
    border-top: 1px solid rgba(255,255,255,.06);
}
.site-review-card__header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .6rem;
    flex-wrap: wrap;
}
.site-review-card__name {
    font-weight: 600;
    font-size: .92rem;
    color: var(--text);
}
.site-review-card__stars { display: flex; gap: 1px; }
.site-review-card__stars .star        { color: var(--text-muted); font-size: .95rem; }
.site-review-card__stars .star.filled { color: var(--gold);       font-size: .95rem; }
.site-review-card__date {
    font-size: .72rem;
    color: var(--text-muted);
    margin-left: auto;
    opacity: .7;
}
.site-review-card__text {
    font-size: .87rem;
    line-height: 1.65;
    color: var(--text-muted);
}
.site-review-card__reply {
    margin-top: 1rem;
    padding: .8rem 1rem;
    background: rgba(154, 122, 80, .08);
    border-left: 3px solid var(--gold);
    border-radius: 0 8px 8px 0;
}
.site-review-card__reply-author {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: .4rem;
}
.site-review-card__reply-author::before {
    content: '\2709';
    font-size: .9rem;
}
.site-review-card__reply-text {
    font-size: .85rem;
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}
.site-reviews__load-more-wrap { text-align: center; padding: 1rem 0 1.5rem; }

/* Site review form */
.site-review-form-wrap {
    margin-top: 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 1.5rem;
}
.site-review-form__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.2rem;
}
.star-rating-widget {
    display: flex;
    gap: 4px;
    margin-top: .3rem;
}
.star-pick {
    font-size: 1.8rem;
    color: rgba(150, 140, 130, 0.35);
    cursor: pointer;
    transition: color .15s, transform .12s;
    user-select: none;
    line-height: 1;
}
.star-pick:hover { color: var(--gold); transform: scale(1.2); }
.star-pick.active { color: var(--gold); }
.btn-submit-review {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 10px 36px;
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s;
    margin-top: .5rem;
}
.btn-submit-review:hover   { opacity: .85; }
.btn-submit-review:disabled { opacity: .5; cursor: wait; }
.site-review-success {
    text-align: center;
    padding: 2rem;
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
}

/* ════════════════════════════════════════════════════
   DETAIL — Tinder-style profile hero
   ════════════════════════════════════════════════════ */
.profile-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow);
    isolation: isolate;
}
.profile-hero__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.profile-hero__overlay {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.45) 30%, rgba(0,0,0,0) 56%);
}
.profile-hero__zoom { position: absolute; inset: 0; z-index: 1; display: block; }
.hero-badges {
    position: absolute; top: 14px; left: 14px; z-index: 3;
    display: flex; flex-wrap: wrap; gap: 6px;
}
.profile-hero .like-btn {
    position: absolute; top: 14px; right: 14px;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(0,0,0,.42);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border: 0; color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    font-size: 1.25rem; line-height: 1; cursor: pointer; z-index: 4;
    transition: background .18s, transform .18s, color .18s;
}
.profile-hero .like-btn:hover { background: rgba(0,0,0,.6); transform: scale(1.08); }
.profile-hero .like-btn.liked { color: var(--orange); }
.profile-hero .like-btn .like-count { font-size: .6rem; font-weight: 700; }
.profile-hero .photo-count-badge {
    position: absolute; bottom: 14px; right: 14px; z-index: 3;
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(0,0,0,.5);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    color: #fff; font-size: .72rem; font-weight: 600;
    padding: 6px 11px; border-radius: 999px;
}
.profile-hero__info {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 22px 22px 20px; color: #fff;
}
.profile-hero__name {
    font-family: 'Montserrat', sans-serif; font-weight: 800;
    font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.5px;
    color: #fff; line-height: 1; margin: 0 0 8px;
    display: flex; align-items: baseline; gap: 10px;
}
.profile-hero__name .age { font-weight: 600; font-size: .68em; color: rgba(255,255,255,.85); }
.profile-hero__meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500;
}
.profile-hero__meta a { color: #fff; text-decoration: none; }
.profile-hero__meta a:hover { text-decoration: underline; }
.profile-hero__meta svg { opacity: .85; }
.profile-hero__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.5); }

.hero-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.hero-thumbs a {
    width: 70px; height: 92px; border-radius: 12px; overflow: hidden;
    border: 2px solid transparent; transition: border-color .18s; flex-shrink: 0;
}
.hero-thumbs a:hover { border-color: var(--orange); }
.hero-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (min-width: 992px) {
    .gallery-col .profile-hero { position: sticky; top: 88px; }
}

/* Prominent contact CTA */
.phone-reveal-btn {
    background: var(--orange-grad) !important;
    border: 0 !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 13px 26px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 20px rgba(255,77,0,.3);
}
.phone-reveal-btn:hover { transform: translateY(-1px); }
.phone-link {
    background: var(--orange-grad);
    color: #fff !important;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 1.15rem !important;
}
.phone-link:hover { color: #fff !important; opacity: .92; }
.profile-num--top { color: var(--text-muted); font-size: .8rem; font-weight: 600; margin-bottom: 12px; }

/* ════════════════════════════════════════════════════
   SEARCH FORM (расширенный подбор)
   ════════════════════════════════════════════════════ */
.search-form .container.border {
    background: var(--bg-card);
    border: 1px solid var(--border) !important;
    border-radius: 18px !important;
    box-shadow: var(--shadow);
}
.search-form h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem; font-weight: 800; color: var(--text);
    margin: .2rem 0 1rem;
}
.search-form .col-sm-6 h2 { font-size: .95rem; margin-top: 1.2rem; color: var(--orange); }
.search-form label { color: var(--text-muted); font-size: .85rem; font-weight: 500; }
.search-form .form-control {
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-raised);
    color: var(--text);
    font-size: .9rem;
}
.search-form .form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,90,31,.12);
}
.search-form p { color: var(--text-muted); font-size: .88rem; }

/* Switches → orange */
.search-form .custom-control-label { color: var(--text); font-size: .88rem; font-weight: 500; cursor: pointer; }
.search-form .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--orange) !important;
    border-color: var(--orange) !important;
}
.search-form .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 3px rgba(255,90,31,.15) !important;
}

/* Submit */
.box-btn { text-align: center; margin-top: 1.6rem; }
.main-button {
    background: var(--orange-grad);
    color: #fff; border: 0;
    border-radius: 999px;
    padding: 14px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem; font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(255,77,0,.3);
    transition: transform .18s, box-shadow .18s;
}
.main-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,77,0,.38); }
.main-button .text { color: #fff; }

.search-empty {
    text-align: center; color: var(--text-muted);
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--r); padding: 2.5rem 1.5rem; font-size: .95rem;
}

/* ion-rangeslider — orange skin overrides */
.irs--round .irs-bar { background-color: var(--orange); }
.irs--round .irs-handle { border-color: var(--orange); }
.irs--round .irs-from, .irs--round .irs-to, .irs--round .irs-single { background-color: var(--orange); }
.irs--round .irs-from:before, .irs--round .irs-to:before, .irs--round .irs-single:before { border-top-color: var(--orange); }
.irs--round .irs-line { background: var(--bg-raised); border-color: var(--border); }

/* ════════════════════════════════════════════════════
   AUTH / STATUS pages (login, register, simple messages)
   ════════════════════════════════════════════════════ */
.btn-primary {
    background: var(--orange-grad) !important;
    border-color: transparent !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    padding: .55rem 1.6rem !important;
    box-shadow: 0 8px 20px rgba(255,77,0,.28);
}
.btn-primary:hover, .btn-primary:focus { filter: brightness(1.04); box-shadow: 0 10px 24px rgba(255,77,0,.34); }

.reg-form .form-control,
.reg-form select.form-control {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 10px;
}
.reg-form .form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,90,31,.12);
}
.reg-form label { color: var(--text-muted); font-weight: 600; font-size: .82rem; }

.status-card {
    max-width: 460px;
    margin: 2.5rem auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2.2rem 2rem;
    text-align: center;
}
.status-card__icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; font-size: 1.6rem; font-weight: 800;
}
.status-card--success .status-card__icon { background: rgba(29,138,78,.12); color: #1d8a4e; }
.status-card--error .status-card__icon { background: rgba(192,57,43,.1); color: #c0392b; }
.status-card--info .status-card__icon { background: rgba(255,90,31,.12); color: var(--orange); }
.status-card__title {
    font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.3rem;
    color: var(--text); margin: 0 0 .5rem;
}
.status-card__text { color: var(--text-muted); font-size: .9rem; margin: 0 0 1.4rem; line-height: 1.6; }
.status-card__btn {
    display: inline-block; padding: 11px 28px;
    background: var(--orange-grad); color: #fff !important;
    border-radius: 999px; font-weight: 700; font-size: .88rem;
    text-decoration: none; box-shadow: 0 8px 20px rgba(255,77,0,.3);
}
.status-card__btn:hover { opacity: .92; }

/* ════════════════════════════════════════════════════
   PURCHASE PAGES (buy_vip, to_top, debit)
   ════════════════════════════════════════════════════ */
.purchase-page {
    max-width: 480px;
    margin: 2.5rem auto;
    padding: 1.5rem;
}
.purchase-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text);
    margin: 0 0 1.2rem;
    text-align: center;
}
.purchase-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.6rem;
    box-shadow: var(--shadow);
}
.purchase-balance {
    text-align: center; color: var(--text-muted);
    font-size: .85rem; margin-bottom: 1.2rem;
    padding-bottom: 1.1rem; border-bottom: 1px solid var(--border);
}
.purchase-balance b { color: var(--text); font-size: 1.1rem; }
.purchase-preview {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 1.2rem;
}
.purchase-preview img {
    width: 64px; height: 86px; border-radius: 10px;
    object-fit: cover; flex-shrink: 0;
}
.purchase-preview__name { font-weight: 700; color: var(--text); font-size: .95rem; }
.purchase-preview__name a { color: inherit; text-decoration: none; }
.purchase-preview__name a:hover { color: var(--orange); }
.purchase-info {
    color: var(--text-muted); font-size: .85rem; line-height: 1.6;
    margin-bottom: 1.3rem;
}
.purchase-info b, .purchase-price { color: var(--orange); font-weight: 700; }
.purchase-card .btn-primary,
.purchase-card button[type="submit"] {
    width: 100%;
}
.purchase-notice {
    text-align: center; color: var(--text-muted);
    font-size: .9rem; line-height: 1.7;
}
