/* ==========================================================================
   ÆLITH Productions — Sistema de diseño
   Paleta: blanco / negro / gris con "blurry effect"
   Tipografía: blackletter (display) + serif caps tracking amplio (Cinzel) + Inter (texto)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Color */
  --ink:        #08080a;
  --ink-2:      #0e0e11;
  --ink-3:      #141418;
  --smoke:      #1c1c21;
  --ash:        #2a2a31;
  --grey:       #85858f;   /* 5.48:1 sobre --ink → cumple WCAG AA */
  --grey-2:     #9a9aa5;   /* 7.18:1 */
  --silver:     #c9c9d1;   /* 12.16:1 */
  --paper:      #ffffff;

  --line:       rgba(255,255,255,.10);
  --line-2:     rgba(255,255,255,.24);
  --line-input: rgba(255,255,255,.36);  /* 3.23:1 → borde de control perceptible */
  --glass:      rgba(255,255,255,.045);
  --glass-2:    rgba(255,255,255,.075);

  /* Tipografía */
  --font-display: 'Old English Text MT', 'Engravers Old English BT', 'Cloister Black',
                  'Pirata One', 'UnifrakturMaguntia', serif;
  --font-serif:   'Cinzel', 'Trajan Pro', 'Garamond', 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Escala fluida */
  --fs-hero:   clamp(2.6rem, 9vw, 6.5rem);
  --fs-h1:     clamp(2rem, 5.5vw, 3.6rem);
  --fs-h2:     clamp(1.5rem, 3.6vw, 2.4rem);
  --fs-h3:     clamp(1.05rem, 2vw, 1.3rem);
  --fs-body:   clamp(.98rem, 1.1vw, 1.06rem);
  --fs-small:  .82rem;

  /* Espaciado */
  --gap:       clamp(1rem, 2.5vw, 1.75rem);
  --pad-x:     clamp(1.15rem, 5vw, 3.5rem);
  --section-y: clamp(4rem, 11vw, 8.5rem);
  --maxw:      1240px;

  --radius:    2px;
  --ease:      cubic-bezier(.22,.61,.36,1);
  --dur:       .55s;

  --header-h:  72px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  background: var(--ink);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--paper); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 200;
  background: var(--paper); color: var(--ink);
  padding: .7rem 1.2rem; font-family: var(--font-serif);
  font-size: var(--fs-small); letter-spacing: .18em; text-transform: uppercase;
}
.skip-link:focus { top: 1rem; }

/* ---------- 3. Tipografía ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .01em;
  color: var(--paper);
}

h1, h2, h3, h4, .serif {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: .16em;
  line-height: 1.25;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: .2em; }

p { max-width: 68ch; }
p + p { margin-top: 1.1em; }

strong { color: var(--paper); font-weight: 500; }

.eyebrow {
  font-family: var(--font-serif);
  font-size: clamp(.65rem, 1.4vw, .74rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .42em;
  color: var(--grey-2);
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: '';
  width: clamp(24px, 5vw, 52px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey));
  flex: none;
}
.eyebrow.is-centered { justify-content: center; }
.eyebrow.is-centered::after {
  content: '';
  width: clamp(24px, 5vw, 52px);
  height: 1px;
  background: linear-gradient(90deg, var(--grey), transparent);
  flex: none;
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: var(--silver);
  font-weight: 300;
  line-height: 1.75;
}

.muted { color: var(--grey-2); }
.tiny {
  font-size: var(--fs-small);
  letter-spacing: .04em;
  color: var(--grey);
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container-wide { max-width: 1560px; }

.section { padding-block: var(--section-y); position: relative; }
.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.section-head.is-centered { text-align: center; }
.section-head.is-centered p { margin-inline: auto; }
.section-head h2 + p { margin-top: 1.2rem; }

.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- 5. Atmósfera (blurry effect) ---------- */
.fog {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 12% -10%, rgba(255,255,255,.075), transparent 62%),
    radial-gradient(48vw 48vw at 96% 22%, rgba(255,255,255,.05),  transparent 60%),
    radial-gradient(70vw 55vw at 45% 108%, rgba(255,255,255,.045), transparent 65%);
  filter: blur(28px);
}
.grain {
  position: fixed;
  inset: -50%;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 6. Header / Nav ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(8,8,10,.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.header.is-stuck {
  background: rgba(8,8,10,.9);
  border-bottom-color: var(--line);
}

.header-inner {
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .8rem; flex: none; }
.brand img { height: 34px; width: auto; max-width: none; object-fit: contain; }
.brand-name {
  font-family: var(--font-serif);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
}
@media (max-width: 420px) { .brand-name { display: none; } }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a {
  font-family: var(--font-serif);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey-2);
  padding: .5rem 0;
  position: relative;
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--paper);
  transition: width .4s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--radius);
  transition: border-color .3s var(--ease);
}
.nav-toggle:hover { border-color: var(--paper); }
.nav-toggle span {
  display: block; width: 18px; height: 1px; background: var(--paper);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8,8,10,.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--pad-x) 2rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a {
    font-size: .82rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.5rem; justify-content: center; }
}

.header-actions { display: flex; align-items: center; gap: .8rem; }

