/* ==========================================================================
   OBSESSION TATTOO — Valencia
   Rediseño 2026 · paleta: negro / hueso / azul del logo #2a9fd6
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink:        #0a0a0a;
  --ink-2:      #101010;
  --ink-3:      #171717;
  --line:       #262626;
  --bone:       #f2efe9;
  --bone-dim:   #9b968d;
  --accent:     #2a9fd6;   /* azul del logo */
  --accent-2:   #6fc9ec;
  --accent-deep:#0e3f63;
  --on-accent:  #06131b;   /* texto sobre relleno azul */

  --ff-display: 'Anton', 'Arial Narrow', 'Haettenschweiler', Impact, sans-serif;
  --ff-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --pad:        clamp(1.25rem, 5vw, 6rem);
  --maxw:       1680px;
  --nav-h:      96px;

  --ease:       cubic-bezier(.22, 1, .36, 1);
  --ease-io:    cubic-bezier(.65, 0, .35, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--ff-body);
  font-size: clamp(.95rem, .35vw + .85rem, 1.05rem);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: .92; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2e2e2e; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.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 {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  padding: .7rem 1.1rem; background: var(--accent); color: var(--on-accent);
  font-weight: 600; transform: translateY(-160%);
}
.skip:focus { transform: none; }

.display {
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: -.015em;
  font-weight: 400;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--accent);
}
.lead { font-size: clamp(1.05rem, .6vw + .95rem, 1.3rem); color: #cfcac2; }
.muted { color: var(--bone-dim); }
.accent { color: var(--accent); }

section { position: relative; }
.section-pad { padding-block: clamp(5rem, 11vw, 11rem); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Grain overlay ---------------------------------------------------------- */
.grain {
  position: fixed; inset: -50%; z-index: 4;
  pointer-events: none; opacity: .32; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: grainShift 700ms steps(4) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3%, 2%); }
  50%  { transform: translate(2%, -3%); }
  75%  { transform: translate(-2%, -2%); }
  100% { transform: translate(3%, 3%); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* --------------------------------------------------------------------------
   4. Preloader
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--ink);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.pre-inner { text-align: center; }
.pre-mark {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: clamp(2.6rem, 11vw, 7rem); line-height: .85;
  letter-spacing: -.02em;
}
.pre-mark span { display: block; color: var(--accent); }
.pre-bar {
  width: min(240px, 52vw); height: 2px; margin: 1.8rem auto 0;
  background: #232323; overflow: hidden;
}
.pre-bar i {
  display: block; height: 100%; width: 0%;
  background: var(--accent); transition: width .25s linear;
}
.pre-num {
  margin-top: .8rem; font-size: .72rem;
  letter-spacing: .3em; color: var(--bone-dim);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   5. Custom cursor (desktop only)
   -------------------------------------------------------------------------- */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 150;
    width: 42px; height: 42px; margin: -21px 0 0 -21px;
    border: 1px solid rgba(242, 239, 233, .55);
    border-radius: 50%; pointer-events: none;
    transition: width .3s var(--ease), height .3s var(--ease),
                margin .3s var(--ease), background-color .3s var(--ease),
                border-color .3s var(--ease), opacity .3s;
    will-change: transform;
  }
  .cursor-dot {
    display: block; position: fixed; top: 0; left: 0; z-index: 151;
    width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
    background: var(--accent); border-radius: 50%;
    pointer-events: none; will-change: transform;
  }
  .cursor.is-hover {
    width: 92px; height: 92px; margin: -46px 0 0 -46px;
    background: var(--accent); border-color: var(--accent);
  }
  .cursor.is-hover::after {
    content: attr(data-label);
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-family: var(--ff-body); font-size: .58rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase; color: var(--on-accent);
  }
  .cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--on-accent);
  position: relative; display: inline-flex; align-items: center; gap: .7rem;
  padding: 1.05rem 2rem;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--btn-fg); background: var(--btn-bg);
  border-radius: 999px; overflow: hidden;
  transition: transform .35s var(--ease), color .35s var(--ease);
  will-change: transform;
}
.btn > * { position: relative; z-index: 1; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: var(--bone);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--bone);
  box-shadow: inset 0 0 0 1px #3a3a3a;
}
.btn--ghost:hover { color: var(--ink); }

