:root {
    color-scheme: light;
    --primary: #123c69;
    --primary-dark: #0b2745;
    --secondary: #d4a017;
    --secondary-dark: #a97b10;
    --light: #f8f6f1;
    --soft: #eef3f7;
    --text: #1f2933;
    --muted: #6b7280;
    --white: #ffffff;
    --line: #dde5ee;
    --shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--light);
    font-family: "Inter", Arial, Helvetica, sans-serif;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(221, 229, 238, 0.9);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(11, 39, 69, 0.18);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 13px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
}

.brand img {
    width: 54px;
    height: 54px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    object-fit: cover;
    background: var(--white);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    color: var(--white);
    font-size: 1.02rem;
    line-height: 1.1;
    transition: color 0.2s ease;
}

.brand small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.site-header.is-scrolled .brand strong,
body.menu-open .brand strong {
    color: var(--primary-dark);
}

.site-header.is-scrolled .brand small,
body.menu-open .brand small {
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.site-header.is-scrolled .site-nav,
body.menu-open .site-nav {
    color: #263244;
}

.site-nav a {
    border-radius: 6px;
    padding: 10px 12px;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease;
}

.site-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
}

.site-header.is-scrolled .site-nav a:hover,
body.menu-open .site-nav a:hover {
    color: var(--primary);
    background: #edf3f9;
}

.site-nav .nav-action {
    margin-left: 4px;
    color: var(--white);
    background: var(--primary);
}

.site-nav .nav-action:hover {
    color: var(--white);
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 6px;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: var(--white);
    transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.site-header.is-scrolled .menu-toggle,
body.menu-open .menu-toggle {
    border-color: var(--line);
    background: var(--white);
}

.site-header.is-scrolled .menu-toggle span,
body.menu-open .menu-toggle span {
    background: var(--primary-dark);
}

body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: calc(100vh - 81px);
    padding: clamp(72px, 9vw, 132px) clamp(18px, 5vw, 78px);
    overflow: hidden;
    color: var(--white);
    text-align: center;
    background:
        linear-gradient(120deg, rgba(11, 39, 69, 0.92), rgba(18, 60, 105, 0.72) 46%, rgba(15, 23, 42, 0.78)),
        url("../img/hero-worship.png") center calc(50% + var(--hero-parallax, 0px)) / cover fixed;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 22, 39, 0.15), rgba(8, 22, 39, 0.62)),
        radial-gradient(circle at 50% 32%, rgba(212, 160, 23, 0.25), transparent 28%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 34px;
    width: min(180px, 42vw);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.92), transparent);
    transform: translateX(-50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    animation: fadeUp 0.7s ease both;
}

.hero-logo {
    width: 112px;
    height: 112px;
    margin: 0 auto 24px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: var(--radius);
    object-fit: cover;
    background: var(--white);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.section h2,
.media-strip h2 {
    font-family: "Merriweather", Georgia, serif;
}

.hero h1 {
    margin: 0 auto;
    max-width: 900px;
    font-size: clamp(2.2rem, 6vw, 5.2rem);
    line-height: 1.05;
}

.subtitle {
    max-width: 800px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, 0.89);
    font-size: clamp(1.08rem, 2vw, 1.34rem);
    line-height: 1.72;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 13px 18px;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background: var(--secondary);
    box-shadow: 0 16px 34px rgba(212, 160, 23, 0.24);
}

.btn-primary:hover {
    background: var(--secondary-dark);
}

.btn-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.16);
}

.btn-soft {
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.92);
}

.btn-outline-dark {
    color: var(--primary);
    border-color: #b9c9dc;
    background: transparent;
}

.btn-outline-dark:hover {
    background: #edf3f9;
}

.visitors-section .btn-outline-dark {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.08);
}

.visitors-section .btn-outline-dark:hover {
    color: var(--primary-dark);
    background: var(--white);
}

