:root {
    --bg: #f5f5f2;
    --text: #0d0d0d;
    --muted: #5a5a5a;
    --black: #0a0a0a;
    --white: #ffffff;
    --line: rgba(13, 13, 13, 0.12);
    --container: min(1280px, calc(100vw - 32px));
    --content: min(1160px, calc(100vw - 32px));
    --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
}

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

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: #0a0a0a;
    color: #ffffff;
}

button {
    font: inherit;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ffffff;
}

.skip-link:focus {
    top: 16px;
}

.wide-container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    padding: 18px 0;
    transition: background 0.2s ease, padding 0.2s ease;
}

.site-header.is-solid {
    padding: 12px 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(14px);
}

.nav-inner {
    width: var(--content);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 150px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.site-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.24s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-nav a[aria-current="page"] {
    color: #ffffff;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #ffffff;
}

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: var(--black);
    color: #ffffff;
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    animation: heroFloat 16s ease-in-out infinite alternate;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.14)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.1));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: var(--content);
    min-height: 100svh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 140px 0 60px;
}

.kicker {
    display: inline-flex;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.kicker.dark {
    color: #6a6a6a;
}

.hero h1,
.statement h2,
.times h2,
.image-feature h2,
.prayer h2,
.visit h2,
.site-footer h2 {
    margin: 0;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero h1 {
    max-width: 10ch;
    font-size: clamp(4rem, 9vw, 8rem);
}

.text-rotate {
    display: inline-block;
    color: #ffffff;
}

.text-rotate-sub {
    display: inline-block;
}

.is-changing {
    animation: textSwap 0.42s ease both;
}

.hero p:not(.kicker) {
    max-width: 560px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.12rem;
}

.hero-actions,
.visit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

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

.button.light,
.button.dark {
    overflow: hidden;
}

.button.light::before,
.button.dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: translateX(-120%);
    transition: transform 0.5s ease;
}

.button.light:hover::before,
.button.dark:hover::before {
    transform: translateX(120%);
}

.button.light {
    background: #ffffff;
    color: #0a0a0a;
}

.button.dark {
    background: #0a0a0a;
    color: #ffffff;
}

.button.outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: transparent;
}

.button.outline-dark {
    border-color: rgba(10, 10, 10, 0.18);
    color: #0a0a0a;
    background: transparent;
}

.statement,
.times,
.prayer,
.visit {
    padding: 96px 0;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.statement {
    background: #ffffff;
}

.statement-grid,
.split-heading,
.prayer-grid,
.visit-grid,
.footer-grid,
.footer-bottom {
    width: var(--content);
    margin: 0 auto;
}

.statement-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 24px;
    align-items: end;
}

.statement h2,
.times h2,
.image-feature h2,
.prayer h2,
.visit h2 {
    font-size: clamp(2.4rem, 5vw, 5.2rem);
}

.statement p,
.times p,
.image-feature p,
.prayer p,
.visit p,
.site-footer p,
.site-footer a,
.footer-bottom {
    color: var(--muted);
}

.split-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 34px;
}

.times-grid {
    width: var(--content);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
}

.times-grid article {
    padding: 28px 24px;
    background: #ffffff;
    border-top: 3px solid #0a0a0a;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.times-grid article:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.image-feature img,
.event-card img,
.timeline-card img,
.team-card img,
.contact-card img {
    transition: transform 0.6s ease, filter 0.3s ease;
}

.image-feature:hover img,
.event-card:hover img,
.timeline-card:hover img,
.team-card:hover img,
.contact-card:hover img {
    transform: scale(1.025);
    filter: contrast(1.03);
}

.times-grid span {
    display: inline-block;
    margin-bottom: 18px;
    color: #6a6a6a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.times-grid h3 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    line-height: 1.15;
}

.times-grid p {
    margin: 0;
}

.image-feature {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 720px;
}

.image-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-feature-light img[src*="LOGO GVI"] {
    object-fit: contain;
    padding: 72px;
    background: #ffffff;
}

.feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px;
}

.image-feature-dark {
    background: #111111;
    color: #ffffff;
}

.image-feature-dark p:not(.kicker) {
    color: rgba(255, 255, 255, 0.72);
}

.image-feature-light {
    background: #ffffff;
}

.prayer {
    background: #0a0a0a;
    color: #ffffff;
}

.prayer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: center;
}

.prayer img {
    justify-self: end;
    max-width: 320px;
}

