/* Rachi Tattoo Studio · Gótico dorado.
   Negro y oro como la insignia RT, rotulación gótica de tatuaje para los titulares,
   condensada para etiquetas y banderines, arcos dorados como marco de las fotos. */
:root {
  --bg: #0d0d0d;
  --surface: #171717;
  --surface-2: #202020;
  --text: #f2efe8;          /* 16.9:1 */
  --muted: #b5b0a6;         /* 9:1 */
  --line: #2c2c2c;          /* divisores decorativos */
  --line-strong: #77736b;   /* bordes de controles: ≥3.8:1 */
  --gold: #e9c14a;          /* el oro del logo: 11:1 sobre negro */
  --gold-deep: #9a6f12;     /* sombra de los banderines */
  --on-gold: #0d0d0d;
  --on-gold-muted: #3a3527; /* 7:1 sobre oro */
  --wa: #25d366;
  --error: #ff8a80;
  --header-h: 72px;
  --max: 1240px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --goth: "Montserrat", "Arial Black", sans-serif;   /* titulares: grotesca gruesa en mayúsculas */
  --cond: "Montserrat", "Arial", sans-serif;          /* etiquetas y banderines */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html.lang-en [data-lang="es"],
html.lang-es [data-lang="en"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
  scroll-padding-top: calc(var(--header-h) + 16px); scroll-padding-bottom: 96px;
  scrollbar-color: #4a4a4a var(--bg); color-scheme: dark;
}
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--on-gold); }
input, textarea { caret-color: var(--gold); }
button, .btn, summary, .lang-toggle button { touch-action: manipulation; -webkit-user-select: none; user-select: none; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: .6rem 1rem; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
h1, h2, h3 { font-weight: 400; line-height: 1; margin: 0 0 1rem; text-wrap: balance; }
h2 { font-family: var(--goth); font-size: clamp(3rem, 7vw, 6rem); color: var(--gold); line-height: .9; }
h3 { font-family: var(--goth); font-size: 2rem; }
p, li, dd { text-wrap: pretty; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }
.muted { color: var(--muted); }
.script, .mark { font-family: var(--goth); color: var(--gold); text-transform: none; letter-spacing: 0; font-weight: 400; }
.cond { font-family: var(--cond); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; color: var(--text); }

/* Etiqueta de sección: condensada con estrella dorada y filete */
.rule-title {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--cond); font-weight: 400; font-size: clamp(1rem, 1.5vw, 1.15rem); letter-spacing: .14em; text-transform: uppercase; color: var(--text);
  margin: 0 0 clamp(2rem, 4vw, 3rem); line-height: 1.2;
}
.rule-title::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.rule-title::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }

/* Banderín (como los de los tatuajes tradicionales) */
.ribbon {
  position: relative; display: inline-block; margin: 0; padding: .55em 1.6em; background: var(--gold); color: var(--on-gold);
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; font-size: clamp(.95rem, 1.5vw, 1.2rem); line-height: 1.2;
}
.ribbon::before, .ribbon::after { content: ""; position: absolute; top: .45em; bottom: -.45em; width: 1.6em; background: var(--gold-deep); z-index: -1; }
.ribbon::before { left: -1.1em; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); }
.ribbon::after { right: -1.1em; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }
.ribbon-wrap { position: relative; z-index: 0; display: inline-block; margin-inline: 1.1em; }
@media (max-width: 480px) { .ribbon { font-size: .78rem; letter-spacing: .08em; padding-inline: 1.1em; white-space: nowrap; } }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.5rem; border-radius: 999px;
  font: 700 .92rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary, .btn-dark { background: var(--gold); color: var(--on-gold); }
