:root {
  --bg: #0E0D11;
  --bg-warm: #15131A;
  --bg-elevated: #1C1A22;
  --gold: #C9A961;
  --gold-soft: #8C764A;
  --cream: #F0EBE3;
  --cream-muted: #B8B0A2;
  --muted: #6E6759;
  --line: rgba(201, 169, 97, 0.18);
  --vinotinto: #6B1F2A;
  --vinotinto-deep: #4A1219;
  --azul-rey: #1E3A8A;
  --azul-oscuro: #0F1B3D;
  --negro-toga: #1A1A1A;
  --shutter-blade: #abc685;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  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='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- NAV ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 40px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(14, 13, 17, 0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 500;
  letter-spacing: 0.02em; color: var(--cream);
}
.logo span { color: var(--gold); font-style: italic; }
.nav-links {
  display: flex; gap: 32px; list-style: none;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
}
.nav-links a {
  color: var(--cream-muted); text-decoration: none;
  transition: color 0.3s; font-weight: 400;
}
.nav-links a:hover { color: var(--gold); }
@media (max-width: 768px) { nav { padding: 14px 20px; } .nav-links { display: none; } }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; padding: 120px 40px 80px; overflow: hidden;
}
.hero-bg-glow {
  position: absolute; width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 60%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.hero-content { text-align: center; position: relative; z-index: 2; max-width: 900px; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 32px;
  display: inline-flex; align-items: center; gap: 16px;
  opacity: 0; animation: fadeUp 1s 0.2s forwards;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 40px; height: 1px; background: var(--gold-soft);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(48px, 9vw, 124px); line-height: 0.95;
  letter-spacing: -0.02em; margin-bottom: 40px;
  opacity: 0; animation: fadeUp 1.2s 0.4s forwards;
}
.hero h1 .accent { font-style: italic; color: var(--gold); font-weight: 400; }
.hero h1 .small {
  display: block; font-size: 0.4em; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--cream-muted);
  margin-top: 24px; font-style: normal; font-weight: 400;
}
.hero-tagline {
  font-size: 17px; color: var(--cream-muted);
  max-width: 520px; margin: 0 auto 48px; font-weight: 300;
  opacity: 0; animation: fadeUp 1.2s 0.7s forwards;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 36px; background: transparent;
  border: 1px solid var(--gold); color: var(--gold); text-decoration: none;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  font-weight: 500; transition: all 0.4s;
  opacity: 0; animation: fadeUp 1.2s 0.9s forwards;
}
.hero-cta:hover { background: var(--gold); color: var(--bg); letter-spacing: 0.4em; }
.hero-cta .arrow { transition: transform 0.3s; }
.hero-cta:hover .arrow { transform: translateX(4px); }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--muted); display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  opacity: 0; animation: fadeUp 1.2s 1.2s forwards;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 40px; background: var(--gold-soft);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(20px); }
}

/* ---------- INTRO ---------- */
.intro {
  padding: 140px 40px; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center;
}
.intro-eyebrow {
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.intro h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(36px, 5vw, 56px); line-height: 1.1;
  letter-spacing: -0.01em; margin-bottom: 32px;
}
.intro h2 em { color: var(--gold); font-weight: 400; }
.intro p { color: var(--cream-muted); font-size: 16px; line-height: 1.8; margin-bottom: 18px; }
.intro-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(28, 26, 34, 0.6), rgba(21, 19, 26, 0.3));
}
.stat-number {
  font-family: var(--font-display); font-size: 64px; font-weight: 300;
  color: var(--gold); line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cream-muted);
}
@media (max-width: 768px) {
  .intro { grid-template-columns: 1fr; gap: 50px; padding: 80px 24px; }
  .intro-stats { padding: 28px; gap: 20px; }
  .stat-number { font-size: 44px; }
}