.btn--lg { padding: 1.25rem 2.5rem; font-size: .8rem; }

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
/* z-index 130: por encima del drawer (120). Si la cabecera quedara por debajo,
   el menú abierto taparía el botón y no habría forma de cerrarlo. */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 130;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease),
              transform .5s var(--ease), height .4s var(--ease);
}
.header.is-stuck {
  background: rgba(10, 10, 10, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-up { transform: translateY(-100%); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; width: 100%;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: 1.15rem; letter-spacing: .02em; line-height: 1;
}
/* El escudo es vertical (391x420): se dimensiona por ALTO para que nunca
   desborde la barra de var(--nav-h). */
.brand img {
  height: clamp(64px, 5.6vw, 80px); width: auto;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, .8));
  transition: height .4s var(--ease);
}
.header.is-stuck { height: 76px; }
.header.is-stuck .brand img { height: clamp(48px, 4vw, 56px); }

/* En móvil el escudo ya contiene el nombre: sobra repetirlo al lado.
   Se oculta el texto y la barra crece para que la marca quepa al doble. */
@media (max-width: 619px) {
  :root { --nav-h: 124px; }
  .brand span { display: none; }
  .brand img { height: 112px; }
  .header.is-stuck { height: 78px; }
  .header.is-stuck .brand img { height: 60px; }
}
.brand b { font-weight: 400; }
.brand i { color: var(--accent); font-style: normal; }