.prayer p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.72);
}

.visit {
    background: #ffffff;
}

.visit-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: end;
}

.site-footer {
    padding: 40px 0 28px;
    background: #0a0a0a;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 24px;
}

.site-footer h2 {
    font-size: 1.4rem;
}

.site-footer nav,
.social-links {
    display: grid;
    gap: 10px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero {
    position: relative;
    min-height: 68svh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 140px 0 70px;
    background: #0a0a0a;
    color: #ffffff;
}

.page-hero img,
.page-hero::after {
    position: absolute;
    inset: 0;
}

.page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.page-hero::after {
    content: "";
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.38)), linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.08));
}

.page-hero-content {
    position: relative;
    z-index: 1;
    width: var(--content);
    margin: 0 auto;
}

.page-hero h1 {
    max-width: 980px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(3.4rem, 8vw, 7rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.page-hero p:not(.kicker) {
    max-width: 620px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
}

.content-section {
    padding: 96px 0;
}

.content-section.white {
    background: #ffffff;
}

.content-grid,
.two-col,
.three-col,
.team-grid,
.timeline-list,
.contact-grid {
    width: var(--content);
    margin: 0 auto;
}

.content-grid,
.two-col,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 44px;
    align-items: start;
}

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

.content-section h2,
.card-list h3,
.value-card h3,
.team-card h3,
.event-card h2,
.timeline-card h2,
.contact-card h2 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.content-section h2 {
    font-size: clamp(2.2rem, 5vw, 5rem);
}

.content-section p,
.card-list p,
.value-card p,
.team-card p,
.event-card p,
.timeline-card p,
.contact-card p,
.clean-list {
    color: var(--muted);
}

.card-list {
    display: grid;
    gap: 18px;
}

.value-card,
.team-card,
.event-card,
.timeline-card,
.contact-card {
    background: #ffffff;
    border-top: 3px solid #0a0a0a;
    padding: 28px;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.value-card:hover,
.team-card:hover,
.event-card:hover,
.timeline-card:hover,
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.value-card.dark,
.event-card.dark {
    background: #0a0a0a;
    color: #ffffff;
}

.value-card.dark p,
.event-card.dark p {
    color: rgba(255, 255, 255, 0.72);
}

.team-card img,
.event-card img,
.timeline-card img,
.contact-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 22px;
}

.clean-list {
    padding-left: 18px;
}

.clean-list li + li {
    margin-top: 8px;
}

.timeline-list {
    display: grid;
    gap: 22px;
}

.timeline-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.timeline-card img {
    margin: 0;
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(24, 24, 26, 0.9);
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: opacity 0.24s ease, transform 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #ffffff;
    color: #0a0a0a;
    border-color: #ffffff;
}

.back-to-top svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.gtranslate_wrapper {
    position: fixed !important;
    right: calc(44px + 48px + 18px) !important;
    bottom: 18px !important;
    z-index: 80;
}

.gtranslate_wrapper .gt_float_switcher {
    display: flex !important;
    align-items: center !important;
    min-width: 118px !important;
    height: 44px !important;
    min-height: 44px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 999px !important;
    background: rgba(24, 24, 26, 0.9) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
}

.gtranslate_wrapper .gt_switcher-popup {
    border-radius: 14px !important;
    background: #111111 !important;
}

.gtranslate_wrapper .gt-selected {
    display: flex !important;
    align-items: center !important;
    height: 44px !important;
    padding: 0 16px !important;
    background: transparent !important;
}

.gtranslate_wrapper .gt-selected a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    line-height: 1 !important;
    height: auto !important;
    padding: 0 !important;
}

.gtranslate_wrapper .gt_float_switcher img {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50%;
    margin-right: 8px !important;
}

.gtranslate_wrapper .gt-current-lang {
    font-size: 0.78rem !important;
}

.gtranslate_wrapper .gt_selected a,
.gtranslate_wrapper .gt-selected .gt-current-lang,
.gtranslate_wrapper .gt_option a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: var(--font) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1 !important;
}

.gtranslate_wrapper .gt_option a {
    padding: 10px 16px !important;
}

.gtranslate_wrapper .gt_option a:hover,
.gtranslate_wrapper .gt_option.gt-lang-code-active a {
    background: #ffffff !important;
    color: #0a0a0a !important;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 0;
    height: 3px;
    background: #ffffff;
    mix-blend-mode: difference;
}