/* ---------- 7. Botones ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .95rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .3s var(--ease);
  text-align: center;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover { color: var(--ink); border-color: var(--paper); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(1px); }

.btn-primary { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.btn-primary::before { background: transparent; }
.btn-primary:hover { color: var(--ink); opacity: .86; }

.btn-sm { padding: .7rem 1.15rem; font-size: .65rem; letter-spacing: .18em; }
.btn-lg { padding: 1.15rem 2.3rem; font-size: .78rem; }
.btn-block { display: flex; width: 100%; }
.btn svg { width: 15px; height: 15px; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-serif);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--paper);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-2);
  transition: border-color .35s var(--ease), gap .35s var(--ease);
}
.link-arrow:hover { border-color: var(--paper); gap: 1rem; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 100svh, 1000px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 4rem) var(--pad-x) 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -6%;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(.42) blur(7px);
  transform: scale(1.06);
  animation: heroDrift 26s var(--ease) infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(75% 65% at 50% 42%, rgba(8,8,10,.35), rgba(8,8,10,.88) 78%),
    linear-gradient(180deg, rgba(8,8,10,.7) 0%, transparent 28%, rgba(8,8,10,.96) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-logo {
  /* El logo nunca se deforma: ancho fluido, alto derivado del archivo real (463x673) */
  width: clamp(112px, 20vw, 190px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 463 / 673;
  object-fit: contain;
  margin: 0 auto clamp(1.6rem, 4vw, 2.6rem);
  filter: drop-shadow(0 0 42px rgba(255,255,255,.22));
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 4.4vw, 3.15rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.28;
  color: var(--paper);
  text-wrap: balance;
}
.hero-title em {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.28em;
  letter-spacing: 0;
  text-transform: none;
}
.hero-sub {
  margin: clamp(1.3rem, 3vw, 1.9rem) auto 0;
  max-width: 54ch;
  color: var(--grey-2);
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
}
.hero-cta {
  margin-top: clamp(2rem, 4.5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
}
.hero-cta .btn { min-width: 210px; }

.hero-scroll {
  position: absolute;
  bottom: 1.9rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-serif);
  font-size: .58rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--grey), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* Page hero (páginas interiores) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3.5rem, 9vw, 6.5rem)) 0 clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 100% at 50% 0%, rgba(255,255,255,.07), transparent 70%);
  filter: blur(18px);
}
.page-hero h1 { text-wrap: balance; }
.page-hero .lead { margin-top: 1.4rem; }

.breadcrumb {
  font-family: var(--font-serif);
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.5rem;
}
.breadcrumb a:hover { color: var(--paper); }
.breadcrumb span { margin-inline: .6rem; opacity: .5; }

/* ---------- 9. Grids y tarjetas de artista ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.artist-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.artist-card:hover { border-color: var(--line-2); transform: translateY(-4px); }

.artist-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.68);
  transform: scale(1.02);
  transition: filter .7s var(--ease), transform .9s var(--ease);
}
.artist-card:hover img,
.artist-card:focus-visible img {
  filter: grayscale(0) contrast(1.04) brightness(.85);
  transform: scale(1.07);
}

.artist-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,10,.05) 0%, rgba(8,8,10,.35) 45%, rgba(8,8,10,.93) 100%);
  pointer-events: none;
}

.artist-card-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(1.1rem, 2.5vw, 1.7rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.artist-card-name {
  font-family: var(--font-serif);
  font-size: clamp(.86rem, 1.6vw, 1.02rem);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--paper);
  line-height: 1.3;
}
.artist-card-meta {
  display: block;
  margin-top: .45rem;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey-2);
}
.artist-card-icon {
  flex: none;
  width: 34px; height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--paper);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.artist-card:hover .artist-card-icon { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.artist-card-icon svg { width: 13px; height: 13px; }

/* Tarjeta destacada (span en desktop) */
@media (min-width: 900px) {
  .artist-grid { grid-template-columns: repeat(4, 1fr); }
  .artist-grid .artist-card:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 11; }
  .artist-grid .artist-card:nth-child(2) { grid-column: span 2; aspect-ratio: 16 / 11; }
}

/* ---------- 10. Bullets de confianza ---------- */
.trust-grid { counter-reset: trust; }
.trust-item {
  padding: clamp(1.5rem, 3vw, 2.1rem);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.trust-item::before {
  counter-increment: trust;
  content: counter(trust, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: .62rem;
  letter-spacing: .3em;
  color: var(--grey);
  display: block;
  margin-bottom: 1.1rem;
}
.trust-item:hover {
  background: var(--glass-2);
  border-color: var(--line-2);
  transform: translateY(-3px);
}
.trust-item h3 { margin-bottom: .8rem; }
.trust-item p { font-size: .93rem; color: var(--grey-2); }

/* ---------- 11. Servicios ---------- */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.6rem, 3.5vw, 2.6rem) 0;
  border-bottom: 1px solid var(--line);
  transition: background .5s var(--ease);
}
.service-row:hover { background: rgba(255,255,255,.022); }
.service-num {
  font-family: var(--font-serif);
  font-size: .68rem;
  letter-spacing: .28em;
  color: var(--grey);
  padding-top: .35rem;
}
.service-row h3 { margin-bottom: .85rem; }
.service-row p { color: var(--grey-2); font-size: .95rem; }

