/* ==========================================================================
   Life Source Church Kenya — site styles
   No external dependencies: system fonts, inline-friendly, mobile-first.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette taken from the church logo: royal blue + gold */
  --bg: #fbfaf6;
  --bg-alt: #f3f0e8;
  --surface: #ffffff;
  --ink: #15122e;
  --ink-soft: #54506b;
  --line: #e4e0d6;

  --brand: #1700ab;
  --brand-strong: #0f0070;
  --brand-tint: #ecebfb;
  --accent: #bd9c23;
  --accent-hover: #d2b13c;
  --accent-ink: #181200;

  --btn-bg: #1700ab;
  --btn-ink: #ffffff;

  --grad-a: #3e0fc0;
  --grad-b: #9c7a0a;

  --shadow: 0 1px 2px rgba(21, 18, 46, 0.06), 0 10px 28px rgba(21, 18, 46, 0.09);
  --radius: 18px;
  --radius-sm: 12px;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif", serif;

  --container: 1120px;
  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0820;
    --bg-alt: #100d2e;
    --surface: #16123a;
    --ink: #ece9ff;
    --ink-soft: #b0aad2;
    --line: #2a2560;

    --brand: #a99dff;
    --brand-strong: #cfc8ff;
    --brand-tint: #221c5c;
    --accent-hover: #d2b13c;

    --btn-bg: #a99dff;
    --btn-ink: #0c0630;

    --grad-a: #b3a8ff;
    --grad-b: #e8c552;

    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.35);
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.icon { display: inline-flex; width: 1.25em; height: 1.25em; }
.icon svg { width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--btn-ink);
  background: var(--btn-bg);
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { color: var(--btn-ink); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23, 0, 171, 0.28); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { color: var(--accent-ink); background: var(--accent-hover); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.12); box-shadow: none; }

.btn--outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn--outline:hover { color: var(--btn-ink); background: var(--btn-bg); }

.btn--whatsapp { background: #1fa855; color: #fff; }
.btn--whatsapp:hover { color: #fff; background: #178c46; }

.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg); /* fallback for browsers without color-mix() */
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(16, 38, 44, 0.06); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { width: 26px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-text strong {
    background: linear-gradient(90deg, var(--grad-a), var(--grad-b));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
.brand-text small { margin-top: 0.2rem; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav ul { display: flex; align-items: center; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.site-nav li a:not(.btn) {
  display: block;
  padding: 0.5rem 0.9rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.15s, color 0.15s;
}
.site-nav li a:not(.btn):hover { background: var(--brand-tint); color: var(--brand-strong); }
.site-nav li a[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 959px) {
  /* Without JS the nav simply wraps under the logo. */
  .site-nav { width: 100%; flex-wrap: wrap; }
  .site-nav ul { flex-wrap: wrap; }

  /* With JS it collapses behind the menu button. */
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 0.5rem 0 1.2rem;
  }
  .js .site-nav.open { display: flex; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; }
  .js .site-nav li a:not(.btn) { padding: 0.8rem 1rem; }
}

/* ---------- Hero ---------- */
.hero,
.page-hero,
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(189, 156, 35, 0.32), transparent 60%),
    linear-gradient(135deg, #0a0050 0%, #1700ab 62%, #3a1fcf 100%);
  isolation: isolate;
}
.hero::before,
.page-hero::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-radial-gradient(
    circle at 86% 24%,
    transparent 0 54px,
    rgba(255, 255, 255, 0.06) 55px 56px
  );
  -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 85%);
  mask-image: linear-gradient(to left, #000 20%, transparent 85%);
}

.hero { padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.35fr 1fr; gap: 4rem; }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}
.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow { color: var(--accent); }

.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero h1 span { display: block; font-size: 0.5em; font-weight: 600; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.9); margin-top: 0.15em; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.6; max-width: 38em; }
.hero .lead { color: rgba(255, 255, 255, 0.9); margin-bottom: 1.8rem; }

