/* Header logo */
.brand-with-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-logo-shell {
    display: grid;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    place-items: center;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-wordmark {
    font-size: 24px;
    font-weight: 900;
    white-space: nowrap;
}

.brand-wordmark > span {
    color: #8fb7ff;
}

/* Footer */
.site-footer {
    margin-top: 0;
    padding: 54px 0 18px;
    background: #171020;
    color: #fff;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.6fr .7fr .7fr;
    gap: 60px;
    padding-bottom: 34px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.footer-brand-link img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.55);
    border-radius: 50%;
}

.footer-brand-link div {
    display: flex;
    flex-direction: column;
}

.footer-brand-link strong {
    color: #ffd3a5;
    font-size: 23px;
}

.footer-brand-link span {
    margin-top: 3px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
}

.footer-company p {
    max-width: 470px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.62);
    line-height: 1.75;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links-group h3 {
    margin: 0 0 7px;
    color: #ffd3a5;
    font-size: 14px;
}

.footer-links-group a {
    color: rgba(255,255,255,.7);
    font-size: 13px;
}

.footer-links-group a:hover {
    color: #fff;
}

.footer-legal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.11);
    color: rgba(255,255,255,.48);
    font-size: 11px;
}

/* Information pages */
.info-page,
.legal-page {
    padding-top: 70px;
    padding-bottom: 90px;
}

.info-hero {
    max-width: 830px;
    margin-bottom: 36px;
}

.info-hero h1,
.legal-page h1 {
    margin: 0;
    color: #291c3a;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.12;
    letter-spacing: -1.4px;
}

.info-hero > p:not(.section-label) {
    margin: 18px 0 0;
    color: #746c75;
    font-size: 18px;
    line-height: 1.75;
}

.info-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.info-card,
.contact-card {
    padding: 26px;
    border: 1px solid #e8e1e5;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(57,39,67,.07);
}

.info-card > span,
.contact-card > span {
    font-size: 34px;
}

.info-card h2,
.contact-card h2 {
    margin: 18px 0 8px;
    color: #291c3a;
    font-size: 20px;
}

.info-card p,
.contact-card p,
.contact-note p {
    margin: 0;
    color: #756d76;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.contact-note {
    margin-top: 25px;
}

.legal-page {
    max-width: 900px;
}

.legal-updated {
    margin: 12px 0 34px;
    color: #8c838c;
    font-size: 13px;
}

.legal-page section {
    margin-top: 28px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e8e1e5;
}

.legal-page section:last-child {
    border-bottom: 0;
}

.legal-page h2 {
    margin: 0 0 10px;
    color: #39283f;
    font-size: 21px;
}

.legal-page p {
    margin: 0;
    color: #716971;
    line-height: 1.8;
}

.copyright-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px !important;
    border: 1px solid #e4d8de !important;
    border-radius: 14px;
    background: #f6edf1;
    color: #5e3d50;
}

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

    .footer-company {
        grid-column: 1 / -1;
    }

    .info-card-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .brand-logo-shell {
        width: 40px;
        height: 40px;
    }

    .brand-wordmark {
        font-size: 20px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-company {
        grid-column: auto;
    }

    .footer-legal-bar,
    .copyright-highlight {
        align-items: flex-start;
        flex-direction: column;
    }
}