/* ---------- CATALOG ---------- */
.catalog { padding: 80px 40px 20px; position: relative; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 100px; }
.section-eyebrow {
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center;
  gap: 16px; margin-bottom: 24px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; width: 30px; height: 1px; background: var(--gold-soft);
}
.section-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(40px, 6vw, 72px); line-height: 1.05;
  letter-spacing: -0.01em; margin-bottom: 20px;
}
.section-title em { color: var(--gold); font-weight: 400; }
.section-sub { color: var(--cream-muted); font-size: 16px; max-width: 560px; margin: 0 auto; }

.grade-section {
  max-width: 1300px; margin: 0 auto 140px;
  display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start;
}
.grade-section.reverse { grid-template-columns: 1fr 380px; }
.grade-section.reverse .grade-info { order: 2; }
.grade-section.reverse .grade-gallery { order: 1; }
.grade-info { position: sticky; top: 120px; }
.grade-number {
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; color: var(--gold); letter-spacing: 0.2em;
  margin-bottom: 20px; display: block;
}
.grade-name {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(40px, 5vw, 64px); line-height: 1;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.grade-desc { color: var(--cream-muted); font-size: 15px; line-height: 1.7; margin-bottom: 36px; }
.color-row { margin-bottom: 36px; }
.color-row-label {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.color-swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border: 1px solid var(--line);
  background: var(--bg-warm); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cream-muted);
  transition: all 0.3s; cursor: pointer;
}
.swatch:hover { border-color: var(--gold); color: var(--cream); }
.swatch-dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); }
.swatch-vino { background: var(--vinotinto); }
.swatch-azul-rey { background: var(--azul-rey); }
.swatch-azul-oscuro { background: var(--azul-oscuro); }
.swatch-negro { background: var(--negro-toga); }
.grade-cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  padding-bottom: 8px; border-bottom: 1px solid var(--gold-soft);
  transition: all 0.3s;
}
.grade-cta:hover { border-color: var(--gold); gap: 18px; }

/* Gallery — 5:7 ratio */
.grade-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.photo-card {
  position: relative; aspect-ratio: 5/7; overflow: hidden;
  background: var(--bg-elevated); cursor: pointer;
}
.photo-card.tall { grid-row: span 2; aspect-ratio: 5/14; }
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
/* === ZOOM STYLE 1: ZOOM-PAN (image enlarges, transform-origin follows mouse via JS) === */
@media (hover: hover) {
  .photo-card[data-zoom="pan"]:hover img { transform: scale(1.7); }
}
/* === ZOOM STYLE 2: ZOOM-LENS (a circle lens appears) === */
.photo-card[data-zoom="lens"] .lens {
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 9999px rgba(14, 13, 17, 0.55), 0 6px 24px rgba(0,0,0,0.5);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  background-repeat: no-repeat;
  background-size: 350% 350%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
@media (hover: hover) {
  .photo-card[data-zoom="lens"]:hover .lens { opacity: 1; }
}
.photo-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 13, 17, 0.9) 0%, transparent 50%);
  padding: 24px; display: flex; align-items: flex-end;
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.photo-card:hover .photo-card-overlay { opacity: 1; }
.photo-card-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.photo-card::after {
  content: '⊕';
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--gold);
  background: rgba(14,13,17,0.6); border: 1px solid var(--line);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.photo-card:hover::after { opacity: 1; }

