/* =========================================================
   Aasra Foundation — Modern Remake
   ========================================================= */

:root {
  /* Brand */
  --green-950: #022e13;
  --green-900: #044c1c;
  --green-800: #077c2e;
  --green-600: #09b242;
  --green-400: #33f473;
  --green-200: #99fab9;
  --green-50:  #eafff2;

  --coral-700: #ac2a22;
  --coral-500: #de5e56;
  --coral-200: #f4c9c7;

  --amber-500: #f6b65e;

  /* Neutrals */
  --ink:       #0b1a12;
  --ink-soft:  #31473c;
  --muted:     #6b7f74;
  --line:      rgba(4, 76, 28, 0.12);
  --paper:     #ffffff;
  --paper-2:   #f6faf7;
  --paper-3:   #edf5ef;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;

  --shadow-sm: 0 1px 2px rgba(2, 46, 19, 0.06), 0 4px 14px rgba(2, 46, 19, 0.05);
  --shadow-md: 0 10px 30px rgba(2, 46, 19, 0.10);
  --shadow-lg: 0 24px 60px rgba(2, 46, 19, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
strong { font-weight: 700; }

::selection { background: var(--green-400); color: var(--green-950); }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  color: #fff;
  box-shadow: 0 10px 24px rgba(4, 76, 28, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(4, 76, 28, 0.34);
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
}

.btn-ghost {
  border: 1.5px solid rgba(4, 76, 28, 0.25);
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--green-800);
  background: #fff;
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(2, 46, 19, 0.06);
}

.header-inner {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.logo img {
  height: 44px;
  width: auto;
  border-radius: 8px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-900);
}
.logo-text small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--coral-500);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  position: relative;
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover { color: var(--green-900); background: rgba(4, 76, 28, 0.06); }
.nav-menu a.active {
  color: #fff;
  background: var(--green-900);
}

.header-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--coral-500);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(222, 94, 86, 0.3);
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
.header-cta:hover {
  background: var(--coral-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(222, 94, 86, 0.36);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-right: -10px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 56px);
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(51, 244, 115, 0.18), transparent 60%),
    radial-gradient(700px 400px at 5% 20%, rgba(222, 94, 86, 0.10), transparent 55%),
    linear-gradient(180deg, var(--green-50), #fff 55%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 244, 115, 0.35), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-inner {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-700);
  background: rgba(222, 94, 86, 0.1);
  border: 1px solid rgba(222, 94, 86, 0.2);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--green-950);
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--green-800);
}

.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-style: italic;
  font-weight: 400;
  color: var(--green-900);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual { position: relative; }

.hero-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transform: rotate(1.5deg);
  transition: transform 0.5s var(--ease);
}
.hero-frame:hover { transform: rotate(0deg) translateY(-4px); }
.hero-frame img { width: 100%; aspect-ratio: 853/466; object-fit: cover; }

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 46, 19, 0.28));
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  left: -18px;
  bottom: -18px;
  background: var(--green-900);
  color: #fff;
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 3px solid #fff;
}
.badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--green-400);
}
.badge-label {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Marquee */
.hero-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--green-800);
  white-space: nowrap;
}
.marquee-track i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral-500);
  flex: 0 0 auto;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Section shared ===== */
.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-500);
  margin-bottom: 12px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.section-head h2,
.glance-copy h2,
.contact-copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--green-950);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--muted);
  font-size: 1.02rem;
}

/* ===== At a glance ===== */
.glance {
  padding: 96px 0;
  background: var(--paper);
}

.glance-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.glance-media {
  position: relative;
}
.glance-media img {
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 800/531;
  object-fit: cover;
}
.glance-chip {
  position: absolute;
  right: -12px;
  bottom: 22px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green-900);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.glance-copy p {
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.glance-points {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}
.glance-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.glance-points li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.point-dot {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(51, 244, 115, 0.25);
}
.glance-points strong {
  display: block;
  color: var(--green-950);
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.glance-points p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== Quote ===== */
.quote-band {
  background:
    linear-gradient(135deg, var(--green-950), var(--green-900) 55%, #066426);
  color: #fff;
  padding: 84px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: "“";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 280px;
  line-height: 1;
  color: rgba(51, 244, 115, 0.12);
  pointer-events: none;
}
.quote-band blockquote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  max-width: 820px;
  margin: 0 auto 18px;
}
.quote-band cite {
  position: relative;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--green-400);
}

/* ===== Events ===== */
.events {
  padding: 96px 0;
  background: var(--paper-2);
}

.timeline {
  display: grid;
  gap: 28px;
}

.event-card {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.event-card:nth-child(even) { grid-template-columns: 1.2fr 1.05fr; }
.event-card:nth-child(even) .event-media { order: 2; }

.event-media {
  position: relative;
  min-height: 260px;
  background: var(--paper-3);
}
.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
}
.event-card:hover .event-media img { transform: scale(1.04); }

.event-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.event-body time {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-700);
  background: rgba(222, 94, 86, 0.1);
  border: 1px solid rgba(222, 94, 86, 0.2);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.event-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.25;
  color: var(--green-950);
  margin-bottom: 12px;
}
.event-body p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.event-body strong {
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: 1.05em;
}

