:root {
    --primary: #1E385D;
    --primary-light: #2A4F7F;
    --primary-dark: #0F1F36;
    --gold: #C8A96E;
    --gold-light: #E0C88A;
    --gold-dark: #A88A4E;
    --accent: #5B4B8A;
    --accent-light: #7B6BA8;
    --bg: #F4F6F9;
    --bg-alt: #E8EDF2;
    --bg-dark: #0F1F36;
    --text: #1E293B;
    --text-muted: #475569;
    --text-light: #94A3B8;
    --white: #FFFFFF;
    --border: #D1D9E6;
    --shadow-sm: 0 1px 3px rgba(30,41,59,0.06);
    --shadow-md: 0 4px 20px rgba(30,41,59,0.08);
    --shadow-lg: 0 10px 40px rgba(30,41,59,0.12);
    --shadow-xl: 0 20px 60px rgba(30,41,59,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ====== TOP BAR ====== */
.top-bar {
    background: var(--primary-dark);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.search-wrapper {
    flex: 0 1 560px;
    min-width: 240px;
}
.search-box {
    position: relative;
    flex: 1;
    min-width: 0;
}
.search-label {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.07);
    padding: 8px 10px;
    cursor: text;
    transition: all var(--transition);
}
.search-label:hover {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
}
.search-label:focus-within {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}
.search-label input {
    outline: none;
    width: 100%;
    border: none;
    background: none;
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    font-family: var(--font-sans);
}
.search-label input::placeholder {
    color: rgba(255,255,255,0.3);
}
.search-label .search-icon,
.search-label .slash-icon {
    position: absolute;
    color: rgba(255,255,255,0.5);
}
.search-label .search-icon {
    right: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    line-height: 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.search-label .search-icon:hover {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}
.search-label .search-icon svg {
    width: 14px;
    height: auto;
    display: block;
}
.search-label .slash-icon {
    right: 36px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    text-align: center;
    font-size: 11px;
    width: 18px;
    line-height: 1.4;
    color: rgba(255,255,255,0.35);
    pointer-events: none;
}

.search-intel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    padding: 0.6rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    z-index: 1100;
}
.search-intel.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.intel-cats {
    display: flex;
    gap: 0.3rem;
    padding: 0 0.75rem 0.6rem;
    border-bottom: 1px solid #eef2f6;
    flex-wrap: wrap;
}
.cat-btn {
    background: none;
    border: 1px solid #e2e8f0;
    font-size: 0.7rem;
    font-family: var(--font-sans);
    color: #64748b;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}
.cat-btn:hover {
    border-color: #94a3b8;
    color: #334155;
}
.cat-btn.active {
    background: #0B1D3A;
    border-color: #0B1D3A;
    color: #fff;
}
.intel-suggestions {
    padding: 0.4rem 0 0;
}
.suggest-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    color: #334155;
    font-size: 0.78rem;
    text-decoration: none;
    transition: background 0.15s;
}
.suggest-item:hover,
.suggest-item.active {
    background: #eef2f6;
}
.suggest-item svg {
    flex-shrink: 0;
    color: #94a3b8;
}
.search-result-count {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    color: #94a3b8;
    font-style: italic;
}

.top-bar-inner .btn-donate {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #0B1D3A;
    border-radius: 100px;
    padding: 0.55rem 1.4rem;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    text-decoration: none;
    white-space: nowrap;
}
.top-bar-inner .btn-donate:hover {
    transform: translateY(calc(-50% - 2px));
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* ====== HEADER ====== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: transform 0.4s ease, box-shadow var(--transition);
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.6rem 0; min-height: 74px;
}
.header-logo { flex-shrink: 0; transition: opacity var(--transition); }
.header-logo:hover { opacity: 0.85; }
.header-logo img { height: 56px; width: auto; }
.main-nav { display: flex; align-items: center; flex: 1; justify-content: flex-end; }
.nav-menu { display: flex; align-items: center; gap: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: block; padding: 0.5rem 0.8rem;
    font-family: var(--font-sans); font-size: 0.76rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--text); transition: color var(--transition);
    position: relative;
}
.nav-menu > li > a::after {
    content: ''; position: absolute; bottom: 0; left: 0.8rem; right: 0.8rem;
    height: 2px; background: var(--gold); transform: scaleX(0);
    transition: transform var(--transition);
}
.nav-menu > li > a:hover { color: var(--primary); }
.nav-menu > li > a:hover::after { transform: scaleX(1); }
.sub-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 999; border: 1px solid var(--border);
}
.menu-has-children:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li a {
    display: block; padding: 0.5rem 1.2rem;
    font-size: 0.82rem; font-weight: 400;
    color: var(--text); transition: all 0.2s;
}
.sub-menu li a:hover { background: var(--bg); color: var(--primary); padding-left: 1.5rem; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.3rem; flex-direction: column; gap: 5px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: all 0.3s; }

