/* ═══════════════════════════════════════════════════
   ZETAZEN — style.css
   Font: Host Grotesk (Google Fonts)
═══════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: dark;
  --bg-dark:      #0f0f0f;
  --bg-light:     #f2f2f2;
  --bg-tour:      #0c0c0c;
  --white:        #ffffff;
  --off-white:    #e8e5e0;
  --grey-mid:     #7a7a7a;
  --font-main:    'Host Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --transition:   0.3s ease;
}

html { scroll-behavior: smooth; }

@keyframes pg-fade-in {
  from { opacity: 0; }
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  animation: pg-fade-in 300ms ease both;
}

/* ── Accesibilidad: sr-only ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #666; border-radius: 3px; }

/* ══════════════════════════════════════════════
   ANNOUNCEMENT BAR (frases rotativas)
══════════════════════════════════════════════ */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 26px;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 101;
  padding: 0 40px;
  overflow: hidden;
}
.announce-text {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
  transition: opacity 0.5s ease;
  font-weight: 500;
}
.announce-text.fading { opacity: 0; }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 26px;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 40px;
  transition: opacity var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: opacity var(--transition);
  z-index: 102;
}
.logo:hover { opacity: 0.7; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  position: relative;
  transition: opacity var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width var(--transition);
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { opacity: 0.8; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 28px;
  position: relative;
  z-index: 102;
  padding: 0;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--white);
  box-shadow: 0 0 4px rgba(0,0,0,0.7);
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 6px; }
.nav-toggle span:nth-child(2) { top: 13px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { top: 13px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 13px; transform: rotate(-45deg); }

/* ══════════════════════════════════════════════
   VIDEO HERO
══════════════════════════════════════════════ */
.video-hero {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,0.6) 100%
  );
  pointer-events: none;
}

/* ══════════════════════════════════════════════
   TOUR / SHOWS
══════════════════════════════════════════════ */
.tour-section {
  background-color: var(--bg-dark);
  padding: 100px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(72px) scale(0.95);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-title.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tour-list { display: flex; flex-direction: column; gap: 0; }

.tour-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  gap: 16px;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              border-color var(--transition);
}
.tour-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.tour-item:hover { border-color: rgba(255,255,255,0.3); }
.tour-item.visible { opacity: 1; transform: translateX(0); }

.tour-left { display: flex; flex-direction: column; min-width: 80px; }
.tour-date {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tour-year {
  font-size: 0.75rem;
  color: var(--grey-mid);
  letter-spacing: 0.06em;
}

.tour-center { flex: 1; display: flex; flex-direction: column; padding: 0 24px; }
.tour-venue { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.03em; }
.tour-city { font-size: 0.85rem; color: var(--grey-mid); margin-top: 2px; letter-spacing: 0.04em; }

.tour-btn {
  display: inline-block;
  padding: 10px 24px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 100px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.tour-btn:hover { background: var(--white); color: var(--bg-dark); border-color: var(--white); }

/* ══════════════════════════════════════════════
   TOUR PAGE — PHOTO HERO
══════════════════════════════════════════════ */
.tour-photo-hero {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 520px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: flex-end;
}
.tour-photo-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.04);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.tour-photo-hero.loaded img { transform: scale(1); }

.tour-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0) 25%,
    rgba(0,0,0,0.45) 65%,
    rgba(0,0,0,0.88) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.tour-photo-grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain 0.8s steps(1) infinite;
}
@keyframes grain {
  0%   { transform: translate(0,    0   ); }
  12%  { transform: translate(-3%,  2%  ); }
  25%  { transform: translate(2%,  -3%  ); }
  37%  { transform: translate(-2%,  3%  ); }
  50%  { transform: translate(3%,  -1%  ); }
  62%  { transform: translate(-1%,  3%  ); }
  75%  { transform: translate(2%,  -2%  ); }
  87%  { transform: translate(-3%,  1%  ); }
  100% { transform: translate(1%,   3%  ); }
}
.tour-photo-content {
  position: relative;
  z-index: 3;
  padding: 0 60px 56px;
  width: 100%;
}
.tour-photo-meta {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}
.tour-photo-hero.loaded .tour-photo-meta { opacity: 1; transform: translateY(0); }
.tour-photo-title {
  font-size: clamp(3.8rem, 11vw, 10rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.88;
  margin: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}
.tour-photo-hero.loaded .tour-photo-title { opacity: 1; transform: translateY(0); }

.tour-scroll-hint {
  text-decoration: none;
  color: inherit;
  position: absolute;
  bottom: 28px;
  right: 48px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 1s ease 1.1s;
}
.tour-photo-hero.loaded .tour-scroll-hint { opacity: 1; }
.tour-scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.tour-scroll-hint svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,0.4);
  animation: bounce 2s ease infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

