
/* Подключение локальных шрифтов */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root {
    --color-primary: #0f766e;
    --color-primary-hover: #0d6560;
    --color-primary-soft: #ccfbf1;
    --color-secondary: #4338ca;
    --color-secondary-soft: #eef2ff;
    --color-bg: #1e293b;
    --color-surface: #ffffff;
    --color-surface-alt: #f1f5f9;
    --color-border: #e2e8f0;
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    --color-header-bg: #0b1320;
    --color-success: #16a34a;
    --color-warning: #d97706;
    --color-alert-bg: #fffbeb;
    --color-alert-bg-2: #fef9c3;
    --color-cta: #16a34a;
    --color-cta-hover: #15803d;

    --primary-color: var(--color-primary);
    --primary-dark: var(--color-primary-hover);
    --primary-light: #ef4444;
    --secondary-color: var(--color-secondary);
    --accent-color: #2563eb;
    --light-gray: var(--color-surface-alt);
    --medium-gray: var(--color-border);
    --dark-gray: var(--color-text);
    --text-color: var(--color-text);
    --border-color: var(--color-border);
    --success-color: var(--color-success);
    --warning-color: var(--color-warning);

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-hover: 0 10px 25px -5px rgba(0,0,0,0.10), 0 4px 10px -6px rgba(0,0,0,0.06);
    --card-shadow: var(--shadow-md);

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3rem;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;

    --text-xs: 0.8125rem;
    --text-sm: 0.875rem;
    --text-base: 0.9375rem;
    --text-lg: 1.0625rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-hero: 2.25rem;

    --transition: all 0.2s ease;
}

/* ====== Base ====== */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #cbd5e1;
    background-color: var(--color-bg);
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.page-body .page__container {
    background: transparent;
    color: var(--color-text);
    padding: var(--space-xl) var(--space-xl) var(--space-2xl);
    border-radius: 0;
    box-shadow: none;
}
.page-body .page__container .description,
.page-body .page__container .page-nav {
    background: transparent;
    box-shadow: none;
}
.page-body footer {
    background: var(--color-bg);
    color: #94a3b8;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.page-body footer .container {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}
.page-body footer p {
    color: inherit;
}

.icon {
    width: 1.125em;
    height: 1.125em;
    flex: 0 0 auto;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ====== Container ====== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ====== Единая сетка страниц ====== */
.page {
    min-height: 50vh;
    padding: 0 0 var(--space-lg);
    overflow-x: hidden;
}
.page__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}
.page .description {
    margin-bottom: 0;
}
.page .section-title {
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
}
.page .comparison-section,
.page #product-details,
.page #faq,
.page .loan-cards-section,
.page .debit-cards-section,
.page .deposit-cards-section {
    margin-top: 0;
}

/* На ПК — по две карты в ряд */
@media (min-width: 900px) {
    #product-details {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
    #product-details > .section-title {
        grid-column: 1 / -1;
    }
}

/* ====== Hero — как в бэкапе: описание + навигация ====== */
.hero {
    box-sizing: border-box;
    width: 100vw;
    margin: 0 calc(50% - 50vw) var(--space-2xl);
    padding: 4rem var(--space-xl);
    background: #f5f5f5;
    color: var(--color-text);
    border-radius: 0 0 8px 8px;
}
.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    margin: 0 0 2rem;
    line-height: 1.35;
}
.hero__text {
    text-align: center;
    margin: 0 auto 1rem;
    color: var(--color-text);
    max-width: 900px;
    line-height: 1.6;
    font-size: var(--text-base);
}
.hero__text:last-of-type {
    margin-bottom: var(--space-md);
}
.hero__alert {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem 1.25rem;
    margin: 1.5rem auto 0;
    max-width: 900px;
    border-radius: 4px;
    font-size: var(--text-sm);
    color: #856404;
}
.hero__alert strong {
    color: #856404;
}
.hero__nav {
    margin: 0;
    padding: var(--space-lg) 0 0;
    justify-content: center;
    background: transparent;
    box-shadow: none;
}

