/* ================================================================
   FOOTER COMPACTO PREMIUM — CATEDRAL SAN JUAN BAUTISTA
   Azul institucional + dorado fino
================================================================ */

.cathedral-footer{
    --cf-blue:#0a2e59;
    --cf-blue-2:#124b82;
    --cf-blue-3:#1d679f;
    --cf-gold:#d6a24f;
    --cf-gold-light:#f0d6a3;
    --cf-cream:#fffaf3;

    position:relative;
    overflow:hidden;
    isolation:isolate;
    margin:0;
    color:#fff;
    background:linear-gradient(120deg,#08264a 0%,#0b3769 58%,#154f87 100%);
    border-top:1px solid rgba(219,168,82,.78);
    font-family:"DM Sans",Arial,sans-serif;
}

.cathedral-footer *{ box-sizing:border-box; }

.cathedral-footer .container{
    width:min(1500px,92%);
    margin-inline:auto;
}

/* FOTO REAL DE LA CATEDRAL */
.cathedral-footer__photo{
    position:absolute;
    inset:0;
    z-index:-4;
    background:url("../img/fachada-hero.png") center 55% / cover no-repeat;
    filter:saturate(.96) contrast(1.04) brightness(.93);
    transform:scale(1.01);
}

/* AZUL COMO COLOR DOMINANTE */
.cathedral-footer__veil{
    position:absolute;
    inset:0;
    z-index:-3;
    background:
        linear-gradient(
            90deg,
            rgba(6,27,54,.94) 0%,
            rgba(8,42,79,.90) 42%,
            rgba(12,58,105,.82) 72%,
            rgba(19,83,139,.72) 100%
        );
}

.cathedral-footer::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    background:
        radial-gradient(circle at 13% 18%,rgba(255,255,255,.10),transparent 22%),
        radial-gradient(circle at 82% 18%,rgba(226,169,76,.18),transparent 28%),
        linear-gradient(180deg,rgba(255,255,255,.02),rgba(0,0,0,.04));
    pointer-events:none;
}

.cathedral-footer::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:2px;
    z-index:3;
    background:linear-gradient(90deg,transparent 4%,rgba(239,205,145,.68) 22%,#e2ad59 50%,rgba(239,205,145,.68) 78%,transparent 96%);
}

.cathedral-footer__content{
    padding:18px 0 0;
}

/* ================================================================
   BLOQUE PRINCIPAL — MÁS BAJO
================================================================ */

.cathedral-footer__hero{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(275px,.55fr);
    gap:34px;
    align-items:center;
}

.cathedral-footer__identity{
    max-width:760px;
    padding:2px 0 8px;
}

.cathedral-footer__kicker,
.cathedral-footer__small-title,
.cathedral-footer__social-title{
    display:block;
    font-size:9px;
    font-weight:700;
    letter-spacing:.31em;
    text-transform:uppercase;
}

.cathedral-footer__kicker,
.cathedral-footer__social-title{
    color:var(--cf-gold-light);
}

.cathedral-footer__identity h2{
    margin:4px 0 0;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:clamp(50px,4.2vw,68px);
    line-height:.92;
    font-weight:500;
    letter-spacing:-.025em;
    color:#fffaf4;
    text-shadow:0 9px 26px rgba(0,16,37,.24);
}

.cathedral-footer__gold-rule{
    width:120px;
    height:2px;
    margin:10px 0 8px;
    background:linear-gradient(90deg,#f1d7a5,#d59e43,transparent);
    box-shadow:0 0 14px rgba(216,161,72,.18);
}

.cathedral-footer__place{
    margin:0 0 7px;
    font-size:10px;
    font-weight:700;
    letter-spacing:.22em;
    text-transform:uppercase;
    color:#f1d6a2;
}

.cathedral-footer__intro{
    max-width:660px;
    margin:0;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:17px;
    line-height:1.34;
    color:rgba(255,250,243,.92);
}

.cathedral-footer__verse{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin:10px 0 0;
    padding:8px 13px;
    border-radius:999px;
    border:1px solid rgba(234,190,117,.58);
    background:linear-gradient(90deg,rgba(7,35,69,.76),rgba(20,79,132,.46));
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.035);
    backdrop-filter:blur(7px);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:17px;
    line-height:1;
    font-style:italic;
    color:#fff4df;
}

.cathedral-footer__verse span{
    padding-left:10px;
    border-left:1px solid rgba(238,202,144,.42);
    font-family:"DM Sans",Arial,sans-serif;
    font-size:7px;
    font-style:normal;
    font-weight:700;
    letter-spacing:.21em;
    text-transform:uppercase;
    color:#edc987;
}

/* ================================================================
   TARJETA DEL LOGO — AZUL + DORADO, MÁS PEQUEÑA
================================================================ */

.cathedral-footer__brand-card{
    position:relative;
    width:100%;
    max-width:300px;
    justify-self:end;
    padding:11px 13px 12px;
    border-radius:20px;
    border:1px solid rgba(229,184,106,.74);
    background:
        linear-gradient(145deg,rgba(8,43,82,.97),rgba(18,78,127,.94));
    box-shadow:
        0 18px 44px rgba(2,20,42,.28),
        inset 0 1px 0 rgba(255,255,255,.10),
        inset 0 0 0 1px rgba(221,174,92,.08);
    backdrop-filter:blur(12px);
    color:#fff;
}

