.church-page {
    --church-primary: #253e5b;
    --home-gold: #b99a61;
    --home-serif: Georgia, "Times New Roman", serif;
    --church-primary-soft: #f0ede5;
    --church-dark: #142b45;
    --church-text: #354457;
    --church-muted: #657181;
    --church-border: #dedfdc;
    --church-shadow: 0 8px 28px #142b4508;
    --church-shadow-hover: 0 14px 32px #142b4510;
    background: #f7f6f2;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.church-page .container { max-width: 1160px; }
.church-page .hero-section {
    background: linear-gradient(110deg, #0d2035, #1d3652);
    color: #fff;
    padding: 24px 12px 88px;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 3px solid #b99a61;
}
.church-page .hero-section::before { display: block; position: absolute; width: 480px; height: 480px; top: 170px; right: -170px; background: transparent; border: 1px solid #d7bc832b; border-radius: 0; transform: rotate(35deg); }
.church-page .hero-section::after { display: block; position: absolute; width: 480px; height: 480px; top: 210px; right: -110px; left: auto; bottom: auto; background: transparent; border: 1px solid #d7bc8315; border-radius: 0; transform: rotate(35deg); }
.church-page .hero-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 68px; padding-bottom: 24px; border-bottom: 1px solid #ffffff26; }
.home-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; text-decoration: none; letter-spacing: .5px; }
.home-brand:hover { color: #d7bc83; }
.home-brand small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .2px; margin-top: 2px; }
.church-page .hero-logo { width: 48px; height: 48px; padding: 6px; background: white; border: 1px solid var(--church-border); border-radius: 3px; box-shadow: none; }
.home-nav { display: flex; align-items: center; gap: 28px; }
.home-nav a { color: #e1e5eb; text-decoration: none; font-size: 14px; }
.home-nav a:hover, .home-secondary:hover { color: #d7bc83; text-decoration: underline; }
.church-page .btn-login { background: #ffffff0c; color: #fff; border: 1px solid #ffffff40; box-shadow: none; min-width: 100px; border-radius: 3px; }
.church-page .hero-content { position: relative; margin: 0; max-width: 820px; }
.hero-reach { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid #ffffff20; width: fit-content; color: #c3ccd7; font-size: 13px; }
.hero-reach strong { color: #d7bc83; font-family: Georgia, serif; font-size: 30px; font-weight: 400; letter-spacing: -.7px; }
.home-eyebrow { font-size: 11px; letter-spacing: 1.8px; font-weight: 700; display: block; margin-bottom: 24px; color: #d7bc83; }
.church-page .hero-section h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 400; line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 24px; }
.church-page h1 em { font-family: Georgia, serif; font-weight: 400; color: #d7bc83; }
.church-page .hero-section p { color: #c3ccd7; font-size: 18px; line-height: 1.85; max-width: 540px; margin: 0; }
.church-page .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.church-page .hero-actions .btn { min-width: 0; }
.home-primary { background: #d7bc83; color: #142b45; padding: 16px 24px; border-radius: 3px; font-size: 14px; font-weight: 600; }
.home-primary:hover { background: #e4cfa6; color: #142b45; transform: none; box-shadow: none; }
.home-primary span { margin-left: 18px; }
.home-secondary { color: #fff; font-size: 14px; text-decoration: none; font-weight: 600; }
.church-page .section-space { padding: 68px 0; }
.church-page .section-title { font-size: clamp(30px, 3vw, 40px); line-height: 1.2; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.4px; }
.church-page .section-subtitle { max-width: 640px; font-size: 15px; }
.church-page .mini-label, .church-page .card-mini-label { border-radius: 0; background: transparent; padding: 0; font-size: 10px; letter-spacing: 1.6px; }
.church-page .smart-card { background: #fff; border-radius: 4px; }
.church-page .smart-card:hover { transform: none; }
.church-page .card-accent-line { display: none; }
.church-page .contact-card::before { display: none; }

.church-page .contact-title { min-height: 0; }
.church-page .footer-note { border-radius: 0; background: #142b45; margin-top: 0; padding-top: 48px; }
.church-page a:focus-visible { outline: 3px solid #b99a61; outline-offset: 5px; }
@media (max-width: 991px) {
    .church-page .hero-section h1 { letter-spacing: -1.5px; }
}
@media (max-width: 767px) {
    .home-nav { order: 3; width: 100%; justify-content: flex-start; gap: 24px; }
    .home-nav a { font-size: 12px; }
    .church-page .hero-topbar { margin-bottom: 40px; gap: 24px 12px; flex-wrap: wrap; }
    .church-page .hero-section { padding: 20px 12px 48px; }
    .church-page .hero-section h1 { font-size: clamp(36px, 8vw, 48px); }
    .church-page .hero-section::before, .church-page .hero-section::after { display: none; }
    .church-page .section-space { padding: 44px 0; }

    .home-brand { font-size: 21px; }
}

.home-capabilities { position: relative; margin-top: 0; z-index: 2; padding: 0 12px; }
.capabilities-inner { display: grid; grid-template-columns: repeat(3, 1fr); background: transparent; border: 0; border-bottom: 1px solid #dedfdc; border-radius: 0; box-shadow: none; padding: 40px 0; }
.capabilities-inner > div { display: flex; align-items: flex-start; justify-content: center; gap: 14px; padding: 8px 18px; }
.capabilities-inner > div + div { border-left: 1px solid #dedfdc; }
.capability-number { font-family: Georgia, serif; font-size: 30px; font-style: normal; color: #9a7d48; }
.capabilities-inner strong { display: block; font-size: 15px; font-weight: 600; color: #142b45; }
.capabilities-inner small { display: block; color: #657181; margin-top: 6px; font-size: 13px; line-height: 1.8; }

@media (prefers-reduced-motion: no-preference) {
    .hero-content { animation: home-enter .7s ease-out both; }
    @keyframes home-enter { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
}
@media (max-width: 767px) {
    .church-page .hero-section { padding-bottom: 70px; }
    .capabilities-inner { grid-template-columns: 1fr; padding: 12px 20px; }
    .capabilities-inner > div { justify-content: flex-start; padding: 14px 0; }
    .capabilities-inner > div + div { border-left: 0; border-top: 1px solid #dedfdc; }
}
.church-page #contact-us { padding-bottom: 76px; }
.church-page .contact-card {
    padding: 0;
    border: 1px solid #dedfdc;
    background: #fff;
    box-shadow: 0 8px 24px #142b4508;
}
.church-page .contact-card:hover, .church-page .contact-card:focus-within {
    border-color: #aa8a53;
    box-shadow: 0 18px 38px #142b4514;
}
.church-page .contact-card-content { align-items: flex-start; text-align: left; gap: 0; height: 100%; }
.contact-portrait {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 164px;
    padding: 22px 28px;
    background: linear-gradient(120deg, #142b45, #263f5b);
    border-bottom: 2px solid #b99a61;
    overflow: hidden;
}
.contact-portrait::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 200px;
    height: 200px;
    right: -35px;
    top: -65px;
    border: 1px solid #d7bc8340;
    transform: rotate(35deg);
    box-shadow: 18px 18px 0 #ffffff05, 36px 36px 0 #ffffff04;
    pointer-events: none;
}
.church-page .contact-photo, .contact-avatar {
    width: 96px !important;
    height: 120px;
    flex: 0 0 96px;
    border-radius: 4px;
    border: 4px solid #fff;
    outline: 1px solid #c6b48e;
    outline-offset: 2px;
    box-shadow: 0 6px 16px #142b4510;
    object-fit: cover;
    object-position: center top;
}
.contact-avatar { display: grid; place-items: center; background: linear-gradient(145deg, #f3efe6, #e5dcc9); color: #69532e; font-family: Georgia, "Times New Roman", serif; font-size: 32px; font-weight: 400; letter-spacing: 1px; }
.church-page #contact-us .col-lg-4:last-child .contact-avatar { background: #e9edf1; }
.church-page .contact-details { display: flex; flex-direction: column; flex: 1; width: 100%; padding: 26px 24px 24px; }
.church-page .contact-name { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 22px; line-height: 1.35; letter-spacing: -.3px; margin: 0 0 6px; }
.church-page .contact-title { font-size: 13px; margin-bottom: 26px; }
.church-page .contact-phone {
    display: flex;
    gap: 12px;
    margin-top: auto;
    width: 100%;
    border-radius: 3px;
    padding: 14px 12px;
    background: #142b45;
    border: 1px solid #142b45;
    color: #fff;
}
.church-page .contact-phone:hover { background: #253e5b; color: #fff; border-color: #253e5b; transform: none; }
.contact-call-copy { display: flex; flex-direction: column; gap: 3px; }
.contact-call-copy small { font-size: 10px; font-weight: 500; opacity: .75; }
.contact-call-copy > span { font-size: 13px; font-weight: 650; letter-spacing: .2px; }
.contact-call-arrow { display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; background: #d7bc83; color: #142b45; font-size: 18px; font-weight: 400; border-radius: 50%; }
.church-page .contact-phone-icon { font-size: 19px; }


.founder-note { max-width: 100%; margin: 0 auto; padding: 44px 48px; background: #fff; border: 1px solid #dedfdc; border-left: 3px solid #b99a61; border-radius: 4px; box-shadow: none; }
.founder-note-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.founder-note h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 3vw, 32px); line-height: 1.35; letter-spacing: -.4px; font-weight: 400; color: var(--church-dark); }
.founder-note-badge { flex-shrink: 0; padding: 8px 12px; border-radius: 2px; background: #eee8da; color: #5d4b2d; font-size: 12px; font-weight: 600; }
.founder-note-message { max-width: 850px; color: var(--church-text); font-size: 16px; line-height: 1.9; }
.founder-note-message p { margin-bottom: 16px; }
.founder-note-message p:last-child { margin-bottom: 0; }
.founder-note-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #dedfdc; }
.founder-note-footer strong { display: block; color: var(--church-dark); font-size: 16px; }
.founder-note-footer div > span { display: block; color: var(--church-muted); font-size: 12px; margin-top: 5px; }
.founder-note-footer a { color: var(--church-primary); font-size: 13px; font-weight: 600; text-underline-offset: 4px; }
.church-page section[id] { scroll-margin-top: 24px; }
@media (max-width: 767px) {
    .founder-note { padding: 26px 22px; }
    .founder-note-header { flex-direction: column; gap: 14px; }
    .founder-note-message { font-size: 15px; }
}

.home-offering-tools { padding: 48px 12px 0; }
.offering-tools-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; color: #fff; }
.offering-tools-inner > div { display: flex; flex-direction: column; padding: 36px; background: #142b45; border-top: 3px solid #b99a61; border-radius: 4px; }
.offering-tools-inner > div:first-child { background: #eeeae0; color: #142b45; }
.offering-tools-inner > div + div { border-left: 0; }
.church-page .offering-tools-inner .mini-label { color: #d7bc83; }
.church-page .offering-tools-inner > div:first-child .mini-label { color: #725c33; }
.offering-tools-inner > div:first-child > p { color: #596574; }
.offering-tools-inner h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(23px, 2.6vw, 29px); font-weight: 400; line-height: 1.35; margin-bottom: 14px; }
.offering-tools-inner p { color: #c3ccd7; font-size: 14px; line-height: 1.8; margin: 0; }
@media (max-width: 767px) {
    .offering-tools-inner { grid-template-columns: 1fr; }
    .offering-tools-inner > div { padding: 28px 24px; }
    .offering-tools-inner > div + div { border-left: 0; }
}

.pos-preview { margin: auto 0 0; padding-top: 28px; }
.pos-preview img { display: block; width: 100%; height: 350px; object-fit: contain; background: #fff; border-radius: 4px; padding: 12px; }
.pos-preview figcaption { margin-top: 12px; font-size: 11px; color: #596574; line-height: 1.7; }
.pos-preview a { color: #253e5b; text-underline-offset: 3px; }
.sms-preview { display: flex; flex-direction: column; align-items: center; margin-top: auto; padding-top: 28px; }
.sms-phone { position: relative; width: 100%; max-width: 280px; padding: 12px 10px 22px; border: 5px solid #526073; border-radius: 30px; background: #f4f5f7; color: #142b45; box-shadow: 0 18px 36px #07142340; }
.sms-status { display: flex; justify-content: space-between; padding: 0 10px 12px; font-size: 10px; font-weight: 600; }
.sms-heading { display: flex; align-items: center; gap: 18px; padding: 12px 10px; border-bottom: 1px solid #dfe3e9; }
.sms-heading > span { font-size: 30px; line-height: 1; color: #657181; }
.sms-heading strong { display: block; font-size: 12px; letter-spacing: 1px; }
.sms-heading small { display: block; margin-top: 3px; font-size: 9px; color: #657181; }
.sms-conversation { padding: 16px 4px 28px; }
.sms-time { display: block; text-align: center; font-size: 9px; color: #657181; margin-bottom: 14px; }
.church-page .offering-tools-inner .sms-bubble { padding: 14px; border-radius: 14px 14px 14px 3px; background: #e3e8ee; color: #25364b; font-size: 12px; line-height: 1.8; }
.sms-home { position: absolute; bottom: 9px; left: 35%; width: 30%; height: 3px; border-radius: 3px; background: #142b45; }
.sms-example-label { margin-top: 12px; font-size: 11px; color: #c3ccd7; }
@media (max-width: 767px) {
    .pos-preview img { height: auto; max-height: 340px; }
}

.church-page #contact-us .section-heading { text-align: left !important; max-width: 720px; margin-bottom: 32px; }
.church-page #contact-us .section-subtitle { margin: 0; max-width: 620px; }
.church-page .footer-note { border-top: 3px solid var(--home-gold); padding: 76px 12px 32px; }
.church-page .footer-brand { font-family: var(--home-serif); font-size: 40px; font-weight: 400; letter-spacing: .5px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.church-page .footer-main { align-items: flex-start; gap: 48px; }
.church-page .footer-divider { margin: 48px 0 24px; }
.footer-links a { color: #dce2e9; font-size: 15px; text-decoration: none; text-underline-offset: 4px; }
.footer-links a:hover { color: #d7bc83; text-decoration: underline; }
.church-page .footer-contact-value { font-size: 18px; font-weight: 500; }
.church-page .footer-copy { text-align: left !important; font-size: 13px; }
.church-page .btn-login:hover { background: #ffffff18; color: #d7bc83; border-color: #d7bc83; transform: none; }
@media (max-width: 767px) {
    .home-offering-tools { padding-top: 32px; }
    .pos-preview { padding-top: 24px; }
    .church-page .hero-section p { font-size: 16px; }
    .church-page .footer-main { gap: 32px; }
    .church-page .footer-note { padding: 48px 12px 28px; }
    .church-page .footer-divider { margin-top: 32px; }
}

.home-skip-link { position: fixed; top: 12px; left: 12px; z-index: 1100; padding: 12px 20px; background: #fff; color: #142b45; border: 2px solid #b99a61; border-radius: 3px; transform: translateY(-160%); }
.home-skip-link:focus { transform: translateY(0); }
.church-page .contact-phone { min-height: 64px; align-items: center; }
.contact-call-arrow { flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
@media (max-width: 575px) {
    .home-nav { gap: 8px 20px; flex-wrap: wrap; }
    .home-nav a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
    .church-page .hero-actions { gap: 16px; }
    .church-page .hero-actions .home-primary { width: 100%; text-align: center; }
    .church-page .hero-actions .home-secondary { display: inline-flex; align-items: center; min-height: 44px; }
    .offering-tools-inner > div { padding: 26px 20px; }
    .church-page .footer-contact-value { overflow-wrap: anywhere; }
}