@media (min-width: 860px) {
  .service-row { grid-template-columns: 64px minmax(200px, 300px) 1fr; align-items: baseline; }
  .service-row h3 { margin-bottom: 0; }
}

.tag-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.1rem; }
.tag {
  font-family: var(--font-serif);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .42rem .95rem;
}

/* ---------- 12. Franja de estadísticas / cifras ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.stat {
  padding: clamp(1.5rem, 3vw, 2.3rem) clamp(1rem, 2vw, 1.6rem);
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: .04em;
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: .8rem;
  font-family: var(--font-serif);
  font-size: .6rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- 13. Split (imagen + texto) ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.is-reversed .split-media { order: 2; }
}
.split-media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.72) contrast(1.06);
  transition: filter .8s var(--ease), transform 1s var(--ease);
}
.split-media:hover img { filter: grayscale(.2) brightness(.85); transform: scale(1.04); }

/* ---------- 14. Acordeón FAQ ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%;
  background: none;
  border: 0;
  padding: clamp(1.25rem, 3vw, 1.8rem) 3rem clamp(1.25rem, 3vw, 1.8rem) 0;
  text-align: left;
  cursor: pointer;
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(.82rem, 1.7vw, .96rem);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--silver);
  line-height: 1.5;
  transition: color .35s var(--ease);
  display: block;
}
.acc-trigger:hover { color: var(--paper); }
.acc-trigger::before,
.acc-trigger::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  background: currentColor;
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.acc-trigger::before { width: 15px; height: 1px; transform: translateY(-50%); }
.acc-trigger::after  { width: 1px; height: 15px; transform: translate(7px, -50%); right: 13px; }
.acc-trigger[aria-expanded="true"] { color: var(--paper); }
.acc-trigger[aria-expanded="true"]::after { transform: translate(7px, -50%) rotate(90deg); opacity: 0; }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.acc-panel[data-open="true"] { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p {
  color: var(--grey-2);
  font-size: .95rem;
  padding-bottom: clamp(1.3rem, 3vw, 1.9rem);
  padding-right: clamp(0rem, 6vw, 4rem);
}
.acc-panel p:first-child { padding-top: .2rem; }
.acc-panel p + p { padding-top: 0; margin-top: -.6rem; }

/* ---------- 15. Formulario ---------- */
.form-shell {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 3rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.field-grid {
  display: grid;
  gap: clamp(1.1rem, 2.5vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.field { display: flex; flex-direction: column; gap: .55rem; }
.field.is-full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-serif);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--grey-2);
}
.field label .req { color: var(--paper); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-input);
  border-radius: var(--radius);
  padding: .92rem 1rem;
  color: var(--paper);
  font-size: .95rem;
  font-weight: 300;
  transition: border-color .35s var(--ease), background .35s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.65; }
.field input::placeholder,
.field textarea::placeholder { color: var(--grey); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--grey); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--paper);
  background: rgba(255,255,255,.055);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%239a9aa5' stroke-width='1.4'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 11px;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field select option { background: var(--ink-3); color: var(--paper); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.65); cursor: pointer; }

.field-error {
  font-size: .74rem;
  color: #ff8f8f;
  letter-spacing: .04em;
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #ff8f8f; }
.field.has-error .field-error { display: block; }

.form-foot {
  margin-top: clamp(1.6rem, 3.5vw, 2.2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  justify-content: space-between;
}
.form-note { font-size: .78rem; color: var(--grey); max-width: 44ch; }

.form-success {
  margin-top: 1.5rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  color: var(--paper);
  font-size: .9rem;
  display: none;
}
.form-success.is-visible { display: block; }

/* ---------- 16. Bloques de contacto ---------- */
.contact-card {
  padding: clamp(1.4rem, 3vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  transition: border-color .4s var(--ease), background .4s var(--ease);
  display: block;
}
.contact-card:hover { border-color: var(--line-2); background: var(--glass-2); }
.contact-card .tiny { margin-bottom: .5rem; display: block; }
.contact-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: .92rem;
  letter-spacing: .1em;
  font-weight: 600;
}

/* ---------- 17. CTA final ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding: clamp(3.5rem, 9vw, 7rem) var(--pad-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 130% at 50% 50%, rgba(255,255,255,.09), transparent 72%);
  filter: blur(22px);
}
.cta-band .display {
  font-size: clamp(2.1rem, 7vw, 4.6rem);
  margin-bottom: 1.4rem;
}
.cta-band p { margin-inline: auto; margin-bottom: 2.2rem; }

/* ---------- 18. Footer ---------- */
.footer { padding: clamp(3rem, 7vw, 5rem) 0 2rem; }
.footer-top {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-bottom: clamp(2.2rem, 5vw, 3.2rem);
  border-bottom: 1px solid var(--line);
}
.footer-brand img { width: 92px; height: auto; aspect-ratio: 463 / 673; object-fit: contain; margin-bottom: 1.3rem; }
.footer-brand p { font-size: .88rem; color: var(--grey); max-width: 32ch; }

.footer-col h4 {
  font-size: .62rem;
  letter-spacing: .3em;
  color: var(--grey);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .7rem; }
.footer-col a {
  font-size: .88rem;
  color: var(--grey-2);
  transition: color .3s var(--ease);
}
.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  padding-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: .74rem; color: var(--grey); letter-spacing: .06em; }

.social { display: flex; gap: .6rem; }
.social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--grey-2);
  transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.social a:hover { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.social svg { width: 16px; height: 16px; }

/* ---------- 19. WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.9rem);
  bottom: clamp(1rem, 3vw, 1.9rem);
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  opacity: 0;
  transform: scale(.7);
  pointer-events: none;
}
.wa-float.is-visible { opacity: 1; transform: scale(1); pointer-events: auto; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 25px; height: 25px; }

/* ---------- 20. Galería de artista ---------- */
.gallery { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(.35) brightness(.85);
  transition: filter .7s var(--ease), transform .9s var(--ease);
}
.gallery figure:hover img { filter: none; transform: scale(1.04); }
.gallery figure.is-wide { grid-column: span 2; }
.gallery figure.is-wide img { aspect-ratio: 16 / 10; }
@media (max-width: 620px) {
  .gallery figure.is-wide { grid-column: span 1; }
  .gallery figure.is-wide img { aspect-ratio: 3 / 4; }
}

.artist-hero {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: end;
}
@media (min-width: 900px) { .artist-hero { grid-template-columns: 1.1fr 1fr; } }
.artist-hero-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.artist-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) brightness(.85); }

