/* ==========================================================================
   GOSPEL EMBASSY — Main Stylesheet
   All site CSS combined into one file, in this order:
     1. Variables & base    — colors, fonts, spacing tokens, reset
     2. Header / nav        — sticky top nav bar
     3. Hero                — homepage hero + interior page-hero band
     4. Components          — buttons, cards, forms, tables, misc blocks
     5. Footer              — site footer + floating WhatsApp button
   ========================================================================== */


/* ==========================================================================
   1. VARIABLES & BASE
   ========================================================================== */

:root {
  /* ---- Colors ---- */
  --navy:        #0F1B33;
  --navy-dark:   #090F1E;
  --navy-soft:   #1B2A4A;
  --gold:        #B8902E;
  --gold-light:  #D9B45C;
  --paper:       #FFFFFF;
  --paper-dim:   #F4F4F2;
  --ink:         #14161B;
  --ink-soft:    #43454C;
  --line:        #E2E2E0;
  --green:       #1E5B32;
  --flame:       #C1481C;

  /* ---- Type ---- */
  --font-display: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ---- Layout ---- */
  --max-width: 1180px;
  --radius: 4px;
  --shadow-card: 0 1px 2px rgba(15, 27, 51, 0.06);
  --shadow-lift: 0 4px 16px rgba(15, 27, 51, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
}
:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 60px 0; }
.section--navy { background: var(--navy); color: rgba(255,255,255,0.86); }
.section--navy h2, .section--navy h3 { color: var(--paper); }
.section--dim { background: var(--paper-dim); }

.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
.mb-lg { margin-bottom: 48px; }

/* ---- Scroll-reveal animation (added by app.js — no HTML edits needed) ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   ADMIN DASHBOARD
   ========================================================================== */
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-topbar__brand { display: flex; align-items: center; gap: 12px; color: var(--paper); font-family: var(--font-display); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.02em; }
.admin-topbar__brand img { width: 32px; height: 32px; object-fit: contain; }
.admin-topbar__brand em { font-style: normal; color: var(--gold-light); }
.admin-topbar__user { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,0.75); font-size: 13px; }
/* Buttons on the dark top bar need light styling (navy-on-navy would vanish) */
.admin-topbar .btn--outline-navy { background: transparent; border-color: rgba(255,255,255,0.45); color: var(--paper); }
.admin-topbar .btn--outline-navy:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.admin-topbar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: var(--radius);
  color: var(--paper);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.admin-topbar__icon:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
@media (max-width: 700px) {
  .admin-topbar { padding: 12px 14px; }
  .admin-topbar__brand span { display: none; }
  #admin-user-email { display: none; }
  .admin-topbar__user { gap: 10px; }
}.admin-badge {
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius);
}
.admin-badge--editor { background: var(--paper-dim); color: var(--ink-soft); }

.admin-shell { display: flex; min-height: calc(100vh - 63px); }
.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--paper-dim);
  border-right: 1px solid var(--line);
  padding: 20px 12px;
}
.admin-sidebar button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  margin-bottom: 4px;
}
.admin-sidebar button:hover { background: var(--paper); color: var(--navy); }
.admin-sidebar button.is-active { background: var(--navy); color: var(--paper); }

.admin-content { flex: 1; padding: 36px 40px; max-width: 980px; }
.admin-content h2 { font-size: 24px; margin-bottom: 6px; }
.admin-content .admin-subtitle { color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }

.admin-table-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--paper-dim); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table td.admin-actions { white-space: nowrap; text-align: right; }
.admin-table td.admin-actions button { margin-left: 8px; font-size: 12px; padding: 6px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); }
.admin-table td.admin-actions button:hover { border-color: var(--navy); color: var(--navy); }
.admin-table td.admin-actions button.danger:hover { border-color: var(--flame); color: var(--flame); }

.admin-form-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 28px; display: none; }
.admin-form-panel.is-open { display: block; }
.admin-form-panel h3 { font-size: 16px; margin-bottom: 18px; }
.admin-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .admin-form-row { grid-template-columns: 1fr; } }
.admin-form-actions { display: flex; gap: 10px; margin-top: 8px; }

.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-tabs button { padding: 8px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.admin-tabs button.is-active { background: var(--navy); color: var(--paper); border-color: var(--navy); }

.admin-empty { text-align: center; padding: 40px; color: var(--ink-soft); font-size: 14px; }

@media (max-width: 860px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; display: flex; overflow-x: auto; gap: 4px; padding: 12px; }
  .admin-sidebar button { width: auto; white-space: nowrap; margin-bottom: 0; }
  .admin-content { padding: 24px 20px; }
}

