/* ============================
   GOOGLE FONTS – INTER
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================
   CSS VARIABLES
   ============================ */
:root {
    --bg-dark: #111;
    --bg-darker: #0a0a0a;
    --bg-light: #f0efed;
    --bg-card-light: #f5f4f2;
    --accent-gold: #c9a14a;
    --accent-gold-hover: #b8903f;
    --text-white: #fff;
    --text-dark: #111;
    --text-muted: #888;
    --text-light-muted: #aaa;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-pill: 50px;
    --transition: 0.35s cubic-bezier(.4, 0, .2, 1);
    --shadow-card: 0 15px 50px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* ============================
   RESET & BASE
   ============================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* SLIDER */
.slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    will-change: opacity;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.45) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

/* ============================
   HEADER / NAV – CENTERED
   ============================ */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.header-container.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 40px;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.logo-left {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
}

.logo {
    height: 55px;
    transition: height var(--transition);
}

.header-container.scrolled .logo {
    height: 40px;
}

/* NAV CENTERED */
.nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item>a {
    color: var(--text-white);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-item>a:hover {
    opacity: 0.7;
}

/* DROPDOWN */
.dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--text-white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    min-width: 230px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.dropdown a {
    color: var(--text-dark);
    padding: 10px 0;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

/* BOTÓN DONAR */
.donar-btn {
    padding: 10px 24px !important;
    border-radius: var(--radius-pill) !important;
    border: 1.5px solid var(--accent-gold) !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    letter-spacing: 1px;
    transition: var(--transition) !important;
    text-transform: uppercase;
}

.donar-btn:hover {
    background: var(--accent-gold) !important;
    color: var(--bg-dark) !important;
    transform: scale(1.05);
}

.spacer {
    display: none;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* MARQUEE */
.hero-marquee {
    position: absolute;
    top: 43%;
    width: 100%;
    overflow: hidden;
    z-index: 3;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 100px;
}

.marquee-content img {
    height: 55px;
    opacity: 0.9;
}

.marquee-content h1 {
    font-size: 52px;
    font-weight: 300;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.marquee-content strong {
    font-weight: 700;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* GLASS CARDS */
.hero-blocks {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 3;
    padding: 0 40px;
}

.glass-card {
    flex: 1;
    max-width: 420px;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.glass-card-icon {
    width: 26px;
    height: 26px;
    opacity: 0.9;
}

.glass-card h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.glass-card p {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.glass-card .card-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-top: 4px;
    transition: var(--transition);
}

.glass-card:hover .card-arrow {
    color: var(--accent-gold);
    transform: translateX(4px);
}

/* ============================
   SECCIÓN: DESTACADOS
   ============================ */
.section-highlights {
    background: var(--bg-dark);
    padding: 100px 40px 120px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.highlight-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 420px;
    transition: var(--transition);
    cursor: pointer;
}

.highlight-card:hover {
    transform: scale(1.015);
}

/* Hover-reveal cards: image-only, white card slides in on hover */
.highlight-card.hover-reveal {
    position: relative;
    overflow: hidden;
}

.highlight-card.hover-reveal .highlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.highlight-card.hover-reveal:hover .highlight-img {
    transform: scale(1.05);
}

/* White info card overlay that appears on hover */
.highlight-info-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: var(--text-white);
    color: var(--text-dark);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
    z-index: 2;
}

/* For smaller cards, overlay takes more width */
.highlights-grid .highlight-card:not(:first-child) .highlight-info-overlay {
    width: 100%;
    top: auto;
    bottom: 0;
    right: 0;
    height: auto;
    max-height: 100%;
    transform: translateY(100%);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 30px 24px;
}

.highlight-card.hover-reveal:hover .highlight-info-overlay {
    transform: translateX(0);
}

.highlight-card.hover-reveal:not(:first-child):hover .highlight-info-overlay {
    transform: translateY(0);
}

.highlight-info-overlay h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.highlight-info-overlay h5 {
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.highlight-info-overlay p {
    font-size: 14px;
    color: #555;
    line-height: 1.65;
}

.highlight-info-overlay .info-link {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    display: inline-block;
}

.highlight-info-overlay .info-link:hover {
    color: var(--accent-gold);
}

/* ============================
   SECCIÓN: CONECTAR
   ============================ */
.section-connect {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
}

.connect-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.connect-badge {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1.5px solid var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.connect-badge svg {
    position: absolute;
    animation: rotateBadge 15s linear infinite;
}

.connect-badge .badge-center {
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    z-index: 2;
}

@keyframes rotateBadge {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.connect-text h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.connect-text p {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 30px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 2px solid var(--text-dark);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--text-white);
    transform: scale(1.03);
}

/* ============================
   SECCIÓN: TESTIMONIOS
   ============================ */
.section-testimonials {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 80px 40px 140px;
    overflow: hidden;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto 80px;
}

.testimonials-header h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.testimonials-header p {
    max-width: 400px;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    text-align: right;
}

.testimonials-marquee-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--text-dark);
    color: var(--text-white);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
    transition: var(--transition);
    width: fit-content;
}

.testimonials-marquee-btn:hover {
    opacity: 0.8;
    transform: translateX(4px);
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1000px;
    flex-wrap: wrap;
}

.testimonial-card {
    width: 280px;
    background: rgba(200, 200, 195, 0.3);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: var(--transition);
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:nth-child(1) {
    transform: rotate(-3deg);
}

.testimonial-card:nth-child(2) {
    transform: rotate(1.5deg) translateY(20px);
}

.testimonial-card:nth-child(3) {
    transform: rotate(-1deg);
}

.testimonial-card:nth-child(4) {
    transform: rotate(2.5deg) translateY(15px);
}

.testimonial-card:nth-child(5) {
    transform: rotate(-2deg) translateY(10px);
}

.testimonial-card:hover {
    transform: rotate(0deg) translateY(-5px) !important;
    box-shadow: var(--shadow-light);
    background: rgba(220, 220, 215, 0.5);
}

.testimonial-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
    background: var(--bg-darker);
    color: var(--text-white);
    padding: 0;
}

.footer-top {
    padding: 80px 40px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
}

.footer-donate {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1.5px solid var(--text-white);
    padding-bottom: 4px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-donate:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.footer-columns {
    padding: 60px 40px 80px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-white);
    padding: 5px 0;
    font-weight: 400;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-btn {
    display: inline-flex;
    padding: 10px 24px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-white);
    transition: var(--transition);
    margin-top: 4px;
}

.footer-btn:hover {
    background: var(--text-white);
    color: var(--bg-dark);
}

.footer-bottom {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
    margin-left: 24px;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--text-white);
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1200px) {
    .highlights-grid {
        grid-template-columns: 1fr 1fr;
    }

    .highlight-card:first-child {
        grid-column: span 2;
    }

    .highlight-card:first-child .highlight-info-overlay {
        width: 45%;
    }
}

@media (max-width: 968px) {

    /* HAMBURGER VISIBLE */
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.5s cubic-bezier(.4, 0, .2, 1), opacity 0.4s ease;
        pointer-events: none;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-item>a {
        font-size: 18px;
        padding: 12px 0;
    }

    .dropdown {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-sm);
        min-width: 200px;
        padding: 10px 16px;
        margin-top: 4px;
        box-shadow: none;
        display: none;
    }

    .nav-item:hover .dropdown,
    .nav-item.open .dropdown {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown a {
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .dropdown a:hover {
        color: var(--accent-gold);
    }

    .header-container {
        padding: 14px 24px;
    }

    .logo-left {
        left: 24px;
    }

    .header-container.scrolled {
        padding: 10px 24px;
    }

    /* HERO */
    .marquee-content h1 {
        font-size: 28px;
    }

    .marquee-content img {
        height: 35px;
    }

    .hero-blocks {
        flex-direction: column;
        padding: 0 20px;
        bottom: 16px;
        gap: 10px;
    }

    .glass-card {
        max-width: none;
        padding: 18px 16px;
    }

    .glass-card h3 {
        font-size: 15px;
    }

    .glass-card p {
        font-size: 12px;
    }

    /* HIGHLIGHTS */
    .section-highlights,
    .section-connect,
    .section-testimonials {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .highlight-card:first-child {
        grid-column: span 1;
    }

    .highlight-card {
        min-height: 280px;
    }

    .highlight-info-overlay,
    .highlights-grid .highlight-card:not(:first-child) .highlight-info-overlay {
        width: 100%;
        height: auto;
        top: auto;
        bottom: 0;
        transform: translateY(100%);
        padding: 24px 20px;
    }

    .highlight-card.hover-reveal:hover .highlight-info-overlay,
    .highlight-card.hover-reveal:not(:first-child):hover .highlight-info-overlay {
        transform: translateY(0);
    }

    /* CONNECT */
    .connect-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .connect-text h2 {
        font-size: 32px;
    }

    .connect-text p {
        margin-left: auto;
        margin-right: auto;
    }

    /* TESTIMONIALS */
    .testimonials-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 50px;
    }

    .testimonials-header p {
        text-align: left;
    }

    .testimonials-header h2 {
        font-size: 32px;
    }

    .testimonials-grid {
        gap: 16px;
    }

    .testimonial-card {
        width: 100%;
        max-width: 340px;
    }

    /* FOOTER */
    .footer-top {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding: 40px 24px 30px;
    }

    .footer-logo {
        font-size: 28px;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        padding: 40px 24px;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        padding: 16px 24px;
        text-align: center;
    }

    .footer-bottom a {
        margin-left: 12px;
    }
}

@media (max-width: 600px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        transform: none !important;
    }

    .marquee-content h1 {
        font-size: 22px;
    }

    .hero {
        min-height: 600px;
    }
}

/* ============================
   PÁGINA: NUESTROS PASTORES
   ============================ */
.pastores-page {
    background: #f0f0f0;
    color: #070707;
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
}

/* HERO PASTORES */
.pastores-hero {
    text-align: center;
    padding: 60px 20px 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.pastores-hero .hero-title {
    font-size: clamp(60px, 8vw, 100px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 30px;
    color: #070707;
}

.pastores-hero .hero-text {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* SECCIÓN PASTOR */
.pastor-section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.pastor-content {
    display: flex;
    gap: 80px;
    align-items: center;
}

.pastor-section.align-right .pastor-content {
    flex-direction: row-reverse;
}

.pastor-info {
    flex: 1;
    max-width: 600px;
}

.pastor-image {
    flex: 1;
    width: 100%;
}

.pastor-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pastor-name {
    font-size: clamp(50px, 6vw, 90px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 5px;
    text-decoration: underline;
    text-decoration-thickness: 5px;
    text-underline-offset: 10px;
    color: #070707;
}

.pastor-role {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 30px;
    margin-top: 15px;
    font-weight: 600;
}

.pastor-bio p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.pastor-bio h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: #070707;
}

.pastor-bio ul {
    list-style: none;
    padding: 0;
}

.pastor-bio ul li {
    position: relative;
    padding-left: 24px;
    font-size: 16px;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.6;
}

.pastor-bio ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 18px;
}

/* MARQUEE SEPARATOR */
.bio-marquee {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    background: transparent;
}

.bio-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.bio-marquee-track span {
    font-size: 40px;
    font-weight: 400;
    white-space: nowrap;
    text-transform: lowercase;
    letter-spacing: 2px;
    color: #111;
    opacity: 0.15;
    padding-right: 20px;
}

/* CLOSING QUOTE */
.pastores-quote {
    padding: 100px 20px 140px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.pastores-quote blockquote {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    color: #333;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .pastor-content, .pastor-section.align-right .pastor-content {
        flex-direction: column;
        gap: 40px;
    }

    .pastor-image {
        order: -1; /* Image always on top in mobile */
    }

    .pastor-image img {
        border-radius: 30px;
    }

    .pastor-section {
        padding: 40px 20px;
    }
}

/* ============================
   ZOOM HERO
   ============================ */
.zoom-section {
    height: 200vh;
    position: relative;
    background: #f0f0f0;
}

.zoom-sticky-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-image-inner {
    width: 60vw;
    height: 60vh;
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
    transition: width 0.1s linear, height 0.1s linear, border-radius 0.1s linear;
}

/* SLIDERS */
.pastor-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pastor-slider::-webkit-scrollbar {
    display: none;
}
.pastor-slider .slider-img {
    flex: 0 0 100%;
    scroll-snap-align: center;
    object-fit: cover;
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* SOCIAL BLOCK MAGNIFIC DESIGN */
.pastor-social {
    background: #111;
    color: #fff;
    padding: 100px 40px;
}

.social-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
}

.social-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    font-size: 40px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 12px;
    padding-top: 12px;
    width: 100%;
    max-width: 400px;
    transition: color 0.3s, border-color 0.3s;
}
.social-link:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.social-title-bottom {
    font-size: 16px;
    color: #888;
    margin-top: 60px;
}

.social-right {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.s-card {
    background: #000;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
    cursor: pointer;
    overflow: hidden;
}
.s-card:hover {
    transform: translateY(-5px);
}
.s-card.full-width {
    grid-column: span 2;
}
.s-label {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    padding: 24px 24px 16px;
}
.s-img {
    width: 100%;
    padding: 0 24px 24px;
}
.s-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

@media (max-width: 968px) {
    .social-container {
        flex-direction: column;
    }
    .social-right {
        grid-template-columns: 1fr;
    }
    .s-card.full-width {
        grid-column: span 1;
    }
    .social-link {
        font-size: 28px;
    }
}

/* ============================
   UBICACIONES & CAMPUS ONLINE
   ============================ */

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.schedule-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}
.schedule-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}
.s-day {
    font-size: 24px;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 10px;
}
.s-time {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}
.s-event {
    font-size: 16px;
    color: #ccc;
}

.map-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.05);
}
.map-iframe-container {
    width: 100%;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.map-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.logo-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(0,0,0,0.5);
    border: 1px dashed rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #888;
    margin: 0 auto 20px auto;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 40px;
}
.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.social-huge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.social-huge-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
}
.social-huge-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}
.social-huge-icon {
    font-size: 60px;
    margin-bottom: 20px;
}
.social-huge-name {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

.cine-text-epic h4 {
    font-size: 28px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}
.cine-text-epic p.address-text {
    font-size: 22px;
    font-weight: 300;
    line-height: 1.5;
}


/* ============================
   EVANGELISMO (MINIMALIST UNBOXED)
   ============================ */

.evo-page {
    background-color: var(--bg-dark); /* Keeps the dark cinematic theme */
    color: #fff;
    overflow-x: hidden;
}

.evo-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 5%;
}

