/* ===== RESET & ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
* { min-width: 0; }

:root {
  --gold: #c8a96e;
  --gold-bright: #e8c87a;
  --red: #8b1a1a;
  --red-bright: #c0392b;
  --dark: #0a0806;
  --dark-2: #110e09;
  --dark-3: #1a1410;
  --dark-4: #221c14;
  --text: #d4c4a8;
  --text-dim: #7a6e5a;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: linear-gradient(to bottom, rgba(10,8,6,0.97) 0%, transparent 100%);
  border-bottom: 1px solid rgba(200,169,110,0.08);
}

.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--gold); }

.nav-back {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-back:hover { color: var(--gold); }
.nav-back::before { content: '← '; }

.nav-cta {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,169,110,0.4);
  padding: 0.55rem 1.4rem;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: rgba(200,169,110,0.1);
  border-color: var(--gold);
}

/* ===== HERO (COMPARTIDO) ===== */
.hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero--full { min-height: 100vh; }

.hero-bg { position: absolute; inset: 0; }

/* hero-bg variantes por página */
.page-index .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(139,26,26,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 50% 90%, rgba(200,169,110,0.07) 0%, transparent 60%),
    linear-gradient(180deg, #0a0806 0%, #130e08 40%, #0a0806 100%);
}

.page-campeon .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(200,169,110,0.12) 0%, transparent 65%),
    linear-gradient(180deg, #0a0806 0%, #140f06 40%, #0a0806 100%);
}

.page-conversiones .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(100,60,20,0.15) 0%, transparent 65%),
    linear-gradient(180deg, #0a0806 0%, #120d07 40%, #0a0806 100%);
}

.page-escenografia .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(60,80,40,0.15) 0%, transparent 65%),
    linear-gradient(180deg, #0a0806 0%, #0c100a 40%, #0a0806 100%);
}

.page-guardia .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(139,26,26,0.15) 0%, transparent 65%),
    linear-gradient(180deg, #0a0806 0%, #130e08 40%, #0a0806 100%);
}

.page-linea .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(139,26,26,0.15) 0%, transparent 65%),
    linear-gradient(180deg, #0a0806 0%, #130e08 40%, #0a0806 100%);
}

.page-montaje .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(40,60,80,0.12) 0%, transparent 65%),
    linear-gradient(180deg, #0a0806 0%, #080c10 40%, #0a0806 100%);
}

/* ===== EMBERS (SOLO INDEX) ===== */
.embers { position: absolute; inset: 0; pointer-events: none; }

.ember {
  position: absolute;
  bottom: -10px;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--gold);
  animation: rise linear infinite;
  opacity: 0;
}

@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-100vh) translateX(var(--drift)) scale(0.2); opacity: 0; }
}

.ember:nth-child(1)  { left: 10%; animation-duration: 8s;  animation-delay: 0s;    --drift: 30px;  width:3px; height:3px; }
.ember:nth-child(2)  { left: 20%; animation-duration: 11s; animation-delay: 2s;    --drift: -20px; }
.ember:nth-child(3)  { left: 35%; animation-duration: 9s;  animation-delay: 4s;    --drift: 50px;  background:#c0392b; }
.ember:nth-child(4)  { left: 50%; animation-duration: 13s; animation-delay: 1s;    --drift: -40px; width:3px; height:3px; }
.ember:nth-child(5)  { left: 65%; animation-duration: 7s;  animation-delay: 5s;    --drift: 20px;  background:#c0392b; }
.ember:nth-child(6)  { left: 75%; animation-duration: 10s; animation-delay: 3s;    --drift: -30px; }
.ember:nth-child(7)  { left: 85%; animation-duration: 12s; animation-delay: 0.5s;  --drift: 60px;  width:3px; height:3px; }
.ember:nth-child(8)  { left: 5%;  animation-duration: 9s;  animation-delay: 6s;    --drift: 10px;  background:#c0392b; }
.ember:nth-child(9)  { left: 45%; animation-duration: 14s; animation-delay: 2.5s;  --drift: -50px; }
.ember:nth-child(10) { left: 92%; animation-duration: 8s;  animation-delay: 7s;    --drift: -15px; background:#c0392b; }

.page-index .hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,0.3), transparent);
}

/* ===== HERO INNER (INDEX) ===== */
.hero-inner { position: relative; z-index: 2; max-width: 900px; }

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.page-index .hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 0 80px rgba(200,169,110,0.2), 0 2px 4px rgba(0,0,0,0.8);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}