.quick-strip {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(1120px, calc(100% - 36px));
    margin: -44px auto 0;
    overflow: hidden;
    border: 1px solid rgba(221, 229, 238, 0.95);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.quick-strip a {
    display: grid;
    gap: 6px;
    min-height: 96px;
    padding: 22px 24px;
    border-right: 1px solid var(--line);
    transition: background 0.18s ease;
}

.quick-strip a:last-child {
    border-right: 0;
}

.quick-strip a:hover {
    background: #fbfaf6;
}

.quick-strip span {
    color: var(--secondary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.quick-strip strong {
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.section {
    padding: clamp(74px, 8vw, 112px) clamp(18px, 5vw, 78px);
}

[data-animate],
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].is-visible,
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.focus-card:nth-child(2),
.schedule-card:nth-child(2),
.resource-card:nth-child(2),
.values-grid article:nth-child(2) {
    transition-delay: 0.08s;
}

.focus-card:nth-child(3),
.schedule-card:nth-child(3),
.resource-card:nth-child(3),
.values-grid article:nth-child(3) {
    transition-delay: 0.14s;
}

.focus-card:nth-child(4),
.resource-card:nth-child(4),
.values-grid article:nth-child(4) {
    transition-delay: 0.2s;
}

.section-title {
    max-width: 880px;
}

.section-title.centered {
    margin: 0 auto 36px;
    text-align: center;
}

.section h2,
.media-strip h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.16;
}

.about-section {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
    gap: clamp(34px, 6vw, 92px);
    align-items: center;
}

.about-content p {
    color: #3e4b5f;
    font-size: 1.07rem;
    line-height: 1.82;
}

.about-content p:last-of-type {
    margin-bottom: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
}

.values-grid article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.values-grid span {
    display: block;
    color: var(--primary-dark);
    font-weight: 800;
}

.values-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.about-card {
    position: relative;
    min-height: 430px;
    border: 1px solid rgba(221, 229, 238, 0.92);
    border-radius: var(--radius);
    padding: 30px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(11, 39, 69, 0.12), rgba(11, 39, 69, 0.84)),
        url("../img/hero-worship.png") center / cover;
    color: var(--white);
    box-shadow: var(--shadow);
}

.about-card img {
    width: 84px;
    height: 84px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: var(--radius);
    object-fit: cover;
    background: var(--white);
}

.about-card .eyebrow {
    margin-top: 150px;
}

.about-card h3 {
    margin: 8px 0;
    max-width: 320px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 1.75rem;
    line-height: 1.2;
}

.about-card p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.82);
}

.about-card a {
    display: inline-flex;
    border-bottom: 2px solid var(--secondary);
    color: var(--white);
    font-weight: 800;
}

.parallax-section {
    min-height: 380px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    background:
        linear-gradient(rgba(11, 39, 69, 0.76), rgba(11, 39, 69, 0.78)),
        url("../img/hero-worship.png") center calc(50% + var(--biblical-parallax, 0px)) / cover fixed;
}

.parallax-overlay {
    width: 100%;
    padding: clamp(70px, 8vw, 105px) 0;
}

.parallax-section h2 {
    margin: 0 0 12px;
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.15;
}

.parallax-section p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.focus {
    background: var(--soft);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.section-heading > p {
    max-width: 420px;
    margin: 0 0 4px;
    color: var(--muted);
    line-height: 1.72;
}

.focus-grid,
.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.focus-card,
.resource-card,
.schedule-band article,
.contact-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.focus-card,
.resource-card {
    position: relative;
    min-height: 274px;
    padding: 28px;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.focus-card::after,
.resource-card::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), transparent);
}

.focus-number,
.resource-card span,
.schedule-band span,
.contact-card span {
    display: inline-block;
    color: var(--secondary-dark);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.focus-card:hover {
    transform: translateY(-5px);
    border-color: #b8c8da;
    box-shadow: 0 26px 58px rgba(18, 60, 105, 0.13);
}

.focus-card:hover .focus-icon {
    color: var(--white);
    background: var(--primary);
}

.focus-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-top: 22px;
    border: 1px solid #d9e4ef;
    border-radius: 50%;
    color: var(--primary);
    background: #f7fafc;
    transition: color 0.18s ease, background 0.18s ease;
}

.focus-icon::before,
.focus-icon::after {
    content: "";
    display: block;
}

.focus-icon.mission::before {
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-shadow: inset 8px 0 0 rgba(18, 60, 105, 0.08), inset -8px 0 0 rgba(18, 60, 105, 0.08);
}

.focus-icon.teaching::before {
    width: 25px;
    height: 18px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 2px 2px 6px 6px;
    box-shadow: inset 10px 0 0 rgba(18, 60, 105, 0.08);
}

.focus-icon.fellowship::before {
    width: 26px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 999px;
}

.focus-icon.service::before {
    width: 21px;
    height: 21px;
    background: currentColor;
    clip-path: polygon(50% 88%, 10% 48%, 10% 24%, 28% 12%, 50% 28%, 72% 12%, 90% 24%, 90% 48%);
}

.focus-card:hover .focus-icon::before {
    color: var(--white);
}

.focus-grid h3,
.resource-card h3,
.schedule-band h3 {
    margin: 20px 0 10px;
    color: var(--primary-dark);
    font-size: 1.28rem;
}