.form-note {
    width: var(--content);
    margin: 0 auto;
    padding: 28px;
    background: #ffffff;
    border-top: 3px solid #0a0a0a;
}

.form-shell {
    width: var(--content);
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

.form-section {
    padding: 28px;
    background: #ffffff;
    border-top: 3px solid #0a0a0a;
}

.form-section h2 {
    margin: 0 0 20px;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

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

.form-field {
    display: grid;
    gap: 8px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    color: #0a0a0a;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #f5f5f2;
    color: var(--text);
    font: inherit;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 2px solid #0a0a0a;
    outline-offset: 2px;
}

.alamat-preview {
    padding: 18px;
    background: #0a0a0a;
    color: #ffffff;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 8px;
}

.submit-btn[disabled] {
    cursor: wait;
    opacity: 0.68;
}

.loading-spinner.hidden,
.hidden {
    display: none !important;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.72);
}

.modal-card {
    width: min(460px, 100%);
    padding: 30px;
    background: #ffffff;
    border-top: 3px solid #0a0a0a;
}

.modal-card h3 {
    margin: 0 0 10px;
    font-size: 1.6rem;
    line-height: 1.1;
}

.modal-card p {
    color: var(--muted);
}

@keyframes heroFloat {
    0% {
        transform: scale(1.02) translateY(0);
    }
    100% {
        transform: scale(1.06) translateY(-8px);
    }
}

@keyframes textSwap {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    .site-header {
        padding: 12px 0;
        background: rgba(10, 10, 10, 0.86);
        backdrop-filter: blur(14px);
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: rgba(10, 10, 10, 0.96);
    }

    .site-nav.is-open {
        display: flex;
    }

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

    .statement-grid,
    .times-grid,
    .image-feature,
    .prayer-grid,
    .visit-grid,
    .footer-grid,
    .content-grid,
    .two-col,
    .three-col,
    .team-grid,
    .contact-grid,
    .timeline-card,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .image-feature {
        min-height: auto;
    }

    .feature-copy {
        padding: 40px 16px;
    }

    .prayer img {
        justify-self: start;
    }

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

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }

    .gtranslate_wrapper {
        right: calc(42px + 40px + 14px) !important;
        bottom: 14px !important;
    }

    .gtranslate_wrapper .gt_float_switcher {
        min-width: 114px !important;
        height: 42px !important;
        min-height: 42px !important;
    }

    .gtranslate_wrapper .gt-selected {
        height: 42px !important;
        padding: 0 14px !important;
    }

    .gtranslate_wrapper .gt-selected a {
        line-height: 1 !important;
        gap: 6px !important;
    }

    .gtranslate_wrapper .gt_float_switcher img {
        width: 17px !important;
        height: 17px !important;
    }

    .gtranslate_wrapper .gt-current-lang {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 640px) {
    .back-to-top {
        right: 12px;
        bottom: 16px;
        width: 38px;
        height: 38px;
    }

    .back-to-top svg {
        width: 14px;
        height: 14px;
    }

    .gtranslate_wrapper {
        right: calc(38px + 32px + 12px) !important;
        bottom: 16px !important;
    }

    .gtranslate_wrapper .gt_float_switcher {
        min-width: 104px !important;
        height: 38px !important;
        min-height: 38px !important;
    }

    .gtranslate_wrapper .gt-selected {
        height: 38px !important;
        padding: 0 10px !important;
    }

    .gtranslate_wrapper .gt-selected a {
        line-height: 1 !important;
        gap: 5px !important;
    }

    .gtranslate_wrapper .gt_float_switcher img {
        width: 15px !important;
        height: 15px !important;
    }

    .gtranslate_wrapper .gt-current-lang {
        font-size: 0.65rem !important;
    }

    .hero-content {
        padding: 124px 0 42px;
    }

    .hero h1 {
        font-size: clamp(3rem, 16vw, 5rem);
    }

    .statement,
    .times,
    .prayer,
    .visit,
    .content-section {
        padding: 72px 0;
    }

    .page-hero {
        min-height: 58svh;
        padding: 124px 0 48px;
    }

    .statement h2,
    .times h2,
    .image-feature h2,
    .prayer h2,
    .visit h2 {
        font-size: clamp(2rem, 10vw, 3.2rem);
    }

    .times-grid article {
        padding: 24px 18px;
    }
}