.page-index .hero-title span { color: var(--gold); }

.hero-sub {
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 3rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}

.scroll-hint span {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== HERO CONTENT (SUBPÁGINAS) ===== */
.hero-content { position: relative; z-index: 1; }

.hero-tier {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.hero-desc {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  color: var(--text-dim);
  font-style: italic;
}

.hero-price {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
}

.hero-price span {
  color: var(--text-dim);
  font-family: 'Crimson Pro', serif;
  font-size: 0.9rem;
}

/* ===== SECTION BASE ===== */
section { position: relative; }

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before, .section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,169,110,0.3));
}

.section-label::after {
  background: linear-gradient(to left, transparent, rgba(200,169,110,0.3));
}

.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* section-label/title en subpáginas */
.page-campeon .section-label,
.page-conversiones .section-label,
.page-escenografia .section-label,
.page-guardia .section-label,
.page-linea .section-label,
.page-montaje .section-label,
.page-galeria .section-label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  opacity: 0.6;
  margin-bottom: 0.5rem;
  display: block;
  text-align: center;
}

.page-campeon .section-label::before,   .page-campeon .section-label::after,
.page-conversiones .section-label::before, .page-conversiones .section-label::after,
.page-escenografia .section-label::before, .page-escenografia .section-label::after,
.page-guardia .section-label::before,   .page-guardia .section-label::after,
.page-linea .section-label::before,     .page-linea .section-label::after,
.page-montaje .section-label::before,   .page-montaje .section-label::after,
.page-galeria .section-label::before,   .page-galeria .section-label::after {
  display: none;
}

.page-campeon .section-title,
.page-conversiones .section-title,
.page-escenografia .section-title,
.page-guardia .section-title,
.page-linea .section-title,
.page-montaje .section-title,
.page-galeria .section-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.5rem;
}

/* Placeholders en páginas de galería de facción */
.page-galeria .gallery-placeholder {
  background: linear-gradient(135deg, #141210 0%, #1c1812 100%);
  border-color: rgba(200,169,110,0.12);
}

/* ===== ORNAMENT ===== */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
}

.ornament-line {
  height: 1px;
  width: 80px;
  background: linear-gradient(to right, transparent, rgba(200,169,110,0.4));
}

.ornament-line:last-child {
  background: linear-gradient(to left, transparent, rgba(200,169,110,0.4));
}

.ornament-gem {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.7;
}

.page-index .ornament { margin: 1rem 0 2.5rem; }

.page-index .ornament-line {
  width: 60px;
  background: rgba(200,169,110,0.25);
}

.page-index .ornament-line:last-child { background: rgba(200,169,110,0.25); }
.page-index .ornament-gem { opacity: 1; }

/* ===== STATS ===== */
.stats {
  background: var(--dark-2);
  border-top: 1px solid rgba(200,169,110,0.1);
  border-bottom: 1px solid rgba(200,169,110,0.1);
  padding: 3rem 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 2rem;
}

.stat-item {
  padding: 1rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(200,169,110,0.15);
}

.stat-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ===== SERVICES ===== */
.services {
  padding: 7rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(200,169,110,0.12);
}

.service-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(200,169,110,0.12);
  border-bottom: 1px solid rgba(200,169,110,0.12);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-last-child(-n+3) { border-bottom: none; }

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,169,110,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-card:hover { background: rgba(200,169,110,0.03); }
.service-card:hover::before { opacity: 1; }

.service-tier {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 1.2rem;
}

