/* ============================================================
   IONIC COMPOSITE LODGE No. 520 — Custom Theme
   Design: Dark masonic aesthetic with gold accents
   ============================================================ */

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

/* --- CSS Variables --- */
:root {
  --bg-primary:   #080c08;
  --bg-secondary: #0e140e;
  --bg-card:      #121912;
  --bg-card-2:    #161f16;
  --gold:         #c9a057;
  --gold-light:   #d4b06a;
  --gold-dark:    #9e7c3a;
  --white:        #f0ede8;
  --text:         #d8d5d0;
  --text-muted:   #7a8c7a;
  --border:       rgba(201,160,87,0.18);
  --border-card:  rgba(201,160,87,0.10);
  --radius:       10px;
  --radius-lg:    16px;
  --nav-h:        76px;
  --max-w:        1200px;
  --transition:   0.25s ease;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { color: var(--text); }

.gold { color: var(--gold); }
.serif { font-family: 'Cormorant Garamond', serif; }

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 100px 0; }
.section-center { text-align: center; }
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Divider --- */
.divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 0 auto 2.5rem;
  max-width: 200px;
}
.divider::before, .divider::after {
  content: ''; flex: 1;
  height: 1px; background: var(--border);
}
.divider svg { flex-shrink: 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #080c08;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,160,87,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(201,160,87,0.08);
  transform: translateY(-2px);
}

/* --- NAV --- */
nav#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(8,12,8,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  transition: background var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.85rem;
  text-decoration: none;
}
.nav-logo img { width: 38px; height: 38px; }
.nav-logo-text .name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}
.nav-logo-text .sub {
  display: block;
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 2.2rem;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
}

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--transition);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 2rem 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(201,160,87,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(8,12,8,0.8) 0%, transparent 60%);
  pointer-events: none;
}
.hero-icon {
  width: 72px; height: 72px;
  margin: 0 auto 2rem;
  opacity: 0.85;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 em {
  font-style: normal; color: var(--gold);
  font-weight: 700;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
  color: var(--text-muted); font-size: 1.4rem;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* --- PILLARS / MASTERY --- */
.pillars { background: var(--bg-secondary); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all var(--transition);
}
.pillar-card:hover {
  border-color: var(--border);
  background: var(--bg-card-2);
  transform: translateY(-4px);
}
.pillar-icon {
  width: 44px; height: 44px;
  background: rgba(201,160,87,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--gold);
}
.pillar-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.pillar-card p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* --- PATH SECTION --- */
.path-section { text-align: center; }
.path-section h2 { margin-bottom: 1.2rem; }
.path-section p {
  max-width: 600px; margin: 0 auto 2.5rem;
  color: var(--text-muted); font-size: 1.05rem;
}

/* --- TRESTLE BOARDS PREVIEW --- */
.tb-preview { background: var(--bg-secondary); }
.tb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.tb-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  display: flex; align-items: center; gap: 0.8rem;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
}
.tb-card:hover {
  border-color: var(--border);
  background: var(--bg-card-2);
  color: var(--gold);
}
.tb-card svg { flex-shrink: 0; color: var(--gold); }
.tb-card span { font-size: 0.85rem; line-height: 1.3; }

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  padding: calc(var(--nav-h) + 70px) 0 60px;
  text-align: center;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 1px; background: var(--border);
}
.page-hero .section-label { margin-bottom: 0.5rem; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero p {
  color: var(--text-muted); max-width: 520px;
  margin: 1rem auto 0; font-size: 1.05rem;
}

/* --- ABOUT: Who We Are --- */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.who-text h2 { margin-bottom: 1.5rem; }
.who-text p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.75; }
.who-image {
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.who-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 1; }

