/* ─────────────────────────────────────────────────────────────
   Diego Flórez Tattoo — estética editorial monocromática
   ───────────────────────────────────────────────────────────── */
/* SK Modernist — coloca los archivos en assets/fonts/ (ver README de la entrega) */
@font-face { font-family: 'SK Modernist'; src: local('SK Modernist Regular'), local('SKModernist-Regular'), url('../assets/fonts/Sk-Modernist-Regular.woff2') format('woff2'), url('../assets/fonts/Sk-Modernist-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'SK Modernist'; src: local('SK Modernist Bold'), local('SKModernist-Bold'), url('../assets/fonts/Sk-Modernist-Bold.woff2') format('woff2'), url('../assets/fonts/Sk-Modernist-Bold.otf') format('opentype'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'SK Modernist Mono'; src: local('SK Modernist Mono'), local('SKModernist-Mono'), url('../assets/fonts/Sk-Modernist-Mono.woff2') format('woff2'), url('../assets/fonts/Sk-Modernist-Mono.otf') format('opentype'); font-weight: 400; font-display: swap; }

:root {
  --bg: #e6e4df;
  --bg-2: #dcd9d2;
  --ink: #0d0d0d;
  --ink-2: #3a3936;
  --muted: #77746d;
  --line: rgba(13, 13, 13, .16);
  --red: #a4161a;
  --panel: rgba(230, 228, 223, .72);
  --sans: 'SK Modernist', 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'SK Modernist Mono', 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --serif: 'Instrument Serif', Georgia, serif;
  --gut: clamp(16px, 3vw, 40px);
  --bar: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  transition: background-color .9s ease, color .9s ease;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.dim { color: var(--muted); }
.sr, .hp { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.wrap { width: 100%; margin: 0; padding: 0 var(--gut); }

/* grano */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* ── Cursor: máquina de tatuar ───────────────────────────── */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  color: #fff; mix-blend-mode: difference; opacity: 0; transition: opacity .2s;
  will-change: transform;
}
.cursor.on { opacity: 1; }
.cursor__svg { width: 46px; height: 46px; display: block; transform: translate(-4px, -42px); transform-origin: 4px 42px; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.cursor.hover .cursor__svg { transform: translate(-4px, -42px) scale(1.22) rotate(-8deg); }
.cursor.buzz .cursor__svg { animation: buzz .045s linear infinite; }
@keyframes buzz { 0%{translate:0 0} 25%{translate:.8px -.6px} 50%{translate:-.6px .7px} 75%{translate:.5px .5px} 100%{translate:0 0} }
.ink-dot {
  position: fixed; z-index: 89; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: var(--ink); pointer-events: none; animation: dot .9s ease-out forwards;
}
@keyframes dot { 0%{transform:scale(.4);opacity:.9} 30%{transform:scale(1.4)} 100%{transform:scale(2.6);opacity:0} }

/* ── Barra superior ──────────────────────────────────────── */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar);
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
  padding: 0 var(--gut);
  background: linear-gradient(var(--bg) 30%, transparent); transition: background .8s, color .8s;
}
.bar__logo { font-weight: 800; font-size: 19px; letter-spacing: -.04em; text-decoration: none; margin-right: auto; }
.bar__logo span { font-weight: 300; margin-left: 2px; }
.bar__nav { display: flex; gap: 22px; }
.bar a, .bar button { text-decoration: none; position: relative; }
.bar__nav a::after, .bar__cta::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s cubic-bezier(.7,0,.2,1);
}
.bar__nav a:hover::after, .bar__cta:hover::after { transform: scaleX(1); transform-origin: left; }
.bar__lang b { font-weight: 500; }
.bar__cta { background: var(--ink); color: var(--bg); padding: 9px 14px; border-radius: 40px; }
.bar__cta::after { display: none; }
.bar__cta i, .btn i { font-style: normal; display: inline-block; transition: transform .3s; }
.bar__cta:hover i, .btn:hover i { transform: translate(2px, -2px); }
.bar__menu { display: none; }
.bar__menu .c { display: none; }
body.menu-open .bar__menu .o { display: none; }
body.menu-open .bar__menu .c { display: inline; }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--bar) + 24px) var(--gut) 32px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s cubic-bezier(.7,0,.2,1);
}
body.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-size: clamp(42px, 12vw, 72px); font-weight: 800; letter-spacing: -.05em; line-height: 1.02; text-decoration: none; }
.menu__foot { display: flex; justify-content: space-between; }

