:root {
      --navy: #142c3b;
      --navy-2: #203d4e;
      --teal: #397d78;
      --teal-soft: #e7f1ee;
      --gold: #d7ad66;
      --gold-soft: #f5ead8;
      --ink: #25323a;
      --muted: #718087;
      --cream: #fbfaf7;
      --white: #fff;
      --line: #e8e8e2;
      --shadow: 0 18px 55px rgba(20, 44, 59, .11);
      --radius: 22px;
      --font-body: 'DM Sans', sans-serif;
      --font-display: 'Playfair Display', Georgia, serif;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 90px; }
    body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); line-height: 1.65; }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; }
    .container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
    .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--teal); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
    .eyebrow::before { content: ''; width: 25px; height: 1px; background: var(--gold); }
    .section { padding: 94px 0; }
    .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 38px; }
    .section-heading h2 { margin: 10px 0 0; color: var(--navy); font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3.25rem); font-weight: 600; line-height: 1.13; }
    .section-heading p { max-width: 430px; margin: 0; color: var(--muted); }
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; background: var(--teal); color: white; font-size: .9rem; font-weight: 700; transition: .25s ease; cursor: pointer; }
    .btn:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 9px 22px rgba(20,44,59,.16); }
    .btn-outline { border-color: rgba(255,255,255,.62); background: transparent; color: white; }
    .btn-outline:hover { border-color: white; background: white; color: var(--navy); }
    .btn-light { background: white; color: var(--navy); }
    .btn-light:hover { background: var(--gold-soft); color: var(--navy); }
    .text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: .9rem; font-weight: 700; }
    .text-link:hover { color: var(--navy); gap: 13px; }
    .arrow { font-size: 1.15rem; transition: .2s; }

    /* Top bar and navigation */
    .topbar { background: var(--navy); color: rgba(255,255,255,.82); font-size: .78rem; }
    .topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 37px; gap: 20px; }
    .topbar-left, .topbar-right { display: flex; align-items: center; gap: 19px; }
    .topbar a:hover { color: var(--gold); }
    .top-dot { color: var(--gold); }
    .navbar { position: sticky; z-index: 50; top: 0; background: rgba(251,250,247,.94); border-bottom: 1px solid rgba(20,44,59,.07); backdrop-filter: blur(16px); }
    .nav-inner { display: flex; justify-content: space-between; align-items: center; height: 82px; gap: 25px; }
    .brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
    .brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--navy); color: var(--gold); }
    .brand-mark svg { width: 25px; height: 25px; }
    .brand-name { color: var(--navy); font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
    .brand-sub { display: block; margin-top: 4px; color: var(--muted); font-family: var(--font-body); font-size: .62rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
    .nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
    .nav-links a { color: #40515a; font-size: .83rem; font-weight: 600; transition: .2s; white-space: nowrap; }
    .nav-links a:hover, .nav-links a.active { color: var(--teal); }
    .nav-cta { min-height: 43px; padding: 0 18px; font-size: .81rem; white-space: nowrap; }
    .menu-toggle { display: none; width: 45px; height: 45px; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--navy); cursor: pointer; }
    .menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; border-radius: 2px; background: currentColor; transition: .2s; }

    /* Hero slider */
    .hero { position: relative; min-height: 620px; overflow: hidden; background: var(--navy); color: white; }
    .hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; background-size: cover; background-position: center; }
    .hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,29,40,.88) 0%, rgba(10,29,40,.68) 48%, rgba(10,29,40,.2) 100%); }
    .hero-slide.active { opacity: 1; visibility: visible; }
    .hero-content { position: relative; z-index: 1; width: min(720px, 72%); padding: 90px 0 110px; animation: rise .7s ease both; }
    @keyframes rise { from { transform: translateY(18px); opacity: .2; } to { transform: translateY(0); opacity: 1; } }
    .hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 23px; color: #f1d7a7; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
    .hero-kicker::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
    .hero h1 { max-width: 720px; margin: 0; font-family: var(--font-display); font-size: clamp(3.1rem, 6.6vw, 5.8rem); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
    .hero h1 em { color: #e8c78e; font-style: normal; }
    .hero p { max-width: 510px; margin: 23px 0 30px; color: rgba(255,255,255,.82); font-size: 1.02rem; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .hero-controls { position: absolute; z-index: 2; right: max(24px, calc((100% - 1160px)/2)); bottom: 42px; display: flex; align-items: center; gap: 10px; }
    .hero-arrow { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.08); color: white; cursor: pointer; transition: .2s; }
    .hero-arrow:hover { background: white; color: var(--navy); }
    .hero-dots { display: flex; gap: 7px; margin: 0 7px; }
    .hero-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 9px; background: rgba(255,255,255,.45); cursor: pointer; transition: .25s; }
    .hero-dot.active { width: 25px; background: var(--gold); }
    .hero-note { position: absolute; z-index: 2; right: max(24px, calc((100% - 1160px)/2)); top: 50%; display: flex; align-items: center; gap: 12px; transform: translateY(-50%); writing-mode: vertical-rl; color: rgba(255,255,255,.7); font-size: .67rem; letter-spacing: .18em; text-transform: uppercase; }
    .hero-note::after { content: ''; width: 1px; height: 55px; background: var(--gold); }
    .hero-bottom { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; height: 7px; background: rgba(255,255,255,.13); }
    .hero-progress { width: 33.33%; height: 100%; background: var(--gold); transition: width .4s; }

    /* Welcome strip */
    .welcome-strip { position: relative; z-index: 3; margin-top: -1px; background: white; }
    .welcome-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: center; gap: 25px; padding: 25px 0; }
    .welcome-title { color: var(--navy); font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; }
    .welcome-item { display: flex; align-items: center; gap: 13px; }
    .welcome-icon { flex: 0 0 43px; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); font-size: 1.2rem; }
    .welcome-item strong { display: block; color: var(--navy); font-size: .86rem; }
    .welcome-item small { color: var(--muted); font-size: .75rem; }

    /* Worship */
    .worship-section { background: var(--cream); }
    .worship-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .worship-card { position: relative; overflow: hidden; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: .3s; }
    .worship-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
    .worship-card.featured { background: var(--navy); color: white; border-color: var(--navy); }
    .worship-card.featured::after { content: '✦'; position: absolute; right: 20px; top: 10px; color: rgba(215,173,102,.22); font-size: 6rem; line-height: 1; }
    .worship-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 16px; background: var(--gold-soft); color: #9a7138; font-size: 1.3rem; }
    .featured .worship-icon { background: rgba(255,255,255,.12); color: var(--gold); }
    .worship-card h3 { position: relative; margin: 0 0 5px; color: var(--navy); font-family: var(--font-display); font-size: 1.3rem; }
    .featured h3 { color: white; }
    .worship-time { position: relative; color: var(--teal); font-size: 1.35rem; font-weight: 700; }
    .featured .worship-time { color: #e7c58d; }
    .worship-card p { position: relative; margin: 10px 0 0; color: var(--muted); font-size: .84rem; }
    .featured p { color: rgba(255,255,255,.68); }
    .demo-note { margin-top: 18px; color: #8b7a5d; font-size: .75rem; }

    /* About */
    .about-section { background: white; }
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 90px); }
    .about-photo { position: relative; min-height: 500px; }
    .about-photo-main { position: absolute; inset: 0 55px 45px 0; overflow: hidden; border-radius: 170px 170px 25px 25px; }
    .about-photo-main img { width: 100%; height: 100%; object-fit: cover; }
    .about-photo-small { position: absolute; right: 0; bottom: 0; width: 44%; height: 220px; overflow: hidden; border: 9px solid white; border-radius: 20px; box-shadow: var(--shadow); }
    .about-photo-small img { width: 100%; height: 100%; object-fit: cover; }
    .about-stamp { position: absolute; left: -18px; bottom: 58px; display: grid; place-items: center; width: 105px; height: 105px; border: 7px solid white; border-radius: 50%; background: var(--gold); color: var(--navy); text-align: center; font-family: var(--font-display); font-size: .9rem; line-height: 1.15; transform: rotate(-9deg); }
    .about-copy h2 { margin: 11px 0 17px; color: var(--navy); font-family: var(--font-display); font-size: clamp(2.3rem, 4vw, 3.45rem); font-weight: 600; line-height: 1.13; }
    .about-copy > p { color: var(--muted); }
    .value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 20px; margin: 28px 0 30px; }
    .value-item { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: .86rem; font-weight: 700; }
    .check { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-size: .75rem; }

    /* Pastor */
    .pastor-section { overflow: hidden; background: #f0f3ef; }
    .pastor-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 75px; }
    .pastor-image { position: relative; width: min(100%, 390px); height: 460px; margin: 0 auto; border-radius: 190px 190px 22px 22px; background: var(--gold-soft); }
    .pastor-image img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center 25%; }
    .pastor-image::after { content: ''; position: absolute; z-index: 0; inset: 15px -15px -15px 15px; border: 1px solid var(--gold); border-radius: inherit; }
    .pastor-image img { position: relative; z-index: 1; }
    .pastor-copy h2 { margin: 10px 0 6px; color: var(--navy); font-family: var(--font-display); font-size: clamp(2.3rem, 4vw, 3.2rem); line-height: 1.12; }
    .pastor-role { color: var(--teal); font-size: .88rem; font-weight: 700; }
    .pastor-copy blockquote { margin: 25px 0; padding: 0 0 0 21px; border-left: 3px solid var(--gold); color: #56656b; font-family: var(--font-display); font-size: 1.24rem; font-style: italic; line-height: 1.5; }
    .pastor-copy p { color: var(--muted); }

    /* Ministries */
    .ministry-section { background: var(--cream); }
    .ministry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .ministry-card { position: relative; min-height: 205px; overflow: hidden; padding: 25px 22px; border: 1px solid var(--line); border-radius: 20px; background: white; transition: .3s; }
    .ministry-card:hover { border-color: transparent; background: var(--navy); color: white; transform: translateY(-5px); box-shadow: var(--shadow); }
    .ministry-symbol { display: grid; place-items: center; width: 49px; height: 49px; margin-bottom: 24px; border-radius: 16px; background: var(--teal-soft); color: var(--teal); font-size: 1.35rem; transition: .3s; }
    .ministry-card:hover .ministry-symbol { background: rgba(255,255,255,.12); color: var(--gold); }
    .ministry-card h3 { margin: 0 0 6px; color: var(--navy); font-family: var(--font-display); font-size: 1.2rem; transition: .3s; }
    .ministry-card:hover h3 { color: white; }
    .ministry-card p { margin: 0; color: var(--muted); font-size: .78rem; transition: .3s; }
    .ministry-card:hover p { color: rgba(255,255,255,.7); }
    .ministry-card .mini-arrow { position: absolute; right: 22px; top: 26px; color: #b4c5c1; font-size: 1.1rem; }

    /* Programs */
    .program-section { background: white; }
    .program-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 25px; }
    .program-feature { position: relative; min-height: 420px; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: white; }
    .program-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .52; }
    .program-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,31,42,.95), rgba(11,31,42,.02) 85%); }
    .program-feature-content { position: absolute; z-index: 1; right: 34px; bottom: 33px; left: 34px; }
    .program-tag { display: inline-block; margin-bottom: 12px; padding: 6px 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; color: #f0d5a9; font-size: .69rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
    .program-feature h3 { max-width: 440px; margin: 0 0 9px; font-family: var(--font-display); font-size: 2.1rem; line-height: 1.15; }
    .program-feature p { max-width: 430px; margin: 0 0 18px; color: rgba(255,255,255,.76); font-size: .86rem; }
    .program-list { display: grid; gap: 15px; }
    .program-row { display: flex; align-items: center; gap: 19px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; transition: .25s; }
    .program-row:hover { border-color: var(--gold); transform: translateX(4px); }
    .program-date { display: grid; place-items: center; flex: 0 0 61px; height: 65px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); line-height: 1.1; }
    .program-date strong { font-family: var(--font-display); font-size: 1.55rem; }
    .program-date small { font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
    .program-info { flex: 1; min-width: 0; }
    .program-info h3 { margin: 0 0 4px; color: var(--navy); font-family: var(--font-display); font-size: 1.05rem; }
    .program-info p { margin: 0; color: var(--muted); font-size: .75rem; }
    .program-row .row-arrow { color: var(--teal); font-size: 1.2rem; }

    /* Events */
    .event-section { background: var(--navy); color: white; }
    .event-section .eyebrow { color: #e7c58d; }
    .event-section .section-heading h2 { color: white; }
    .event-section .section-heading p { color: rgba(255,255,255,.62); }
    .event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .event-card { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.055); transition: .3s; }
    .event-card:hover { background: rgba(255,255,255,.1); transform: translateY(-5px); }
    .event-img { position: relative; height: 205px; overflow: hidden; }
    .event-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
    .event-card:hover .event-img img { transform: scale(1.06); }
    .event-date { position: absolute; left: 17px; bottom: 16px; display: grid; place-items: center; width: 55px; height: 61px; border-radius: 13px; background: white; color: var(--navy); line-height: 1.05; }
    .event-date strong { font-family: var(--font-display); font-size: 1.45rem; }
    .event-date small { color: var(--teal); font-size: .62rem; font-weight: 700; text-transform: uppercase; }
    .event-body { padding: 22px; }
    .event-meta { display: flex; flex-wrap: wrap; gap: 13px; color: #d9c59f; font-size: .71rem; }
    .event-body h3 { margin: 10px 0 8px; color: white; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; }
    .event-body p { margin: 0 0 15px; color: rgba(255,255,255,.62); font-size: .8rem; }
    .event-body .text-link { color: #e7c58d; }

    /* News */
    .news-section { background: var(--cream); }
    .news-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
    .news-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; transition: .3s; }
    .news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
    .news-card:first-child .news-img { height: 245px; }
    .news-img { height: 190px; overflow: hidden; }
    .news-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
    .news-card:hover .news-img img { transform: scale(1.05); }
    .news-content { padding: 22px; }
    .news-meta { color: var(--teal); font-size: .69rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
    .news-content h3 { margin: 9px 0; color: var(--navy); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; }
    .news-content p { margin: 0 0 16px; color: var(--muted); font-size: .79rem; }

    /* Gallery */
    .gallery-section { padding-bottom: 100px; background: white; }
    .gallery-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; grid-template-rows: 190px 190px; gap: 13px; }
    .gallery-item { position: relative; overflow: hidden; border-radius: 16px; background: #dfe8e4; cursor: pointer; }
    .gallery-item:first-child { grid-row: span 2; }
    .gallery-item:nth-child(4) { grid-column: span 2; }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
    .gallery-item:hover img { transform: scale(1.08); }
    .gallery-item::after { content: 'Lihat foto ↗'; position: absolute; right: 14px; bottom: 13px; padding: 6px 10px; border-radius: 99px; background: rgba(20,44,59,.72); color: white; font-size: .68rem; opacity: 0; transform: translateY(6px); transition: .25s; }
    .gallery-item:hover::after { opacity: 1; transform: translateY(0); }

    /* CTA and contact */
    .join-cta { position: relative; overflow: hidden; padding: 70px 0; background: var(--teal); color: white; }
    .join-cta::before, .join-cta::after { content: ''; position: absolute; width: 310px; height: 310px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
    .join-cta::before { top: -190px; left: -80px; }
    .join-cta::after { right: -100px; bottom: -230px; width: 430px; height: 430px; }
    .join-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
    .join-inner h2 { max-width: 680px; margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
    .join-inner p { margin: 10px 0 0; color: rgba(255,255,255,.75); }
    .contact-section { background: var(--cream); }
    .contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; }
    .contact-info h2 { margin: 10px 0 15px; color: var(--navy); font-family: var(--font-display); font-size: 2.7rem; line-height: 1.12; }
    .contact-info > p { color: var(--muted); }
    .contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-top: 23px; }
    .contact-detail > .contact-icon {
      display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px;
      padding: 0; border: 0; border-radius: 13px; background: var(--teal-soft);
      color: var(--teal); line-height: 0;
    }
    .contact-detail > .contact-icon svg { display: block; width: 20px; height: 20px; }
    .contact-detail > div { min-width: 0; padding-top: 1px; }
    .contact-detail strong { display: block; color: var(--navy); font-size: .86rem; line-height: 1.4; }
    .contact-detail > div > span { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; line-height: 1.55; overflow-wrap: anywhere; }
    .contact-panel { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 35px rgba(20,44,59,.05); }
    .contact-panel h3 { margin: 0 0 20px; color: var(--navy); font-family: var(--font-display); font-size: 1.5rem; }
    .contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .field { display: grid; gap: 6px; }
    .field.full { grid-column: 1 / -1; }
    .field label { color: #52636b; font-size: .75rem; font-weight: 700; }
    .field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #e3e8e5; border-radius: 11px; outline: none; background: #fcfdfb; color: var(--ink); font: inherit; font-size: .84rem; transition: .2s; }
    .field textarea { min-height: 105px; resize: vertical; }
    .field input:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(57,125,120,.1); }
    .form-note { grid-column: 1/-1; margin: 0; color: var(--muted); font-size: .7rem; }

    /* Footer */
    .footer { padding: 65px 0 0; background: #102531; color: white; }
    .footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1fr; gap: 42px; padding-bottom: 52px; }
    .footer .brand-name { color: white; }
    .footer .brand-sub { color: rgba(255,255,255,.5); }
    .footer-about p { max-width: 310px; margin: 20px 0; color: rgba(255,255,255,.6); font-size: .81rem; }
    .socials { display: flex; gap: 8px; }
    .socials a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; font-size: .75rem; font-weight: 700; transition: .2s; }
    .socials a:hover { border-color: var(--gold); background: var(--gold); color: var(--navy); }
    .footer-col h4 { margin: 5px 0 18px; color: #f0d5a9; font-family: var(--font-display); font-size: 1.1rem; }
    .footer-col a, .footer-col p { display: block; margin: 0 0 11px; color: rgba(255,255,255,.62); font-size: .79rem; }
    .footer-col a:hover { color: white; }
    .footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); font-size: .7rem; }

    /* Floating actions and modal */
    .wa-float { position: fixed; z-index: 60; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 12px 17px 12px 13px; border: 0; border-radius: 99px; background: #20b86a; color: white; box-shadow: 0 12px 28px rgba(32,184,106,.3); font-size: .82rem; font-weight: 700; cursor: pointer; transition: .25s; }
    .wa-float:hover { transform: translateY(-4px); background: #159653; }
    .wa-symbol { display: grid; place-items: center; width: 29px; height: 29px; border: 2px solid rgba(255,255,255,.8); border-radius: 50%; font-size: .85rem; }
    .back-top { position: fixed; z-index: 55; right: 29px; bottom: 91px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--navy); box-shadow: 0 5px 18px rgba(20,44,59,.1); opacity: 0; visibility: hidden; cursor: pointer; transition: .2s; }
    .back-top.show { opacity: 1; visibility: visible; }
    .lightbox { position: fixed; z-index: 100; inset: 0; display: none; align-items: center; justify-content: center; padding: 25px; background: rgba(7,19,26,.92); }
    .lightbox.open { display: flex; }
    .lightbox img { max-width: min(100%, 1050px); max-height: 86vh; border-radius: 12px; box-shadow: 0 20px 70px rgba(0,0,0,.4); }
    .lightbox-close { position: absolute; top: 22px; right: 25px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: transparent; color: white; font-size: 1.5rem; cursor: pointer; }
    .toast { position: fixed; z-index: 110; left: 50%; bottom: 25px; max-width: calc(100% - 35px); padding: 12px 18px; border-radius: 12px; background: var(--navy); color: white; font-size: .83rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: .25s; }
    .toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

    @media (max-width: 1050px) {
      .nav-links { gap: 13px; }
      .nav-links a { font-size: .76rem; }
      .nav-cta { display: none; }
      .ministry-grid { grid-template-columns: repeat(3, 1fr); }
      .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
      .footer-col:last-child { grid-column: 2 / 4; }
    }
    @media (max-width: 800px) {
      .container { width: min(100% - 36px, 620px); }
      .topbar-inner { justify-content: center; }
      .topbar-right { display: none; }
      .nav-inner { height: 72px; }
      .brand { min-width: auto; }
      .menu-toggle { display: block; }
      .nav-links { position: absolute; top: 71px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 10px 18px 18px; border-bottom: 1px solid var(--line); background: var(--cream); box-shadow: 0 18px 24px rgba(20,44,59,.08); }
      .nav-links.open { display: flex; flex-direction: column; }
      .nav-links a { padding: 12px 8px; border-bottom: 1px solid rgba(20,44,59,.06); font-size: .9rem; }
      .hero { min-height: 600px; }
      .hero-content { width: 88%; padding: 85px 0 120px; }
      .hero h1 { font-size: clamp(3rem, 10vw, 4.7rem); }
      .hero-note { display: none; }
      .welcome-inner { grid-template-columns: 1fr 1fr; gap: 18px; }
      .welcome-title { grid-column: 1/-1; }
      .section { padding: 72px 0; }
      .section-heading { display: block; }
      .section-heading p { margin-top: 14px; }
      .worship-grid { grid-template-columns: 1fr 1fr; }
      .about-grid, .pastor-grid, .program-layout, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
      .about-photo { min-height: 440px; width: min(100%, 550px); margin: 0 auto; }
      .pastor-grid { gap: 38px; }
      .pastor-image { height: 410px; }
      .ministry-grid { grid-template-columns: repeat(2, 1fr); }
      .event-grid { grid-template-columns: repeat(2, 1fr); }
      .news-grid { grid-template-columns: 1fr 1fr; }
      .news-card:first-child { grid-column: 1/-1; }
      .news-card:first-child .news-img { height: 270px; }
      .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 210px 160px 160px; }
      .gallery-item:first-child { grid-row: span 2; }
      .gallery-item:nth-child(4) { grid-column: auto; }
      .join-inner { align-items: flex-start; flex-direction: column; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
      .footer-col:last-child { grid-column: auto; }
    }
    @media (max-width: 520px) {
      .container { width: calc(100% - 32px); }
      .topbar { font-size: .69rem; }
      .brand-mark { width: 42px; height: 42px; }
      .brand-name { font-size: 1.05rem; }
      .hero { min-height: 590px; }
      .hero-slide::before { background: linear-gradient(90deg, rgba(10,29,40,.88), rgba(10,29,40,.48)); }
      .hero-content { width: 100%; padding: 76px 0 125px; }
      .hero-kicker { font-size: .65rem; }
      .hero h1 { font-size: clamp(2.75rem, 13vw, 3.7rem); }
      .hero p { font-size: .9rem; }
      .hero-actions .btn { min-height: 45px; padding: 0 16px; font-size: .8rem; }
      .hero-controls { right: 16px; bottom: 29px; }
      .welcome-inner { grid-template-columns: 1fr; padding: 23px 0; }
      .welcome-title { grid-column: auto; }
      .section { padding: 62px 0; }
      .section-heading h2 { font-size: 2.25rem; }
      .worship-grid { grid-template-columns: 1fr; }
      .worship-card { padding: 23px; }
      .about-photo { min-height: 360px; }
      .about-photo-main { right: 38px; bottom: 36px; }
      .about-photo-small { height: 150px; border-width: 6px; }
      .about-stamp { left: -8px; bottom: 47px; width: 82px; height: 82px; border-width: 5px; font-size: .72rem; }
      .about-copy h2 { font-size: 2.45rem; }
      .value-list { gap: 12px 8px; }
      .value-item { gap: 7px; font-size: .75rem; }
      .check { flex-basis: 21px; width: 21px; height: 21px; }
      .pastor-image { height: 370px; width: 85%; }
      .ministry-grid { gap: 11px; }
      .ministry-card { min-height: 180px; padding: 19px 16px; }
      .ministry-symbol { margin-bottom: 18px; }
      .ministry-card h3 { font-size: 1.05rem; }
      .ministry-card p { font-size: .73rem; }
      .program-feature { min-height: 380px; }
      .program-feature-content { right: 23px; bottom: 24px; left: 23px; }
      .program-feature h3 { font-size: 1.8rem; }
      .program-row { gap: 12px; padding: 13px; }
      .program-date { flex-basis: 53px; height: 58px; }
      .program-info h3 { font-size: .95rem; }
      .event-grid { grid-template-columns: 1fr; }
      .event-img { height: 215px; }
      .news-grid { grid-template-columns: 1fr; }
      .news-card:first-child { grid-column: auto; }
      .news-card:first-child .news-img, .news-img { height: 205px; }
      .gallery-grid { grid-template-rows: 180px 130px 130px; gap: 9px; }
      .gallery-item { border-radius: 12px; }
      .join-cta { padding: 55px 0; }
      .join-inner h2 { font-size: 2.25rem; }
      .contact-info h2 { font-size: 2.3rem; }
      .contact-panel { padding: 21px; }
      .contact-form { grid-template-columns: 1fr; }
      .field.full { grid-column: auto; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
      .footer-about { grid-column: 1/-1; }
      .footer-col h4 { font-size: 1rem; }
      .footer-bottom { flex-direction: column; gap: 5px; }
      .wa-float { right: 14px; bottom: 15px; padding: 9px 13px 9px 10px; font-size: .75rem; }
      .wa-symbol { width: 27px; height: 27px; }
      .back-top { right: 19px; bottom: 72px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
    }

/* Dynamic CMS content extensions */
.brand-mark { overflow:hidden; }
.brand-mark img { display:block; }
.article-shell { padding:80px 0; background:var(--cream); }
.article-card { max-width:900px; margin:0 auto; padding:clamp(24px,5vw,55px); border:1px solid var(--line); border-radius:var(--radius); background:#fff; box-shadow:var(--shadow); }
.article-card h1 { margin:12px 0 15px; color:var(--navy); font-family:var(--font-display); font-size:clamp(2.3rem,5vw,3.7rem); line-height:1.12; }
.article-meta { color:var(--teal); font-size:.76rem; font-weight:700; }
.article-cover { width:100%; max-height:460px; margin:25px 0; border-radius:18px; object-fit:cover; }
.article-body { color:#52636b; font-size:1rem; line-height:1.9; white-space:pre-line; }
.article-body p { margin:0 0 18px; }
.article-back { margin-top:30px; }

.site-flash{margin:18px 0 0;padding:12px 16px;border-radius:12px;font-size:.84rem}.site-flash.success{background:#e8f5ed;color:#246d49}.site-flash.error{background:#fff0f0;color:#a3333c}

.church-vm{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.church-vm>div{padding:15px;border:1px solid var(--line);border-radius:14px;background:#fbfcfa}.church-vm strong{display:block;color:var(--teal);font-family:var(--font-display);font-size:1.05rem}.church-vm p{margin:6px 0 0;color:var(--muted);font-size:.8rem}@media(max-width:520px){.church-vm{grid-template-columns:1fr}}