/* --- Photo Carousel --- */
.photo-carousel { margin-top: 3rem; }
.carousel-stage {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  user-select: none;
}
.carousel-stage img {
  width: 100%;
  height: 540px;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s;
}
.carousel-stage img.fading { opacity: 0; }
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(8,12,8,0.65); border: 1px solid rgba(201,160,87,0.35);
  color: var(--gold); font-size: 2rem; line-height: 1;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition);
  z-index: 3;
}
.carousel-nav:hover { background: rgba(201,160,87,0.2); }
.carousel-nav.prev { left: 1rem; }
.carousel-nav.next { right: 1rem; }
.carousel-expand {
  position: absolute; top: 0.8rem; right: 0.8rem;
  background: rgba(8,12,8,0.65); border: 1px solid rgba(201,160,87,0.35);
  color: var(--gold); font-size: 1rem;
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
  transition: background var(--transition);
}
.carousel-expand:hover { background: rgba(201,160,87,0.2); }
.carousel-badge {
  position: absolute; bottom: 0.8rem; right: 0.8rem;
  background: rgba(8,12,8,0.7); color: var(--gold);
  font-size: 0.72rem; letter-spacing: 0.06em;
  padding: 0.22rem 0.65rem; border-radius: 20px;
  z-index: 3; pointer-events: none;
}
.carousel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(8,12,8,0.75));
  color: rgba(240,237,232,0.75); font-size: 0.78rem;
  padding: 2rem 1rem 0.7rem; text-align: center;
  pointer-events: none; z-index: 3;
}
.carousel-thumbs {
  display: flex; gap: 5px;
  overflow-x: auto;
  padding: 0.65rem 0 0.2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--bg-secondary);
}
.carousel-thumbs::-webkit-scrollbar { height: 3px; }
.carousel-thumbs::-webkit-scrollbar-track { background: transparent; }
.carousel-thumbs::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }
.c-thumb {
  flex-shrink: 0;
  width: 76px; height: 56px;
  object-fit: contain;
  background: var(--bg-secondary);
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s, border-color 0.2s;
}
.c-thumb:hover { opacity: 0.8; }
.c-thumb.active { border-color: var(--gold); opacity: 1; }

/* --- Lightbox --- */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(4,6,4,0.97);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lb-img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 80px rgba(0,0,0,0.9);
  display: block;
}
.lb-close {
  position: fixed; top: 1rem; right: 1.5rem;
  font-size: 2.2rem; color: rgba(240,237,232,0.7);
  background: none; border: none; cursor: pointer;
  line-height: 1; z-index: 10000;
  transition: color 0.2s;
}
.lb-close:hover { color: var(--gold); }
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(240,237,232,0.8); font-size: 2.2rem; line-height: 1;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, color 0.2s;
  z-index: 10000;
}
.lb-nav:hover { background: rgba(201,160,87,0.2); color: var(--gold); }
.lb-nav.prev { left: 1.2rem; }
.lb-nav.next { right: 1.2rem; }
.lb-counter {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  color: rgba(240,237,232,0.4); font-size: 0.78rem; letter-spacing: 0.12em;
  z-index: 10000; pointer-events: none;
}
.lb-caption-text {
  position: fixed; bottom: 2.6rem; left: 50%; transform: translateX(-50%);
  color: rgba(240,237,232,0.6); font-size: 0.82rem;
  z-index: 10000; pointer-events: none; white-space: nowrap;
  max-width: 80vw; overflow: hidden; text-overflow: ellipsis;
}

/* --- Core Values --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  text-align: center;
  padding: 2rem 1rem;
}
.value-card .val-icon {
  width: 48px; height: 48px;
  background: rgba(201,160,87,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: var(--gold); font-size: 1.3rem;
}
.value-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.value-card p  { color: var(--text-muted); font-size: 0.875rem; }

/* --- What We Do --- */
.what-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 3rem;
}
.what-box h2 { text-align: center; margin-bottom: 2rem; }
.what-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
.what-item { display: flex; gap: 0.75rem; }
.what-item::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  margin-top: 0.55rem; flex-shrink: 0;
}
.what-item strong { color: var(--white); display: block; margin-bottom: 0.25rem; }
.what-item p { color: var(--text-muted); font-size: 0.875rem; }

/* --- HISTORY: Timeline --- */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: var(--border);
  transform: translateX(-50%);
}
.tl-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 3rem);
  margin-bottom: 3rem;
  position: relative;
}
.tl-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 3rem);
}
.tl-dot {
  position: absolute; left: 50%; top: 0.5rem;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem; font-weight: 600;
  color: var(--gold);
  z-index: 1;
}
.tl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  max-width: 420px;
}
.tl-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.tl-card p  { color: var(--text-muted); font-size: 0.875rem; }

