/* ========================================
   SKALINI - SUBPAGES
   Service pages, breadcrumbs and errors
   ======================================== */


/* =========================
   BREADCRUMBS
   ========================= */

.breadcrumbs {
    margin-bottom: 28px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px;

    color: #9fa7ad;

    font-size: 0.78rem;
}


.breadcrumbs a {
    color: #cbd0d4;

    transition: color 0.2s ease;
}


.breadcrumbs a:hover {
    color: var(--color-white);
}


.breadcrumbs [aria-current="page"] {
    color: #ff7373;
}


/* =========================
   SERVICE HERO
   ========================= */

.service-hero {
    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #111416 0%,
            var(--color-dark) 60%,
            #20262b 100%
        );

    color: var(--color-white);
}


.service-hero-grid {
    min-height: 610px;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: clamp(50px, 7vw, 100px);
}


.service-hero-content {
    padding: 90px 0;
}


.service-hero-content h1 {
    max-width: 760px;

    margin-bottom: 28px;

    color: var(--color-white);

    font-size: clamp(3rem, 6vw, 5rem);
}


.service-hero-intro {
    max-width: 650px;

    margin-bottom: 36px;

    color: #c5cbd0;

    font-size: 1.12rem;
}


.service-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


.button-service-secondary {
    border-color: rgba(255, 255, 255, 0.35);

    background: transparent;
    color: var(--color-white);
}


.button-service-secondary:hover {
    border-color: var(--color-white);
}


/* =========================
   SERVICE IMAGE PLACEHOLDER
   ========================= */

/* =========================
   SERVICE HERO IMAGE
   ========================= */


.service-hero-image {
    min-height: 470px;
    overflow: hidden;
    border-radius: 14px;
    background: #282e33;
    box-shadow:
        0 28px 70px
        rgba(0, 0, 0, 0.3);
}


.service-hero-photo {
    width: 100%;
    height: 470px;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* =========================
   SERVICE DETAILS
   ========================= */

.service-details {
    padding: 120px 0;

    background: var(--color-white);
}


.service-details-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: start;

    gap: clamp(60px, 8vw, 120px);
}


.service-description h2 {
    margin-bottom: 24px;
}


.service-description > p:not(.section-eyebrow) {
    max-width: 620px;

    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================
   SERVICE LIST
   ========================= */

.service-list {
    border-top: 1px solid var(--color-border);
}


.service-list-item {
    min-height: 84px;
    padding: 20px 4px;
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--color-border);
}


.service-list-item span {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(214, 40, 40, 0.1);
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 900;
}


.service-list-item .icon {
    width: 14px;
    height: 14px;
}


.service-list-item strong {
    font-size: 1rem;
}


/* =========================
   SERVICE CTA
   ========================= */

.service-cta {
    padding: 80px 0;

    background: var(--color-light);
}


.service-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;
}


.service-cta h2 {
    margin-bottom: 12px;

    font-size: clamp(2rem, 4vw, 3rem);
}


.service-cta p:not(.section-eyebrow) {
    max-width: 600px;
}


.service-cta-actions {
    display: flex;
    flex-shrink: 0;

    gap: 12px;
}


/* =========================
   ERROR PAGE
   ========================= */

.error-page {
    min-height: 62vh;

    padding: 110px 0;

    display: flex;
    align-items: center;

    background: var(--color-light);
}


.error-page-inner {
    max-width: 760px;
}


.error-page h1 {
    margin-bottom: 22px;

    font-size: clamp(3rem, 7vw, 5.5rem);
}


.error-page p:not(.section-eyebrow) {
    max-width: 600px;

    margin-bottom: 34px;

    font-size: 1.05rem;
}


.error-page-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    .breadcrumbs {
        margin-bottom: 22px;
    }


    .service-hero-grid {
        min-height: auto;

        display: flex;
        flex-direction: column;

        gap: 0;
    }


    .service-hero-content {
        width: 100%;

        padding: 72px 0 52px;
    }


    .service-hero-content h1 {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }


    .service-hero-actions {
        flex-direction: column;
    }


    .service-hero-actions .button {
        width: 100%;
    }


    .service-hero-image {
        width: 100%;
        min-height: 330px;
        margin-bottom: 40px;
        padding: 0;
    }


    .service-hero-photo {
        height: 330px;
    }


    .service-details {
        padding: 76px 0;
    }


    .service-details-grid {
        display: flex;
        flex-direction: column;

        gap: 48px;
    }


    .service-list {
        width: 100%;
    }


    .service-cta {
        padding: 64px 0;
    }


    .service-cta-inner {
        flex-direction: column;
        align-items: flex-start;

        gap: 32px;
    }


    .service-cta-actions {
        width: 100%;

        flex-direction: column;
    }


    .service-cta-actions .button {
        width: 100%;
    }


    .error-page {
        min-height: 58vh;

        padding: 72px 0 100px;
    }


    .error-page-actions {
        flex-direction: column;
    }


    .error-page-actions .button {
        width: 100%;
    }
}