/* ═══════════════════════════════════════════════════════════════
   SITA – Spiritual Institute of Traditional Arts
   Core Design System
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Color Palette */
  --maroon: #5A1E24;
  --maroon-dark: #3D1318;
  --maroon-light: #7A2D35;
  --gold: #C9A44C;
  --gold-light: #E4C87E;
  --gold-dark: #A8852E;
  --ivory: #F8F5EE;
  --ivory-dark: #EDE8DC;
  --sandstone: #E8DDC8;
  --sandstone-dark: #D4C5A8;
  --charcoal: #2B2B2B;
  --charcoal-light: #4A4A4A;
  --white: #FFFFFF;
  --black: #0A0A0A;

  /* Text Colors */
  --text-primary: #2B2B2B;
  --text-secondary: #5A4A3A;
  --text-muted: #8A7A6A;
  --text-light: #F8F5EE;
  --text-gold: #C9A44C;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Font Sizes */
  --text-xs: clamp(0.7rem, 1.5vw, 0.8rem);
  --text-sm: clamp(0.85rem, 1.8vw, 0.95rem);
  --text-base: clamp(1rem, 2vw, 1.1rem);
  --text-md: clamp(1.1rem, 2.2vw, 1.25rem);
  --text-lg: clamp(1.25rem, 2.8vw, 1.5rem);
  --text-xl: clamp(1.5rem, 3.5vw, 2rem);
  --text-2xl: clamp(2rem, 4.5vw, 2.8rem);
  --text-3xl: clamp(2.5rem, 5.5vw, 3.8rem);
  --text-4xl: clamp(3rem, 7vw, 5rem);
  --text-hero: clamp(3.5rem, 8vw, 7rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(90, 30, 36, 0.08);
  --shadow-md: 0 4px 20px rgba(90, 30, 36, 0.12);
  --shadow-lg: 0 8px 40px rgba(90, 30, 36, 0.18);
  --shadow-xl: 0 16px 60px rgba(90, 30, 36, 0.25);
  --shadow-gold: 0 4px 20px rgba(201, 164, 76, 0.25);

  /* Borders */
  --border-thin: 1px solid rgba(201, 164, 76, 0.3);
  --border-medium: 1px solid rgba(201, 164, 76, 0.5);
  --border-thick: 2px solid rgba(201, 164, 76, 0.6);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.4s ease;
  --transition-slow: 0.7s ease;
  --transition-elegant: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Layout Utilities ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section--dark {
  background-color: var(--charcoal);
  color: var(--ivory);
}

.section--maroon {
  background-color: var(--maroon);
  color: var(--ivory);
}

.section--sandstone {
  background-color: var(--sandstone);
  color: var(--text-primary);
}

.section--gold {
  background-color: var(--gold);
  color: var(--charcoal);
}

.section--ivory {
  background-color: var(--ivory);
}

.section--sandstone {
  background-color: var(--sandstone);
}

/* ── Typography ────────────────────────────────────────────── */
.heading-hero {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.heading-1 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.heading-2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 1.2;
}

.heading-3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 500;
  line-height: 1.3;
}

.heading-4 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.35;
}

.subheading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.body-lg { font-size: var(--text-md); line-height: 1.8; }
.body-base { font-size: var(--text-base); line-height: 1.75; }
.body-sm { font-size: var(--text-sm); line-height: 1.7; }

