/* ==========================================================================
   SERVICIOS PAGE STYLES - VERSION 2
   Ceremonias Laicas - Página Pilar de Servicios Humanistas
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SECTION (LCP Optimized)
   -------------------------------------------------------------------------- */
.hero-servicios {
    position: relative;
    height: 440px;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Corte triangular chevron notch inferior según mockup desktop */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), calc(50% + 50px) calc(100% - 50px), 50% 100%, calc(50% - 50px) calc(100% - 50px), 0 calc(100% - 50px));
    padding-bottom: 50px;
}

.hero-servicios-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-servicios-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.hero-servicios-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    display: block;
}

.hero-servicios-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-rama-wrapper {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.hero-rama-white {
    width: 46px;
    height: 46px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.hero-servicios-title {
    font-family: 'Muli-Bold', sans-serif;
    font-size: 3.1rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

@media only screen and (max-width: 767px) {
    .hero-servicios {
        height: 350px;
        clip-path: none;
        padding-bottom: 0;
    }

    .hero-servicios-title {
        font-size: 1.9rem;
        letter-spacing: 0.12em;
    }

    .hero-rama-white {
        width: 36px;
        height: 36px;
    }
}

/* --------------------------------------------------------------------------
   2. SEPARADOR DE SECCIÓN
   -------------------------------------------------------------------------- */
.separador-seccion-2026 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 45px auto 35px auto;
    text-align: center;
}

.separador-seccion-2026 img {
    width: 36px;
    height: 36px;
    display: block;
}

/* --------------------------------------------------------------------------
   3. SECCIÓN INTRODUCCIÓN: "¿QUÉ ES UNA CEREMONIA HUMANISTA O LAICA?"
   -------------------------------------------------------------------------- */
.seccion-intro-servicios {
    padding: 30px 0 70px 0;
    background-color: #ffffff;
}

.intro-servicios-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 65px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    align-items: center;
}

/* Columna Izquierda: Collage 2x2 */
.collage-servicios-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.collage-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 540px;
}

.collage-item {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    aspect-ratio: 0.82;
    background-color: #f8f6f4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Columna Derecha: Textos */
.intro-servicios-texto-col {
    display: flex;
    flex-direction: column;
}

.titulo-servicios-rama {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.titulo-servicios-rama h2 {
    font-family: 'Muli-Light', sans-serif;
    font-size: 2.35rem;
    color: #1a1a1a;
    line-height: 1.25;
    font-weight: 300;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rama-servicios-decorativa {
    width: 46px;
    height: auto;
    flex-shrink: 0;
}

.intro-servicios-bajada {
    font-family: 'Cormorant-Italic', serif;
    font-style: italic;
    font-size: 1.55rem;
    color: #9F6D4A;
    line-height: 1.4;
    margin-bottom: 26px;
}

.intro-servicios-parrafos {
    font-family: 'Muli-Light', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 35px;
}

.intro-servicios-parrafos p {
    margin-bottom: 20px;
}

.intro-servicios-parrafos p:last-child {
    margin-bottom: 0;
}

.intro-servicios-btn-wrap {
    display: flex;
    gap: 20px;
}

.btn-conoce-mas {
    display: inline-block;
    background-color: #de9f7f !important;
    color: #ffffff !important;
    font-family: 'Muli-Bold', sans-serif !important;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 15px 36px;
    text-decoration: none !important;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 14px rgba(222, 159, 127, 0.25);
}

.btn-conoce-mas:hover {
    background-color: #c98867 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(222, 159, 127, 0.4);
}

/* --------------------------------------------------------------------------
   4. SECCIÓN COMPARATIVA: "SOBRE NUESTRAS BODAS" Y "SOBRE NUESTROS FUNERALES"
   -------------------------------------------------------------------------- */
.seccion-comparativa-servicios {
    padding: 40px 0 90px 0;
    background-color: #ffffff;
}

.grid-comparativa-servicios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.col-comparativa-servicio {
    display: flex;
    flex-direction: column;
}

.col-comparativa-servicio h3 {
    font-family: 'Muli-Light', sans-serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1.25;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.comparativa-bajada {
    font-family: 'Cormorant-Italic', serif;
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 24px;
}

.col-bodas .comparativa-bajada {
    color: #de9f7f;
}

.col-funerales .comparativa-bajada {
    color: #9F6D4A;
}

.comparativa-parrafos {
    font-family: 'Muli-Light', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 35px;
}

.comparativa-parrafos p {
    margin-bottom: 20px;
}

.comparativa-parrafos p:last-child {
    margin-bottom: 0;
}

/* Círculos fotográficos con marco de color */
.circulo-servicio-wrap {
    width: 100%;
    max-width: 380px;
    margin: 0 auto 30px auto;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circulo-servicio-wrap:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.circulo-bodas {
    border: 22px solid #de9f7f;
}

.circulo-funerales {
    border: 22px solid #9F6D4A;
}

.circulo-servicio-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comparativa-btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.btn-servicio-outline {
    display: inline-block;
    font-family: 'Muli-Bold', sans-serif !important;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    text-decoration: none !important;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-servicio-bodas {
    color: #de9f7f;
    border: 1.5px solid #de9f7f;
    background: transparent;
}

.btn-servicio-bodas:hover {
    background-color: #de9f7f;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(222, 159, 127, 0.3);
}

.btn-servicio-funerales {
    color: #9F6D4A;
    border: 1.5px solid #9F6D4A;
    background: transparent;
}

.btn-servicio-funerales:hover {
    background-color: #9F6D4A;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(159, 109, 74, 0.3);
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE BREAKPOINTS (MOBILE & TABLET)
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 991px) {
    .intro-servicios-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .grid-comparativa-servicios {
        grid-template-columns: 1fr;
        gap: 55px;
    }
}

@media only screen and (max-width: 767px) {
    .seccion-intro-servicios {
        padding: 25px 0 45px 0;
    }

    .intro-servicios-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .collage-servicios-col {
        order: 1;
    }

    .intro-servicios-texto-col {
        order: 2;
    }

    .collage-grid-2x2 {
        max-width: 100%;
        gap: 10px;
    }

    .titulo-servicios-rama h2 {
        font-size: 1.75rem;
    }

    .rama-servicios-decorativa {
        width: 36px;
    }

    .intro-servicios-bajada {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .intro-servicios-parrafos {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .intro-servicios-btn-wrap {
        justify-content: center;
        width: 100%;
    }

    .btn-conoce-mas {
        width: 100%;
        max-width: 320px;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .seccion-comparativa-servicios {
        padding: 30px 0 70px 0;
    }

    .grid-comparativa-servicios {
        display: flex;
        flex-direction: column;
        gap: 50px;
        padding: 0 20px;
    }

    .col-comparativa-servicio h3 {
        font-size: 1.65rem;
    }

    .comparativa-bajada {
        font-size: 1.25rem;
        margin-bottom: 18px;
    }

    .comparativa-parrafos {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .circulo-servicio-wrap {
        max-width: 290px;
        border-width: 14px;
        margin-bottom: 25px;
    }

    .btn-servicio-outline {
        width: 100%;
        max-width: 320px;
    }
}