/* Fluid Text without boxes */
.evo-text-fluid {
    font-size: 26px;
    font-weight: 300;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

/* Epic Quotes spreading wide */
.evo-quote-epic {
    font-size: 40px;
    font-weight: 200;
    line-height: 1.4;
    color: var(--accent-gold);
    text-align: center;
    margin: 100px auto;
    max-width: 1200px;
    font-style: italic;
    background: transparent;
    border: none;
    padding: 0 5%;
}

.evo-quote-ref {
    display: block;
    font-size: 18px;
    color: #aaa;
    margin-top: 20px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 2px;
}

/* Organic Images - Assymetric layout */
.evo-img-organic {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 4px; /* Slight rounding instead of aggressive boxes */
    margin: 80px 0;
    filter: brightness(0.8) contrast(1.1);
    transition: all 1s ease;
}

.evo-img-organic:hover {
    filter: brightness(1) contrast(1);
    transform: scale(1.02);
}

.evo-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin: 100px 0;
}

.evo-split-layout.reverse {
    direction: rtl;
}
.evo-split-layout.reverse > * {
    direction: ltr; /* Reset direction for text inside */
}

@media (max-width: 900px) {
    .evo-text-fluid {
        font-size: 20px;
    }
    .evo-quote-epic {
        font-size: 28px;
        margin: 60px auto;
    }
    .evo-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .evo-split-layout.reverse {
        direction: ltr;
    }
}