.focus-grid p,
.resource-card p,
.schedule-band p {
    margin: 0;
    color: var(--muted);
    line-height: 1.66;
}

.schedule {
    background:
        linear-gradient(180deg, rgba(248, 246, 241, 0.95), rgba(238, 243, 247, 0.95));
}

.section-heading.center {
    justify-content: center;
    text-align: center;
}

.section-heading.center > div {
    max-width: 760px;
}

.section-heading.center p {
    max-width: none;
    margin: 14px auto 0;
}

.schedule-section {
    background:
        linear-gradient(180deg, rgba(248, 246, 241, 0.95), rgba(238, 243, 247, 0.95));
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.schedule-card {
    position: relative;
    display: flex;
    min-height: 310px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.schedule-card::after {
    content: "";
    position: absolute;
    inset: auto 30px 0 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), transparent);
}

.schedule-day {
    color: var(--secondary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.schedule-card h3 {
    margin: 18px 0 8px;
    color: var(--primary-dark);
    font-size: 1.35rem;
}

.schedule-card strong {
    display: block;
    margin: 4px 0 18px;
    color: var(--primary);
    font-size: clamp(2.5rem, 4vw, 3.45rem);
    line-height: 1;
}

.schedule-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.68;
}

.schedule-card.featured {
    color: var(--white);
    border-color: var(--primary);
    background:
        linear-gradient(145deg, rgba(18, 60, 105, 0.98), rgba(11, 39, 69, 0.98)),
        var(--primary);
    box-shadow: 0 26px 60px rgba(18, 60, 105, 0.2);
}

.schedule-card.featured .schedule-day {
    color: var(--secondary);
}

.schedule-card.featured h3,
.schedule-card.featured strong {
    color: var(--white);
}

.schedule-card.featured p {
    color: rgba(255, 255, 255, 0.78);
}

.schedule-action {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    padding-top: 24px;
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 800;
}

.schedule-card.featured .schedule-action {
    color: var(--secondary);
}

.schedule-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.schedule-band article {
    min-height: 270px;
    padding: 30px;
}

.schedule-band strong {
    display: block;
    margin: 0 0 18px;
    color: var(--secondary-dark);
    font-size: 2.1rem;
    line-height: 1;
}

.schedule-band .featured {
    color: var(--white);
    background:
        linear-gradient(145deg, rgba(18, 60, 105, 0.98), rgba(11, 39, 69, 0.98)),
        var(--primary);
    border-color: var(--primary);
    box-shadow: 0 24px 56px rgba(18, 60, 105, 0.18);
}

.schedule-band .featured h3,
.schedule-band .featured strong {
    color: var(--white);
}

.schedule-band .featured span {
    color: var(--secondary);
}

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

.resources {
    background: var(--white);
}

.resources-section {
    background: var(--white);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.resource-card {
    display: block;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

a.resource-card:hover {
    transform: translateY(-4px);
    border-color: #b8c8da;
    box-shadow: 0 24px 54px rgba(18, 60, 105, 0.13);
}

.resource-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.resource-status.available {
    color: #126b3a;
    background: #e7f6ee;
}

.resource-status.restricted {
    color: var(--primary);
    background: #e9f1fa;
}

.resource-status.soon {
    color: #8a6412;
    background: #fbf2dc;
}

.resource-card.disabled {
    opacity: 0.82;
}

.resource-link {
    display: inline-flex;
    margin-top: 22px;
    color: var(--primary);
    font-weight: 800;
}

.visitors-section {
    background:
        linear-gradient(120deg, rgba(11, 39, 69, 0.96), rgba(18, 60, 105, 0.9)),
        var(--primary);
}

.visitors-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    color: var(--white);
}

.visitors-box h2 {
    max-width: 760px;
    color: var(--white);
}

.visitors-box p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.06rem;
    line-height: 1.72;
}

.visitors-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.media-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 58px clamp(18px, 5vw, 78px);
    color: var(--white);
    background:
        linear-gradient(120deg, rgba(11, 39, 69, 0.96), rgba(18, 60, 105, 0.88)),
        url("../img/pib-perdicao-logo.jpg") right 8% center / 250px no-repeat;
}

.media-strip h2 {
    color: var(--white);
}

.media-strip a {
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: var(--radius);
    padding: 16px 20px;
    color: var(--white);
    font-size: clamp(1.18rem, 3vw, 1.9rem);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.08);
}

.contact,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
    align-items: center;
    gap: clamp(34px, 6vw, 86px);
}

.contact {
    background: var(--light);
}

.contact-section {
    background: var(--light);
}