.meta-list { list-style: none; padding: 0; display: grid; gap: 0; margin-top: 2rem; border-top: 1px solid var(--line); }
.meta-list li {
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem;
  justify-content: space-between;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
}
.meta-list dt, .meta-list .k {
  font-family: var(--font-serif);
  font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--grey);
}
.meta-list .v { color: var(--paper); }

/* ---------- 21. Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--delay, 0s);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 22. Utilidades ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: clamp(2rem, 5vw, 3.5rem); }
.mb-2 { margin-bottom: 2rem; }
.flex-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.stack > * + * { margin-top: 1.1rem; }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } }

/* ---------- 23. Impresión ---------- */
@media print {
  .header, .wa-float, .hero-scroll, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   24. BUSCADOR DE ARTISTAS
   ========================================================================== */

/* ---------- barra de búsqueda ---------- */
.search-shell {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(8,8,10,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: clamp(1rem, 2.5vw, 1.5rem) 0;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.search-field { position: relative; display: flex; align-items: center; }

.search-field input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-input);
  border-radius: var(--radius);
  padding: 1.05rem 3.2rem 1.05rem 3.1rem;
  color: var(--paper);
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 300;
  transition: border-color .35s var(--ease), background .35s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.search-field input::placeholder { color: var(--grey); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field input:hover { border-color: var(--grey); }
.search-field input:focus {
  outline: none;
  border-color: var(--paper);
  background: rgba(255,255,255,.07);
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  width: 17px; height: 17px;
  color: var(--grey-2);
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: .75rem;
  width: 34px; height: 34px;
  display: none;
  place-items: center;
  background: none;
  border: 0;
  border-radius: 50%;
  color: var(--grey-2);
  cursor: pointer;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.search-clear svg { width: 13px; height: 13px; }
.search-clear:hover { color: var(--paper); background: rgba(255,255,255,.08); }
#buscador.has-query .search-clear { display: grid; }

.search-hint {
  margin-top: .8rem;
  font-size: var(--fs-small);
  color: var(--grey);
  letter-spacing: .03em;
}

/* ---------- categorías ---------- */
.cat { margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }

.cat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding-bottom: .9rem;
  margin-bottom: .4rem;
  border-bottom: 1px solid var(--line-2);
}
.cat-head h3 {
  font-size: clamp(.92rem, 2vw, 1.08rem);
  letter-spacing: .18em;
  margin: 0;
}
.cat-meta {
  font-family: var(--font-serif);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- filas de artista ---------- */
.artist-list { list-style: none; padding: 0; margin: 0; }

.artist-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease);
}
.artist-row:hover { background: rgba(255,255,255,.025); }

.artist-row-name {
  font-size: clamp(.98rem, 2vw, 1.06rem);
  color: var(--paper);
  font-weight: 300;
  letter-spacing: .01em;
  flex: 1 1 12rem;
}
.artist-row-name mark {
  background: rgba(255,255,255,.18);
  color: var(--paper);
  border-radius: 2px;
  padding: 0 .12em;
}

.artist-row-actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--silver);
  transition: color .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { color: var(--ink); background: var(--paper); border-color: var(--paper); }

/* ---------- artista personalizado ---------- */
.custom-artist { margin-top: 1.1rem; }

.custom-toggle {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: none;
  border: 0;
  padding: .5rem 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey-2);
  transition: color .3s var(--ease);
}
.custom-toggle:hover { color: var(--paper); }
.custom-toggle-plus {
  position: relative;
  width: 22px; height: 22px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  flex: none;
}
.custom-toggle-plus::before,
.custom-toggle-plus::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.custom-toggle-plus::before { width: 9px; height: 1px; transform: translate(-50%, -50%); }
.custom-toggle-plus::after  { width: 1px; height: 9px; transform: translate(-50%, -50%); }
.custom-toggle[aria-expanded="true"] .custom-toggle-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.custom-panel {
  margin-top: .9rem;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
}
.custom-panel[hidden] { display: none; }
.custom-panel .tiny { margin-bottom: .8rem; }