.nav-links { display: none; gap: 2.1rem; }
@media (min-width: 1080px) { .nav-links { display: flex; } }
.nav-links a {
  position: relative;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: #d2cec7;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-active { color: var(--bone); }

.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-cta { display: none; }
@media (min-width: 620px) { .nav-cta { display: inline-flex; } }

/* Burger ----------------------------------------------------------------- */
/* Flex + gap, NO grid: con `display:grid` las tres filas se estiran hasta
   llenar el botón y las rayas se salen del círculo. */
.burger {
  position: relative;
  width: 48px; height: 48px; flex: 0 0 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  border-radius: 50%;
  background: rgba(10, 10, 10, .55);
  box-shadow: inset 0 0 0 1px #3f3f3f;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
@media (min-width: 1080px) { .burger { display: none; } }
.burger:hover { background: #1c1c1c; box-shadow: inset 0 0 0 1px #575757; }

.burger span {
  display: block; width: 19px; height: 2px;
  background: var(--bone); border-radius: 2px;
  transition: transform .4s var(--ease), opacity .2s var(--ease),
              background-color .3s var(--ease);
}
/* Separación entre centros = alto (2px) + gap (5px) = 7px */
.burger.is-open {
  background: var(--accent); box-shadow: inset 0 0 0 1px var(--accent);
}
.burger.is-open span { background: var(--on-accent); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer ---------------------------------------------------------- */
/* El círculo nace en el centro real del botón:
   x = 100% - padding - mitad del botón (24px), y = mitad de la barra. */
.drawer {
  position: fixed; inset: 0; z-index: 120;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 1.5rem) var(--pad) 1.5rem;
  background: var(--ink);
  clip-path: circle(0% at calc(100% - var(--pad) - 24px) calc(var(--nav-h) / 2));
  transition: clip-path .75s var(--ease), visibility .75s;
  visibility: hidden;
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open {
  clip-path: circle(150% at calc(100% - var(--pad) - 24px) calc(var(--nav-h) / 2));
  visibility: visible;
}

.drawer-links { display: flex; flex-direction: column; gap: .1rem; }
.drawer-links li { overflow: hidden; }
.drawer-links a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .35rem 0;
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: clamp(2rem, 10vw, 3.6rem); line-height: 1.06;
  transform: translateY(105%);
  transition: transform .7s var(--ease), color .3s var(--ease);
}
.drawer.is-open .drawer-links a { transform: translateY(0); }
.drawer-links a:hover { color: var(--accent); }
.drawer-links span {
  font-family: var(--ff-body); font-size: .62rem; font-weight: 600;
  letter-spacing: .2em; color: var(--accent);
}
.drawer-foot {
  margin-top: auto; padding-top: 2.5rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  font-size: .82rem; color: var(--bone-dim);
  opacity: 0; transition: opacity .5s var(--ease) .35s;
}
.drawer.is-open .drawer-foot { opacity: 1; }
.drawer-foot a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-block: calc(var(--nav-h) + 2rem) clamp(2rem, 6vh, 4rem);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg figure {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 1.6s var(--ease-io);
}
.hero-bg figure.is-on { opacity: 1; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(.62);
  transform: scale(1.06);
  animation: heroDrift 14s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(115% 85% at 15% 100%, rgba(42, 159, 214, .20) 0%, transparent 58%),
    linear-gradient(to top, var(--ink) 2%, rgba(10, 10, 10, .58) 42%, rgba(10, 10, 10, .82) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero-title {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: clamp(3.4rem, 15.5vw, 15rem);
  line-height: .82; letter-spacing: -.025em;
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: block;
  transform: translateY(105%);
  animation: riseIn 1.1s var(--ease) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: .15s; }
.hero-title .line:nth-child(2) > span { animation-delay: .28s; }
@keyframes riseIn { to { transform: translateY(0); } }

.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bone);
  paint-order: stroke fill;
}
@media (min-width: 900px) { .hero-title .outline { -webkit-text-stroke-width: 2px; } }

.hero-meta {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  padding-top: clamp(1.4rem, 3vw, 2.2rem);
  border-top: 1px solid rgba(242, 239, 233, .16);
  opacity: 0; animation: fadeUp .9s var(--ease) .6s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-claim { max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-left: auto; }

.hero-scroll {
  position: absolute; z-index: 2; left: var(--pad); bottom: 1.2rem;
  display: none; align-items: center; gap: .7rem;
  font-size: .64rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--bone-dim);
}
@media (min-width: 1080px) { .hero-scroll { display: flex; } }
.hero-scroll i {
  display: block; width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 1.9s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(.35); opacity: .4; transform-origin: top; }
  50%      { transform: scaleY(1);   opacity: 1;  transform-origin: top; }
}

.hero-social {
  position: absolute; z-index: 2; right: var(--pad); bottom: 1.2rem;
  display: none; align-items: center; gap: .8rem;
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bone-dim);
}
@media (min-width: 1080px) { .hero-social { display: flex; } }
.hero-social a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   9. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--line);
  background: var(--accent);
  padding-block: .85rem;
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 2.4rem;
  animation: slide 34s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee span {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: clamp(1.1rem, 2.6vw, 2rem); letter-spacing: .01em;
  color: var(--on-accent);
}
.marquee svg { width: 15px; height: 15px; flex: 0 0 auto; fill: var(--on-accent); opacity: .85; }

.marquee--dark { background: var(--ink-2); }
.marquee--dark span { color: var(--bone); }
.marquee--dark span:nth-child(4n+3) {
  color: transparent; -webkit-text-stroke: 1px var(--accent);
}
.marquee--dark svg { fill: var(--accent); }

/* --------------------------------------------------------------------------
   10. Reveal-on-scroll
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }
[data-reveal][data-delay="4"] { transition-delay: .36s; }

/* --------------------------------------------------------------------------
   11. Section heading
   -------------------------------------------------------------------------- */