.cathedral-footer__brand-card::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    width:100px;
    height:2px;
    transform:translateX(-50%);
    border-radius:999px;
    background:linear-gradient(90deg,transparent,#e3ac55,transparent);
}

/* El logo conserva su fondo claro para que los colores oficiales luzcan */
.cathedral-footer__logo-link{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:78px;
    padding:5px 8px;
    border-radius:14px;
    border:1px solid rgba(230,190,125,.30);
    background:linear-gradient(180deg,rgba(255,253,249,.98),rgba(248,242,233,.96));
    text-decoration:none;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}

.cathedral-footer__logo{
    display:block;
    width:min(235px,100%);
    height:auto;
    object-fit:contain;
    filter:none;
}

.cathedral-footer__brand-divider{
    height:1px;
    margin:9px 0 8px;
    background:linear-gradient(90deg,transparent,rgba(225,173,86,.58),transparent);
}

.cathedral-footer__small-title{
    margin-bottom:3px;
    color:#f0c77f;
}

.cathedral-footer__phone{
    display:inline-block;
    margin:0 0 2px;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:25px;
    font-weight:700;
    line-height:1;
    color:#fffaf1;
    text-decoration:none;
    text-shadow:0 4px 14px rgba(0,0,0,.12);
}

.cathedral-footer__phone:hover{ color:#f0ca86; }

.cathedral-footer__diocese{
    margin:5px 0 0;
    font-size:8px;
    font-weight:700;
    letter-spacing:.17em;
    text-transform:uppercase;
    color:#e8c690;
}

/* ================================================================
   REDES — FRANJA BAJA, AZUL CON BORDE DORADO
================================================================ */

.cathedral-footer__bottom-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    min-height:50px;
    margin-top:12px;
    padding:8px 14px;
    border-radius:15px 15px 0 0;
    border:1px solid rgba(224,174,91,.42);
    border-bottom:0;
    background:
        linear-gradient(90deg,rgba(5,33,66,.90),rgba(11,57,105,.88),rgba(15,70,121,.86));
    backdrop-filter:blur(10px);
    box-shadow:0 -8px 24px rgba(1,17,35,.10), inset 0 1px 0 rgba(255,255,255,.035);
}

.cathedral-footer__social-block{
    display:flex;
    align-items:center;
    gap:10px;
}

.cathedral-footer__social-title{
    color:#efd29f;
}

.cathedral-footer__socials{
    display:flex;
    align-items:center;
    gap:7px;
}

.cathedral-footer__socials a,
.cathedral-footer__social-muted{
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    border-radius:50%;
    border:1px solid rgba(231,190,121,.48);
    background:rgba(255,255,255,.06);
    color:#f0d19d;
    transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease;
}

.cathedral-footer__socials a{ text-decoration:none; }

.cathedral-footer__socials a:hover{
    transform:translateY(-2px);
    background:#dfaa55;
    color:#0b3565;
    border-color:#f0cf97;
}

.cathedral-footer__socials svg,
.cathedral-footer__social-muted svg{
    width:14px;
    height:14px;
    fill:currentColor;
}

.cathedral-footer__social-muted{ opacity:.48; }

.cathedral-footer__copyright{
    font-size:9px;
    letter-spacing:.05em;
    color:rgba(255,242,219,.82);
    text-align:right;
}

/* ================================================================
   RESPONSIVE
================================================================ */

@media(max-width:1000px){
    .cathedral-footer__hero{
        grid-template-columns:1fr;
        gap:16px;
    }

    .cathedral-footer__brand-card{
        justify-self:start;
        max-width:330px;
    }
}

@media(max-width:650px){
    .cathedral-footer__content{
        padding-top:16px;
    }

    .cathedral-footer__identity{
        padding-top:0;
    }

    .cathedral-footer__identity h2{
        font-size:45px;
    }

    .cathedral-footer__intro{
        font-size:17px;
    }

    .cathedral-footer__verse{
        width:100%;
        justify-content:space-between;
        border-radius:16px;
        font-size:16px;
    }

    .cathedral-footer__brand-card{
        max-width:none;
        padding:10px 12px;
        border-radius:18px;
    }

    .cathedral-footer__logo-link{
        min-height:72px;
    }

    .cathedral-footer__logo{
        width:min(220px,100%);
    }

    .cathedral-footer__phone{
        font-size:23px;
    }

    .cathedral-footer__bottom-bar{
        flex-direction:column;
        align-items:flex-start;
        gap:7px;
        margin-top:10px;
        padding:8px 12px 10px;
        border-radius:14px 14px 0 0;
    }

    .cathedral-footer__copyright{
        text-align:left;
    }

    .cathedral-footer__photo{
        background-position:58% center;
    }
}


/* ================================================================
   AJUSTE FINAL — FOOTER MÁS LIMPIO Y CON MENOS TEXTO
================================================================ */
.cathedral-footer__identity{
    max-width:640px;
}

.cathedral-footer__kicker{
    font-size:10px;
    letter-spacing:.34em;
}

.cathedral-footer__identity h2{
    margin-top:3px;
}

.cathedral-footer__place{
    margin-bottom:6px;
}

.cathedral-footer__verse{
    margin-top:8px;
}

/* Ya no se usa el párrafo descriptivo largo */
.cathedral-footer__intro{
    display:none !important;
}