.tour-page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 20px 100px;
}

/* ══════════════════════════════════════════════
   MUSIC PAGE
══════════════════════════════════════════════ */
.music-hero {
  padding-top: 140px;
  padding-bottom: 20px;
  text-align: center;
  background: var(--bg-dark);
}
.music-header-meta {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 40px;
  display: block;
}
.spotify-container {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
.spotify-wrapper {
  background: #181818;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.discography-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 100px;
}
.album-row {
  display: flex;
  gap: 60px;
  margin-bottom: 120px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.album-row.visible { opacity: 1; transform: translateY(0); }

.album-cover-column {
  flex: 0 0 450px;
  position: sticky;
  top: 120px;
}
.album-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.album-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.album-cover-wrap:hover .album-cover { transform: scale(1.05); }

/* Tilt 3D en portadas (efecto tipo Spotify) — se controla desde script.js.
   Perspectiva dentro del propio transform para no tocar las columnas sticky.
   Se desactiva solo en táctil y con reduced-motion. */
.album-cover-wrap,
.book-cover-wrap {
  display: block; /* .album-cover-wrap es un <a> (inline por defecto) y los transform no aplican a inline */
  transform: perspective(1100px) rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg)) scale(var(--tiltScale, 1));
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.album-cover-wrap.is-tilting,
.book-cover-wrap.is-tilting { transition: transform 0.1s ease-out; }
.album-cover-wrap::after,
.book-cover-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle at var(--glareX, 50%) var(--glareY, 50%),
              rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 45%);
  opacity: var(--glare, 0);
  transition: opacity 0.5s ease;
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .album-cover-wrap, .book-cover-wrap { transform: none; }
  .album-cover-wrap::after, .book-cover-wrap::after { display: none; }
}

/* ══════════════════════════════════════════════
   TIENDA (/shop) — generada por scripts/build-shop.mjs
══════════════════════════════════════════════ */
.shop-hero {
  padding-top: 140px;
  padding-bottom: 10px;
  text-align: center;
  background: var(--bg-dark);
}
.shop-header-meta {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-mid);
  display: block;
}

.shop-grid-section { max-width: 1100px; margin: 0 auto; padding: 40px 24px 100px; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
  justify-content: center;
  gap: 40px;
}
.shop-card { display: block; text-decoration: none; color: inherit; }
.shop-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #141414;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.shop-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.shop-card:hover .shop-card-img img { transform: scale(1.05); }
/* Producto sin stock: imagen apagada + badge "Agotado" (lo pone script.js vía /api/stock) */
.shop-card.is-agotado .shop-card-img img {
  filter: grayscale(1);
  opacity: 0.45;
}
.shop-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shop-card-info {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; margin-top: 16px; text-align: center;
}
.shop-card-name { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.shop-card-price { font-size: 1rem; font-weight: 700; color: var(--off-white); white-space: nowrap; }
.shop-ship-note {
  margin-top: 48px; text-align: center;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-mid);
}

/* Ficha de producto */
.pd-wrap { max-width: 1100px; margin: 0 auto; padding: 130px 24px 100px; }
.pd-layout { display: flex; gap: 64px; align-items: flex-start; }

