:root {
    --site-primary: #061b35;
    --site-primary-dark: #020b18;
    --site-primary-light: #0b315d;
    --site-gold: #f6ad19;
    --site-gold-light: #ffc44d;
    --site-light: #ffffff;
    --site-text: #15243a;
    --site-muted: #64748b;
    --site-bg: #f7f8fa;
    --site-border: #e2e8f0;
    --site-container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--site-text);
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.site-container {
    width: min(calc(100% - 40px), var(--site-container));
    margin-inline: auto;
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
    min-height: 84px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1000;
    color: #ffffff;
    background:
        linear-gradient(
            90deg,
            var(--site-primary-dark),
            var(--site-primary)
        );
    box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.site-brand {
    min-width: 245px;
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.site-brand img {
    width: 66px;
    height: 66px;
    object-fit: contain;
}

.site-brand-placeholder {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--site-primary);
    background: var(--site-gold);
    font-size: 25px;
    font-weight: 900;
}

.site-brand-text {
    display: block;
    max-width: 235px;
}

.site-brand-text strong,
.site-brand-text small {
    display: block;
}

.site-brand-text strong {
    font-size: 27px;
    letter-spacing: .5px;
    line-height: 1;
}

.site-brand-text small {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 5px;
}

.site-navigation > a {
    min-height: 84px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    position: relative;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color .2s ease;
}

.site-navigation > a:not(.header-live-button)::after {
    content: "";
    height: 2px;
    position: absolute;
    right: 13px;
    bottom: 19px;
    left: 13px;
    background: var(--site-gold);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.site-navigation > a:hover,
.site-navigation > a.active {
    color: var(--site-gold);
}

.site-navigation > a:hover::after,
.site-navigation > a.active::after {
    transform: scaleX(1);
}

.site-navigation .header-live-button {
    min-height: 43px;
    margin-left: 10px;
    padding: 10px 17px;
    gap: 8px;
    border-radius: 8px;
    color: var(--site-primary);
    background: var(--site-gold);
}

.site-navigation .header-live-button:hover {
    color: var(--site-primary);
    background: var(--site-gold-light);
}

.mobile-menu-button {
    width: 46px;
    height: 46px;
    display: none;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
    cursor: pointer;
    color: #ffffff;
    background: rgba(255,255,255,.08);
    font-size: 21px;
}

/* =====================================================
   HERO SLIDER SOLO IMAGEN 1920x700
===================================================== */

.hero-slider.image-only-slider {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1920 / 700;
    position: relative;
    overflow: hidden;
    background: var(--site-primary-dark);
}

.hero-slider.image-only-slider .hero-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slider.image-only-slider .hero-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: none;
    transition: opacity .8s ease, visibility .8s ease;
}

.hero-slider.image-only-slider .hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.hero-slider.image-only-slider .hero-slide-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    object-position: center;
}

.hero-slider.image-only-slider .hero-arrow {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    z-index: 20;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    cursor: pointer;
    color: #ffffff;
    background: rgba(2, 11, 24, .62);
    transform: translateY(-50%);
    transition: background .2s ease, color .2s ease;
}

.hero-slider.image-only-slider .hero-arrow:hover {
    color: var(--site-primary);
    background: var(--site-gold);
}

.hero-slider.image-only-slider .hero-arrow-prev {
    left: 22px;
}

.hero-slider.image-only-slider .hero-arrow-next {
    right: 22px;
}

.hero-slider.image-only-slider .hero-dots {
    display: flex;
    gap: 8px;
    position: absolute;
    bottom: 18px;
    left: 50%;
    z-index: 20;
    transform: translateX(-50%);
}

.hero-slider.image-only-slider .hero-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.95);
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255,255,255,.55);
    transition: .2s ease;
}

.hero-slider.image-only-slider .hero-dots button.active {
    width: 30px;
    border-radius: 30px;
    border-color: var(--site-gold);
    background: var(--site-gold);
}

/* =====================================================
   HORARIOS Y BIENVENIDA
===================================================== */

.welcome-services {
    padding: 55px 0;
    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(246,173,25,.08),
            transparent 26%
        ),
        #ffffff;
}

.welcome-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.home-section-heading span {
    display: block;
    margin-bottom: 7px;
    color: #aa7100;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.home-section-heading h2 {
    margin: 0 0 22px;
    color: var(--site-primary);
    font-size: 28px;
    text-transform: uppercase;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.schedule-card {
    min-height: 190px;
    padding: 23px 13px;
    text-align: center;
    border: 1px solid var(--site-border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15,35,58,.06);
}

.schedule-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--site-gold);
    background: var(--site-primary);
    font-size: 20px;
}

.schedule-card span,
.schedule-card strong,
.schedule-card small {
    display: block;
}

