/* Orlinoe homepage improvements — 2026-06 */
.main-page .orl-home-hero,
.main-page .orl-home-services {
    font-family: inherit;
}

.main-page .orl-home-hero {
    display: none;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: stretch;
    margin: 0 0 24px;
    padding: 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef7ff 0%, #ffffff 52%, #eaf8f1 100%);
    border: 1px solid #dbeaf5;
    box-shadow: 0 14px 34px rgba(29, 83, 123, .08);
}

.main-page .orl-home-hero__label {
    margin: 0 0 8px;
    color: #2775a9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.main-page .orl-home-hero h2 {
    margin: 0;
    color: #18364d;
    font-size: 34px;
    line-height: 1.16;
    font-weight: 800;
}

.main-page .orl-home-hero__text {
    max-width: 680px;
    margin: 14px 0 0;
    color: #4e6272;
    font-size: 17px;
    line-height: 1.55;
}

.main-page .orl-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.main-page .orl-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #bcd9ec;
    background: #fff;
    color: #1f668f;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.main-page .orl-home-btn:hover,
.main-page .orl-home-btn:focus {
    color: #15577d;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(31, 102, 143, .16);
}

.main-page .orl-home-btn--primary {
    border-color: #1f8ed0;
    background: #1f8ed0;
    color: #fff;
}

.main-page .orl-home-btn--primary:hover,
.main-page .orl-home-btn--primary:focus {
    color: #fff;
    background: #197db7;
}

.main-page .orl-home-hero__panel {
    display: grid;
    gap: 12px;
}

.main-page .orl-home-hero__panel > div {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(188, 217, 236, .75);
}

.main-page .orl-home-hero__panel span {
    display: block;
    margin-bottom: 5px;
    color: #687d8b;
    font-size: 13px;
}

.main-page .orl-home-hero__panel strong,
.main-page .orl-home-hero__panel a {
    color: #18364d;
    font-size: 17px;
    text-decoration: none;
}

.main-page .orl-home-services {
    display: none;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px;
}

.main-page .orl-home-services a {
    min-height: 112px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #e1edf5;
    background: #fff;
    color: #24445b;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(24, 54, 77, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.main-page .orl-home-services a:hover,
.main-page .orl-home-services a:focus {
    text-decoration: none;
    transform: translateY(-2px);
    border-color: #9fd0ee;
    box-shadow: 0 12px 28px rgba(31, 102, 143, .13);
}

.main-page .orl-home-services span {
    display: block;
    margin-bottom: 8px;
    color: #1f8ed0;
    font-size: 16px;
    font-weight: 800;
}

.main-page .orl-home-services strong {
    display: block;
    color: #526a7a;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
}

@media (max-width: 1199px) {
    .main-page .orl-home-services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .main-page .orl-home-hero {
        display: none;
    }

    .main-page .orl-home-hero h2 {
        font-size: 25px;
        line-height: 1.22;
    }

    .main-page .orl-home-hero__text {
        font-size: 15px;
    }

    .main-page .orl-home-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .main-page .orl-home-btn {
        width: 100%;
        min-height: 44px;
    }

    .main-page .orl-home-services {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 18px;
    }

    .main-page .orl-home-services a {
        min-height: 104px;
        padding: 14px;
        border-radius: 14px;
    }

    .main-page .orl-home-services span {
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    .main-page .orl-home-services {
        grid-template-columns: 1fr;
    }

    .main-page .orl-home-services a {
        min-height: auto;
    }
}