/* ====== HERO ====== */
.hero-section {
    height: 85vh; min-height: 560px; display: flex; align-items: center;
    justify-content: center; position: relative;
    background-size: cover; background-position: center;
    overflow: hidden;
}
.hero-section::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,31,54,0.7) 0%, rgba(30,56,93,0.5) 50%, rgba(15,31,54,0.6) 100%);
    z-index: 1;
}
.hero-section::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 160px;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    z-index: 2; pointer-events: none;
}

.hero-overlay-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}
.hero-badge {
    display: inline-block; padding: 0.5rem 1.5rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2.5px;
    color: var(--gold-light); margin-bottom: 1.75rem;
}
.hero-main-title {
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    line-height: 1.1;
}
.hero-title-line {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 3px;
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero-main-title .hero-title-sub {
    display: block;
    font-size: 2.2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--gold-light);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-top: 0.5rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.2);
}
.hero-subtitle {
    font-size: 1.2rem; color: rgba(255,255,255,0.85);
    max-width: 700px; margin: 0 auto 1.5rem; font-weight: 300;
    line-height: 1.8;
}
.hero-description {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-cta {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.9rem 2.5rem;
    background: var(--white);
    border: none;
    color: var(--primary); font-weight: 700; font-size: 0.85rem;
    border-radius: 100px;
    text-transform: uppercase; letter-spacing: 1px;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hero-cta:hover {
    transform: translateY(-2px);
    background: var(--gold-light);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    color: var(--primary);
}
.hero-cta svg { transition: transform var(--transition); }
.hero-cta:hover svg { transform: translateX(4px); }
.hero-cta-secondary {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.9rem 2.5rem;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white); font-weight: 600; font-size: 0.85rem;
    border-radius: 100px;
    text-transform: uppercase; letter-spacing: 1px;
    transition: all var(--transition);
}
.hero-cta-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    border-color: var(--white);
}
.hero-cta-secondary svg { transition: transform var(--transition); }
.hero-cta-secondary:hover svg { transform: translateY(4px); }

/* ====== SECTION TITLES ====== */
.section-header {
    text-align: center; max-width: 720px; margin: 0 auto 3rem;
    padding: 0 1rem;
}
.section-tag {
    display: inline-block; font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 3px;
    color: var(--gold); margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--font-serif); font-size: 2.6rem; font-weight: 800;
    color: var(--primary); line-height: 1.15; margin-bottom: 0.75rem;
}
.section-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }

/* ====== MISSION SECTION ====== */
.mission-section {
    padding: 5rem 0;
    background: var(--primary-dark);
}
.mission-section .section-header {
    margin-bottom: 3rem;
}
.mission-section .section-title {
    color: var(--white);
}
.mission-section .section-desc {
    color: rgba(255,255,255,0.7);
}
.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 720px;
    margin: 0 auto;
}
.mission-card {
    padding: 3rem 2.5rem;
    text-align: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.mission-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    border-color: rgba(200,169,110,0.3);
}
.mission-icon {
    margin-bottom: 1.25rem;
    line-height: 0;
}
.mission-icon svg { width: 52px; height: 52px; }
.mission-icon circle { stroke: var(--gold); }
.mission-icon path { fill: var(--gold); }
.mission-card h3 {
    font-family: var(--font-serif); font-size: 1.3rem;
    font-weight: 700; margin-bottom: 0.6rem;
    color: var(--white);
}
.mission-card > p {
    font-size: 0.85rem; color: var(--gold-light);
    text-transform: uppercase; font-weight: 600; letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}
