/* ═══════════════════════════════════════════════════════════
   INKXA TATTOO STUDIO — styles.css
   Cambia las variables de :root para ajustar colores y tipografía
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Paleta gótica: negro profundo + rojo sangre apagado */
  --bg-deep: #000000;
  --bg-card: #020202;
  --bg-elevated: #050505;
  --bg-border: rgba(255, 255, 255, 0.04);

  --text-primary: #eceae6;
  --text-secondary: rgba(236, 234, 230, 0.72);
  --text-muted: rgba(236, 234, 230, 0.42);

  --accent: #6e1f1f;           /* rojo sangre oscuro */
  --accent-hover: #7d2828;
  --accent-soft: #8f3838;       /* carmesí apagado */
  --accent-dark: #3d1010;
  --accent-glow: rgba(110, 31, 31, 0.22);
  --accent-gold: #5c2020;
  --accent-rgb: 110, 31, 31;

  /* Tipografía — Syne (display) + Manrope (body) */
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Espaciado */
  --section-pad: clamp(5rem, 10vw, 8rem);
  --container: min(1200px, 92vw);

  /* Transiciones */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.4s;

  /* Header */
  --header-h: 80px;
}

/* ─── Reset & Base ─── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-width: thin;
  scrollbar-color: var(--accent) #000;
}

/* ─── Scrollbar personalizado ─── */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #000;
  border-left: 1px solid rgba(var(--accent-rgb), 0.06);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--accent-dark) 55%, #1a0808 100%);
  border-radius: 100px;
  border: 2px solid #000;
  box-shadow: none;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent-hover) 0%, var(--accent) 60%, #2a0c0c 100%);
  box-shadow: 0 0 8px var(--accent-glow);
}

::-webkit-scrollbar-corner {
  background: #000;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

::selection {
  background: #eceae6;
  color: #000;
}

::-moz-selection {
  background: #eceae6;
  color: #000;
}

/* Viñeta sutil — solo bordes, no apaga el contenido */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 80% at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.25) 100%);
}

/* Ocultar cursor nativo cuando el cursor de tinta está activo */
body.ink-cursor-active,
body.ink-cursor-active a,
body.ink-cursor-active button,
body.ink-cursor-active input,
body.ink-cursor-active select,
body.ink-cursor-active textarea,
body.ink-cursor-active summary,
body.ink-cursor-active [role="button"] {
  cursor: none !important;
}

img {
  max-width: 100%;
  display: block;
}

/* Máxima nitidez — sin filtros que pixelen la foto */
.hero__backdrop,
.hero__card img,
.specialty-card__visual img,
.gallery__img {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

img[data-img]:not([src]),
img[data-img][src=""] {
  background: #000;
  min-height: 120px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── Grano cinematográfico ─── */

.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* ─── Utilidades ─── */

.container {
  width: var(--container);
  margin-inline: auto;
}

.container--narrow {
  width: min(720px, 92vw);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 1rem;
}

.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  position: relative;
  display: inline-block;
  text-transform: none;
}

.section__header .section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin-top: 1rem;
  box-shadow: none;
}

/* ─── Botones ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent-dark);
}

.btn--accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--bg-border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

.btn--light {
  background: var(--accent-dark);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn--light:hover {
  background: transparent;
  color: var(--accent-soft);
  border-color: var(--accent);
}

.btn--sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.7rem;
}

.btn--full {
  width: 100%;
}

.link-arrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  transition: color var(--duration) var(--ease), gap var(--duration) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.link-arrow::after {
  content: '→';
  transition: transform var(--duration) var(--ease);
}

.link-arrow:hover {
  color: var(--accent-soft);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ─── Header ─── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.header--scrolled {
  background: rgba(0, 0, 0, 0.97);
  border-bottom-color: rgba(var(--accent-rgb), 0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.logo__mark::first-letter {
  color: var(--accent);
}

.logo__sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--duration) var(--ease);
}

.nav__link:hover {
  color: var(--accent-soft);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  display: none;
}

/* Hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ─── Hero ─── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--bg-deep);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  /* Sin filter ni scale — el video se ve nítido */
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    /* Oscuro solo donde va el texto (izquierda) */
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.75) 35%, rgba(0, 0, 0, 0.15) 58%, transparent 72%),
  radial-gradient(ellipse 60% 50% at 80% 40%, rgba(var(--accent-rgb), 0.08) 0%, transparent 65%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.7) 100%);
}