.evo-finale {
    text-align: center;
    padding: 150px 5%;
    background: linear-gradient(to top, #000 0%, var(--bg-dark) 100%);
}

.evo-finale-text {
    font-size: 5vw;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    background: -webkit-linear-gradient(45deg, #fff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.evo-finale-sub {
    font-size: 30px;
    color: #ccc;
    font-weight: 300;
}


/* ============================
   FORMS MINIMALISTAS (ORACIÓN)
   ============================ */

.cine-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(15px);
}

.cine-form-group {
    margin-bottom: 30px;
    position: relative;
}

.cine-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    padding: 15px 0;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
}

.cine-input:focus {
    outline: none;
    border-bottom-color: var(--accent-gold);
}

.cine-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* For Textarea specifically */
textarea.cine-input {
    resize: vertical;
    min-height: 100px;
}

.cine-btn-submit {
    display: inline-block;
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    padding: 15px 50px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    width: 100%;
}

.cine-btn-submit:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .cine-form-container {
        padding: 40px 20px;
    }
}


/* ============================
   CINEMATIC PAGES STYLES
   (Nosotros / En Esto Creemos)
   ============================ */

.cine-page {
    background-color: #0b0b0b; /* Deep dark base */
    color: #fff;
    overflow-x: hidden;
}