.mission-card span {
    font-size: 0.9rem; display: block; line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

/* ====== FOUNDER ====== */
.founder-section { padding: 5rem 0; background: var(--white); }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.founder-image img {
    width: 100%; max-width: 300px;
    margin: 0 auto; border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}
.founder-content h3 {
    font-family: var(--font-serif); font-size: 2rem;
    color: var(--primary); font-weight: 700; margin-bottom: 0.5rem;
}
.gold-line {
    width: 60px; height: 3px; background: var(--gold);
    margin-bottom: 1.5rem; border-radius: 2px;
}
.founder-content p {
    color: var(--text-muted); font-size: 0.95rem;
    margin-bottom: 2rem; line-height: 1.8;
}
.btn-outline {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.7rem 1.8rem;
    font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--primary); border: 2px solid var(--primary);
    transition: all var(--transition);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* ====== ASSEMBLY ====== */
.assembly-section {
    padding: 5rem 0;
    background: var(--primary);
    color: var(--white);
}
.assembly-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.assembly-content h2 { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.assembly-content p { font-size: 0.95rem; line-height: 1.8; opacity: 0.85; margin-bottom: 2rem; }
.btn-outline-white {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.7rem 1.8rem; font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--white); border: 2px solid rgba(255,255,255,0.4);
    transition: all var(--transition);
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.assembly-logos { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.assembly-logos img { max-height: 100px; width: auto; }

/* ====== MOTHER HOUSE ====== */
.motherhouse-section { padding: 5rem 0; background: var(--bg-alt); }
.motherhouse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.motherhouse-image { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.motherhouse-image img { width: 100%; }
.motherhouse-content h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--primary); font-weight: 700; margin-bottom: 0.5rem; }
.motherhouse-content p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem; }

/* ====== PILGRIMAGE ====== */
.pilgrimage-section { padding: 5rem 0; background: var(--white); }
.pilgrimage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.pilgrimage-content h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--primary); font-weight: 700; margin-bottom: 0.5rem; }
.pilgrimage-content p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem; }
.pilgrimage-images { display: flex; gap: 1rem; }
.pilgrimage-images figure { flex: 1; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.pilgrimage-images img { width: 100%; height: 220px; object-fit: cover; }

/* ====== MAP SECTION ====== */
.map-section {
    padding: 5rem 0;
    background: var(--white);
}
#world-map {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1;
}
.map-section .leaflet-container {
    border-radius: var(--radius-lg);
    font-family: var(--font-sans);
}
.map-section .leaflet-popup-content-wrapper {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}
.map-section .leaflet-popup-content {
    margin: 0.8rem 1rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text);
}
.map-section .leaflet-popup-content h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.map-section .leaflet-popup-content p {
    color: var(--text-muted);
    margin: 0;
}
.marker-vincent {
    background: var(--primary);
    border: 3px solid var(--gold);
    border-radius: 50%;
    width: 14px;
    height: 14px;
}

