/* =====================================================
   TAYTACHA DE LOS TEMBLORES — ESPACIADO EQUILIBRADO
   Estética Chiaroscuro / Semana Santa Cusqueña
   ===================================================== */

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

/* ======= DESIGN TOKENS ======= */
:root {
  --bg-dark:         #050302;
  --bg-deep:         #0C0704;
  --bg-purple-dark:  #140715;
  --bg-card:         rgba(18, 10, 6, 0.85);

  --gold-primary:    #E59B18;
  --gold-bright:     #F7C253;
  --gold-glow:       #FFB72B;
  --gold-dark:       #965F05;
  --gold-subtle:     rgba(229, 155, 24, 0.18);
  --gold-border:     rgba(229, 155, 24, 0.35);

  --nucchu-red:      #9B1B1B;
  --nucchu-glow:     #DC2626;

  --text-main:       #F5EBE1;
  --text-muted:      #A39181;
  --text-dim:        #5E5045;

  --font-hero-stack: 'Cinzel Decorative', serif;
  --font-script:     'Great Vibes', cursive;
  --font-serif:      'Cormorant Garamond', serif;
  --font-sans:       'Montserrat', sans-serif;

  --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ======= RESET ======= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: var(--bg-dark); }
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold-primary), var(--nucchu-red)); border-radius: 4px; }

/* ======= GLOBAL CONTAINER EQUILIBRADO ======= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.8rem;
  padding-right: 1.8rem;
}

/* ======= CANVAS PETALS / PARTICLES ======= */
#petals-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.65;
}

/* ======= NAVBAR ======= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition-fast);
}
.navbar.scrolled {
  padding: 0.9rem 0;
  background: rgba(5, 3, 2, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.nav-cross {
  font-size: 1.5rem;
  color: var(--gold-primary);
  text-shadow: 0 0 15px var(--gold-glow);
  animation: pulseCross 3s ease-in-out infinite;
}
@keyframes pulseCross {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.15); opacity: 1; text-shadow: 0 0 25px var(--gold-bright); }
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.nav-logo-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-menu a {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--nucchu-glow));
  transition: width var(--transition-fast);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold-bright);
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ========================================================
   HERO: IMPACTANTE & EQUILIBRADO
   ======================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 70px;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../imagenes/Taytacha Temblores t01.jpg');
  background-size: cover;
  background-position: center 25%;
  filter: brightness(0.38) contrast(1.2) sepia(25%);
  transform: scale(1.05);
  transition: transform 12s ease-out;
}
.hero-section:hover .hero-bg-img {
  transform: scale(1.0);
}

.hero-vignette-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 40%, rgba(229, 155, 24, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 20% 70%, rgba(155, 27, 27, 0.25) 0%, transparent 60%),
    linear-gradient(90deg, rgba(5, 3, 2, 0.96) 0%, rgba(5, 3, 2, 0.75) 50%, rgba(5, 3, 2, 0.88) 100%),
    linear-gradient(0deg, rgba(5, 3, 2, 1) 0%, transparent 40%);
}

.hero-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.8rem;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
}

.hero-type-container {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid var(--gold-border);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  background: rgba(229, 155, 24, 0.08);
  margin-bottom: 1.8rem;
  backdrop-filter: blur(10px);
}
.hero-badge::before {
  content: '✦';
  color: var(--nucchu-glow);
}

/* Stacked Big Serif Letters */
.hero-poster-title {
  display: flex;
  flex-direction: column;
  line-height: 0.85;
  position: relative;
  user-select: none;
}