.hero__inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding-block: 3rem;
}

.hero__visual {
  position: relative;
  width: 100%;
  height: clamp(420px, 52vh, 560px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
}

.hero__card {
  border-radius: 2px;
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  transition: transform 0.5s var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.hero__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.hero__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.15) 35%,
    transparent 60%
  );
  z-index: 1;
}

.hero__card span {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  background: rgba(0, 0, 0, 0.55);
  padding: 0.3rem 0.7rem;
  /* sin backdrop-filter — evita blur sobre la foto */
  border-radius: 2px;
  border-left: 2px solid var(--accent);
}

.hero__card--1 {
  grid-row: span 2;
  animation: floatCard 7s ease-in-out infinite;
}

.hero__card--2 {
  animation: floatCard 7s ease-in-out 1.2s infinite;
}

.hero__card--3 {
  animation: floatCard 7s ease-in-out 2.4s infinite;
}

.hero__card:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.9);
  transform: translateY(-4px);
  animation-play-state: paused;
}

.hero__card:hover img {
  transform: scale(1.04);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero__content {
  position: relative;
  max-width: 560px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero__title-word {
  display: inline-block;
  margin-right: 0.28em;
  opacity: 0;
  transform: translateY(115%);
  filter: blur(10px);
  animation: heroWordReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.35s + var(--i) * 0.09s);
  will-change: transform, opacity, filter;
}

.hero__title-word--accent {
  margin-right: 0;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
}

.hero__title::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: 1.1rem;
  background: linear-gradient(
    90deg,
    var(--accent-soft) 0%,
    rgba(var(--accent-rgb), 0.35) 45%,
    transparent 100%
  );
  animation: heroTitleUnderline 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.95s;
}

.hero__title .ink-shimmer {
  animation:
    heroWordReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    inkShimmer 7s ease-in-out infinite;
  animation-delay: calc(0.35s + var(--i) * 0.09s), 1.45s;
}

@keyframes heroWordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroTitleUnderline {
  to {
    width: min(220px, 55%);
  }
}

.hero__title em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  color: var(--accent-soft);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 480px;
}

.hero__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── Especialidades ─── */

.specialties {
  background: #000;
}

.specialties__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.specialty-card {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
  border-radius: 2px;
  overflow: hidden;
  transition:
    transform var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.specialty-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.28);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.specialty-card__visual {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.specialty-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.specialty-card:hover .specialty-card__visual img {
  transform: scale(1.04);
}

.specialty-card__body {
  padding: 1.75rem;
}

.specialty-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.specialty-card__body p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

/* ─── Galería ─── */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--bg-border);
  cursor: pointer;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.gallery__style {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.04);
}

/* ─── Experiencia ─── */

.experience {
  background: var(--bg-card);
}

.experience__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.experience__item {
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-border);
  transition: border-color var(--duration) var(--ease);
}

.experience__item:hover {
  border-top-color: var(--accent);
}

.experience__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: rgba(var(--accent-rgb), 0.08);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  transition: color var(--duration) var(--ease);
}

.experience__item:hover .experience__number {
  color: rgba(var(--accent-rgb), 0.28);
}

.experience__item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.experience__item p {
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ─── Proceso ─── */

.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process__step {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
}

.process__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-soft);
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.process__step:hover .process__icon {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  box-shadow: none;
}

.process__step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.process__step p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.process__connector {
  width: 60px;
  height: 1px;
  background: var(--bg-border);
  margin-top: 24px;
  flex-shrink: 0;
}

/* ─── Formulario ─── */

.booking {
  background: #000;
}

.booking__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.booking__desc {
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 400px;
}

.booking__form {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
  border-radius: 2px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-primary);
  background: var(--bg-deep);
  border: 1px solid var(--bg-border);
  border-radius: 2px;
  transition: border-color var(--duration) var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f2f0ec66' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-feedback {
  margin-top: 1rem;
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.2em;
}

.form-feedback--success {
  color: var(--accent-soft);
}

.form-feedback--error {
  color: var(--accent);
}

/* ─── Ubicación ─── */

.location__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.location__address {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 1.5rem 0 2rem;
}

.location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.location__map-frame {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--bg-border);
  border-radius: 2px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.location__map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.35) contrast(1.05) brightness(0.82);
}

