:root {
    --bg: #f7f9fc;
    --card: #fff;
    --muted: #5b6475;
    --text: #0f1a2a;
    --brand: #ffd400;
    --brand-2: #e31b23;
    --ok: #18a45b;
    --danger: #d92c2c;
    --ring: rgba(255, 212, 0, .5);
    --border: #d0d2d9;
    --shadow: 0 8px 24px rgba(16, 24, 40, .08);
    --radius: 16px;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.muted {
    color: var(--muted);
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .94rem;
    color: var(--muted);
    padding: 14px 0;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.hero {
    background: linear-gradient(100deg, rgba(5, 194, 156, 0.171), rgba(6, 175, 212, 0.08));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(18px, 3.5vw, 32px);
    display: grid;
    gap: 8px;
}

.hero h1 {
    margin: 0 0 6px;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    letter-spacing: -.01em;
}

.hero p {
    margin: 0;
    color: var(--muted);
}

.tabs {
    margin-top: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: clip;
}

.tab-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px;
    background: linear-gradient(120deg, rgba(255, 255, 255, .7), rgba(240, 240, 255, .3));
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    appearance: none;
    border: 1px solid var(--border);
    background: #fff;
    padding: .6rem .9rem;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow .2s ease, transform .12s ease, border-color .2s ease;
}

.tab-btn:hover {
    transform: translateY(-1px);
}

.tab-btn[aria-selected="true"] {
    border-color: #cfd5e6;
    box-shadow: 0 0 0 3px rgba(255, 212, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .6);
    background: linear-gradient(120deg, #fff, rgba(255, 255, 255, .7));
}

.tab-panels {
    padding: clamp(14px, 2.5vw, 24px);
}

.tab-panel {
    display: none;
}

.tab-panel[aria-hidden="false"] {
    display: block;
}

.grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    display: grid;
    gap: 10px;
}

.card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: .35rem .6rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid var(--border);
    background: linear-gradient(120deg, rgba(255, 255, 255, .85), rgba(240, 240, 255, .4));
}

.pill.ok::before {
    content: "●";
    color: var(--ok);
}

.pill.warn::before {
    content: "●";
    color: #f59e0b;
}

.notice {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    background: linear-gradient(120deg, rgba(255, 255, 255, .9), rgba(240, 240, 255, .5));
    display: grid;
    gap: 6px;
}


.steps {
    display: grid;
    gap: 10px;
}

.step {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: start;
}

.step .dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: linear-gradient(120deg, #fff, rgba(255, 255, 255, .6));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}


.rates {
    width: 100%;
    border-collapse: collapse;
    font-size: .98rem;
}

.rates th,
.rates td {
    border: 1px solid var(--border);
    padding: .7rem .8rem;
    background: #fff;
}

.rates thead th {
    background: linear-gradient(120deg, rgba(255, 255, 255, .9), rgba(240, 240, 255, .6));
    text-align: left;
}


details {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    background: linear-gradient(100deg, rgba(16, 24, 40, .03), rgba(255, 255, 255, .6));
    color: var(--text);
}

details+details {
    margin-top: 10px;
}

summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "▸";
    margin-left: 8px;
    color: var(--muted);
    transition: transform .2s ease;
}

details[open] summary::after {
    transform: rotate(90deg);
}


.contact {
    display: grid;
    gap: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
}

.badges_с {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge_с {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .35rem .6rem;
    background: #fff;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
}

.badge_с.brand {
    color: #111;
    background: linear-gradient(90deg, rgba(5, 194, 156, 0.171), rgba(6, 175, 212, 0.08));
    border-color: #80dbbb;
}


section {
    scroll-margin-top: 90px;
    margin: 24px 0;
}

.hint {
    font-size: .92rem;
    color: var(--muted);
    text-align: center;
    padding: 18px 0 28px;
}


@media (max-width:640px) {
    .tab-list {
        gap: 6px;
    }

    .tab-btn {
        padding: .55rem .75rem;
    }
}