/* ====== HEADER — professional, spacious ====== */
header {
    background: var(--color-header-bg);
    color: white;
    padding: var(--space-lg) 0;
    border-bottom: 3px solid var(--color-primary);
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.brand {
    max-width: 360px;
    width: 100%;
    text-align: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-align: center;
}

.logo span,
.logo {
    background: linear-gradient(135deg, #5eead4, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.link-logo { 
    text-decoration: none;
    display: block;
    text-align: center;
}

.tagline {
    font-size: var(--text-sm);
    opacity: 0.7;
    max-width: 100%;
    margin: 0;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    margin-top: var(--space-sm);
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.header-actions .site-nav {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

@media (min-width: 900px) {
    header .container {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas: "brand nav";
        align-items: center;
        gap: var(--space-sm) var(--space-xl);
    }
    .brand { grid-area: brand; text-align: left; }
    .header-actions { grid-area: nav; margin-top: 0; justify-content: flex-end; }
    .link-logo { text-align: left; }
    .logo { text-align: left; }
    .tagline { text-align: left; margin: 0; max-width: 340px; }
    .site-nav { justify-content: flex-end; margin-top: 0; }
}

.site-nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-sm);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.site-nav a:hover {
    color: white;
    background: rgba(255,255,255,0.10);
}

.site-nav a[aria-current="page"] {
    color: white;
    background: var(--color-primary);
}

/* ====== HERO / Description ====== */
.description {
    background: var(--color-surface);
    padding: var(--space-2xl) var(--space-xl);
    margin-bottom: var(--space-lg);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: var(--shadow);
}

.description h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    text-align: center;
    line-height: 1.25;
}

.description p {
    text-align: center;
    margin: 0 auto var(--space-sm);
    color: var(--color-text-muted);
    max-width: 720px;
    line-height: 1.6;
}

.page-content {
    padding: var(--space-lg) 0 var(--space-xl);
}

.page-content h1 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.page-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
    margin: var(--space-lg) 0 var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-border);
    line-height: 1.3;
}

.page-content p,
.page-content ul {
    text-align: left;
    max-width: 680px;
    margin-left: 0;
    margin-right: auto;
}

.page-content ul {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.page-content li {
    margin-bottom: var(--space-sm);
    list-style-type: disc;
}

.page-content a {
    color: var(--color-primary);
    font-weight: 500;
}

.page-content a:hover {
    text-decoration: underline;
}

/* ====== Alert ====== */
.alert {
    background-color: var(--color-alert-bg);
    border-left: 4px solid var(--color-warning);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) auto;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.alert::before { display: none; }
.alert strong { color: var(--color-text); }

/* ====== Page nav (anchor links) ====== */
.page-nav {
    background: var(--color-surface);
    padding: var(--space-md);
    margin: var(--space-lg) 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    border: 1px solid var(--color-border);
}

.page-nav a {
    padding: 8px 16px;
    background: var(--color-surface-alt);
    border-radius: 999px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: var(--text-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.page-nav a:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* ====== Comparison section — светлый блок на тёмном фоне ====== */
.comparison-section {
    margin: var(--space-2xl) 0;
    background: var(--color-surface);
    color: var(--color-text);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.comparison-section .section-title {
    margin-bottom: var(--space-md);
}

.comparison-table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--color-border);
    margin-top: var(--space-md);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 3px solid var(--color-primary);
    line-height: 1.3;
}

.table-controls {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.sort-btn {
    padding: 8px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    font-size: var(--text-sm);
    transition: var(--transition);
    color: var(--color-text-muted);
}

.sort-btn:hover,
.sort-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
}

.comparison-table th {
    background: var(--color-header-bg);
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 12px 14px;
    position: sticky;
    top: 0;
    white-space: nowrap;
    font-size: var(--text-sm);
}

.comparison-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-sm);
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--color-surface-alt);
}

.comparison-table tbody tr:hover {
    background: var(--color-primary-soft);
}