.pd-gallery { flex: 0 0 460px; position: sticky; top: 120px; }
.pd-main {
  width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  background: #141414; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd-thumb {
  flex: 1; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; cursor: pointer;
  background: #141414; border: 1.5px solid transparent; opacity: 0.6;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { opacity: 0.85; }
.pd-thumb.is-active { opacity: 1; border-color: rgba(255, 255, 255, 0.55); }

.pd-info { flex: 1; padding-top: 6px; }
.pd-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--grey-mid); display: block; margin-bottom: 16px;
}
.pd-scarcity {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: var(--off-white); margin-bottom: 16px;
}
.pd-scarcity-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: #d8a24a;
  animation: pd-pulse 1.9s ease-out infinite;
}
@keyframes pd-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(216, 162, 74, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(216, 162, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 162, 74, 0); }
}
@media (prefers-reduced-motion: reduce) { .pd-scarcity-dot { animation: none; } }
.pd-name { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; }
.pd-price { display: flex; align-items: baseline; gap: 14px; margin: 20px 0 26px; }
.pd-price-old { font-size: 1.15rem; font-weight: 500; color: var(--grey-mid); text-decoration: line-through; }
.pd-price-now { font-size: 1.5rem; font-weight: 700; color: var(--off-white); }
.pd-oferta {
  align-self: center;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #0f0f0f; background: var(--off-white); padding: 4px 11px; border-radius: 100px;
}
.pd-desc { font-size: 1.02rem; line-height: 1.75; color: #cfcfcf; max-width: 460px; margin-bottom: 34px; }
.pd-desc p { margin-bottom: 13px; }
.pd-desc p:last-child { margin-bottom: 0; }
.pd-desc strong { color: var(--off-white); font-weight: 700; }
.pd-desc em { color: #b8b8c2; font-style: italic; }

.pd-express { margin-bottom: 2px; }
.pd-express[hidden], .pd-or[hidden] { display: none; }
.pd-or {
  display: flex; align-items: center; gap: 14px;
  margin: 16px 0; color: var(--grey-mid);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.pd-or::before, .pd-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.12); }

.pd-buy {
  display: inline-block; min-width: 220px;
  padding: 17px 40px; border: none; border-radius: 100px;
  background: var(--white); color: #0f0f0f;
  font-family: var(--font-main); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  cursor: pointer; transition: transform 0.2s ease, background 0.3s ease, opacity 0.3s ease;
}
.pd-buy:hover { background: var(--off-white); }
.pd-buy:active { transform: scale(0.98); }
.pd-buy:disabled { background: #3a3a3a; color: #8a8a8a; cursor: not-allowed; }
.pd-feedback { min-height: 20px; margin-top: 14px; font-size: 0.9rem; color: #cf6a6a; }

.pd-meta { list-style: none; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.pd-meta li { font-size: 0.9rem; color: var(--grey-mid); padding: 7px 0; }
.pd-meta strong { color: var(--off-white); font-weight: 600; }

@media (max-width: 860px) {
  .pd-wrap { padding-top: 110px; }
  .pd-layout { flex-direction: column; gap: 32px; }
  .pd-gallery { flex: none; width: 100%; max-width: 460px; margin: 0 auto; position: relative; top: 0; }
  .pd-info { text-align: center; }
  .pd-desc { margin-left: auto; margin-right: auto; }
  .pd-meta { text-align: left; max-width: 460px; margin-left: auto; margin-right: auto; }
  .pd-buy { width: 100%; }
}

.album-info-column { flex: 1; }
.album-date {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 12px;
  display: block;
}
.album-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.1;
}
.track-list { list-style: none; margin-bottom: 40px; }
.track-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  color: var(--off-white);
  transition: color 0.3s ease;
}
.track-item span {
  color: var(--grey-mid);
  width: 25px;
  font-size: 0.8rem;
}
.track-item:hover { color: var(--white); }

/* ══════════════════════════════════════════════
   NEWSLETTER
══════════════════════════════════════════════ */
.newsletter-section {
  background-color: var(--bg-light);
  color: #1a1a1a;
  padding: 56px 40px;
  text-align: center;
}
.newsletter-section .section-title { color: #1a1a1a; }

.newsletter-sub {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 44px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.newsletter-sub.visible { opacity: 1; transform: translateY(0); }

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.32s,
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.32s;
}
.newsletter-form.visible { opacity: 1; transform: translateY(0); }

.nl-input {
  width: 100%;
  padding: 14px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,0.15);
  background: rgba(0,0,0,0.04);
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.nl-input::placeholder { color: #999; }
.nl-input:focus { border-color: rgba(0,0,0,0.5); }

.nl-btn {
  width: 100%;
  padding: 14px 22px;
  border-radius: 100px;
  border: none;
  background: #1a1a1a;
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), transform 0.15s ease;
}
.nl-btn:hover { background: #333; }
.nl-btn:active { transform: scale(0.97); }

.nl-feedback {
  margin-top: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 20px;
  font-weight: 600;
  color: #2a7a4f;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.nl-feedback.show { opacity: 1; }

/* ══════════════════════════════════════════════
   SOCIAL
══════════════════════════════════════════════ */
.social-section {
  background-color: var(--bg-dark);
  padding: 80px 40px;
}
.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.social-link {
  color: rgba(255,255,255,0.6);
  opacity: 0;
  transform: translateY(22px);
  display: flex;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.3s ease;
}
.social-link svg { width: 26px; height: 26px; }
.social-link:hover { color: var(--white); transform: translateY(-3px); }
.social-row.visible .social-link         { opacity: 1; transform: translateY(0); }
.social-row.visible .social-link:nth-child(1) { transition-delay: 0s; }
.social-row.visible .social-link:nth-child(2) { transition-delay: 0.12s; }
.social-row.visible .social-link:nth-child(3) { transition-delay: 0.24s; }
.social-row.visible .social-link:nth-child(4) { transition-delay: 0.36s; }
.social-row.visible .social-link:hover   { transition-delay: 0s; }

/* ══════════════════════════════════════════════
   STORE REMINDER
══════════════════════════════════════════════ */
.store-reminder {
  padding: 80px 20px;
  text-align: center;
  background: var(--bg-dark);
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.store-reminder.visible { opacity: 1; transform: translateY(0); }
.store-reminder-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--grey-mid);
  margin-bottom: 30px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.store-reminder-btn {
  display: inline-block;
  padding: 16px 45px;
  border: 1px solid var(--white);
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.4s ease;
}
.store-reminder-btn:hover { background: var(--white); color: var(--bg-dark); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 40px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer.visible { opacity: 1; transform: translateY(0); }

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-bottom: 18px;
}
.footer-links a {
  color: var(--grey-mid);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   PRODUCTO DESTACADO
══════════════════════════════════════════════ */
.featured-product {
  background-color: #111;
  overflow: hidden;
}
.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 36vh;
  max-width: 1440px;
  margin: 0 auto;
  text-decoration: none;
  color: var(--white);
}
.product-img-wrap {
  overflow: hidden;
  position: relative;
  height: 100%;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.featured-product.visible .product-img-wrap { opacity: 1; transform: translateX(0); }

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(20%) brightness(0.92);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.6s ease;
}
.product-card:hover .product-img { transform: scale(1.05); filter: grayscale(0%) brightness(1); }

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 56px;
  gap: 24px;
  background-color: #111;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.featured-product.visible .product-info { opacity: 1; transform: translateX(0); }

.product-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey-mid);
}
.product-name {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
}
.product-desc {
  font-size: 0.88rem;
  color: var(--grey-mid);
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.7;
  white-space: nowrap;
}
.product-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 14px 36px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.product-card:hover .product-btn {
  background: var(--white);
  color: #111;
  border-color: var(--white);
}

/* ══════════════════════════════════════════════
   POPUP SUSCRIPCIÓN
══════════════════════════════════════════════ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.popup-overlay.popup-visible { opacity: 1; visibility: visible; }

.popup-box {
  background: #fff;
  color: #111;
  width: min(480px, 92vw);
  padding: 40px 36px 36px;
  position: relative;
  text-align: center;
}
.popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #111;
  line-height: 1;
}
.popup-close:hover { opacity: 0.5; }
.popup-logo {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.popup-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #333;
  margin-bottom: 24px;
}
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.popup-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s;
}
.popup-form input:focus { border-color: #111; }
.popup-btn {
  background: #111;
  color: #fff;
  border: none;
  padding: 15px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.2s;
}
.popup-btn:hover { background: #333; }

/* ══════════════════════════════════════════════
   404 PAGE
══════════════════════════════════════════════ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}
.error-page h1 {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}
.error-page p {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 40px;
}
.error-page a {
  display: inline-block;
  padding: 16px 45px;
  border: 1px solid var(--white);
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.4s ease;
}
.error-page a:hover { background: var(--white); color: var(--bg-dark); }

/* ══════════════════════════════════════════════
   LIBRO PAGE
══════════════════════════════════════════════ */
.book-hero {
  padding-top: 140px;
  padding-bottom: 20px;
  text-align: center;
  background: var(--bg-dark);
}
.book-header-meta {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-mid);
  display: block;
}

.book-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.book-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.book-layout.visible { opacity: 1; transform: translateY(0); }

.book-cover-col {
  flex: 0 0 360px;
  position: sticky;
  top: 130px;
}
.book-cover-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 10px 30px rgba(0,0,0,0.4);
}
.book-cover-img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.book-cover-wrap:hover .book-cover-img { transform: scale(1.03); }

.book-info-col { flex: 1; padding-top: 10px; }

.book-year {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 12px;
  display: block;
}
.book-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.book-quote {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.85;
  color: var(--off-white);
  font-style: italic;
  border-left: 2px solid rgba(255,255,255,0.25);
  padding-left: 22px;
  margin-bottom: 28px;
  font-weight: 400;
}
.book-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--grey-mid);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.book-desc:last-of-type {
  margin-bottom: 40px;
}

