:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f6f8fa;
    --color-text: #2c3338;
    --color-muted: #6b7280;
    --color-accent: #1f6feb;
    --color-accent-dark: #1858c4;
    --color-border: #e4e7eb;
    --color-success: #16a34a;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --container: 1140px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--color-text);
    background: var(--color-bg);
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-dark); text-decoration: underline; }

h1, h2, h3, h4 {
    color: #1a1f24;
    margin: 0 0 0.5em;
    line-height: 1.25;
    font-weight: 600;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; margin-top: 0; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(6px);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 36px; width: auto; }
.brand-text { font-weight: 600; color: #1a1f24; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--color-text); font-size: 0.95rem; }
.nav a:hover { color: var(--color-accent); text-decoration: none; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #0a2540 0%, #1f4068 100%);
    color: #fff;
    padding: 80px 0 90px;
    text-align: center;
}
.hero h1 { color: #fff; font-size: 2.8rem; margin-bottom: 0.4em; }
.hero .lead { font-size: 1.15rem; color: #c8d4e3; max-width: 760px; margin: 0 auto 1.5em; }
.hero .badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    font-size: 0.85rem;
    color: #e5edf6;
}

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--color-bg-alt); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 8px; }
.section-head p { color: var(--color-muted); max-width: 720px; margin: 0 auto; }

/* Grid */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
    .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}

/* Cards */
.card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card .icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: #eaf2ff;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    font-size: 1.6rem;
}
.card .price {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    background: #eaf2ff;
    color: var(--color-accent-dark);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Tables */
.requisites-table, .codes-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.requisites-table td, .codes-table td, .codes-table th {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}
.codes-table th {
    background: var(--color-bg-alt);
    text-align: left;
    font-weight: 600;
}
.requisites-table tr:last-child td,
.codes-table tr:last-child td { border-bottom: none; }
.requisites-table td:first-child {
    color: var(--color-muted);
    width: 38%;
    font-size: 0.95rem;
}

/* Stack */
.stack-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.stack-list li {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.95rem;
    line-height: 1.2;
}

/* Registry callout */
.registry-callout {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    margin-bottom: 16px;
}
.registry-callout .mark {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--color-success);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.registry-callout strong { color: #14532d; }

/* Contacts */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
@media (max-width: 900px) { .contacts-grid { grid-template-columns: 1fr; } }
.contact-item {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
}
.contact-item .label {
    color: var(--color-muted);
    min-width: 90px;
}

/* Footer */
.site-footer {
    background: #0a2540;
    color: #c8d4e3;
    padding: 32px 0;
    font-size: 0.9rem;
}
.site-footer a { color: #fff; }
.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

/* Small */
.muted { color: var(--color-muted); }
.note {
    padding: 12px 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--radius);
    color: #9a3412;
    font-size: 0.92rem;
}
.placeholder {
    background: #fef9c3;
    padding: 2px 6px;
    border-radius: 4px;
    color: #854d0e;
    font-style: italic;
}
