﻿.page-hero {
    position: relative;
    padding-top: 78px;
    background: var(--light);
}

.page-hero-media {
    position: relative;
    min-height: 390px;
    background: linear-gradient(105deg, rgba(24,33,64,.86) 20%, rgba(24,33,64,.70) 55%, rgba(16,26,54,.56) 100%), url('https://images.unsplash.com/photo-1554224154-26032ffc0d07?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
}

    .page-hero-media::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 22% 26%, rgba(214,191,158,.18), transparent 28%);
    }

.page-hero-inner {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 60px 0;
}

.hero-breadcrumb {
    color: rgba(255,255,255,.76);
    font-size: 14px;
    margin-bottom: 18px;
}

    .hero-breadcrumb a {
        color: rgba(255,255,255,.88);
    }

.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    margin-bottom: 22px;
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

    .page-kicker::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 0 6px rgba(214,191,158,.14);
    }

.page-hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.05;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -1.2px;
    max-width: 900px;
}

.page-hero p {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255,255,255,.84);
}

.service-layout-section {
    padding: 44px 0 110px;
    background: linear-gradient(180deg, #f7f7f3 0%, #f4f5f0 100%);
}

.service-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 26px;
    align-items: stretch;
    max-width: 1380px;
    margin: 0 auto;
}

.service-content,
.sidebar-card {
    height: 100%;
}

.service-content {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(24,33,64,.07);
    border-radius: 30px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.content-top-visual {
    position: relative;
    height: 250px;
    min-height: 180px;
    max-height: 420px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(24,33,64,.10), rgba(24,33,64,.34)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
    margin-bottom: 28px;
    display: flex;
    align-items: end;
    flex-shrink: 0;
}

    .content-top-visual::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(24,33,64,.02), rgba(24,33,64,.44));
    }

.content-top-visual-text {
    position: relative;
    z-index: 1;
    padding: 22px;
    color: #fff;
}

    .content-top-visual-text strong {
        display: block;
        font-size: 12px;
        letter-spacing: 1.3px;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 8px;
    }

    .content-top-visual-text h4 {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    .content-top-visual-text p {
        font-size: 13px;
        line-height: 1.75;
        color: rgba(255,255,255,.86);
        margin-bottom: 0;
    }

.service-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-content h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.25;
}

.service-content p {
    font-size: 15px;
    line-height: 1.95;
    color: var(--muted);
    margin-bottom: 18px;
}

.content-highlight {
    margin-top: auto;
    padding: 22px 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(24,33,64,.03), rgba(214,191,158,.08));
    border: 1px solid rgba(24,33,64,.06);
}

    .content-highlight h4 {
        font-size: 18px;
        color: var(--primary);
        margin-bottom: 12px;
    }

    .content-highlight ul {
        display: grid;
        gap: 10px;
    }

    .content-highlight li {
        list-style: none;
        display: flex;
        gap: 10px;
        align-items: flex-start;
        color: var(--primary);
        font-size: 14px;
        line-height: 1.75;
    }

        .content-highlight li::before {
            content: "";
            width: 7px;
            height: 7px;
            min-width: 7px;
            border-radius: 50%;
            background: var(--accent);
            box-shadow: 0 0 0 5px rgba(214,191,158,.12);
            margin-top: 9px;
        }

.service-sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
    height: 100%;
}

.sidebar-card {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(24,33,64,.07);
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

    .sidebar-card h3 {
        font-size: 20px;
        color: var(--primary);
        margin-bottom: 18px;
        text-align: center;
    }

.other-services-list {
    display: grid;
    gap: 10px;
    flex: 1;
}

.other-service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 13px 15px;
    border-radius: 15px;
    background: rgba(24,33,64,.03);
    border: 1px solid transparent;
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    transition: .25s ease;
}

    .other-service-link::after {
        content: "→";
        color: var(--accent);
        font-size: 16px;
        transition: .25s ease;
        flex-shrink: 0;
    }

    .other-service-link:hover {
        transform: translateY(-2px);
        border-color: rgba(214,191,158,.45);
        background: rgba(214,191,158,.10);
    }

        .other-service-link:hover::after {
            transform: translateX(3px);
        }

    .other-service-link.active {
        background: linear-gradient(180deg, rgba(24,33,64,.98), rgba(16,26,54,.98));
        color: #fff;
        border-color: rgba(24,33,64,.16);
    }

        .other-service-link.active::after {
            color: var(--accent);
        }

.cta-section {
    padding: 0 0 110px;
    background: var(--light);
}

.cta-box {
    background: radial-gradient(circle at top right, rgba(214,191,158,.18), transparent 26%), linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
    border: 1px solid rgba(24,33,64,.07);
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    padding: 40px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: center;
}

    .cta-box h2 {
        font-size: clamp(28px, 4vw, 40px);
        color: var(--primary);
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .cta-box p {
        color: var(--muted);
        font-size: 15px;
        line-height: 1.85;
        max-width: 680px;
    }

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    transition: .25s ease;
    box-shadow: var(--shadow-sm);
}

    .btn-primary:hover {
        background: var(--primary-2);
        transform: translateY(-2px);
    }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    transition: .25s ease;
}

    .btn-secondary:hover {
        transform: translateY(-2px);
    }

@media (max-width: 1200px) {
    .service-main-grid,
    .cta-box {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
        height: auto;
    }

    .service-content,
    .sidebar-card {
        height: auto;
    }
}

@media (max-width: 900px) {
    .page-hero-media {
        min-height: 320px;
    }

    .service-layout-section {
        padding: 36px 0 90px;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .page-hero h1 {
        font-size: 34px;
    }

    .service-content,
    .sidebar-card,
    .cta-box {
        padding: 24px;
    }

    .content-top-visual {
        min-height: 200px;
        height: 220px;
    }
}
