/* Gurdwara Akaljot — site styles (2026 redesign) */

:root {
  --navy: #10233f;
  --navy-2: #1a3358;
  --kesri: #e07b1a;
  --kesri-dark: #b35c0b;   /* buttons: 4.7:1 with white text */
  --kesri-text: #a4540a;   /* orange text on light backgrounds: 4.5:1+ */
  --gold: #c9912b;
  --cream: #faf6ef;
  --sand: #f2e9da;
  --ink: #1d2433;
  --muted: #5d6677;
  --line: #e6ddcf;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 35, 63, 0.08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--kesri-text); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid var(--kesri); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 1000; background: #fff; padding: 8px 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-kesri { background: var(--kesri-dark); color: #fff; }
.btn-kesri:hover { background: #9a4d07; color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-left, .topbar-right { display: flex; gap: 22px; flex-wrap: wrap; }
.open-status { font-weight: 600; color: #fff; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa3b2; display: inline-block; }
.open-status.is-open::before { background: #34c77b; box-shadow: 0 0 0 3px rgba(52,199,123,.25); }
@media (max-width: 560px) { .topbar .addr { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--navy); }
.brand-sub { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a.active { color: var(--kesri-text); }
.nav .btn { margin-left: 10px; padding: 10px 20px; }
.nav .btn:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font-size: 28px; color: var(--navy); cursor: pointer; padding: 4px; }

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    box-shadow: 0 16px 30px rgba(0,0,0,.08);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; border-radius: 999px; border-bottom: 0; }
  .topbar-right { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,22,42,.92) 0%, rgba(10,22,42,.75) 45%, rgba(10,22,42,.35) 100%);
}
.hero .wrap > * { min-width: 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--kesri-text); margin-bottom: 14px; }
.hero .eyebrow { color: #f4b36a; }
.hero-gurmukhi { font-size: 22px; color: #f4d9b0; margin-bottom: 8px; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 62px); font-weight: 600; margin-bottom: 18px; }
.hero-lead { font-size: 19px; color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card { background: rgba(255,255,255,.97); color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.hero-card h2 { font-size: 22px; margin-bottom: 4px; }
.hero-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.hero-card li strong { color: var(--navy); font-weight: 600; }
.hero-card li span { color: var(--muted); text-align: right; }
.hero-card li.today { background: #fdf3e6; margin: 0 -12px; padding: 11px 12px; border-radius: 8px; border-top-color: transparent; }
.hero-card li.today + li { border-top-color: transparent; }
.hero-card li.today strong::after { content: "Today"; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--kesri-dark); padding: 2px 7px; border-radius: 999px; vertical-align: 2px; }
.hero-card .hero-card-foot { margin-top: 14px; font-size: 14px; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.hero-card .hero-card-foot i { color: var(--kesri); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; }
  .hero { min-height: 0; }
}

/* ---------- Info strip ---------- */
.strip { background: var(--cream); border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 20px; border-right: 1px solid var(--line); }
.strip-item:last-child { border-right: 0; }
.strip-item i { font-size: 24px; color: var(--kesri); line-height: 1; margin-top: 2px; }
.strip-item h3 { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 4px; }
.strip-item p { margin: 0; font-weight: 600; color: var(--navy); font-size: 15px; line-height: 1.45; }
.strip-item a { color: var(--navy); text-decoration: none; }
@media (max-width: 960px) {
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .strip .wrap { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section-dark .section-head p { color: rgba(255,255,255,.75); }
@media (max-width: 700px) { .section { padding: 68px 0; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 18px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about-media .badge {
  position: absolute; bottom: -24px; right: -12px; background: var(--kesri); color: #fff;
  padding: 18px 22px; border-radius: 14px; box-shadow: var(--shadow); max-width: 220px;
}
.about-media .badge strong { display: block; font-family: var(--serif); font-size: 30px; line-height: 1; }
.about-media .badge span { font-size: 14px; }
.about h2 { font-size: clamp(30px, 3.6vw, 42px); }
.about p { color: var(--muted); font-size: 17px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.pillar { background: var(--cream); border-radius: 12px; padding: 18px; }
.pillar h3 { font-size: 18px; margin-bottom: 4px; }
.pillar p { font-size: 14px; margin: 0; }
@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about-media .badge { right: 12px; }
}
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Schedule ---------- */
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; box-shadow: 0 2px 0 rgba(16,35,63,.02);
  transition: box-shadow .2s, transform .2s;
}
.program:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.program-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--sand); color: #96490a; }
.tag-navy { background: #e4e9f2; color: var(--navy-2); }
.program-top i { font-size: 26px; color: var(--gold); }
.program h3 { font-size: 22px; }
.program p { color: var(--muted); font-size: 15px; flex: 1; }
.program .time { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; font-size: 15px; }
.program .time i { color: var(--kesri); }
.program .time a { color: var(--navy); }
@media (max-width: 960px) { .schedule { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .schedule { grid-template-columns: 1fr; } }

/* ---------- Watch live ---------- */
.watch { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.watch h2 { font-size: clamp(30px, 3.6vw, 42px); }
.watch p { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 960px) { .watch { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Events ---------- */
.events-grid[hidden] { display: none; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-bottom: 40px; }
.event-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.event-media { background: var(--navy); aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; }
.event-media img { width: 100%; height: 100%; object-fit: contain; }
.event-body { padding: 20px 22px 24px; }
.event-date { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kesri-dark); margin-bottom: 6px; }
.event-body h3 { font-size: 21px; margin-bottom: 6px; }
.event-body p { color: var(--muted); font-size: 15px; margin: 0; }
.events-note { max-width: 760px; margin: 0 auto; display: flex; gap: 18px; align-items: flex-start; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.events-note[hidden] { display: none; }
.events-note i { font-size: 26px; color: var(--kesri); line-height: 1.2; }
.events-note p { margin: 0; color: var(--ink); font-size: 16px; }
.calendar-frame { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.calendar-frame iframe { width: 100%; height: 560px; border: 0; display: block; }
.events-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- First visit ---------- */
.visit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.visit-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; }
.visit-num { font-family: var(--serif); font-size: 15px; color: #f4b36a; font-weight: 600; letter-spacing: .06em; margin-bottom: 10px; }
.visit-card h3 { font-size: 21px; }
.visit-card ul { margin: 0; padding-left: 18px; font-size: 15px; }
.visit-card li { margin-bottom: 8px; }
.visit-card li:last-child { margin-bottom: 0; }
@media (max-width: 1060px) { .visit { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .visit { grid-template-columns: 1fr; } }

/* ---------- Kids / feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature h2 { font-size: clamp(30px, 3.6vw, 42px); }
.feature p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { display: flex; gap: 12px; margin-bottom: 12px; font-size: 16px; }
.checks i { color: var(--kesri); font-size: 20px; line-height: 1.3; }
.feature-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 960px) { .feature { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Donate band ---------- */
.donate {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #9a4d07, var(--kesri-dark));
}
.donate .wrap { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.donate h2 { color: #fff; font-size: clamp(30px, 3.6vw, 42px); }
.donate p { color: rgba(255,255,255,.92); font-size: 17px; margin-bottom: 0; }
.donate-box { background: #fff; color: var(--ink); border-radius: 18px; padding: 30px; text-align: center; box-shadow: 0 24px 50px rgba(0,0,0,.18); }
.donate-box h3 { font-size: 22px; }
.donate-box p { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.donate-box .btn { width: 100%; font-size: 17px; padding: 15px 24px; }
.donate-khanda { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 360px; opacity: .08; pointer-events: none; }
@media (max-width: 860px) { .donate .wrap { grid-template-columns: 1fr; } }

/* ---------- Gallery (albums) ---------- */
.albums { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.album {
  position: relative; overflow: hidden; border-radius: 16px; border: 0; padding: 0; cursor: pointer;
  background: var(--navy); text-align: left; font-family: var(--sans); color: #fff;
  box-shadow: 0 6px 20px rgba(16,35,63,.10);
}
.album:first-child { grid-column: span 2; grid-row: span 2; }
.album img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.album::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,42,0) 40%, rgba(10,22,42,.85) 100%);
}
.album:hover img { transform: scale(1.06); }
.album:focus-visible { outline: 3px solid var(--kesri); outline-offset: 3px; }
.album-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.album-title { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.2; display: block; }
.album:first-child .album-title { font-size: 28px; }
.album-count { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; opacity: .9; margin-top: 4px; }
.album-open {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; font-size: 17px; transition: background .2s;
}
.album:hover .album-open { background: var(--kesri); }
@media (max-width: 960px) {
  .albums { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .album:first-child { grid-row: span 1; }
}
@media (max-width: 560px) {
  .albums { grid-template-columns: 1fr; grid-auto-rows: 210px; gap: 12px; }
  .album:first-child { grid-column: auto; }
  .album:first-child .album-title { font-size: 22px; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: #070d1a; display: none; flex-direction: column; color: #fff; }
.lightbox.open { display: flex; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; gap: 16px; }
.lb-caption { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.lb-title { font-family: var(--serif); font-size: 19px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-count { font-size: 14px; color: rgba(255,255,255,.65); white-space: nowrap; }
.lb-stage { flex: 1; min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 0 76px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { background: rgba(255,255,255,.12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 20px; cursor: pointer; flex: none; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-thumbs { display: flex; gap: 8px; padding: 14px 20px 18px; overflow-x: auto; justify-content: safe center; scrollbar-width: thin; }
.lb-thumbs button { width: 72px; height: 54px; border-radius: 6px; padding: 0; overflow: hidden; opacity: .5; border: 2px solid transparent; background: none; }
.lb-thumbs button:hover { opacity: .85; background: none; }
.lb-thumbs button.current { opacity: 1; border-color: var(--kesri); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) {
  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; background: rgba(0,0,0,.45); }
  .lb-thumbs button { width: 56px; height: 42px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative;
  font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--sand); color: var(--kesri-text);
  display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 20px; font-weight: 500;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:focus-visible { outline: 3px solid var(--kesri); outline-offset: 2px; border-radius: var(--radius); }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 16px; }
@media (max-width: 560px) { .faq-item summary { font-size: 17px; padding: 18px 52px 18px 18px; } .faq-item p { padding: 0 18px 20px; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact > *, .contact-item > div { min-width: 0; }
.contact-item p { overflow-wrap: anywhere; }
.contact-info { display: grid; gap: 16px; align-content: start; }
.contact-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact-item i { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--sand); color: var(--kesri-dark); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.contact-item h3 { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 4px; }
.contact-item p { margin: 0; font-weight: 500; color: var(--navy); }
.contact-item a { color: var(--navy); text-decoration: none; }
.contact-item a:hover { color: var(--kesri-dark); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 260px; }
.map iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.form h3 { font-size: 24px; margin-bottom: 4px; }
.form .sub { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid #d6ccbc;
  border-radius: 10px; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--kesri-dark); box-shadow: 0 0 0 3px rgba(224,123,26,.18); }
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { margin-top: 18px; width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: none; padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 15px; justify-content: space-between; gap: 12px; }
.notice.show { display: flex; }
.notice.ok { background: #e7f5ec; color: #17603a; border: 1px solid #bfe3cc; }
.notice.err { background: #fdecea; color: #8a1c14; border: 1px solid #f5c6c0; }
.notice button { background: none; border: 0; font-size: 18px; color: inherit; cursor: pointer; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form { padding: 24px; } }

/* ---------- Footer ---------- */
.footer { background: #0b1830; color: rgba(255,255,255,.72); font-size: 15px; }
.footer .wrap { padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: rgba(255,255,255,.55); }
.footer-about p { margin-top: 16px; max-width: 320px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.social a:hover { background: var(--kesri); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile donate bar ---------- */
.mobile-donate { display: none; }
@media (max-width: 700px) {
  .mobile-donate {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
  }
  body { padding-bottom: 76px; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .program, .album img { transition: none; }
}

/* ---------- Legal pages (privacy.html, sms-consent.html) ---------- */
.legal-header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-nav { display: flex; align-items: center; gap: 6px; }
.legal-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 10px; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.legal-header .brand { min-width: 0; }
.legal-nav a:hover { color: var(--kesri-text); }
.legal-nav .btn { color: #fff; padding: 10px 18px; margin-left: 6px; }
@media (max-width: 560px) {
  .legal-nav .hide-sm { display: none; }
  .legal-header .brand-sub { display: none; }
  .legal-header .brand-name { font-size: 18px; }
  .legal-nav .btn { padding: 9px 14px; }
}
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 56px 20px 80px; }
.legal-wrap h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 6px; }
.legal-wrap h2 { font-size: 23px; margin-top: 40px; margin-bottom: 10px; }
.legal-wrap p, .legal-wrap li { font-size: 16px; line-height: 1.75; overflow-wrap: break-word; }
.legal-wrap a { overflow-wrap: anywhere; }
.legal-wrap ul { padding-left: 22px; }
.legal-updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-top: 16px; }
.legal-script { margin: 16px 0; padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--cream); font-style: italic; font-size: 17px; border-radius: 0 10px 10px 0; }
.keypoint { background: #eef7f0; border: 1px solid #cfe3d4; border-radius: 12px; padding: 18px 22px; margin: 20px 0; }
.msg-sample { background: #f4f6f9; border-radius: 10px; padding: 14px 18px; margin: 10px 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.steps { counter-reset: s; list-style: none; padding-left: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; margin-bottom: 18px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; background: var(--kesri-dark); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.mb-0 { margin-bottom: 0 !important; }
.mt-3 { margin-top: 1rem !important; }
.legal-wrap .text-muted { color: var(--muted); }
.legal-footer .footer-bottom { border-top: 0; }