.book-details {
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 48px;
}
.book-details li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  color: var(--off-white);
}
.book-details li span {
  color: var(--grey-mid);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.book-buy-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 14px;
  font-weight: 700;
}
.book-buy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.buy-link {
  display: inline-block;
  padding: 10px 22px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.buy-link:hover { background: var(--white); color: var(--bg-dark); border-color: var(--white); }

/* Tres fases */
.book-phases {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 120px;
}
.book-phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.book-phases-grid.visible { opacity: 1; transform: translateY(0); }

.phase-item {
  padding: 52px 40px 52px 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.phase-item:last-child { border-right: none; padding-right: 0; padding-left: 40px; }
.phase-item:not(:first-child):not(:last-child) { padding-left: 40px; }

.phase-number {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 16px;
  display: block;
}
.phase-name {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1;
}
.phase-desc {
  font-size: 0.85rem;
  color: var(--grey-mid);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════
   BANNER LANZAMIENTO (MI SUERTE)
══════════════════════════════════════════════ */
.release-banner {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}
@keyframes kenburns-banner {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.release-banner-scene {
  position: absolute;
  inset: -20%;
  will-change: transform;
}

.release-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.35) saturate(1.2);
  will-change: transform;
  animation: kenburns-banner 12s ease-in-out infinite;
}

.release-banner-grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain 0.8s steps(1) infinite;
}

.release-banner-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}