.btn-ghost { border-color: var(--text); color: var(--text); background: transparent; }
.btn-wa { background: var(--wa); color: #06210f; }
.btn svg { width: 18px; height: 18px; flex: none; }
/* Hover solo con ratón: js/common.js pone .has-hover en <html> al detectar un ratón de verdad.
   No se usa @media (hover: hover) porque algunos portátiles táctiles con Windows dicen que no hay ratón. */
.has-hover .btn-primary:hover, .has-hover .btn-dark:hover { background: #f4d26a; }
.has-hover .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.has-hover .btn-wa:hover { background: #3ae07a; }
.has-hover .nav a:not(.btn):hover { color: var(--gold); }
.has-hover .footer a:hover { color: var(--gold); }
.has-hover .bw:hover img, .has-hover a:hover > .bw img, .has-hover a.bw:hover img { filter: grayscale(0); transform: scale(1.03); }

/* Cabecera */
.header { position: sticky; top: 0; z-index: 50; background: rgba(13, 13, 13, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; min-height: 44px; }
.brand img.mark { width: 50px; height: auto; }
.brand span { font-family: var(--goth); font-size: 1.9rem; line-height: 1; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { text-decoration: none; color: var(--muted); font-family: var(--cond); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; transition: color 160ms var(--ease-out); }
.nav .nav-cta { color: var(--on-gold); min-height: 44px; padding: .55rem 1.3rem; font-family: var(--sans); text-transform: none; letter-spacing: .01em; font-size: .9rem; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.lang-toggle button { background: none; border: 0; color: var(--text); font: 700 .78rem var(--sans); padding: .45rem .8rem; cursor: pointer; min-width: 44px; min-height: 44px; }
.lang-toggle button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 999px; width: 44px; height: 44px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav { position: absolute; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 16px 1.2rem; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.3rem; color: var(--text); }
  .nav .lang-toggle { align-self: flex-start; margin-top: 1rem; }
  .nav .nav-cta { display: none; }
}

/* Marcadores de posición mientras no hay fotos reales */
.ph { width: 100%; height: 100%; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 10px), linear-gradient(160deg, #2a2a2a, #1a1a1a); }
.ph span { font-family: var(--goth); font-size: clamp(3rem, 6vw, 4.5rem); color: #5e5a52; }

/* Fotografía en blanco y negro que revela el color al pasar */
.bw { overflow: hidden; background: var(--surface); }
.bw img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 700ms var(--ease-out), transform 700ms var(--ease-out); }

/* Arco dorado: el marco de las fotos (firma de la página) */
.arch { position: relative; border: 2px solid var(--gold); border-radius: 999px 999px 0 0; padding: 12px; }
.arch > .bw, .arch > .photo-in { height: 100%; border-radius: 999px 999px 0 0; overflow: hidden; }
.seal {
  position: absolute; width: 150px; height: 150px; border-radius: 50%; background: var(--gold); color: var(--on-gold);
  display: grid; place-items: center; text-align: center; transform: rotate(-12deg);
  border: 4px solid var(--bg); outline: 2px solid var(--gold); font: 400 1.5rem/1 var(--goth); z-index: 2;
}
.seal b { display: block; font: 400 2.6rem/1 var(--goth); }
.seal small { display: block; font: 400 .78rem/1.1 var(--cond); letter-spacing: .1em; text-transform: uppercase; margin-top: .2rem; }
.sparkles { position: absolute; width: 120px; height: 120px; color: var(--gold); pointer-events: none; }

/* ===== Portada ===== */
.masthead { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); background: radial-gradient(circle at 75% 25%, rgba(233, 193, 74, .18), transparent 46%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.mast { margin: 0; }
.mast-word { display: block; font-family: var(--goth); color: var(--gold); font-size: clamp(6rem, 17vw, 15rem); line-height: .78; letter-spacing: -0.01em; }
.mast-sub { display: block; font-family: var(--cond); text-transform: uppercase; color: var(--text); font-size: clamp(2.2rem, 5vw, 4.2rem); letter-spacing: .06em; line-height: 1; margin-top: .25em; }
.hero-copy .ribbon-wrap { margin-top: clamp(22px, 3vw, 34px); margin-bottom: clamp(22px, 3vw, 30px); }
.hero-copy .lead { color: var(--text); font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin: 0 0 1rem; }
.facts { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin: 0 0 1.6rem; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.facts li { display: inline-flex; align-items: center; gap: .5rem; }
.facts svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.badges li { border: 1px solid var(--line-strong); border-radius: 999px; padding: .35rem .9rem; font-size: .84rem; min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); }
.badges li:has(a) { padding-block: 0; }
.badges a, .visit dd a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; text-decoration: none; }
.star { width: 14px; height: 14px; color: var(--gold); flex: none; }
.stars { display: flex; gap: 3px; }
.hero-arch { height: clamp(420px, 52vw, 680px); transition: translate 700ms var(--ease-out); }
.seal { text-decoration: none; }
.hero-arch .seal { left: -36px; bottom: -28px; }
.hero-arch .sparkles { right: -30px; top: -20px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-arch { height: 440px; margin: 0 20px 0 28px; }
  .hero-arch .seal { width: 120px; height: 120px; left: -24px; }
  .hero-arch .seal b { font-size: 2rem; }
}

/* Entrada de la portada: una sola vez */
@keyframes rise { from { opacity: 0; transform: translateY(.25em); } }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }
.mast .mast-word, .mast .mast-sub { animation: rise 900ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms); }
.masthead [data-enter] { animation: enter 800ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }

/* Cinta dorada en movimiento */
.marquee { background: var(--gold); color: var(--on-gold); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); }
.marquee-group > span { font-family: var(--cond); text-transform: uppercase; letter-spacing: .05em; font-size: clamp(1.4rem, 3.2vw, 2.6rem); line-height: 1; padding: .55em 0; white-space: nowrap; }
.marquee-group > span.script { font-family: var(--goth); text-transform: none; letter-spacing: 0; color: var(--on-gold); font-size: clamp(1.8rem, 4vw, 3.3rem); }
.marquee img { width: clamp(38px, 5vw, 60px); height: auto; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.has-hover .marquee:hover .marquee-track { animation-play-state: paused; }

/* Frase: palabras que se encienden al hacer scroll */
.statement { padding: clamp(88px, 12vw, 150px) 0 clamp(48px, 7vw, 88px); }
.big-quote { font-family: var(--cond); text-transform: uppercase; font-size: clamp(2.4rem, 6.4vw, 6rem); line-height: .98; margin: 0; letter-spacing: .005em; color: var(--text); }
.big-quote .mark { font-size: 1.15em; line-height: .8; text-transform: none; }
.js-motion .big-quote .w { color: #474440; transition: color 300ms var(--ease-out); }
.js-motion .big-quote .w.on { color: var(--text); }
.js-motion .big-quote .mark .w.on { color: var(--gold); }
.statement-photo { margin-top: clamp(40px, 6vw, 64px); aspect-ratio: 21 / 9; border: 2px solid var(--gold); }
@media (max-width: 640px) { .statement-photo { aspect-ratio: 4 / 3; } }

/* Títulos que suben al entrar en pantalla */
.js-motion .reveal { clip-path: inset(0 0 100% 0); transform: translateY(.3em); transition: clip-path 900ms var(--ease-out), transform 900ms var(--ease-out); }
.js-motion .reveal.in { clip-path: inset(-0.3em -0.3em -0.4em -0.3em); transform: none; }

/* ===== Artistas: arco dorado + nombre gótico enorme ===== */
.spread { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.spread:first-of-type { border-top: 0; padding-top: 0; }
.spread .photo { grid-column: 1 / span 5; height: clamp(420px, 46vw, 600px); display: block; text-decoration: none; }
.spread .text { grid-column: 7 / span 6; display: grid; gap: 1rem; }
.spread:nth-of-type(even) .photo { grid-column: 8 / span 5; grid-row: 1; }
.spread:nth-of-type(even) .text { grid-column: 1 / span 6; grid-row: 1; }
.spread h3 { font-family: var(--goth); color: var(--gold); font-size: clamp(3.6rem, 8vw, 7rem); line-height: .85; margin: 0; }
.spread h3 a { text-decoration: none; }
.spread .styles { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.spread .styles li { font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; border: 1px solid var(--line-strong); padding: .35rem .7rem; color: var(--text); }
.spread .bio { color: var(--muted); max-width: 46ch; margin: 0; font-size: 1.05rem; }
.spread .actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.tag-walkin { justify-self: start; font: 400 .85rem/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: var(--on-gold); padding: .5rem .8rem; }
@media (max-width: 760px) {
  .spread .photo, .spread:nth-of-type(even) .photo { grid-column: 1 / -1; grid-row: auto; height: 420px; margin-inline: 8px; }
  .spread .text, .spread:nth-of-type(even) .text { grid-column: 1 / -1; grid-row: auto; }
}

/* ===== Servicios: bloque dorado con lista gótica ===== */
.services-block { background: var(--gold); color: var(--on-gold); }
.services-block .rule-title { color: var(--on-gold); }
.services-block .rule-title::before { background: var(--on-gold); }
.services-block .rule-title::after { background: var(--on-gold); opacity: .5; }
.services { list-style: none; margin: 0; padding: 0; }
.services li { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem 2rem; align-items: baseline; padding: clamp(18px, 3vw, 32px) 0; border-top: 2px solid var(--on-gold); }
.services li:last-child { border-bottom: 2px solid var(--on-gold); }
.services h3 { font-family: var(--goth); font-size: clamp(3rem, 7vw, 6rem); line-height: .9; margin: 0; color: var(--on-gold); transition: transform 500ms var(--ease-out); }
.services h3 .script { color: var(--on-gold); }
.services p { color: var(--on-gold-muted); margin: 0; max-width: 40ch; font-size: 1.05rem; font-weight: 600; }
.has-hover .services li:hover h3 { transform: translateX(14px); }
@media (max-width: 760px) { .services li { grid-template-columns: 1fr; } }

/* ===== Reseñas ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 0 0 2rem; }
.review { margin: 0; padding: clamp(1.4rem, 3vw, 2rem); background: var(--surface); border-top: 3px solid var(--gold); }
.review .stars { margin-bottom: 1rem; }
.review blockquote { margin: 0 0 1.2rem; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.4; font-weight: 600; }
.review figcaption { font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; color: var(--gold); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ===== Agendar ===== */
.book { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } }
.book-title { font-family: var(--goth); color: var(--gold); font-size: clamp(3.4rem, 8vw, 6.6rem); line-height: .88; margin: 0 0 1.2rem; text-transform: none; }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; counter-increment: s; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; font: 400 1.4rem/1 var(--goth); }
.steps strong { display: block; }
.steps span { color: var(--muted); font-size: .95rem; }

.card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: clamp(1.4rem, 4vw, 2.4rem); }
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-family: var(--cond); font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.field .hint { font-family: var(--sans); font-size: .8rem; color: var(--muted); letter-spacing: 0; text-transform: none; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem; border-radius: 8px;
  background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); font: inherit; font-size: 16px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(233, 193, 74, .3); }
::placeholder { color: #9a9488; opacity: 1; }
fieldset { border: 0; padding: 0; margin: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.segmented label { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; font-family: var(--sans); font-weight: 700; font-size: .95rem; letter-spacing: 0; text-transform: none; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.segmented label small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label:has(input:checked) { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.segmented label:has(input:checked) small { color: var(--on-gold-muted); }
.segmented label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq-title { font-family: var(--goth); color: var(--gold); font-size: clamp(3rem, 6.5vw, 5.4rem); line-height: .9; margin: 0; text-transform: none; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 3rem 1.25rem 0; position: relative; font-weight: 700; font-size: 1.05rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font: 400 1.25rem/1 var(--sans); transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.faq details[open] summary::after { content: "–"; background: var(--gold); color: var(--on-gold); }
.faq .answer { padding: 0 0 1.3rem; color: var(--muted); max-width: 68ch; }
.faq .answer p { margin: 0 0 .6rem; }

/* ===== Visítanos ===== */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }
.visit-info { background: var(--surface); border-top: 3px solid var(--gold); padding: clamp(1.4rem, 4vw, 2.4rem); }
.visit-title { font-family: var(--goth); color: var(--gold); font-size: clamp(3rem, 6vw, 5rem); line-height: .9; margin: 0 0 1.5rem; text-transform: none; }
.visit dl { margin: 0 0 1.8rem; display: grid; gap: 1.1rem; }
.visit dt { font-family: var(--cond); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.visit dd { margin: .15rem 0 0; font-size: 1.05rem; }
.map { overflow: hidden; border: 2px solid var(--gold); min-height: 360px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }

/* ===== Pie ===== */
.footer { background: #070707; color: var(--muted); padding: clamp(56px, 8vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: .92rem; margin-top: clamp(80px, 10vw, 130px); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h2 { font-family: var(--cond); font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .6rem; line-height: 1.2; }
.footer a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; color: var(--text); }
.footer nav { display: flex; flex-direction: column; }
.footer .logo-line { display: flex; align-items: center; gap: .9rem; }
.footer .logo-line img { width: 64px; height: 64px; }
.footer-mark { display: block; width: min(64vw, 640px); margin: clamp(48px, 7vw, 80px) auto clamp(8px, 1.5vw, 16px); }
.footer-word { font-family: var(--goth); color: var(--gold); font-size: clamp(3rem, 10vw, 7.5rem); line-height: .9; text-align: center; margin: 0 0 1.5rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; color: #8b867d; font-size: .82rem; }

/* WhatsApp flotante y barra del celular */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.wa-float svg { width: 30px; height: 30px; fill: #06210f; }
.action-bar { display: none; }
@media (max-width: 640px) {
  .wa-float { display: none; }
  .action-bar { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(13, 13, 13, .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .action-bar .btn { padding: .7rem .4rem; font-size: .85rem; }
  body:has(.action-bar) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  html:has(.action-bar) { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ===== Página de artista ===== */
.back { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; }
.artist-hero { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .artist-hero { grid-template-columns: 1fr; } }
.avatar { width: 260px; height: 340px; border: 2px solid var(--gold); border-radius: 999px 999px 0 0; padding: 10px; }
.avatar > * { border-radius: 999px 999px 0 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-hero h1 { font-family: var(--goth); color: var(--gold); font-size: clamp(3.6rem, 9vw, 7rem); line-height: .85; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: .6rem 0 0; list-style: none; }
.tags li { font-family: var(--cond); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: .35rem .7rem; }
.tags li.walkin { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.gallery { columns: 3 260px; column-gap: 1rem; margin: 2rem 0; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; }
.gallery .ph { aspect-ratio: var(--ar, 1); }
.gallery button { all: unset; cursor: zoom-in; display: block; width: 100%; overflow: hidden; }
.gallery button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery img { width: 100%; transition: transform 500ms var(--ease-out); }
.has-hover .gallery button:hover img { transform: scale(1.02); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .94); }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.lightbox .close { position: fixed; top: 16px; right: 16px; }

/* ===== Páginas de texto (cuidados, consentimiento) ===== */
.prose { max-width: 780px; }
.page-title { font-family: var(--goth); color: var(--gold); font-size: clamp(3.2rem, 8vw, 5.6rem); line-height: .9; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.prose h2 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin-top: 2.6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose .callout { background: var(--gold); padding: 1rem 1.2rem; color: var(--on-gold); }

.checks { display: grid; gap: .7rem; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); }
.yn { display: grid; grid-template-columns: 1fr auto; gap: .6rem 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.yn .opts { display: flex; gap: 1rem; }
.yn .opts label { display: inline-flex; gap: .35rem; align-items: center; cursor: pointer; min-height: 44px; }
.yn input { accent-color: var(--gold); width: 18px; height: 18px; }
.sig-wrap { border: 1px dashed var(--line-strong); border-radius: 10px; background: #f3efe6; touch-action: none; }
.sig-wrap canvas { width: 100%; height: 180px; display: block; cursor: crosshair; }
.error { color: var(--error); font-size: .85rem; }
.error-summary { border: 2px solid var(--error); border-radius: 10px; padding: 1rem 1.2rem; }
.error-summary ul { margin: 0; padding-left: 1.1rem; }
.error-summary a { color: var(--error); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.hidden { display: none !important; }

/* =====================================================================
   Recursos de fanzine de convención: trazos a pincel, polaroids, ticket
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Marca dentro del título: la estrella ocupa una O */
.o-star { display: inline-block; width: .82em; height: .82em; vertical-align: -.02em; margin: 0 .02em; color: var(--gold); }
.o-star svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: no-preference) { .o-star svg { animation: spin 14s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Trazos a pincel dibujados a mano */
.mast-word { position: relative; display: inline-block; }
.brush-under { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .2em; color: var(--text); opacity: .9; pointer-events: none; }
.circled { position: relative; display: inline-block; }
.brush-circle { position: absolute; left: -16%; top: -18%; width: 132%; height: 140%; color: var(--gold); pointer-events: none; overflow: visible; }
.circled, .js-motion .big-quote .mark.circled .w.on { color: var(--text); }
.statement-photo-wrap { position: relative; }
@media (max-width: 640px) { .brush-x { right: -6px; top: -36px; } }
body { overflow-x: clip; }
.brush-x { position: absolute; right: -28px; top: -44px; width: clamp(90px, 11vw, 150px); height: clamp(90px, 11vw, 150px); color: var(--gold); pointer-events: none; }

/* Foto metida entre las palabras de la frase */
.inline-photo { display: inline-block; width: 1.9em; height: .82em; vertical-align: -.04em; border-radius: 999px; border: 2px solid var(--gold); overflow: hidden; }
.inline-photo .ph span { display: none; }

/* Polaroids de los artistas */
.spread .photo.polaroids { position: relative; height: clamp(440px, 46vw, 600px); }
.polaroid { position: absolute; background: #f3efe6; padding: 12px 12px 56px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); transition: transform 500ms var(--ease-out); }
.polaroid .bw { width: 100%; height: 100%; }
.polaroid.p1 { inset: 0 18% 14% 0; transform: rotate(-3deg); z-index: 2; }
.polaroid.p2 { width: 46%; height: 52%; right: 0; bottom: 0; transform: rotate(5deg); z-index: 3; padding-bottom: 30px; }
.pol-cap { position: absolute; left: 14px; right: 46px; bottom: 16px; font: 400 1.1rem/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--on-gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pol-ig { position: absolute; right: 14px; bottom: 12px; width: 24px; height: 24px; color: var(--on-gold); }
.polaroid .ph { background: repeating-linear-gradient(135deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 10px), linear-gradient(160deg, #3a3a3a, #222); }
.has-hover .spread .photo:hover .p1 { transform: rotate(-1deg) translateY(-6px); }
.has-hover .spread .photo:hover .p2 { transform: rotate(8deg) translate(10px, 4px); }
.has-hover .spread:hover .polaroid .bw img { filter: grayscale(0); }
@media (max-width: 760px) { .spread .photo.polaroids { height: 440px; margin-inline: 4px 14px; } }

/* Reserva con forma de entrada */
.card.ticket {
  position: relative; padding: 0; border: 0; background: var(--surface);
  -webkit-mask: radial-gradient(circle 16px at 0 112px, transparent 15px, #000 16px) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% 112px, transparent 15px, #000 16px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 16px at 0 112px, transparent 15px, #000 16px) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% 112px, transparent 15px, #000 16px) right / 51% 100% no-repeat;
}
.ticket-stub { height: 112px; background: var(--gold); color: var(--on-gold); display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(1.4rem, 4vw, 2.4rem); border-bottom: 2px dashed var(--bg); }
.ticket-title { font: 400 clamp(2rem, 4vw, 2.8rem)/1 var(--goth); }
.ticket-meta { font: 400 .85rem/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; margin-top: .45rem; color: var(--on-gold-muted); }
.ticket .form { padding: clamp(1.4rem, 4vw, 2.4rem); }
.ticket-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1.4rem, 4vw, 2.4rem) 1.3rem; border-top: 2px dashed var(--line-strong); font: 400 .85rem/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.barcode { width: 150px; height: 38px; background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 4px, var(--text) 4px 7px, transparent 7px 9px, var(--text) 9px 10px, transparent 10px 13px); opacity: .85; }

/* =====================================================================
   Lenguaje de convención: grotesca gruesa en mayúsculas, fotos a sangre
   en blanco y negro, marcos rectos con filo dorado
   ===================================================================== */
h2, h3, .mast-word, .mast-sub, .book-title, .faq-title, .visit-title, .page-title, .ticket-title,
.spread h3, .services h3, .footer-word, .brand span, .artist-hero h1, .big-quote, .seal b, .seal,
.marquee-group > span, .marquee-group > span.script, .mark, .steps li::before, .ph span {
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em;
}
.rule-title, .ribbon, .nav a, .field label, .field legend, .tags li, .spread .styles li, .visit dt,
.review figcaption, .ticket-meta, .ticket-foot, .back, .footer h2, .tag-walkin, .pol-cap, .seal small {
  font-weight: 800; letter-spacing: .08em;
}
.nav .nav-cta { font-weight: 700; letter-spacing: .01em; }
.brand span { font-size: 1.35rem; letter-spacing: .02em; }
h2 { color: var(--text); font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.mark { color: var(--gold); }
.mast-word { color: var(--text); font-size: clamp(4.6rem, 15vw, 13.5rem); line-height: .82; }
.mast-word .brush-under { color: var(--gold); }
.mast-sub { font-size: clamp(2.2rem, 6.2vw, 5.4rem); letter-spacing: -0.03em; line-height: .9; margin-top: .05em; white-space: nowrap; }
.brush-circle { left: -8%; top: -14%; width: 116%; height: 132%; }
.o-star { width: .78em; height: .78em; vertical-align: -.04em; }
.big-quote { font-size: clamp(2.2rem, 5.8vw, 5.4rem); line-height: .98; }
.spread h3 { font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .9; color: var(--text); }
.services h3 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
.book-title, .faq-title, .visit-title { color: var(--text); }
.book-title { font-size: clamp(2.8rem, 6.6vw, 5.6rem); }
.faq-title { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.visit-title { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.ticket-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.footer-word { color: var(--text); font-size: clamp(2.6rem, 9vw, 7rem); }
.steps li::before { font-size: 1.1rem; }
.seal b { font-size: 2.3rem; letter-spacing: -0.04em; }
.seal { font-size: 1rem; }

/* Portada: foto a sangre con velo oscuro y titular blanco gigante */
.masthead {
  background:
    linear-gradient(90deg, rgba(13, 13, 13, .96) 0%, rgba(13, 13, 13, .82) 42%, rgba(13, 13, 13, .35) 75%, rgba(13, 13, 13, .7) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    url("../assets/stand-in/artist-at-work.jpg") center 30% / cover no-repeat;
  min-height: clamp(620px, calc(100svh - var(--header-h)), 960px); display: flex; align-items: center;
}
.masthead .wrap { width: min(var(--max), 100% - 32px); }
.masthead .bw img, .statement-photo img, .inline-photo img { filter: grayscale(1) contrast(1.1); }

/* Marcos rectos con filo dorado en lugar de arcos */
.arch, .arch > .bw, .arch > .photo-in, .avatar, .avatar > * { border-radius: 0; }
.hero-arch { height: clamp(380px, 40vw, 560px); align-self: end; max-width: 440px; justify-self: end; width: 100%; }
@media (max-width: 860px) { .hero-arch { height: 420px; max-width: none; justify-self: stretch; } }

/* ===== Portada a pantalla completa: foto a sangre, titular escalonado, ticket ===== */
.hero-full { position: relative; overflow: hidden; background: var(--bg); padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 5vw, 56px); min-height: clamp(640px, calc(100svh - var(--header-h)), 980px); display: flex; align-items: stretch; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; filter: grayscale(1) contrast(1.1) brightness(.8); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 13, 13, .55) 0%, rgba(13, 13, 13, .25) 40%, rgba(13, 13, 13, .92) 100%); }
.hero-full-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: clamp(24px, 4vw, 56px); align-items: end; width: min(var(--max), 100% - 32px); }
.hero-brush { position: absolute; z-index: 0; left: -40px; top: 26%; width: clamp(140px, 18vw, 260px); height: clamp(140px, 18vw, 260px); color: var(--gold); transform: rotate(-8deg); pointer-events: none; }

.stagger { margin: 0; display: grid; }
.stagger > span { display: block; white-space: nowrap; font-family: var(--goth); font-weight: 900; text-transform: uppercase; letter-spacing: -0.045em; line-height: .84; color: var(--text); font-size: clamp(3.4rem, 9.6vw, 9.6rem); animation: rise 900ms var(--ease-out) both; }
.stagger .l1 { padding-left: 10%; }
.stagger .l2 { padding-left: 22%; animation-delay: 110ms; }
.stagger .l3 { animation-delay: 220ms; }
.stagger sup { font-size: .16em; letter-spacing: .02em; vertical-align: top; margin-left: .2em; color: var(--gold); position: relative; top: .5em; }
.stagger .dot { color: var(--gold); }
.stagger .o-star { width: .74em; height: .74em; vertical-align: -.02em; }
.hero-date { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 1.2rem 0 0 22%; font: 800 .95rem/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

.hero-ticket {
  align-self: start; margin-top: clamp(12px, 3vw, 40px); background: var(--surface); border-top: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6); animation: enter 800ms var(--ease-out) 300ms both;
  -webkit-mask: radial-gradient(circle 14px at 0 96px, transparent 13px, #000 14px) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 96px, transparent 13px, #000 14px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 14px at 0 96px, transparent 13px, #000 14px) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 96px, transparent 13px, #000 14px) right / 51% 100% no-repeat;
}
.hero-ticket .ticket-stub { height: 96px; padding: 0 1.4rem; }
.hero-ticket .ticket-title { font-size: 1.7rem; }
.hero-ticket .ticket-meta { font-size: .72rem; }
.hero-ticket-body { display: grid; gap: .9rem; padding: 1.3rem 1.4rem 1.4rem; }
.hero-field { display: grid; gap: .3rem; font: 800 .78rem/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; }
.hero-field input, .hero-field select { min-height: 46px; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: .5rem 0; color: var(--text); font: 400 1rem var(--sans); }
.hero-field select option { background: var(--surface); }
.hero-field input:focus, .hero-field select:focus { box-shadow: none; border-bottom-color: var(--gold); }
.hero-ticket .btn { width: 100%; margin-top: .3rem; }
.hero-ticket .ticket-foot { padding: .8rem 1.4rem 1rem; }
.hero-ticket .barcode { width: 120px; height: 30px; }

@media (max-width: 900px) {
  .hero-full { min-height: 0; }
  .hero-full-grid { grid-template-columns: 1fr; align-items: start; }
  .stagger .l1 { padding-left: 6%; }
  .stagger .l2 { padding-left: 18%; }
  .hero-date { margin-left: 0; }
  .stagger > span { font-size: clamp(3rem, 15vw, 6rem); }
  .hero-brush { left: auto; right: -34px; top: 6px; width: 110px; height: 110px; }
  .hero-ticket { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .marquee-track { transform: none; }
}
