/* =========================
   Content pages
========================= */

.content-page {
    padding: 46px 0 72px;
}

.content-head {
    max-width: 820px;
    margin-bottom: 30px;
}

.content-title {
    margin-bottom: 12px;
    font-size: 38px;
    line-height: 1.15;
    color: #111827;
    letter-spacing: -0.03em;
}

.content-description {
    font-size: 17px;
    line-height: 1.6;
    color: #687386;
}

.info-card {
    max-width: 920px;
    padding: 26px;
    margin-bottom: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e3e8f2;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.045);
}

.info-card h2 {
    margin-bottom: 12px;
    font-size: 22px;
    color: #111827;
}

.info-card p {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: #687386;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-card ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.info-card li {
    margin-bottom: 7px;
    font-size: 15px;
    line-height: 1.6;
    color: #687386;
}

.info-card a {
    color: #2563eb;
    font-weight: 600;
}

.info-card a:hover {
    text-decoration: underline;
}

/* =========================
   Contacts page
========================= */

.contacts-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 22px;
    margin-bottom: 24px;
}

.contacts-main-card,
.contacts-side-card {
    background: #ffffff;
    border: 1px solid #e3e8f2;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.05);
}

.contacts-main-card h2,
.contacts-side-card h2 {
    margin-bottom: 12px;
    font-size: 24px;
    color: #111827;
}

.contacts-main-card p {
    max-width: 680px;
    margin-bottom: 22px;
    color: #687386;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: #f3f6fb;
    border: 1px solid #e3e8f2;
    color: #374151;
    font-weight: 600;
    transition: 0.2s ease;
}

.contact-button:hover {
    background: #eef2ff;
    border-color: #bfccff;
    color: #1d4ed8;
}

.contact-button_primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.contact-button_primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.contact-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #e8edf7;
    font-size: 15px;
}

.contact-line:last-child {
    border-bottom: none;
}

.contact-line span {
    color: #687386;
}

.contact-line a {
    color: #2563eb;
    font-weight: 600;
    text-align: right;
}

.contact-line a:hover {
    text-decoration: underline;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.small-link {
    display: inline-flex;
    margin-top: 14px;
    color: #2563eb;
    font-weight: 700;
}

.small-link:hover {
    text-decoration: underline;
}

/* Adaptive contacts */

@media (max-width: 900px) {
    .contacts-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .contacts-main-card,
    .contacts-side-card {
        padding: 22px;
        border-radius: 18px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-button {
        width: 100%;
    }

    .contact-line {
        flex-direction: column;
        gap: 4px;
    }

    .contact-line a {
        text-align: left;
    }
}

/* =========================
   About page
========================= */

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    margin-bottom: 24px;
}

.about-hero__content,
.about-hero__card {
    background: #ffffff;
    border: 1px solid #e3e8f2;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.05);
}

.about-hero__content h2 {
    margin-bottom: 14px;
    font-size: 26px;
    color: #111827;
}

.about-hero__content p {
    margin-bottom: 14px;
    color: #687386;
    line-height: 1.7;
}

.about-hero__content p:last-child {
    margin-bottom: 0;
}

.about-hero__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hero__icon {
    width: 62px;
    height: 62px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: #eaf0ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
}

.about-hero__card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
    color: #111827;
}

.about-hero__card span {
    color: #687386;
    line-height: 1.6;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.about-values {
    margin-bottom: 28px;
}

.values-list {
    display: grid;
    gap: 14px;
}

.value-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e3e8f2;
}

.value-item span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eaf0ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.value-item h3 {
    margin-bottom: 6px;
    font-size: 18px;
    color: #111827;
}

.value-item p {
    color: #687386;
    line-height: 1.6;
}

.about-note {
    border-color: #dbe6ff;
    background: #f8fbff;
}

/* Adaptive about */

@media (max-width: 900px) {
    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .about-hero__content,
    .about-hero__card {
        padding: 22px;
        border-radius: 18px;
    }

    .value-item {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* Adaptive */

@media (max-width: 720px) {
    .content-page {
        padding: 34px 0 54px;
    }

    .content-title {
        font-size: 30px;
    }

    .content-description {
        font-size: 16px;
    }

    .info-card {
        padding: 22px;
        border-radius: 18px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }
}