.service-name {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-price {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.5rem;
  color: #fff;
}

.service-price span {
  font-family: 'Crimson Pro', serif;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 300;
}

.service-gallery-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,169,110,0.3);
  padding-bottom: 1px;
  transition: color 0.3s, border-color 0.3s;
}

.service-gallery-link:hover { color: var(--gold-bright); border-color: var(--gold-bright); }

.service-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: sepia(1) hue-rotate(5deg) saturate(0.6);
}

/* ===== SHOWCASE (INDEX) ===== */
.showcase {
  background: var(--dark-2);
  padding: 7rem 4rem;
  border-top: 1px solid rgba(200,169,110,0.08);
}

.showcase-inner { max-width: 1200px; margin: 0 auto; }

.showcase-header {
  text-align: center;
  margin-bottom: 4rem;
}

.page-index .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.page-index .gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--dark-3);
  aspect-ratio: 4/3;
  cursor: default;
  transition: none;
}

.page-index .gallery-item:hover { transform: none; }

.page-index .gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  border: none;
}

.page-index .gallery-item[data-game="40k"] .gallery-placeholder {
  background: linear-gradient(135deg, #080a10 0%, #0e1020 70%);
}

.page-index .gallery-item[data-game="aos"] .gallery-placeholder {
  background: linear-gradient(135deg, #100808 0%, #1a0e0e 70%);
}

.page-index .gallery-item[data-game="tow"] .gallery-placeholder {
  background: linear-gradient(135deg, #1a0f08 0%, #2a1810 40%, #1a1008 100%);
}

.page-index .gallery-item[data-game="hh"] .gallery-placeholder {
  background: linear-gradient(135deg, #0f0a0a 0%, #1c0f0f 70%);
}

.page-index .gallery-item[data-game="necromunda"] .gallery-placeholder {
  background: linear-gradient(135deg, #0c0c08 0%, #1a1a10 70%);
}

.page-index .gallery-item[data-game="bloodbowl"] .gallery-placeholder {
  background: linear-gradient(135deg, #0a100a 0%, #14200a 70%);
}

.page-index .gallery-item[data-game="killteam"] .gallery-placeholder {
  background: linear-gradient(135deg, #0a0a10 0%, #12101e 70%);
}

.page-index .gallery-item:hover .gallery-placeholder { filter: brightness(1.1); }

.page-index .gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,0.6) 0%, transparent 50%);
  pointer-events: none;
}

/* ===== GALLERY FILTERS ===== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.gallery-filter-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid rgba(200,169,110,0.2);
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-filter-btn:hover {
  color: var(--gold);
  border-color: rgba(200,169,110,0.5);
}

.gallery-filter-btn.active {
  color: var(--dark);
  background: var(--gold);
  border-color: var(--gold);
}

/* Faction filter */
.gallery-faction-filter {
  margin-bottom: 3rem;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(200,169,110,0.1);
  background: rgba(200,169,110,0.02);
}

.gallery-faction-filter[hidden] { display: none; }

.gallery-faction-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.gallery-faction-group { display: flex; flex-direction: column; gap: 0.5rem; }

.gallery-faction-group-label {
  font-family: 'Cinzel', serif;
  font-size: 0.52rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.55;
}

.gallery-faction-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.gallery-faction-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.57rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid rgba(200,169,110,0.15);
  padding: 0.3rem 0.85rem;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.gallery-faction-btn:hover {
  color: var(--gold);
  border-color: rgba(200,169,110,0.4);
}

.gallery-faction-btn.active {
  color: var(--dark);
  background: var(--gold);
  border-color: var(--gold);
}

/* "Ver galería" link on each gallery item */
.gallery-faction-link {
  font-family: 'Cinzel', serif;
  font-size: 0.57rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(200,169,110,0.35);
  padding: 0.3rem 0.9rem;
  margin-top: 0.4rem;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}

.gallery-faction-link:hover {
  background: var(--gold);
  color: var(--dark);
}

.gallery-badge {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,169,110,0.3);
  padding: 0.3rem 0.8rem;
}

.gallery-mini-title {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.gallery-big-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.6rem;
  color: rgba(200,169,110,0.6);
}

.mini-fig { position: relative; width: 60px; height: 80px; }

.mini-head {
  width: 20px; height: 22px;
  background: radial-gradient(circle, #8b6914, #5a3e0a);
  border-radius: 40% 40% 30% 30%;
  margin: 0 auto;
  border: 1px solid rgba(200,169,110,0.3);
}

.mini-body {
  width: 32px; height: 30px;
  background: linear-gradient(180deg, #1a1a2e, #16213e);
  margin: 2px auto 0;
  border: 1px solid #c0392b;
  position: relative;
}

.mini-body::after {
  content: '✠';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold);
  font-size: 0.7rem;
  opacity: 0.8;
}

.mini-legs {
  width: 32px; height: 28px;
  background: linear-gradient(180deg, #1a1a2e, #0d0d1a);
  margin: 1px auto 0;
  border: 1px solid rgba(100,100,200,0.3);
}

/* ===== PROCESS ===== */
.process {
  padding: 7rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.process-header {
  text-align: center;
  margin-bottom: 5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,0.3), rgba(200,169,110,0.3), transparent);
}

.step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.step-num {
  width: 56px; height: 56px;
  border: 1px solid rgba(200,169,110,0.4);
  background: var(--dark-3);
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
}

.step-num::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(200,169,110,0.15);
}

.step-title {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--dark-2);
  padding: 7rem 4rem;
  border-top: 1px solid rgba(200,169,110,0.08);
}

.testimonials-inner { max-width: 1100px; margin: 0 auto; }

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.testimonial {
  background: var(--dark-3);
  padding: 2.5rem;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: 'Cinzel Decorative', serif;
  font-size: 5rem;
  color: rgba(200,169,110,0.08);
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-author {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.stars {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

/* ===== CTA FINAL (INDEX) ===== */
.cta-final {
  padding: 8rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(139,26,26,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(200,169,110,0.06) 0%, transparent 60%);
}

.cta-final-inner { position: relative; max-width: 700px; margin: 0 auto; }

.cta-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.cta-divider-line {
  height: 1px;
  width: 80px;
  background: linear-gradient(to right, transparent, rgba(200,169,110,0.4));
}

.cta-divider-line:last-child {
  background: linear-gradient(to left, transparent, rgba(200,169,110,0.4));
}

.cta-divider-gem {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ===== CTA SECTION (SUBPÁGINAS) ===== */
.cta-section {
  background: var(--dark-2);
  border-top: 1px solid rgba(200,169,110,0.08);
  padding: 6rem 2rem;
  text-align: center;
}

.cta-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold);
  margin-bottom: 1rem;
}

.page-index .cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
}

.cta-sub {
  font-style: italic;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

/* ===== BOTONES ===== */
.btn-primary {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-weight: 600;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover { background: var(--gold-bright); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(200,169,110,0.3); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,169,110,0.4);
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  margin-left: 1rem;
}

.btn-ghost:hover { border-color: var(--gold); background: rgba(200,169,110,0.08); }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid rgba(200,169,110,0.08);
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.page-index footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(200,169,110,0.1);
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0.5;
  letter-spacing: 0.15em;
}

.page-index .footer-logo { font-size: 1rem; opacity: 1; }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  opacity: 0.4;
  font-style: italic;
}

/* ===== GALERÍA (SUBPÁGINAS) ===== */
.gallery-section {
  padding: 5rem 4rem 7rem;
  max-width: 1300px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--dark-3);
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item:hover { transform: scale(1.02); z-index: 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-placeholder {
  width: 100%; height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.8rem;
  border: 1px dashed rgba(200,169,110,0.2);
}

/* Gallery placeholder colores por página */
.page-campeon .gallery-placeholder {
  background: linear-gradient(135deg, #1a1208 0%, #2a1c0a 100%);
}

.page-conversiones .gallery-placeholder {
  background: linear-gradient(135deg, #140e06 0%, #1e1508 100%);
  border-color: rgba(200,169,110,0.15);
}

.page-escenografia .gallery-placeholder {
  background: linear-gradient(135deg, #0f140a 0%, #1a1f10 100%);
  border-color: rgba(200,169,110,0.15);
}

.page-guardia .gallery-placeholder {
  background: linear-gradient(135deg, #1a1410 0%, #221c14 100%);
  border-color: rgba(200,169,110,0.15);
}

.page-linea .gallery-placeholder {
  background: linear-gradient(135deg, #1a1410 0%, #221c14 100%);
  border-color: rgba(200,169,110,0.15);
}

.page-montaje .gallery-placeholder {
  background: linear-gradient(135deg, #0a0e12 0%, #10161c 100%);
  border-color: rgba(200,169,110,0.15);
}

.placeholder-icon { font-size: 2rem; opacity: 0.4; }

.placeholder-label {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.6;
}

.gallery-item.featured { grid-column: span 2; }
.gallery-item.featured .gallery-placeholder { min-height: 300px; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.wide .gallery-placeholder { min-height: 300px; }
.gallery-item.tall .gallery-placeholder { min-height: 300px; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-text {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.gallery-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.85rem;
}

/* ===== TÉCNICAS (CAMPEÓN LEGENDARIO) ===== */
.techniques {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.technique-badge {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,169,110,0.35);
  padding: 0.3rem 0.8rem;
}

/* ===== HAMBURGER NAV ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 200;
  margin-left: 1rem;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== RESPONSIVE ===== */

/* ── Tablet (≤900px) ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; justify-content: flex-start; }
  .nav-cta { font-size: 0.62rem; padding: 0.45rem 0.9rem; margin-left: auto; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,8,6,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    z-index: 150;
    list-style: none;
  }
  .nav-links.open { display: flex; }
  .nav-links.open a {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
  }
  .nav-links.open a:hover { color: var(--gold); }
  /* galería: reducir padding y pasar a 2 columnas ya en tablet */
  .gallery-section { padding: 3rem 1.5rem 5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.featured { grid-column: span 2; }
  .gallery-item.wide { grid-column: span 2; }
  /* resto index */
  .stats { grid-template-columns: repeat(2, 1fr); padding: 2rem; }
  .stat-item:nth-child(2)::after { display: none; }
  .services { padding: 5rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card:not(:last-child) { border-right: none; }
  .service-card { border-bottom: 1px solid rgba(200,169,110,0.12); }
  .page-index .gallery-grid { grid-template-columns: 1fr 1fr; }
  .process { padding: 5rem 1.5rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .process-steps::before { display: none; }
  .testimonials { padding: 5rem 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 2px; }
  .showcase { padding: 5rem 1.5rem; }
  .cta-final { padding: 5rem 1.5rem; }
  footer { padding: 2rem 1.5rem; }
  .page-index footer { flex-direction: column; align-items: flex-start; }
}

/* ── Móvil (≤480px): el nav-cta desaparece para que logo + hamburger quepan sin desbordarse ── */
@media (max-width: 480px) {
  nav { padding: 0.9rem 1rem; }
  .nav-back { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { margin-left: auto; }
  /* hero más compacto */
  .hero { padding: 5.5rem 1.2rem 2.5rem; }
  /* stats */
  .stats { grid-template-columns: 1fr; padding: 1.5rem 1rem; }
  .stat-item::after { display: none; }
  /* galería 1 columna */
  .page-index .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.featured { grid-column: span 1; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-section { padding: 2.5rem 1rem 4rem; }
  /* proceso */
  .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  /* botones apilados y a ancho completo */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary { display: block; text-align: center; }
  .btn-ghost { display: block; text-align: center; margin-left: 0; margin-top: 0.8rem; }
  /* cta section */
  .cta-section { padding: 4rem 1.2rem; }
}