.release-artwork-wrap {
  flex: 0 0 260px;
  width: 260px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 4px 16px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.release-banner.visible .release-artwork-wrap { opacity: 1; transform: translateY(0); }
.release-artwork-img { width: 100%; display: block; }

.release-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s,
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.release-banner.visible .release-info { opacity: 1; transform: translateY(0); }

.release-label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 700;
}
.release-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--white);
  margin: 0;
}
.release-date {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

.release-countdown {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-top: 4px;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}
.countdown-unit span {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.countdown-unit label {
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 5px;
  font-weight: 700;
}
.countdown-sep {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: rgba(255,255,255,0.2);
  line-height: 1;
  padding: 0 2px;
  align-self: flex-start;
}

.release-btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: 8px;
  padding: 14px 40px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 100px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.release-btn:hover { background: var(--white); color: #0a0a0a; border-color: var(--white); }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .announce-bar { height: 22px; padding: 0 16px; }
  .announce-text { font-size: 0.55rem; letter-spacing: 0.12em; }
  .navbar { padding: 20px 24px; top: 22px; }

  /* Hamburger visible, links en overlay */
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(280px, 75vw);
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 101;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1rem; }

  .release-banner-inner { flex-direction: column; gap: 36px; padding: 60px 24px; text-align: center; }
  .release-artwork-wrap { flex: none; width: 200px; margin: 0 auto; }
  .release-info { align-items: center; }
  .release-countdown { justify-content: center; }
  .release-btn { align-self: center; }

  .tour-section { padding: 70px 24px; }
  .newsletter-section { padding: 44px 24px; }

  .tour-item { flex-wrap: wrap; gap: 12px; }
  .tour-right { width: 100%; }
  .tour-btn { width: 100%; text-align: center; }

  .social-row { gap: 28px; }
  .footer-links { gap: 8px 18px; }

  .tour-photo-hero { height: 78vh; min-height: 420px; }
  .tour-photo-content { padding: 0 24px 40px; }
  .tour-scroll-hint { right: 24px; bottom: 20px; }
}

@media (max-width: 900px) {
  .album-row { flex-direction: column; gap: 40px; }
  .album-cover-column {
    flex: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    top: 0;
  }
  .album-title, .album-date { text-align: center; }
  .album-cta-wrap { text-align: center; }

  /* Libro responsive */
  .book-layout { flex-direction: column; gap: 48px; }
  .book-cover-col {
    flex: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    top: 0;
  }
  .book-title, .book-year { text-align: center; }
  .book-quote, .book-desc { text-align: left; }
  .book-phases-grid { grid-template-columns: 1fr; }
  .phase-item {
    padding: 32px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .phase-item:last-child { border-bottom: none; padding-left: 0; }
  .phase-item:not(:first-child):not(:last-child) { padding-left: 0; }
}

@media (max-width: 768px) {
  .product-card { grid-template-columns: 1fr; height: auto; }
  .product-img-wrap { height: 55vw; max-height: 260px; }
  .product-img { object-position: center 30%; filter: grayscale(15%) brightness(0.82) contrast(1.05); }
  .product-info { padding: 40px 28px 48px; }
  .product-btn { align-self: stretch; text-align: center; }
}

@media (max-width: 480px) {
  .logo { font-size: 0.72rem; letter-spacing: 0.3em; }
  .product-desc { white-space: normal; }
}

/* ══════════════════════════════════════════════
   VOTA TU CIUDAD (/vota)
══════════════════════════════════════════════ */
/* Hero con foto (reutiliza .tour-photo-*) */
.vota-photo-hero {
  height: 62vh;
  min-height: 440px;
}
.vota-photo-hero img { object-position: center 22%; transition: none; transform: scale(1.15); will-change: transform; }

.vota-title {
  font-size: clamp(2.4rem, 7.5vw, 6.5rem);
  white-space: nowrap;
}

.vota-sub {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 520px;
  margin-top: 16px;
}

.vota-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 40px 90px;
  text-align: center;
}

/* Layout: mapa a la izquierda, selección + form a la derecha */
.vota-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}