.custom-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.custom-input {
  flex: 1 1 14rem;
  min-width: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-input);
  border-radius: var(--radius);
  padding: .88rem 1rem;
  color: var(--paper);
  font-size: .96rem;
  font-weight: 300;
  transition: border-color .35s var(--ease);
}
.custom-input::placeholder { color: var(--grey); }
.custom-input:hover { border-color: var(--grey); }
.custom-input:focus { outline: none; border-color: var(--paper); background: rgba(255,255,255,.07); }
.custom-row .btn { flex: none; }
.custom-error { margin-top: .6rem; }

/* ---------- sin resultados ---------- */
.empty-state {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--glass);
  text-align: left;
}
.empty-state h3 {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  letter-spacing: .1em;
  margin: .3rem 0 .9rem;
  text-transform: none;
  word-break: break-word;
}
.empty-state .custom-artist { margin-top: 1.5rem; }

/* ---------- buscador compacto del home ---------- */
.home-search {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  max-width: 640px;
  margin-inline: auto;
}
.home-search .search-field { flex: 1 1 16rem; }
.home-search .search-field input { padding: 1rem 1.1rem 1rem 3.1rem; }
.home-search .btn { flex: none; }

@media (max-width: 520px) {
  .artist-row-actions { width: 100%; justify-content: flex-start; }
  .home-search .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   25. MINIATURAS DEL CATÁLOGO Y AFINADO DE ANIMACIONES
   ========================================================================== */

/* ---------- miniatura por artista ---------- */
.artist-thumb {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: border-color .45s var(--ease), transform .45s var(--ease);
}
.artist-thumb picture { display: block; width: 100%; height: 100%; }
.artist-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.82);
  transform: scale(1.01);
  transition: filter .6s var(--ease), transform .7s var(--ease);
}
.artist-thumb.is-empty {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--grey);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
}

.artist-row:hover .artist-thumb,
.artist-row:focus-within .artist-thumb { border-color: var(--line-2); }
.artist-row:hover .artist-thumb img,
.artist-row:focus-within .artist-thumb img {
  filter: grayscale(0) contrast(1) brightness(1);
  transform: scale(1.07);
}

/* la fila ahora aloja la miniatura */
.artist-row { gap: .8rem 1.1rem; padding: .8rem 0; }
.artist-row-name { padding-left: .1rem; }

@media (max-width: 520px) {
  .artist-thumb { width: 54px; height: 54px; }
  .artist-row-name { flex: 1 1 8rem; }
}

/* ---------- entrada escalonada de los resultados ---------- */
@keyframes rowIn {
  from { opacity: 0; transform: translateY(9px); }
  to   { opacity: 1; transform: none; }
}
@keyframes catIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes markIn {
  from { background-size: 0% 100%; }
  to   { background-size: 100% 100%; }
}

#resultados .cat {
  animation: catIn .5s var(--ease) both;
}
#resultados .artist-row {
  animation: rowIn .42s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 32ms);
}
#resultados .empty-state { animation: catIn .5s var(--ease) both; }

/* el resaltado se “pinta” en vez de aparecer de golpe */
.artist-row-name mark {
  background-image: linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.2));
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  animation: markIn .38s var(--ease) both;
}

/* ---------- microinteracciones ---------- */
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn:active { transform: translateY(0); }

.search-clear { animation: rowIn .3s var(--ease) both; }

.custom-panel:not([hidden]) { animation: rowIn .38s var(--ease) both; }

.artist-row .btn { transition: transform .3s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.artist-row:hover .btn { transform: translateY(-1px); }

/* ---------- reveal general un poco más suave ---------- */
[data-reveal] {
  transform: translateY(26px);
  transition-duration: .78s;
  transition-timing-function: cubic-bezier(.16,.72,.3,1);
}

/* tarjetas de artista: la imagen respira al entrar el cursor */
.artist-card { transition: border-color .5s var(--ease), transform .55s var(--ease), box-shadow .55s var(--ease); }
.artist-card:hover { box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.artist-card-body { transition: transform .55s var(--ease); }
.artist-card:hover .artist-card-body { transform: translateY(-3px); }

/* galería: acercamiento más lento y elegante */
.gallery figure { transition: border-color .5s var(--ease); }
.gallery figure:hover { border-color: var(--line-2); }
.gallery img { transition: filter .8s var(--ease), transform 1.1s cubic-bezier(.16,.72,.3,1); }

/* nada de esto se mueve si el usuario pidió menos animación */
@media (prefers-reduced-motion: reduce) {
  #resultados .cat,
  #resultados .artist-row,
  #resultados .empty-state,
  .search-clear,
  .custom-panel:not([hidden]),
  .artist-row-name mark { animation: none !important; }
}

/* ==========================================================================
   26. HOVER DE IMÁGENES — se iluminan Y crecen
   Un solo lugar controla cuánto crece cada tipo de imagen.
   ========================================================================== */
:root {
  --zoom-card:  1.10;   /* tarjetas de artista */
  --zoom-gal:   1.09;   /* galería de trabajos */
  --zoom-thumb: 1.14;   /* miniaturas del buscador */
  --zoom-split: 1.08;   /* imágenes de secciones */
}

/* tarjetas de artista (home y portafolio) */
.artist-card:hover img,
.artist-card:focus-visible img { transform: scale(var(--zoom-card)); }

/* galería de momentos en vivo */
.gallery figure:hover img,
.gallery figure:focus-within img {
  filter: none;
  transform: scale(var(--zoom-gal));
}

/* miniaturas del catálogo */
.artist-row:hover .artist-thumb img,
.artist-row:focus-within .artist-thumb img { transform: scale(var(--zoom-thumb)); }
.artist-row:hover .artist-thumb,
.artist-row:focus-within .artist-thumb { transform: scale(1.03); }

/* imágenes de las secciones partidas (Nosotros) */
.split-media:hover img { transform: scale(var(--zoom-split)); }

/* foto principal de la ficha de artista: antes no reaccionaba */
.artist-hero-media { overflow: hidden; }
.artist-hero-media img {
  transition: filter .7s var(--ease), transform 1s cubic-bezier(.16,.72,.3,1);
}
.artist-hero-media:hover img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.06);
}

