/* ===================================================
   CEDROS DEL LÍBANO No. 79 — Global Stylesheet
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@400;700&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ── Variables ── */
:root {
  --gold:        #c8a96e;
  --gold-light:  #dfc28c;
  --gold-dark:   #9a7a40;
  --gold-subtle: rgba(200,169,110,.08);
  --navy:        #05080e;
  --navy-mid:    #0c1220;
  --navy-card:   #0f1825;
  --navy-border: #1a2940;
  --white:       #ede9e3;
  --muted:       #8a95a8;
  --radius:      3px;
  --transition:  0.3s cubic-bezier(.4,0,.2,1);
  --max-w:       1180px;
  --space-xs:    4px;
  --space-sm:    8px;
  --space-md:    16px;
  --space-lg:    32px;
  --space-xl:    64px;
  --space-2xl:   96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Philosopher', serif;
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

/* ── Stars background ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(200,169,110,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 80%, rgba(200,169,110,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 25%, rgba(200,169,110,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 60%, rgba(200,169,110,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 10%, rgba(200,169,110,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 20% 50%, rgba(200,169,110,.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 65% 90%, rgba(200,169,110,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 45%, rgba(200,169,110,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 35%, rgba(200,169,110,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 5%  70%, rgba(200,169,110,.2) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .035em;
}
p { max-width: 70ch; }
.cinzel-deco { font-family: 'Cinzel Decorative', serif; }
strong { font-weight: 700; }

/* ── Layout helpers ── */
.container { width: 90%; max-width: var(--max-w); margin-inline: auto; }
.section { padding: 96px 0; position: relative; z-index: 1; }
.section-sm { padding: 64px 0; position: relative; z-index: 1; }

/* ── Gold divider ── */
.gold-line {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-inline: auto;
}
.gold-line-left {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 24px;
}

/* ── Section headings ── */
.section-label {
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
  opacity: .85;
}
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  color: var(--white);
  margin-bottom: 20px;
}
.section-title span { color: var(--gold); }
.section-desc {
  color: var(--muted);
  font-size: 1rem;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.8;
}

/* ── Geometric SVG decorations ── */
.geo-corner {
  position: absolute;
  opacity: .07;
  pointer-events: none;
}

/* ── Header / Nav ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(5,8,14,.94);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(200,169,110,.12);
  padding: 13px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-logo img { height: 48px; width: auto; filter: drop-shadow(0 0 8px rgba(200,169,110,.4)); }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: 'Cinzel', serif;
  font-size: .8rem;
  letter-spacing: .12em;
  color: var(--gold);
  line-height: 1;
}
.nav-logo-sub {
  font-size: .65rem;
  color: var(--muted);
  letter-spacing: .1em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  opacity: .75;
  transition: opacity var(--transition), color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  transform-origin: left;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { opacity: 1; color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 8px 18px;
  border-radius: 2px;
  font-size: .7rem !important;
  letter-spacing: .15em;
  transition: background var(--transition), color var(--transition) !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; opacity: 1 !important; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--gold);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  font-family: 'Cinzel', serif;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition),
              border-color var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(200,169,110,.2);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  box-shadow: 0 6px 32px rgba(200,169,110,.35);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(200,169,110,.55);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.btn-lg { padding: 17px 42px; font-size: .78rem; }
.btn-whatsapp {
  background: #22c55e;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 28px rgba(34,197,94,.25);
  font-family: 'Philosopher', serif;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: none;
}
.btn-whatsapp:hover {
  background: #16a34a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(34,197,94,.4);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(200,169,110,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(200,169,110,.05) 0%, transparent 50%);
}
.hero-compass {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  opacity: .04;
  animation: slowSpin 60s linear infinite;
}
@keyframes slowSpin { to { transform: translateY(-50%) rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-eyebrow-line { flex: 0 0 48px; height: 1px; background: var(--gold); }
.hero-eyebrow-text {
  font-family: 'Cinzel', serif;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.02;
  margin-bottom: 10px;
  color: var(--white);
}
.hero-title .accent { color: var(--gold); display: block; }
.hero-number {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(.9rem, 2vw, 1.4rem);
  color: var(--gold-dark);
  letter-spacing: .22em;
  margin-bottom: 32px;
}
.hero-desc {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.85;
}

/* Hero entrance choreography */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-content > * {
  animation: heroFadeUp .9s cubic-bezier(.22,1,.36,1) both;
}
.hero-eyebrow                 { animation-delay: .1s; }
.hero-title                   { animation-delay: .22s; }
.hero-number                  { animation-delay: .34s; }
.hero-badge                   { animation-delay: .44s; }
.hero-desc                    { animation-delay: .54s; }
.hero-actions                 { animation-delay: .66s; }
.hero-logo-wrap               { animation: heroFadeIn 1.2s ease .5s both; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(200,169,110,.3);
  padding: 6px 16px;
  border-radius: 2px;
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--muted);
  margin-bottom: 40px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-logo-wrap {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo {
  width: clamp(200px, 22vw, 320px);
  filter: drop-shadow(0 0 40px rgba(200,169,110,.25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── Divider with symbol ── */
.symbol-divider {
  text-align: center;
  padding: 24px 0;
  position: relative;
  z-index: 1;
}
.symbol-divider::before, .symbol-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,.25));
}
.symbol-divider::before { left: 0; }
.symbol-divider::after { right: 0; transform: scaleX(-1); }
.symbol-divider svg { width: 32px; height: 32px; color: var(--gold); opacity: .6; }

/* ── Cards ── */
.card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: rgba(200,169,110,.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 24px; }
.card-label {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-family: 'Cinzel', serif;
}
.card-title { font-size: 1rem; margin-bottom: 8px; }
.card-text { font-size: .88rem; color: var(--muted); }

/* ── Photo grid ── */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-grid-item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  position: relative;
}
.photo-grid-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
  filter: grayscale(20%) brightness(.85);
}
.photo-grid-item:hover img { transform: scale(1.05); filter: grayscale(0%) brightness(.95); }
.photo-grid-item-lg { grid-column: span 2; aspect-ratio: 16/9; }