/* Tabs España / Latinoamérica */
.vota-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 0 48px;
}

.vota-tab {
  padding: 12px 28px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.vota-tab:hover { border-color: rgba(255,255,255,0.6); }
.vota-tab.active {
  background: var(--white);
  color: #0f0f0f;
  border-color: var(--white);
}

/* Paneles */
.vota-panel { display: none; }
.vota-panel.active { display: block; }

/* Mapas */
.mapa-svg {
  width: 100%;
  height: auto;
  max-height: 640px;
  display: block;
  margin: 0 auto;
  overflow: visible;
}
.mapa-latam { max-width: 460px; }

.mapa-ca {
  fill: rgba(255,255,255,0.07);
  stroke: rgba(255,255,255,0.4);
  stroke-width: 0.8;
  cursor: pointer;
  outline: none;
  transition: fill 0.2s ease;
}
.mapa-ca:hover,
.mapa-ca:focus-visible { fill: rgba(255,255,255,0.22); }
.mapa-ca.selected { fill: var(--white); stroke: var(--white); }

.mapa-dot { stroke-width: 1; }

.mapa-inset-border {
  fill: none;
  stroke: rgba(255,255,255,0.18);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  pointer-events: none;
}

.vota-zona-name {
  min-height: 30px;
  margin: 0 0 22px;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6a6a6a;
  transition: color 0.25s ease, font-size 0.25s ease, letter-spacing 0.25s ease;
}
.vota-zona-name.picked {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

/* Selects (respaldo España + país LATAM) */
.vota-select {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 14px 48px 14px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 20px center / 14px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.vota-select:focus { border-color: rgba(255,255,255,0.7); }
.vota-select option { background: #1a1a1a; color: var(--white); }
.vota-select[hidden] { display: none; }

/* Formulario */
.vota-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  margin: 30px auto 0;
}

.vota-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.vota-input {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  color: var(--white);
}
.vota-input::placeholder { color: #777; }
.vota-input:focus { border-color: rgba(255,255,255,0.7); }

.vota-btn {
  background: var(--white);
  color: #0f0f0f;
}
.vota-btn:hover { background: #d9d9d9; }
.vota-btn:disabled { cursor: default; }

.vota-feedback {
  min-height: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fd6a8;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.vota-feedback.show { opacity: 1; }
.vota-feedback.error { color: #d68f8f; }

.vota-legal {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  line-height: 1.8;
}
.vota-legal-sub { color: #555; }

@media (max-width: 900px) {
  .vota-layout { grid-template-columns: 1fr; gap: 36px; }
  .vota-map-col { max-width: 560px; margin: 0 auto; width: 100%; }
  .mapa-latam { max-width: 380px; }
}

@media (max-width: 700px) {
  .vota-photo-hero { height: 52vh; min-height: 380px; }
  .vota-sub { font-size: 0.78rem; }
  .vota-section { padding: 44px 20px 70px; }
  .vota-tabs { margin: 0 0 36px; }
  .vota-tab { padding: 11px 22px; font-size: 0.74rem; }
  .vota-zona-name { font-size: 1.1rem; }
}

/* Hint en la página de tour */
.tour-vota-hint {
  margin-top: 48px;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-mid);
}
.tour-vota-hint a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tour-vota-hint a:hover { opacity: 0.7; }

/* ══════════════════════════════════════════════
   CTA HOME → /vota
══════════════════════════════════════════════ */
.vota-cta {
  background: var(--white);
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.vota-cta.visible { opacity: 1; transform: translateY(0); }

.vota-cta-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 72px 24px;
  text-decoration: none;
  text-align: center;
}

.vota-cta-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #999;
}

.vota-cta-title {
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #0f0f0f;
}

.vota-cta-sub {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #555;
  margin-top: -6px;
}

.vota-cta-btn {
  display: inline-block;
  padding: 14px 44px;
  border-radius: 100px;
  background: #0f0f0f;
  color: var(--white);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background var(--transition), transform 0.15s ease;
}
.vota-cta-link:hover .vota-cta-btn { background: #333; }
.vota-cta-link:active .vota-cta-btn { transform: scale(0.97); }

/* ── Modal de contacto (footer) ── */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.contact-modal-overlay.show { opacity: 1; visibility: visible; }
.contact-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px 36px 36px;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s ease;
}
.contact-modal-overlay.show .contact-modal { transform: translateY(0) scale(1); }
.contact-modal h3 {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.contact-modal p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cfcfcf;
  margin-bottom: 22px;
}
.contact-modal-mail {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.contact-modal-mail:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); }
.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #999;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}
.contact-modal-close:hover { color: var(--white); }

/* ══════════════════════════════════════════════
   LANDING PRE-SAVE (/yteacuerdas)
══════════════════════════════════════════════ */
.presave-page { background: #0a0a0a; }

.presave-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.presave-hero .release-banner-inner { padding: 150px 40px 90px; }
.presave-hero .release-banner-bg {
  filter: brightness(0.22) saturate(1.2) blur(20px);
  transform: scale(1.1);
}
.presave-hero .release-artwork-wrap { flex: 0 0 320px; width: 320px; }

.presave-cta-label {
  display: block;
  margin-top: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
}

.presave-dsps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 200px));
  gap: 12px;
  margin-top: 4px;
}
.presave-dsp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 18px;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 100px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.presave-dsp svg { width: 20px; height: 20px; flex: 0 0 20px; }
.presave-dsp:hover { background: var(--white); color: #0a0a0a; border-color: var(--white); }

.presave-all {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition);
}
.presave-all:hover { color: var(--white); }

.presave-notify {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 420px;
  width: 100%;
}
.presave-notify-text {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  margin: 0 0 14px;
}
.presave-notify-form { display: flex; gap: 8px; }
.presave-notify-form .nl-input {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
.presave-notify-form .nl-input::placeholder { color: rgba(255,255,255,0.35); }
.presave-notify-form .nl-input:focus { border-color: rgba(255,255,255,0.6); }
.presave-notify-form .nl-btn {
  width: auto;
  flex: 0 0 auto;
  background: var(--white);
  color: #0a0a0a;
}
.presave-notify-form .nl-btn:hover { background: var(--off-white); }
.presave-notify .nl-feedback { color: #7fc79e; text-align: left; text-transform: none; letter-spacing: 0.04em; }

@media (max-width: 768px) {
  .presave-hero .release-banner-inner { padding: 130px 24px 70px; }
  .presave-hero .release-artwork-wrap { width: 230px; flex: none; }
  .presave-dsps { justify-content: center; margin-left: auto; margin-right: auto; }
  .presave-notify { margin-left: auto; margin-right: auto; }
  .presave-notify-form { flex-direction: column; }
}

@media (max-width: 420px) {
  .presave-dsps { grid-template-columns: 1fr; width: 100%; max-width: 300px; }
}