.head {
  display: grid; gap: clamp(1.2rem, 3vw, 2.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 900px) {
  .head { grid-template-columns: 1fr minmax(280px, 38%); align-items: end; }
}
.head h2 {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: clamp(2.4rem, 7.5vw, 6.5rem);
  line-height: .88; letter-spacing: -.02em;
  margin-top: .7rem;
}
.head h2 em { font-style: normal; color: var(--accent); }

/* --------------------------------------------------------------------------
   12. Manifiesto / about
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid; gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about-stack { position: relative; }
.about-stack figure { margin: 0; position: relative; overflow: hidden; }
.about-stack img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-stack .f1 { z-index: 1; }

/* En dos columnas la foto se ESTIRA hasta igualar la altura del texto.
   Con `align-items: start` cada columna medía solo su contenido y, al ser la
   de texto más alta, quedaba un hueco negro bajo la imagen. */
@media (min-width: 1000px) {
  .about-grid { grid-template-columns: .95fr 1.05fr; align-items: stretch; }
  .about-stack { display: flex; flex-direction: column; }
  .about-stack .f1 { flex: 1 1 auto; min-height: 0; }
  .about-stack .f1 img { height: 100%; aspect-ratio: auto; }
}
.about-stack .f2 {
  position: absolute; right: -6%; bottom: -12%;
  width: 46%; z-index: 2;
  border: 6px solid var(--ink);
}
.about-stack .f2 img { aspect-ratio: 1 / 1; }

/* En móvil el recuadro se salía por el borde derecho de la pantalla. */
@media (max-width: 700px) {
  .about-stack .f2 { right: 0; bottom: -8%; width: 42%; border-width: 4px; }
}

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.6rem, 3vw, 2.4rem);
  border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block; margin-top: .5rem;
  font-size: .66rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone-dim);
}

/* --------------------------------------------------------------------------
   13. Estilos (tag cloud)
   -------------------------------------------------------------------------- */
.styles-list {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: 2rem;
}
.styles-list li {
  padding: .6rem 1.25rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: #cfcac2;
  transition: border-color .3s var(--ease), color .3s var(--ease),
              background-color .3s var(--ease), transform .3s var(--ease);
}
.styles-list li:hover {
  border-color: var(--accent); background: var(--accent);
  color: #fff; transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   14. Servicios
   -------------------------------------------------------------------------- */
.services { position: relative; }
.srv {
  position: relative;
  display: grid; align-items: center; gap: .4rem 2rem;
  grid-template-columns: auto 1fr;
  padding-block: clamp(1.6rem, 3.4vw, 2.6rem);
  border-top: 1px solid var(--line);
  transition: padding-inline .5s var(--ease);
}
.srv:last-of-type { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .srv { grid-template-columns: auto minmax(0, 1fr) minmax(0, 30ch) auto; gap: 2.5rem; }
  .srv:hover { padding-inline: 1.4rem; }
}
.srv::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(42, 159, 214, .13), transparent 65%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.srv:hover::before { transform: scaleX(1); }

.srv-num {
  font-size: .68rem; font-weight: 700; letter-spacing: .2em;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.srv-title {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: clamp(1.8rem, 5.4vw, 4.2rem); line-height: .95;
  transition: color .35s var(--ease), transform .5s var(--ease);
}
.srv:hover .srv-title { color: var(--accent); }
@media (min-width: 900px) { .srv:hover .srv-title { transform: translateX(10px); } }

.srv-desc {
  grid-column: 1 / -1; font-size: .92rem; color: var(--bone-dim);
  max-width: 60ch;
}
@media (min-width: 900px) { .srv-desc { grid-column: auto; margin: 0; } }

.srv-go {
  display: none; width: 46px; height: 46px; flex: 0 0 auto;
  place-items: center; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
              transform .35s var(--ease);
}
@media (min-width: 900px) { .srv-go { display: grid; } }
.srv-go svg { width: 16px; height: 16px; }
.srv:hover .srv-go {
  background: var(--accent); box-shadow: inset 0 0 0 1px var(--accent);
  color: var(--on-accent); transform: rotate(-45deg);
}

/* Floating preview image that follows the pointer */
.srv-preview {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 300px; aspect-ratio: 3 / 4;
  pointer-events: none; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.9);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  will-change: transform;
  display: none;
}
@media (hover: hover) and (min-width: 1080px) { .srv-preview { display: block; } }
.srv-preview.is-on { opacity: 1; }
.srv-preview img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .35s var(--ease);
  position: absolute; inset: 0;
}
.srv-preview img.is-on { opacity: 1; }