.hero-poster-title .row-1,
.hero-poster-title .row-2,
.hero-poster-title .row-3 {
  font-family: var(--font-hero-stack);
  font-size: clamp(3.2rem, 7.5vw, 6.8rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #F7EFE6;
  text-shadow: 0 10px 40px rgba(0,0,0,0.9);
}

.hero-script-overlay {
  font-family: var(--font-script);
  font-size: clamp(3rem, 7.5vw, 6.8rem);
  color: var(--gold-bright);
  position: absolute;
  bottom: 0.3em;
  left: 1.2em;
  line-height: 1;
  text-shadow:
    0 0 30px rgba(229, 155, 24, 0.6),
    0 0 60px rgba(229, 155, 24, 0.3);
  transform: rotate(-4deg);
  z-index: 3;
  pointer-events: none;
}

.hero-description {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-style: italic;
  color: var(--text-muted);
  margin-top: 2rem;
  max-width: 500px;
  line-height: 1.8;
  border-left: 2px solid var(--gold-primary);
  padding-left: 1.5rem;
}
.hero-description strong {
  color: var(--gold-bright);
  font-style: normal;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.2rem;
  align-items: center;
}

.btn-sacred {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  background: linear-gradient(135deg, #E59B18 0%, #B47008 100%);
  color: #050302;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(229, 155, 24, 0.35);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.btn-sacred::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
}
.btn-sacred:hover::before { left: 100%; }
.btn-sacred:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(229, 155, 24, 0.55);
  background: linear-gradient(135deg, #F7C253 0%, #E59B18 100%);
}

.btn-ghost-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1rem 1.8rem;
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--gold-border);
  transition: all var(--transition-fast);
  border-radius: 2px;
}
.btn-ghost-gold:hover {
  background: var(--gold-subtle);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
}

/* Secondary Frame Image */
.hero-portrait-frame {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-portrait-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.9), 0 0 50px rgba(229, 155, 24, 0.15);
}
.hero-portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.15) brightness(0.85) sepia(10%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 1s ease;
}
.hero-portrait-card:hover img {
  transform: scale(1.06);
  filter: contrast(1.1) brightness(0.95);
}
.hero-portrait-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem 1.6rem 1.4rem;
  background: linear-gradient(0deg, rgba(5,3,2,0.96) 0%, transparent 100%);
  border-top: 1px solid rgba(229, 155, 24, 0.2);
}
.hero-portrait-caption h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-bright);
}
.hero-portrait-caption p {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ========================================================
   SECCIÓN DE CITA CON ESPACIO AJUSTADO
   ======================================================== */
.sacred-quote-section {
  padding: 95px 0;
  background: radial-gradient(circle at 50% 50%, var(--bg-purple-dark) 0%, var(--bg-dark) 100%);
  position: relative;
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.watermark-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-hero-stack);
  font-size: clamp(4rem, 15vw, 15rem);
  font-weight: 900;
  color: rgba(229, 155, 24, 0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.sacred-quote-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 3;
}

.cross-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--gold-primary);
  font-size: 1.4rem;
  margin-bottom: 2rem;
}
.cross-divider::before,
.cross-divider::after {
  content: '';
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary));
}
.cross-divider::after {
  background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.sacred-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--text-main);
}
.sacred-quote-text strong {
  color: var(--gold-bright);
  font-weight: 700;
  font-style: normal;
  text-shadow: 0 0 20px rgba(229, 155, 24, 0.3);
}

.sacred-quote-author {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-top: 2rem;
}

/* ========================================================
   SECCIÓN DE NARRATIVA (STORY)
   ======================================================== */
.story-section {
  padding: 95px 0;
  background: var(--bg-deep);
}

.section-head-dramatic {
  text-align: center;
  margin-bottom: 4.5rem;
}
.section-subhead {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--nucchu-glow);
  margin-bottom: 0.6rem;
}
.section-maintitle {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 6rem;
}
.story-row:last-child { margin-bottom: 0; }
.story-row.reverse {
  direction: rtl;
}
.story-row.reverse > * {
  direction: ltr;
}

.story-content {
  position: relative;
}
.story-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  color: var(--gold-bright);
  margin-bottom: 1.4rem;
  line-height: 1.3;
}
.story-content p {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1.3rem;
  text-align: justify;
}
.story-content p strong {
  color: var(--text-main);
}
.story-content .quote-highlight {
  border-left: 3px solid var(--nucchu-red);
  padding-left: 1.3rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold-bright);
  margin: 1.8rem 0;
  line-height: 1.6;
}

.story-media {
  position: relative;
}
.story-image-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.85);
}
.story-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-border);
  z-index: 2;
  pointer-events: none;
}
.story-image-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.85);
  transition: transform 0.8s var(--transition-slow), filter 0.8s var(--transition-slow);
}
.story-media:hover img {
  transform: scale(1.05);
  filter: contrast(1.05) brightness(0.95);
}

.media-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: var(--bg-dark);
  border: 1px solid var(--gold-primary);
  padding: 0.8rem 1.4rem;
  border-radius: 4px;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  color: var(--gold-bright);
  box-shadow: 0 10px 30px rgba(0,0,0,0.9);
  z-index: 3;
}