/* ── Info strips ── */
.info-strip {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.info-strip-icon { font-size: 2rem; color: var(--gold); flex-shrink: 0; }
.info-strip-label {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: 'Cinzel', serif;
  margin-bottom: 4px;
}
.info-strip-value { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--white); }

/* ── Map container ── */
.map-container {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--navy-border);
  position: relative;
}
.map-container iframe { width: 100%; height: 100%; border: none; filter: invert(.9) hue-rotate(180deg) saturate(.6); }

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy-mid) 0%, rgba(200,169,110,.05) 100%);
  border-top: 1px solid rgba(200,169,110,.15);
  border-bottom: 1px solid rgba(200,169,110,.15);
  text-align: center;
  padding: 96px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.cta-title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-desc { color: var(--muted); max-width: 480px; margin: 0 auto 40px; }

/* ── Timeline (cedros en el tiempo) ── */
.timeline { position: relative; padding: 0 0 64px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(200,169,110,.3) 10%, rgba(200,169,110,.3) 90%, transparent);
  transform: translateX(-50%);
}
.timeline-era {
  position: relative;
  margin-bottom: 80px;
}
.timeline-era-label {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
}
.timeline-era-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--navy-card);
  border: 1px solid var(--gold);
  padding: 10px 28px;
  border-radius: 2px;
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: .15em;
}
.timeline-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  padding: 0 16px;
}
.timeline-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--navy-card);
}
.timeline-photo img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
  filter: sepia(30%) brightness(.8);
}
.timeline-photo:hover img { transform: scale(1.06); filter: sepia(0%) brightness(.95); }
.timeline-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(to top, rgba(6,9,15,.95), transparent);
  font-size: .7rem;
  color: var(--gold-light);
  letter-spacing: .05em;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.timeline-photo:hover .timeline-photo-caption { transform: translateY(0); }

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6,9,15,.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border: 1px solid rgba(200,169,110,.2); }
.lightbox-close {
  position: absolute;
  top: -40px; right: 0;
  background: none; border: none;
  color: var(--gold); font-size: 1.5rem;
  cursor: pointer;
  font-family: 'Cinzel', serif;
}
.lightbox-caption {
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
  margin-top: 12px;
  letter-spacing: .05em;
}

/* ── Venerables ── */
.venerable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.venerable-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.venerable-card:hover {
  border-color: rgba(200,169,110,.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.5);
}
.venerable-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  filter: sepia(10%) brightness(.9);
  transition: filter .4s;
}
.venerable-card:hover .venerable-photo { filter: sepia(0%) brightness(1); }
.venerable-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.venerable-photo-placeholder svg { opacity: .2; }
.venerable-info { padding: 16px; }
.venerable-year {
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 6px;
}
.venerable-name {
  font-size: .85rem;
  font-family: 'Cinzel', serif;
  color: var(--white);
  line-height: 1.3;
}

