html {
    overflow-y: scroll; /* всегда рисуем вертикальный скроллбар */
}

/* ====== CSS-ПЕРЕМЕННЫЕ ====== */
:root {
    --bg: #05060a;
    --bg-elevated: #10131a;
    --bg-soft: #151924;
    --border-subtle: #262b3a;
    --accent: #ffb400;
    --accent-soft: rgba(255, 180, 0, 0.12);
    --accent-hover: #ffc94d;
    --text: #f5f5f5;
    --muted: #9ca3b8;
    --danger: #ff4c4c;
    --radius-card: 16px;
    --shadow-soft: 0 14px 45px rgba(0, 0, 0, 0.55);
    --transition-fast: 0.18s ease-out;
}

/* ====== БАЗА ====== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top, #1b2033 0, #05060a 55%, #020308 100%);
    color: var(--text);
    line-height: 1.6;
}

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

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ====== КОНТЕЙНЕР И СЕТКА ====== */

.container {
    width: min(1180px, 100% - 32px);
    margin: 0 auto;
}

.content {
    padding: 24px 0 40px;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1.1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }
}

/* ====== HEADER / ШАПКА ====== */

.header {
    background: rgba(5, 6, 10, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 12px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
}

/* Логотип */
.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: #fff;
}

.logo-main {
    font-size: 22px;
    font-weight: 700;
}

.logo-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* Навигация */
.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    font-size: 14px;
    color: #e5e7eb;
    padding: 6px 10px;
    border-radius: 999px;
    transition: background .2s, color .2s, border-color .2s;
    border: 1px solid transparent;
}

.nav-link:hover {
    background: rgba(148,163,184,.2);
    color: #fff;
}

.nav-link--active {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: rgba(255, 180, 0, 0.35);
}

/* Бургер для мобильного меню */
.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #fff;
    display: block;
    border-radius: 999px;
}

/* Мобильное меню */
@media (max-width: 768px) {
    .header-inner {
        padding: 8px 0;
    }

    .burger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 60px;
        right: 0;
        left: 0;
        background: #111;
        width: 100%;
        display: none;
        flex-direction: column;
        padding: 15px;
        gap: 12px;
        border-top: 1px solid #222;
        z-index: 50;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 8px 10px;
        border-radius: 8px;
    }
}

/* ====== КНОПКИ ====== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast),
                transform 0.08s ease-out,
                box-shadow 0.12s ease-out;
}

.btn-primary {
    background: var(--accent);
    color: #18120a;
    box-shadow: 0 10px 30px rgba(255, 180, 0, 0.35);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(255, 180, 0, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    border-color: rgba(255, 180, 0, 0.5);
}

.btn-ghost:hover {
    background: var(--accent-soft);
}

.btn-secondary {
    background: #1e2433;
    color: var(--text);
    border-color: #282f43;
}

.btn-secondary:hover {
    background: #252c3f;
}

.btn-full {
    width: 100%;
    background: var(--accent);
    color: #18120a;
    border-color: var(--accent);
}

.btn-full:hover {
    background: var(--accent-hover);
}

.btn-outline {
    border-color: var(--border-subtle);
    color: var(--text);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* ====== HERO ====== */

.hero {
    background: radial-gradient(circle at top left, rgba(255, 180, 0, 0.06), rgba(7, 10, 18, 0.96));
    border-radius: var(--radius-card);
    padding: 20px 20px 18px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero h1 {
    font-size: 22px;
    margin: 0 0 8px;
}

.hero p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
}

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

/* ====== ФИЛЬТРЫ ====== */

.filters {
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    padding: 14px 14px 12px;
    margin-bottom: 18px;
    border: 1px solid var(--border-subtle);
}

.filters-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr) auto;
    gap: 12px;
    align-items: flex-end;
}

@media (max-width: 900px) {
    .filters-row {
        grid-template-columns: 1fr;
    }
}

.filters-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
    letter-spacing: 0.06em;
}

.filters-group input,
.filters-group select {
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: #080a10;
    color: var(--text);
    padding: 7px 10px;
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.filters-group input:focus,
.filters-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(255, 180, 0, 0.4);
    background: #05060a;
}

.filters-age {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 6px;
}

.filters-age span {
    color: var(--muted);
    font-size: 12px;
}

.filters-actions {
    display: flex;
    justify-content: flex-end;
}

/* ====== БЛОКИ КОНТЕНТА ====== */