/* --------------------------------------------------------------------------
   15. Artistas
   -------------------------------------------------------------------------- */
.artists-scroll {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: min(78vw, 340px);
  gap: 1.25rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.5rem;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
  scrollbar-width: thin;
}
.artist { scroll-snap-align: start; }
.artist figure {
  position: relative; margin: 0 0 1.1rem; overflow: hidden;
  background: var(--ink-3);
}
.artist img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform .8s var(--ease), filter .6s var(--ease);
}
.artist:hover img { transform: scale(1.06); filter: grayscale(0); }
.artist figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: .45rem .9rem;
  background: var(--accent);
  font-size: .62rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--on-accent);
}
.artist h3 {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
}
.artist p { margin-top: .45rem; font-size: .88rem; color: var(--bone-dim); }

.scroll-hint {
  display: flex; align-items: center; gap: .6rem;
  margin-top: .5rem;
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bone-dim);
}

/* --------------------------------------------------------------------------
   16. Galería
   -------------------------------------------------------------------------- */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem);
}
.filter {
  padding: .58rem 1.15rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-dim);
  transition: color .3s var(--ease), border-color .3s var(--ease),
              background-color .3s var(--ease);
}
.filter:hover { color: var(--bone); border-color: #444; }
.filter.is-on {
  background: var(--bone); border-color: var(--bone); color: var(--ink);
}
.filter b { font-weight: 600; opacity: .5; margin-left: .35rem; }

.masonry { column-count: 2; column-gap: clamp(.5rem, 1.2vw, 1rem); }
@media (min-width: 700px)  { .masonry { column-count: 3; } }
@media (min-width: 1100px) { .masonry { column-count: 4; } }
@media (min-width: 1500px) { .masonry { column-count: 5; } }

.tile {
  position: relative; display: block; width: 100%;
  margin-bottom: clamp(.5rem, 1.2vw, 1rem);
  break-inside: avoid; overflow: hidden;
  background: var(--ink-3);
  opacity: 0; transform: translateY(26px) scale(.98);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.tile.is-in { opacity: 1; transform: none; }
.tile.is-hidden { display: none; }
.tile img {
  width: 100%; height: auto;
  transition: transform .8s var(--ease), filter .6s var(--ease);
}
.tile:hover img { transform: scale(1.05); }
.tile-info {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 2.6rem .9rem .85rem;
  background: linear-gradient(to top, rgba(10, 10, 10, .92), transparent);
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tile:hover .tile-info, .tile:focus-visible .tile-info { opacity: 1; transform: none; }
.tile-info b {
  display: block; font-size: .8rem; font-weight: 600;
  line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tile-info span {
  font-size: .6rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}

.gallery-more { display: flex; justify-content: center; margin-top: 3rem; }
.gallery-empty {
  padding: 4rem 0; text-align: center; color: var(--bone-dim);
}

/* --------------------------------------------------------------------------
   17. Lightbox
   -------------------------------------------------------------------------- */
.lb {
  position: fixed; inset: 0; z-index: 160;
  display: grid; grid-template-rows: auto 1fr auto;
  background: rgba(6, 6, 6, .97);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.lb.is-open { opacity: 1; visibility: visible; }

.lb-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem var(--pad);
}
.lb-count {
  font-size: .68rem; letter-spacing: .2em; color: var(--bone-dim);
  font-variant-numeric: tabular-nums;
}
.lb-close {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; box-shadow: inset 0 0 0 1px #3a3a3a;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.lb-close:hover { background: var(--accent); transform: rotate(90deg); }
.lb-close svg { width: 16px; height: 16px; }

.lb-stage {
  position: relative; display: grid; place-items: center;
  padding: 0 var(--pad); min-height: 0;
}
.lb-stage img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto; object-fit: contain;
  opacity: 0; transform: scale(.97);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.lb-stage img.is-on { opacity: 1; transform: none; }

.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(20, 20, 20, .7); border-radius: 50%;
  box-shadow: inset 0 0 0 1px #333;
  transition: background-color .3s var(--ease);
}
.lb-nav:hover { background: var(--accent); color: var(--on-accent); }
.lb-nav svg { width: 18px; height: 18px; }
.lb-prev { left: max(.6rem, calc(var(--pad) - 3.4rem)); }
.lb-next { right: max(.6rem, calc(var(--pad) - 3.4rem)); }

.lb-foot { padding: 1rem var(--pad) 1.6rem; text-align: center; }
.lb-foot b { display: block; font-size: .95rem; font-weight: 600; }
.lb-foot span {
  font-size: .62rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
}

/* --------------------------------------------------------------------------
   18. Proceso
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 1px; background: var(--line); }
@media (min-width: 760px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--ink);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  transition: background-color .45s var(--ease);
}
.step:hover { background: var(--ink-3); }
.step b {
  font-family: var(--ff-display); font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--accent);
  transition: color .4s var(--ease);
}
.step:hover b { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step h3 {
  margin: 1.1rem 0 .7rem;
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: 1.35rem;
}
.step p { font-size: .9rem; color: var(--bone-dim); }

/* --------------------------------------------------------------------------
   19. FAQ
   -------------------------------------------------------------------------- */
.faq-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; gap: 1.5rem;
  padding: clamp(1.1rem, 2.4vw, 1.7rem) 0;
  text-align: left;
  font-size: clamp(1rem, 1.9vw, 1.32rem); font-weight: 500;
  line-height: 1.35;
  transition: color .3s var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-q i {
  margin-left: auto; flex: 0 0 auto;
  position: relative; width: 15px; height: 15px; margin-top: .35em;
}
.faq-q i::before, .faq-q i::after {
  content: ''; position: absolute; inset: 50% 0 auto 0;
  height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease);
}
.faq-q i::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q { color: var(--accent); }
.faq-item.is-open .faq-q i::after { transform: rotate(0deg); }

.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  max-width: 78ch; padding-right: 2.5rem;
  padding-bottom: clamp(1.1rem, 2.4vw, 1.7rem);
  color: var(--bone-dim); font-size: .95rem;
}

/* --------------------------------------------------------------------------
   20. CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden;
  padding-block: clamp(4.5rem, 10vw, 9rem);
  text-align: center;
}
.cta::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url('../img/tatuaje-brazo-completo-valencia.jpg') center / cover no-repeat;
  filter: grayscale(1) brightness(.3);
  transform: scale(1.05);
}
.cta::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(80% 70% at 50% 50%, rgba(42, 159, 214, .32), transparent 70%);
}
.cta .wrap { position: relative; z-index: 2; }
.cta h2 {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: clamp(2.4rem, 9vw, 8rem); line-height: .88; letter-spacing: -.02em;
}
.cta p { margin: 1.6rem auto 2.4rem; max-width: 52ch; }

/* --------------------------------------------------------------------------
   21. Contacto
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.info-block + .info-block { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.info-block h3 {
  font-size: .66rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8rem;
}
.info-block p, .info-block li { font-size: 1rem; }
.info-big {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.05;
  transition: color .3s var(--ease);
}
a.info-big:hover { color: var(--accent); }
.hours li {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: .5rem 0; border-bottom: 1px dashed var(--line);
  color: var(--bone-dim);
}
.hours li b { color: var(--bone); font-weight: 500; }
.hours li:last-child { border-bottom: 0; }
.hours small { display: block; font-size: .74rem; color: var(--accent); }

.map {
  width: 100%; aspect-ratio: 16 / 10; border: 0;
  filter: grayscale(1) invert(.92) contrast(.85);
  margin-top: 1.4rem;
}

/* Form ------------------------------------------------------------------- */
.form { display: grid; gap: 1.4rem; }
@media (min-width: 620px) { .form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; } }
.field { position: relative; }
.field label {
  display: block; margin-bottom: .5rem;
  font-size: .64rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--bone-dim);
}
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1.1rem;
  background: var(--ink-2); color: var(--bone);
  border: 1px solid var(--line); border-radius: 4px;
  font: inherit; font-size: .95rem;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--ink-3);
}
.field input::placeholder, .field textarea::placeholder { color: #5d5952; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b968d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 17px;
  padding-right: 2.8rem;
}
.consent {
  display: flex; align-items: flex-start; gap: .8rem;
  font-size: .82rem; color: var(--bone-dim);
}
.consent input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: .25rem; accent-color: var(--accent); }
.consent a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.form-note {
  font-size: .78rem; color: var(--bone-dim);
  padding: .9rem 1.1rem; border-left: 2px solid var(--accent); background: var(--ink-2);
}

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-top {
  display: grid; gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 {
  font-size: .64rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--bone-dim); margin-bottom: 1.1rem;
}
.footer-nav li + li { margin-top: .55rem; }
.footer-nav a { color: #cfcac2; transition: color .3s var(--ease), padding-left .3s var(--ease); }
.footer-nav a:hover { color: var(--accent); padding-left: .4rem; }

.footer-mark {
  font-family: var(--ff-display); text-transform: uppercase;
  font-size: clamp(2rem, 6vw, 3.4rem); line-height: .95; letter-spacing: -.015em;
}
.footer-mark i { color: var(--accent); font-style: normal; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
  padding-top: 1.8rem; border-top: 1px solid var(--line);
  font-size: .76rem; color: var(--bone-dim);
}
.footer-bottom a:hover { color: var(--accent); }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
              transform .3s var(--ease);
}
.socials a:hover {
  background: var(--accent); box-shadow: inset 0 0 0 1px var(--accent);
  color: var(--on-accent); transform: translateY(-3px);
}
.socials svg { width: 17px; height: 17px; fill: currentColor; }