.contact-copy p,
.contact-content p {
    max-width: 660px;
    color: #3e4b5f;
    font-size: 1.08rem;
    line-height: 1.78;
}

.contact-info {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    border-left: 4px solid var(--secondary);
    padding-left: 18px;
}

.contact-info p {
    margin: 0;
    font-size: 0.98rem;
}

.contact-actions {
    justify-content: flex-start;
}

.map-box {
    min-height: 420px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.map-box iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.contact-card {
    display: grid;
    gap: 8px;
    padding: 32px;
    font-style: normal;
}

.contact-card strong {
    color: var(--primary-dark);
    font-size: 1.45rem;
    line-height: 1.25;
}

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

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px clamp(18px, 5vw, 78px);
    color: rgba(255, 255, 255, 0.76);
    background: var(--primary-dark);
}

.site-footer strong,
.site-footer span {
    display: block;
}

.site-footer strong {
    color: var(--white);
    margin-bottom: 4px;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.site-footer a {
    color: var(--white);
    font-weight: 800;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-content {
        animation: none;
    }

    [data-animate],
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn:hover,
    .focus-card:hover,
    a.resource-card:hover {
        transform: none;
    }
}

@media (max-width: 1040px) {
    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: 88px;
        left: 18px;
        right: 18px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: auto;
        max-height: calc(100vh - 110px);
        padding: 16px;
        overflow-y: auto;
        color: #263244;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px) scale(0.98);
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    body.menu-open .site-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .site-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 13px 16px;
        color: var(--primary-dark);
        font-size: 1rem;
        font-weight: 800;
        text-align: center;
        border-radius: 6px;
        background: #f8fafc;
    }

    .site-nav a:hover {
        color: var(--primary);
        background: #edf3f9;
    }

    .site-nav .nav-action {
        margin-left: 0;
        margin-top: 4px;
        color: var(--white);
        background: var(--primary);
        text-align: center;
    }

    .site-nav .nav-action:hover {
        color: var(--white);
        background: var(--primary-dark);
    }

    .about-grid,
    .contact,
    .contact-grid,
    .visitors-box {
        grid-template-columns: 1fr;
    }

    .focus-grid,
    .resource-grid,
    .resources-grid,
    .schedule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .visitors-actions {
        justify-content: flex-start;
    }

    .quick-strip {
        grid-template-columns: 1fr;
        margin-top: 0;
        width: 100%;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .quick-strip a {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .quick-strip a:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 760px) {
    .brand {
        min-width: 0;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .site-nav a {
        padding: 9px 10px;
    }

    .section {
        padding: clamp(54px, 10vw, 72px) clamp(18px, 5vw, 78px);
    }

    .hero {
        min-height: 86vh;
        padding-top: 96px;
        padding-bottom: 64px;
        background-color: var(--primary-dark);
        background:
            linear-gradient(180deg, rgba(7, 29, 51, 0.68), rgba(7, 29, 51, 0.5) 40%, rgba(7, 29, 51, 0.78)),
            url("../img/hero-mobile.png") center calc(50% + var(--hero-parallax, 0px)) / cover scroll;
    }

    .hero::before {
        background:
            linear-gradient(180deg, rgba(8, 22, 39, 0.04), rgba(8, 22, 39, 0.46)),
            radial-gradient(circle at 50% 18%, rgba(212, 160, 23, 0.2), transparent 30%);
    }

    .hero::after {
        bottom: 30px;
    }

    .parallax-section {
        min-height: 320px;
        background:
            linear-gradient(rgba(11, 39, 69, 0.78), rgba(11, 39, 69, 0.8)),
            url("../img/hero-worship.png") center / cover scroll;
    }

    .hero-logo {
        width: 88px;
        height: 88px;
        margin-bottom: 18px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 11vw, 3.45rem);
    }

    .subtitle {
        font-size: 1rem;
        line-height: 1.62;
    }

    .hero-actions,
    .contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section-heading,
    .media-strip,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-card {
        min-height: 360px;
    }

    .about-card .eyebrow {
        margin-top: 110px;
    }

    .focus-grid,
    .resource-grid,
    .resources-grid,
    .schedule-band,
    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .visitors-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .map-box,
    .map-box iframe {
        min-height: 320px;
    }

    .media-strip {
        background:
            linear-gradient(120deg, rgba(11, 39, 69, 0.96), rgba(18, 60, 105, 0.88)),
            var(--primary);
    }

    .media-strip a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .quick-strip strong {
        font-size: 0.98rem;
    }

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

    .hero-logo {
        width: 78px;
        height: 78px;
    }
}