.page-block {
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    padding: 16px 16px 14px;
    margin-bottom: 18px;
    border: 1px solid var(--border-subtle);
}

.page-title {
    font-size: 20px;
    margin: 0 0 10px;
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.block-title {
    font-size: 18px;
    margin: 0;
}

.block-link {
    font-size: 13px;
    color: var(--accent);
}

.block-link:hover {
    text-decoration: underline;
}

/* ====== СПИСОК ПРОФИЛЕЙ (ГЛАВНАЯ) ====== */

.profile-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

/* НОВЫЙ СЕТ ДЛЯ БОЛЬШИХ КАРТОЧЕК */
.profile-list-21 {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

@media (max-width: 520px) {
    .profile-list-21 {
        grid-template-columns: 1fr !important;
    }
}

/* ====== КАРТОЧКА ПРОФИЛЯ (SMALL / OLD) ====== */

.profile-card-small {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 10px;
    align-items: center;
    transition: border-color var(--transition-fast),
                transform var(--transition-fast),
                box-shadow 0.16s ease-out,
                background var(--transition-fast);
}

.profile-card-small:hover {
    border-color: rgba(255, 180, 0, 0.5);
    background: #191e2b;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

.profile-card-small-photo {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #11141c;
}

.profile-card-small-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card-small-body {
    flex: 1;
    min-width: 0;
}

.profile-card-small-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.profile-card-small-meta {
    font-size: 13px;
    color: var(--muted);
}

.profile-card-small-city {
    font-size: 12px;
    color: var(--muted);
}

/* ====== КАРТОЧКА ПРОФИЛЯ (НОВАЯ БОЛЬШАЯ) ====== */

.profile-card-21 {
    background: #101117;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #1f2126;
    box-shadow: 0 6px 18px rgba(0,0,0,0.55);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.profile-card-21--vip {
    border-color: #f97316;
    box-shadow: 0 0 0 1px rgba(249,115,22,0.5), 0 12px 30px rgba(0,0,0,0.7);
}

.profile-card-21__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.profile-card-21:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.7);
    border-color: #4b5563;
}

/* Фото большое */
.profile-card-21__photo {
    width: 100%;
    height: 400px;
    background: #000;
    overflow: hidden;
}

.profile-card-21__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Тело */
.profile-card-21__body {
    padding: 14px 16px 18px;
    color: #e5e7eb;
}

/* Верхняя строка: имя + онлайн */
.profile-card-21__top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.profile-card-21__title {
    font-size: 19px;
    font-weight: 700;
    color: #f9fafb;
}

/* Онлайн */
.profile-card-21__online {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(16,185,129,0.15);
    color: #6ee7b7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.profile-card-21__online .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
}

/* Телефон */
.profile-card-21__phone {
    margin-top: 6px;
    font-size: 15px;
    color: #e5e7eb;
}

/* Параметры */
.profile-card-21__params {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
}

/* Бейджи статуса */
.profile-card-21__badges {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge-21 {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.badge-21--status {
    background: rgba(59,130,246,0.15);
    color: #bfdbfe;
}

.badge-21--verified {
    background: rgba(16,185,129,0.15);
    color: #bbf7d0;
}

/* Цена */
.profile-card-21__price {
    display: block;
    margin-top: 12px;
    text-align: center;
    padding: 10px 14px;

    background: rgba(255, 180, 0, 0.08);
    border: 1px solid rgba(255, 180, 0, 0.35);
    border-radius: 12px;

    color: #ffcf5a;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 0 12px rgba(255, 180, 0, 0.15);
    transition: background .2s ease, border-color .2s ease,
                box-shadow .2s ease, transform .15s ease;
}

/* Hover — становится ярче */
.profile-card-21__price:hover {
    background: rgba(255, 180, 0, 0.18);
    border-color: rgba(255, 200, 0, 0.55);
    box-shadow: 0 0 16px rgba(255, 180, 0, 0.25);
    transform: translateY(-2px);
}

/* Нажатие */
.profile-card-21__price:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Рейтинг */
.profile-card-21__rating {
    margin-top: 6px;
    font-size: 13px;
    color: #fbbf24;
}

.stars-21 {
    margin-left: 4px;
    font-size: 15px;
}

/* ====== САЙДБАР ====== */

.layout-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-block {
    background: rgba(10, 12, 18, 0.96);
    border-radius: var(--radius-card);
    padding: 14px 14px 12px;
    border: 1px solid var(--border-subtle);
}

.sidebar-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 8px;
}

.sidebar-body {
    font-size: 14px;
}

.muted {
    color: var(--muted);
    font-size: 13px;
}

/* ====== ПОЛНАЯ АНКЕТА (ProfileTemplate) ====== */

.profile-full {
    display: flex;
    flex-direction: column;
    gap: 20px;
}



/* верхняя зона: фото + правая колонка */
.profile-full-top {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 20px;
    background: #181b20;
    border: 1px solid #22252e;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* крупное фото */
.profile-full-photo {
    width: 360px;
    height: 470px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: #050608;
}

.profile-full-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* правая колонка */
.profile-full-head {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px; /* компактнее */
}

/* имя (ПК) */
.profile-full-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
}

/* Варианты заголовка: для ПК и для мобилы */
.profile-full-title--mobile {
    display: none;   /* по умолчанию скрыт (виден только на мобиле) */
}

.profile-full-title--desktop {
    display: block;  /* по умолчанию показываем на ПК */
}

/* строка: слева мета, справа контакты */
.profile-full-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* мета: возраст / город / статус */
.profile-full-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.profile-full-tag {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(148,163,184,0.16);
    color: #e5e7eb;
}

.profile-full-tag--city {
    background: rgba(59,130,246,0.3);
    color: #dbeafe;
}

.profile-full-tag--status {
    background: rgba(248,113,113,0.2);
    color: #fecaca;
}

/* контакты справа */
.profile-full-contacts-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.profile-contact-link {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
    color: #e5e7eb;
    text-decoration: none;
}

/* кнопки WA/TG */
.btn-contact {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-contact--wa {
    background: rgba(16,185,129,0.15);
    border-color: rgba(16,185,129,0.8);
    color: #6ee7b7;
}

.btn-contact--tg {
    background: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.9);
    color: #bfdbfe;
}

/* цена — жирный яркий бейдж */
.profile-full-price {
    display: inline-block;
    margin-top: 6px;
    font-size: 28px;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 12px;
    border: 2px solid #ffb400;
    background: rgba(255,180,0,0.15);
    color: #ffca4d;
    box-shadow: 0 0 12px rgba(255,180,0,0.25);
}

/* блок "О себе" в правой колонке под ценой */
.profile-about-block {
    margin-top: 10px;
}

.profile-section-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 4px;
}

.profile-section-body {
    font-size: 14px;
}

.profile-full-about {
    font-size: 14px;
    line-height: 1.6;
    color: #e5e7eb;
}

/* адаптив полной анкеты */
@media (max-width: 768px) {
    .profile-full-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px; /* маленькое расстояние между элементами */
        padding: 12px;
    }

    /* Мобильное имя — сверху */
    .profile-full-title--mobile {
        display: block;
        margin: 0 0 4px 0;
        font-size: 26px;
        font-weight: 800;
        line-height: 1.2;
    }

    /* Десктопный заголовок прячем */
    .profile-full-title--desktop {
        display: none;
    }

    .profile-full-photo {
        width: 100%;
        max-width: 360px;
        height: auto;
        margin: 0 auto 4px; /* маленький отступ под фото */
    }

    .profile-full-photo img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .profile-full-head {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .profile-full-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .profile-full-contacts-inline {
        justify-content: flex-start;
    }
}


@media (max-width: 480px) {
    .profile-full-price {
        font-size: 24px;
        padding: 6px 14px;
    }
}

/* ====== ФУТЕР ====== */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 12px 0 16px;
    background: rgba(5, 6, 10, 0.96);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
}

.footer-meta {
    opacity: 0.7;
}


.profile-full-price--express {
    margin-top: 6px;
    font-size: 22px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 12px;
    border: 2px solid #f43f5e; /* розовый/красный */
    background: rgba(244,63,94,0.15);
    color: #fda4af;
    box-shadow: 0 0 12px rgba(244,63,94,0.25);
}

.profile-express-price {
    margin-top: 6px;
    font-size: 20px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 10px;

    background: rgba(255, 180, 0, 0.18);     /* мягкий тёмно-жёлтый фон */
    border: 2px solid rgba(255, 180, 0, 0.55); /* темный жёлтый контур */
    color: #ffcf4d;                            /* светло-жёлтый текст */

    box-shadow: 0 0 12px rgba(255, 180, 0, 0.25); /* мягкое свечение */
}

/* ====== БЛОК ДАННЫХ (компактная версия) ====== */

.profile-type-block {
    margin-top: 10px;
}

.profile-type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 10px;               /* было больше — уменьшил */
    padding: 10px 12px;          /* уменьшено */
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;         /* меньше */
    border: 1px solid rgba(255,255,255,0.05);
}

