/*
Theme Name: Assembly of the Almighty God
Theme URI: https://aaginternational.org
Author: AAG Web Team
Description: Modern, minimal church theme for Assembly of the Almighty God — Home, About, Ministries, Events, Board, and Contact with prayer request handling. Fully responsive.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: aag-church
*/

:root {
    --green: #3FAE2A;
    --blue: #261dea;
    --ink: #262626;
    --white: #ffffff;
    --bg-soft: #f5f6f4;
	--earth: #3FAE2A;
    --ink-60: rgba(26, 29, 26, 0.6);
    --ink-45: rgba(26, 29, 26, 0.45);
    --ink-08: rgba(26, 29, 26, 0.08);
    --ink-10: rgba(26, 29, 26, 0.1);
    --font-head: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;
    --maxw: 1240px;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
    font-family: var(--font-head);
    margin: 0;
}
p {
    margin: 0;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover {
    color: var(--green);
}
button {
    font-family: var(--font-body);
    cursor: pointer;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
    width: 100%;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 26px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    white-space: nowrap;
}
.btn-dark {
    background: var(--ink);
    color: #fff;
}
.btn-dark:hover {
    background: #000;
    color: #fff;
}
.btn-green {
    background: var(--green);
    color: #fff;
}
.btn-green:hover {
    background: #3fa826;
    color: #fff;
}
.btn-outline {
    background: #fff;
    color: var(--ink);
    border-color: var(--ink-10);
}
.btn-outline:hover {
    border-color: var(--ink);
    color: var(--ink);
}
.btn-outline-light {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.26);
    color: #fff;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
}
.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--ink-08);
}
.site-header .wrap {
    padding-top: 16px;
    padding-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    flex-shrink: 0;
}
.brand img {
    height: 38px;
    width: auto;
}
.brand .brand-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.15;
    white-space: nowrap;
}
.primary-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14.5px;
    font-weight: 600;
    flex: 1;
    justify-content: center;
}
.primary-nav a {
    color: var(--ink);
}
.primary-nav a.current,
.primary-nav a:hover {
    color: var(--blue);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.header-actions .prayer-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    background: var(--ink-08);
    color: var(--ink);
    font-size: 20px;
    border: none;
    flex-shrink: 0;
}
.mobile-nav {
    display: none;
    border-top: 1px solid var(--ink-08);
    padding: 12px clamp(20px, 5vw, 40px) 20px;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav a {
    padding: 12px 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 1px solid var(--ink-08);
}
.mobile-nav a.current {
    color: var(--blue);
}
.mobile-nav .btn {
    margin-top: 8px;
    text-align: center;
}
body.nav-open .mobile-nav {
    display: flex;
}
@media (max-width: 880px) {
    .primary-nav,
    .header-actions {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
}

/* ---------- Hero (shared pattern) ---------- */
.hero {
    border-bottom: 1px solid var(--ink-08);
}
.hero .wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(24px, 5vw, 64px);
    align-items: stretch;
}
.hero-copy {
    padding: clamp(48px, 8vw, 96px) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    max-width: 600px;
}
.hero-copy h1 {
    font-size: clamp(30px, 6vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.hero-copy p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-60);
    font-weight: 500;
}
.hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 10px;
    padding-top: 24px;
    border-top: 1px solid var(--ink-08);
}
.hero-stats .stat b {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 24px;
}
.hero-stats .stat span {
    font-size: 13px;
    color: var(--ink-60);
    font-weight: 600;
}
.hero-media {
    position: relative;
    border-radius: 18px;
    margin: 36px 0;
    overflow: hidden;
    min-height: 400px;
}
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Sections ---------- */
section {
    padding: clamp(48px, 8vw, 76px) 0;
}
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.section-head h2 {
    font-size: 32px;
    font-weight: 800;
}
.section-soft {
    background: var(--bg-soft);
}
.section-dark {
    background: var(--earth);
}
.section-dark h2,
.section-dark p,
.section-dark .eyebrow {
    color: #fff;
}
.section-dark .eyebrow {
    color: var(--green);
}

/* ---------- Grids / cards ---------- */
.grid {
    display: grid;
    gap: 24px;
}
.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}
.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    border: 1px solid var(--ink-10);
    border-radius: 14px;
    padding: 28px;
}
.card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-60);
}
.card .date {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 16px;
}

