:root {
    --gold: #8b6914;
    --gold-light: #C9A84C;
    --gold-pale: #F7F0DF;
    --gold-soft: #EFE1BE;

    --navy: #1B2A4A;
    --navy-mid: #2C3E6B;
    --navy-pale: #EEF1F8;

    --stone: #F5F3EF;
    --stone-mid: #E8E4DC;

    --ink: #1A1814;
    --ink-mid: #3D3A35;
    --ink-soft: #6B6660;

    --white: #FFFFFF;

    --glass: rgba(255, 255, 255, 0.08);

    --red-alert: #8B1A1A;
    --red-alert-bg: #FEF2F2;

    --font-serif: 'EB Garamond', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.05);
    --shadow-nav: 0 2px 16px rgba(0, 0, 0, 0.28);
}

/** reset **/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--stone);
    color: var(--ink);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.bg-white {
    background: var(--white);
}

.bg-stone {
    background: var(--stone);
}

/* nav */
.nav {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-nav);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 16px;
}

.nav-title {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    line-height: 1;
}

.nav-title-top {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 550;
    color: var(--white);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.nav-title-sub {
    font-size: 10px;
    color: var(--gold-light);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 2px;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 2px;
    align-items: center;
}

.nav-links a {
    display: block;
    padding: 8px 13px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    position: relative;
    transition: color 0.18s;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    right: 50%;
    height: 1.5px;
    background: var(--gold-light);
    transition: left 0.22s ease, right 0.22s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: #fff;
    background: var(--glass);
}

.nav-links a:hover::after {
    left: 13px;
    right: 13px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.lang-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lang-pill {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.lang-pill .lang-label {
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 10px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
    white-space: nowrap;
    user-select: none;
}

.lang-pill .lang-label:hover {
    color: var(--white);
}

.lang-pill .lang-radio:checked+.lang-label {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.nav-donate {
    background: var(--gold);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
    flex-shrink: 0;
}

.nav-donate:hover {
    background: #7A5B10;
}

.nav-donate::after {
    display: none;
}

.nav-hamburger {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.nav-hamburger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.22s, opacity 0.22s;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-menu {
    background: var(--navy-mid);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    z-index: 99;
    box-shadow: var(--shadow-nav);
}

.mobile-menu.open {
    max-height: 480px;
}

.mobile-menu-inner {
    padding: 8px 0 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-menu-inner a {
    display: block;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.12s;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.07);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }

    .nav-hamburger {
        display: none;
    }

    .mobile-menu {
        display: none;
    }
}

.hero {
    background: var(--navy);
    padding: 52px 20px 60px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    inset: 0;
    position: absolute;
    text-decoration: none;
    background: radial-gradient(ellipse at 50% -10%, rgba(139, 105, 20, 0.40) 0%, transparent 65%);
    pointer-events: none;
}

.hero-eyebrow,
.hero h1,
.hero-sub,
.hero-cta {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
}


.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(34px, 6vw, 54px);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-light)
}

.hero-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    max-width: 460px;
    margin: 0 auto 32px;
    text-align: center;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
    margin: 0 auto 36px;
}

.btn-primary {
    display: block;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: background 0.15s;
}

.btn-primary:hover {
    background: #7a5b10;
}

.btn-secondary {
    display: block;
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 13px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.15s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

.hero-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45)
}

@media (min-width: 600px) {
    .hero-cta {
        flex-direction: row;
        max-width: none;
        justify-content: center;
    }
}

.quick-links-section {
    background: var(--white);
    border-top: 2px solid var(--gold-light);
    margin-top: 0px;
    padding: 0 0 0px 0;
    border-bottom: 1px solid var(--stone-mid);
}

.quick-links-inner {
    max-width: 740px;
    margin: 0 auto;
    margin-top: 5px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background-color: var(--stone-mid);
    gap: 1px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    text-decoration: none;
    color: var(--ink-mid);
    font-size: 12px;
    font-weight: 500;
    transition: background 0.13s, color 0.13s;
    background-color: var(--white);
    text-align: center;
}

.quick-link:hover {
    background: var(--stone);
    color: var(--navy);
}

.quick-link:hover .ql-icon {
    stroke: var(--navy);
}