.swatch-card {
  position: relative; aspect-ratio: 5/7; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px; cursor: pointer;
}
.swatch-card.vino { background: linear-gradient(160deg, var(--vinotinto) 0%, var(--vinotinto-deep) 100%); }
.swatch-card.azul-rey { background: linear-gradient(160deg, #2746a8 0%, var(--azul-rey) 100%); }
.swatch-card.azul-oscuro { background: linear-gradient(160deg, #1a2a5e 0%, var(--azul-oscuro) 100%); }
.swatch-card.negro { background: linear-gradient(160deg, #2a2a2a 0%, var(--negro-toga) 100%); }
.swatch-card::before {
  content: ''; position: absolute; 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.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  pointer-events: none; mix-blend-mode: overlay;
}
.swatch-card-label {
  position: relative; font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.swatch-card-name {
  position: relative;
  font-family: var(--font-display); font-weight: 300;
  font-size: 28px; color: white; line-height: 1.1;
}
.swatch-card-name em { font-style: italic; opacity: 0.8; }

@media (max-width: 900px) {
  .grade-section, .grade-section.reverse {
    grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px;
  }
  .grade-section.reverse .grade-info { order: 1; }
  .grade-section.reverse .grade-gallery { order: 2; }
  .grade-info { position: static; }
  .grade-gallery { gap: 12px; }
  .photo-card.tall { grid-row: span 1; aspect-ratio: 5/7; }
  .catalog { padding: 40px 20px 80px; }
  .section-header { margin-bottom: 60px; }
}

/* ---------- ALBUM (book style) ---------- */
.album { padding: 0px 40px 100px; position: relative; }
.album-inner { max-width: 1300px; margin: 0 auto; }

.album-filters {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 14px; margin: 50px 0 60px;
}
.album-filter {
  padding: 12px 26px; background: transparent;
  border: 1px solid var(--line); color: var(--cream-muted);
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s;
}
.album-filter:hover { border-color: var(--gold-soft); color: var(--cream); }
.album-filter.active {
  background: var(--gold); border-color: var(--gold);
  color: var(--bg); font-weight: 500;
}

/* Book wrapper */
.book {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  perspective: 2200px;
}
.book-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(90deg,
    #1a1820 0%, #0e0d11 48%, #050507 50%, #0e0d11 52%, #1a1820 100%);
  border: 1px solid var(--line);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    inset 0 0 80px rgba(0,0,0,0.4);
  min-height: 560px;
  position: relative;
}
/* Spine shadow */
.book-spread::before {
  content: '';
  position: absolute; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 20px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0.85) 50%,
    rgba(0,0,0,0.6) 55%, transparent 100%);
  pointer-events: none;
  z-index: 4;
}

.book-page {
  position: relative;
  padding: 40px 40px;
  display: flex; flex-direction: column;
  min-height: 560px;
}
.book-page.left { 
  display: flex;
  border-right: 1px solid rgba(201,169,97,0.1); 
}
.book-page-num {
  position: absolute; bottom: 18px;
  font-family: var(--font-display); font-style: italic;
  font-size: 13px; color: var(--gold-soft);
  letter-spacing: 0.2em;
}
.book-page.left .book-page-num { left: 40px; }
.book-page.right .book-page-num { right: 40px; }
.book-page-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: 24px; color: var(--cream);
  margin-bottom: 6px; line-height: 1.1;
}
.book-page-title em { color: var(--gold); font-style: italic; }
.book-page-eyebrow {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}

/* photo arrangement inside a page */
.book-page-photos {
  display: grid; gap: 10px;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 145px;
  flex: 1;
}
.book-page-photos .ph {
  position: relative; overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  cursor: pointer;
}
.book-page-photos .ph.tall { grid-row: span 2; }
.book-page-photos .ph.wide { grid-column: span 2; }
.book-page-photos .ph.big  { grid-row: span 2; grid-column: span 2; }
.book-page-photos .ph img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (hover: hover) {
  .book-page-photos .ph:not(.placeholder):hover img { transform: scale(1.5); }
}
.book-page-photos .ph.placeholder {
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--gold-soft);
  background: var(--bg-warm); cursor: default;
}
.book-page-photos .ph.placeholder span {
  font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted); text-align: center; padding: 0 10px;
}

/* Page-flip animation */
.book-spread.flipping-next .book-page.right {
  animation: flipNext 0.7s ease-in-out forwards;
  transform-origin: left center;
}
.book-spread.flipping-prev .book-page.left {
  animation: flipPrev 0.7s ease-in-out forwards;
  transform-origin: right center;
}
@keyframes flipNext {
  0%   { transform: rotateY(0); }
  100% { transform: rotateY(-180deg); }
}
@keyframes flipPrev {
  0%   { transform: rotateY(0); }
  100% { transform: rotateY(180deg); }
}

/* Book navigation */
.book-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 28px;
  max-width: 1100px;
  margin-left: auto; margin-right: auto;
}
.book-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream-muted);
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s;
}
.book-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.book-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.book-pagination {
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; color: var(--gold);
  letter-spacing: 0.15em;
}
.book-pagination span { color: var(--cream); }


