:root {
    --bg: #f3fbff;
    --ink: #083b5c;
    --muted: #4b6f88;
    --line: rgba(8, 59, 92, 0.14);
    --dark: #005f99;
    --dark-soft: #0b78b8;
    --light: #ffffff;
    --accent: #0b8fd9;
    --accent-2: #56c3ff;
    --shadow: 0 18px 40px rgba(11, 143, 217, 0.14);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    isolation: isolate;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 4vw 0.8rem;
    background: rgba(150, 223, 255, 0.62);
    border-bottom: 0;
    backdrop-filter: blur(8px);
    transition:
        background-color 0.28s ease,
        border-bottom-color 0.28s ease,
        backdrop-filter 0.28s ease,
        padding 0.28s ease,
        gap 0.28s ease;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 14px;
    pointer-events: none;
    opacity: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 45%,
            rgba(255, 255, 255, 0.015) 75%,
            rgba(255, 255, 255, 0) 100%
        );
    transition: opacity 0.28s ease;
}

.site-header.is-scrolled {
    background: transparent;
    padding: 0.58rem 4vw 0.45rem;
    gap: 0.85rem;
    backdrop-filter: blur(16px) saturate(135%);
}

.site-header.is-scrolled::after {
    opacity: 1;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.logo-image {
    width: clamp(150px, 14.5vw, 220px);
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15rem;
    transform-origin: center center;
    transition: transform 0.28s ease;
}

.site-header.is-scrolled .logo-image {
    transform: scale(0.86);
}

.logo-text {
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: clamp(1.05rem, 1.4vw, 1.45rem);
    line-height: 1.05;
}

.logo-text span {
    display: block;
    font-weight: 600;
    letter-spacing: 0.09em;
    font-size: clamp(0.72rem, 0.85vw, 0.95rem);
    opacity: 0.95;
    margin-top: 0.15rem;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: #0b3f9c;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.55rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(11, 63, 156, 0.16);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        padding 0.28s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.86);
    transform: translateY(-1px);
    outline: none;
}

.site-header.is-scrolled .nav-links a {
    padding: 0.45rem 0.62rem;
}

.hero {
    position: relative;
    min-height: 84vh;
    display: grid;
    align-items: center;
    padding: 6rem 4vw 5rem;
    background:
        url("https://images.unsplash.com/photo-1438232992991-995b7058bbb3?auto=format&fit=crop&w=2000&q=80")
        top center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.56) 46%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    color: #fff;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.75rem;
}

.eyebrow.dark {
    color: var(--muted);
}

.hero h1 {
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    line-height: 0.95;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
    max-width: 12ch;
}

.hero-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 58ch;
}

.hero-actions {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    padding: 0.8rem 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--accent-2);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

.btn-small {
    padding: 0.55rem 0.9rem;
    background: #111;
    color: #fff;
    font-size: 0.9rem;
}

.section {
    width: min(1140px, 92vw);
    margin: 0 auto;
    padding: 4.5rem 0;
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.2rem;
    align-items: start;
}

.section-copy h2,
.section-heading h2,
.promo h2,
.footer-grid h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.section-copy p {
    color: var(--muted);
    margin-bottom: 0.8rem;
    max-width: 54ch;
}