/* ====== MAGAZINES ====== */
.magazines-section {
    padding: 5rem 0;
    background: var(--bg);
}
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.magazine-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.magazine-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.magazine-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.5s ease;
}
.magazine-card:hover img {
    transform: scale(1.05);
}
.magazine-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
    align-items: center;
}
.magazine-info h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: inline-block;
}
.magazine-info h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--gold);
    margin: 0.6rem auto 0;
}
.magazine-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
    max-width: 300px;
}
.magazine-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    transition: all var(--transition);
    margin-top: auto;
    padding: 0.55rem 1.4rem;
    border: 1.5px solid var(--gold);
    border-radius: 50px;
    background: transparent;
    letter-spacing: 0.5px;
}
.magazine-btn:hover {
    gap: 0.7rem;
    background: var(--gold);
    color: var(--white);
}
.magazine-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .magazine-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1024px) {
    .magazine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ====== PDF MAGAZINES (biblioteca própria) ====== */
.pdf-thumb {
    width: 100%;
    height: 200px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}
.pdf-thumb svg {
    width: 64px;
    height: 64px;
    color: var(--gold-light);
}
.pdf-read-btn {
    cursor: pointer;
    font-family: inherit;
}

/* ====== PDF VIEWER MODAL ====== */
.pdf-viewer-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: rgba(15, 31, 54, 0.85);
    backdrop-filter: blur(4px);
}
.pdf-viewer-modal.open {
    display: flex;
}
.pdf-viewer-box {
    width: 100%;
    max-width: 780px;
    height: 100%;
    max-height: 900px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.pdf-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--primary-dark);
    color: var(--white);
    flex-shrink: 0;
}
.pdf-viewer-header h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
}
.pdf-viewer-actions {
    display: flex;
    gap: 0.5rem;
}
.pdf-icon-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background var(--transition);
}
.pdf-icon-btn:hover {
    background: var(--gold);
}
.pdf-icon-btn svg {
    width: 18px;
    height: 18px;
}
.pdf-viewer-canvas-wrap {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: var(--bg-alt);
    padding: 1.5rem;
    position: relative;
}
#pdfViewerCanvas {
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    height: auto;
    background: var(--white);
}
.pdf-viewer-status {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}
.pdf-viewer-status.hidden {
    display: none;
}
.pdf-viewer-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.85rem;
    background: var(--white);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.pdf-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all var(--transition);
}
.pdf-nav-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}
.pdf-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.pdf-nav-btn:disabled:hover {
    background: var(--white);
    border-color: var(--border);
    color: var(--primary);
}
.pdf-page-indicator {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 44px;
    text-align: center;
}
.pdf-footer-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
}
body.pdf-viewer-lock {
    overflow: hidden;
}

@media (max-width: 640px) {
    .pdf-viewer-modal { padding: 0; }
    .pdf-viewer-box { max-width: 100%; max-height: 100%; border-radius: 0; }
}

/* ====== NEWS ====== */
.news-section { padding: 5rem 0; background: var(--bg); }
.news-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.news-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    transition: all var(--transition);
}
.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.news-card .card-title {
    font-family: var(--font-serif); font-size: 1.1rem;
    font-weight: 600; line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--primary);
}
.news-card a:hover .card-title { color: var(--gold); }
.news-category {
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--gold); margin-bottom: 0.75rem;
    background: rgba(200,169,110,0.1);
    padding: 0.2rem 0.8rem;
    display: inline-block;
}
.news-card .card-body {
    flex: 1;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}
.read-more {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.82rem; font-weight: 600; color: var(--primary);
    margin-top: auto; padding: 0.4rem 0;
    transition: all var(--transition);
}
.read-more:hover { color: var(--gold); gap: 0.6rem; }
.read-more svg { width: 14px; height: 14px; }
.read-more:hover svg { transform: translateX(4px); }

/* ====== PHOTOS GALLERY ====== */
.photos-section { padding: 5rem 0; background: var(--bg-alt); }
.photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.photo-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 1 / 1;
}
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.photo-item:hover img { transform: scale(1.08); }
.photo-item-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 0.6rem 0.8rem;
    background: linear-gradient(to top, rgba(15,31,54,0.85), transparent);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(6px);
    transition: all var(--transition);
}
.photo-item:hover .photo-item-caption { opacity: 1; transform: translateY(0); }

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    background: rgba(15, 31, 54, 0.92);
    padding: 2rem;
}
.photo-lightbox.open { display: flex; }
.photo-lightbox img {
    max-width: 90vw;
    max-height: 78vh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xl);
}
.photo-lightbox p {
    color: var(--white);
    font-size: 0.95rem;
    text-align: center;
}
.photo-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-lightbox-close:hover { background: var(--gold); }
.photo-lightbox-close svg { width: 20px; height: 20px; }

