/* ============================================================
   SWARASEVA — Master Stylesheet
   Fonts: Poppins (headings + body) | Hind Marathi (Devanagari)
   Colours: Cream #e9d0a9 | Saffron #ef8b1b | Crimson #a41817
            Heading #0e0f14 | Body copy #757992
   Mobile-first responsive | No frameworks
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Hind+Marathi:wght@300;400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --cream:        #e9d0a9;
  --saffron:      #ef8b1b;
  --saffron-dark: #c97210;
  --crimson:      #a41817;
  --crimson-dark: #7d1111;
  --heading:      #0e0f14;
  --body:         #757992;
  --white:        #ffffff;
  --black:        #0e0f14;
  --bg-light:     #fdf6ec;
  --bg-cream:     #f5ead6;
  --border:       rgba(164,24,23,0.15);
  --shadow-sm:    0 2px 8px rgba(14,15,20,0.08);
  --shadow-md:    0 4px 20px rgba(14,15,20,0.12);
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --transition:   0.25s ease;
  --font-main:    'Poppins', sans-serif;
  --font-marathi: 'Hind Marathi', sans-serif;
  --nav-height:   68px;
  --max-width:    1200px;
  --section-pad:  80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--body);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

a:hover { color: var(--crimson-dark); }

ul, ol { list-style: none; }

button {
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-main);
  font-size: 1rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 600;
  color: #893314;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.marathi { font-family: var(--font-marathi); }

.text-crimson  { color: var(--crimson); }
.text-saffron  { color: var(--saffron); }
.text-heading  { color: var(--heading); }
.text-body     { color: var(--body); }
.text-white    { color: var(--white); }
.text-center   { text-align: center; }
.text-left     { text-align: left; }

/* Placeholder text — red, clearly marked as temporary */
.body-copy {
  color: #632900;
  font-style: normal;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-pad) 0;
}

.section-sm { padding: 40px 0; }
.section-lg { padding: 120px 0; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-title .title-line {
  width: 60px;
  height: 3px;
  background: var(--saffron);
  margin: 16px auto 0;
  border-radius: 2px;
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(413px, 100px)); justify-content: center; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 100px)); justify-content: center; gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 100px)); justify-content: center; gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 500px)); justify-content: center; gap: 20px; }


.flex       { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap  { flex-wrap: wrap; }
.gap-sm     { gap: 12px; }
.gap-md     { gap: 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-main);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}
.btn-primary:hover {
  background: var(--crimson-dark);
  border-color: var(--crimson-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--crimson);
  border-color: var(--crimson);
}
.btn-secondary:hover {
  background: var(--crimson);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-saffron {
  background: var(--saffron);
  color: var(--white);
  border-color: var(--saffron);
}
.btn-saffron:hover {
  background: var(--saffron-dark);
  border-color: var(--saffron-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--crimson);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream);
  color: var(--crimson-dark);
}

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-body { padding: 24px; }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-img-square { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.card-img-portrait { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.925rem;
  color: var(--body);
  line-height: 1.6;
}

/* --- Image Placeholder --- */
.img-placeholder {
  background: #b4b2a9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  border-radius: var(--radius-md);
  width: 100%;
}

.img-placeholder .ph-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  opacity: 0.6;
  color: #2c2c2a;
}

.img-placeholder .ph-size {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2c2c2a;
  margin-bottom: 6px;
}

.img-placeholder .ph-subject {
  font-size: 0.78rem;
  color: #444441;
  line-height: 1.4;
  max-width: 200px;
}

/* Hero placeholder — full width */
.hero-placeholder {
  background: #b4b2a9;
  width: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.hero-placeholder .ph-size {
  font-size: 1rem;
  font-weight: 600;
  color: #2c2c2a;
  margin-bottom: 8px;
}

.hero-placeholder .ph-subject {
  font-size: 0.9rem;
  color: #444441;
  max-width: 400px;
  line-height: 1.5;
}

/* --- Parallax Hero --- */
.hero {
  position: relative;
  min-height: 1080px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--heading);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.75;
  will-change: transform;
}

/* Disable fixed attachment on mobile — performance */
@media (max-width: 768px) {
  .hero-bg { background-attachment: scroll; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,15,20,0.45) 0%,
    rgba(14,15,20,0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 20px 60px;
  color: var(--white);
}

.hero-content h1 { color: var(--cream); margin-bottom: 16px; }
.hero-content p  { color: rgba(233,208,169,0.9); font-size: 1.1rem; max-width: 580px; }

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 12px;
  display: block;
}

.hero-actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Sticky Page Nav (in-page sections) --- */
.sticky-page-nav {
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  background: var(--white);
  border-bottom: 2px solid var(--cream);
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sticky-page-nav::-webkit-scrollbar { display: none; }

.sticky-page-nav ul {
  display: flex;
  gap: 0;
  min-width: max-content;
  padding: 0 20px;
}

.sticky-page-nav ul li a {
  display: block;
  padding: 16px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--body);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.sticky-page-nav ul li a:hover,
.sticky-page-nav ul li a.active {
  color: var(--crimson);
  border-bottom-color: var(--crimson);
}

/* --- Accordion --- */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }

.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--white);
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--heading);
  cursor: pointer;
  transition: background var(--transition);
  gap: 16px;
}

.accordion-trigger:hover { background: var(--bg-light); }

.accordion-trigger[aria-expanded="true"] { background: var(--bg-light); color: var(--crimson); }

.accordion-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 2px solid var(--crimson);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  font-size: 1.1rem;
  color: var(--crimson);
  line-height: 1;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  background: var(--bg-light);
}

.accordion-body.open {
  max-height: 800px;
  padding: 20px 24px;
}

.accordion-body p { font-size: 0.95rem; color: var(--body); margin-bottom: 10px; }

/* --- Timeline --- */
.timeline { position: relative; padding-left: 32px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cream);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--saffron);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--saffron);
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 0.9rem;
  color: #632900;
  line-height: 1.6;
}

/* --- Sponsor Banner --- */
.sponsor-banner {
  background: var(--bg-cream);
  border: 1px dashed var(--saffron);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-align: center;
  margin: 24px 0;
}

.sponsor-banner .sb-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body);
  margin-bottom: 8px;
}

.sponsor-banner img { max-height: 80px; margin: 0 auto; }

.sponsor-banner .sb-placeholder {
  background: #b4b2a9;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.8rem;
  color: #444441;
}

.sponsor-banner .sb-placeholder .ph-size {
  font-weight: 600;
  color: #2c2c2a;
  margin-bottom: 4px;
}

/* --- Carousel --- */
.carousel-wrap { position: relative; overflow: hidden; }

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.carousel-track .card { flex: 0 0 calc(33.333% - 16px); margin-right: 24px; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--crimson);
  color: var(--crimson);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all var(--transition);
  cursor: pointer;
}

.carousel-btn:hover { background: var(--crimson); color: var(--white); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}

.carousel-dot.active { background: var(--crimson); }

/* --- Deity / Guru Portrait Card --- */
.deity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.deity-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.deity-card .dc-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-cream);
}

.deity-card .dc-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.deity-card .dc-body { padding: 20px; }
.deity-card .dc-name { font-size: 1.1rem; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.deity-card .dc-essence { font-size: 0.875rem; color: #632900; font-style: italic; line-height: 1.5; margin-bottom: 14px; }

/* --- Quote / Pull Quote --- */
.pull-quote {
  border-left: 4px solid var(--saffron);
  padding: 20px 28px;
  background: var(--bg-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
}

.pull-quote p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--heading);
  line-height: 1.7;
  margin-bottom: 8px;
}

.pull-quote cite {
  font-size: 0.85rem;
  color: var(--saffron);
  font-weight: 500;
  font-style: normal;
}

/* --- Teaching Card --- */
.teaching-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
  padding-top: 30px;
  border-top: 4px solid var(--saffron);
  transition: all var(--transition);
}

.teaching-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.teaching-card .tc-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 12px;
}

.teaching-card .tc-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #893314;
  margin-top: 20px;
  margin-bottom: 10px;
}

.teaching-card .tc-text {
  font-size: 0.9rem;
  color: #632900;
  line-height: 1.6;
}

.teaching-card .tc-img { display: block; margin: auto; width: 200px; height: 200px; overflow: hidden; background: var(--bg-light); }
.teaching-card .tc-img img { width: 100%; height: 100%; object-fit: cover; }


/* --- Video Grid --- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.video-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.video-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--heading);
}

.video-embed-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-card .vc-body { padding: 16px; }
.video-card .vc-title { font-size: 0.95rem; font-weight: 500; color: var(--heading); margin-bottom: 4px; }
.video-card .vc-tag { font-size: 0.78rem; color: var(--saffron); font-weight: 500; }

/* --- Filter Pills --- */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-pill {
  padding: 8px 20px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--body);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill:hover { border-color: var(--saffron); color: var(--saffron); }
.filter-pill.active { background: var(--crimson); border-color: var(--crimson); color: var(--white); }

/* --- Blog Card --- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.blog-card .bc-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .bc-img img { transform: scale(1.04); }

.blog-card .bc-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card .bc-date { font-size: 0.78rem; color: var(--saffron); font-weight: 500; margin-bottom: 6px; }
.blog-card .bc-title { font-size: 1.05rem; font-weight: 600; color: var(--heading); margin-bottom: 8px; line-height: 1.4; }
.blog-card .bc-excerpt { font-size: 0.875rem; color: var(--body); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.blog-card .bc-link { font-size: 0.875rem; font-weight: 500; color: var(--crimson); }
.blog-card .bc-link:hover { color: var(--crimson-dark); }

/* --- Event Card --- */
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.event-card.featured { border-color: var(--saffron); border-width: 2px; }

.event-card .ec-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-cream); }
.event-card .ec-img img { width: 100%; height: 100%; object-fit: cover; }