/* ── History page ── */
.history-content {
  max-width: 760px;
  margin-inline: auto;
}
.history-content h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin: 56px 0 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(200,169,110,.12);
  position: relative;
}
.history-content h3::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 40px; height: 1px;
  background: var(--gold);
}
.history-content p {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 1rem;
  line-height: 1.9;
  max-width: 68ch;
}
.history-content p strong { color: var(--white); font-weight: 700; }
.history-milestone {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--navy-border);
}
.history-milestone:last-child { border-bottom: none; }
.milestone-year {
  flex-shrink: 0;
  font-family: 'Cinzel', serif;
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--gold);
  padding-top: 2px;
  min-width: 80px;
}
.milestone-text { color: var(--muted); font-size: .9rem; }

.history-image {
  width: 100%;
  border-radius: var(--radius);
  margin: 32px 0;
  border: 1px solid var(--navy-border);
  filter: sepia(20%) brightness(.85);
}
.history-image-caption {
  text-align: center;
  font-size: .75rem;
  color: var(--muted);
  margin-top: -24px;
  margin-bottom: 32px;
  letter-spacing: .05em;
}

/* ── History tables ── */
.history-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: .9rem;
}
.history-table th {
  font-family: 'Cinzel', serif;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(200,169,110,.25);
  font-weight: 400;
}
.history-table td {
  padding: 12px 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--navy-border);
  line-height: 1.6;
  vertical-align: top;
}
.history-table tr:last-child td { border-bottom: none; }
.history-table tr.winner td { color: var(--white); }
.history-table tr.winner td:first-child {
  position: relative;
  padding-left: 32px;
}
.history-table tr.winner td:first-child::before {
  content: '◆';
  position: absolute;
  left: 12px;
  color: var(--gold);
  font-size: .65rem;
  top: 50%; transform: translateY(-50%);
}
.history-table tr:hover td { background: rgba(200,169,110,.03); }

/* ── Quote callout ── */
.history-quote {
  margin: 48px 0;
  padding: 32px 40px;
  background: var(--navy-card);
  border: 1px solid rgba(200,169,110,.15);
  border-radius: var(--radius);
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: center;
  position: relative;
}
.history-quote::before {
  content: '❝';
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  color: var(--gold);
  opacity: .35;
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}
.history-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--gold);
  opacity: .8;
}

/* ── Stat pills (quiénes somos) ── */
.stat-pill {
  text-align: center;
  padding: 22px 28px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.stat-pill:hover { border-color: rgba(200,169,110,.35); }
.stat-pill-value {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 6px;
  line-height: 1;
}
.stat-pill-label {
  font-family: 'Cinzel', serif;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(200,169,110,.1);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-logo { height: 52px; filter: drop-shadow(0 0 6px rgba(200,169,110,.3)); }
.footer-tagline { color: var(--muted); font-size: .85rem; max-width: 280px; line-height: 1.7; }
.footer-heading {
  font-family: 'Cinzel', serif;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--muted); font-size: .88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(200,169,110,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  color: rgba(156,163,175,.5);
  font-size: .78rem;
}
.footer-hiram a {
  color: var(--gold-dark);
  font-size: .78rem;
  letter-spacing: .05em;
}
.footer-hiram a:hover { color: var(--gold); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 190px 0 100px;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,169,110,.07) 0%, transparent 60%);
}
.page-hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) both;
  animation-delay: .1s;
}
.page-hero-title span { color: var(--gold); }
.page-hero-desc {
  color: var(--muted);
  max-width: 540px;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.8;
  animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) .25s both;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-logo-wrap { display: none; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid-item-lg { grid-column: span 1; aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { left: 20px; }
  .history-table th, .history-table td { padding: 10px 12px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(5,8,14,.97);
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 99;
  }
  .nav-mobile-open .nav-links a { font-size: 1.05rem; letter-spacing: .12em; }
  .nav-mobile-open .nav-cta { display: none; }
  .photo-grid { grid-template-columns: 1fr; }
  .info-strip { flex-direction: column; gap: 12px; padding: 24px; }
  .map-container { height: 280px; }
  .venerable-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-photos { grid-template-columns: repeat(2, 1fr); }
  .history-quote { padding: 24px 24px 24px 32px; font-size: .95rem; }
  .section { padding: 72px 0; }
  .section-sm { padding: 48px 0; }
}

@media (max-width: 480px) {
  .venerable-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .timeline-photos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .history-table { font-size: .82rem; }
  .history-table th, .history-table td { padding: 9px 10px; }
  p { max-width: 100%; }
}