/* ========================================================
   LÍNEA DE TIEMPO
   ======================================================== */
.timeline-section {
  padding: 95px 0;
  background: radial-gradient(circle at 50% 0%, #1A0808 0%, var(--bg-dark) 80%);
  position: relative;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 4rem;
}

.timeline-card {
  background: rgba(18, 9, 7, 0.85);
  border: 1px solid var(--gold-border);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  border-radius: 4px;
}
.timeline-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--nucchu-red));
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}
.timeline-card:hover::before { opacity: 1; }
.timeline-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 40px rgba(0,0,0,0.9), 0 0 30px rgba(229, 155, 24, 0.15);
}

.timeline-number {
  font-family: var(--font-hero-stack);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 1rem;
}
.timeline-card h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.timeline-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ========================================================
   EXPLORA EL SITIO
   ======================================================== */
.explore-section {
  padding: 95px 0;
  background: var(--bg-dark);
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 4rem;
}

.explore-card {
  position: relative;
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--gold-border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem 1.8rem;
  transition: all var(--transition-slow);
}
.explore-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) contrast(1.1);
  transition: transform 0.8s var(--transition-slow), filter 0.8s var(--transition-slow);
}
.explore-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,3,2,0.98) 0%, rgba(5,3,2,0.4) 60%, transparent 100%);
}
.explore-card:hover .explore-card-bg {
  transform: scale(1.08);
  filter: brightness(0.65) contrast(1.1);
}
.explore-card:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 20px 40px rgba(0,0,0,0.9), 0 0 30px rgba(229, 155, 24, 0.2);
}

.explore-card-content {
  position: relative;
  z-index: 3;
}
.explore-card-tag {
  font-family: var(--font-sans);
  font-size: 0.6font;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}
.explore-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}
.explore-card-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.explore-card-link {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition-fast);
}
.explore-card:hover .explore-card-link {
  gap: 0.9rem;
  color: #FFF;
}

/* ========================================================
   GALERÍA DE FOTOS
   ======================================================== */
.gallery-section {
  padding: 95px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--gold-border);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 4rem;
}

.gallery-item {
  position: relative;
  height: 280px;
  overflow: hidden;
  border: 1px solid rgba(229, 155, 24, 0.2);
  cursor: pointer;
  border-radius: 4px;
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { height: 380px; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) sepia(15%);
  transition: all 0.7s var(--transition-slow);
}
.gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(0.85) sepia(0%);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,3,2,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-bright);
}

/* ========================================================
   FOOTER
   ======================================================== */
.footer {
  background: #030201;
  border-top: 1px solid var(--gold-border);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand h3 {
  font-family: var(--font-hero-stack);
  font-size: 1.4rem;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 420px;
}
.footer-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--gold-bright);
}
.footer-bottom {
  border-top: 1px solid rgba(229, 155, 24, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}
.footer-bottom a {
  color: var(--gold-primary);
}

/* ======= REVEAL ANIMATIONS ======= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--transition-slow), transform 0.9s var(--transition-slow);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  .container { padding-left: 1.4rem; padding-right: 1.4rem; }
  .nav-container { padding: 0 1.4rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; padding: 0 1.4rem; }
  .hero-portrait-frame { display: none; }
  .hero-description { margin: 2rem auto; border-left: none; border-top: 2px solid var(--gold-primary); padding: 1.5rem 0 0; }
  .hero-actions { justify-content: center; }
  .story-row { grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4.5rem; }
  .story-row.reverse { direction: ltr; }
  .timeline-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .explore-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .nav-container { padding: 0 1rem; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%; bottom: 0;
    width: 280px;
    background: rgba(5,3,2,0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 6rem 2rem;
    align-items: flex-start;
    transition: right 0.4s ease;
    border-left: 1px solid var(--gold-border);
  }
  .nav-menu.open { right: 0; }
  .nav-hamburger { display: block; }
  .section-head-dramatic { margin-bottom: 3rem; }
  .story-section, .timeline-section, .explore-section, .gallery-section, .sacred-quote-section { padding: 75px 0; }
  .explore-grid { grid-template-columns: 1fr; }
  .gallery-masonry { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