/* ===== Video ===== */
.video-section {
  padding: 96px 0;
  background: var(--paper);
}

.video-shell {
  max-width: 900px;
  margin: 0 auto;
}

.video-poster {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 940/529;
}
.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 0.3s, transform 0.6s var(--ease);
}
.video-poster:hover img { opacity: 1; transform: scale(1.02); }

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--green-900);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.play-button svg { margin-left: 4px; }
.video-poster:hover .play-button {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--green-400);
  color: var(--green-950);
}
.play-button::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

.video-shell video {
  width: 100%;
  display: block;
  border-radius: 22px;
}

/* ===== Gallery ===== */
.gallery {
  padding: 96px 0;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(51, 244, 115, 0.12), transparent 60%),
    var(--paper-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  background: var(--paper-3);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item:not(.tall) { grid-row: span 1; }
/* every 5th default span pattern for masonry feel handled by .tall */

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 46, 19, 0.55));
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item::before {
  content: "View";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -40%);
  background: rgba(255, 255, 255, 0.95);
  color: var(--green-900);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  pointer-events: none;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(2, 20, 10, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 26px;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  z-index: 2;
  transition: transform 0.2s, color 0.2s;
}
.lightbox-close:hover { transform: rotate(90deg); color: var(--green-400); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(6px);
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-nav.prev { left: 22px; }
.lightbox-nav.next { right: 22px; }

/* ===== Contact ===== */
.contact {
  padding: 96px 0;
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.contact-details {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}
.contact-details li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-50);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.ci-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--green-800);
}
.contact-details strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-details p { color: var(--ink); font-weight: 500; }
.contact-details a {
  color: var(--green-800);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.contact-details a:hover { border-bottom-color: var(--green-800); }

.map-embed {
  margin-top: 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 240px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper-2);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aada3; }
.field input:focus,
.field textarea:focus {
  border-color: var(--green-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(9, 178, 66, 0.15);
}
.field textarea { resize: vertical; min-height: 130px; }

.form-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-800);
  text-align: center;
}
.form-status.error { color: var(--coral-700); }

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(180deg, var(--green-950), #011a0b);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.footer-brand img {
  width: 48px;
  height: auto;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px;
}
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 6px;
}
.footer-brand p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  font-style: italic;
  font-family: var(--font-display);
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col li,
.footer-col a {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.75);
}
.footer-col a {
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.footer-social a:hover {
  background: var(--coral-500);
  border-color: var(--coral-500);
  transform: translateY(-3px);
}
.footer-social img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
}
.footer-bottom p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ===== Scroll top ===== */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-900);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, background 0.2s;
  z-index: 900;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--coral-500);
  transform: translateY(-3px);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .play-button::before { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-badge { left: 12px; bottom: -14px; }

  .glance-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .glance-chip { right: 12px; }
  .contact-card { position: static; }

  .event-card,
  .event-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .event-card:nth-child(even) .event-media { order: 0; }
  .event-media { min-height: 240px; aspect-ratio: 16/10; }
  .event-media img { position: absolute; }
  .event-body { padding: 28px 26px 32px; }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 160px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.3s;
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu a {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }

  .glance, .events, .video-section, .gallery, .contact { padding: 72px 0; }
  .quote-band { padding: 64px 0; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
  }

  .lightbox { padding: 16px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 26px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
}

@media (max-width: 560px) {
  .logo-text small { display: none; }
  .hero-badge { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 24px; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 130px;
  }
}


/* Footer designer credit */
.footer-credit {
  margin-top: 8px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-credit a {
  color: var(--green-400, #33f473);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.footer-credit a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}