@media (max-width: 1080px) {
  .bar__nav { display: none; }
}
@media (max-width: 720px) {
  .bar__sound, .bar__cta, .bar__meta { display: none; }
  .bar__menu { display: block; }
}

/* ── Escultura ──────────────────────────────────────────── */
.stage { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.stage canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s ease .2s; }
body.statue-ready .stage canvas { opacity: 1; }
.stage__fallback {
  display: none; position: absolute; left: 50%; bottom: 0; width: min(92vw, 900px); height: auto;
  transform: translateX(-50%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 52% 55%, #000 55%, transparent 80%);
          mask-image: radial-gradient(ellipse 60% 70% at 52% 55%, #000 55%, transparent 80%);
}
body.no-webgl .stage canvas { display: none; }
body.no-webgl .stage__fallback { display: block; }

.ink-progress {
  position: fixed; z-index: 40; left: var(--gut); bottom: 18px; display: flex; align-items: center; gap: 12px;
  font-size: 10.5px; opacity: 0; transition: opacity .6s;
}
body.statue-ready .ink-progress { opacity: 1; }
.ink-progress > span { width: 90px; height: 1px; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform .5s; }
.ink-progress em { font-style: normal; }
.ink-progress::before { content: ''; position: absolute; left: 0; width: 90px; height: 1px; background: var(--line); }

/* ── Hero ────────────────────────────────────────────────── */
main { position: relative; }
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--bar) + 2vh) var(--gut) 28px; }
.hero__title {
  position: relative; z-index: 0; margin: 0;
  font-weight: 800; letter-spacing: -.028em; line-height: .78;
  font-size: clamp(56px, 14.6vw, 290px); text-align: center; white-space: nowrap;
  margin-left: -.04em;
  animation: rise 1.4s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes rise { from { transform: translateY(18%); opacity: 0; } }
.hero__foot { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 16px; }
.hero__kicker { margin: 0; }
.hero__line { margin: 0; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.3; text-align: center; font-weight: 500; }
.hero__scroll { margin: 0; text-align: right; display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .2; } }
@media (max-width: 720px) {
  .hero { justify-content: flex-start; gap: 8px; }
  .hero__title { font-size: 15.6vw; margin-top: 2vh; }
  .hero__foot { grid-template-columns: 1fr; margin-top: auto; text-align: left; background: var(--panel); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 14px; border-radius: 14px; }
  .hero__line, .hero__scroll { text-align: left; justify-content: flex-start; }
}

/* ── Secciones que "tatúan" ──────────────────────────────── */
.anchor { position: relative; top: -10vh; }
.ink { position: relative; z-index: 3; min-height: 135vh; display: flex; align-items: center; padding: 18vh var(--gut); pointer-events: none; }
.ink__panel {
  pointer-events: auto; width: min(640px, 100%);
  padding: clamp(28px, 3vw, 48px); border-radius: 22px;
  background: var(--panel); -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1);
  border: 1px solid rgba(255,255,255,.35);
}
.ink--right .ink__panel { margin-left: auto; }
.ink--left .ink__panel { margin-left: clamp(0px, 4vw, 80px); }
.ink--right .ink__panel { margin-right: clamp(0px, 4vw, 80px); }
.ink p { margin: 0 0 16px; color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; }
.tag { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 22px !important; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink) !important; }
.tag__piece { color: var(--red); text-align: right; }
.h2 { font-size: clamp(38px, 5vw, 76px); line-height: .95; letter-spacing: -.055em; font-weight: 800; margin: 0 0 20px; }
.kicker { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink) !important; margin-bottom: 4px !important; }
.note { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line); }
.note span { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.note svg { width: 12px; height: 12px; color: var(--red); }
.note p { font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--ink); margin: 8px 0 0; }
.story { margin: 0 0 18px; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.story img { width: 100%; height: 100%; object-fit: cover; }

.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.thumb { aspect-ratio: 4/5; overflow: hidden; border-radius: 8px; background: var(--bg-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.thumb:hover img { transform: scale(1.06); }
.link { text-decoration: none; border-bottom: 1px solid; padding-bottom: 2px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); }
.steps li span { color: var(--red); padding-top: 3px; }
.steps h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.02em; }
.steps p { margin: 0; font-size: 15px; }
.checks { list-style: none; padding: 0; margin: 6px 0 22px; }
.checks li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-weight: 500; }
.checks svg { width: 12px; height: 12px; color: var(--red); flex: none; }