.text-link {
    color: var(--dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-bottom: 2px solid var(--dark);
    padding-bottom: 0.15rem;
}

.service-card {
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.1rem;
    box-shadow: var(--shadow);
}

.service-card h3 {
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.service-card ul {
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.service-card li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.service-card li:last-child {
    border-bottom: 0;
}

.service-card strong {
    color: var(--ink);
    white-space: nowrap;
}

.section-dark {
    width: 100%;
    background: var(--dark);
    color: #fff;
    padding: 4.8rem 4vw;
}

.section-dark .section-heading {
    width: min(1140px, 92vw);
    margin: 0 auto 1.8rem;
}

.center {
    text-align: center;
}

.circle-grid {
    width: min(1140px, 92vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.circle-card {
    text-align: center;
    background: var(--dark-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.1rem 0.8rem;
}

.circle-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 0.8rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.3rem;
    background: linear-gradient(145deg, var(--accent) 0%, #fff2c7 100%);
    color: #1a1305;
}

.circle-card h3 {
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.circle-card p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.section-heading {
    margin-bottom: 1rem;
}

.message-list {
    display: grid;
    gap: 0.8rem;
}

.message-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.message-item h3 {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.message-item p {
    color: var(--muted);
    font-size: 0.92rem;
}

.promo {
    background: linear-gradient(135deg, #005f99 0%, #0b8fd9 45%, #bfeeff 100%);
    color: #fff;
    border-radius: 22px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.promo p:last-child {
    color: rgba(255, 255, 255, 0.8);
}

.beliefs-section {
    margin-top: 0.75rem;
    position: relative;
    --belief-progress: 0;
    --belief-glow-x: 20%;
    --belief-sticky-top: 5.9rem;
    padding: 1.25rem;
    border-radius: 24px;
    background:
        radial-gradient(800px 280px at var(--belief-glow-x) 0%, rgba(86, 195, 255, 0.24), transparent 68%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 251, 255, 0.98));
    border: 1px solid rgba(11, 143, 217, 0.12);
    overflow: visible;
}

.beliefs-section::after {
    content: none;
}

.beliefs-section > * {
    position: relative;
    z-index: 1;
}

.beliefs-progress-pin {
    position: sticky;
    top: var(--belief-sticky-top);
    z-index: 4;
    margin: -0.2rem 0 0.8rem;
    height: 8px;
    border-radius: 999px;
    background: rgba(11, 143, 217, 0.14);
    border: 1px solid rgba(11, 143, 217, 0.12);
    box-shadow: 0 8px 18px rgba(11, 143, 217, 0.12);
    backdrop-filter: blur(6px);
    opacity: 1;
    transition: opacity 0.2s ease;
}

.beliefs-progress-fill {
    height: 100%;
    width: calc(var(--belief-progress) * 100%);
    border-radius: inherit;
    background: linear-gradient(90deg, #56c3ff, #0b8fd9, #005f99);
    transition: width 0.12s linear;
}

.beliefs-progress-pin.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.beliefs-intro {
    color: var(--muted);
    max-width: 62ch;
}

.beliefs-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.belief-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px) scale(0.985);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
    transition-delay: var(--stagger, 0ms);
    will-change: transform, opacity;
    scroll-margin-top: 6.5rem;
}

.belief-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.belief-card.is-active {
    border-color: rgba(11, 143, 217, 0.32);
    box-shadow: 0 18px 40px rgba(11, 143, 217, 0.18);
}

.belief-card > * {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.belief-card.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.belief-card.is-visible > *:nth-child(1) { transition-delay: 90ms; }
.belief-card.is-visible > *:nth-child(2) { transition-delay: 150ms; }
.belief-card.is-visible > *:nth-child(3) { transition-delay: 210ms; }
.belief-card.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.belief-card.is-visible > *:nth-child(5) { transition-delay: 330ms; }

.belief-card h3 {
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.belief-card p {
    color: var(--muted);
    margin-bottom: 0.55rem;
}

.belief-card p:last-child {
    margin-bottom: 0;
}

.verse-ref {
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
    .belief-card {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .belief-card > * {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .beliefs-progress-fill {
        transition: none;
    }

    .beliefs-progress-pin {
        transition: none;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 1rem;
    align-items: start;
}

.footer-grid p {
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.45rem;
}

.contact-card h3 {
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.contact-card label {
    font-size: 0.85rem;
    color: var(--muted);
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.75rem 0.8rem;
    font: inherit;
    background: #fff;
}

.contact-card input:focus,
.contact-card textarea:focus {
    outline: 2px solid rgba(11, 143, 217, 0.25);
    border-color: var(--accent-2);
}

.contact-card button {
    justify-self: start;
    margin-top: 0.35rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.4rem 4vw 2rem;
    text-align: center;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.45);
}

@media (max-width: 1050px) {
    .circle-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .beliefs-section {
        --belief-sticky-top: 6.3rem;
    }

    .site-header {
        flex-direction: column;
        align-items: center;
    }

    .split,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .promo {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .beliefs-section {
        --belief-sticky-top: 6.8rem;
    }

    .hero {
        min-height: 76vh;
        padding-top: 4.8rem;
    }

    .hero h1 {
        max-width: none;
    }

    .circle-grid {
        grid-template-columns: 1fr 1fr;
    }

    .message-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links a {
        font-size: 0.75rem;
        padding: 0.45rem 0.55rem;
    }

    .logo {
        gap: 0.55rem;
    }

    .logo-image {
        width: 124px;
    }
}

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