/* Homepage only. The shared navigation follows the existing JCC site. */
.jcc-prayer-dialog { position: fixed; inset: 0; width: min(640px,calc(100% - 32px)); max-height: calc(100svh - 32px); margin: auto; padding: 40px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #383838; border-radius: 20px; background: #111; color: #fff; box-shadow: 0 24px 90px #0009; }
.jcc-prayer-dialog::backdrop { background: #000c; backdrop-filter: blur(6px); }
.jcc-prayer-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #444; border-radius: 50%; background: #222; color: #fff; cursor: pointer; }
.jcc-prayer-eyebrow { margin: 0 40px 12px 0; color: #ed1c24; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.jcc-prayer-dialog h2 { margin: 0; font-size: clamp(28px,5vw,40px); font-weight: 900; letter-spacing: -.04em; line-height: 1.1; }
#prayerFormDescription { margin: 16px 0 24px; color: #bbb; font-size: 15px; line-height: 1.6; }
.jcc-prayer-required { margin: 0 0 18px; color: #aaa; font-size: 12px; }
.jcc-prayer-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.jcc-prayer-wide { grid-column: 1 / -1; }
.jcc-prayer-fields label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.jcc-prayer-fields input, .jcc-prayer-fields select, .jcc-prayer-fields textarea { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #444; border-radius: 8px; background: #1b1b1b; color: #fff; font: inherit; font-size: 15px; color-scheme: dark; }
.jcc-prayer-fields textarea { resize: vertical; min-height: 112px; }
.jcc-prayer-fields select { appearance: none; padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.jcc-prayer-fields select option { background: #1b1b1b; color: #fff; }
.jcc-prayer-phone { display: flex; align-items: center; border: 1px solid #444; border-radius: 8px; background: #1b1b1b; }
.jcc-prayer-phone > span { padding-left: 14px; color: #fff; font-size: 15px; }
.jcc-prayer-phone input { min-width: 0; border: 0; background: transparent; }
.jcc-prayer-fields input::placeholder, .jcc-prayer-fields textarea::placeholder { color: #999; }
.jcc-prayer-fields :is(input,select,textarea):focus-visible { outline: 2px solid #ed1c24; outline-offset: 2px; }
.jcc-prayer-note { margin: 20px 0 0; color: #bbb; font-size: 12px; line-height: 1.6; }
.jcc-prayer-error { margin: 16px 0 0; color: #ff9c9f; font-size: 14px; line-height: 1.6; }
.jcc-prayer-submit { width: 100%; margin-top: 20px; border: 0; }
.jcc-prayer-confirmation { text-align: center; }
.jcc-prayer-confirmation .jcc-prayer-eyebrow { margin-right: 0; }
.jcc-prayer-check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: #ed1c24; color: #fff; font-size: 32px; }
#prayerSuccessDescription { margin: 20px 0; color: #bbb; font-size: 15px; line-height: 1.6; }
.jcc-prayer-submit:disabled { opacity: .55; cursor: not-allowed; }
.jcc-prayer-submit:disabled:hover { background: var(--jcc-red); color: #fff; transform: none; }
@media(max-width: 540px) { .jcc-prayer-dialog { padding: 40px 22px 24px; } .jcc-prayer-fields { grid-template-columns: minmax(0,1fr); gap: 16px; } }
.jcc-home { --jcc-red: #ed1c24; background: #000; }
.jcc-home [hidden] { display: none !important; }
.jcc-stage { position: relative; }
.jcc-panel { position: relative; min-height: 100svh; perspective: 1800px; }
.jcc-panel__surface { position: relative; display: grid; place-items: center; min-height: 100svh; overflow: hidden; background: #181818; transform-origin: center bottom; backface-visibility: hidden; }
.jcc-panel__image, .jcc-panel__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.jcc-panel__image { object-fit: cover; object-position: center; }
.jcc-panel__image--pastors { object-position: center 30%; }
.jcc-panel__shade { background: radial-gradient(ellipse at center,rgba(0,0,0,.72) 0%,rgba(0,0,0,.5) 55%,rgba(0,0,0,.32) 100%),linear-gradient(180deg,rgba(0,0,0,.4),transparent 35%,rgba(0,0,0,.65)); }
.jcc-panel__content { position: relative; z-index: 1; width: min(100%,1100px); padding: 130px 64px 85px; text-align: center; }
.jcc-panel h1, .jcc-panel h2 { margin: 0; font-size: clamp(3.4rem,6.7vw,7.2rem); font-weight: 900; line-height: .95; letter-spacing: -.065em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 3px 24px rgba(0,0,0,.45); }
.jcc-panel h1 span, .jcc-panel h2 span { color: inherit; }
.jcc-panel__subtitle { margin: 24px auto 0; color: #fff; font-size: 16px; font-weight: 500; letter-spacing: .1em; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.jcc-button { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-width: 224px; margin-top: 36px; padding: 17px 30px; border-radius: 999px; background: var(--jcc-red); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .05em; transition: background .25s,color .25s,transform .25s; }
.jcc-button:hover { background: #fff; color: #181818; transform: translateY(-3px); }
.jcc-socials { display: flex; justify-content: center; gap: 14px; margin: 32px auto 0; }
.jcc-socials a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.6); font-size: 23px; transition: background .25s,transform .25s; }
.jcc-socials a:hover { background: var(--jcc-red); transform: translateY(-3px); }
.jcc-home-footer { position: absolute; bottom: 24px; left: 24px; right: 24px; text-align: center; font-size: 11px; color: rgba(255,255,255,.45); }
.jcc-section-nav { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 12px; }
.jcc-section-nav a { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-height: 32px; color: rgba(255,255,255,.4); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.jcc-section-nav a::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; transition: height .3s,background .3s; }
.jcc-section-nav a[aria-current] { color: #fff; }
.jcc-section-nav a[aria-current]::after { height: 26px; border-radius: 3px; background: var(--jcc-red); }
.jcc-scroll-cue { position: fixed; left: 0; bottom: 30px; right: 0; z-index: 35; display: flex; justify-content: center; pointer-events: none; }
.jcc-scroll-cue a { display: inline-flex; align-items: center; gap: 12px; pointer-events: auto; color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.jcc-scroll-cue__line { width: 24px; height: 1px; background: var(--jcc-red); }
.jcc-home a:focus-visible, .jcc-home button:focus-visible { outline: 2px solid var(--jcc-red); outline-offset: 6px; }
.jcc-home nav[aria-label="Navegación principal"] a[aria-current="location"] { color: #fff; }
.jcc-home nav[aria-label="Navegación principal"] a[aria-current="location"] > span { width: 100%; }
.jcc-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Native stacked sections remain available without JavaScript. */
.jcc-home--enhanced { overflow: hidden; }
.jcc-home--enhanced .jcc-stage { height: 100svh; }
.jcc-home--enhanced .jcc-panel { position: absolute; inset: 0; min-height: 0; visibility: hidden; pointer-events: none; }
.jcc-home--enhanced .jcc-panel.is-active, .jcc-home--enhanced .jcc-panel.is-transitioning { visibility: visible; }
.jcc-home--enhanced .jcc-panel.is-active { pointer-events: auto; }
.jcc-home--enhanced .jcc-panel:not(:first-of-type) { perspective-origin: center top; }
.jcc-home--enhanced .jcc-panel__surface { height: 100%; min-height: 0; }
.jcc-home--enhanced .jcc-panel__content { max-height: 100%; overflow-y: auto; scrollbar-width: thin; }
@media (max-width: 1199px) {
    .jcc-home nav[aria-label="Navegación principal"] .md\:flex { display: none; }
    .jcc-home #mobileMenuButton { display: flex; }
    .jcc-home #mobileMenu { display: block; overflow-y: auto; }
    .jcc-home #mobileMenu.hidden { display: none; }
    .jcc-home #mobileMenu > .mt-16 { margin-top: 42px; gap: 28px; }
    .jcc-home #mobileMenu > .mt-16 a { font-size: clamp(1.6rem,5vw,2.5rem); }
    .jcc-home #mobileMenu > .absolute { position: static; margin-top: 40px; }
}
@media (max-width: 767px) {
    .jcc-panel__content { padding: 140px 28px 110px; }
    .jcc-panel h1, .jcc-panel h2 { font-size: clamp(2rem,10vw,5.5rem); }
    .jcc-panel__subtitle { font-size: 14px; letter-spacing: .03em; margin-top: 20px; }
    .jcc-section-nav { right: 12px; gap: 6px; }
    .jcc-section-nav span { display: none; }
    .jcc-scroll-cue { bottom: 23px; }
    .jcc-home nav[aria-label="Navegación principal"] { padding: 14px 12px; }
    .jcc-home nav[aria-label="Navegación principal"] > div { padding: 12px 16px; }
    .jcc-home nav[aria-label="Navegación principal"] img { height: 36px; }
    .jcc-home nav[aria-label="Navegación principal"] .gap-3 { gap: 8px; }
}
@media (max-height: 600px) {
    .jcc-panel__content { padding-top: 120px; padding-bottom: 70px; }
    .jcc-panel h1, .jcc-panel h2 { font-size: clamp(2rem,min(8vh,10vw),4rem); }
    .jcc-panel__subtitle { margin-top: 16px; }
    .jcc-button, .jcc-socials { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .jcc-home *, .jcc-home *::before, .jcc-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.jcc-home .jcc-panel h1[tabindex="-1"]:focus, .jcc-home .jcc-panel h2[tabindex="-1"]:focus { outline: none; }

/* Slim full-width donation announcement, visible across all four screens. */
.jcc-donation-strip { position: fixed; inset: 0 0 auto; min-height: 36px; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 7px 16px; background: #ed1c24; color: #fff; }
.jcc-donation-strip p { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 12px; line-height: 22px; }
.jcc-donation-strip__label { font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.jcc-donation-strip__message { font-weight: 500; }
.jcc-home nav[aria-label="Navegación principal"] { top: 36px; }
@media (max-width: 767px) {
    .jcc-donation-strip p { font-size: 10px; gap: 4px 10px; }
    .jcc-donation-strip__label { letter-spacing: .06em; }
    .jcc-home .jcc-panel__content { padding-top: 176px; }
}

.jcc-donation-strip__link { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.jcc-donation-strip__link:hover { opacity: .8; }
.jcc-home .jcc-donation-strip a:focus-visible { outline-color: #fff; outline-offset: 3px; }
.jcc-home nav[aria-label="Navegación principal"] .md\:flex { gap: clamp(12px,1.8vw,28px); }

@media (max-width: 1199px) { .jcc-home #mobileMenu { padding-top: 60px; } }
/* Welcome photograph carries the message; the CTA sits above the scroll cue. */
#inicio .jcc-panel__content { position: absolute; inset: auto 0 70px; width: 100%; padding: 0 24px; overflow: visible; }
#inicio .jcc-button { margin-top: 0; }
#inicio .jcc-panel__shade { background: radial-gradient(ellipse 24% 42% at 48% 61%,rgba(0,0,0,.04) 0%,rgba(0,0,0,.08) 38%,rgba(0,0,0,.48) 76%,rgba(0,0,0,.68) 100%),linear-gradient(180deg,rgba(0,0,0,.25),transparent 35%,transparent 65%,rgba(0,0,0,.5)); }
#inicio #welcomeTitle { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media(max-width:767px) { #inicio .jcc-panel__shade { background: radial-gradient(ellipse 44% 32% at 54% 58%,rgba(0,0,0,.04) 0%,rgba(0,0,0,.08) 38%,rgba(0,0,0,.48) 76%,rgba(0,0,0,.68) 100%),linear-gradient(180deg,rgba(0,0,0,.25),transparent 35%,transparent 65%,rgba(0,0,0,.5)); } }