/* Future Beckons box */
.future-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  margin-top: 4rem;
}
.future-box p { color: var(--text-muted); max-width: 540px; margin: 1rem auto 0; }

/* --- EVENTS --- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.event-card:hover {
  border-color: var(--border); transform: translateY(-4px);
}
.event-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.event-time {
  display: flex; align-items: center; gap: 0.4rem;
  color: var(--gold); font-size: 0.82rem; margin-bottom: 0.9rem;
}
.event-card p { color: var(--text-muted); font-size: 0.875rem; }

/* Visiting box */
.visiting-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  margin-top: 2rem;
}
.visiting-box svg { margin: 0 auto 1rem; color: var(--gold); }
.visiting-box h2 { margin-bottom: 1rem; }
.visiting-box p  { color: var(--text-muted); max-width: 540px; margin: 0 auto 1.8rem; }

/* --- TRESTLE BOARDS PAGE --- */
.tb-year-section { margin-bottom: 3rem; }
.tb-year-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  margin-bottom: 1.2rem;
}
.tb-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.8rem;
}
.tb-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.6rem; text-align: center;
  transition: all var(--transition);
  color: var(--text);
  text-decoration: none;
}
.tb-item:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}
.tb-item svg { color: var(--gold); }
.tb-item span { font-size: 0.78rem; }

/* --- MEMBERSHIP / FAQ --- */
.faq-list { margin-top: 2rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.6rem;
  cursor: pointer;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-card-2); }
.faq-question h3 { font-size: 1.05rem; margin: 0; }
.faq-question .q-icon { color: var(--gold); font-size: 1.2rem; transition: transform var(--transition); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer p {
  padding: 0 1.6rem 1.4rem;
  color: var(--text-muted); font-size: 0.9rem;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-item.open .q-icon { transform: rotate(90deg); }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.step-num {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; color: var(--gold);
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step-card p  { color: var(--text-muted); font-size: 0.85rem; }

/* CTA box */
.cta-box {
  background: linear-gradient(135deg, rgba(201,160,87,0.08), rgba(201,160,87,0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  margin-top: 3rem;
}
.cta-box p { color: var(--text-muted); max-width: 480px; margin: 1rem auto 2rem; }

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex; gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-detail .c-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(201,160,87,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-top: 2px;
}
.contact-detail .c-label {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.2rem;
}
.contact-detail .c-value { color: var(--text); font-size: 0.9rem; line-height: 1.5; }

.directions-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.directions-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.directions-card p  { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.8rem; }
.map-link { color: var(--gold); font-size: 0.85rem; display: flex; align-items: center; gap: 0.3rem; }
.map-link:hover { text-decoration: underline; }

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form-wrap h2 { margin-bottom: 1.5rem; font-size: 1.6rem; }
.form-group { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label {
  display: block;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}
input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid rgba(201,160,87,0.15);
  border-radius: 6px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}
input:not([type="radio"]):not([type="checkbox"]):focus, select:focus, textarea:focus {
  border-color: var(--gold);
}
textarea { min-height: 130px; resize: vertical; }
select option { background: var(--bg-secondary); }
.form-note {
  font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem;
}

/* Privacy box */
.privacy-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-top: 2rem;
}
.privacy-box h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.privacy-box p  { color: var(--text-muted); font-size: 0.875rem; }

/* --- FOOTER --- */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  padding: 3.5rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; max-width: 240px; line-height: 1.65; }
.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; color: var(--white); margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.82rem; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-bottom a { color: var(--gold); }

/* --- MOBILE --- */
@media (max-width: 768px) {
  section { padding: 70px 0; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--bg-primary); padding: 2rem; border-bottom: 1px solid var(--border-card); gap: 1.5rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .pillars-grid { grid-template-columns: 1fr; }
  .values-grid  { grid-template-columns: 1fr 1fr; }
  .who-grid     { grid-template-columns: 1fr; }
  .what-list    { grid-template-columns: 1fr; }
  .steps-grid   { grid-template-columns: 1fr; }
  .events-grid  { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 28px; }
  .tl-item, .tl-item:nth-child(even) { padding: 0 0 0 5rem; justify-content: flex-start; }
  .tl-dot { left: 28px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  h1 { font-size: 2.4rem; }
}