.ql-icon {
    width: 22px;
    height: 22px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.13s;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .quick-links-section {
        padding: 14px 12px 16px;
        background: var(--stone);
    }

    .quick-links-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        max-width: 520px;
        margin: 0 auto;
        background: transparent;
    }

    .quick-link {
        min-height: 72px;
        padding: 11px 10px;
        gap: 7px;
        border: 1px solid var(--stone-mid);
        border-radius: 10px;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.25;
        box-shadow: 0 2px 8px rgba(27, 42, 74, 0.05);
    }

    .quick-link:active {
        background: var(--gold-pale);
        color: var(--navy);
        transform: translateY(1px);
    }

    .ql-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .quick-link {
        min-width: 0;
    }
}

.carousels-section {
    padding: 44px 20px 36px;
    background: var(--stone);
    max-width: 1200px;
    margin: 0 auto;
}

.carousels-header {
    margin-bottom: 24px;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 500;
    color: var(--navy);
    line-height: 1.25;
    text-align: center;
}

.event-sub {
    align-items: center;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    margin-top: 1%;
}

.carousels-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.carousel {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--stone-mid);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.carousel-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    display: block;
    object-fit: contain;
    max-height: 480px;
    background: var(--stone);
    cursor: zoom-in;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.carousel-slide img:hover {
    opacity: 0.95;
}

.carousel-slide-pdf {
    position: relative;
    height: clamp(340px, 46vw, 480px);
    overflow: hidden;
    background: var(--stone);
}

.carousel-pdf-canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--stone);
}

.carousel-pdf-open {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px;
    border: 0;
    background: linear-gradient(to top, rgba(27, 42, 74, 0.55), transparent 30%);
    color: var(--white);
    cursor: zoom-in;
}

.carousel-pdf-open span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(27, 42, 74, 0.9);
    font: 600 12px var(--font-sans);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.carousel-pdf-open b {
    margin-right: 6px;
    color: var(--gold-light);
    letter-spacing: 0.08em;
}

.carousel-pdf-open:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: -5px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-top: 1px solid var(--stone-mid);
    background: var(--white);
}

.carousel-btn {
    appearance: none;
    background: var(--navy);
    border: 1px solid var(--navy);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: border-color 0.13s, background 0.13s, transform 0.13s;
    flex-shrink: 0;
}

.carousel-btn:hover {
    border-color: var(--navy-mid);
    background: var(--navy-mid);
    transform: translateY(-1px);
}

.carousel-btn:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 2px;
}

.carousel-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carousel-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--stone-mid);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s, transform 0.15s;
}

.carousel-dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

/* Calendar button */
.calendar-btn-wrap {
    text-align: center;
    margin-top: 24px;
}

.btn-outline-navy {
    display: inline-block;
    border: 1.5px solid var(--navy);
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    padding: 11px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.14s, color 0.14s;
}

.btn-outline-navy:hover {
    background: var(--navy);
    color: var(--white);
}

@media (max-width: 599px) {
    .carousels-wrapper {
        grid-template-columns: 1fr;
    }

    .carousel-slide img {
        max-height: 360px;
    }

    .carousel-slide-pdf {
        height: min(118vw, 520px);
        min-height: 360px;
    }
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-out;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox img[hidden],
.lightbox-pdf[hidden] {
    display: none !important;
}

.lightbox-pdf {
    position: relative;
    width: min(920px, 90vw);
    height: min(88vh, 920px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--radius-md);
    background: var(--stone);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-pdf canvas {
    display: block;
    width: 100%;
    height: calc(100% - 48px);
    min-height: 0;
    object-fit: contain;
    background: var(--stone);
}

.lightbox-pdf.is-loading canvas {
    opacity: 0.35;
}

.lightbox-pdf.pdf-render-error canvas {
    visibility: hidden;
}

.lightbox-pdf.pdf-render-error::before {
    content: "Preview unavailable - open the PDF below";
    position: absolute;
    top: 45%;
    color: var(--navy);
    font: 700 14px var(--font-sans);
}

.lightbox-pdf-open {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    flex: 0 0 48px;
    padding: 10px 18px;
    background: var(--navy);
    color: var(--white);
    font: 700 13px var(--font-sans);
    text-decoration: none;
}

.lightbox-pdf-open:hover {
    background: var(--navy-mid);
}

@media (max-width: 599px) {
    .lightbox-pdf {
        width: 94vw;
        height: 82vh;
    }
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 10001;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.lightbox-close:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
}

.section-divider {
    height: 1px;
    background: var(--stone-mid);
}

.page-section {
    padding: 48px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-sub {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-top: 6px;
    max-width: 520px;
}

.masses-section {
    background: var(--stone);
    padding: 48px 24px 56px;
    border-bottom: 1px solid var(--stone-mid);
}

.masses-inner {
    max-width: 960px;
    margin: 0 auto;
}

.masses-header {
    text-align: center;
    margin-bottom: 32px;
}

.masses-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0;
}

/* ── two-column editorial grid ── */
.masses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

@media (min-width: 800px) {
    .masses-grid {
        grid-template-columns: 1fr 1px 1fr;
        gap: 0;
    }
}

.masses-divider {
    display: none;
}

@media (min-width: 800px) {
    .masses-divider {
        display: block;
        background: var(--stone-mid);
        align-self: stretch;
    }
}

.church-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.church-name {
    text-align: center;
}

.church-address {
    text-align: center;
}

@media (min-width: 800px) {
    .church-col {
        padding: 0 40px;
    }

    .church-col:first-child {
        padding-left: 0;
    }

    .church-col:last-child {
        padding-right: 0;
    }
}

.church-identity {
    margin-bottom: 20px;
}

.church-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
}

.church-address {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 4px;
    line-height: 1.4;
}

.church-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.church-links a {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.12s;
}

.church-links a:hover {
    color: var(--navy);
}

.sched-group {
    margin-bottom: 16px;
}

.sched-group:last-child {
    margin-bottom: 0;
}

.sched-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 6px;
}