/* ==========================================================================
   2. HEADER / NAV
   ========================================================================== */

.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 16px 24px; max-width: var(--max-width); margin: 0 auto; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 38px; height: 38px; object-fit: contain; }
.nav__name { font-family: var(--font-display); color: var(--paper); font-size: 17px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; }
.nav__links a { color: rgba(255,255,255,0.78); font-size: 12px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; position: relative; padding: 6px 0; white-space: nowrap; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.2s ease; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--paper); }
.nav__cta a { background: var(--gold); color: var(--navy-dark); padding: 9px 18px; border-radius: var(--radius); }
.nav__cta a::after { display: none; }
.nav__cta a:hover { background: var(--gold-light); }
.nav__toggle { display: none; background: none; border: none; color: var(--paper); font-size: 26px; }

@media (max-width: 1180px) {
  .nav__toggle { display: block; }
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: var(--navy); padding: 8px 24px 24px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.1); display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: 11px 0; width: 100%; }
  .nav__cta { margin-top: 8px; }
}

/* ==========================================================================
   3. HERO
   ========================================================================== */

.hero { position: relative; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%); color: rgba(255,255,255,0.9); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; padding: 100px 24px; }
.hero__content h1 { color: var(--paper); font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 18px; font-weight: 800; line-height: 1.15; }
.hero__content h1 span { color: var(--gold-light); }
.hero__lead { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 46ch; margin-bottom: 30px; display: block; }
.hero__lead.placeholder { max-width: 46ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Hero side panel: real confirmed schedule info, balances the layout ---- */
.hero__panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  padding: 32px;
  backdrop-filter: blur(2px);
}
.hero__panel-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; }
.hero__panel-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 22px; }
.hero__panel-item { display: flex; flex-direction: column; gap: 3px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.hero__panel-item:last-child { border-bottom: none; padding-bottom: 0; }
.hero__panel-time { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--paper); }
.hero__panel-name { font-size: 12.5px; letter-spacing: 0.03em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.hero__panel-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--gold-light); }
.hero__panel-link:hover { color: var(--paper); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; padding: 64px 24px 56px; gap: 36px; }
}
@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

.page-hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%); color: rgba(255,255,255,0.85); padding: 76px 24px 60px; }
.page-hero .inner { max-width: var(--max-width); margin: 0 auto; }
.page-hero h1 { color: var(--paper); font-size: clamp(32px, 4.2vw, 46px); }
.page-hero p { color: rgba(255,255,255,0.65); max-width: 60ch; margin-top: 14px; font-size: 16px; }

.section__head { max-width: 680px; margin: 0 0 52px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.section__head p { color: var(--ink-soft); font-size: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); display: inline-block; }

/* ==========================================================================
   4. COMPONENTS
   ========================================================================== */

/* ---- Scripture reference — plain quote style, no pill/badge ---- */
.scripture {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--gold-light);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  display: inline-block;
}
.scripture--dark { color: var(--navy); border-left-color: var(--navy); }

/* ---- Buttons: sharp corners, no pill shapes ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--navy { background: var(--navy); color: var(--paper); }
.btn--navy:hover { background: var(--navy-soft); }
.btn--gold { background: var(--gold); color: var(--navy-dark); }
.btn--gold:hover { background: var(--gold-light); }
.btn--outline-light { border-color: rgba(255,255,255,0.5); color: var(--paper); }
.btn--outline-light:hover { border-color: var(--paper); background: rgba(255,255,255,0.08); }
.btn--outline-navy { border-color: var(--navy); color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: var(--paper); }
.btn--flame { background: var(--flame); color: var(--paper); }
.btn--flame:hover { background: #a83c16; }
.btn--sm { padding: 10px 20px; font-size: 12px; }
.btn--block { width: 100%; }

/* ---- Cards (sermons, events, blog, documents) ---- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.card:hover { box-shadow: var(--shadow-lift); border-color: var(--navy); }
.card__media { aspect-ratio: 16/10; background: var(--paper-dim); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.card__body h3 { font-size: 19px; margin-bottom: 10px; font-weight: 800; }
.card__title-link { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.card__title-link:hover { color: var(--gold); }
.card__action-note { font-size: 12.5px; font-weight: 700; color: var(--gold); margin-top: 12px; }
.card__body p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.card__meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-soft); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); text-transform: uppercase; letter-spacing: 0.03em; }

/* ---- Leader cards (leadership.html) ---- */
.leader-card__media { aspect-ratio: 4/5; background: var(--paper-dim); }
.leader-card__media img { width: 100%; height: 100%; object-fit: cover; }
.leader-card .role { color: var(--gold); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }

/* ---- Gallery grid (gallery.html) ---- */
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.04); }

/* ---- Loading / empty states for Firestore-backed sections ---- */
.state-msg { text-align: center; padding: 44px 20px; color: var(--ink-soft); font-size: 14.5px; grid-column: 1 / -1; background: var(--paper-dim); border-radius: var(--radius); border: 1px dashed var(--line); }

/* ---- Neutral placeholder image block (used until real photos are added) ---- */
.img-placeholder {
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(135deg, var(--paper-dim), var(--paper-dim) 10px, #ECECEA 10px, #ECECEA 20px);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 13px; text-align: center; padding: 20px;
}

/* ---- Forms (prayer request, contact, membership, etc.) ---- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; max-width: 640px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 12.5px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); font-family: var(--font-body); font-size: 15.5px; background: var(--paper-dim); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--paper); }
.field textarea { min-height: 130px; resize: vertical; }
.field-check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.field-check input { width: auto; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: -8px; margin-bottom: 20px; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; display: none; }
.form-status.is-success { display: block; background: #E9F2EC; color: var(--green); border: 1px solid var(--green); }
.form-status.is-error { display: block; background: #FBEAE2; color: #8C3512; border: 1px solid var(--flame); }

/* ---- Misc content blocks ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split img, .split .img-placeholder { border-radius: var(--radius); }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; text-align: left; }
.stat-row div { border-top: 2px solid var(--gold); padding-top: 16px; }
.stat-row div strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--paper); font-weight: 800; }
.stat-row div span { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

.schedule-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.schedule-table th, .schedule-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.schedule-table th { background: var(--navy); color: var(--paper); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table__note { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); font-weight: 400; line-height: 1.5; }

.info-box { background: var(--paper-dim); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 18px 22px; font-size: 14.5px; color: var(--ink-soft); }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---- Currency tabs (Give page) ---- */
.currency-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.currency-tab {
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink-soft);
}
.currency-tab:hover { border-color: var(--navy); color: var(--navy); }
.currency-tab.is-active { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.currency-panel { display: none; }
.currency-panel.is-active { display: block; }

/* ---- Give Online card ---- */
/* ---- Giving category picker (Give page) ---- */
.giving-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .giving-categories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .giving-categories { grid-template-columns: 1fr; } }
.giving-category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  padding: 22px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.giving-category:hover { border-color: var(--navy); }
.giving-category.is-active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(184,144,46,0.25); }
.giving-category__name { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--navy); }
.giving-category__note { font-size: 13.5px; }
.giving-category__note.placeholder { font-size: 12.5px; }

.pay-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
@media (max-width: 700px) { .pay-buttons { grid-template-columns: 1fr; } }
.pay-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 12px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pay-btn:hover { border-color: var(--navy); }
.pay-btn span.sub { font-weight: 500; font-size: 11px; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.pay-btn--card { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.pay-btn--card:hover { background: var(--navy-soft); }
.pay-btn--card span.sub { color: rgba(255,255,255,0.65); }
.pay-btn--paypal { border-color: #0070BA; color: #003087; }
.pay-btn--opay { border-color: #1DBF73; color: #0B6B3A; }
.placeholder, p.placeholder, span.placeholder, h3.placeholder {
  background: #FBF3D8;
  color: #8A6215 !important;
  padding: 3px 10px;
  border-left: 3px solid var(--gold);
  border-radius: 0 3px 3px 0;
  font-style: italic;
  font-weight: 500;
  font-size: 0.94em;
  line-height: 1.6;
}
span.placeholder { display: inline; }
p.placeholder, h3.placeholder {
  display: inline-block;
  max-width: 100%;
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */

.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--paper); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer-grid li { margin-bottom: 11px; font-size: 14px; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 36px; height: 36px; object-fit: contain; }
.footer-brand strong { font-family: var(--font-display); color: var(--paper); font-size: 16px; text-transform: uppercase; letter-spacing: 0.02em; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 12px; color: rgba(255,255,255,0.7); font-weight: 700; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; }
.footer-bottom__staff-link { color: rgba(255,255,255,0.4); }
.footer-bottom__staff-link:hover { color: var(--gold-light); }

/* ---- WhatsApp floating button ---- */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.28); z-index: 200; transition: transform 0.15s ease; }
.whatsapp-float:hover { transform: scale(1.06); }
@media (max-width: 560px) { .whatsapp-float { bottom: 18px; right: 18px; width: 48px; height: 48px; } }