/* "Next gathering" glass card */
.next-card {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.next-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.next-card__status::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: currentColor;
}
.next-card.is-live .next-card__status { color: #7ff0a7; }
.next-card.is-live .next-card__status::before { animation: pulse 1.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(127, 240, 167, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(127, 240, 167, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 240, 167, 0); }
}
.next-card__title { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-bottom: 0.3rem; color: #fff; }
.next-card__when { font-size: 1.1rem; margin: 0 0 1.2rem; color: rgba(255, 255, 255, 0.92); }
.next-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0;
  padding-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.next-card__foot a { color: #fff; font-weight: 650; }

/* Inner page hero */
.page-hero { padding-block: clamp(3rem, 7vw, 5rem); }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); color: #fff; margin-bottom: 0.3em; }
.page-hero .lead { color: rgba(255, 255, 255, 0.88); margin: 0; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
  .split--even { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---------- Cards ---------- */
.card {
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }

.icon-bubble {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 1.1rem;
  color: var(--brand);
  background: var(--brand-tint);
  border-radius: 16px;
}
.icon-bubble .icon { width: 26px; height: 26px; }

.ref {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--brand);
}
.ref em { font-weight: 400; color: var(--ink-soft); }

/* Event cards */
.event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.event-card__head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.3rem 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, #0f0070, #1700ab);
}
.event-card--thu .event-card__head { background: linear-gradient(135deg, #3b1580, #6d34ad); }
.event-card__day {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 16px;
}
.event-card__when { display: flex; flex-direction: column; line-height: 1.3; }
.event-card__when small { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.event-card__when strong { font-size: 1.35rem; font-family: var(--font-display); }
.event-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem; }
.event-card__body h3 { font-size: 1.6rem; }
.event-card__body > p { color: var(--ink-soft); }

/* Featured (Sunday service) event */
.event-card--featured { margin-bottom: 1.5rem; }
.event-card--sun .event-card__head { background: linear-gradient(135deg, #0a0050, #1700ab 75%); }
@media (min-width: 880px) {
  .event-card--featured { flex-direction: row; }
  .event-card--featured .event-card__head {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    gap: 1.2rem;
    width: 300px;
    padding: 2rem;
  }
  .event-card--featured .event-card__when strong { font-size: 1.6rem; }
  .event-card--featured .event-card__body { padding: 2rem 2.2rem; }
}

.timeline { display: grid; gap: 1rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.timeline li {
  display: grid;
  gap: 0.15rem 1.2rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--accent);
}
@media (min-width: 520px) { .timeline li { grid-template-columns: 11rem 1fr; } }
.timeline .t { font-weight: 700; font-size: 1rem; color: var(--brand); }
.timeline strong { display: block; color: var(--ink); }
.timeline span { color: var(--ink-soft); font-size: 0.98rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-strong);
  background: var(--brand-tint);
  border-radius: 999px;
}
.chip .icon { width: 1em; height: 1em; }

.checklist { margin: 0 0 1.4rem; padding: 0; list-style: none; }
.checklist li { position: relative; padding: 0.3rem 0 0.3rem 1.8rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0.2rem; top: 0.85rem;
  width: 0.55rem; height: 0.3rem;
  border-left: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(-45deg);
}

.calendar-actions { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.calendar-actions__label { margin: 0 0 0.6rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.calendar-actions .btn-row { gap: 0.6rem; }

/* Scripture / verse card */
.verse {
  margin: 0;
  position: relative;
  padding: 2.2rem 2rem 2rem;
  color: #fff;
  background: linear-gradient(145deg, #0f0070, #1700ab);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.verse::before {
  content: "\201C";
  position: absolute;
  top: -0.15em; left: 0.4rem;
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
}
.verse--wide { max-width: 52rem; margin-inline: auto; }
.verse blockquote { position: relative; margin: 0; }
.verse blockquote p {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  line-height: 1.4;
}
.verse cite { font-style: normal; font-weight: 700; letter-spacing: 0.06em; color: var(--accent); }

.expect-title { margin: 0 0 0.4rem; font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.time-note { display: flex; align-items: center; gap: 0.6rem; margin: 1.8rem 0 0; color: var(--ink-soft); }
.card-title { font-size: 1.6rem; }
.section--tight { padding-block: 0 clamp(3.5rem, 8vw, 6rem); }

/* Logo card — always white so the full-colour logo reads in dark mode too */
.logo-card {
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 2.2rem 1.5rem;
  text-align: center;
  color: #15122e;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.logo-card img { width: 150px; height: auto; }
.logo-card strong { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: #3e0fc0; }
.logo-card span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #6b5a14; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; padding: 1.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 50%;
}
.steps h3 { font-size: 1.2rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* CTA band */
.cta-band { padding-block: clamp(3rem, 7vw, 5rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 36em; margin-inline: auto; color: rgba(255, 255, 255, 0.9); font-size: 1.15rem; }
.cta-band .btn-row { justify-content: center; margin-top: 1.5rem; }

/* About page */
.prose { max-width: 42rem; }
.prose p { color: var(--ink-soft); font-size: 1.1rem; }
.prose p strong { color: var(--ink); }

.mv-card { border-top: 4px solid var(--accent); }
.mv-card .eyebrow { margin-bottom: 0.4rem; }
.mv-card p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; color: var(--ink); }

.beliefs { display: grid; gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .beliefs { grid-template-columns: 1fr 1fr; } }
.beliefs li { padding: 1.4rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.beliefs h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.beliefs p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.beliefs .ref { margin-top: 0.6rem; font-size: 0.85rem; }

.values { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin: 0; padding: 0; list-style: none; }
.values li { padding: 1.5rem; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.values .icon-bubble { margin-inline: auto; }
.values h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.values p { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }

/* Pastors */
.leader { display: grid; justify-items: center; gap: 0.2rem; text-align: center; padding: 2.2rem 1.5rem; }
.leader h3 { margin: 0; }
.leader__role { margin: 0; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.avatar {
  display: grid;
  place-items: center;
  width: 108px; height: 108px;
  margin-bottom: 1rem;
  overflow: hidden;
  object-fit: cover;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e8c552;
  background: linear-gradient(135deg, #0f0070, #6d34ad);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--accent);
}
.byline { margin-top: 1.4rem; }

/* Give page */
.till {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  background: linear-gradient(145deg, #0a0050, #1700ab);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.till .eyebrow { color: var(--accent); margin-bottom: 0.3rem; }
.till__title { margin: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.till__number {
  margin: 0.2rem 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 4.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.till__note { margin: 1.2rem 0 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }
.till a { color: #fff; font-weight: 650; }
.till a:hover { color: var(--accent); }
.till .form-status { min-height: 1.4em; margin-top: 0.6rem; color: #7ff0a7; }
.howto { counter-reset: how; display: grid; gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.howto li { counter-increment: how; position: relative; padding-left: 3.1rem; }
.howto li::before {
  content: counter(how);
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 2.2rem; height: 2.2rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 50%;
}
.howto strong { color: var(--ink); }
.howto p { margin: 0; color: var(--ink-soft); }

/* Contact page */
.contact-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.contact-item .icon-bubble { width: 46px; height: 46px; margin: 0; border-radius: 13px; }
.contact-item .icon-bubble .icon { width: 22px; height: 22px; }
.contact-item h3 { margin: 0 0 0.1em; font-size: 1rem; font-family: var(--font-body); font-weight: 700; }
.contact-item p, .contact-item a { margin: 0; overflow-wrap: anywhere; }

.notice {
  padding: 1.2rem 1.4rem;
  color: var(--ink);
  background: var(--brand-tint);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
}
.notice p { margin: 0; }
.notice { margin-bottom: 1.2rem; }

/* Single-column layout (used when the contact form is hidden because no WhatsApp/email is configured) */
.split--single { grid-template-columns: minmax(0, 44rem); }

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 650; font-size: 0.95rem; }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-tint);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
}
.form-status { min-height: 1.5em; margin: 0; font-weight: 600; color: var(--brand); }
.form-hint { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

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

/* Social links */
.social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.social a {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  transition: background-color 0.15s;
}
.social a:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  color: rgba(255, 255, 255, 0.82);
  background: #0a0538;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 2.2rem; padding-bottom: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1.25fr 0.75fr 1.2fr; } }
.footer-brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; color: #fff; text-decoration: none; }
.footer-brand img { width: 30px; height: 58px; }
.footer-brand strong { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.1; }
.footer-brand small { display: block; margin-top: 0.25rem; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-hover); }
.site-footer h2 { margin-bottom: 0.9rem; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { padding: 0.18rem 0; }
.site-footer p { margin: 0 0 0.8rem; }
.footer-times strong { display: block; color: #fff; }
.footer-times li { padding-bottom: 0.6rem; }
.footer-times span { font-size: 0.95rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.3rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-bottom p { margin: 0; }
.footer-bottom strong { font-weight: 650; color: rgba(255, 255, 255, 0.9); }
.footer-note { margin: 0.4rem 0 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- Scroll reveal (class is added by JS, so no-JS stays visible) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