.sched-label.confession-label {
    color: var(--navy);
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--stone-mid);
}

.sched-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 5px 0;
    gap: 12px;
}

.sched-day {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-mid);
    flex-shrink: 0;
}

.sched-times {
    font-family: var(--font-serif);
    font-size: 15.5px;
    font-weight: 500;
    color: var(--ink);
    text-align: right;
    line-height: 1.5;
}

.sched-times .spanish {
    color: var(--navy);
    font-style: italic;
}

.masses-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.masses-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.14s, color 0.14s;
}

.masses-action-btn {
    background: var(--navy);
    color: var(--white);
    border: 1px solid var(--stone-mid);
}

.masses-action-btn:hover {
    background: var(--navy-mid);
    border-color: var(--navy-mid);
    color: var(--white);
}

.masses-action-btn:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 3px;
}

.socials-section {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.socials-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.socials-row .fa {
    width: 64px;
    height: 64px;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    font-size: 27px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    color: #fff;

    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.socials-row .fa::before {
    line-height: 1;
}

.social-link {
    width: auto;
    height: auto;
}

.socials-row .fa:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    filter: brightness(1.06);
}

.social-link:focus-visible {
    outline: 3px solid rgba(138, 111, 77, 0.35);
    outline-offset: 5px;
}

.fa-facebook {
    background: linear-gradient(135deg, #1877f2, #0d47a1);
}

.fa-youtube {
    background: linear-gradient(135deg, #ff2a2a, #b00000);
}

.fa-instagram {
    background: radial-gradient(circle at 30% 30%, #feda75, #fa7e1e 28%, #d62976 55%, #962fbf 76%, #4f5bd5);
}

.socials-footer {
    margin-top: 20px;
    font-size: 13px;
    color: var(--ink-soft);
}

/* stuff for mobile */
@media (max-width: 799px) {
    .masses-section {
        padding: 36px 20px 40px;
    }

    .masses-header {
        margin-bottom: 24px;
    }

    .church-col+.church-col {
        padding-top: 28px;
        border-top: 1px solid var(--stone-mid);
    }

    .masses-actions {
        margin-top: 28px;
    }
}

.mobile-lang-toggle {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    gap: 12px;
}

.mobile-lang-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.mobile-lang-toggle .mobile-lang-btn {
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    user-select: none;
}

.mobile-lang-toggle .mobile-lang-btn:hover {
    color: var(--white);
}

.mobile-lang-toggle .lang-radio:checked+.mobile-lang-btn {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

/* mobile layout sizing  */
@media (max-width: 600px) {
    .nav-inner {
        padding: 0 16px;
        gap: 12px;
    }

    .nav-title-top {
        font-size: 14px;
        white-space: normal;
        max-width: 160px;
        line-height: 1.2;
    }

    .nav-title-sub {
        font-size: 8.5px;
    }

    .lang-pill {
        display: none;
    }

    .nav-donate {
        padding: 6px 12px;
        font-size: 12.5px;
    }
}

.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.65);
    padding: 44px 24px 28px;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 24px;
    padding: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 32px;
}

.footer-col h4 {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.12s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-contact p {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
    color: var(--gold-light);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}


.footer-socials .fa {
    width: 36px;
    height: 36px;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.6);

    font-size: 16px;
    line-height: 1;
    text-align: center;
    text-decoration: none;

    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.footer-socials .fa:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}


@media (min-width: 700px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