.schedule-card span {
    margin-bottom: 7px;
    color: var(--site-primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.schedule-card strong {
    margin-bottom: 8px;
    color: var(--site-primary);
    font-size: 23px;
}

.schedule-card small {
    color: var(--site-muted);
    font-size: 10px;
    line-height: 1.4;
}

.schedule-calendar-button {
    min-height: 44px;
    margin: 18px auto 0;
    padding: 10px 19px;
    display: table;
    border-radius: 7px;
    color: #ffffff;
    background: var(--site-primary);
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.schedule-calendar-button i {
    margin-right: 7px;
}

.welcome-message {
    padding: 20px 0;
}

.welcome-script {
    display: block;
    margin-bottom: 4px;
    color: var(--site-gold);
    font-family: Georgia, serif;
    font-size: 28px;
    font-style: italic;
}

.welcome-message h2 {
    margin: 0 0 20px;
    color: var(--site-primary);
    font-size: clamp(31px, 4vw, 45px);
    line-height: 1.08;
    text-transform: uppercase;
}

.welcome-message h2 strong {
    color: var(--site-gold);
}

.welcome-message p {
    max-width: 630px;
    margin: 0 0 23px;
    color: #475569;
    font-size: 15px;
    line-height: 1.85;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--site-primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.text-link:hover {
    color: #a66c00;
}

/* =====================================================
   ACCESOS DESTACADOS
===================================================== */

.home-feature-strip {
    padding: 36px 0;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 30% 0,
            rgba(246,173,25,.12),
            transparent 30%
        ),
        var(--site-primary);
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.home-feature-card {
    min-height: 105px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
    background: rgba(255,255,255,.05);
    text-decoration: none;
    transition: .2s ease;
}

.home-feature-card:hover {
    border-color: rgba(246,173,25,.6);
    background: rgba(255,255,255,.09);
    transform: translateY(-3px);
}

.home-feature-card > i {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--site-primary);
    background: var(--site-gold);
    font-size: 18px;
}

.home-feature-card strong,
.home-feature-card span {
    display: block;
}

.home-feature-card strong {
    margin-bottom: 5px;
    font-size: 14px;
}

.home-feature-card span {
    color: #bdc9d8;
    font-size: 10px;
    line-height: 1.4;
}

/* =====================================================
   CALLOUT FOOTER
===================================================== */

.footer-callout {
    padding: 25px 0;
    color: #ffffff;
    background:
        linear-gradient(
            90deg,
            #08264a,
            var(--site-primary)
        );
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-callout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.footer-callout-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-callout-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border: 1px solid var(--site-gold);
    border-radius: 50%;
    color: var(--site-gold);
    font-size: 21px;
}

.footer-callout-item > div:nth-child(2) {
    flex: 1;
}

.footer-callout-item strong,
.footer-callout-item span {
    display: block;
}

.footer-callout-item strong {
    margin-bottom: 5px;
    font-size: 15px;
    text-transform: uppercase;
}

.footer-callout-item span {
    color: #c4d0df;
    font-size: 11px;
}

.footer-callout-item > a {
    padding: 10px 14px;
    border-radius: 6px;
    color: var(--site-primary);
    background: var(--site-gold);
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    color: #ffffff;
    background: var(--site-primary-dark);
}

.footer-grid {
    padding-top: 45px;
    padding-bottom: 38px;
    display: grid;
    grid-template-columns: 1.3fr .7fr 1fr;
    gap: 55px;
}

.footer-brand-heading {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-brand-heading img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.footer-brand-heading span,
.footer-brand-heading strong {
    display: block;
}

.footer-brand-heading span {
    margin-bottom: 4px;
    color: #b9c5d4;
    font-size: 10px;
    text-transform: uppercase;
}

.footer-brand-heading strong {
    font-size: 22px;
}

.footer-brand p {
    max-width: 400px;
    margin: 17px 0;
    color: #b2c0d1;
    font-size: 11px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 9px;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    text-decoration: none;
    transition: .2s ease;
}

.footer-socials a:hover {
    border-color: var(--site-gold);
    color: var(--site-primary);
    background: var(--site-gold);
}

.footer-column h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
}

.footer-column > a {
    margin-bottom: 10px;
    display: block;
    color: #c0ccda;
    text-decoration: none;
    font-size: 11px;
}

.footer-column > a:hover {
    color: var(--site-gold);
}

.footer-contact p {
    margin: 0 0 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #c0ccda;
    font-size: 11px;
    line-height: 1.55;
}

.footer-contact p i {
    width: 18px;
    color: var(--site-gold);
    font-size: 14px;
    text-align: center;
}

.footer-contact p a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom {
    padding: 17px 0;
    color: #8596aa;
    border-top: 1px solid rgba(255,255,255,.09);
    font-size: 10px;
    text-align: center;
}

.floating-whatsapp {
    width: 61px;
    height: 61px;
    display: grid;
    place-items: center;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    border: 4px solid rgba(255,255,255,.82);
    border-radius: 50%;
    color: #ffffff;
    background: #25d366;
    text-decoration: none;
    font-size: 31px;
    box-shadow: 0 12px 28px rgba(0,0,0,.25);
    transition: .2s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.03);
}

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

@media (max-width: 1120px) {
    .mobile-menu-button {
        display: grid;
    }

    .site-navigation {
        padding: 20px;
        display: none;
        position: absolute;
        top: 84px;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--site-primary-dark);
        box-shadow: 0 20px 35px rgba(0,0,0,.25);
    }

    .site-navigation.open {
        display: flex;
    }

    .site-navigation > a {
        min-height: 46px;
        padding: 10px 14px;
        border-radius: 7px;
    }

    .site-navigation > a:not(.header-live-button)::after {
        display: none;
    }

    .site-navigation > a.active {
        background: rgba(255,255,255,.07);
    }

    .site-navigation .header-live-button {
        margin: 8px 0 0;
    }
}

@media (max-width: 850px) {
    .welcome-services-grid {
        grid-template-columns: 1fr;
    }

    .home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 650px) {
    .site-container {
        width: min(calc(100% - 28px), var(--site-container));
    }

    .site-header,
    .header-inner {
        min-height: 75px;
    }

    .site-brand {
        min-width: 0;
    }

    .site-brand img {
        width: 52px;
        height: 52px;
    }

    .site-brand-text strong {
        font-size: 21px;
    }

    .site-brand-text small {
        max-width: 190px;
        font-size: 8px;
    }

    .site-navigation {
        top: 75px;
    }

    .hero-slider.image-only-slider .hero-arrow {
        display: none;
    }

    .hero-slider.image-only-slider .hero-dots {
        bottom: 7px;
        gap: 6px;
    }

    .hero-slider.image-only-slider .hero-dots button {
        width: 7px;
        height: 7px;
    }

    .hero-slider.image-only-slider .hero-dots button.active {
        width: 20px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .schedule-card {
        min-height: 170px;
    }

    .home-feature-grid,
    .footer-callout-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-callout-item {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .footer-callout-item > a {
        margin-left: 66px;
    }
}

@media (max-width: 420px) {
    .site-brand-text small {
        display: none;
    }

    .footer-callout-item > a {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .floating-whatsapp {
        width: 55px;
        height: 55px;
        right: 16px;
        bottom: 16px;
        font-size: 27px;
    }
}
/* =====================================================
   BIENVENIDA Y FOTO PASTORAL INTEGRADA
===================================================== */

.welcome-pastor-panel {
    min-height: 310px;
    padding-left: 38px;
    display: grid;
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    align-items: stretch;
    overflow: hidden;
    position: relative;

    /* Importante: sin caja de fondo */
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.welcome-pastor-copy {
    padding: 42px 0 30px;
    position: relative;
    z-index: 2;
    background: transparent !important;
}

.welcome-pastor-copy h2 {
    margin: 0 0 18px;
    color: var(--site-primary);
    font-size: clamp(23px, 2.2vw, 31px);
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.welcome-pastor-copy h2 strong {
    display: inline;
    color: var(--site-gold);
}

.welcome-pastor-copy p {
    max-width: 430px;
    margin: 0 0 20px;
    color: #475569;
    font-size: 12px;
    line-height: 1.8;
}

.welcome-pastor-position {
    display: block;
    margin-bottom: 4px;
    color: var(--site-gold);
    font-family: Georgia, serif;
    font-size: 23px;
    font-style: italic;
}

.welcome-pastor-name {
    display: block;
    color: var(--site-primary);
    font-size: 20px;
}

/* FOTO SIN CAJA, SOMBRA NI DEGRADADO */

.welcome-pastor-image {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: visible;
    position: relative;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.welcome-pastor-image::before,
.welcome-pastor-image::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

.welcome-pastor-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 330px;
    display: block;
    object-fit: contain;
    object-position: right bottom;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    transform: translateY(1px);
}

/* Toda la sección usa el mismo fondo */

.welcome-services,
.welcome-services-grid,
.service-schedule {
    background: #ffffff !important;
}

/* TABLETA */

@media (max-width: 950px) {

    .welcome-pastor-panel {
        padding-left: 25px;
        grid-template-columns: minmax(0, 56%) minmax(0, 44%);
    }

    .welcome-pastor-copy h2 {
        font-size: 25px;
    }
}

/* CELULAR */

@media (max-width: 650px) {

    .welcome-pastor-panel {
        padding-left: 0;
        grid-template-columns: 1fr;
    }

    .welcome-pastor-copy {
        padding: 32px 22px 15px;
        text-align: center;
    }

    .welcome-pastor-copy h2 {
        white-space: normal;
        font-size: 27px;
    }

    .welcome-pastor-copy p {
        margin-inline: auto;
    }

    .welcome-pastor-image {
        min-height: 260px;
        justify-content: center;
    }

    .welcome-pastor-image img {
        max-height: 290px;
        object-position: center bottom;
    }
}
/* Mantener BIENVENIDOS A MINFAV en una sola línea */

.welcome-pastor-panel {
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
}

.welcome-pastor-copy h2 {
    white-space: nowrap;
    font-size: clamp(23px, 2.2vw, 31px);
    letter-spacing: -0.5px;
}

.welcome-pastor-copy h2 strong {
    display: inline;
}

/* En celulares sí permitimos dos líneas para evitar desbordamiento */

@media (max-width: 650px) {

    .welcome-pastor-copy h2 {
        white-space: normal;
        font-size: 28px;
    }
}
/* Quitar fondo gris detrás de la foto pastoral */

.welcome-pastor-panel {
    background: #ffffff !important;
}

.welcome-pastor-image {
    background: transparent !important;
}

.welcome-pastor-image::before {
    display: none !important;
}
.welcome-pastor-image img {
    filter: none;
}
/* =====================================================
   BIENVENIDA PASTORAL COMO LA MAQUETA
===================================================== */

.welcome-pastor-panel {
    min-height: 310px;
    padding-left: 38px;
    display: grid;
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    align-items: stretch;
    overflow: hidden;
    background: #ffffff !important;
}

.welcome-pastor-copy {
    padding: 42px 0 30px;
    position: relative;
    z-index: 2;
}

.welcome-pastor-copy h2 {
    margin: 0 0 18px;
    color: var(--site-primary);
    font-size: clamp(23px, 2.2vw, 31px);
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.welcome-pastor-copy h2 strong {
    display: inline;
    color: var(--site-gold);
}

.welcome-pastor-copy p {
    max-width: 430px;
    margin: 0 0 20px;
    color: #475569;
    font-size: 12px;
    line-height: 1.8;
}

.welcome-pastor-position {
    display: block;
    margin-bottom: 4px;
    color: var(--site-gold);
    font-family: Georgia, serif;
    font-size: 23px;
    font-style: italic;
}

.welcome-pastor-name {
    display: block;
    color: var(--site-primary);
    font-size: 20px;
}

/* Fotografía sin cuadro ni sombra gris */

.welcome-pastor-image {
    min-height: 310px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    background: transparent !important;
}

.welcome-pastor-image::before,
.welcome-pastor-image::after {
    display: none !important;
    content: none !important;
}

.welcome-pastor-image img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    display: block;
    object-fit: contain;
    object-position: right bottom;
    background: transparent;
    filter: none;
}

/* Tabletas */

@media (max-width: 950px) {

    .welcome-pastor-panel {
        padding-left: 25px;
        grid-template-columns: minmax(0, 56%) minmax(0, 44%);
    }

    .welcome-pastor-copy h2 {
        font-size: 25px;
    }
}

/* Celulares */

@media (max-width: 650px) {

    .welcome-pastor-panel {
        padding-left: 0;
        grid-template-columns: 1fr;
    }

    .welcome-pastor-copy {
        padding: 32px 22px 12px;
        text-align: center;
    }

    .welcome-pastor-copy h2 {
        white-space: normal;
        font-size: 27px;
    }

    .welcome-pastor-copy p {
        margin-inline: auto;
    }

    .welcome-pastor-image {
        min-height: 260px;
        justify-content: center;
    }

    .welcome-pastor-image img {
        max-height: 290px;
        object-position: center bottom;
    }
}
/* =====================================================
   NUESTROS MINISTERIOS
===================================================== */

.home-ministries {
    padding: 28px 0 38px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.home-ministries-heading {
    margin-bottom: 22px;
    text-align: center;
}

.home-ministries-heading h2 {
    margin: 0;
    color: var(--site-primary);
    font-size: 25px;
    text-transform: uppercase;
}

.home-ministries-heading h2 strong {
    color: var(--site-gold);
}

.home-ministries-heading > span {
    width: 38px;
    height: 3px;
    margin: 8px auto 0;
    display: block;
    border-radius: 5px;
    background: var(--site-gold);
}

.home-ministries-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.home-ministry-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 7px;
    background: var(--site-primary);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(4, 24, 47, .11);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.home-ministry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(4, 24, 47, .20);
}

.home-ministry-image {
    height: 145px;
    overflow: hidden;
    background: #dbe3ec;
}

.home-ministry-image {
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #e8edf3;
}

.home-ministry-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain !important;
    object-position: center center;
    transition: transform .4s ease;
}

.home-ministry-card:hover .home-ministry-image img {
    transform: scale(1.02);
}

.home-ministry-content {
    min-height: 145px;
    padding: 44px 13px 18px;
    position: relative;
    color: #ffffff;
    text-align: center;
    background:
        linear-gradient(
            180deg,
            #0a2b51,
            var(--site-primary)
        );
}

.home-ministry-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    position: absolute;
    top: -28px;
    left: 50%;
    border: 4px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    font-size: 21px;
    transform: translateX(-50%);
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
}

.home-ministry-content h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
}

.home-ministry-content p {
    margin: 0;
    color: #d7e1ec;
    font-size: 10px;
    line-height: 1.55;
}

.ministries-empty {
    padding: 35px;
    color: var(--site-muted);
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    text-align: center;
}

/* TABLETAS */

@media (max-width: 1100px) {

    .home-ministries-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-ministry-image {
        height: 180px;
    }
}

/* CELULARES */

@media (max-width: 650px) {

    .home-ministries {
        padding: 32px 0;
    }

    .home-ministries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-ministry-image {
        height: 135px;
    }

    .home-ministry-content {
        min-height: 140px;
        padding-inline: 9px;
    }

    .home-ministry-content h3 {
        font-size: 12px;
    }
}

@media (max-width: 400px) {

    .home-ministries-grid {
        grid-template-columns: 1fr;
    }

    .home-ministry-image {
        height: 210px;
    }
}
/* Ajuste de altura de las tarjetas de ministerios */

.home-ministry-content {
    min-height: 125px;
    padding: 42px 12px 15px;
}

.home-ministry-image {
    height: 145px;
}

.home-ministry-content h3 {
    margin-bottom: 7px;
}

.home-ministry-content p {
    line-height: 1.4;
}
/* =====================================================
   MOSTRAR COMPLETA LA FOTO DE LOS PASTORES
===================================================== */

.welcome-pastor-panel {
    overflow: visible !important;
}

.welcome-pastor-image {
    height: 310px;
    min-height: 310px;
    overflow: visible !important;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.welcome-pastor-image img {
    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: right bottom !important;
    transform: none !important;
}
/* =====================================================
   EVENTOS, PREDICACIONES Y GALERÍA
===================================================== */

.home-content-columns {
    padding: 32px 0 38px;
    background: #ffffff;
}

.home-content-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #e5e7eb;
}

.home-column-block {
    min-width: 0;
    padding: 25px 20px 0;
    border-right: 1px solid #e5e7eb;
}

.home-column-block:first-child {
    padding-left: 0;
}

.home-column-block:last-child {
    padding-right: 0;
    border-right: 0;
}

.home-column-block > h2 {
    margin: 0 0 18px;
    color: var(--site-primary);
    font-size: 20px;
    text-transform: uppercase;
}

.home-events-list {
    display: grid;
    gap: 10px;
}

.home-event-item {
    min-height: 82px;
    display: grid;
    grid-template-columns: 53px minmax(0, 1fr) 82px;
    align-items: center;
    gap: 10px;
}

.home-event-date {
    width: 53px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #ffffff;
    background: var(--site-primary);
}

.home-event-date strong {
    color: var(--site-gold);
    font-size: 21px;
}

.home-event-date span {
    margin-top: 2px;
    font-size: 9px;
    font-weight: 800;
}

.home-event-info {
    min-width: 0;
}

.home-event-info h3 {
    margin: 0 0 5px;
    overflow: hidden;
    color: #a56c00;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-event-info p,
.home-event-info small {
    display: block;
    margin: 0 0 3px;
    color: #475569;
    font-size: 9px;
}

.home-event-image {
    width: 82px;
    height: 65px;
    overflow: hidden;
    border-radius: 4px;
    background: #e2e8f0;
}

.home-event-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-column-empty {
    min-height: 235px;
    padding: 25px;
    display: grid;
    place-items: center;
    color: var(--site-muted);
    border: 1px dashed #cbd5e1;
    border-radius: 7px;
    font-size: 11px;
    text-align: center;
}

.home-column-button {
    min-height: 43px;
    margin-top: 15px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 5px;
    color: #ffffff;
    background: var(--site-primary);
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-column-button:hover {
    background: #0a315e;
}

@media (max-width: 900px) {

    .home-content-columns-grid {
        grid-template-columns: 1fr;
    }

    .home-column-block,
    .home-column-block:first-child,
    .home-column-block:last-child {
        padding: 28px 0;
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .home-column-block:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 450px) {

    .home-event-item {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .home-event-image {
        display: none;
    }
}
/* =====================================================
   ÚLTIMAS PREDICACIONES EN LA PORTADA
===================================================== */

.home-sermons-list {
    display: grid;
    gap: 10px;
}

.home-sermon-item {
    min-height: 82px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
}

.home-sermon-thumbnail {
    width: 112px;
    height: 72px;
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    background: var(--site-primary);
    text-decoration: none;
}

.home-sermon-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-sermon-play {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(2, 11, 24, .72);
    font-size: 10px;
    transform: translate(-50%, -50%);
}

.home-sermon-duration {
    padding: 3px 5px;
    position: absolute;
    right: 4px;
    bottom: 4px;
    border-radius: 3px;
    color: #ffffff;
    background: rgba(2, 11, 24, .82);
    font-size: 8px;
    font-weight: 800;
}

.home-sermon-info {
    min-width: 0;
}

.home-sermon-info h3 {
    margin: 0 0 4px;
    overflow: hidden;
    color: var(--site-primary);
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-sermon-info strong {
    margin-bottom: 3px;
    display: block;
    color: #334155;
    font-size: 9px;
}

.home-sermon-info > small {
    display: block;
    color: var(--site-muted);
    font-size: 8px;
}

.home-sermon-links {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--site-muted);
    font-size: 8px;
}

.home-sermon-links a {
    color: var(--site-primary);
    text-decoration: none;
    font-weight: 800;
}

.home-sermon-links a:hover {
    color: var(--site-gold);
}

@media (max-width: 450px) {

    .home-sermon-item {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .home-sermon-thumbnail {
        width: 100px;
        height: 68px;
    }
}
/* =====================================================
   GALERÍA RECIENTE EN LA PÁGINA PRINCIPAL
===================================================== */

.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.home-gallery-item {
    width: 100%;
    height: 105px;
    min-width: 0;
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 6px;
    background: #e2e8f0;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(6, 27, 53, .08);
}

.home-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition:
        transform .35s ease,
        filter .35s ease;
}

.home-gallery-item > span {
    display: grid;
    place-items: center;
    position: absolute;
    inset: 0;
    color: #ffffff;
    background: rgba(2, 11, 24, .55);
    font-size: 19px;
    opacity: 0;
    transition: opacity .25s ease;
}

.home-gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(.85);
}

.home-gallery-item:hover > span {
    opacity: 1;
}

/* Cuando todavía no hay fotografías */

.home-column-block .home-column-empty {
    width: 100%;
}

/* =====================================================
   PÁGINA PÚBLICA DE GALERÍA
   Estas clases pueden utilizarse en galeria.php
===================================================== */

.public-gallery {
    padding: 55px 0 65px;
    background: #ffffff;
}

.public-gallery-heading {
    margin-bottom: 30px;
    text-align: center;
}

.public-gallery-heading span {
    display: block;
    margin-bottom: 7px;
    color: #a66d00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.public-gallery-heading h1,
.public-gallery-heading h2 {
    margin: 0;
    color: var(--site-primary);
    font-size: clamp(28px, 4vw, 42px);
    text-transform: uppercase;
}

.public-gallery-heading strong {
    color: var(--site-gold);
}

.public-gallery-heading::after {
    content: "";
    width: 46px;
    height: 3px;
    margin: 12px auto 0;
    display: block;
    border-radius: 20px;
    background: var(--site-gold);
}

/* Filtros de categorías */

.public-gallery-filters {
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.public-gallery-filter {
    min-height: 39px;
    padding: 9px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ec;
    border-radius: 7px;
    color: var(--site-primary);
    background: #ffffff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    transition: .2s ease;
}

.public-gallery-filter:hover,
.public-gallery-filter.active {
    border-color: var(--site-primary);
    color: #ffffff;
    background: var(--site-primary);
}

/* Cuadrícula de álbumes */

.public-gallery-albums {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.public-gallery-album {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: inherit;
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(6, 27, 53, .08);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.public-gallery-album:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(6, 27, 53, .14);
}

.public-gallery-album-cover {
    height: 230px;
    overflow: hidden;
    position: relative;
    background: #e2e8f0;
}

.public-gallery-album-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.public-gallery-album:hover .public-gallery-album-cover img {
    transform: scale(1.06);
}

.public-gallery-album-count {
    padding: 7px 10px;
    position: absolute;
    right: 11px;
    bottom: 11px;
    border-radius: 20px;
    color: #ffffff;
    background: rgba(2, 11, 24, .78);
    font-size: 9px;
    font-weight: 900;
}

.public-gallery-album-body {
    padding: 18px;
}

.public-gallery-album-body span {
    display: block;
    margin-bottom: 6px;
    color: #a66d00;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.public-gallery-album-body h3 {
    margin: 0 0 8px;
    color: var(--site-primary);
    font-size: 18px;
}

.public-gallery-album-body p {
    margin: 0;
    color: var(--site-muted);
    font-size: 11px;
    line-height: 1.6;
}

/* Encabezado de un álbum */

.public-album-header {
    padding: 48px 0 30px;
    background:
        linear-gradient(
            135deg,
            rgba(6, 27, 53, .97),
            rgba(11, 49, 93, .94)
        );
    color: #ffffff;
}

.public-album-header a {
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--site-gold);
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.public-album-header h1 {
    margin: 0 0 10px;
    font-size: clamp(30px, 5vw, 48px);
}

.public-album-header p {
    max-width: 760px;
    margin: 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.7;
}

/* Fotografías dentro del álbum */

.public-album-photos {
    padding: 42px 0 65px;
    background: #ffffff;
}

.public-album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.public-album-photo {
    height: 240px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    background: #e2e8f0;
    cursor: pointer;
}

.public-album-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.public-album-photo::after {
    content: "\f00e";
    display: grid;
    place-items: center;
    position: absolute;
    inset: 0;
    color: #ffffff;
    background: rgba(2, 11, 24, .52);
    font-family: "Font Awesome 6 Free";
    font-size: 24px;
    font-weight: 900;
    opacity: 0;
    transition: opacity .25s ease;
}

.public-album-photo:hover img {
    transform: scale(1.07);
}

.public-album-photo:hover::after {
    opacity: 1;
}

/* Galería vacía */

.public-gallery-empty {
    padding: 50px 25px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: var(--site-muted);
    text-align: center;
}

.public-gallery-empty i {
    margin-bottom: 12px;
    display: block;
    color: var(--site-gold);
    font-size: 38px;
}

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

@media (max-width: 1050px) {

    .home-gallery-item {
        height: 125px;
    }

    .public-gallery-albums,
    .public-album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-gallery-album-cover {
        height: 250px;
    }
}

@media (max-width: 650px) {

    .home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-gallery-item {
        height: 130px;
    }

    .public-gallery {
        padding: 38px 0 50px;
    }

    .public-gallery-albums,
    .public-album-grid {
        grid-template-columns: 1fr;
    }

    .public-gallery-album-cover {
        height: 235px;
    }

    .public-album-photo {
        height: 240px;
    }
}

@media (max-width: 400px) {

    .home-gallery-grid {
        grid-template-columns: 1fr;
    }

    .home-gallery-item {
        height: 210px;
    }

    .public-gallery-album-cover,
    .public-album-photo {
        height: 215px;
    }
}
/* =====================================================
   ALINEAR LAS TRES COLUMNAS CONSERVANDO 9 FOTOS
===================================================== */

@media (min-width: 901px) {

    .home-content-columns-grid {
        align-items: stretch;
    }

    .home-column-block {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    /* Misma altura para el contenido de las 3 columnas */

    .home-events-list,
    .home-sermons-list,
    .home-gallery-grid {
        min-height: 266px;
    }

    /* Galería: 9 fotos en 3 columnas y 3 filas */

    .home-gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(3, 83px);
        gap: 8px;
        align-content: start;
    }

    .home-gallery-item {
        width: 100%;
        height: 83px !important;
    }

    /* Botones en la misma línea inferior */

    .home-column-button {
        margin-top: auto;
    }
}
/* =====================================================
   FRANJA SUPERIOR DEL FOOTER
===================================================== */

.footer-callout {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #0a315d 0%,
            #062445 45%,
            #041b35 100%
        );
}

.footer-callout::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 255, 255, .28),
            transparent 32%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(246, 173, 25, .22),
            transparent 30%
        );
}

.footer-callout-grid {
    min-height: 125px;
    display: grid;
    grid-template-columns:
        minmax(0, .95fr)
        minmax(0, .9fr)
        minmax(0, 1.25fr);
    position: relative;
    z-index: 2;
}

.footer-callout-item {
    min-width: 0;
    padding: 26px 28px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    border-right: 1px solid rgba(255, 255, 255, .16);
}

.footer-callout-item:last-child {
    border-right: 0;
}

.footer-callout-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid var(--site-gold);
    border-radius: 50%;
    color: #ffffff;
    font-size: 25px;
}

.footer-callout-copy {
    min-width: 0;
}

.footer-callout-copy strong,
.footer-callout-copy span {
    display: block;
}

.footer-callout-copy strong {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.25;
    text-transform: uppercase;
}

.footer-callout-copy span {
    color: #d5deea;
    font-size: 10px;
    line-height: 1.5;
}

.footer-callout-button {
    min-height: 39px;
    margin-top: 14px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    grid-column: 2;
    border-radius: 5px;
    color: #08213e;
    background: var(--site-gold);
    text-decoration: none;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    transition:
        transform .2s ease,
        background .2s ease;
}

.footer-callout-button:hover {
    color: #08213e;
    background: #ffc545;
    transform: translateY(-2px);
}

/* BOLETÍN */

.footer-newsletter-item {
    grid-template-columns: 58px minmax(0, 1fr);
}

.footer-newsletter-content {
    min-width: 0;
}

.footer-newsletter-form {
    margin-top: 13px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.footer-newsletter-form input {
    width: 100%;
    min-width: 0;
    height: 39px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 5px;
    outline: none;
    color: #0b1e35;
    background: #ffffff;
    font-size: 10px;
}

.footer-newsletter-form input:focus {
    border-color: var(--site-gold);
    box-shadow: 0 0 0 3px rgba(246, 173, 25, .18);
}

.footer-newsletter-form button {
    min-height: 39px;
    padding: 0 16px;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    color: #08213e;
    background: var(--site-gold);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-newsletter-form button:hover {
    background: #ffc545;
}

/* Ocultar visualmente, mantener accesible */

.sr-only {
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    position: absolute;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================
   FOOTER PRINCIPAL
===================================================== */

.site-footer {
    color: #ffffff;
    background: #03172d;
}

.footer-grid {
    padding-top: 36px;
    padding-bottom: 30px;
    display: grid;
    grid-template-columns:
        minmax(280px, 1.05fr)
        minmax(280px, 1.05fr)
        minmax(260px, .9fr);
    gap: 38px;
}

.footer-brand,
.footer-column {
    min-width: 0;
}

.footer-brand-heading {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-brand-heading img {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    display: block;
    object-fit: contain;
}

.footer-brand-heading span,
.footer-brand-heading strong {
    display: block;
}

.footer-brand-heading span {
    margin-bottom: 3px;
    color: #d5deea;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-brand-heading strong {
    max-width: 240px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.15;
    text-transform: uppercase;
}

.footer-brand > p {
    max-width: 310px;
    margin: 14px 0 17px;
    color: #c5cfdb;
    font-size: 10px;
    line-height: 1.65;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-socials a {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    transition: .2s ease;
}

.footer-socials a:hover {
    border-color: var(--site-gold);
    color: #08213e;
    background: var(--site-gold);
    transform: translateY(-2px);
}

.footer-column {
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, .18);
}

.footer-column h3 {
    margin: 0 0 17px;
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 25px;
}

.footer-links-grid a {
    display: block;
    color: #d5deea;
    text-decoration: none;
    font-size: 10px;
    line-height: 1.5;
    transition: .2s ease;
}

.footer-links-grid a:hover {
    color: var(--site-gold);
    transform: translateX(3px);
}

.footer-contact p {
    margin: 0 0 13px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 7px;
    color: #d5deea;
    font-size: 10px;
    line-height: 1.5;
}

.footer-contact p i {
    padding-top: 2px;
    color: #ffffff;
    font-size: 15px;
    text-align: center;
}

.footer-contact a {
    color: #d5deea;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--site-gold);
}

/* PARTE INFERIOR */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: #aeb9c7;
    background: #021225;
    font-size: 9px;
    text-align: center;
}

.footer-bottom .site-container {
    padding-top: 15px;
    padding-bottom: 15px;
}

/* =====================================================
   RESPONSIVE DEL FOOTER
===================================================== */

@media (max-width: 1050px) {

    .footer-callout-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-callout-item:nth-child(2) {
        border-right: 0;
    }

    .footer-newsletter-item {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(255, 255, 255, .16);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {

    .footer-callout-grid {
        grid-template-columns: 1fr;
    }

    .footer-callout-item,
    .footer-newsletter-item {
        grid-column: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .16);
    }

    .footer-callout-item:last-child {
        border-bottom: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-column,
    .footer-contact {
        grid-column: auto;
        padding-top: 25px;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .18);
        border-left: 0;
    }
}

@media (max-width: 480px) {

    .footer-callout-item,
    .footer-newsletter-item {
        padding: 25px 0;
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .footer-callout-icon {
        width: 52px;
        height: 52px;
        font-size: 21px;
    }

    .footer-newsletter-form {
        grid-template-columns: 1fr;
    }

    .footer-newsletter-form button {
        width: 100%;
    }

    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* =====================================================
   AUMENTAR TEXTOS DEL FOOTER
===================================================== */

/* FRANJA DE ORACIÓN, DONACIÓN Y BOLETÍN */

.footer-callout-copy strong {
    font-size: 17px !important;
    line-height: 1.25;
}

.footer-callout-copy span {
    font-size: 12px !important;
    line-height: 1.55;
}

.footer-callout-button {
    padding: 11px 18px;
    font-size: 11px !important;
}

.footer-newsletter-form input {
    height: 42px;
    font-size: 12px !important;
}

.footer-newsletter-form button {
    min-height: 42px;
    padding: 0 18px;
    font-size: 11px !important;
}

/* MARCA Y DESCRIPCIÓN */

.footer-brand-heading span {
    font-size: 11px !important;
}

.footer-brand-heading strong {
    max-width: 280px;
    font-size: 20px !important;
    line-height: 1.2;
}

.footer-brand > p {
    max-width: 350px;
    font-size: 12px !important;
    line-height: 1.7;
}

/* TÍTULOS DE COLUMNAS */

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 16px !important;
}

/* ENLACES RÁPIDOS */

.footer-links-grid {
    gap: 9px 30px;
}

.footer-links-grid a {
    font-size: 12px !important;
    line-height: 1.6;
}

/* CONTACTO */

.footer-contact p {
    margin-bottom: 15px;
    grid-template-columns: 25px minmax(0, 1fr);
    font-size: 12px !important;
    line-height: 1.6;
}

.footer-contact p i {
    font-size: 17px !important;
}

/* COPYRIGHT */

.footer-bottom {
    font-size: 11px !important;
}

.footer-bottom .site-container {
    padding-top: 17px;
    padding-bottom: 17px;
}

/* REDES SOCIALES */

.footer-socials a {
    width: 35px;
    height: 35px;
    font-size: 14px;
}

/* UN POCO MÁS DE ESPACIO EN EL FOOTER */

.footer-grid {
    padding-top: 42px;
    padding-bottom: 38px;
}