@media (max-width: 768px) {
  .album { padding: 50px 12px 50px; }
  .book { perspective: none; }
  .book-spread {
    grid-template-columns: 1fr;
    min-height: auto;
    background: linear-gradient(180deg, #1a1820 0%, #0e0d11 100%);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  }
  .book-page { min-height: 360px; padding: 22px 18px 44px; }
  
  .book-page.left {
    display: flex;
    border-right: none;
    border-bottom: 1px solid rgba(201,169,97,0.1);
  }
  .book-spread::before { display: none; }
  .book-page-photos { grid-auto-rows: 100px; gap: 7px; }
  .album-filters {
    margin: 20px 0 20px;
    gap: 7px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
  }
  .album-filters::-webkit-scrollbar { display: none; }
  .album-filter { padding: 8px 13px; font-size: 9.5px; white-space: nowrap; flex-shrink: 0; }
  .book-nav { margin-top: 14px; }
  .book-btn { padding: 11px 15px; font-size: 10px; }
}

/* ---------- GRUPALES ---------- */
.grupales {
  background: var(--bg-warm); padding: 140px 40px;
  position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.grupales-grid {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px;
}
.grupales-card {
  aspect-ratio: 4/5; background: var(--bg-elevated);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; border: 1px solid var(--line);
  transition: all 0.5s; cursor: pointer;
}
.grupales-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.grupales-card-eyebrow {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.grupales-card-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: 32px; line-height: 1.1; margin-bottom: 12px;
}
.grupales-card-desc { color: var(--cream-muted); font-size: 14px; line-height: 1.6; }
.grupales-card-pattern { position: absolute; inset: 0; opacity: 0.5; z-index: 0; }
.grupales-card > * { position: relative; z-index: 1; }
.pattern-1 {
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(107, 31, 42, 0.2), transparent 50%);
}
.pattern-2 {
  background:
    radial-gradient(circle at 70% 20%, rgba(30, 58, 138, 0.2), transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(201, 169, 97, 0.1), transparent 50%);
}
.pattern-3 {
  background:
    radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(26, 26, 26, 0.4) 0%, transparent 100%);
}
@media (max-width: 768px) {
  .grupales { padding: 80px 20px; }
  .grupales-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 50px; }
}

/* ---------- PROCESS ---------- */
.process { padding: 140px 40px; max-width: 1100px; margin: 0 auto; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 80px; }
.step { border-top: 1px solid var(--line); padding-top: 32px; position: relative; }
.step::before { content: ''; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--gold); }
.step-num { font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 16px; }
.step-title { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin-bottom: 12px; line-height: 1.2; }
.step-desc { color: var(--cream-muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 768px) {
  .process { padding: 80px 20px; }
  .process-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 50px; }
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 140px 40px; text-align: center; position: relative;
  background: radial-gradient(ellipse at center, rgba(201, 169, 97, 0.06), transparent 70%), var(--bg);
}
.cta-quote {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.3;
  max-width: 800px; margin: 0 auto 60px; color: var(--cream);
}
.cta-quote em { color: var(--gold); }
.whatsapp-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 22px 44px; background: var(--gold); color: var(--bg);
  text-decoration: none; font-size: 12px; letter-spacing: 0.3em;
  text-transform: uppercase; font-weight: 600; transition: all 0.4s;
}
.whatsapp-cta:hover {
  background: var(--cream); transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(201, 169, 97, 0.2);
}

/* ---------- FOOTER ---------- */
footer { padding: 60px 40px 40px; border-top: 1px solid var(--line); background: var(--bg-warm); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer-brand .logo { font-size: 32px; margin-bottom: 16px; display: inline-block; }
.footer-brand p { color: var(--cream-muted); font-size: 14px; max-width: 320px; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--cream-muted); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); letter-spacing: 0.05em; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- CURSOR RETICLE ---------- */
#cursor-reticle {
  position: fixed; width: 60px; height: 60px;
  pointer-events: none; z-index: 999; opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
  mix-blend-mode: difference;
}
#cursor-reticle.visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#cursor-reticle .ret-corner { position: absolute; width: 12px; height: 12px; border: 1px solid var(--gold); }
#cursor-reticle .ret-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
#cursor-reticle .ret-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
#cursor-reticle .ret-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
#cursor-reticle .ret-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }
#cursor-reticle .ret-cross-h, #cursor-reticle .ret-cross-v {
  position: absolute; background: var(--gold);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