.finale { font-size: clamp(34px, 4.4vw, 66px) !important; line-height: 1 !important; letter-spacing: -.05em; font-weight: 800; color: var(--ink) !important; }
.finale em { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s, transform 1.1s cubic-bezier(.2,.8,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

@media (max-width: 767px) {
  .ink { min-height: 150svh; align-items: flex-end; padding: 0 12px 10svh; }
  .ink--left .ink__panel, .ink--right .ink__panel { margin: 0; width: 100%; }
  .ink__panel { padding: 20px 18px 22px; background: rgba(230,228,223,.82); }

}

/* ── Botones ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
  padding: 14px 20px; border-radius: 40px; border: 1px solid var(--ink);
  transition: background .3s, color .3s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--red); border-color: var(--red); }
.btn--light { border-color: var(--bg); color: var(--bg); }
.btn--light:hover { background: var(--bg); color: var(--ink); }

/* ── Bloques sólidos ─────────────────────────────────────── */
.solid { position: relative; z-index: 4; background: var(--bg); padding: clamp(80px, 12vh, 140px) 0; border-top: 1px solid var(--line); }
.display { font-size: clamp(56px, 10vw, 170px); line-height: .82; letter-spacing: -.07em; font-weight: 800; margin: 0; }

.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 40px; transition: .3s; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.gallery__item a { display: block; position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 14px; background: var(--bg-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.gallery__item a:hover img { transform: scale(1.05); }
.gallery__item span { position: absolute; left: 10px; bottom: 10px; background: var(--bg); padding: 4px 8px; border-radius: 20px; font-size: 10px; opacity: 0; transform: translateY(6px); transition: .35s; }
.gallery__item a:hover span { opacity: 1; transform: none; }
@media (max-width: 1000px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

.ig { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 20px; margin-top: 60px; padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; }
.ig strong { font-size: clamp(28px, 5vw, 72px); letter-spacing: -.05em; font-weight: 800; line-height: 1; transition: letter-spacing .5s; }
.ig:hover strong { letter-spacing: -.02em; }
.ig em { font-family: var(--serif); font-size: 20px; }
@media (max-width: 760px) { .ig { grid-template-columns: 1fr; gap: 8px; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(10,10,10,.88); }
.lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; border-radius: 8px; }

/* ── Contacto ───────────────────────────────────────────── */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.lead { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; margin: 28px 0 36px; max-width: 30ch; }
.contact__list { margin: 0; }
.contact__list div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact__list dt { color: var(--muted); }
.contact__list dd { margin: 0; text-align: right; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--red); }
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: clamp(20px, 3vw, 36px); background: var(--bg-2); border-radius: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; }
.form label span { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: 400 16px/1.4 var(--sans); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--ink-2); border-radius: 0; padding: 8px 0; width: 100%;
  -webkit-appearance: none; appearance: none;
}
.form select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='%230d0d0d'/%3E%3C/svg%3E") no-repeat right 4px center; }
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--red); }
.form__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.form__small { margin: 0; color: var(--muted); font-size: 10px; }
.form__status { margin: 0; min-height: 1em; font-weight: 500; }
.form__status[data-state="ok"] { color: #1f6b3a; }
.form__status[data-state="err"] { color: var(--red); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } .form__actions .btn { flex: 1; justify-content: center; } }

/* ── FAQ ────────────────────────────────────────────────── */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: clamp(19px, 2.2vw, 30px); letter-spacing: -.03em; font-weight: 700; line-height: 1.15; }
.faq summary i { font-style: normal; font-size: 28px; font-weight: 300; transition: transform .4s; flex: none; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; max-width: 70ch; color: var(--ink-2); font-size: 17px; }