.profile-type-item {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148,163,184,0.25);
    border-radius: 8px;          /* уменьшено */
    padding: 6px 8px;            /* меньше */
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* подпись */
.profile-type-name {
    color: var(--muted);
    font-size: 10px;             /* уменьшено */
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* значение */
.profile-type-value {
    font-weight: 600;
    font-size: 13px;             /* уменьшено */
    color: #f1f1f1;
}

/* планшеты → 2 колонки */
@media (max-width: 900px) {
    .profile-type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* телефоны → 1 колонка */
@media (max-width: 500px) {
    .profile-type-grid {
        grid-template-columns: 1fr;
    }
}

/* ==== БЛОКИ УСЛУГ (КОМПАКТНЫЕ) ==== */

.profile-services-block {
    margin-top: 14px;
}

/* сама коробка с услугами */
.profile-services-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 колонки на ПК */
    gap: 6px 14px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

/* одна строка услуги */
.profile-service-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
    padding: 0;                    /* убрали внутренние отступы */
    background: transparent;       /* без отдельных плашек */
    border: none;                  /* без бордеров на каждом пункте */
}

/* название услуги */
.profile-service-name {
    font-size: 13px;
    color: #e5e7eb;
}

/* цена (и + для доп. услуг) */
.profile-service-price {
    font-size: 13px;
    font-weight: 600;
    color: #ffca4d;
    white-space: nowrap;
}

/* на узких экранах — одна колонка */
@media (max-width: 600px) {
    .profile-services-list {
        grid-template-columns: 1fr;
    }
}

/* Прижимаем блоки услуг к левому краю на ПК */
.profile-services-block {
    width: 100%;
}

.profile-services-list {
    justify-items: start; /* элементы внутри тоже тянутся влево */
}

/* блок, который идёт ПОД фоткой и правой колонкой, на всю ширину */
.profile-full-services {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* чтобы каждый блок услуг растягивался как обычный блок по ширине */
.profile-services-block {
    width: 100%;
}

/* ==== КНОПКА НАЗАД ==== */
.btn-back-fixed {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 9999;

    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);

    padding: 7px 14px;
    border-radius: 8px;

    color: #fff;
    font-size: 14px;
    text-decoration: none;

    border: 1px solid rgba(255,255,255,0.12);
    transition: 0.2s;
}

.btn-back-fixed:hover {
    background: rgba(255,255,255,0.15);
}

/* ==== КНОПКА ПОЗВОНИТЬ ==== */
.btn-call-fixed {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    background: var(--accent);
    color: #18120a;
    font-weight: 700;
    font-size: 18px;

    padding: 12px 26px;
    border-radius: 999px;

    text-decoration: none;
    box-shadow: 0 0 18px rgba(255,180,0,0.35);

    transition: 0.2s;
}

.btn-call-fixed:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 28px rgba(255,180,0,0.55);
}

