:root {
  --primary: #1a5f3f;
  --primary-dark: #124329;
  --primary-light: #e8f3ee;
  --accent: #c9a24b;
  --text: #1f2a24;
  --text-muted: #647266;
  --border: #e3e9e5;
  --white: #ffffff;
  --radius: 12px;
  --bg: #ffffff;
  --surface: #ffffff;
  --on-primary: #ffffff;
  --on-accent: #1f1a08;
  --heading: var(--primary-dark);
  --font-body: 'Segoe UI', Roboto, -apple-system, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 640px; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-heading); }
input, select, textarea { font-family: inherit; background: var(--bg); color: var(--text); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; background: var(--bg); background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(6px); z-index: 100; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); font-weight: 700; font-size: 18px; }
.brand-logo { height: 40px; }
.brand-icon { font-size: 26px; }
.site-nav { display: flex; gap: 22px; align-items: center; }
.site-nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px; }
.site-nav a:hover { color: var(--primary); }
.nav-admin { background: var(--primary); color: var(--on-primary) !important; padding: 7px 14px; border-radius: 20px; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text); }

/* ===== Hero slider ===== */
.hero-slider { position: relative; height: 78vh; min-height: 420px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-fallback { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); position: relative; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.2)); display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content { color: #fff; max-width: 700px; padding: 0 20px; }
.hero-content h1 { font-size: clamp(28px, 5vw, 48px); margin: 0 0 12px; }
.hero-content p { font-size: 18px; margin: 0 0 20px; opacity: 0.95; }
.btn-hero { background: var(--accent); color: var(--on-accent); padding: 12px 28px; border-radius: 30px; text-decoration: none; font-weight: 700; display: inline-block; }
.hero-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.dot.active { background: #fff; }

.welcome-strip { text-align: center; padding: 30px 20px; font-size: 17px; color: var(--text-muted); }

/* ===== Sections ===== */
.section { padding: 60px 0; }
.section-alt { background: var(--primary-light); }
.section-title { text-align: center; font-size: 30px; color: var(--heading); margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 30px; }
.empty-note { text-align: center; color: var(--text-muted); grid-column: 1/-1; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 30px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 3px 14px rgba(20,40,30,0.08); }
.card-img { width: 100%; height: 180px; object-fit: cover; }
.video-wrap { position: relative; padding-top: 56.25%; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.card-body { padding: 18px; }
.card-date { font-size: 12px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.card-body h3 { margin: 8px 0; font-size: 18px; }
.card-meta { font-size: 13px; color: var(--text-muted); }
.btn-register { margin-top: 12px; width: 100%; background: var(--primary); color: var(--on-primary); border: none; padding: 10px; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 14px; }
.btn-register:hover { background: var(--primary-dark); }

.pub-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.pub-modal-box { background: var(--surface); border-radius: var(--radius); padding: 30px; max-width: 420px; width: 100%; position: relative; }
.pub-modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); line-height: 1; }
.pub-modal-box h3 { margin-top: 0; color: var(--heading); }
.pub-modal-box label { display: block; font-weight: 600; font-size: 13px; margin: 14px 0 6px; }
.pub-modal-box input { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; }

.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.service-times { background: var(--primary-light); border-radius: var(--radius); padding: 24px; height: fit-content; }

/* ===== Forms ===== */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: 0 3px 14px rgba(20,40,30,0.08); padding: 30px; }
.form-card label { display: block; font-weight: 600; font-size: 13px; margin: 14px 0 6px; }
.form-card input, .form-card select, .form-card textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-weight: 400 !important; }
.checkbox-label input { width: auto; }
.btn-primary-lg { margin-top: 20px; width: 100%; background: var(--primary); color: var(--on-primary); border: none; padding: 14px; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; }
.btn-primary-lg:hover { background: var(--primary-dark); }
.form-msg { margin-top: 12px; font-size: 14px; font-weight: 600; min-height: 20px; }
.form-msg.ok { color: var(--primary); }
.form-msg.bad { color: #c94b4b; }
.till-image { text-align: center; margin-bottom: 24px; }
.till-image img { max-width: 280px; border-radius: 10px; box-shadow: 0 3px 14px rgba(20,40,30,0.15); }
.till-badge { text-align: center; background: var(--primary-light); padding: 14px; border-radius: 10px; margin-bottom: 24px; font-size: 18px; }

/* ===== Footer ===== */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.85); padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.site-footer h3, .site-footer h4 { color: #fff; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,0.8); }
.btn-install { background: var(--accent); color: var(--on-accent); border: none; padding: 10px 20px; border-radius: 20px; font-weight: 700; cursor: pointer; }
.footer-copy { text-align: center; margin-top: 30px; font-size: 13px; opacity: 0.6; }

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .site-nav { position: fixed; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 16px 20px; gap: 14px; display: none; border-bottom: 1px solid var(--border); }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; }
}

/* ===== Live-now banner ===== */
.live-banner { background: var(--primary-dark); color: #fff; padding: 28px 0 22px; border-bottom: 4px solid #e03131; }
.live-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.live-head h2 { margin: 0; font-size: clamp(18px, 3vw, 26px); color: #fff; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; background: #e03131; color: #fff; font-weight: 800; font-size: 12px; letter-spacing: 1px; padding: 6px 12px; border-radius: 999px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: livepulse 1.2s infinite; }
@keyframes livepulse { 50% { opacity: .25; } }
.live-video { position: relative; padding-top: 56.25%; max-width: 900px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: #000; }
.live-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-watch { text-align: center; margin: 12px 0 0; font-size: 13px; }
.live-watch a { color: #fff; opacity: .85; }