/* ── Footer ─────────────────────────────────────────────── */
.foot { position: relative; z-index: 4; background: var(--ink); color: var(--bg); padding: 80px 0 24px; overflow: hidden; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 60px 0 40px; }
.foot__cols div { display: flex; flex-direction: column; gap: 8px; }
.foot__cols h4 { margin: 0 0 8px; font-weight: 400; color: #8b8880; }
.foot__cols a { text-decoration: none; width: fit-content; }
.foot__cols a:hover { color: #fff; text-decoration: underline; }
.foot__word { margin: 0; font-weight: 800; letter-spacing: -.028em; line-height: .8; font-size: clamp(56px, 14.6vw, 290px); text-align: center; color: var(--bg); }
.foot__legal { margin: 24px 0 0; color: #8b8880; font-size: 10px; }
@media (max-width: 720px) { .foot__cols { grid-template-columns: 1fr 1fr; } }
body.past-ink .ink-progress, body.at-top .ink-progress { opacity: 0 !important; }

/* ── Viajeros + frase final ─────────────────────────────── */

.travel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.travel .lead { margin-top: 0; }
@media (max-width: 900px) { .travel__grid { grid-template-columns: 1fr; } }

/* ── Galería: todas iguales ─────────────────────────────── */
/* imágenes del portafolio siempre a color */
.gallery__item a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(13,13,13,.08); pointer-events: none; }
.gallery__item a:hover img { transform: scale(1.04); }

/* ── Dibujo con la máquina ──────────────────────────────── */
.draw { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 80; pointer-events: none; }
body.drawing, body.drawing * { -webkit-user-select: none; user-select: none; }

/* ── Modo oscuro tras la escultura ──────────────────────── */
body.dark {
  --bg: #0b0b0b; --bg-2: #161616; --ink: #ece9e2; --ink-2: #bdb9b0; --muted: #8a867e;
  --line: rgba(236, 233, 226, .16); --panel: rgba(11, 11, 11, .72);
}
.solid, .faq details, .form, .filters button, .btn { transition: background-color .9s, color .9s, border-color .9s; }
.stage { transition: opacity .8s; }
body.dark .stage, body.dark .ink-progress { opacity: 0 !important; }
body.dark .form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='%23ece9e2'/%3E%3C/svg%3E"); }
body.dark .foot { background: #050505; color: #ece9e2; border-top: 1px solid var(--line); }
body.dark .foot__word { color: #ece9e2; }
body.dark .gallery__item span { background: var(--bg); color: var(--ink); }

/* ── Bloque final con parallax ──────────────────────────── */
.finale-block { position: relative; z-index: 4; height: 260vh; }
.finale-block__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center; padding: 0 var(--gut);
}
.finale-block [data-par-y], .finale-block [data-par-x] { will-change: transform; }
.finale-block__word {
  position: absolute; left: 0; top: 50%; margin: 0; white-space: nowrap; translate: 0 -50%;
  font-weight: 800; letter-spacing: -.06em; line-height: 1; font-size: clamp(120px, 24vw, 420px);
  color: transparent; -webkit-text-stroke: 1px rgba(236, 233, 226, .18);
}
.finale-block__img {
  position: absolute; margin: 0; width: min(38vw, 480px); aspect-ratio: 446 / 505; overflow: hidden; border-radius: 4px;
  right: 8vw; top: 14vh; opacity: 0; transition: opacity 1s;
}
.finale-block__img img { width: 100%; height: 100%; object-fit: cover; }
body.dark .finale-block__img { opacity: 1; }
.finale-block__quote {
  position: relative; margin: 0; justify-self: start; max-width: 14ch;
  font-weight: 800; letter-spacing: -.055em; line-height: .95; font-size: clamp(44px, 7.2vw, 132px);
  color: var(--ink);
}
.fq { display: block; }
.fq--1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; font-style: italic; padding-left: 1.2em; }
.fq--1 em { font-style: italic; }
.finale-block__meta { position: absolute; left: var(--gut); bottom: 6vh; margin: 0; color: var(--muted); }
@media (max-width: 767px) {
  .finale-block__img { width: 70vw; right: 6vw; top: 10vh; }
  .finale-block__quote { align-self: end; margin-bottom: 14vh; }
  .fq--1 { padding-left: .4em; }
}

/* ── Ondas sutiles en el fondo claro ───────────────────── */
.waves { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 1; transition: opacity .9s; }
body.dark .waves { opacity: 0; }
.solid, .foot { isolation: isolate; }
.solid:not(.gallery):not(.contact) { background: transparent; }
body.dark .solid { background: var(--bg); }

/* ── Selector de estilo en chips ───────────────────────── */
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 10px; padding: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 15px; border-radius: 40px; border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s;
}
.chip:hover span { border-color: var(--ink-2); color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

/* ── Tarjetas del blog ─────────────────────────────────── */
.blog-teaser .lead { max-width: 52ch; margin-top: 0; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; padding: 12px 12px 20px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 70%, transparent); transition: border-color .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.card a:hover { border-color: var(--ink-2); transform: translateY(-4px); }
.card figure { margin: 0 0 16px; aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; background: var(--bg-2); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.card a:hover img { transform: scale(1.05); }
.card span { color: var(--muted); font-size: 10.5px; padding: 0 6px; }
.card h3 { margin: 8px 0 8px; padding: 0 6px; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.15; letter-spacing: -.025em; }
.card p { margin: 0 0 16px; padding: 0 6px; color: var(--ink-2); font-size: 15px; line-height: 1.45; flex: 1; }
.card em { font-style: normal; padding: 0 6px; font-size: 11px; color: var(--red); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ── Páginas del blog ──────────────────────────────────── */
.page-blog main { position: relative; z-index: 2; }
.blog-main { padding-top: calc(var(--bar) + 4vh); }
.blog-hero, .blog-list { padding: 4vh 0 8vh; }
.blog-hero .lead { max-width: 50ch; }
.crumbs { color: var(--muted); margin-bottom: 24px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--red); }
.post__head { padding: 4vh 0 3vh; }
.post__title { font-size: clamp(36px, 5.4vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 0 0 20px; max-width: 18ch; }
.post__meta { color: var(--muted); margin: 0; }
.post__img { margin: 0 var(--gut) 6vh; border-radius: 20px; overflow: hidden; max-height: 70vh; aspect-ratio: 16/9; }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__body { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; gap: 48px; padding-bottom: 8vh; }
.prose { font-size: clamp(17px, 1.2vw, 19px); line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.03em; line-height: 1.1; color: var(--ink); margin: 1.8em 0 .6em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.post__faq h2 { font-size: clamp(24px, 2vw, 32px); letter-spacing: -.03em; margin: 0 0 8px; }
.post__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 28px; border-radius: 18px; background: var(--bg-2); }
.post__cta p { flex: 1 1 100%; margin: 0 0 6px; font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.post__related { padding: 8vh 0 10vh; border-top: 1px solid var(--line); }
.post__related .cards { margin: 28px 0 32px; }
body.dark .solid:not(.gallery):not(.contact) { background: var(--bg); }
.form .chip span { font: 400 14px/1.2 var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.form .chip:hover span { color: var(--ink); }
.form .chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ── Título de portada: más aire y "tattoo" debajo ─────── */
.hero__title { letter-spacing: -.005em; font-size: clamp(52px, 12.4vw, 250px); line-height: .86; }
.hero__word { display: block; }
.hero__sub {
  display: block; margin-top: .18em;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: .3em; letter-spacing: .02em; line-height: 1; color: var(--ink-2);
}
.foot__word { letter-spacing: -.005em; font-size: clamp(52px, 12.4vw, 250px); }
@media (max-width: 720px) { .hero__title { font-size: 13.4vw; } .hero__sub { font-size: .34em; } }

/* ── Desplegable de estilo (resalta sobre el fondo negro) ─ */
.dd { position: relative; display: flex; flex-direction: column; gap: 6px; }
.dd__label { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.dd__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 12px 16px; border-radius: 12px; border: 1px solid var(--ink-2);
  background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink);
  font: 500 16px/1.3 var(--sans); text-align: left; transition: border-color .25s, background .25s;
}
.dd__btn:hover, .dd.open .dd__btn { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 11%, transparent); }
.dd__btn i { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .3s; flex: none; }
.dd.open .dd__btn i { transform: translateY(2px) rotate(-135deg); }
.dd__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; margin: 0; padding: 6px; list-style: none;
  background: var(--ink); color: var(--bg); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top; pointer-events: none;
  transition: opacity .2s, transform .25s cubic-bezier(.2,.8,.2,1); outline: none;
}
.dd.open .dd__list { opacity: 1; transform: none; pointer-events: auto; }
.dd__list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 12px; border-radius: 9px; font: 500 15px/1.25 var(--sans); cursor: pointer;
}
.dd__list li.active { background: color-mix(in srgb, var(--bg) 10%, transparent); }
.dd__list li[aria-selected="true"] { color: var(--red); }
.dd__list li[aria-selected="true"]::after { content: '✓'; font-weight: 700; }

/* ── Cards del blog: más diseño ────────────────────────── */
.card a { padding: 0; overflow: hidden; background: var(--bg); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.card figure { margin: 0; border-radius: 0; aspect-ratio: 16/11; }
.card span { padding: 18px 22px 0; display: block; }
.card h3 { padding: 0 22px; margin: 8px 0 10px; font-size: clamp(20px, 1.6vw, 25px); }
.card p { padding: 0 22px; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card em { padding: 0 22px 22px; display: inline-flex; align-items: center; gap: 6px; }
.card a:hover { box-shadow: 0 22px 50px -24px rgba(0,0,0,.35); }
body.dark .card a { background: var(--bg-2); border-color: rgba(236,233,226,.1); }
.blog-list .cards li:first-child { grid-column: span 2; }
.blog-list .cards li:first-child a { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; }
.blog-list .cards li:first-child figure { aspect-ratio: auto; height: 100%; min-height: 340px; }
.blog-list .cards li:first-child h3 { font-size: clamp(26px, 2.6vw, 40px); }
@media (max-width: 1000px) { .blog-list .cards li:first-child { grid-column: span 2; } }
@media (max-width: 640px) {
  .blog-list .cards li:first-child { grid-column: auto; }
  .blog-list .cards li:first-child a { display: flex; }
  .blog-list .cards li:first-child figure { min-height: 0; aspect-ratio: 16/11; }
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card__body span, .card__body h3, .card__body p, .card__body em { padding: 0; }
.card__body span { display: block; }
.card__body p { flex: 1; }
.blog-list .cards li:first-child .card__body { padding: clamp(24px, 3vw, 44px); justify-content: center; }
.dd__btn [data-dd-value] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* ═══ Ajustes 25-11 ═══════════════════════════════════════ */
/* "tattoo" como lettering, encima de la estatua y a la derecha */
.hero__sub { display: none; }
.hero__tattoo {
  position: relative; z-index: 3; margin: -.15em 5vw 0 auto; align-self: flex-end;
  font-family: 'UnifrakturMaguntia', 'Old English Text MT', serif; font-weight: 400;
  font-size: clamp(44px, 7vw, 132px); line-height: 1; color: var(--red);
  transform: rotate(-7deg); transform-origin: right center; letter-spacing: .01em;
  text-shadow: 0 2px 0 rgba(230,228,223,.9), 0 0 24px rgba(230,228,223,.85);
  animation: rise 1.6s .25s cubic-bezier(.2,.8,.2,1) both; pointer-events: none;
}
.hero__tattoo::after {
  content: ''; position: absolute; left: 8%; right: -4%; bottom: .02em; height: .06em;
  background: currentColor; border-radius: 1em; transform: rotate(2deg); opacity: .85;
}
@media (max-width: 720px) { .hero__tattoo { font-size: 15vw; margin: -.05em 4vw 0 auto; } }

/* Bloque final: contorno limpio (fuente estática, sin líneas internas) */
.finale-block { height: 210vh; }
.finale-block__word { font-family: 'Archivo Black', 'Arial Black', sans-serif; font-weight: 400; letter-spacing: -.02em; -webkit-text-stroke: 1.4px rgba(236, 233, 226, .2); }
.fq--1 { margin-top: .22em; }
@media (max-width: 767px) {
  .finale-block { height: 180svh; }
  .finale-block__sticky { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: calc(var(--bar) + 2vh); }
  .finale-block__img { position: relative; right: auto; top: auto; width: 74vw; align-self: flex-end; }
  .finale-block__quote { align-self: stretch; margin: 0; font-size: 11vw; max-width: none; }
  .finale-block__word { top: 38%; font-size: 44vw; }
  .finale-block__meta { position: static; }
}

/* Pie: llamada a la acción visible sobre negro y menos vacío */
.foot { padding: 56px 0 24px; }
.foot__cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(236,233,226,.12); }
.foot__cta p { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 44px); line-height: 1.1; }
.foot__cols { margin: 36px 0 28px; }
body.dark .btn--light, .page-blog .btn--light { border-color: #ece9e2; color: #ece9e2; }
body.dark .btn--light:hover, .page-blog .btn--light:hover { background: #ece9e2; color: #0b0b0b; }

/* Menos espacio vacío entre secciones */
.ink { min-height: 115vh; padding: 12vh var(--gut); }
.solid { padding: clamp(56px, 9vh, 104px) 0; }
.gallery__head { margin-bottom: 28px; }
.ig { margin-top: 40px; }
.post__related { padding: 6vh 0 7vh; }
.blog-hero, .blog-list { padding: 3vh 0 6vh; }
@media (max-width: 767px) {
  .ink { min-height: 125svh; padding: 0 12px 7svh; }
  .solid { padding: 48px 0; }
  .hero { padding-bottom: 18px; }
}
.hero { justify-content: flex-start; }
.hero__foot { margin-top: auto; }

/* ═══ Artículo: título a la izquierda, imagen a la derecha ═══ */
.post__head { padding: 3vh 0 6vh; }
.post__hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.post__title { font-size: clamp(34px, 3.8vw, 66px); max-width: none; }
.post__lead { font-family: var(--serif); font-size: clamp(20px, 1.6vw, 26px); line-height: 1.3; color: var(--ink-2); margin: 0 0 22px; max-width: 34ch; }
.post__head .post__img { margin: 0; aspect-ratio: 4/5; max-height: 76vh; width: 100%; justify-self: end; border-radius: 22px; box-shadow: 0 30px 70px -40px rgba(0,0,0,.45); }
@media (max-width: 900px) {
  .post__hero { grid-template-columns: 1fr; }
  .post__head .post__img { aspect-ratio: 4/3; max-height: none; justify-self: stretch; }
}

/* ═══ Cards del blog compactas en celular ═══ */
@media (max-width: 640px) {
  .cards { gap: 12px; }
  .card a, .blog-list .cards li:first-child a { display: flex; flex-direction: row; align-items: stretch; border-radius: 14px; }
  .card figure, .blog-list .cards li:first-child figure { flex: 0 0 34%; aspect-ratio: auto; min-height: 118px; height: auto; margin: 0; }
  .card__body, .blog-list .cards li:first-child .card__body { padding: 12px 14px; justify-content: center; }
  .card__body span { font-size: 9.5px; }
  .card__body h3, .blog-list .cards li:first-child h3 { font-size: 16px; line-height: 1.2; margin: 6px 0 8px; }
  .card__body p { display: none; }
  .card__body em { font-size: 10px; }
  .card a:hover { transform: none; }
}

/* ═══ Botón flotante de WhatsApp ═══════════════════════════ */
.wa-float {
  position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 70;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px;
  border-radius: 40px; background: #25d366; color: #0b2e17; text-decoration: none;
  font: 600 14px/1 var(--sans); letter-spacing: .01em;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.04);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
  animation: wa-in .8s 1.2s cubic-bezier(.2,.8,.2,1) both;
}
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -10px rgba(0,0,0,.45); }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366;
  animation: wa-pulse 2.6s 2s infinite; pointer-events: none;
}
@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes wa-pulse { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
@media (max-width: 640px) { .wa-float { padding: 14px; } .wa-float span { display: none; } .wa-float svg { width: 28px; height: 28px; } }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float::before { animation: none; } }

/* ═══ Página de gracias ════════════════════════════════════ */
.thanks { padding: 6vh 0 10vh; }
.thanks .display { margin: 8px 0 18px; }
.thanks .lead { max-width: 44ch; margin: 0 0 28px; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8vh; }
.thanks .h2 { margin-bottom: 24px; }

/* ═══ Formulario v2 ═══════════════════════════════════════ */
.req { font-style: normal; color: var(--red); margin-left: 2px; }
.form input:user-invalid { border-bottom-color: var(--red); }
.dd__list { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.dd__list li .flag, .dd__btn .flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.dd--country .dd__list li { justify-content: flex-start; gap: 10px; }
.dd--country .dd__list li b { margin-left: auto; font-weight: 500; opacity: .7; }
.dd--country .dd__list li[aria-selected="true"]::after { content: none; }
.dd--country .dd__btn [data-dd-value] { display: inline-flex; align-items: center; gap: 8px; }
.dd--country .dd__btn .c-name { display: none; }
.dd--country .dd__btn b { font-weight: 600; }
.phone { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: stretch; }
.dd--country { min-width: 118px; }
.dd--country .dd__list { width: min(320px, 82vw); right: auto; }
.form .phone__num { border: 1px solid var(--ink-2); border-radius: 12px; padding: 12px 14px; letter-spacing: .04em; }
.form .phone__num:focus { border-color: var(--ink); }
.phone-field, .size-field, .dates-field { display: flex; flex-direction: column; gap: 6px; }
.size-pair, .date-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.size-pair .dd__label { font-size: 9.5px; }
.date-pair label { gap: 6px; }
.form input[type="date"] { color-scheme: dark; border: 1px solid var(--ink-2); border-radius: 12px; padding: 11px 14px; cursor: pointer; font: 500 15px/1.3 var(--sans); }
.form input[type="date"]:focus { border-color: var(--ink); }

/* ═══ Onda al hacer clic (PC) ═════════════════════════════ */
.click-ripple {
  position: fixed; z-index: 95; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1.5px solid #fff; mix-blend-mode: difference; pointer-events: none;
  animation: click-ripple .6s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes click-ripple { from { transform: scale(.2); opacity: .95; } to { transform: scale(1.6); opacity: 0; } }

/* ═══ "tattoo" en serif didona, debajo de "florez" ════════ */
.hero__brand { position: relative; align-self: center; width: fit-content; }
.hero__tattoo {
  position: absolute; z-index: 3; right: .02em; top: 100%; margin: 0;
  font-family: 'Playfair Display', 'Bodoni Moda', Didot, 'Times New Roman', serif; font-weight: 500;
  font-size: clamp(40px, 6.4vw, 124px); line-height: .9; letter-spacing: -.035em;
  color: var(--ink); transform: none; text-shadow: none;
  display: flex; align-items: flex-start; gap: .08em;
  animation: rise 1.6s .25s cubic-bezier(.2,.8,.2,1) both;
}
.hero__tattoo::after { content: none; }
.hero__spark { width: .32em; height: .32em; color: var(--red); margin-top: .12em; flex: none; }
@media (max-width: 720px) { .hero__tattoo { font-size: 12vw; top: 98%; } }

/* ═══ Ajustes laptop ══════════════════════════════════════ */
/* pie: la "g" de diegoflorez ya no pisa el texto legal */
.foot__word { line-height: .95; padding-bottom: .06em; margin-bottom: 12px; }
.foot__legal { position: relative; z-index: 1; }
/* paneles de la sección blanca un poco más compactos */
.ink__panel { width: min(560px, 100%); padding: clamp(24px, 2.4vw, 38px); }
.ink .h2 { font-size: clamp(32px, 3.7vw, 60px); }
.ink p { font-size: clamp(15px, 1.05vw, 17px); }
.thumbs { gap: 6px; margin: 14px 0; }
.steps li { padding: 11px 0; }
@media (max-height: 820px) and (min-width: 768px) {
  .ink__panel { width: min(500px, 100%); }
  .ink .h2 { font-size: clamp(30px, 3.2vw, 50px); margin-bottom: 14px; }
}
/* botón de WhatsApp más arriba en PC */
@media (min-width: 768px) { .wa-float { bottom: 72px; } }