.product-name {
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.product-name:hover {
    text-decoration: underline;
}

.comparison-table .th-action {
    text-align: center;
    width: 1%;
    white-space: nowrap;
}

.comparison-table .td-action {
    text-align: center;
    vertical-align: middle;
}

.comparison-table .offer-link {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-cta);
    color: white;
    font-weight: 600;
    font-size: var(--text-xs);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.comparison-table .offer-link:hover {
    background: var(--color-cta-hover);
    color: white;
    transform: translateY(-1px);
}

.comparison-table .offer-empty {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.psk-value {
    font-weight: 600;
    color: var(--color-primary);
}

/* ========================================
   PRODUCT CARDS — professional, structured
   ======================================== */
.product-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #5eead4);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.product-card-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: start;
    margin-bottom: var(--space-lg);
}

.product-card-head {
    min-width: 0;
}

.product-image {
    text-align: center;
    margin-bottom: 0;
}

.product-image img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    aspect-ratio: 16/10;
    background: var(--color-surface-alt);
}

@media (min-width: 640px) {
    .product-card-top {
        grid-template-columns: 1fr auto;
        gap: var(--space-xl);
    }
    .product-image img {
        max-width: 200px;
    }
}

@media (max-width: 639px) {
    .product-image { order: -1; }
    .product-card-head { order: 0; }
}

.product-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
    text-align: left;
    line-height: 1.3;
}

.product-subtitle {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    margin-bottom: 0;
    font-weight: 400;
    text-align: left;
    line-height: 1.5;
}

.product-key-facts {
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: var(--text-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}
.product-key-facts li {
    margin-bottom: 4px;
}

.product-card-top + h4 {
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-text);
    margin: var(--space-sm) 0;
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

ul {
    padding-left: 0;
    margin-bottom: var(--space-md);
}

/* ====== Product card list items — CLEAN, no emoji ====== */
.product-card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    list-style-type: none;
    line-height: 1.55;
    font-size: var(--text-base);
    color: var(--color-text);
}

.product-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    border: none;
    display: block;
    font-size: 0;
}

.product-card li strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Override all icon- classes to use the same clean dot */
.product-card li.icon-calendar::before,
.product-card li.icon-transfer::before,
.product-card li.icon-percent::before,
.product-card li.icon-cart::before,
.product-card li.icon-ruble::before,
.product-card li.icon-delivery::before,
.product-card li.icon-wallet::before,
.product-card li.icon-user::before,
.product-card li.icon-doc::before,
.product-card li.icon-gift::before,
.product-card li.icon-briefcase::before,
.product-card li.icon-home::before,
.product-card li.icon-card::before,
.product-card li.icon-piggy::before,
.product-card li.icon-money::before,
.product-card li.icon-id::before,
.product-card li.icon-friends::before,
.product-card li.icon-map::before,
.product-card li.icon-phone::before,
.product-card li.icon-clock::before,
.product-card li.icon-shield::before,
.product-card li.icon-chart::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    border: none;
    font-size: 0;
    display: block;
}

/* Highlight box inside product card */
.highlight-box {
    background: linear-gradient(135deg, var(--color-alert-bg), var(--color-alert-bg-2));
    border-left: 3px solid var(--color-warning);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.highlight-box h4 {
    color: var(--color-warning);
    margin-bottom: var(--space-sm);
}

.legal-notice {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.85;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
    font-weight: 400;
    line-height: 1.4;
}

/* ====== CTA Button — prominent, green like competitors ====== */
.offer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    background: var(--color-cta);
    color: white;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--text-lg);
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    max-width: 380px;
    width: 100%;
    display: block;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(22,163,74,0.25);
}

.offer-btn:hover {
    background: var(--color-cta-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(22,163,74,0.30);
    color: white;
}

.offer-btn:active {
    transform: translateY(0);
}

.product-card .offer-btn {
    margin-top: var(--space-md);
}

/* ====== Conclusions ====== */
.conclusions {
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    margin: var(--space-2xl) 0;
    border: 1px solid var(--color-border);
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--color-secondary);
}

.conclusions h2 {
    color: var(--color-text);
    margin-bottom: var(--space-md);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: var(--text-xl);
    line-height: 1.3;
}

.conclusions ul {
    padding-left: var(--space-lg);
}

.conclusions li {
    margin-bottom: var(--space-sm);
    line-height: 1.55;
    list-style-type: disc;
}