#cursor-reticle .ret-cross-h { width: 14px; height: 1px; }
#cursor-reticle .ret-cross-v { width: 1px; height: 14px; }
#cursor-reticle .ret-label {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap; font-weight: 500;
}
.photo-card, .swatch-card, .book-page-photos .ph:not(.placeholder) { cursor: none; }
@media (hover: none) {
  .photo-card, .swatch-card, .book-page-photos .ph { cursor: pointer; }
  #cursor-reticle { display: none; }
}

/* ---------- MODAL ---------- */
.photo-modal {
  position: fixed; inset: 0; z-index: 9000;
  visibility: hidden; opacity: 0;
  transition: opacity 0.4s ease, visibility 0s 0.4s;
  background: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.photo-modal.active { visibility: visible; opacity: 1; transition: opacity 0.4s ease; }
.modal-shutter { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.modal-shutter.gone { display: none; }
.modal-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 60px; opacity: 0;
  transition: opacity 0.5s ease 0.2s;
}
.photo-modal.revealed .modal-content { opacity: 1; }
.modal-image-wrap {
  width: 100%; max-width: 620px;
  aspect-ratio: 5/7; max-height: 74vh;
  position: relative; margin-bottom: 32px;
  overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-elevated);
}
.modal-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-image-wrap .modal-swatch {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 40px; position: relative;
}
.modal-image-wrap .modal-swatch::before {
  content: ''; position: absolute; 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.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.modal-image-wrap .modal-swatch.vino { background: linear-gradient(160deg, var(--vinotinto) 0%, var(--vinotinto-deep) 100%); }
.modal-image-wrap .modal-swatch.azul-rey { background: linear-gradient(160deg, #2746a8 0%, var(--azul-rey) 100%); }
.modal-image-wrap .modal-swatch.azul-oscuro { background: linear-gradient(160deg, #1a2a5e 0%, var(--azul-oscuro) 100%); }
.modal-image-wrap .modal-swatch.negro { background: linear-gradient(160deg, #2a2a2a 0%, var(--negro-toga) 100%); }
.modal-image-wrap .modal-swatch span { position: relative; }
.modal-image-wrap .modal-swatch .swatch-label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.modal-image-wrap .modal-swatch .swatch-name { font-family: var(--font-display); font-weight: 300; font-size: 56px; color: white; line-height: 1.1; }
.modal-image-wrap .modal-swatch .swatch-name em { font-style: italic; opacity: 0.8; }
.modal-info { text-align: center; max-width: 600px; }
.modal-eyebrow { font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.modal-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin-bottom: 16px; }
.modal-title em { color: var(--gold); font-style: italic; }
.modal-cta {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 16px; padding: 14px 32px;
  background: transparent; border: 1px solid var(--gold); color: var(--gold);
  text-decoration: none; font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; font-weight: 500; transition: all 0.3s;
}
.modal-cta:hover { background: var(--gold); color: var(--bg); }
.modal-close {
  position: absolute; top: 24px; right: 24px;
  width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--line); color: var(--cream);
  cursor: pointer; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  z-index: 10; transition: all 0.3s; font-family: var(--font-body);
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }
.modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  background: transparent; border: 1px solid var(--line); color: var(--cream);
  cursor: pointer; font-size: 24px; font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center;
  z-index: 10; transition: all 0.3s;
}
.modal-nav:hover { border-color: var(--gold); color: var(--gold); }
.modal-prev { left: 30px; }
.modal-next { right: 30px; }
.modal-counter {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--cream-muted); z-index: 10;
}
.modal-counter span { color: var(--gold); }
@media (max-width: 768px) {
  .modal-content { padding: 60px 20px; }
  .modal-image-wrap { max-height: 58vh; margin-bottom: 24px; }
  .modal-image-wrap .modal-swatch .swatch-name { font-size: 38px; }
  .modal-nav { width: 44px; height: 44px; font-size: 20px; }
  .modal-prev { left: 12px; }
  .modal-next { right: 12px; }
  .modal-close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .modal-counter { bottom: 16px; }
}
.photo-modal.zoom-mode .modal-image-wrap {
  max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh;
  position: fixed; inset: 0; margin: 0;
  border: none; background: #000;
  z-index: 20; aspect-ratio: unset;
}
.photo-modal.zoom-mode .modal-image-wrap img { object-fit: contain; cursor: zoom-out; }
.photo-modal.zoom-mode .modal-info,
.photo-modal.zoom-mode .modal-nav,
.photo-modal.zoom-mode .modal-counter { opacity: 0; pointer-events: none; }
.photo-modal.zoom-mode .modal-close { z-index: 21; }
.modal-zoom {
  position: absolute; top: 24px; right: 80px;
  width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--line); color: var(--cream);
  cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  z-index: 10; transition: all 0.3s; font-family: var(--font-body);
}
.modal-zoom:hover { border-color: var(--gold); color: var(--gold); }
.photo-modal.zoom-mode .modal-zoom { border-color: var(--gold); color: var(--gold); }
@media (max-width: 768px) { .modal-zoom { top: 14px; right: 62px; width: 40px; height: 40px; font-size: 16px; } }

/* ---------- SHUTTER LOADER (verde) ---------- */
#shutter-loader { position: fixed; inset: 0; z-index: 10000; background: #050507; overflow: hidden; }
#shutter-loader.done { opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
#shutter-loader.removed { display: none; }
#shutter-loader::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(201, 169, 97, 0.12) 0%, transparent 35%);
  z-index: 1; animation: glowFade 1.7s 0.5s ease-out forwards;
}
@keyframes glowFade { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
.shutter-svg {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 220vmax; height: 220vmax; z-index: 2;
}
.loader-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none; z-index: 3; opacity: 0;
  animation: loaderTextIn 0.4s 0.1s forwards, loaderTextOut 0.3s 1.0s forwards;
}
.focus-ring {
  width: 110px; height: 110px;
  border: 1px solid var(--gold); position: relative;
  margin-bottom: 24px; animation: focusPulse 1.2s ease-in-out infinite;
}
.focus-ring::before, .focus-ring::after { content: ''; position: absolute; background: var(--gold); }
.focus-ring::before { top: 50%; left: -8px; right: -8px; height: 1px; transform: translateY(-50%); }
.focus-ring::after { left: 50%; top: -8px; bottom: -8px; width: 1px; transform: translateX(-50%); }
.focus-ring .corner { position: absolute; width: 14px; height: 14px; border: 1px solid var(--gold); }
.focus-ring .corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.focus-ring .corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.focus-ring .corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.focus-ring .corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }
@keyframes focusPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.92); opacity: 0.6; } }
.loader-brand { font-family: var(--font-display); font-size: 32px; font-weight: 300; color: var(--cream); letter-spacing: 0.05em; }
.loader-brand span { color: var(--gold); font-style: italic; }
.loader-meta { font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-top: 14px; }
@keyframes loaderTextIn { to { opacity: 1; } }
@keyframes loaderTextOut { to { opacity: 0; } }

/* ---------- HERO VIDEO BG ---------- */
.hero-video-wrap { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-video-wrap video {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1.15);
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(8px) saturate(0.7) brightness(0.55); opacity: 0.55;
}
.hero-video-wrap::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(14,13,17,0.4) 0%, rgba(14,13,17,0.85) 70%, var(--bg) 100%),
    linear-gradient(180deg, rgba(14,13,17,0.6) 0%, rgba(14,13,17,0.4) 50%, var(--bg) 100%);
  z-index: 1;
}
.hero-content, .hero-scroll, .hero-bg-glow { z-index: 3; }
.hero-bg-glow { z-index: 2; }