/* ── Gold Divider ──────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.divider-ornament {
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}

.divider--center {
  justify-content: center;
}

/* ── Section Header ────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-header .subheading {
  margin-bottom: 1rem;
}

.section-header .heading-2 {
  margin-bottom: 1.25rem;
}

.section-header p {
  font-size: var(--text-md);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

.section--dark .section-header p,
.section--maroon .section-header p {
  color: var(--text-secondary);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
  z-index: -1;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: var(--shadow-gold);
}

.btn-primary::before {
  background: var(--gold-dark);
}

.btn-primary:hover {
  color: var(--charcoal);
  box-shadow: 0 6px 30px rgba(201, 164, 76, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline::before {
  background: var(--gold);
}

.btn-outline:hover {
  color: var(--charcoal);
}

.btn-outline-light {
  border: 1px solid rgba(248, 245, 238, 0.6);
  color: var(--ivory);
  background: transparent;
}

.btn-outline-light::before {
  background: rgba(248, 245, 238, 0.15);
}

.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: var(--text-xs);
}

/* ── Top Banner ─────────────────────────────────────────────── */
.top-banner {
  position: relative;
  z-index: 1001;
  background: var(--maroon);
  color: var(--ivory);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: var(--text-xs);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.top-banner__close {
  background: transparent;
  border: none;
  color: var(--ivory);
  font-size: 1rem;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.top-banner__close:hover {
  opacity: 1;
}

.top-banner a {
  color: var(--gold);
  text-decoration: underline;
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  height: var(--nav-height);
  transition: all var(--transition-base);
}

.nav--scrolled {
  position: fixed;
  top: 0;
  height: auto;
  padding: 8px 0;
  background: var(--ivory);
  box-shadow: 0 4px 20px rgba(90, 30, 36, 0.05);
  border-bottom: 1px solid rgba(201, 164, 76, 0.15);
}

.nav--transparent {
  background: linear-gradient(to bottom, rgba(26, 8, 10, 0.7) 0%, transparent 100%);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav__logo-img {
  height: 55px;
  width: auto;
  transition: all var(--transition-fast);
}

.nav--scrolled .nav__logo-img {
  content: url('../images/sita-logo-dark.png');
}

.nav__logo:hover img {
  opacity: 0.85;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon-dark);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.nav--transparent .nav__link {
  color: rgba(248, 245, 238, 0.9);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
  color: var(--gold);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta.btn {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: var(--ivory) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  border-radius: 50px !important;
  padding: 0.5rem 1.5rem !important;
  margin-left: 1rem;
}

.nav__cta.btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  transform: translateY(-2px) !important;
}

.nav--scrolled .nav__cta.btn {
  background: rgba(201, 164, 76, 0.15) !important;
  border: 1px solid rgba(201, 164, 76, 0.5) !important;
  color: var(--maroon-dark) !important;
  box-shadow: 0 8px 32px 0 rgba(201, 164, 76, 0.1) !important;
}

.nav--scrolled .nav__cta.btn:hover {
  background: rgba(201, 164, 76, 0.3) !important;
  box-shadow: 0 8px 32px 0 rgba(201, 164, 76, 0.25) !important;
  border-color: rgba(201, 164, 76, 0.8) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: all var(--transition-base);
}

.nav--scrolled .nav__hamburger[aria-expanded="false"] span {
  background: var(--maroon);
}

.nav__hamburger[aria-expanded="true"] span {
  background: var(--ivory) !important;
}

/* ── Scroll Animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Gold Ornamental Elements ───────────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  color: var(--gold);
  font-size: 1.1rem;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 164, 76, 0.5), transparent);
  max-width: 200px;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-elegant);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(201, 164, 76, 0.5);
}

.card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(201, 164, 76, 0.2);
}

.card--dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201, 164, 76, 0.4);
}

/* ── Grid Layouts ───────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ── Lotus / Decorative Pattern (SVG-based) ─────────────────── */
.lotus-divider {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.lotus-divider svg {
  width: 160px;
  height: 20px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.8;
  opacity: 0.7;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--maroon-dark);
  color: var(--ivory);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand img {
  height: 50px;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer__brand p {
  font-size: var(--text-sm);
  color: rgba(248, 245, 238, 0.65);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201, 164, 76, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.footer__links a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(248, 245, 238, 0.65);
  margin-bottom: 0.65rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover { color: var(--gold); }

.footer__contact p {
  font-size: var(--text-sm);
  color: rgba(248, 245, 238, 0.65);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer__contact p i {
  color: var(--gold);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(201, 164, 76, 0.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: rgba(248, 245, 238, 0.45);
}

.footer__kvk {
  font-size: var(--text-xs);
  color: rgba(248, 245, 238, 0.45);
}

/* ── Page Hero ──────────────────────────────────────────────── */
.page-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
  background: var(--maroon-dark);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(61, 19, 24, 0.7), rgba(26, 8, 10, 0.9));
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero .subheading {
  margin-bottom: 1.25rem;
}

.page-hero .heading-1 {
  color: var(--ivory);
  margin-bottom: 1.25rem;
}

.page-hero p {
  color: rgba(248, 245, 238, 0.8);
  font-size: var(--text-md);
  max-width: 650px;
  margin: 0 auto;
}

/* ── Accordion ──────────────────────────────────────────────── */
.accordion__item {
  border-bottom: 1px solid rgba(201, 164, 76, 0.25);
}

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.accordion__header:hover { color: var(--maroon); }

.accordion__icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.accordion__item.active .accordion__icon {
  background: var(--gold);
  color: var(--charcoal);
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.accordion__item.active .accordion__body {
  max-height: 1000px;
}

.accordion__content {
  padding-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.8;
}

/* ── Tabs ───────────────────────────────────────────────────── */
.tabs__nav {
  display: flex;
  border-bottom: 1px solid rgba(201, 164, 76, 0.25);
  margin-bottom: 2.5rem;
  gap: 0;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition-fast);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.tab-btn:hover { color: var(--maroon); }

.tab-btn.active {
  color: var(--maroon);
  border-bottom-color: var(--gold);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Statistics Counter ─────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(248, 245, 238, 0.8);
  letter-spacing: 0.05em;
  line-height: 1.5;
}

/* ── Quote Block ────────────────────────────────────────────── */
.quote-block {
  position: relative;
  padding: 3rem;
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, rgba(201, 164, 76, 0.06), rgba(201, 164, 76, 0.02));
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.quote-block::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: -1rem;
  left: 1rem;
  line-height: 1;
}

.quote-block blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.quote-block cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Testimonial Carousel ───────────────────────────────────── */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(90, 30, 36, 0.1);
  border-radius: var(--radius-base);
  padding: 2rem 2rem 1.5rem;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-align: left;
  box-shadow: 0 4px 15px rgba(90, 30, 36, 0.04);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 164, 76, 0.35);
  box-shadow: 0 10px 25px rgba(90, 30, 36, 0.08);
}

.testimonial-card__quote-icon {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(201, 164, 76, 0.15);
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  pointer-events: none;
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: 0.75rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1rem;
  position: relative;
  z-index: 1;
}

.testimonial-card__text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-card__footer {
  border-top: 1px solid rgba(90, 30, 36, 0.08);
  padding-top: 1rem;
}

.testimonial-card__name {
  font-family: var(--font-heading);
  color: var(--maroon-dark);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}



/* ── Event Cards ────────────────────────────────────────────── */
.event-card {
  background: var(--white);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-elegant);
  box-shadow: var(--shadow-sm);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.event-card__image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-card:hover .event-card__image img {
  transform: scale(1.05);
}

.event-card__date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--maroon);
  color: var(--ivory);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.event-card__body {
  padding: 1.5rem;
}

.event-card__location {
  font-size: var(--text-xs);
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.event-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.event-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ── Timeline ───────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(201, 164, 76, 0.2));
}

.timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ivory);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.timeline__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── Lineage Tree ───────────────────────────────────────────── */
.lineage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.lineage__node {
  text-align: center;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, rgba(201, 164, 76, 0.1), rgba(201, 164, 76, 0.05));
  border: 1px solid rgba(201, 164, 76, 0.35);
  border-radius: var(--radius-md);
  min-width: 280px;
  position: relative;
}

.lineage__node h4 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--text-primary);
}