/* Event card */
.event-card {
    border: 1px solid var(--ink-10);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    color: inherit;
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(26, 29, 26, 0.12);
    border-color: rgba(26, 29, 26, 0.2);
}
.event-card .thumb {
    height: 130px;
    position: relative;
    overflow: hidden;
}
.event-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.event-card .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    font-weight: 700;
    font-size: 11.5px;
    padding: 5px 9px;
    border-radius: 6px;
}
.event-card .body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.event-card h3 {
    font-size: 17px;
    font-weight: 700;
}
.event-card .date {
    font-weight: 800;
    font-size: 12.5px;
    color: var(--ink-45);
    letter-spacing: 0.03em;
}
.event-card .loc {
    font-size: 13px;
    color: var(--ink-45);
    font-weight: 600;
    margin-top: auto;
    padding-top: 10px;
}

/* Service times */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
}
.service-grid .slot {
    background: var(--ink);
    padding: 26px;
}
.service-grid .slot .day {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.service-grid .slot .time {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}
.service-grid .slot .label {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 4px;
}

/* About / mission cards + board */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
}
.board-card {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 1px 3px rgba(26, 29, 26, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    color: inherit;
}
.board-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 29, 26, 0.18);
}
.board-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.board-card .scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 29, 26, 0) 35%, rgba(26, 29, 26, 0.88) 100%);
}
.board-card .info {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
}
.board-card .role-badge {
    display: inline-block;
    color: #fff;
    font-weight: 800;
    font-size: 10.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 5px;
    margin-bottom: 10px;
	display: none;
}
.board-card .name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.2;
}
.board-card .view {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
}

/* Gallery */
.gallery {
    margin-top: 56px;
}
.gallery-stage {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--ink);
    aspect-ratio: 16/8;
}
.gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}
.gallery-stage img.active {
    opacity: 1;
    pointer-events: auto;
}
.gallery-stage .scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.gallery-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
}
.gallery-arrow.prev {
    left: 18px;
}
.gallery-arrow.next {
    right: 18px;
}
.gallery-caption {
    position: absolute;
    left: clamp(16px, 4vw, 32px);
    right: clamp(16px, 4vw, 32px);
    bottom: clamp(16px, 3vw, 28px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.gallery-caption .year {
    display: inline-block;
    background: rgba(75, 198, 46, 0.9);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 5px 11px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.gallery-caption h3 {
    font-size: 23px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}
.gallery-caption p {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
}
.gallery-counter {
    font-family: ui-monospace, monospace;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    padding-bottom: 4px;
}
.gallery-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}
.gallery-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(26, 29, 26, 0.2);
    padding: 0;
    transition: all 0.2s ease;
}
.gallery-dots button.active {
    width: 22px;
    background: var(--ink);
}
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 12px;
    margin-top: 20px;
}
.gallery-thumbs button {
    aspect-ratio: 4/3;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    border: 2.5px solid transparent;
    opacity: 0.65;
    transition:
        opacity 0.2s ease,
        border-color 0.2s ease;
    background: none;
}
.gallery-thumbs button.active {
    border-color: var(--green);
    opacity: 1;
}
.gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA / footer */
.cta-band {
    background: var(--blue);
}
.cta-band .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-band h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
}
.cta-band p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 560px;
}
.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer {
    background: var(--ink);
    padding: clamp(32px, 6vw, 56px) 0 32px;
    color: #fff;
}
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(24px, 4vw, 40px);
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.footer-brand .logo-chip {
    background: #fff;
    border-radius: 8px;
    padding: 4px 6px;
    display: flex;
    align-items: center;
}
.footer-brand img {
    height: 28px;
}
.footer-brand span {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14.5px;
}
.footer-col h4 {
    font-size: 12.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}