/* На ПК можно сделать поменьше */
@media (min-width: 800px) {
    .btn-call-fixed {
        font-size: 16px;
        padding: 10px 22px;
    }
}

/* контейнер под кнопку назад — фиксированная ширина */
.header-back-wrapper {
    width: 40px; /* место под кнопку */
    display: flex;
    justify-content: flex-start;
}

/* сама кнопка назад */
.btn-back-fixed {
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    transition: .2s;
}

.btn-back-fixed:hover {
    background: rgba(255,255,255,0.12);
}

/* О себе — широкий блок перед услугами */
.profile-about-wide {
    margin-top: 16px;
    margin-bottom: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(148,163,184,0.25);
}

/* текст внутри */
.profile-about-wide .profile-full-about {
    margin: 0;
}


.profile-address-block {
    margin-top: 12px;
    margin-bottom: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(148,163,184,0.25);
}

.profile-address-text {
    font-size: 14px;
    margin-bottom: 8px;
}

.profile-address-map iframe {
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 10px;
    min-height: 220px;
}




/* ====== ФИЛЬТР: КОМПАКТНЫЙ РЯД + РАСШИРЕННЫЙ ====== */

/* компактный режим, но на десктопе как было */
.filters-row--compact {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr) auto;
}

/* расширенный блок (занавес) */
.filters-advanced {
    margin-top: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition:
        max-height 0.25s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

/* когда открыт */
.filters-advanced--open {
    max-height: 260px; /* хватит для пары строк, увеличишь при необходимости */
    opacity: 1;
    transform: translateY(0);
}

/* внутренняя сетка расширенного поиска */
.filters-advanced-inner {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed rgba(148, 163, 184, 0.4);

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

@media (max-width: 900px) {
    .filters-advanced-inner {
        grid-template-columns: 1fr;
    }
}

/* чекбоксы в стиле формы */
.filters-checkbox label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
}

.filters-checkbox input[type="checkbox"] {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    background: #080a10;
    appearance: none;
    outline: none;
    position: relative;
    transition: border-color var(--transition-fast),
                background var(--transition-fast),
                box-shadow var(--transition-fast);
}

.filters-checkbox input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(255, 180, 0, 0.4);
}