.lineage__node p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.lineage__node.highlight {
  background: linear-gradient(135deg, rgba(90, 30, 36, 0.12), rgba(90, 30, 36, 0.06));
  border-color: var(--maroon);
}

.lineage__node.highlight h4 { color: var(--maroon); }

.lineage__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0;
  color: var(--gold);
  font-size: 1.2rem;
  position: relative;
}

.lineage__arrow::before {
  content: '';
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--gold);
  opacity: 0.4;
}

/* ── Tag Pills ──────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid;
}

.tag--gold {
  background: rgba(201, 164, 76, 0.12);
  border-color: rgba(201, 164, 76, 0.4);
  color: var(--gold-dark);
}

.tag--maroon {
  background: rgba(90, 30, 36, 0.1);
  border-color: rgba(90, 30, 36, 0.3);
  color: var(--maroon);
}

/* ── Notification Banner ────────────────────────────────────── */
.top-banner {
  background: var(--maroon);
  color: var(--ivory);
  text-align: center;
  padding: 0.6rem;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

.top-banner a {
  color: var(--gold);
  text-decoration: underline;
}

body.has-banner {
  --nav-height: 116px;
}

body.has-banner .nav {
  top: 36px;
}

/* ── Feature Icon Cards ─────────────────────────────────────── */
.feature-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(201, 164, 76, 0.2);
  border-radius: var(--radius-md);
  background: var(--white);
  text-align: center;
  transition: all var(--transition-elegant);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(201, 164, 76, 0.45);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 164, 76, 0.15), rgba(201, 164, 76, 0.05));
  border: 1px solid rgba(201, 164, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--gold);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-card__icon {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: var(--shadow-gold);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__menu { display: none; }
  .nav__menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 8, 10, 0.98);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav__menu.open .nav__link {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    color: var(--ivory) !important;
  }
  .nav__menu.open .nav__link::after {
    background: var(--ivory);
  }
  .nav__hamburger { display: flex; z-index: 1000; }
  .nav__cta { display: none; }
  
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .btn { padding: 0.8rem 1.6rem; }
  .testimonial-card { padding: 1.75rem; }
  .quote-block { padding: 2rem 1.5rem; }
}

/* ── Accessibility ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn::before { transition: none; }
  .card, .feature-card, .event-card { transition: none; }
}

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

/* ── Loading state ──────────────────────────────────────────── */
.page-loading {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

.page-loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.page-loading__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.page-loading__logo {
  width: 140px;
  height: auto;
}

.page-loading__spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(201, 164, 76, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

/* ── Go To Top Button ───────────────────────────────────────── */
.go-top-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: var(--maroon);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.go-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.go-top-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-3px);
}

/* ── WhatsApp Float ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  color: white;
}

/* ── Global Modal / Popup ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 8, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--ivory);
  border: 1px solid rgba(201, 164, 76, 0.4);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 450px;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 25px 50px -12px rgba(90, 30, 36, 0.25);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  padding: 1.5rem 2rem;
  color: var(--ivory);
  text-align: center;
  position: relative;
  flex-shrink: 0;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.modal-header p {
  font-size: 0.85rem;
  opacity: 0.8;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ivory);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.modal-close:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: rotate(90deg);
}

.modal-body {
  padding: 1.5rem 2rem 2rem;
  overflow-y: auto;
}

.modal-form .form-group {
  margin-bottom: 1.1rem;
}

.modal-form label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(201, 164, 76, 0.3);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: all var(--transition-fast);
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.15);
}

.modal-form textarea {
  resize: vertical;
  min-height: 80px;
}

.modal-submit {
  width: 100%;
  padding: 0.85rem;
  margin-top: 0.5rem;
  justify-content: center;
}
