/* Стили страницы "Преимущества сайта" */
.advantages-page {
    margin: 0 auto;
    padding: 5%;
    max-width: -webkit-fill-available;
}

.advantages-hero {
    margin-bottom: 3rem;
}

.advantages-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

.advantages-hero p {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
}

.advantages-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.advantage-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.advantage-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    border-bottom: 2px solid #4F46E5;
    padding-bottom: 0.5rem;
    line-height: 20px;
}

.advantage-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 0.8rem;
}

.advantage-card p strong {
    color: #1e293b;
}

.advantages-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #475569;
    font-size: 0.95rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .advantages-hero h1 {
        font-size: 1.8rem;
    }
}
/* Секция сравнения */
.comparison-section {
    margin-top: 4rem;
}

.comparison-subtitle {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 2rem;
    line-height: 25px;
    margin-top: 2rem;
}

.comparison-tables {
    display: grid;
    gap: 2rem;
}

.comparison-group h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.comparison-table th,
.comparison-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
}

.comparison-table .our-site {
    color: #059669;
    font-weight: 600;
}

.comparison-table .other-site {
    color: #dc2626;
    font-weight: 500;
}

.comparison-summary {
    margin-top: 2rem;
}

.comparison-conclusion {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #4F46E5, #10B981);
    color: #fff;
    border-radius: 16px;
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}
/* Блок с объяснением метрик */
.metrics-explanation {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.metrics-explanation h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.metric-card h3 {
    font-size: 1.1rem;
    color: #4F46E5;
    margin-bottom: 0.75rem;
}

.metric-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #475569;
}

.metric-card p strong {
    color: #1e293b;
}
.tooltip-trigger {
    cursor: help;
    color: #0073aa;
    text-decoration: none;
    border-bottom: 1px dashed #0073aa;
    position: relative;
    font-weight: normal;
    margin-left: 5px;
    display: inline-block;
}
.tooltip-trigger:hover {
    color: #005a87;
    border-bottom-color: #005a87;
}
.tooltip-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 250px;
    max-width: 350px;
    white-space: normal;
    line-height: 1.4;
    font-weight: normal;
    text-align: left;
}
.tooltip-trigger:hover .tooltip-content,
.tooltip-trigger:focus .tooltip-content,
.tooltip-trigger:active .tooltip-content {
    display: block;
}
.comparison-table td {
    position: relative;
}
.advantages-security {
    padding: 60px 5%;
    background: #f4f6f9;
    color: #1a1a1a;
}
.advantages-security h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #0a2f6c;
}
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}
.security-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: 0.2s;
}
.security-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.security-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #0a2f6c;
}
.security-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}
@media (max-width: 768px) {
    .advantages-security {
        padding: 40px 4%;
    }
    .security-grid {
        grid-template-columns: 1fr;
    }
}
.advantages-security {
    padding: 60px 5%;
    background: #f4f6f9;
    color: #1a1a1a;
}
.advantages-security h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #0a2f6c;
}
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}
.security-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: 0.2s;
}
.security-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.security-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #0a2f6c;
}
.security-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}
@media (max-width: 768px) {
    .advantages-security {
        padding: 40px 4%;
    }
    .security-grid {
        grid-template-columns: 1fr;
    }
}
.comparison-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    font-size: 0.95rem;
    color: #000000;
}
.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.legend-item::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
}
.legend-our::before {
    background-color: #2e7d32;  /* зелёный */
}
.legend-other::before {
    background-color: #c62828;  /* красный */
}
.legend-equal::before {
    background-color: #1565c0;  /* синий */
}
@media (max-width: 600px) {
    .comparison-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
.equal-value {
    color: #008bff;
    font-weight: 500;
}
.hh2 {
    line-height: 25px;
}