@media (max-width: 1024px) {
    .photos-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .photos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ====== NUNTIA ====== */
.nuntia-section {
    padding: 5rem 0;
    text-align: center;
    background: var(--primary-dark);
}
.nuntia-section h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--white); font-weight: 700; margin-bottom: 0.5rem; }
.nuntia-subtitle { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-bottom: 2.5rem; }
.nuntia-form { max-width: 480px; margin: 0 auto; text-align: left; }
.nuntia-field { margin-bottom: 1.2rem; }
.nuntia-field label { display: block; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.8); margin-bottom: 0.4rem; }
.nuntia-field label span { color: var(--gold); }
.nuntia-field input[type="email"],
.nuntia-field select {
    width: 100%; padding: 0.85rem 1.2rem;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--white); color: var(--text);
    font-family: var(--font-sans); font-size: 0.9rem;
    transition: all var(--transition);
}
.nuntia-field input[type="email"]:focus,
.nuntia-field select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(200,169,110,0.15); }
.nuntia-field input::placeholder { color: var(--text-light); }
.nuntia-field select option { color: var(--text); }
.nuntia-checkbox label { font-size: 0.78rem; font-weight: 400; color: rgba(255,255,255,0.55); line-height: 1.5; display: flex; align-items: flex-start; gap: 0.6rem; cursor: pointer; }
.nuntia-checkbox input[type="checkbox"] { margin-top: 0.25rem; flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; accent-color: var(--gold); }
.nuntia-checkbox a { color: var(--gold-light); text-decoration: underline; }
.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none; padding: 0.9rem 2.5rem;
    border-radius: 50px; font-family: var(--font-sans);
    font-weight: 600; font-size: 0.88rem;
    cursor: pointer; transition: all var(--transition);
    width: 100%; letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(30,56,93,0.2);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(30,56,93,0.3); }

/* ====== QUOTE ====== */
.quote-section {
    padding: 5rem 0; text-align: center;
    background: var(--primary);
    color: var(--white);
}
.quote-section blockquote {
    font-family: var(--font-serif); font-size: 2rem; font-weight: 500;
    line-height: 1.4; font-style: italic;
}
.quote-section cite {
    display: block; margin-top: 1.5rem;
    font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
    font-style: normal; color: var(--gold); letter-spacing: 2px;
    text-transform: uppercase;
}