.conclusions p {
    margin-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* ====== FAQ — один светлый блок ====== */
#faq {
    margin-bottom: var(--space-2xl);
    background: var(--color-surface);
    color: var(--color-text);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.faq-item {
    background: transparent;
    padding: var(--space-lg) 0;
    margin: var(--space-sm) 0;
    font-size: var(--text-base);
    transition: var(--transition);
    box-shadow: none;
    border: none;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
}
.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
}

.faq-question {
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-text);
    cursor: pointer;
    position: relative;
    padding-right: 2rem;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--color-primary);
    font-weight: 300;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    border-radius: 50%;
}

.faq-question.active::after {
    content: '\2212';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.faq-answer.open {
    max-height: 1200px;
    opacity: 1;
    margin-top: var(--space-md);
}

.faq-answer-content {
    line-height: 1.6;
    color: var(--color-text-muted);
    padding-bottom: var(--space-xs);
}

.faq-answer-content p {
    margin-bottom: var(--space-sm);
}

.faq-answer-content ul, .faq-answer-content ol {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.faq-answer-content li {
    margin-bottom: var(--space-sm);
}

.comparison-note {
    margin-top: var(--space-md);
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.faq-comparison-table {
    margin: var(--space-md) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

/* ====== Social / Reactions ====== */
.offer-social {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

/* Одна строка: слева — просмотры и комментарии, справа — реакции */
.offer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

.offer-meta__left {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.offer-meta__right.offer-reactions-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.offer-meta__right .offer-emoji-row {
    margin-top: 0;
}

.offer-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    color: inherit;
    background: transparent;
    border: 0;
    padding: 0;
}

.offer-meta__item svg.icon { opacity: 0.85; }

.offer-emoji-row {
    margin-top: var(--space-sm);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.reaction-btn {
    display: inline-flex;
    gap: var(--space-xs);
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
    font-size: var(--text-sm);
}

.reaction-emoji {
    padding: 6px 10px;
    font-size: 15px;
    line-height: 1;
    gap: 8px;
}

.reaction-emoji span {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.reaction-btn:hover {
    border-color: rgba(15,118,110,0.45);
}

.reaction-btn[aria-pressed="true"] {
    background: var(--color-primary-soft);
    border-color: rgba(15,118,110,0.55);
}

.offer-comments { margin-top: var(--space-md); display: none; }
.offer-comments.open { display: block; }

.comments-list {
    display: grid;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.comment {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-surface-alt);
}

.comment-meta {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.comment-body {
    font-size: var(--text-sm);
    color: var(--color-text);
    line-height: 1.5;
}

.comment-actions {
    margin-top: var(--space-sm);
    display: flex;
    gap: var(--space-md);
}

.comment-actions .link-button {
    background: none;
    border: 0;
    padding: 0;
    font-size: var(--text-xs);
    color: var(--color-primary);
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}

.comment-actions .link-button:hover {
    text-decoration: underline;
}

.comment-edit-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.comment-edit-field {
    width: 100%;
    min-height: 60px;
    padding: var(--space-sm);
    font-size: var(--text-sm);
    font-family: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    resize: vertical;
}

.comment-form { display: grid; gap: var(--space-sm); }

.comment-compose {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: var(--space-sm);
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 10px 14px;
    background: var(--color-surface);
}

.comment-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15,118,110,0.3), rgba(94,234,212,0.3));
    border: 1px solid rgba(15,118,110,0.18);
}

.comment-form textarea {
    width: 100%;
    border: 0;
    padding: 0;
    font-size: var(--text-base);
    background: transparent;
    color: var(--color-text);
    resize: none;
    min-height: 22px;
    max-height: 140px;
    outline: none;
    font-family: inherit;
}

.comment-compose__actions {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.comment-counter {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    min-width: 52px;
    text-align: right;
}

.comment-submit {
    padding: 9px 14px;
    border-radius: var(--radius-lg);
    border: 0;
    background: var(--color-primary);
    color: white;
    cursor: pointer;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: var(--transition);
}

.comment-submit:hover {
    background: var(--color-primary-hover);
}

/* ====== Footer ====== */
footer {
    background: var(--color-header-bg);
    color: rgba(255,255,255,0.75);
    padding: var(--space-2xl) 0;
    margin-top: var(--space-3xl);
    font-size: var(--text-sm);
    border-top: 3px solid var(--color-primary);
}

footer p {
    margin: var(--space-sm) 0;
    line-height: 1.6;
}

.bank-licenses {
    opacity: 0.65;
    margin-top: var(--space-lg);
    line-height: 1.6;
    font-size: var(--text-xs);
}

/* ====== Mobile ====== */
@media (max-width: 768px) {
    .container { padding: 0 var(--space-md); }
    .logo { font-size: 1.5rem; }
    .tagline { font-size: var(--text-xs); }

    .description h1 { font-size: var(--text-xl); }
    .description { padding: var(--space-xl) var(--space-md); }
    .description p { font-size: var(--text-sm); }

    .hero { padding: 2rem var(--space-md); margin-bottom: var(--space-xl); }
    .hero__title { font-size: 1.5rem; margin-bottom: 1.25rem; }
    .hero__text { font-size: var(--text-sm); }
    .hero__alert { margin: 1rem auto 0; padding: 0.9rem; font-size: var(--text-xs); }

    .alert { margin: var(--space-md) auto; padding: var(--space-md); font-size: var(--text-sm); }

    .page-nav {
        padding: var(--space-sm);
        gap: var(--space-xs);
        display: flex;
        flex-wrap: wrap;
    }
    .page-nav a { padding: 6px 12px; font-size: var(--text-xs); }

    .section-title { font-size: var(--text-lg); margin-bottom: var(--space-md); }

    .table-controls {
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 8px;
        flex-wrap: nowrap;
    }
    .sort-btn { padding: 6px 12px; font-size: var(--text-xs); flex-shrink: 0; }

    .comparison-table-container {
        margin: 0 calc(-1 * var(--space-md));
        border-radius: 0;
    }
    .comparison-table { min-width: 700px; }
    .comparison-table th,
    .comparison-table td { padding: 10px 8px; font-size: var(--text-xs); }

    .product-card { padding: var(--space-lg); margin-bottom: var(--space-md); }
    .product-card h3 { font-size: var(--text-lg); }
    .product-subtitle { font-size: var(--text-sm); }
    h4 { font-size: var(--text-sm); }
    .product-card li { font-size: var(--text-sm); padding-left: 16px; }
    .product-card li::before { width: 6px; height: 6px; top: 8px; }

    .product-image img { max-width: 140px; margin: 0 auto; display: block; }

    .offer-btn { padding: 12px 24px; font-size: var(--text-base); max-width: 100%; }

    .highlight-box { padding: var(--space-md); margin: var(--space-md) 0; }

    .conclusions { padding: var(--space-lg); margin: var(--space-xl) 0; }
    .conclusions h2 { font-size: var(--text-lg); }

    .faq-item { padding: var(--space-md); }
    .faq-question { font-size: var(--text-sm); }
    .faq-answer-content { font-size: var(--text-sm); }
}

@media (max-width: 480px) {
    .logo { font-size: 1.3rem; }
    .description h1 { font-size: var(--text-lg); }
    .section-title { font-size: var(--text-base); }
    .page-nav a { font-size: var(--text-xs); padding: 5px 10px; }
    .product-card { padding: var(--space-md); }
    .product-card h3 { font-size: var(--text-base); }
}

/* Инфопанель — главная */
.infopanel-hero { margin-bottom: var(--space-xl); }
.statistics-section { margin-bottom: var(--space-xl); }
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}
.stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}
.stat-card .stat-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}
.stat-card .stat-value {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
}
.statistics-note {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}
.infopanel-links .link-cards {
    list-style: none;
    padding-left: 0;
}
.infopanel-links .link-cards li {
    margin-bottom: 0.75rem;
    padding-left: 0;
}
.infopanel-links .link-cards a {
    font-weight: 600;
    color: var(--color-primary);
}
.infopanel-links .link-cards a:hover { text-decoration: underline; }