.footer-col a,
.footer-col div {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}
.footer-bottom {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}
.footer-bottom nav {
    display: flex;
    gap: 22px;
    font-size: 13.5px;
}
.footer-bottom nav a {
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Ministries page ---------- */
.ministry-btn {
    text-align: left;
    background: #fff;
    border: 1px solid var(--ink-10);
    border-radius: 14px;
    padding: 24px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.ministry-btn:hover {
    border-color: var(--ink);
}
.ministry-btn.active {
    border: 1.5px solid var(--ink);
    box-shadow: 0 8px 20px rgba(26, 29, 26, 0.08);
}
.ministry-btn .name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15.5px;
    margin-bottom: 6px;
}
.ministry-btn .tagline {
    font-size: 13px;
    color: var(--ink-60);
    line-height: 1.5;
}
.ministry-detail-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.ministry-detail-head .icon-badge {
    width: 52px;
    height: 52px;
    font-size: 22px;
    margin-bottom: 0;
}
.ministry-detail-head h2 {
    font-size: 26px;
    font-weight: 800;
}
.ministry-detail-head .tagline {
    font-size: 14px;
    color: var(--ink-60);
    font-weight: 600;
}
.ministry-side {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid var(--ink-10);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ministry-side .label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-45);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.ministry-side .val {
    font-size: 14.5px;
    font-weight: 600;
}
.sermon {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--ink-10);
    padding: 22px 24px;
    margin-bottom: 14px;
}
.sermon-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.sermon-meta {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-45);
    margin-bottom: 4px;
}
.sermon-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
}
.sermon-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.sermon-actions button {
    font-size: 13px;
    font-weight: 700;
    padding: 8px 13px;
    border-radius: 8px;
    border: 1px solid rgba(26, 29, 26, 0.15);
    background: #fff;
    color: var(--ink);
}
.sermon-actions button.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.sermon-panel {
    display: none;
    margin-top: 18px;
}
.sermon-panel.open {
    display: block;
}
.sermon-video {
    border-radius: 10px;
    aspect-ratio: 16/9;
    max-width: 480px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.sermon-video .play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}
.sermon-audio {
    border-radius: 10px;
    padding: 16px 18px;
    background: rgba(38, 29, 234, 0.06);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 480px;
}
.sermon-audio .play {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}
.sermon-notes {
    padding: 18px 20px;
    background: #fafaf9;
    border-radius: 10px;
    border: 1px solid var(--ink-08);
    max-width: 640px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-60);
}

/* ---------- Events page ---------- */
.filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.filters a {
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--ink-10);
    color: var(--ink);
}
.filters a.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.filters a:hover {
    border-color: var(--ink);
    color: var(--ink);
}
.rsvp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.rsvp-btn {
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 7px;
    border: 1.5px solid var(--ink-10);
    background: #fff;
    color: var(--ink);
}
.rsvp-btn.going {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
.rsvp-confirm {
    padding: 10px 12px;
    background: rgba(75, 198, 46, 0.1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #2f8a1c;
    margin-top: 8px;
    display: none;
}
.rsvp-confirm.show {
    display: block;
}

/* ---------- Event / Board detail ---------- */
.detail-back {
    padding: 28px 0 0;
    font-size: 14px;
    font-weight: 700;
}
.detail-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 21/9;
    margin: 24px 0 44px;
}
.detail-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.detail-hero .scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 29, 26, 0.05) 30%, rgba(26, 29, 26, 0.9) 100%);
}
.detail-hero .info {
    position: absolute;
    left: 36px;
    right: 36px;
    bottom: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.detail-hero .badge {
    display: inline-block;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}
.detail-hero h1 {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}
.detail-hero .since {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}
.detail-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.detail-about p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink-60);
}
.detail-side {
    background: var(--bg-soft);
    border-radius: 14px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.detail-side .label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-45);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.detail-side .val {
    font-size: 15px;
    font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    border: 1px solid var(--ink-10);
    border-radius: 16px;
    overflow: hidden;
}
.contact-map {
    min-height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.contact-map .pin {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 9px;
    box-shadow: 0 6px 16px rgba(26, 29, 26, 0.12);
    font-size: 13px;
    font-weight: 700;
}
.contact-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    background: #fff;
}
.contact-info .label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-45);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.contact-info .val {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    max-width: 220px;
    font-size: 14.5px;
}
.hours-row span:first-child {
    color: var(--ink-60);
}
.hours-row span:last-child {
    font-weight: 600;
}

.prayer-form {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--ink-08);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-60);
}
.form-field input,
.form-field textarea {
    padding: 12px 14px;
    border: 1.5px solid var(--ink-10);
    border-radius: 9px;
    font-size: 14.5px;
    font-family: var(--font-body);
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--blue);
}
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-60);
}
.form-check input {
    width: 17px;
    height: 17px;
}
.prayer-success {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(75, 198, 46, 0.3);
    padding: 40px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.prayer-success .check {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

@media (max-width: 640px) {
    .cta-band .wrap {
        text-align: left;
    }
    .detail-hero .info {
        flex-direction: column;
        align-items: flex-start;
    }
}
