/* ═══════════════════════════════════════════════════════
   TAROT DE LAGUNA — Shared mystical theme
   ═══════════════════════════════════════════════════════ */

/* ─── Variables ─────────────────────────────────── */
:root {
  --gold:       #c9a84c;
  --gold-light: #e8d896;
  --gold-dim:   #7a5e28;
  --ink:        #0a0608;
  --ink2:       #12090f;
  --ink3:       #1c1020;
  --purple:     #3a1f5a;
  --white:      #f0eade;
  --dim:        #c8c0b0;
  --ff-title:   'Cinzel', serif;
  --ff-body:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --nav-h:      68px;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--ink);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Full-screen background ─────────────────────── */
#bg {
  position: fixed; inset: 0; z-index: 0;
  background: url('../banner.jpg') center/cover no-repeat;
}
#bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,3,10,0.75) 0%, rgba(10,6,18,0.9) 100%);
}

/* ─── Stars canvas ───────────────────────────────── */
#stars { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

/* ─── Page wrapper ───────────────────────────────── */
#page {
  position: relative; z-index: 10;
  min-height: 100vh;
  padding-top: var(--nav-h);
}

/* ─── Navigation ─────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 36px;
  background: rgb(6,3,10);
  border-bottom: 1px solid rgba(201,168,76,0.35);
}
.site-logo {
  font-family: var(--ff-body);
  font-size: 15px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--gold); text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.site-logo:hover { color: var(--gold-light); }

#site-nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
#site-nav a {
  font-family: var(--ff-body);
  font-size: 14px; font-weight: 400; letter-spacing: 0.02em;
  color: var(--white); text-decoration: none;
  padding: 8px 14px; border-radius: 4px;
  transition: color .2s, background .2s;
}
#site-nav a:hover { color: var(--gold-light); }
#site-nav a.active { color: var(--gold); font-weight: 500; }
#site-nav a.nav-cta {
  color: var(--ink); font-weight: 600;
  background: linear-gradient(135deg, var(--gold), #e8c96a);
  padding: 8px 18px;
}
#site-nav a.nav-cta:hover { filter: brightness(1.1); }

/* Hamburger */
#nav-toggle {
  display: none; background: none; border: none;
  color: var(--gold); font-size: 22px; cursor: pointer; padding: 4px;
}

/* Mobile nav */
@media (max-width: 820px) {
  #nav-toggle { display: block; }
  #site-nav {
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: rgb(6,3,10);
    display: none; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px;
  }
  #site-nav.open { display: flex; }
  #site-nav ul { flex-direction: column; gap: 4px; text-align: center; }
  #site-nav a { font-size: 16px; padding: 14px 32px; }
}

/* ─── Ornament ───────────────────────────────────── */
.ornament {
  color: var(--gold-dim); letter-spacing: 0.5em;
  font-size: 16px; text-align: center;
  margin: 4px 0;
}

/* ─── Section titles ─────────────────────────────── */
.section-title {
  font-family: var(--ff-title);
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-light);
  text-align: center; margin-bottom: 10px;
}
.section-sub {
  color: var(--dim);
  font-size: clamp(15px, 1.6vw, 19px);
  text-align: center; line-height: 1.75;
  max-width: 680px; margin: 0 auto 40px;
}

/* ─── Content sections ───────────────────────────── */
.section {
  padding: 80px 24px;
  max-width: 1100px; margin: 0 auto;
}
.section-wide { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }

.section-box {
  background: linear-gradient(135deg, rgba(25,12,40,0.75), rgba(10,5,18,0.8));
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 14px;
  padding: 60px 52px;
}

/* ─── Prose text ─────────────────────────────────── */
.prose {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.8; color: var(--white);
  text-align: justify;
}
.prose p { margin-bottom: 1.2em; }
.prose h3 {
  font-family: var(--ff-title); font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase;
  margin: 2em 0 0.6em;
}
.prose ul { padding-left: 1.4em; margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-dim); transition: border-color .2s; }
.prose a:hover { border-color: var(--gold); }
.prose strong { color: var(--gold-light); font-weight: 600; }

/* ─── Images ─────────────────────────────────────── */
.img-mystical {
  display: block; width: 100%; border-radius: 10px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.12);
}

/* ─── Buttons ─────────────────────────────────────── */
.btn-gold {
  font-family: var(--ff-title);
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink); background: linear-gradient(135deg, var(--gold), #e8c96a, var(--gold));
  background-size: 200% 100%;
  border: none; border-radius: 4px;
  padding: 16px 38px; cursor: pointer; display: inline-block; text-decoration: none;
  box-shadow: 0 4px 24px rgba(201,168,76,0.3), 0 1px 4px rgba(0,0,0,0.5);
  transition: background-position .4s, transform .15s, box-shadow .2s;
}
.btn-gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.45); }
.btn-ghost {
  font-family: var(--ff-title);
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); background: transparent;
  border: 1px solid var(--gold-dim); border-radius: 4px;
  padding: 15px 36px; cursor: pointer; display: inline-block; text-decoration: none;
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }

/* ─── Cards / feature grid ───────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 48px;
}
.feature-card {
  background: linear-gradient(135deg, rgba(30,14,48,0.7), rgba(10,5,18,0.75));
  border: 1px solid rgba(201,168,76,0.14);
  border-radius: 12px; padding: 32px 28px;
  transition: border-color .3s, transform .25s;
}
.feature-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-4px); }
.feature-card .fc-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h4 {
  font-family: var(--ff-title); font-size: 14px; letter-spacing: 0.18em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 10px;
}
.feature-card p { font-size: 15px; color: var(--dim); line-height: 1.75; }

/* ─── Product cards ──────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; margin-top: 48px;
}
.product-card {
  background: linear-gradient(160deg, rgba(28,12,44,0.8), rgba(10,5,18,0.85));
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 14px; overflow: hidden;
  transition: transform .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,0.45); }
.product-card img { width: 100%; display: block; }
.product-card .pc-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.product-card .pc-price {
  font-family: var(--ff-title); font-size: 22px;
  color: var(--gold-light); letter-spacing: 0.08em;
}
.product-card p { font-size: 14px; color: var(--dim); line-height: 1.7; flex: 1; }
.product-card .btn-gold { align-self: flex-start; }

/* ─── Video ──────────────────────────────────────── */
.video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 16px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,168,76,0.1);
}
.video-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0;
}

/* ─── Divider line ───────────────────────────────── */
.divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: 0;
}

/* ─── Footer ─────────────────────────────────────── */
#site-footer {
  position: relative; z-index: 10;
  border-top: 1px solid rgba(201,168,76,0.14);
  padding: 52px 24px 40px;
  text-align: center;
}
.footer-social {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-social a {
  font-family: var(--ff-title); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--dim); text-decoration: none;
  transition: color .2s;
}
.footer-social a:hover { color: var(--gold-light); }
.footer-copy {
  font-size: 14px; color: rgba(240,234,222,0.3);
  letter-spacing: 0.04em;
}

/* ─── Scroll reveal animation ────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Slider ─────────────────────────────────────── */
.slider-track {
  display: flex; gap: 20px; overflow-x: auto;
  padding-bottom: 10px; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track img {
  width: clamp(260px, 45vw, 520px); flex-shrink: 0;
  border-radius: 10px; scroll-snap-align: start;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(201,168,76,0.12);
}

/* ─── Page hero ──────────────────────────────────── */
.page-hero {
  min-height: 38vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 60px 24px 40px;
}
.page-hero h1 {
  font-family: var(--ff-title);
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 10px;
}
.page-hero p {
  font-style: italic; color: var(--dim);
  font-size: clamp(14px, 1.8vw, 19px);
}

/* ─── Two-column layout ──────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 52px; align-items: start;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* ─── Timeline / list ────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 10px; }
.timeline-item {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 16px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid rgba(201,168,76,0.08);
}
.timeline-year {
  font-family: var(--ff-title); font-size: 12px;
  letter-spacing: 0.1em; color: var(--gold);
  white-space: nowrap;
}
.timeline-item p { font-size: 14px; color: var(--dim); line-height: 1.6; }
.timeline-item a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-dim); }
.timeline-item a:hover { border-color: var(--gold); }

/* ─── CTA Banner ─────────────────────────────────── */
.cta-banner {
  text-align: center; padding: 80px 24px;
  border-top: 1px solid rgba(201,168,76,0.12);
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.cta-banner h2 {
  font-family: var(--ff-title);
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 28px;
}

/* ─── Slideshow (auto) ───────────────────────────── */
.auto-slide { position: relative; overflow: hidden; border-radius: 12px; }
.auto-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity .8s ease;
  border-radius: 12px;
}
.auto-slide img.active { opacity: 1; }

/* Utility */
.text-center { text-align: center; }
.mt-sm  { margin-top: 16px; }
.mt-md  { margin-top: 32px; }
.mt-lg  { margin-top: 56px; }
.mb-sm  { margin-bottom: 16px; }
.mb-md  { margin-bottom: 32px; }
.hidden { display: none !important; }

/* Scroll indicator */
.scroll-hint {
  display: inline-block; margin-top: 32px;
  font-family: var(--ff-title); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold-dim);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