/* ─── FAQ ─── */

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid var(--bg-border);
}

.faq__item summary {
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--duration) var(--ease);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:hover {
  color: var(--accent-soft);
}

.faq__item p {
  padding-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  animation: fadeIn 0.3s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Footer ─── */

.footer {
  background: #000;
  border-top: 1px solid rgba(var(--accent-rgb), 0.15);
  padding-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer__tagline {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 240px;
}

.footer__col h4 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer__col p,
.footer__col li {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.footer__col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
}

.footer__col a:hover {
  color: var(--accent-soft);
}

.footer__col ul li + li {
  margin-top: 0.25rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--bg-border);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer__credit {
  color: var(--text-muted);
}

/* ─── WhatsApp flotante ─── */

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #1a6b3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

/* ─── Animaciones scroll reveal ─── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger para hijos en grids */
.specialties__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.specialties__grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.experience__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.experience__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.experience__grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════
   ANIMACIONES DE TINTA / INK FX
   ═══════════════════════════════════════════════════════════ */

.ink-fx {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* Gotas de tinta cayendo — rojo/negro */
.ink-drop {
  position: absolute;
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
  background: radial-gradient(circle at 35% 30%, #1a0000, #000 70%);
  box-shadow: inset 0 -2px 4px rgba(var(--accent-rgb), 0.15);
  opacity: 0;
  animation: inkFall linear infinite;
}

.ink-drop--1 { width: 8px; height: 14px; left: 12%; animation-duration: 7s; animation-delay: 0s; }
.ink-drop--2 { width: 6px; height: 11px; left: 28%; animation-duration: 9s; animation-delay: 2s; }
.ink-drop--3 { width: 10px; height: 16px; left: 55%; animation-duration: 8s; animation-delay: 1s; }
.ink-drop--4 { width: 5px; height: 9px; left: 72%; animation-duration: 10s; animation-delay: 3.5s; }
.ink-drop--5 { width: 7px; height: 12px; left: 88%; animation-duration: 6.5s; animation-delay: 4s; }

@keyframes inkFall {
  0%   { transform: translateY(-20px) scaleY(0.6); opacity: 0; }
  8%   { opacity: 0.7; }
  85%  { opacity: 0.5; }
  100% { transform: translateY(105vh) scaleY(1.2); opacity: 0; }
}

/* Manchas de tinta flotantes */
.ink-blob {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: radial-gradient(ellipse at 40% 35%, rgba(30, 0, 0, 0.9), rgba(0, 0, 0, 0.95));
  filter: blur(1px);
  animation: inkBlobFloat ease-in-out infinite;
}

.ink-blob--1 { width: 120px; height: 90px; top: 18%; left: 8%; animation-duration: 14s; }
.ink-blob--2 { width: 80px; height: 60px; top: 55%; right: 10%; animation-duration: 18s; animation-delay: 3s; }
.ink-blob--3 { width: 60px; height: 45px; bottom: 22%; left: 20%; animation-duration: 12s; animation-delay: 6s; }

@keyframes inkBlobFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.12; }
  33%       { transform: translate(12px, -18px) rotate(8deg) scale(1.08); opacity: 0.2; }
  66%       { transform: translate(-8px, 10px) rotate(-5deg) scale(0.95); opacity: 0.15; }
}

/* Salpicaduras de tinta */
.ink-splash {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 70%);
  animation: inkSplashPulse ease-in-out infinite;
}

.ink-splash--1 { width: 200px; height: 200px; top: 10%; right: 15%; animation-duration: 6s; }
.ink-splash--2 { width: 150px; height: 150px; bottom: 15%; left: 5%; animation-duration: 8s; animation-delay: 2s; }

@keyframes inkSplashPulse {
  0%, 100% { transform: scale(1); opacity: 0.06; }
  50%       { transform: scale(1.2); opacity: 0.14; }
}

/* Partículas de tinta (generadas por JS) */
.ink-particles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.ink-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-dark);
  opacity: 0;
  animation: inkParticleDrift linear infinite;
}

@keyframes inkParticleDrift {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-120px) translateX(var(--drift, 20px)); opacity: 0; }
}

/* Anillo de tinta en hero — desactivado, reemplazado por backdrop */
.hero__ink-ring {
  display: none;
}