/* el fondo del hero también respira un poco al pasar el cursor */
.hero-bg img { transition: filter 1.2s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .artist-card:hover img,
  .gallery figure:hover img,
  .artist-row:hover .artist-thumb img,
  .artist-row:hover .artist-thumb,
  .split-media:hover img,
  .artist-hero-media:hover img { transform: none !important; }
}

/* ==========================================================================
   27. HERO — corrección de layout y ritmo visual
   El indicador "Desliza" se encimaba con los botones en pantallas bajas.
   ========================================================================== */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: clamp(5.5rem, 12vh, 8rem);   /* reserva el carril del indicador */
}
.hero-content { flex: none; width: 100%; }

.hero-scroll {
  bottom: clamp(1.4rem, 4vh, 2.4rem);
  pointer-events: none;
  opacity: .85;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
/* si la pantalla es baja o el contenido aprieta, el indicador desaparece */
@media (max-height: 720px), (max-width: 420px) {
  .hero { padding-bottom: clamp(3rem, 8vh, 5rem); }
  .hero-scroll { display: none; }
}
/* al empezar a bajar, se desvanece */
.is-scrolled .hero-scroll { opacity: 0; transform: translate(-50%, 12px); }

/* jerarquía del hero: el tagline manda, el resto acompaña */
.hero-title { text-wrap: balance; }
.hero-sub { max-width: 46ch; }
.hero-cta { gap: clamp(.7rem, 2vw, 1rem); }

/* ==========================================================================
   28. BARRA DE PROGRESO DE LECTURA
   ========================================================================== */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 110;
  background: transparent;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(255,255,255,.35), var(--paper));
  transform-origin: left;
  transition: width .12s linear;
}

/* ==========================================================================
   29. HEADER QUE SE OCULTA AL BAJAR
   ========================================================================== */
.header {
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.header.is-hidden { transform: translateY(-100%); }
.nav.is-open ~ * .header,
.header:focus-within { transform: none !important; }

/* ==========================================================================
   30. REVEAL POR VARIANTES + RITMO DE SECCIÓN
   ========================================================================== */
[data-reveal] { transform: translateY(26px); }
[data-reveal="fade"]  { transform: none; }
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(.965); }
[data-reveal].is-revealed { transform: none; }

/* las líneas divisorias se dibujan en vez de aparecer */
[data-line] {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(.16,.72,.3,1) var(--delay, 0s);
}
[data-line].is-revealed { transform: scaleX(1); }

/* cifras grandes: entran con más peso */
.stat-num {
  font-variant-numeric: tabular-nums;
  transition: opacity .6s var(--ease);
}
.stat { transition: background .5s var(--ease); }
.stat:hover { background: rgba(255,255,255,.03); }

/* ==========================================================================
   31. MICROINTERACCIONES
   ========================================================================== */
/* el botón primario emite un destello al pasar el cursor */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.btn-primary:hover::after { animation: sheen .75s var(--ease); }
@keyframes sheen {
  0%   { left: -60%; opacity: 0; }
  15%  { opacity: 1; }
  100% { left: 120%; opacity: 0; }
}

/* enlaces del nav: el subrayado nace del centro */
.nav a::after { left: 50%; transform: translateX(-50%); }

/* filas de servicio: el número se ilumina y el texto avanza */
.service-row { transition: background .45s var(--ease), padding-left .45s var(--ease); }
.service-row:hover { padding-left: .6rem; }
.service-num { transition: color .45s var(--ease); }
.service-row:hover .service-num { color: var(--paper); }

/* tarjetas de confianza: el número crece un punto */
.trust-item::before { transition: color .45s var(--ease), letter-spacing .45s var(--ease); }
.trust-item:hover::before { color: var(--silver); letter-spacing: .38em; }

/* acordeón: la pregunta se recorre un poco al abrir */
.acc-trigger { transition: color .35s var(--ease), padding-left .35s var(--ease); }
.acc-trigger:hover,
.acc-trigger[aria-expanded="true"] { padding-left: .4rem; }

