/* ── EFFECTS — Capa visual premium La Antigua Grecia ──────────────
   Texturas: mármol · piedra · grano
   Luz: destello dorado · columnas · aureola
   ─────────────────────────────────────────────────────────────── */

/* ── GRAIN OVERLAY — textura de piedra en el hero ─────────────── */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: overlay;
}

/* ── HERO COLUMN ACCENTS ───────────────────────────────────────── */
.hero-col {
  position: absolute;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(212, 175, 55, 0.45) 12%,
    rgba(212, 175, 55, 0.45) 88%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
  display: none;
}

.hero-col-left  { left: 5.5%; }
.hero-col-right { right: 5.5%; }

/* Capital (parte superior) */
.hero-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 1px;
  background: rgba(212, 175, 55, 0.6);
  box-shadow:
    0 -5px 0 rgba(212, 175, 55, 0.4),
    0 -9px 0 rgba(212, 175, 55, 0.25);
}

/* Base (parte inferior) */
.hero-col::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 11px;
  height: 1px;
  background: rgba(212, 175, 55, 0.6);
  box-shadow:
    0 5px 0 rgba(212, 175, 55, 0.4),
    0 9px 0 rgba(212, 175, 55, 0.25);
}

@media (min-width: 960px) {
  .hero-col { display: block; }
}

/* ── HERO INLINE RULE — línea con ornamento dentro del hero ───── */
.hero-rule {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-4) auto;
  width: min(360px, 80vw);
}

.hero-rule::before,
.hero-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.65),
    transparent
  );
}

.hero-rule-gem {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.9;
  position: relative;
}

.hero-rule-gem::before,
.hero-rule-gem::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.hero-rule-gem::before {
  width: 14px;
  height: 14px;
}

/* ── GOLD SHIMMER — destello metálico en títulos ──────────────── */
@keyframes goldShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.gold-shimmer {
  background: linear-gradient(
    100deg,
    var(--color-gold)       0%,
    var(--color-gold)       30%,
    var(--color-gold-light) 45%,
    #FFF8DC                 50%,
    var(--color-gold-light) 55%,
    var(--color-gold)       70%,
    var(--color-gold)       100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 8s linear 2s infinite;
  display: inline-block;
}

/* ── TRACKING REVEAL — letras que se expanden al cargar ────────── */
@keyframes trackingReveal {
  from {
    letter-spacing: -0.08em;
    opacity: 0;
  }
  to {
    letter-spacing: var(--tracking-hero, 0.06em);
    opacity: 1;
  }
}

.hero-title {
  animation: trackingReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both !important;
  --tracking-hero: 0.06em;
}

.hero-eyebrow {
  animation: fadeInUp 0.7s ease 0.2s both !important;
}

/* ── MARBLE TEXTURE — vetas en secciones claras ───────────────── */
.marble-texture {
  position: relative;
}

.marble-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      -62deg,
      transparent 0px,
      transparent 28px,
      rgba(180, 160, 100, 0.028) 28px,
      rgba(180, 160, 100, 0.028) 29px
    ),
    repeating-linear-gradient(
      28deg,
      transparent 0px,
      transparent 52px,
      rgba(200, 175, 110, 0.018) 52px,
      rgba(200, 175, 110, 0.018) 53px
    );
  z-index: 0;
}

.marble-texture > * {
  position: relative;
  z-index: 1;
}

/* ── FRIEZE DIVIDER — friso griego entre secciones ─────────────── */
.frieze-divider {
  height: 20px;
  background-color: var(--color-marble-alt);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.18) 0px,
    rgba(212, 175, 55, 0.18) 2px,
    transparent 2px,
    transparent 18px
  );
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

/* ── HERO LOGO MARK — aureola y escala ───────────────────────────  */
.hero-logo-mark {
  position: relative;
  display: inline-block;
}

.hero-logo-mark::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.12) 0%,
    rgba(212, 175, 55, 0.05) 45%,
    transparent 70%
  );
  pointer-events: none;
  animation: auraBreath 5s ease-in-out infinite;
}

@keyframes auraBreath {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

/* ── STAT CARD HOVER ──────────────────────────────────────────── */
.stat-card {
  transition: background var(--transition);
  cursor: default;
}

.stat-card:hover {
  background: rgba(212, 175, 55, 0.04);
}

/* ── SECTION DARK — patrón de piedra en secciones oscuras ─────── */
.section-stone,
.section-dark {
  position: relative;
}

.section-stone::after,
.section-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: overlay;
  opacity: 0.6;
  z-index: 0;
}

.section-stone > *,
.section-dark > * {
  position: relative;
  z-index: 1;
}

/* ── ABOUT SECTION — logo watermark de fondo ─────────────────── */
.about-section-watermark {
  position: relative;
  overflow: hidden;
}

.about-section-watermark::before {
  content: '';
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(500px, 55vw);
  height: min(500px, 55vw);
  background-image: url('../assets/gallery/logo.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.03;
  filter: grayscale(1);
  pointer-events: none;
  z-index: 0;
}

.about-section-watermark > * {
  position: relative;
  z-index: 1;
}

/* ── SECTION LABEL — punto dorado antes del texto ────────────── */
.section-label::before {
  content: '◆';
  display: inline-block;
  font-size: 0.5em;
  margin-right: 0.6em;
  vertical-align: middle;
  color: var(--color-gold);
  opacity: 0.8;
}

/* ── FOOTER — logo watermark ─────────────────────────────────── */
.footer {
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 70vw);
  height: min(600px, 70vw);
  background-image: url('../assets/gallery/logo.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.025;
  filter: grayscale(1) invert(1);
  pointer-events: none;
}

/* ── EVENTO CARD — imagen con velo dorado en hover ────────────── */
.evento-img-placeholder,
.evento-img {
  position: relative;
  overflow: hidden;
}

.evento-card:hover .evento-img-placeholder {
  background: linear-gradient(135deg, var(--color-stone-mid) 0%, var(--color-stone-dark) 100%);
}

/* ── CTA SECTION — grid de puntos como patrón de fondo ─────────── */
.section-dark .container,
.section-stone .container {
  position: relative;
}

/* ── LINK UNDERLINE DORADO ───────────────────────────────────── */
.footer-col-links a {
  position: relative;
  display: inline-block;
}

.footer-col-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition);
  opacity: 0.6;
}

.footer-col-links a:hover::after {
  width: 100%;
}