/* Línea de tinta bajo eyebrow */
.ink-line {
  position: relative;
  display: inline-block;
}

.ink-line::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), transparent);
  animation: inkLineDraw 2s ease forwards 0.8s;
}

@keyframes inkLineDraw {
  to { width: 100%; }
}

/* Brillo de tinta en título */
.ink-shimmer {
  position: relative;
  background: linear-gradient(
    90deg,
    var(--accent-dark) 0%,
    var(--accent-soft) 48%,
    var(--text-primary) 52%,
    var(--accent-soft) 58%,
    var(--accent-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: inkShimmer 6s ease-in-out infinite;
}

@keyframes inkShimmer {
  0%, 100% { background-position: 0% center; }
  50%       { background-position: 100% center; }
}

/* Botón con efecto gota de tinta */
.btn--accent {
  position: relative;
  overflow: hidden;
}

.btn--accent::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn--accent:hover::after {
  width: 300px;
  height: 300px;
}

/* Icono proceso — pulso tipo máquina de tatuar */
.process__icon {
  position: relative;
}

.process__icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  animation: inkNeedlePulse 2s ease-in-out infinite;
}

@keyframes inkNeedlePulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%       { transform: scale(1.15); opacity: 0; }
}

/* Galería — tinta al hover */
.gallery__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-50%);
  transition: width 0.5s ease;
  z-index: 3;
}

.gallery__item:hover::after {
  width: 80%;
}

/* Especialidades — ripple de tinta */
.specialty-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0,0,0,0.5) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.specialty-card:hover .specialty-card__visual::after {
  opacity: 1;
}

/* ─── Responsive ─── */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-pad: clamp(3.5rem, 8vw, 6rem);
    --container: min(1200px, 94vw);
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 1002;
    width: 44px;
    height: 44px;
    padding: 6px;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--duration) var(--ease), visibility var(--duration) var(--ease);
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .nav__link {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .nav__cta {
    display: inline-flex;
    width: min(100%, 320px);
    justify-content: center;
  }

  .specialties__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .experience__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .booking__desc {
    max-width: none;
  }

  .location__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 2rem;
    min-height: auto;
  }

  .hero__content {
    order: 1;
    max-width: 100%;
  }

  .hero__visual {
    order: 2;
    height: 340px;
  }

  .hero__backdrop {
    object-position: center;
  }

  .hero__gradient {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0.92) 100%);
  }

  .section__header {
    margin-bottom: 2.5rem;
  }
}

/* Móvil */
@media (max-width: 768px) {
  :root {
    --header-h: 70px;
    --section-pad: clamp(3rem, 7vw, 4.5rem);
    --container: min(1200px, 92vw);
  }

  .logo__mark {
    font-size: 1.3rem;
  }

  .logo__sub {
    font-size: 0.55rem;
    letter-spacing: 0.22em;
  }

  .section__title {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }

  .section__header {
    text-align: left;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding-block: 2rem 2.5rem;
    gap: 1.75rem;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7.5vw, 2.2rem);
    margin-bottom: 1.25rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__text {
    font-size: 0.9rem;
  }

  .hero__visual {
    height: auto;
    min-height: 200px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.65rem;
  }

  .hero__card--1 {
    grid-row: span 2;
    min-height: 200px;
  }

  .hero__card--2,
  .hero__card--3 {
    min-height: 96px;
    animation: none;
  }

  .hero__card--1 {
    animation: none;
  }

  .hero__card:hover {
    transform: none;
  }

  .hero__actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 48px;
  }

  .hero__backdrop {
    object-position: center 30%;
  }

  .btn {
    min-height: 48px;
    padding: 0.9rem 1.5rem;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: min(260px, 55vw);
  }

  .gallery__item--tall,
  .gallery__item--wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .experience__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .process__steps {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
  }

  .process__step {
    text-align: center;
    align-items: center;
  }

  .process__connector {
    width: 1px;
    height: 40px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 0.95rem 1rem;
  }

  .booking__form {
    padding: 1.25rem;
  }

  .location__address {
    font-size: 1rem;
  }

  .location__actions {
    flex-direction: column;
  }

  .location__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .location__map-frame {
    aspect-ratio: 16 / 11;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .whatsapp-float {
    bottom: calc(1.25rem + env(safe-area-inset-bottom));
    right: calc(1.25rem + env(safe-area-inset-right));
    width: 52px;
    height: 52px;
  }

  .ink-fx,
  .ink-particles {
    opacity: 0.35;
  }

  .ink-cursor,
  .ink-click-fx {
    display: none !important;
  }
}

