:root {
    --color-ink: #171717;
    --color-muted: #5f6368;
    --color-line: #e8e5df;
    --color-soft: #f7f4ee;
    --color-surface: #ffffff;
    --color-brand: #e85d04;
    --color-brand-dark: #b84603;
    --color-green: #2f6f62;
    --color-deep: #24312f;
    --font-main: 'Roboto', Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--color-ink);
    font-family: var(--font-main);
    background: var(--color-surface);
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
p {
    letter-spacing: 0;
}

h1,
h2,
h3 {
    font-weight: 800;
}

p {
    color: var(--color-muted);
    line-height: 1.7;
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--color-brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.botonPrimario,
.botonSecundario,
.botonReunion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 28px;
    border: 0;
    border-radius: 6px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
}

.botonPrimario {
    background: var(--color-surface);
    color: var(--color-ink);
}

.botonPrimarioDark,
.botonReunion {
    background: var(--color-ink);
    color: #fff;
}

.botonSecundario {
    background: var(--color-brand);
    color: #fff;
}

.botonSecundario:hover,
.botonPrimario:hover,
.botonReunion:hover {
    opacity: 0.9;
}

.text-link {
    display: inline-flex;
    margin-top: 16px;
    color: var(--color-brand-dark);
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.navbar {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

#logoHeader {
    width: auto;
    height: 58px;
}

.navbar a {
    color: var(--color-ink);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.navbar-nav {
    align-items: center;
    gap: 4px;
}

.navbar-nav a {
    padding: 10px;
}

.language-switch {
    margin-left: 8px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #fff;
    color: var(--color-brand-dark) !important;
}

.navbar-nav i {
    font-size: 1.1rem;
}

.c-item {
    height: 650px;
}

.c-img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.52);
}

.home-hero {
    position: relative;
}

.tituloCarousel {
    right: 8%;
    left: 8%;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
}

.tituloCarousel h1 {
    max-width: 980px;
    font-size: clamp(2.6rem, 7vw, 5.6rem);
    line-height: 0.98;
}

.hero-copy {
    max-width: 740px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.18rem;
}

.page-section,
.content-hero {
    padding: 86px 0;
}

.content-hero {
    background: var(--color-soft);
}

.content-hero h1 {
    max-width: 900px;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1;
}

.content-hero p {
    max-width: 780px;
    font-size: 1.08rem;
}

.intro-section h2,
.section-heading h2,
.impact-band h2,
.pastor-section h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading.text-center {
    margin-right: auto;
    margin-left: auto;
}

.section-muted {
    background: var(--color-soft);
}

.impact-band {
    background: var(--color-deep);
    color: #fff;
}

.impact-band p {
    color: rgba(255, 255, 255, 0.78);
}

.media-placeholder,
.video-placeholder {
    display: flex;
    min-height: 240px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px;
    border: 2px dashed #cfc8bb;
    border-radius: 8px;
    background: #fffaf2;
    color: var(--color-muted);
    text-align: center;
}

.media-placeholder i,
.video-placeholder i {
    margin-bottom: 12px;
    color: var(--color-brand);
    font-size: 2.4rem;
}

.media-placeholder span,
.video-placeholder span {
    color: var(--color-ink);
    font-weight: 800;
}

.media-placeholder small,
.video-placeholder small {
    display: block;
    max-width: 420px;
    margin-top: 8px;
    color: var(--color-muted);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.media-placeholder-large {
    min-height: 360px;
}

.media-placeholder.compact,
.video-placeholder.compact {
    min-height: 170px;
    padding: 18px;
}

.placeholder-stack {
    display: grid;
    gap: 14px;
}

.mini-placeholder,
.pending-box {
    padding: 18px;
    border: 1px dashed #d9d1c4;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

.pending-box {
    margin-top: 18px;
    background: #fff8ec;
    color: var(--color-brand-dark);
}

.ministry-card,
.feature-card,
.schedule-card,
.info-panel,
.evidence-card,
.gallery-slot {
    padding: 24px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-surface);
}

.ministry-card h2,
.feature-card h2,
.gallery-slot h2 {
    font-size: 1.45rem;
}

.ministry-card h3,
.feature-card h3,
.schedule-card h3 {
    font-size: 1.35rem;
}

.ministry-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ministry-icon,
.feature-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(232, 93, 4, 0.1);
    color: var(--color-brand);
    font-size: 1.45rem;
}

.leader-strip {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: center;
    margin: 18px 0;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-soft);
}

.leader-strip strong,
.leader-strip span {
    display: block;
}

.leader-strip span {
    color: var(--color-muted);
    font-size: 0.92rem;
}

.leader-photo-placeholder,
.leader-profile-photo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px dashed #cfc8bb;
    border-radius: 50%;
    background: #fffaf2;
    color: var(--color-brand);
}

.leader-photo-placeholder {
    width: 48px;
    height: 48px;
}

.leader-profile-placeholder {
    padding: 30px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.leader-profile-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 18px;
    font-size: 4rem;
}

.leader-profile-placeholder small {
    display: block;
    color: var(--color-muted);
}

.accountability-preview {
    background: #fff;
}

.evidence-card h3 {
    font-size: 1.15rem;
}

.evidence-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--color-muted);
    line-height: 1.5;
}

.check-list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    color: var(--color-green);
    font-family: "bootstrap-icons";
    content: "\F26A";
}

.schedule-section {
    background: var(--color-brand);
    color: #fff;
}

.schedule-section p,
.schedule-section .eyebrow {
    color: rgba(255, 255, 255, 0.86);
}

.schedule-card {
    background: rgba(255, 255, 255, 0.96);
}

.schedule-time {
    color: var(--color-brand-dark);
    font-size: 1.1rem;
    font-weight: 800;
}

.pastor-picture {
    overflow: hidden;
    border-radius: 50%;
    aspect-ratio: 1;
}

.pastor-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ministry-link-card {
    display: flex;
    min-height: 74px;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #fff;
    color: var(--color-ink);
    font-weight: 800;
    text-decoration: none;
}

.ministry-link-card i {
    color: var(--color-brand);
    font-size: 1.35rem;
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #fff;
}

.timeline-year {
    color: var(--color-brand);
    font-size: 1.35rem;
    font-weight: 900;
}

.bio-hero {
    display: flex;
    min-height: 520px;
    align-items: end;
    padding: 80px 0;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.22)), url('/images/bioheader.jpg');
    background-position: center;
    background-size: cover;
    color: #fff;
}

.bio-hero h1 {
    max-width: 900px;
    font-size: clamp(2.4rem, 6vw, 5rem);
}

.bio-carousel img {
    width: 100%;
    height: 240px;
    border-radius: 8px;
    object-fit: cover;
}

footer {
    background: #171717;
}

.columnasFooter {
    background: #171717;
}

.logoFooter {
    width: auto;
    height: 80px;
}

footer i {
    color: #fff;
    font-size: 1.2rem;
}

.encabezadosFooter {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.textoFooter,
.enlacesFooter {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 300;
}

.enlacesFooter {
    text-decoration: none;
}

.enlacesFooter:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .navbar-nav {
        align-items: flex-start;
        padding-top: 18px;
    }

    .c-item {
        height: 560px;
    }

    .page-section,
    .content-hero {
        padding: 64px 0;
    }
}

@media (max-width: 576px) {
    #logoHeader {
        height: 46px;
    }

    .navbar {
        padding: 14px !important;
    }

    .tituloCarousel {
        right: 5%;
        left: 5%;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .media-placeholder,
    .video-placeholder,
    .media-placeholder-large {
        min-height: 220px;
    }
}
