/* ========================================================= */
/* ==================== SERVICES HERO ====================== */
/* ========================================================= */

/* Base class for services pages heroes */
.services-hero {
    width: 100%;
    height: 652px;
    position: relative;
    overflow: hidden;
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 780px) {
    .services-hero {
        height: calc(100vh - 76px);
    }
}

/* Gradient overlay via ::before */
.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 12, 26, 0.8) 0%, rgba(10, 60, 150, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

/* LCP img inside hero */
.services-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Fallback background classes (same as pages-hero) */
.hero-elet {
    background-image: url("../../assets/images/elet-curitiba-small.webp");
    background-size: cover;
    background-position: center;
}

.hero-encanador {
    background-image: url("../../assets/images/encanador-curitiba-small.webp");
    background-size: cover;
    background-position: center;
}

.hero-reformas {
    background-image: url("../../assets/images/reformas-e-reparos-domesticos-em-curitba-small.webp");
    background-size: cover;
    background-position: center;
}

.hero-seguranca {
    background-image: url("../../assets/images/seguranca-eletronica-em-curitiba-medium.webp");
    background-size: cover;
    background-position: center;
}

.hero-quem-somos,
.hero-contato {
    background-image: url("../../assets/images/elet-curitiba-medium.webp");
    background-size: cover;
    background-position: center;
}

@media (min-width: 780px) {
    .hero-seguranca .services-hero-bg {
        object-position: center 10%;
    }
}

/* Inner wrapper layout */
.services-wrapper-hero {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding-top: 0;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center buttons horizontally on mobile */
    gap: 12px;
    width: 100%;
    margin-top: 32px;
}

@media (min-width: 780px) {
    .services-wrapper-hero {
        padding-top: 0;
        justify-content: center;
        /* Mantém centralizado no desktop */
    }

    .hero-cta-wrapper {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        width: auto;
        gap: 20px;
        margin-top: 24px;
    }
}

@media (min-width: 980px) {
    .services-wrapper-hero {
        width: 70%;
    }
}

/* -------------------------------- */
/* BREADCRUMBS IN SERVICE HERO      */
/* -------------------------------- */
.services-hero-breadcrumbs {
    z-index: 10;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.services-hero-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-hero-breadcrumbs li {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--light);
}

.services-hero-breadcrumbs a {
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    outline: none;
    transition: color 0.3s ease;
}

.services-hero-breadcrumbs a:hover,
.services-hero-breadcrumbs a:focus-visible {
    color: var(--color-1);
}

.services-hero-breadcrumbs .home-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-top: -2px;
}

.services-hero-breadcrumbs .separator {
    color: var(--light);
    opacity: 0.6;
    margin: 0 4px;
    font-weight: 300;
}

.services-hero-breadcrumbs .current-page {
    color: var(--color-1);
    font-weight: 700;
}

@media (min-width: 768px) {
    .services-hero-breadcrumbs li,
    .services-hero-breadcrumbs a {
        font-size: 20px;
    }

    .services-hero-breadcrumbs .home-icon {
        width: 28px;
        height: 28px;
    }
}

/* -------------------------------- */
/* TITLE & SUBTITLE IN SERVICE HERO */
/* -------------------------------- */
.services-hero-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.services-hero-title h1 {
    color: var(--light);
    font-size: 38px;
    line-height: 1.2;
}

@media (min-width: 780px) {
    .services-hero-title h1 {
        font-size: 60px;
    }
}

.services-hero-subtitle {
    font-family: sans-serif !important;
    font-size: 20px;
    color: #fff;
    font-weight: 400 !important;
    max-width: 600px;
    line-height: 1.5;
    margin-bottom: 32px;
}

@media (min-width: 780px) {
    .services-hero-subtitle {
        font-size: 24px;
    }
}

/* -------------------------------- */
/* CTA WRAPPER & BUTTONS            */
/* -------------------------------- */
.services-hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: 8px;
    width: 100%;
}

@media (min-width: 780px) {
    .services-hero-cta-wrapper {
        flex-direction: row;
        gap: 20px;
        justify-content: flex-start;
        align-items: flex-start;
        width: auto;
    }
}

.services-hero .cta-button,
.services-hero .secundary-cta-button {
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 280px;
    height: 52px;
    border-radius: 20px;
}

.services-hero .cta-button {
    background-color: var(--color-1);
    color: var(--light);
    border: 3px solid var(--color-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.secundary-cta-button {
    font-size: 20.5px !important;
}

@media (min-width: 780px) {
    .services-hero .cta-button {
        padding: 0;
        font-size: 18.5px;

        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .services-hero .secundary-cta-button {
        padding: 0;

        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
}

.services-hero .cta-button:hover {
    background-color: transparent !important;
    color: var(--color-1) !important;
    transform: translateY(-2px);
    border: 3px solid var(--color-1);
    backdrop-filter: blur(20px);
}

.services-hero .cta-button svg,
.services-hero .cta-button svg path {
    color: inherit;
    fill: currentColor !important;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.services-hero .cta-button:hover svg {
    transform: scale(1.1);
}

.services-hero .secundary-cta-button {
    background-color: rgba(255, 255, 255, 0.1);

    color: var(--light);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.services-hero .secundary-cta-button:hover {
    background-color: var(--light) !important;
    color: var(--color-2) !important;
    transform: translateY(-2px);
}

.services-hero .secundary-cta-button:hover svg {
    color: var(--color-2);
}

.services-hero .secundary-cta-button svg,
.services-hero .secundary-cta-button svg path {
    width: 24px;
    height: 24px;

    flex-shrink: 0;
    fill: currentColor !important;
}