.filters-checkbox input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    inset: 0;
    font-size: 11px;
    line-height: 15px;
    text-align: center;
    color: #18120a;
}

/* кнопка расширенного поиска визуально полегче */
.filters-advanced-toggle {
    font-size: 13px;
    padding-inline: 14px;
}

/* Фикс фильтра на мобильных: прячем подписи над селектами */
@media (max-width: 600px) {
    .filters-group label {
        display: none;
    }

    .filters-row--compact {
        /* на всякий случай делаем колонкой */
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
}





/* ОБЩИЙ БЛОК ФОРМЫ */
.profile-form {
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 24px 20px;
    background: #10131a;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.55);
}

/* ГРУППЫ ПОЛЕЙ */
.profile-form .form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ПОДПИСИ К ПОЛЯМ */
.profile-form label {
    font-size: 14px;
    color: #e5e7eb;
}

/* ИНПУТЫ, СЕЛЕКТЫ, ТЕКСТАРЕА */
.profile-form input[type="text"],
.profile-form input[type="number"],
.profile-form input[type="file"],
.profile-form select,
.profile-form textarea {
    width: 100%;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid #262b3a;
    background: #05060a;
    color: #f5f5f5;
    font-size: 14px;
    outline: none;
    transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out;
}

/* ХОВЕР / ФОКУС */
.profile-form input[type="text"]:focus,
.profile-form input[type="number"]:focus,
.profile-form input[type="file"]:focus,
.profile-form select:focus,
.profile-form textarea:focus {
    border-color: #ffb400;
    box-shadow: 0 0 0 1px rgba(255, 180, 0, 0.35);
    background: #0a0c12;
}

/* PLACEHOLDER */
.profile-form ::placeholder {
    color: #6b7280;
}

/* ОШИБКИ ПОЛЕЙ */
.profile-form .field-error {
    font-size: 12px;
    color: #ff6b6b;
}

/* КНОПКА ОТПРАВКИ */
.profile-form button[type="submit"] {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    background: #ffb400;
    color: #111827;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.18s ease-out, transform 0.08s ease-out, box-shadow 0.18s ease-out;
    margin-top: 8px;
}

.profile-form button[type="submit"]:hover {
    background: #ffc94d;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transform: translateY(-1px);
}

.profile-form button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: none;
}

/* НЕМНОГО ОТСТУПА МЕЖДУ РЯДАМИ В МОБИЛЬНОЙ ВЕРСИИ */
@media (max-width: 600px) {
    .profile-form {
        padding: 18px 14px;
        border-radius: 12px;
    }
}




.service-price-block.hidden {
    display: none;
}









.profile-card-21__phone-label {
    font-size: 13px;
    color: var(--muted);
    margin-right: 6px;
}

.profile-card-21__phone-number {
    font-size: 16px;
    font-weight: 700;
    color: #4ade80;
    text-decoration: none;
}

.profile-card-21__phone-number:hover {
    text-decoration: underline;
}

.profile-card-21__express {
    margin-top: 6px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(244,63,94,0.16);
    border: 1px solid rgba(244,63,94,0.6);
    color: #fecaca;
}


.profile-card-21__express-badge {
    position: absolute;
    top: 12px;
    right: 12px;

    background: rgba(244,63,94,0.85);
    color: #fff;

    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;

    box-shadow: 0 0 10px rgba(244,63,94,0.6);
    z-index: 5;
}
.profile-card-21__photo {
    position: relative; /* чтобы бейдж позиционировался внутри фото */
}