/* =========================================================
   COMUNIDADES.CSS
   Parroquia San Francisco de Asís - Dapa
========================================================= */
/* =========================================================
   BASE
========================================================= */
.pagina-comunidades {
    background: #f8f5ef;
}
.pagina-comunidades main {
    overflow: hidden;
}
.pagina-comunidades a,
.pagina-comunidades button {
    -webkit-tap-highlight-color: transparent;
}
/* =========================================================
   =========================================================
   HERO COMUNIDADES
   =========================================================
========================================================= */
.comunidades-hero {
    position: relative;
    width: 100%;
    min-height: 430px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background: #1f1411;
}
/* =========================================================
   IMAGEN DE FONDO
========================================================= */
.comunidades-hero__fondo {
    position: absolute;
    inset: 0;
    z-index: -8;
    overflow: hidden;
}
.comunidades-hero__fondo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 52%;
    transform:
        scale(1.04);
    animation:
        comunidadesHeroImagen
        20s ease-in-out
        infinite alternate;
}
/* =========================================================
   OVERLAY
========================================================= */
.comunidades-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -7;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(8, 7, 6, 0.87) 0%,
            rgba(15, 12, 10, 0.77) 29%,
            rgba(19, 15, 12, 0.47) 57%,
            rgba(18, 12, 10, 0.22) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.14),
            rgba(0, 0, 0, 0.42)
        );
}
/* =========================================================
   VIÑETA
========================================================= */
.comunidades-hero__vineta {
    position: absolute;
    inset: 0;
    z-index: -6;
    pointer-events: none;
    box-shadow:
        inset 0 0 100px
        rgba(0, 0, 0, 0.24),
        inset 0 -90px 120px
        rgba(0, 0, 0, 0.27);
}
/* =========================================================
   TEXTURA
========================================================= */
.comunidades-hero__textura {
    position: absolute;
    inset: 0;
    z-index: -5;
    opacity: 0.14;
    pointer-events: none;
    background-image:
        radial-gradient(
            rgba(255, 255, 255, 0.15) 0.65px,
            transparent 0.65px
        );
    background-size:
        25px 25px;
    animation:
        comunidadesTextura
        28s linear
        infinite;
}
/* =========================================================
   LUCES
========================================================= */
.comunidades-hero__luz {
    position: absolute;
    z-index: -4;
    pointer-events: none;
    border-radius: 50%;
}
.comunidades-hero__luz--uno {
    width: 500px;
    height: 500px;
    right: -130px;
    top: -390px;
    background:
        radial-gradient(
            circle,
            rgba(232, 205, 149, 0.27),
            rgba(198, 161, 91, 0.07) 40%,
            transparent 70%
        );
    animation:
        comunidadesLuzUno
        9s ease-in-out
        infinite;
}
.comunidades-hero__luz--dos {
    width: 340px;
    height: 340px;
    left: 22%;
    bottom: -285px;
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.12),
            transparent 69%
        );
    animation:
        comunidadesLuzDos
        11s ease-in-out
        infinite;
}
/* =========================================================
   AROS
========================================================= */
.comunidades-hero__aro {
    position: absolute;
    z-index: -3;
    pointer-events: none;
    border-radius: 50%;
}
.comunidades-hero__aro--uno {
    width: 330px;
    height: 330px;
    right: -155px;
    top: -140px;
    border:
        1px solid
        rgba(224, 201, 146, 0.24);
    animation:
        comunidadesAroUno
        11s ease-in-out
        infinite;
}
.comunidades-hero__aro--dos {
    width: 210px;
    height: 210px;
    left: -100px;
    bottom: -145px;
    border:
        1px solid
        rgba(255, 255, 255, 0.11);
    animation:
        comunidadesAroDos
        13s ease-in-out
        infinite;
}
/* =========================================================
   DESTELLO
========================================================= */
.comunidades-hero__destello {
    position: absolute;
    z-index: -2;
    top: -50%;
    left: -35%;
    width: 24%;
    height: 210%;
    pointer-events: none;
    transform:
        rotate(18deg);
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.09),
            transparent
        );
    animation:
        comunidadesDestello
        9s ease-in-out
        infinite;
}
/* =========================================================
   LÍNEA INFERIOR HERO
========================================================= */
.comunidades-hero__linea {
    position: absolute;
    z-index: 3;
    left: 11%;
    right: 11%;
    bottom: 18px;
    height: 1px;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(198, 161, 91, 0.35),
            var(--dorado-claro, #e0c992),
            rgba(198, 161, 91, 0.35),
            transparent
        );
    animation:
        comunidadesLinea
        5.5s ease-in-out
        infinite;
}
/* =========================================================
   CONTENEDOR HERO
========================================================= */
.comunidades-hero__contenedor {
    position: relative;
    z-index: 5;
    width:
        min(
            92%,
            1240px
        );
    min-height: 430px;
    margin:
        0 auto;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
/* =========================================================
   CONTENIDO HERO
========================================================= */
.comunidades-hero__contenido {
    width: 100%;
    max-width: 720px;
    padding:
        50px 0;
    box-sizing: border-box;
}
/* =========================================================
   TÍTULO HERO
========================================================= */
.comunidades-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #ffffff;
    font-family:
        var(--titulo, "Playfair Display", serif);
    font-size:
        clamp(
            2.55rem,
            4.4vw,
            4rem
        );
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.025em;
    text-shadow:
        0 4px 14px
        rgba(0, 0, 0, 0.55),
        0 12px 30px
        rgba(0, 0, 0, 0.35);
}
.comunidades-hero h1 span {
    display: block;
    margin-top: 3px;
    color:
        var(--dorado-claro, #e0c992);
    font-style: italic;
}
/* =========================================================
   PÁRRAFO HERO
========================================================= */
.comunidades-hero__contenido > p {
    max-width: 590px;
    margin:
        16px 0 0;
    padding:
        13px 15px;
    color:
        rgba(255, 255, 255, 0.95);
    font-size:
        0.94rem;
    line-height:
        1.72;
    border-left:
        2px solid
        rgba(224, 201, 146, 0.60);
    border-radius:
        0 12px 12px 0;
    background:
        rgba(0, 0, 0, 0.29);
    backdrop-filter:
        blur(8px);
    text-shadow:
        0 2px 8px
        rgba(0, 0, 0, 0.42);
}
/* =========================================================
   =========================================================
   CONTENIDO PRINCIPAL
   =========================================================
========================================================= */
.comunidades-contenido {
    position: relative;
    padding:
        82px 0 92px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(
            circle at 7% 12%,
            rgba(198, 161, 91, 0.11),
            transparent 25%
        ),
        radial-gradient(
            circle at 94% 82%,
            rgba(111, 29, 46, 0.06),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.48),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #fffdf9 0%,
            #f4eee5 100%
        );
}
/* =========================================================
   TEXTURA DE FONDO
========================================================= */
.comunidades-contenido::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -4;
    pointer-events: none;
    opacity: 0.28;
    background-image:
        linear-gradient(
            rgba(107, 75, 59, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(107, 75, 59, 0.025) 1px,
            transparent 1px
        );
    background-size:
        52px 52px;
}
/* =========================================================
   LÍNEA SUPERIOR DEL CONTENIDO
========================================================= */
.comunidades-contenido::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width:
        min(
            78%,
            1000px
        );
    height: 1px;
    transform:
        translateX(-50%);
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(198, 161, 91, 0.45),
            transparent
        );
}
/* =========================================================
   HALOS
========================================================= */
.comunidades-contenido__halo {
    position: absolute;
    z-index: -3;
    pointer-events: none;
    border-radius: 50%;
}
.comunidades-contenido__halo--uno {
    width: 560px;
    height: 560px;
    left: -360px;
    top: 110px;
    background:
        radial-gradient(
            circle,
            rgba(198, 161, 91, 0.13),
            transparent 68%
        );
}
.comunidades-contenido__halo--dos {
    width: 600px;
    height: 600px;
    right: -390px;
    bottom: -120px;
    background:
        radial-gradient(
            circle,
            rgba(111, 29, 46, 0.075),
            transparent 68%
        );
}
/* =========================================================
   CÍRCULOS DECORATIVOS
========================================================= */
.comunidades-contenido__circulo {
    position: absolute;
    z-index: -2;
    pointer-events: none;
    border-radius: 50%;
    border:
        1px solid
        rgba(198, 161, 91, 0.12);
}
.comunidades-contenido__circulo--uno {
    width: 300px;
    height: 300px;
    left: -150px;
    bottom: 80px;
}
.comunidades-contenido__circulo--dos {
    width: 420px;
    height: 420px;
    right: -240px;
    top: 160px;
}
/* =========================================================
   =========================================================
   PRESENTACIÓN
   =========================================================
========================================================= */
.comunidades-presentacion {
    position: relative;
    max-width:
        1180px;
    margin:
        0 auto 78px;
    padding:
        38px;
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, 0.75fr);
    align-items: stretch;
    gap:
        36px;
    overflow: hidden;
    border:
        1px solid
        rgba(198, 161, 91, 0.22);
    border-radius:
        28px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(250, 245, 236, 0.96)
        );
    box-shadow:
        0 22px 48px
        rgba(72, 49, 38, 0.08);
}
/* DECORACIÓN SUPERIOR */
.comunidades-presentacion::before {
    content: "";
    position: absolute;
    left: 38px;
    top: 0;
    width:
        105px;
    height:
        3px;
    border-radius:
        0 0 999px 999px;
    background:
        linear-gradient(
            90deg,
            var(--vino, #6f1d2e),
            var(--dorado, #c6a15b),
            var(--dorado-claro, #e0c992)
        );
}
/* DECORACIÓN CIRCULAR */
.comunidades-presentacion::after {
    content: "";
    position: absolute;
    right: -130px;
    top: -150px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    border:
        1px solid
        rgba(198, 161, 91, 0.12);
    pointer-events: none;
}
/* =========================================================
   COLUMNA PRINCIPAL
========================================================= */
.comunidades-presentacion__contenido {
    position: relative;
    z-index: 2;
    padding:
        10px 10px 10px 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* KICKER */
.comunidades-presentacion__kicker {
    display: inline-block;
    width:
        fit-content;
    margin-bottom:
        9px;
    color:
        var(--vino, #6f1d2e);
    font-size:
        0.69rem;
    font-weight:
        700;
    text-transform:
        uppercase;
    letter-spacing:
        0.17em;
}
/* TÍTULO PRESENTACIÓN */
.comunidades-presentacion__contenido h2 {
    max-width:
        670px;
    margin:
        0;
    color:
        #3b2d28;
    font-family:
        var(--titulo, "Playfair Display", serif);
    font-size:
        clamp(
            2.25rem,
            4vw,
            3.55rem
        );
    line-height:
        1.04;
    font-weight:
        600;
}
.comunidades-presentacion__contenido h2 span {
    display: block;
    color:
        #80604f;
    font-style:
        italic;
}
/* TEXTO PRESENTACIÓN */
.comunidades-presentacion__contenido > p {
    max-width:
        670px;
    margin:
        20px 0 0;
    color:
        #655750;
    font-size:
        0.96rem;
    line-height:
        1.82;
    font-weight:
        500;
}
/* LÍNEA */
.comunidades-presentacion__linea {
    width:
        110px;
    height:
        2px;
    margin-top:
        24px;
    border-radius:
        999px;
    background:
        linear-gradient(
            90deg,
            var(--dorado, #c6a15b),
            rgba(198, 161, 91, 0.14)
        );
}
/* =========================================================
   TARJETA DESTACADA
========================================================= */
.comunidades-presentacion__destacado {
    position: relative;
    z-index: 2;
    min-height:
        290px;
    padding:
        27px;
    display: flex;
    flex-direction: column;
    justify-content:
        center;
    overflow:
        hidden;
    border:
        1px solid
        rgba(111, 29, 46, 0.15);
    border-radius:
        21px;
    background:
        linear-gradient(
            145deg,
            rgba(111, 29, 46, 0.97),
            rgba(77, 18, 31, 0.96)
        );
    color:
        #ffffff;
    box-shadow:
        0 18px 38px
        rgba(77, 18, 31, 0.17);
}
/* DECORACIÓN TARJETA */
.comunidades-presentacion__destacado-decoracion {
    position: absolute;
    width:
        200px;
    height:
        200px;
    right:
        -105px;
    top:
        -105px;
    border-radius:
        50%;
    border:
        1px solid
        rgba(224, 201, 146, 0.18);
    pointer-events:
        none;
}
.comunidades-presentacion__destacado::after {
    content: "";
    position:
        absolute;
    width:
        150px;
    height:
        150px;
    left:
        -95px;
    bottom:
        -95px;
    border-radius:
        50%;
    background:
        rgba(198, 161, 91, 0.06);
    pointer-events:
        none;
}
/* SÍMBOLO */
.comunidades-presentacion__simbolo {
    width:
        45px;
    height:
        45px;
    margin-bottom:
        17px;
    display:
        grid;
    place-items:
        center;
    border:
        1px solid
        rgba(224, 201, 146, 0.30);
    border-radius:
        13px;
    background:
        rgba(255, 255, 255, 0.07);
    color:
        var(--dorado-claro, #e0c992);
    font-size:
        0.84rem;
    box-shadow:
        0 9px 22px
        rgba(0, 0, 0, 0.13);
}
/* ETIQUETA */
.comunidades-presentacion__etiqueta {
    display:
        block;
    margin-bottom:
        6px;
    color:
        var(--dorado-claro, #e0c992);
    font-size:
        0.59rem;
    font-weight:
        700;
    text-transform:
        uppercase;
    letter-spacing:
        0.12em;
}
/* TÍTULO DESTACADO */
.comunidades-presentacion__destacado h3 {
    margin:
        0 0 11px;
    color:
        #ffffff;
    font-family:
        var(--titulo, "Playfair Display", serif);
    font-size:
        1.65rem;
    line-height:
        1.06;
    font-weight:
        600;
}
/* TEXTO DESTACADO */
.comunidades-presentacion__destacado > p {
    max-width:
        370px;
    margin:
        0;
    color:
        rgba(255, 255, 255, 0.82);
    font-size:
        0.82rem;
    line-height:
        1.70;
}
/* FIRMA */
.comunidades-presentacion__firma {
    margin-top:
        18px;
    padding-top:
        14px;
    display:
        flex;
    align-items:
        center;
    gap:
        8px;
    border-top:
        1px solid
        rgba(224, 201, 146, 0.18);
    color:
        rgba(255, 255, 255, 0.74);
    font-size:
        0.67rem;
    font-weight:
        600;
    letter-spacing:
        0.04em;
}
.comunidades-presentacion__firma > span:first-child {
    color:
        var(--dorado-claro, #e0c992);
}
/* =========================================================
   =========================================================
   ENCABEZADO LISTADO
   =========================================================
========================================================= */
.comunidades-listado__encabezado {
    max-width:
        1180px;
    margin:
        0 auto 38px;
    display:
        grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 0.62fr);
    align-items:
        end;
    gap:
        40px;
}
/* KICKER */
.comunidades-listado__kicker {
    display:
        inline-block;
    margin-bottom:
        8px;
    color:
        var(--vino, #6f1d2e);
    font-size:
        0.68rem;
    font-weight:
        700;
    text-transform:
        uppercase;
    letter-spacing:
        0.16em;
}
/* TÍTULO */
.comunidades-listado__encabezado h2 {
    max-width:
        650px;
    margin:
        0;
    color:
        #3b2d28;
    font-family:
        var(--titulo, "Playfair Display", serif);
    font-size:
        clamp(
            2rem,
            3.6vw,
            3.15rem
        );
    line-height:
        1.05;
    font-weight:
        600;
}
.comunidades-listado__encabezado h2 span {
    display:
        block;
    color:
        #80604f;
    font-style:
        italic;
}
/* TEXTO LATERAL */
.comunidades-listado__encabezado > p {
    margin:
        0;
    padding-left:
        15px;
    border-left:
        2px solid
        var(--dorado, #c6a15b);
    color:
        #786a62;
    font-size:
        0.85rem;
    line-height:
        1.72;
}
/* =========================================================
   =========================================================
   GRID DE COMUNIDADES
   =========================================================
========================================================= */
.comunidades-grid {
    position:
        relative;
    display:
        flex;
    flex-wrap:
        wrap;
    justify-content:
        center;
    align-items:
        stretch;
    gap:
        32px 28px;
}
/* =========================================================
   TARJETA
========================================================= */
.comunidad-card {
    position:
        relative;
    width:
        calc(
            33.333% - 19px
        );
    max-width:
        395px;
    min-width:
        300px;
    perspective:
        1000px;
    opacity:
        0;
    transform:
        translateY(42px)
        scale(0.975);
    transition:
        opacity 0.70s ease,
        transform 0.70s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        );
}
.comunidad-card.is-visible {
    opacity:
        1;
    transform:
        translateY(0)
        scale(1);
}
/* =========================================================
   ENLACE / CUERPO
========================================================= */
.comunidad-card__enlace {
    position:
        relative;
    width:
        100%;
    aspect-ratio:
        4 / 5;
    display:
        block;
    overflow:
        hidden;
    isolation:
        isolate;
    border:
        1px solid
        rgba(89, 59, 45, 0.16);
    border-radius:
        28px;
    background:
        #463129;
    box-shadow:
        0 18px 42px
        rgba(65, 42, 32, 0.12),
        0 2px 5px
        rgba(65, 42, 32, 0.08);
    transform:
        rotateX(0deg)
        rotateY(0deg)
        translateZ(0);
    transform-style:
        preserve-3d;
    transition:
        transform 0.22s ease-out,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}
/* =========================================================
   MARCO INTERIOR
========================================================= */
.comunidad-card__marco {
    position:
        absolute;
    z-index:
        8;
    inset:
        12px;
    pointer-events:
        none;
    border:
        1px solid
        rgba(255, 255, 255, 0.17);
    border-radius:
        19px;
    transition:
        border-color 0.4s ease,
        inset 0.4s ease;
}
/* =========================================================
   LÍNEA SUPERIOR
========================================================= */
.comunidad-card__enlace::before {
    content:
        "";
    position:
        absolute;
    z-index:
        9;
    top:
        0;
    left:
        28px;
    width:
        60px;
    height:
        3px;
    border-radius:
        0 0 999px 999px;
    background:
        linear-gradient(
            90deg,
            var(--dorado, #c6a15b),
            var(--dorado-claro, #e0c992)
        );
    box-shadow:
        0 0 18px
        rgba(198, 161, 91, 0.28);
    transition:
        width 0.5s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        );
}
/* =========================================================
   IMAGEN
========================================================= */
.comunidad-card__imagen {
    position:
        absolute;
    inset:
        0;
    z-index:
        1;
    overflow:
        hidden;
    background:
        #d8cbbb;
}
.comunidad-card__imagen img {
    width:
        100%;
    height:
        100%;
    display:
        block;
    object-fit:
        cover;
    object-position:
        center;
    transform:
        scale(1.015);
    transition:
        transform 1s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        ),
        filter 0.7s ease;
}
/* =========================================================
   OVERLAY TARJETA
========================================================= */
.comunidad-card__overlay {
    position:
        absolute;
    inset:
        0;
    z-index:
        2;
    pointer-events:
        none;
    background:
        linear-gradient(
            180deg,
            rgba(15, 8, 6, 0.06) 10%,
            rgba(15, 8, 6, 0.03) 34%,
            rgba(26, 13, 11, 0.20) 58%,
            rgba(35, 15, 18, 0.92) 100%
        ),
        linear-gradient(
            90deg,
            rgba(20, 9, 7, 0.14),
            transparent 55%
        );
    transition:
        background 0.45s ease;
}
/* =========================================================
   BRILLO
========================================================= */
.comunidad-card__brillo {
    position:
        absolute;
    z-index:
        5;
    left:
        var(--mouse-x, 50%);
    top:
        var(--mouse-y, 50%);
    width:
        360px;
    height:
        360px;
    pointer-events:
        none;
    opacity:
        0;
    border-radius:
        50%;
    transform:
        translate(-50%, -50%);
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.20),
            rgba(224, 201, 146, 0.08) 27%,
            transparent 68%
        );
    transition:
        opacity 0.4s ease;
}
/* =========================================================
   NÚMERO
========================================================= */
.comunidad-card__numero {
    position:
        absolute;
    z-index:
        7;
    top:
        26px;
    right:
        27px;
    min-width:
        39px;
    height:
        39px;
    display:
        grid;
    place-items:
        center;
    border:
        1px solid
        rgba(255, 255, 255, 0.24);
    border-radius:
        50%;
    background:
        rgba(33, 19, 15, 0.36);
    color:
        rgba(255, 255, 255, 0.88);
    font-size:
        0.58rem;
    font-weight:
        700;
    letter-spacing:
        0.08em;
    backdrop-filter:
        blur(9px);
    box-shadow:
        0 7px 18px
        rgba(0, 0, 0, 0.14);
    transition:
        transform 0.4s ease,
        background 0.4s ease,
        border-color 0.4s ease;
}
/* =========================================================
   CONTENIDO TARJETA
========================================================= */
.comunidad-card__contenido {
    position:
        absolute;
    z-index:
        7;
    left:
        25px;
    right:
        25px;
    bottom:
        22px;
    padding:
        17px 20px 18px;
    border:
        1px solid
        rgba(255, 255, 255, 0.14);
    border-radius:
        17px;
    background:
        linear-gradient(
            135deg,
            rgba(39, 19, 19, 0.70),
            rgba(46, 27, 21, 0.49)
        );
    box-shadow:
        0 14px 28px
        rgba(0, 0, 0, 0.16);
    backdrop-filter:
        blur(13px);
    color:
        #ffffff;
    pointer-events:
        none;
    transform:
        translateZ(30px);
    transition:
        transform 0.45s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        ),
        background 0.4s ease,
        border-color 0.4s ease;
}
/* =========================================================
   ORNAMENTO
========================================================= */
.comunidad-card__ornamento {
    display:
        block;
    margin-bottom:
        4px;
    color:
        var(--dorado-claro, #e0c992);
    font-size:
        0.66rem;
    opacity:
        0.92;
    transition:
        transform 0.4s ease;
}
/* =========================================================
   TÍTULO TARJETA
========================================================= */
.comunidad-card h3 {
    margin:
        0;
    color:
        #ffffff;
    font-family:
        var(--titulo, "Playfair Display", serif);
    font-size:
        clamp(
            1.9rem,
            2.65vw,
            2.55rem
        );
    font-weight:
        600;
    line-height:
        1;
    letter-spacing:
        -0.02em;
    text-shadow:
        0 4px 14px
        rgba(0, 0, 0, 0.36);
    transition:
        color 0.4s ease,
        transform 0.4s ease;
}
/* =========================================================
   LÍNEA DEL NOMBRE
========================================================= */
.comunidad-card__linea {
    width:
        42px;
    height:
        2px;
    margin-top:
        12px;
    border-radius:
        999px;
    background:
        linear-gradient(
            90deg,
            var(--dorado-claro, #e0c992),
            var(--dorado, #c6a15b),
            transparent
        );
    transition:
        width 0.45s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        );
}
/* =========================================================
   =========================================================
   CIERRE
   =========================================================
========================================================= */
.comunidades-cierre {
    max-width:
        820px;
    margin:
        72px auto 0;
    display:
        grid;
    grid-template-columns:
        1fr auto 1fr;
    align-items:
        center;
    gap:
        15px;
    text-align:
        center;
}
.comunidades-cierre__linea {
    height:
        1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(198, 161, 91, 0.55)
        );
}
.comunidades-cierre__linea:nth-of-type(2) {
    transform:
        scaleX(-1);
}
.comunidades-cierre__simbolo {
    width:
        38px;
    height:
        38px;
    display:
        grid;
    place-items:
        center;
    border:
        1px solid
        rgba(198, 161, 91, 0.23);
    border-radius:
        50%;
    background:
        rgba(255, 255, 255, 0.68);
    color:
        var(--dorado, #c6a15b);
    font-size:
        0.72rem;
}
.comunidades-cierre p {
    grid-column:
        1 / -1;
    max-width:
        620px;
    margin:
        7px auto 0;
    color:
        #73665f;
    font-family:
        var(--titulo, "Playfair Display", serif);
    font-size:
        1.04rem;
    line-height:
        1.6;
    font-style:
        italic;
}
/* =========================================================
   =========================================================
   HOVER
   =========================================================
========================================================= */
@media (hover: hover) and (pointer: fine) {
    .comunidades-presentacion__destacado {
        transition:
            transform 0.35s ease,
            box-shadow 0.35s ease;
    }
    .comunidades-presentacion__destacado:hover {
        transform:
            translateY(-4px);
        box-shadow:
            0 24px 46px
            rgba(77, 18, 31, 0.22);
    }
    .comunidad-card__enlace:hover {
        border-color:
            rgba(198, 161, 91, 0.62);
        box-shadow:
            0 32px 65px
            rgba(60, 37, 28, 0.22),
            0 0 0 5px
            rgba(198, 161, 91, 0.055);
    }
    .comunidad-card__enlace:hover::before {
        width:
            115px;
    }
    .comunidad-card__enlace:hover
    .comunidad-card__marco {
        inset:
            10px;
        border-color:
            rgba(224, 201, 146, 0.38);
    }
    .comunidad-card__enlace:hover
    .comunidad-card__imagen img {
        transform:
            scale(1.105);
        filter:
            saturate(1.09)
            contrast(1.035);
    }
    .comunidad-card__enlace:hover
    .comunidad-card__brillo {
        opacity:
            1;
    }
    .comunidad-card__enlace:hover
    .comunidad-card__numero {
        transform:
            rotate(8deg)
            scale(1.08);
        border-color:
            rgba(224, 201, 146, 0.55);
        background:
            rgba(111, 29, 46, 0.67);
    }
    .comunidad-card__enlace:hover
    .comunidad-card__contenido {
        transform:
            translateY(-7px)
            translateZ(38px);
        border-color:
            rgba(224, 201, 146, 0.25);
        background:
            linear-gradient(
                135deg,
                rgba(74, 26, 37, 0.77),
                rgba(59, 35, 27, 0.60)
            );
    }
    .comunidad-card__enlace:hover
    .comunidad-card__ornamento {
        transform:
            rotate(25deg)
            scale(1.15);
    }
    .comunidad-card__enlace:hover h3 {
        color:
            #fff7e8;
        transform:
            translateX(4px);
    }
    .comunidad-card__enlace:hover
    .comunidad-card__linea {
        width:
            88px;
    }
}
/* =========================================================
   =========================================================
   ANIMACIONES
   =========================================================
========================================================= */
@keyframes comunidadesHeroImagen {
    from {
        transform:
            scale(1.04)
            translate3d(0, 0, 0);
    }
    to {
        transform:
            scale(1.08)
            translate3d(-8px, -3px, 0);
    }
}
@keyframes comunidadesTextura {
    from {
        background-position:
            0 0;
    }
    to {
        background-position:
            60px 45px;
    }
}
@keyframes comunidadesLuzUno {
    0%,
    100% {
        transform:
            translate(0, 0)
            scale(1);
    }
    50% {
        transform:
            translate(-45px, 40px)
            scale(1.12);
    }
}
@keyframes comunidadesLuzDos {
    0%,
    100% {
        transform:
            translate(0, 0);
    }
    50% {
        transform:
            translate(45px, -35px);
    }
}
@keyframes comunidadesAroUno {
    0%,
    100% {
        transform:
            translate(0, 0);
    }
    50% {
        transform:
            translate(-28px, 25px);
    }
}
@keyframes comunidadesAroDos {
    0%,
    100% {
        transform:
            translate(0, 0);
    }
    50% {
        transform:
            translate(24px, -20px);
    }
}
@keyframes comunidadesDestello {
    0% {
        left:
            -35%;
        opacity:
            0;
    }
    20% {
        opacity:
            0.30;
    }
    55% {
        opacity:
            0.65;
    }
    100% {
        left:
            125%;
        opacity:
            0;
    }
}
@keyframes comunidadesLinea {
    0%,
    100% {
        transform:
            scaleX(0.78);
        opacity:
            0.18;
    }
    50% {
        transform:
            scaleX(1);
        opacity:
            0.55;
    }
}
/* =========================================================
   RESPONSIVE 1180
========================================================= */
@media (max-width: 1180px) {
    .comunidades-presentacion {
        padding:
            32px;
        gap:
            28px;
    }
    .comunidades-grid {
        gap:
            28px 24px;
    }
    .comunidad-card {
        width:
            calc(
                33.333% - 16px
            );
    }
}
/* =========================================================
   RESPONSIVE 1000
========================================================= */
@media (max-width: 1000px) {
    .comunidades-presentacion {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(280px, 0.85fr);
    }
    .comunidades-presentacion__contenido h2 {
        font-size:
            2.65rem;
    }
    .comunidades-listado__encabezado {
        grid-template-columns:
            1fr;
        gap:
            15px;
    }
    .comunidades-listado__encabezado > p {
        max-width:
            600px;
    }
}
/* =========================================================
   RESPONSIVE 980
========================================================= */
@media (max-width: 980px) {
    .comunidades-grid {
        gap:
            24px;
    }
    .comunidad-card {
        width:
            calc(
                50% - 12px
            );
        max-width:
            410px;
        min-width:
            0;
    }
    .comunidad-card h3 {
        font-size:
            2.3rem;
    }
}
/* =========================================================
   TABLET 860
========================================================= */
@media (max-width: 860px) {
    .comunidades-presentacion {
        grid-template-columns:
            1fr;
        padding:
            30px;
    }
    .comunidades-presentacion__destacado {
        min-height:
            250px;
    }
    .comunidades-presentacion__contenido {
        padding:
            8px 2px;
    }
}
/* =========================================================
   RESPONSIVE 760
========================================================= */
@media (max-width: 760px) {
    .comunidades-hero__contenedor {
        width:
            92%;
    }
    .comunidades-contenido {
        padding:
            66px 0 76px;
    }
    .comunidades-presentacion {
        margin-bottom:
            58px;
    }
    .comunidades-cierre {
        margin-top:
            58px;
    }
}
/* =========================================================
   CELULAR 600
========================================================= */
@media (max-width: 600px) {
    /* HERO */
    .comunidades-hero {
        min-height:
            450px;
    }
    .comunidades-hero__contenedor {
        width:
            92%;
        min-height:
            450px;
        display:
            flex;
        align-items:
            center;
        box-sizing:
            border-box;
    }
    .comunidades-hero__contenido {
        padding:
            42px 0;
    }
    .comunidades-hero h1 {
        font-size:
            clamp(
                2.25rem,
                10.5vw,
                3rem
            );
    }
    .comunidades-hero__contenido > p {
        font-size:
            0.83rem;
        line-height:
            1.66;
        padding:
            12px 13px;
    }
    /* CONTENIDO */
    .comunidades-contenido {
        padding:
            54px 0 64px;
    }
    /* PRESENTACIÓN */
    .comunidades-presentacion {
        margin-bottom:
            49px;
        padding:
            24px 19px;
        gap:
            24px;
        border-radius:
            22px;
    }
    .comunidades-presentacion::before {
        left:
            19px;
        width:
            88px;
    }
    .comunidades-presentacion__contenido h2 {
        font-size:
            2.15rem;
    }
    .comunidades-presentacion__contenido > p {
        margin-top:
            16px;
        font-size:
            0.89rem;
        line-height:
            1.76;
    }
    .comunidades-presentacion__destacado {
        min-height:
            auto;
        padding:
            22px;
        border-radius:
            18px;
    }
    .comunidades-presentacion__destacado h3 {
        font-size:
            1.50rem;
    }
    /* ENCABEZADO */
    .comunidades-listado__encabezado {
        margin-bottom:
            29px;
    }
    .comunidades-listado__encabezado h2 {
        font-size:
            2.05rem;
    }
    .comunidades-listado__encabezado > p {
        font-size:
            0.82rem;
    }
    /* GRID */
    .comunidades-grid {
        gap:
            22px;
    }
    .comunidad-card {
        width:
            min(
                100%,
                430px
            );
        max-width:
            430px;
        min-width:
            0;
        margin-left:
            auto;
        margin-right:
            auto;
    }
    .comunidad-card__enlace {
        aspect-ratio:
            4 / 5;
        border-radius:
            24px;
    }
    .comunidad-card__contenido {
        left:
            21px;
        right:
            21px;
        bottom:
            19px;
        padding:
            15px 17px 16px;
    }
    .comunidad-card h3 {
        font-size:
            clamp(
                2rem,
                9vw,
                2.7rem
            );
    }
    /* CIERRE */
    .comunidades-cierre {
        margin-top:
            48px;
        gap:
            10px;
    }
    .comunidades-cierre p {
        font-size:
            0.96rem;
    }
}
/* =========================================================
   CELULAR 560
========================================================= */
@media (max-width: 560px) {
    .comunidades-hero__contenedor {
        width:
            90%;
    }
}
/* =========================================================
   CELULAR 420
========================================================= */
@media (max-width: 420px) {
    .comunidades-hero__contenedor {
        width:
            90%;
    }
    .comunidades-hero h1 {
        font-size:
            2.18rem;
    }
    .comunidades-presentacion {
        padding:
            22px 16px;
    }
    .comunidades-presentacion__contenido h2 {
        font-size:
            1.95rem;
    }
    .comunidades-presentacion__destacado {
        padding:
            19px;
    }
    .comunidades-listado__encabezado h2 {
        font-size:
            1.90rem;
    }
    .comunidad-card__numero {
        top:
            21px;
        right:
            21px;
        min-width:
            35px;
        height:
            35px;
    }
    .comunidad-card__contenido {
        left:
            18px;
        right:
            18px;
        bottom:
            17px;
    }
    .comunidad-card h3 {
        font-size:
            2rem;
    }
    .comunidades-cierre {
        grid-template-columns:
            1fr auto 1fr;
    }
    .comunidades-cierre__simbolo {
        width:
            34px;
        height:
            34px;
    }
}
/* =========================================================
   ACCESIBILIDAD / REDUCIR MOVIMIENTO
========================================================= */
@media (prefers-reduced-motion: reduce) {
    .comunidades-hero__fondo img,
    .comunidades-hero__textura,
    .comunidades-hero__luz,
    .comunidades-hero__aro,
    .comunidades-hero__destello,
    .comunidades-hero__linea {
        animation:
            none !important;
    }
    .comunidad-card {
        opacity:
            1 !important;
        transform:
            none !important;
        transition:
            none !important;
    }
    .comunidades-presentacion__destacado,
    .comunidad-card__enlace,
    .comunidad-card__imagen img,
    .comunidad-card__contenido,
    .comunidad-card__numero,
    .comunidad-card__ornamento,
    .comunidad-card__linea,
    .comunidad-card h3 {
        transition:
            none !important;
    }
}
/* =========================================================
   HEADER COMUNIDADES
   MISMA ALTURA QUE DONACIONES / SACRAMENTOS
========================================================= */
/* PC Y TABLET */
.comunidades-hero {
    min-height:
        430px !important;
}
.comunidades-hero__contenedor {
    min-height:
        430px !important;
    display:
        flex;
    align-items:
        center;
    box-sizing:
        border-box;
}
.comunidades-hero__contenido {
    width:
        100%;
    padding-top:
        50px !important;
    padding-bottom:
        50px !important;
    box-sizing:
        border-box;
}
/* =========================================================
   HEADER COMUNIDADES - CELULAR
========================================================= */
@media (max-width: 600px) {
    .comunidades-hero {
        min-height:
            450px !important;
    }
    .comunidades-hero__contenedor {
        min-height:
            450px !important;
        display:
            flex;
        align-items:
            center;
        box-sizing:
            border-box;
    }
    .comunidades-hero__contenido {
        padding-top:
            42px !important;
        padding-bottom:
            42px !important;
        box-sizing:
            border-box;
    }
}