/* Themes */
.cine-dark {
    background-color: #0b0b0b;
    color: #fff;
}
.cine-light {
    background-color: #f7f7f7;
    color: #111;
}

/* General Geometry */
.cine-section {
    position: relative;
    padding: 120px 20px;
    overflow: hidden;
}
.cine-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero Cinematic */
.cine-hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 0 20px;
}
.cine-hero-bg {
    position: absolute;
    top: -10%; left: -10%;
    width: 120%; height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    will-change: transform;
}
.cine-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, #0b0b0b 100%);
    z-index: 1;
}
.cine-hero-overlay.dark {
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
}
.cine-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.cine-hero-subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ccc;
    margin-bottom: 20px;
    font-weight: 400;
}
.cine-hero-title {
    font-size: calc(60px + 3vw);
    line-height: 1;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -2px;
}
.text-gold {
    color: var(--accent-gold, #c19b6e);
}

/* Text Elements */
.cine-lead {
    font-size: 32px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 40px;
}
.cine-text-epic p {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
}
.cine-light .cine-text-epic p {
    color: rgba(17,17,17,0.8);
}
.cine-section-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.cine-section-title.thin {
    font-weight: 300;
}
.cine-section-desc {
    font-size: 20px;
    color: var(--accent-gold);
    max-width: 600px;
    margin: 0 auto 60px;
}
.cine-header-center {
    text-align: center;
    margin-bottom: 60px;
}

/* Layouts */
.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.layout-split.reverse {
    direction: rtl; /* simple reverse hack for 2 cols */
}
.layout-split.reverse > * {
    direction: ltr; /* reset */
}

.cine-text-block p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: inherit;
    opacity: 0.9;
}
.cine-quote {
    font-size: 24px !important;
    font-style: italic;
    font-weight: 600;
    border-left: 4px solid var(--accent-gold);
    padding-left: 20px;
    margin-top: 40px;
}

