/* ================================================================
   Guarantee Page
   ================================================================ */

/* Cards */
.br-guarantee-yes {
    margin-bottom: var(--br-gap-2xl);
}

.br-guarantee-yes h2 {
    margin-bottom: var(--br-gap-lg);
}

.br-guarantee-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--br-gap-lg);
}

@media (max-width: 991px) {
    .br-guarantee-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .br-guarantee-cards { grid-template-columns: 1fr; }
}

.br-guarantee-card {
    padding: var(--br-gap-lg);
    border-radius: var(--br-r-lg);
    border: 1px solid var(--br-line);
    transition: all var(--br-ease);
    background: var(--br-paper);
}

.br-guarantee-card:hover {
    box-shadow: var(--br-shadow-soft);
    border-color: #369155;
}

.br-guarantee-card--green {
    border-left: 4px solid #369155;
}

.br-guarantee-card__icon {
    font-size: 36px;
    display: block;
    margin-bottom: var(--br-gap-md);
}

.br-guarantee-card h3 {
    font-size: 17px;
    margin-bottom: var(--br-gap-sm);
}

.br-guarantee-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Notice — на всю ширину */
.br-guarantee-notice {
    display: flex;
    gap: var(--br-gap-lg);
    align-items: flex-start;
    padding: var(--br-gap-lg);
    background: #fef9e7;
    border: 1px solid #fde68a;
    border-radius: var(--br-r-lg);
}

.br-guarantee-notice__icon {
    font-size: 48px;
    flex-shrink: 0;
}

.br-guarantee-notice__body {
    flex: 1;
}

.br-guarantee-notice__body p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: var(--br-gap-md);
}

.br-guarantee-notice__body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .br-guarantee-notice {
        flex-direction: column;
    }
}

/* Max effort — на всю ширину */
.br-guarantee-max {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--br-gap-lg);
}

@media (max-width: 767px) {
    .br-guarantee-max { grid-template-columns: 1fr; }
}

.br-guarantee-max__item {
    display: flex;
    gap: var(--br-gap-md);
    align-items: flex-start;
    padding: var(--br-gap-lg);
    background: var(--br-paper);
    border: 1px solid var(--br-line);
    border-radius: var(--br-r-md);
    transition: border-color var(--br-ease);
}

.br-guarantee-max__item:hover {
    border-color: #369155;
}

.br-guarantee-max__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #369155;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.br-guarantee-max__item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.br-guarantee-max__item p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Problem */
.br-guarantee-problem {
    padding: var(--br-gap-lg);
    background: var(--br-paper);
    border: 1px solid var(--br-line);
    border-radius: var(--br-r-lg);
}

.br-guarantee-problem p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: var(--br-gap-lg);
}

.br-guarantee-problem__actions {
    display: flex;
    align-items: center;
    gap: var(--br-gap-lg);
    flex-wrap: wrap;
}

.br-guarantee-problem__phone {
    font-size: 15px;
    color: #666;
}

.br-guarantee-problem__phone a {
    font-weight: 700;
    color: #369155;
    font-size: 18px;
}

/* Crosslinks — стили прямо в файле гарантий */
.br-crosslinks {
    display: flex;
    gap: var(--br-gap-md);
    margin: var(--br-gap-xl) 0 var(--br-gap-2xl);
    flex-wrap: wrap;
}

.br-crosslink {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--br-paper);
    border: 2px solid var(--br-line);
    border-radius: var(--br-r-md);
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    transition: all var(--br-ease);
    text-decoration: none;
    flex: 1;
    min-width: 180px;
    justify-content: center;
}

.br-crosslink:hover {
    border-color: #369155;
    background: #e8f5ed;
    color: #369155;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(54,145,85,.15);
}

@media (max-width: 767px) {
    .br-crosslinks {
        flex-direction: column;
    }

    .br-crosslink {
        min-width: auto;
    }
}