/* Back to top ------------------------------------------------------------ */
.totop {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 95;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); border-radius: 50%;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .4s var(--ease), visibility .4s, transform .4s var(--ease),
              background-color .3s var(--ease);
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--bone); color: var(--ink); }
.totop svg { width: 17px; height: 17px; }


/* --------------------------------------------------------------------------
   23. El escudo (marca de agua del hero)
   -------------------------------------------------------------------------- */


/* Marca de agua del hero --------------------------------------------------- */
.hero-crest {
  position: absolute; z-index: 1;
  right: -6%; top: 50%; transform: translateY(-50%);
  width: min(56vw, 620px); height: auto;
  opacity: .16; pointer-events: none;
  filter: grayscale(.25);
  animation: crestFloat 13s ease-in-out infinite alternate;
}
@media (max-width: 899px) {
  .hero-crest { right: 50%; transform: translate(50%, -50%); width: 92vw; opacity: .1; }
}
@keyframes crestFloat {
  from { transform: translateY(-50%) scale(1); }
  to   { transform: translateY(-54%) scale(1.05); }
}
@media (max-width: 899px) {
  @keyframes crestFloat {
    from { transform: translate(50%, -50%) scale(1); }
    to   { transform: translate(50%, -54%) scale(1.05); }
  }
}
@media (prefers-reduced-motion: reduce) { .hero-crest { animation: none; } }





/* Escudo al inicio de la sección Estudio ----------------------------------
   Va en la columna de texto, sobre el fondo oscuro. NO sobre la foto: al
   quitarle el fondo negro el logo perdió los contornos de las letras, así
   que solo compone bien contra un fondo oscuro. */
/* Móvil: se dimensiona por ANCHO (así nunca se deforma al toparse con el
   borde). Escritorio: por alto, y centrado en su columna. */
.about-mark {
  display: block;
  width: min(100%, 380px); height: auto;
  margin: 0 auto clamp(1.6rem, 3vw, 2.4rem);
  filter: drop-shadow(0 10px 34px rgba(0, 0, 0, .9));
}
@media (min-width: 1000px) {
  .about-mark {
    width: auto; max-width: 100%;
    height: clamp(380px, 32vw, 480px);
  }
}
