:root {
    --primary: #1fa8ff;
    --primary-dark: #0d7ad0;
    --accent: #44d48a;
    --bg-soft: #f9fbff;
    --text-main: #1c2533;
    --text-muted: #7a8597;
    --border-soft: #e2e7f3;
    --card-radius: 20px;
    --shadow-soft: 0 18px 40px rgba(14, 34, 80, 0.08);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background: #ffffff;
}

a { text-decoration: none; color: inherit; }

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
    radial-gradient(circle at 10% 20%, rgba(79, 209, 255, 0.16) 0, transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(68, 212, 138, 0.16) 0, transparent 55%);
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 231, 243, 0.8);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-dark);
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 10px 25px rgba(31, 168, 255, 0.35);
}

.nav {
    display: flex;
    gap: 26px;
    font-size: 14px;
    color: var(--text-muted);
}

.nav a {
    position: relative;
    padding-bottom: 2px;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.nav a:hover { color: var(--primary-dark); }
.nav a:hover::after { width: 100%; }

.header-contacts {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
}

.header-phone {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-phone span:first-child {
    font-size: 11px;
    color: var(--text-muted);
}

.header-phone a { font-weight: 600; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 14px 30px rgba(31, 168, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(31, 168, 255, 0.5);
}

.btn-outline {
    border: 1px solid rgba(31, 168, 255, 0.4);
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.9);
}

.btn-outline:hover { background: rgba(31, 168, 255, 0.05); }
.btn-sm { padding: 6px 14px; font-size: 12px; }

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(31, 168, 255, 0.06);
    color: var(--primary-dark);
    font-size: 11px;
}

.section { padding: 40px 0; }
.section-alt { background: var(--bg-soft); }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 24px;
}

.section-title { font-size: 24px; margin: 0; }

.section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 460px;
    margin: 6px 0 0;
}

/* Breadcrumbs */

.section-crumbs { padding-top: 16px; padding-bottom: 0; }

.breadcrumbs {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary-dark); }
.breadcrumbs-current { color: var(--text-main); }

/* Hero */

.prices-hero {
    padding-top: 28px;
    padding-bottom: 36px;
}

.prices-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 26px;
    align-items: center;
}

.prices-title {
    font-size: 28px;
    margin: 0 0 10px;
}

.prices-title span { color: var(--primary-dark); }

.prices-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 18px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 22px rgba(15, 55, 130, 0.08);
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.hero-label-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #44d48a;
    box-shadow: 0 0 0 4px rgba(68, 212, 138, 0.3);
}

.prices-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.prices-hero-note {
    font-size: 12px;
    color: var(--text-muted);
}

.card {
    border-radius: var(--card-radius);
    background: white;
    box-shadow: var(--shadow-soft);
    padding: 18px;
}

.card-soft {
    box-shadow: 0 10px 26px rgba(18, 40, 92, 0.06);
    border: 1px solid rgba(226, 231, 243, 0.9);
}

.prices-hero-side h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.prices-hero-list {
    margin: 0 0 10px;
    padding-left: 18px;
    font-size: 13px;
    color: var(--text-main);
}

.prices-hero-list li + li { margin-top: 4px; }

.prices-hero-hint {
    font-size: 12px;
    color: var(--text-muted);
}

/* Prices table */

.prices-card {
    padding: 0;
    overflow: hidden;
}

.prices-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 640px;
}

.prices-table thead {
    background: rgba(31, 168, 255, 0.06);
}

.prices-table th,
.prices-table td {
    padding: 10px 16px;
    text-align: left;
}

.prices-table th {
    font-weight: 600;
    font-size: 12px;
    color: var(--text-main);
}

.prices-table tbody tr:nth-child(odd):not(.prices-group-row) { background: #ffffff; }
.prices-table tbody tr:nth-child(even):not(.prices-group-row) { background: #f9fbff; }

.prices-table tbody td {
    border-top: 1px solid rgba(226, 231, 243, 0.8);
}

.prices-table td:nth-child(2),
.prices-table td:nth-child(3) {
    white-space: nowrap;
}

.prices-table td:nth-child(2) {
    text-align: right;
    color: var(--primary-dark);
    font-weight: 600;
}

.prices-table td:nth-child(3) {
    text-align: right;
}

.prices-group-row td {
    border-top: none;
    padding-top: 18px;
    padding-bottom: 8px;
    background: #ffffff;
}

.prices-group-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.prices-footnote {
    padding: 12px 16px 16px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid rgba(226, 231, 243, 0.9);
    background: #ffffff;
}

/* Responsive */

@media (max-width: 1024px) {
    .header-inner { gap: 12px; }
    .nav { gap: 18px; }
    .prices-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav { display: none; }
}

@media (max-width: 540px) {
    .prices-title { font-size: 24px; }
}