/* campos del formulario: el borde se enciende desde el foco */
.field input, .field select, .field textarea {
  transition: border-color .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255,.07);
}

/* botón flotante: pulso muy leve para que se note sin molestar */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 12px 40px rgba(0,0,0,.6), 0 0 0 0 rgba(255,255,255,.18); }
  50%      { box-shadow: 0 12px 40px rgba(0,0,0,.6), 0 0 0 10px rgba(255,255,255,0); }
}
.wa-float.is-visible { animation: waPulse 3.4s ease-out 1.2s infinite; }
.wa-float:hover { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover::after,
  .wa-float.is-visible { animation: none !important; }
  [data-line] { transform: none !important; }
  .header.is-hidden { transform: none !important; }
}

/* ==========================================================================
   32. CAPA DE MOVIMIENTO
   La activa motion.js. Sin JS todo se ve normal, solo sin animación.
   ========================================================================== */

/* ---------- entrada y salida de página ---------- */
.has-motion body { opacity: 0; }
body.is-ready   { opacity: 1; transition: opacity .5s var(--ease); }
body.is-leaving { opacity: 0; transition: opacity .26s ease-in; }

/* ---------- titulares palabra por palabra ---------- */
.w   { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.w-i {
  display: inline-block;
  transform: translateY(115%);
  transition: transform .95s cubic-bezier(.16,.84,.3,1) var(--wd, 0s);
  will-change: transform;
}
.split-ready.is-revealed .w-i { transform: none; }

/* ---------- cortinilla de imagen ---------- */
.reveal-mask { position: relative; overflow: hidden; }
.reveal-mask::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--ink);
  transform-origin: bottom;
  transform: scaleY(1);
  transition: transform 1.05s cubic-bezier(.72,0,.2,1) var(--md, 0s);
  pointer-events: none;
}
.reveal-mask.is-revealed::after { transform: scaleY(0); }

/* la imagen arranca un poco más grande y se asienta */
.reveal-mask img { transform: scale(1.09); }
.reveal-mask.is-revealed img { transform: scale(1.01); }
.artist-card.reveal-mask.is-revealed:hover img { transform: scale(var(--zoom-card)); }
.gallery figure.reveal-mask.is-revealed:hover img { transform: scale(var(--zoom-gal)); }
.split-media.reveal-mask.is-revealed:hover img { transform: scale(var(--zoom-split)); }
.artist-hero-media.reveal-mask.is-revealed:hover img { transform: scale(1.06); }

/* ---------- foco que sigue al cursor ---------- */
.has-spot { position: relative; isolation: isolate; }
.has-spot::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
              rgba(255,255,255,.09), transparent 62%);
  transition: opacity .45s var(--ease);
}
.has-spot:hover::before { opacity: 1; }
.artist-card.has-spot::before { z-index: 2; mix-blend-mode: screen; }

/* ---------- botones magnéticos ---------- */
.btn-lg, .wa-float {
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0);
  transition: transform .45s cubic-bezier(.22,.61,.36,1),
              color .4s var(--ease), border-color .4s var(--ease);
}
.btn-lg:active { transform: translate3d(var(--tx, 0), var(--ty, 0), 0) scale(.985); }
.wa-float:hover { transform: translate3d(var(--tx, 0), var(--ty, 0), 0) scale(1.08); }

/* ---------- hero: lo mueve el scroll desde JS ---------- */
.hero-content { will-change: opacity, transform; }

/* ==========================================================================
   33. MARQUESINA DEL ROSTER
   ========================================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 2.4vw, 1.6rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.mq-track { display: flex; width: max-content; animation: mqScroll 78s linear infinite; }
.mq-run   { display: flex; align-items: center; flex: none; }

.mq-item {
  font-family: var(--font-serif);
  font-size: clamp(.78rem, 1.6vw, .95rem);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey-2);
  white-space: nowrap;
  padding: 0 .1rem;
  transition: color .35s var(--ease);
}
.mq-sep { color: var(--grey); opacity: .5; padding: 0 clamp(1rem, 2.4vw, 1.9rem); font-size: .6rem; }

.marquee:hover .mq-track { animation-play-state: paused; }
.marquee:hover .mq-item  { color: var(--silver); }

@keyframes mqScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   34. AJUSTES FINOS DE INTERFAZ
   ========================================================================== */

/* la línea del eyebrow se estira al entrar en pantalla */
.section-head.is-revealed .eyebrow::before,
.section-head.is-revealed .eyebrow::after { animation: lineGrow .9s var(--ease) both; }
@keyframes lineGrow { from { width: 0; } }

/* el separador del pie se dibuja */
.footer-top { position: relative; }