.cine-img-block img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

/* Mission List */
.cine-mission-list {
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.cine-mission-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--accent-gold);
}
.cine-mission-list ul {
    list-style: none;
    padding: 0;
}
.cine-mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    font-size: 22px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cine-mission-list li .m-icon {
    font-size: 24px;
    color: var(--accent-gold);
}
.cine-mission-footer {
    font-size: 18px;
    font-style: italic;
    color: rgba(255,255,255,0.6);
    margin-top: 40px;
}

/* Glassmorphism Section */
.cine-glassmorphism {
    background: #000;
    position: relative;
    overflow: hidden;
}
.cine-glass-cards {
    position: relative;
    height: 100%;
    min-height: 500px;
    display: flex;
    gap: 30px;
}
.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}
.orb-1 {
    width: 300px; height: 300px;
    background: rgba(189, 149, 99, 0.4);
    top: -50px; right: -50px;
}
.orb-2 {
    width: 400px; height: 400px;
    background: rgba(40, 40, 40, 0.8);
    bottom: -100px; left: -100px;
}
.cine-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 20px;
    flex: 1;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cine-card.mt-40 {
    margin-top: 40px;
}
.cine-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}
.cine-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
}
.card-overlay {
    position: absolute;
    bottom: 20px; left: 20px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
}

/* Values Grid */
.cine-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.cine-value-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}
.cine-value-card.dark-mode {
    background: #111;
    border-color: rgba(255,255,255,0.05);
    color: #fff;
}
.cine-value-card:hover {
    transform: translateY(-5px);
}
.v-num {
    font-size: 14px;
    font-weight: 700;
    color: #ccc;
    display: block;
    margin-bottom: 20px;
}
.cine-value-card h4 {
    font-size: 24px;
    margin: 0;
}
.v-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 20px;
}
.v-desc {
    margin-top: 15px;
    font-size: 16px;
    color: #aaa;
    line-height: 1.6;
}

/* Parallax Container Tooling */
.cine-parallax-container {
    position: relative;
    overflow: hidden;
}
.cine-parallax-container .cine-parallax-bg {
    position: absolute;
    top: -20%; left: 0;
    width: 100%; height: 140%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Native simple parallax fallback */
    z-index: 0;
}
.cine-parallax-container.scale-110 {
    transform: scale(1.1); /* Prevent edge bleeding on custom JS parallax */
}

/* Animations Classes */
.cine-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cine-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.cine-anim-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cine-anim-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.delay-1 { transition-delay: 200ms; }
.delay-2 { transition-delay: 400ms; }

.padding-bottom-large {
    padding-bottom: 180px;
}

@media (max-width: 968px) {
    .layout-split, .layout-split.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cine-hero-title {
        font-size: 12vw;
    }
    .cine-section {
        padding: 80px 20px;
    }
    .cine-glass-cards {
        flex-direction: column;
    }
    .cine-card.mt-40 {
        margin-top: 0;
    }
}