/* Móvil pequeño */
@media (max-width: 480px) {
  :root {
    --container: min(1200px, 90vw);
  }

  .hero__visual {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero__card--1,
  .hero__card--2,
  .hero__card--3 {
    grid-row: span 1;
    min-height: 180px;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .section__title {
    font-size: 1.85rem;
  }

  .nav__link {
    font-size: 1.05rem;
  }

  .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title-word {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

  .hero__title::after {
    width: min(220px, 55%);
    animation: none;
  }

  .hero__title .ink-shimmer {
    animation: none;
    -webkit-text-fill-color: var(--accent-soft);
    color: var(--accent-soft);
  }

  body.ink-cursor-active .ink-negative-target {
    filter: none;
  }

  .ink-cursor__negative {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   CURSOR MODERNO + CLICK FX
   ═══════════════════════════════════════════════════════════ */

.ink-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.ink-cursor-active .ink-cursor {
  opacity: 1;
}

.ink-cursor__dot,
.ink-cursor__negative,
.ink-cursor__ring {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: left, top, transform;
}

/* Anillo exterior — sigue con delay */
.ink-cursor__ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  border: 1.5px solid #eceae6;
  background: transparent;
  mix-blend-mode: difference;
  transition:
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* Punto central — preciso */
.ink-cursor__dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #eceae6;
  mix-blend-mode: difference;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

/* Lente negativa en hover */
.ink-cursor__negative {
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  border-radius: 50%;
  background: #eceae6;
  mix-blend-mode: difference;
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.45s ease,
    height 0.45s ease,
    margin 0.45s ease;
}

.ink-cursor--hover .ink-cursor__dot {
  transform: scale(0);
  opacity: 0;
}

.ink-cursor--hover .ink-cursor__ring {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-width: 1.5px;
  opacity: 0.95;
}

.ink-cursor--hover .ink-cursor__negative {
  opacity: 1;
  transform: scale(1);
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
}

.ink-cursor--click .ink-cursor__ring {
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  transform: scale(0.92);
}

.ink-cursor--click .ink-cursor__dot {
  transform: scale(1.6);
  opacity: 1;
}

.ink-cursor--click .ink-cursor__negative {
  opacity: 1;
  transform: scale(1.05);
  width: 110px;
  height: 110px;
  margin: -55px 0 0 -55px;
}

/* Elemento bajo el cursor — negativo completo */
body.ink-cursor-active .ink-negative-target {
  filter: invert(1) hue-rotate(180deg);
  transition: filter 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

body.ink-cursor-active .ink-negative-target img,
body.ink-cursor-active .ink-negative-target video {
  transition: filter 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Sin efecto negativo en el header — el nav debe leerse bien */
.header .ink-negative-target,
#header .ink-negative-target {
  filter: none !important;
}

/* Salpicadura al hacer click — ondas limpias + negativo */
.ink-click-fx {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  overflow: hidden;
}

.ink-click-bloom {
  position: absolute;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: #eceae6;
  mix-blend-mode: difference;
  pointer-events: none;
  animation: inkClickBloom 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ink-splash-click {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: inkSplashClick 0.7s ease-out forwards;
}

.ink-splash-click--ring {
  border: 1px solid rgba(236, 234, 230, 0.4);
  background: transparent;
  mix-blend-mode: difference;
}

.ink-splash-click--speck {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 4px rgba(var(--accent-rgb), 0.6);
  animation: inkSpeckClick 0.55s ease-out forwards;
}

@keyframes inkClickBloom {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  40%  { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.35); opacity: 0; }
}

@keyframes inkSplashClick {
  0%   { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

@keyframes inkSpeckClick {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  100% { transform: translate(calc(-50% + var(--sx, 0px)), calc(-50% + var(--sy, 0px))) scale(0.2); opacity: 0; }
}

/* Polvo de tinta al mover — puntos mínimos */
.ink-trail {
  position: fixed;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.65);
  box-shadow: 0 0 4px rgba(var(--accent-rgb), 0.35);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  animation: inkTrailFade 0.7s ease-out forwards;
}

@keyframes inkTrailFade {
  0%   { opacity: 0.45; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
}