.event-card .ec-body { padding: 30px; }
.event-card .ec-tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--saffron); margin-bottom: 6px; }
.event-card .ec-title { font-size: 1.2rem; font-weight: 600; color: #7b422d; margin-bottom: 8px; margin-top: 20px;}
.event-card .ec-date { font-size: 0.875rem; color: #7b422d; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.event-card .ec-desc { font-size: 0.9rem; color: #632900; line-height: 1.6; margin-bottom: 16px; }

/* --- Sections with bg colours --- */
.bg-cream   { background-color: var(--bg-cream); }
.bg-light   { background-color: var(--bg-light); }
.bg-crimson { background-color: var(--crimson); color: var(--white); }
.bg-dark    { background-color: #291c1c; color: var(--white); }

.bg-crimson h1, .bg-crimson h2, .bg-crimson h3,
.bg-dark    h1, .bg-dark    h2, .bg-dark    h3 { color: var(--cream); }

.bg-crimson p, .bg-dark p { color: rgba(233,208,169,0.85); }

/* --- Divider --- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--saffron);
  border-radius: 2px;
  margin: 16px 0;
}

.divider-center { margin: 16px auto; }

/* --- Badges / Tags --- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 500;
}

.badge-crimson { background: rgba(164,24,23,0.1); color: var(--crimson); }
.badge-saffron { background: rgba(239,139,27,0.12); color: var(--saffron-dark); }
.badge-cream   { background: var(--cream); color: var(--crimson-dark); }

/* --- WhatsApp Button --- */
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: #291c1c;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(233,208,169,0.1);
  transition: all var(--transition);
}

.site-nav.scrolled {
  background: #291c1c;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo { flex-shrink: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; }

/* Desktop nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(233,208,169,0.85);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover { color: var(--saffron); background: rgba(239,139,27,0.1); }
.nav-link.active { color: var(--saffron); }

.nav-link .arrow {
  font-size: 0.65rem;
  transition: transform var(--transition);
  margin-top: 1px;
}

.nav-item-wrap:hover .arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-item-wrap { position: relative; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(14,15,20,0.2);
  min-width: 440px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}

.nav-item-wrap:hover .nav-dropdown,
.nav-item-wrap:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-grid { display: grid; gap: 4px; }
.dropdown-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.dropdown-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.dropdown-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--saffron);
  padding: 8px 12px 4px;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--heading);
  font-weight: 400;
  transition: all var(--transition);
}

.dropdown-link:hover { background: var(--bg-light); color: var(--crimson); }

.dropdown-link .dl-icon {
  width: 20px;
  height: 20px;
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 8px;
}

/* Right side nav */
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.nav-about {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(233,208,169,0.85);
  padding: 8px 16px;
  border: 1.5px solid rgba(233,208,169,0.3);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.nav-about:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-hamburger:hover { background: rgba(255,255,255,0.1); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14,15,20,0.98);
  z-index: 999;
  overflow-y: auto;
  padding: 24px 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.nav-mobile.open { transform: translateX(0); }

.mobile-nav-section { margin-bottom: 24px; }

.mobile-nav-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--saffron);
  margin-bottom: 8px;
  padding: 0 4px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--cream);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  font-weight: 400;
}

.mobile-nav-link:hover { background: rgba(239,139,27,0.1); color: var(--saffron); }

.mobile-nav-divider { height: 1px; background: rgba(233,208,169,0.1); margin: 16px 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--heading);
  color: rgba(233,208,169,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .fb-logo { height: 48px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 260px; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--saffron);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(233,208,169,0.65);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--saffron); }

.footer-bottom {
  border-top: 1px solid rgba(233,208,169,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(233,208,169,0.45); margin: 0; }
.footer-bottom a { color: rgba(233,208,169,0.65); font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--saffron); }

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(233,208,169,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(233,208,169,0.65);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--saffron);
  color: var(--saffron);
  background: rgba(239,139,27,0.1);
}

/* ============================================================
   PAGE-SPECIFIC — Body offset for fixed nav
   ============================================================ */
.page-body { padding-top: var(--nav-height); }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet — 768px */
@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  .nav-menu, .nav-about { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: block; }

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

  .carousel-track .card { flex: 0 0 calc(80% - 12px); }

  .hero { min-height: 420px; }
  .hero-content { padding: 80px 20px 48px; }

  .grid-3, .grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* Mobile — 480px */
@media (max-width: 480px) {
  :root { --section-pad: 40px; }

  .hero { min-height: 360px; }
  .hero-content h1 { font-size: 1.75rem; }
  .hero-content p { font-size: 0.95rem; }

  .btn { padding: 10px 22px; font-size: 0.9rem; }
  .btn-lg { padding: 12px 28px; font-size: 0.95rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .accordion-trigger { padding: 16px 18px; font-size: 0.9rem; }
  .accordion-body.open { padding: 16px 18px; }

  .carousel-track .card { flex: 0 0 calc(90% - 8px); }

  .grid-2 { grid-template-columns: 1fr; }
}

/* Large screens — 1400px+ */
@media (min-width: 1400px) {
  :root { --max-width: 1320px; }
}