/* el logo del hero respira al cargar */
.hero-logo { animation: logoIn 1.35s cubic-bezier(.16,.84,.3,1) both .1s; }
@keyframes logoIn {
  from { opacity: 0; transform: translateY(18px) scale(.94); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* el campo de búsqueda se enciende al enfocarse */
.search-field input:focus { box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.search-field:focus-within .search-icon { color: var(--paper); }
.search-icon { transition: color .35s var(--ease); }

/* las etiquetas de género rebotan un punto */
.tag { transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.tag:hover { color: var(--paper); border-color: var(--line-2); transform: translateY(-2px); }

/* los enlaces del pie se recorren */
.footer-col a { display: inline-block; transition: color .3s var(--ease), transform .3s var(--ease); }
.footer-col a:hover { transform: translateX(3px); }

/* los iconos sociales giran un poco */
.social a { transition: color .35s var(--ease), background .35s var(--ease),
                        border-color .35s var(--ease), transform .4s var(--ease); }
.social a:hover { transform: translateY(-3px) rotate(-6deg); }

/* ---------- si el visitante pidió menos movimiento, todo queda quieto ---------- */
@media (prefers-reduced-motion: reduce) {
  .has-motion body, body.is-ready, body.is-leaving { opacity: 1 !important; transition: none !important; }
  .w-i { transform: none !important; }
  .reveal-mask::after { display: none !important; }
  .reveal-mask img { transform: none !important; }
  .has-spot::before { display: none !important; }
  .btn-lg, .wa-float { transform: none !important; }
  .mq-track { animation: none !important; }
  .hero-logo { animation: none !important; }
  .section-head.is-revealed .eyebrow::before,
  .section-head.is-revealed .eyebrow::after { animation: none !important; }
  .social a:hover, .footer-col a:hover, .tag:hover { transform: none !important; }
}

/* ==========================================================================
   35. MINIATURAS DEL ROSTER — 15% más grandes
   ========================================================================== */
.artist-thumb { width: 74px; height: 74px; }
@media (max-width: 520px) { .artist-thumb { width: 62px; height: 62px; } }
.artist-thumb.is-empty { font-size: 1.3rem; }

/* ==========================================================================
   36. MOVIMIENTO EN TÁCTILES
   En celular no hay cursor, así que el papel del hover lo toma el scroll:
   la fila que va pasando por el centro de la pantalla se enciende sola.
   ========================================================================== */
@media (hover: none) {

  /* --- la fila activa se ilumina como si tuviera el cursor encima --- */
  .artist-row.in-view { background: rgba(255,255,255,.035); }
  .artist-row.in-view .artist-thumb {
    border-color: var(--line-2);
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
  }
  .artist-row.in-view .artist-thumb img {
    filter: grayscale(0) contrast(1) brightness(1);
    transform: scale(1.08);
  }
  .artist-row.in-view .artist-row-name { color: var(--paper); }

  /* --- tarjetas y galería: color al pasar por el centro --- */
  .artist-card.in-view img,
  .gallery figure.in-view img,
  .split-media.in-view img {
    filter: grayscale(0) contrast(1.02) brightness(.92);
    transform: scale(1.04);
  }
  .artist-card.in-view { border-color: var(--line-2); }

  /* --- respuesta inmediata al tocar --- */
  .btn:active,
  .artist-card:active,
  .contact-card:active,
  .icon-btn:active,
  .artist-thumb:active { transform: scale(.97); }
  .artist-row:active { background: rgba(255,255,255,.06); }

  .btn, .artist-card, .contact-card, .icon-btn, .artist-row {
    -webkit-tap-highlight-color: transparent;
    transition: transform .18s var(--ease), background .25s var(--ease),
                border-color .3s var(--ease), color .3s var(--ease);
  }

  /* --- destello al tocar un botón principal --- */
  .btn-primary:active::after { animation: sheen .6s var(--ease); }
}

/* ==========================================================================
   37. ENCABEZADOS DE CATEGORÍA PEGAJOSOS EN EL BUSCADOR
   Con 66 artistas, saber en qué género vas es útil y se ve bien.
   ========================================================================== */
.cat-head {
  position: sticky;
  top: calc(var(--header-h) + 84px);
  z-index: 20;
  background: rgba(8,8,10,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: .7rem;
  margin-inline: calc(var(--pad-x) * -0.35);
  padding-inline: calc(var(--pad-x) * 0.35);
  transition: border-color .4s var(--ease);
}
.cat-head.is-stuck { border-bottom-color: var(--paper); }

@media (max-width: 700px) {
  .cat-head { top: calc(var(--header-h) + 76px); }
}

/* ==========================================================================
   38. PARALAJE SUAVE DENTRO DE LOS MARCOS
   La imagen se desplaza un poco dentro de su recuadro al hacer scroll.
   Funciona igual con dedo que con rueda.
   ========================================================================== */
.par-frame { overflow: hidden; }
.par-frame img { transform: translate3d(0, var(--py, 0), 0) scale(1.12); }
.par-frame.is-revealed img { transform: translate3d(0, var(--py, 0), 0) scale(1.12); }
.par-frame:hover img { transform: translate3d(0, var(--py, 0), 0) scale(1.16); }

/* ==========================================================================
   39. LA MARQUESINA REACCIONA AL SCROLL
   ========================================================================== */
.mq-track { will-change: transform; }
.marquee.is-rushing .mq-track { animation-duration: 26s; }
.marquee .mq-track { transition: none; }
.marquee.is-rushing .mq-item { color: var(--silver); }
.mq-item { transition: color .5s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .artist-row.in-view .artist-thumb,
  .artist-card.in-view img,
  .gallery figure.in-view img,
  .split-media.in-view img,
  .par-frame img { transform: none !important; }
  .cat-head { position: static; }
  .marquee.is-rushing .mq-track { animation: none !important; }
}