/* ====== FOOTER ====== */
.site-footer {
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 0;
    font-size: 0.85rem;
    background: var(--primary-dark);
}
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.footer-contact-link {
    font-family: var(--font-sans); font-weight: 700; font-size: 0.82rem;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--gold); transition: all var(--transition);
    padding: 0.55rem 1.6rem; border: 1px solid rgba(200,169,110,0.3);
    border-radius: 50px;
}
.footer-contact-link:hover { background: var(--gold); color: var(--primary-dark); border-color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-name { font-family: var(--font-serif); font-weight: 700; color: var(--white); font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-contact p { line-height: 2; }
.footer-contact a { color: rgba(255,255,255,0.75); transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold); }
.footer-newsletter {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}
.footer-newsletter h4 { font-family: var(--font-sans); color: var(--white); margin-bottom: 1rem; font-weight: 600; font-size: 0.9rem; }
.footer-newsletter-form { display: flex; flex-direction: column; gap: 0.8rem; }
.newsletter-field input,
.newsletter-field select {
    width: 100%; padding: 0.7rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm); background: rgba(255,255,255,0.04);
    color: var(--white); font-family: var(--font-sans); font-size: 0.82rem;
    transition: border-color var(--transition);
}
.newsletter-field input:focus,
.newsletter-field select:focus { outline: none; border-color: var(--gold); }
.newsletter-field input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-field select option { color: var(--text); background: var(--white); }
.newsletter-checkbox label { font-size: 0.72rem; color: rgba(255,255,255,0.4); line-height: 1.5; display: flex; align-items: flex-start; gap: 0.5rem; cursor: pointer; }
.newsletter-checkbox input[type="checkbox"] { margin-top: 0.25rem; flex-shrink: 0; width: 14px; height: 14px; cursor: pointer; accent-color: var(--gold); }
.newsletter-checkbox a { color: var(--gold); text-decoration: underline; }
.btn-subscribe {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--primary-dark);
    border: none; padding: 0.7rem 1.5rem;
    border-radius: 50px; font-family: var(--font-sans); font-weight: 600;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px;
    cursor: pointer; transition: all var(--transition);
    align-self: flex-start;
}
.btn-subscribe:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(200,169,110,0.3); }
.footer-lang {
    display: flex; flex-wrap: wrap; gap: 1.5rem;
    padding: 1.5rem 0; margin-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.lang-item {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.78rem; color: rgba(255,255,255,0.4);
    transition: all var(--transition);
}
.lang-item:hover, .lang-item.active { color: var(--gold); }
.lang-item img { border-radius: 2px; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 0;
    font-size: 0.75rem; opacity: 0.35;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-bottom a {
    color: inherit; text-decoration: underline;
    transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--gold); }

/* ====== TEXT REVEAL ====== */
.text-reveal {
    display: inline;
}
.text-reveal .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.text-reveal .word.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== SCROLL REVEAL ====== */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

.reveal-left {
    opacity: 0; transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0; transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
    opacity: 0; transform: scale(0.85);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-stagger > * {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.40s; }

.shimmer {
    color: var(--gold);
}

/* ====== RESPONSIVE ====== */
@media (min-width: 769px) {
    .top-bar { display: block; }
}

@media (max-width: 1024px) {
    .nav-menu > li > a { padding: 0.5rem 0.5rem; font-size: 0.68rem; }
    .hero-title-line { font-size: 2.8rem; }
    .hero-main-title .hero-title-sub { font-size: 1.5rem; }
    .founder-grid, .assembly-grid, .motherhouse-grid, .pilgrimage-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .assembly-logos { justify-content: flex-start; }
    .pilgrimage-images { order: -1; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .header-inner { min-height: 60px; }
    .header-logo img { height: 42px; }
    .mobile-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 60px; left: 0; right: 0;
        background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
        box-shadow: var(--shadow-lg); padding: 0.5rem 0;
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: all 0.3s; z-index: 999;
    }
    .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-menu { flex-direction: column; align-items: stretch; }
    .nav-menu > li > a { padding: 0.8rem 1.5rem; }
    .nav-menu > li > a::after { display: none; }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; }
    .menu-has-children.open .sub-menu { display: block; }

    .hero-section { height: 70vh; min-height: 420px; }
    .hero-overlay-content { padding: 2rem 1.5rem; }
    .hero-title-line { font-size: 2.6rem; }
    .hero-main-title .hero-title-sub { font-size: 1.3rem; letter-spacing: 5px; }
    .hero-subtitle { font-size: 1rem; }
    .hero-description { font-size: 0.88rem; }
    .hero-actions { flex-direction: column; }
    .hero-cta, .hero-cta-secondary { width: 100%; justify-content: center; }
    .mission-grid { grid-template-columns: 1fr; max-width: 500px; }
    .mission-card { padding: 2.5rem 2rem; }
    .founder-grid { text-align: center; }
    .founder-content .gold-line { margin: 0 auto 1.5rem; }
    .assembly-grid { text-align: center; }
    .assembly-logos { justify-content: center; }
    .motherhouse-grid { text-align: center; }
    .motherhouse-content .gold-line { margin: 0 auto 1.5rem; }
    .pilgrimage-grid { text-align: center; }
    .pilgrimage-content .gold-line { margin: 0 auto 1.5rem; }
    .pilgrimage-images { justify-content: center; flex-wrap: wrap; }
    .pilgrimage-images figure { flex: 0 0 45%; }
    .pilgrimage-images img { height: 160px; }
    .news-bento { grid-template-columns: 1fr; }
    .news-card { padding: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; align-items: flex-start; }
    .quote-section blockquote { font-size: 1.5rem; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-section { height: 55vh; min-height: 320px; }
    .hero-overlay-content { padding: 1.5rem; }
    .hero-title-line { font-size: 2rem; }
    .hero-main-title .hero-title-sub { font-size: 1rem; letter-spacing: 4px; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-description { font-size: 0.85rem; }
    .hero-cta, .hero-cta-secondary { padding: 0.75rem 1.8rem; font-size: 0.78rem; }
    .mission-grid { gap: 1rem; }
    .mission-card { padding: 2rem 1.5rem; }
    .assembly-logos img { max-height: 70px; }
    .pilgrimage-images figure { flex: 0 0 100%; }
    .section-title { font-size: 1.6rem; }
}
