/* Albi Tattoo & Piercing · concept by KERA Tech Solutions
   Rebuilt section by section on the La Tatuajería layout (BDO Grotesk + Overpass Mono + a swash display face).
   Accent moved from the reference's red to the studio's own turquoise. */

@font-face { font-family: "BDO Grotesk"; src: url("../fonts/bdo-grotesk-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "BDO Grotesk"; src: url("../fonts/bdo-grotesk-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "BDO Grotesk"; src: url("../fonts/bdo-grotesk-demibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "BDO Grotesk"; src: url("../fonts/bdo-grotesk-black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --bg: #000;
  --fg: #fff;
  --accent: #14d8b8;      /* the studio's turquoise walls, pushed to neon */
  --tint: #0aae91;        /* duotone base for the tinted photos */
  --ink2: #171717;
  --line: #272727;
  --grey: #5c5b5b;
  --bdo: "BDO Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Overpass Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gw: "Elsie Swash Caps", "Didot", "Bodoni 72", Georgia, serif;
  --ho: 120px;                                      /* hero top offset (reference header + spacing) */
  --hero-h: max(calc(85vh + 100px), calc(36vw + 170px));
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--mono); font-weight: 300; font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
.faq, .hero-wrap, .qc, .team, .relleno { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sr-focus:focus { position: fixed !important; left: 16px; top: 72px; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; z-index: 300; background: #fff; color: #000; padding: 10px 14px; font-size: 13px; text-transform: uppercase; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 400; background: #fff; color: #000; padding: 10px 14px; font-size: 13px; text-transform: uppercase; }
.skip:focus { top: 12px; }
.gw { font-family: var(--gw); font-weight: 900; text-transform: uppercase; }

/* intro cover: black fade like the reference (CSS only, so it never sticks if JS fails) */
html.js body::before { content: ""; position: fixed; inset: 0; background: #000; z-index: 10000; pointer-events: none; animation: cover .5s ease .5s forwards; }
@keyframes cover { to { opacity: 0; visibility: hidden; } }
@keyframes rotate { to { transform: rotate(360deg); } }

/* custom tattoo-machine cursor (fine pointers only) */
html.cur, html.cur body, html.cur a, html.cur button { cursor: none; }
.cursor { position: fixed; left: 0; top: 0; width: 64px; height: 48px; pointer-events: none; z-index: 9999; color: #fff; transform: translate3d(-200px, -200px, 0); transition: color .2s, opacity .2s; }
.cursor svg { width: 64px; height: 48px; display: block; }
.cursor.is-link { color: var(--accent); }
.cursor.is-off { opacity: 0; }

/* ---------------- header ---------------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px; color: #fff; mix-blend-mode: difference; pointer-events: none;
}
.hdr > *, .hdr-right > * { pointer-events: auto; }
.hdr-logo { display: inline-block; }
.hdr-logo span { display: inline-block; font-family: var(--bdo); font-weight: 900; font-size: 21px; line-height: 1; letter-spacing: -.01em; transform: scaleX(1.22); transform-origin: left center; white-space: nowrap; }
.hdr-right { display: flex; align-items: center; }
.hdr-addr { font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .3px; text-transform: uppercase; text-align: right; max-width: 230px; margin-right: 3.4vw; }
.lang { display: flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 12px; letter-spacing: .3px; margin-right: 28px; }
.lang-btn { opacity: .45; transition: opacity .2s; padding: 4px 2px; }
.lang-btn[aria-pressed="true"], .lang-btn:hover { opacity: 1; }
.hdr-book { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: .3px; text-transform: uppercase; margin-right: 26px; }
.hdr-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); transition: transform .3s; }
.hdr-book:hover .hdr-dot { transform: scale(1.6); }
.hdr-menu { font-family: var(--bdo); font-weight: 500; font-size: 21px; line-height: 1; text-transform: uppercase; padding: 10px 0 10px 15px; }

/* ---------------- menu panel ---------------- */
.menu {
  position: fixed; inset: 0; z-index: 120; background: #000; overflow-y: auto;
  transform: translateX(-100%); visibility: hidden;
  transition: transform .8s cubic-bezier(.77, 0, .18, 1), visibility 0s linear .8s;
}
.menu.is-open { transform: none; visibility: visible; transition: transform .8s cubic-bezier(.77, 0, .18, 1); }
.menu-top { display: flex; align-items: center; gap: 24px; height: 62px; padding: 0 64px; }
.menu-top .lang { margin-left: auto; margin-right: 12px; }
.menu-close { font-family: var(--bdo); font-weight: 500; font-size: 21px; text-transform: uppercase; padding: 10px 0; }
.menu-nav { padding: 7vh 64px 0; position: relative; z-index: 1; }
.menu-nav ul { list-style: none; margin: 0; padding: 0; }
.menu-nav li { overflow: hidden; margin-bottom: 14px; }
.menu-link:focus-visible { outline-offset: -4px; }
.menu-link { display: inline-block; font-family: var(--bdo); font-weight: 500; font-size: 96px; line-height: 106px; text-transform: uppercase; }
.menu-rrss { display: flex; gap: 24px; padding: 5vh 64px 48px; position: relative; z-index: 1; }
.menu-rrss a { font-family: var(--mono); font-size: 14px; line-height: 24px; letter-spacing: .35px; text-transform: uppercase; }
.menu-rrss a:hover { color: var(--accent); }
.menu-media { position: absolute; right: 64px; top: 62px; bottom: 0; width: 30vw; max-width: 460px; display: flex; align-items: center; pointer-events: none; }
.menu-media img { width: 100%; aspect-ratio: 1159 / 1600; object-fit: cover; }

/* ---------------- 3D letter flip (buttons + menu) ---------------- */
.t3d { display: inline-block; position: relative; line-height: 1; overflow: hidden; vertical-align: top; }
.t3d .t3d-a, .t3d .t3d-b { display: block; white-space: nowrap; transform-style: preserve-3d; perspective: 5em; }
.t3d .t3d-b { position: absolute; left: 0; top: 0; }
.t3d .ch { display: inline-block; will-change: transform; transform-style: preserve-3d; transition: transform .35s; transition-delay: calc(.035s * var(--i)); transform-origin: bottom; }
.t3d .t3d-b .ch { transform-origin: top; transform: translate3d(0, 120%, 0) rotateX(-90deg); }
.btn:hover .t3d-a .ch, .btn:focus-visible .t3d-a .ch, .menu-link:hover .t3d-a .ch, .menu-link:focus-visible .t3d-a .ch { transform: translate3d(0, -120%, 0) rotateX(90deg); }
.btn:hover .t3d-b .ch, .btn:focus-visible .t3d-b .ch, .menu-link:hover .t3d-b .ch, .menu-link:focus-visible .t3d-b .ch { transform: translate3d(0, 0, 0) rotateX(0); }

/* primary pill button (reference .boton-primario) */
.btn {
  position: relative; display: inline-flex; align-items: center;
  font-family: var(--mono); font-weight: 300; font-size: 14px; letter-spacing: .35px; text-transform: uppercase;
  background: var(--ink2); color: #fff; border-radius: 30px; padding: 22px 30px 22px 56px; line-height: 1;
}
.btn .dot { position: absolute; left: 1.5rem; top: 50%; margin-top: -.375rem; width: .75rem; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #000; display: flex; align-items: center; justify-content: center; font-size: 15px; line-height: 1; transition: width .5s, left .5s, margin-top .5s; }
.btn .dot > span { position: absolute; opacity: 0; visibility: hidden; transition: .2s; }
.btn:hover .dot, .btn:focus-visible .dot { width: 2.25rem; left: .75rem; margin-top: -1.125rem; }
.btn:hover .dot > span, .btn:focus-visible .dot > span { opacity: 1; visibility: visible; }

/* slide-from-below + fade-in helpers (reference .scroll-slide-bot / .scroll-fade-in) */
.ssb { overflow: hidden; display: flex; width: max-content; max-width: 100%; line-height: 1.2; vertical-align: top; }
.ssb-c { display: flex; line-height: 1.2; }

/* ---------------- HERO ---------------- */
.hero-wrap { position: relative; }
.hero { position: relative; height: var(--hero-h); z-index: 1; }
.hero-name { position: absolute; left: 0; right: 0; top: calc(var(--ho) + 1.25vw); text-align: center; color: var(--accent); font-size: clamp(2rem, 9vw, 12rem); line-height: 1; white-space: nowrap; pointer-events: none; }
.hero-name .gw { display: inline-block; }
.hero-white { font-family: var(--bdo); font-weight: 500; text-transform: uppercase; color: #fff; font-size: 12.8vw; line-height: 12.8vw; letter-spacing: -.035em; }
.hero-enter { overflow: hidden; display: block; }
.hero-enter-child { display: block; }
.hero-white .tatto { position: absolute; left: 32vw; top: calc(var(--ho) + 7vw); }
.hero-white .studio { position: absolute; left: 14vw; top: calc(var(--ho) + 18.3vw); }
.hero-slot { position: absolute; top: calc(var(--ho) + 20.3vw - 20px); right: 16vw; width: 18vw; aspect-ratio: 16 / 9; }
.video-text { position: absolute; right: 16vw; top: calc(var(--ho) + 20.3vw - 20px + 10.125vw + 10px); font-family: var(--bdo); font-weight: 500; font-size: 1.7vw; line-height: 1.2; text-transform: uppercase; color: #fff; transition: color .4s; }
.video-text.is-dark { color: #000; }

.hero-bottom { position: absolute; left: 0; right: 0; top: var(--hero-h); transform: translateY(-100%); display: grid; grid-template-columns: 1fr 1fr; align-items: end; z-index: 3; pointer-events: none; }
.hero-bottom a { pointer-events: auto; }
.hb-left { padding-left: 64px; }
.hb-left h1, .hb-left p { font-family: var(--mono); font-weight: 300; font-size: 12px; line-height: 18px; letter-spacing: .3px; text-transform: uppercase; color: #fff; }
.hb-name { margin-bottom: 30px; }
.hb-based { display: none; }
.hb-right { display: flex; justify-content: flex-end; padding: 0 64px 10px 0; }
.badge { position: relative; display: block; width: 169px; height: 169px; }
.badge-ring { width: 100%; height: 100%; animation: rotate 30s linear infinite; overflow: visible; }
.badge-ring text { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.2px; fill: #9a9a9a; text-transform: uppercase; }
.badge-core { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--gw); font-weight: 900; font-size: 46px; color: #8c8c8c; transition: color .3s; }
.badge:hover .badge-core { color: var(--accent); }

.video-full { position: relative; width: 100%; aspect-ratio: 16 / 9; z-index: 2; }
.hero-media { position: absolute; inset: 0; overflow: hidden; transform-origin: 0 0; will-change: transform; }
.hero-media-in { width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- LET THE INK FLOW ---------------- */
.qc { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin-top: 280px; height: 82vw; min-height: 1080px; }
.qc-col { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.qc-title { display: flex; flex-direction: column; align-items: center; font-family: var(--bdo); font-weight: 500; font-size: 7.9vw; line-height: 9.9vw; text-transform: uppercase; color: #fff; }
.qc-title .ssb { margin: 0 auto; }
.qc-script { font-size: .76em; line-height: 1.1em; display: block; }
.qc-text { font-family: var(--mono); font-weight: 300; font-size: 12px; line-height: 18px; letter-spacing: .3px; text-transform: uppercase; color: #fff; max-width: min(460px, 100%); margin: 30px auto 0; }
.qc-text .ssb-c, .qc-text.ssb-c, .qc-text > .ssb-c { display: block; max-width: 398px; line-height: 18px; }
.qc-quote .ssb-c { color: #d6d6d6; }
.qc-quote cite { font-style: normal; color: var(--accent); white-space: nowrap; }
.qc-rating { margin: 34px auto 0; font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .3px; text-transform: uppercase; }
.qc-rating a { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid #3a3a3a; padding-bottom: 3px; transition: border-color .3s; }
.qc-rating a:hover { border-color: var(--accent); }
.star { width: 13px; height: 13px; background: var(--accent); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.qc-btn { margin-top: 44px; }
.qc-imgs { position: absolute; left: 0; top: 50%; width: 100%; height: 0; z-index: 0; }
.qc-imgs .qc-fig { position: absolute; }
.f1 { left: 12vw; bottom: 22vh; width: 15.5vw; aspect-ratio: 223 / 295; }
.f2 { right: 3vw; bottom: 11vh; width: 23vw; aspect-ratio: 331 / 457; }
.f3 { left: 3.4vw; top: 1vh; width: 23vw; aspect-ratio: 1; }
.f4 { right: 23vw; top: 10vw; width: 15.4vw; aspect-ratio: 222 / 295; }

/* duotone frames (reference: red-tinted photos; here the studio turquoise) */
.tint { background: var(--tint); overflow: hidden; position: relative; }
.tint img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.12); mix-blend-mode: multiply; }

/* ---------------- MANIFESTO ---------------- */
.relleno { display: flex; justify-content: space-between; align-items: flex-start; padding-left: max(16px, calc((100vw - 1400px) / 2)); position: relative; }
.mani { font-family: var(--bdo); font-weight: 500; font-size: 6.4vw; line-height: 7vw; text-transform: uppercase; color: #fff; margin-bottom: 7.03vw; position: relative; z-index: 1; }
.mani .line { display: block; }
.mani .content { display: inline-flex; align-items: center; position: relative; overflow: hidden; height: 7vw; white-space: nowrap; }
.mani .mask { position: absolute; top: 0; left: 0; width: 100%; height: 115%; background: #000; opacity: .65; pointer-events: none; transform-origin: 100% 50%; }
.ilustracion { flex: none; width: 23.3vw; margin: 0 4.4vw 0 0; position: relative; }
.ilustracion img { width: 100%; }
.ilustracion p { margin-top: 44px; text-align: right; font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .3px; text-transform: uppercase; color: #fff; }

/* ---------------- WORK: rotated tile grid ---------------- */
.work { position: relative; }
.tiles { position: relative; overflow: hidden; height: 54.84vw; margin-top: 3vw; cursor: pointer; }
html.cur .tiles { cursor: none; }
.tiles-wrap { position: absolute; left: 50%; top: 50%; width: 216vw; transform: translate(-50%, -50%) rotate(45deg); }
.tiles-line { display: flex; will-change: transform; }
.tile { flex: none; position: relative; overflow: hidden; width: 50vw; height: 32vw; margin: 2vw; background: #0d0d0d; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.19, 1, .22, 1); }
.tile:hover img { transform: scale(1.07); }
.cmouse { position: fixed; left: 0; top: 0; width: 142px; height: 142px; margin: -71px 0 0 -71px; border-radius: 50%; background: rgba(255, 255, 255, .04); -webkit-backdrop-filter: blur(33px); backdrop-filter: blur(33px); display: flex; align-items: center; justify-content: center; text-align: center; pointer-events: none; z-index: 60; opacity: 0; transition: opacity .25s; }
.cmouse.on { opacity: 1; }
.cmouse span { font-family: var(--mono); font-size: 12px; line-height: 18px; text-transform: uppercase; color: #fff; padding: 0 20px; }

/* ---------------- SERVICES (team layout) ---------------- */
.team { display: flex; flex-direction: column; row-gap: 116px; margin: 8vw 2.64vw 0; }
.team-title { display: flex; flex-direction: column; align-items: center; font-family: var(--bdo); font-weight: 500; font-size: 7.8vw; line-height: 10.8vw; text-transform: uppercase; color: #fff; margin-bottom: -1vw; }
.tt-script { font-size: .76em; line-height: 1.1em; display: block; }
.svc { position: relative; }
.svc-img { width: 40vw; max-width: 40vw; }
.svc .tint { aspect-ratio: 576 / 715; }
.svc .tint.land { aspect-ratio: 576 / 436; }
.svc.n4 .tint { aspect-ratio: 576 / 720; }
.leyend { font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .3px; text-transform: uppercase; color: #fff; margin: 28px 0 0 16px; }
.svc-name { position: absolute; z-index: 2; font-family: var(--bdo); font-weight: 500; font-size: 5.6vw; line-height: 6vw; text-transform: uppercase; color: #fff; width: min-content; }
.svc-name h3 { font: inherit; text-transform: inherit; }
.svc-name .ssb { white-space: nowrap; }
.svc-name .dt { display: block; font-size: .86em; line-height: 1.6em; white-space: nowrap; }
.svc.bottom .svc-name { left: calc((100vw - 529px) / 2); bottom: 98px; }
.svc.reverse { display: flex; flex-direction: row-reverse; align-items: flex-end; }
.svc.reverse.mid .svc-name { top: 50%; right: 39vw; left: auto; transform: translateY(-50%); }
.svc.reverse.semitop .svc-name { top: 22vh; right: 28.9vw; left: auto; width: 100%; max-width: 37vw; }

/* ---------------- FAQ ---------------- */
.faq { margin: 150px 0 120px; padding: 0 48px; }
.faq-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 50px; }
.faq-title { font-family: var(--bdo); font-weight: 500; font-size: 150px; line-height: 1; color: var(--accent); text-transform: uppercase; }
.disco { position: relative; z-index: 10; display: block; width: 326px; flex: none; }
.vinyl { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #111; animation: rotate 30s linear infinite; box-shadow: 0 0 0 1px #1d1d1d; }
.vinyl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vinyl::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, .3) 2px 3px), radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 0 28%, rgba(0, 0, 0, .35) 62%, rgba(0, 0, 0, .65) 100%); }
.vinyl-label { position: absolute; left: 33%; top: 33%; width: 34%; height: 34%; z-index: 2; border-radius: 50%; background: var(--accent); color: #000; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--gw); font-weight: 900; font-size: 15px; line-height: 1.05; text-transform: uppercase; }
.vinyl-label::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #000; }
.faq-list { margin-top: -84px; position: relative; }
.faq-item { border: 2px solid var(--accent); margin-bottom: 5px; padding: 26px 36px 31px 16px; transition: background-color .2s ease; }
.faq-item h3 { font: inherit; }
.faq-q { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; width: 100%; text-align: left; }
.pregunta { display: flex; gap: 64px; font-family: var(--bdo); font-weight: 600; font-size: 48px; line-height: 58px; color: var(--accent); text-transform: uppercase; }
.pregunta .num { flex: none; min-width: 52px; }
.pregunta .xs { font-family: var(--bdo); font-weight: 400; font-size: 18px; line-height: 28px; margin-left: 16px; vertical-align: super; }
.ico { flex: none; position: relative; width: 47px; height: 47px; margin-top: 14px; }
.ico::before, .ico::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 6px; margin-top: -3px; background: var(--accent); transition: transform .3s; }
.ico::after { transform: rotate(90deg); }
.faq-item.is-open { background: var(--accent); }
.faq-item.is-open .pregunta, .faq-item.is-open .faq-a { color: #000; }
.faq-item.is-open .ico::before { background: #000; }
.faq-item.is-open .ico::after { transform: rotate(0); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; color: var(--accent); }
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { font-family: var(--bdo); font-weight: 400; font-size: 16px; line-height: 23px; text-transform: uppercase; margin: 24px 0 0 138px; max-width: 980px; }
.faq-a a { text-decoration: underline; text-underline-offset: 3px; }
.faq-q:hover .pregunta .q > span:first-child { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------------- CTA ---------------- */
.cta { position: relative; overflow: hidden; padding: 160px 0 120px; min-height: 680px; }
.cta-art { position: absolute; right: 6vw; bottom: -6%; height: 112%; width: auto; max-width: none; transform-origin: 100% 100%; pointer-events: none; }
.cta-in { position: relative; z-index: 1; padding-inline: 16px; }
.cta-xl { font-family: var(--bdo); font-weight: 500; font-size: 150px; line-height: 150px; max-width: 1200px; margin-bottom: 60px; text-transform: uppercase; color: #fff; }
.cta-xl .ssb.inl { display: inline-flex; vertical-align: baseline; }
.cta-script { display: inline-block; font-size: 1em; line-height: 1.6em; color: var(--accent); }
.cta-normal { font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .3px; text-transform: uppercase; }
.cta-normal a { border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.cta-normal a:hover { border-color: #fff; }

/* ---------------- FOOTER ---------------- */
.foot { border-top: 1px solid var(--line); padding: 95px 16px 12px; }
.foot-grid { display: grid; grid-template-columns: 40% 27% 19% 14%; margin-bottom: 100px; }
.gi { display: flex; flex-direction: column; align-items: flex-start; }
.cita { font-family: var(--bdo); font-weight: 500; font-size: 33px; line-height: 46px; text-transform: uppercase; margin-bottom: 36px; }
.botones { display: flex; flex-wrap: wrap; gap: 16px; }
.col-heading { font-family: var(--bdo); font-weight: 500; font-size: 15px; line-height: 22px; text-transform: uppercase; margin-bottom: 24px; }
.gi > a:not(.btn), .col-text { position: relative; font-family: var(--mono); font-style: normal; font-weight: 300; font-size: 14px; line-height: 20px; letter-spacing: .35px; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.col-text.dim { color: #8d8d8d; font-size: 12px; line-height: 18px; }
.gi > a:not(.btn)::after { content: ""; position: absolute; width: 0; height: 1px; bottom: -2px; left: 50%; background: #fff; transition: width .3s ease, left .3s ease; }
.gi > a:not(.btn):hover::after { width: 100%; left: 0; }
.foot-xxl { font-family: var(--gw); font-weight: 900; font-size: 14.6vw; line-height: 1.02; text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden; }
.foot-xxl span { background: linear-gradient(165deg, #9b9b9b 0%, #6a6a6a 30%, #3b3b3b 62%, #1d1d1d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-bottom { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 40px; margin-top: 44px; font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .3px; text-transform: uppercase; color: #fff; }
.foot-bottom a { color: #9a9a9a; transition: color .3s; }
.foot-bottom a:hover { color: var(--accent); }
.foot-lang { display: flex; justify-content: center; margin: 44px auto 30px; }
.foot-lang .lang-btn { opacity: 1; background: #fff; color: #000; font-family: var(--mono); font-weight: 300; font-size: 16px; padding: 4px 12px; }
.foot-lang .lang-btn[aria-pressed="true"] { font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- WhatsApp card (reference chat widget) ---------------- */
.wa-widget { position: fixed; left: 10px; bottom: 20px; z-index: 70; font-family: Helvetica, Arial, sans-serif; }
.wa-card { width: 260px; background: #fff; overflow: hidden; margin-bottom: 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); transform-origin: 0 100%; transition: opacity .3s, transform .3s, visibility .3s; }
.wa-head { background: #25d366; color: #fff; padding: 13px 12px; font-size: 13px; line-height: 18px; }
.wa-body { display: flex; align-items: center; gap: 12px; padding: 10px 12px 12px; color: #333; }
.wa-ava { flex: none; width: 50px; height: 50px; border-radius: 50%; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--gw); font-weight: 900; font-size: 26px; }
.wa-who { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.wa-who strong { font-weight: 400; font-size: 15px; color: #333; }
.wa-st { font-size: 11px; color: #1e7f37; }
.wa-st::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1e9e3f; margin-right: 4px; vertical-align: 0; }
.wa-go { flex: none; font-size: 11px; border: 1px solid #1e7f37; color: #111; border-radius: 3px; padding: 4px 7px; transition: background .2s, color .2s; }
.wa-go:hover { background: #1e7f37; color: #fff; }
.wa-toggle { width: 45px; height: 45px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.wa-toggle svg { width: 22px; height: 22px; }
.wa-toggle .wa-ic { display: none; width: 27px; height: 27px; }
.wa-widget[data-open="false"] .wa-card { opacity: 0; visibility: hidden; transform: translateY(12px) scale(.92); pointer-events: none; }
.wa-widget[data-open="false"] .wa-x { display: none; }
.wa-widget[data-open="false"] .wa-ic { display: block; }

/* concept toast */
.toast { position: fixed; left: 68px; bottom: 20px; z-index: 80; max-width: 340px; background: #171717; color: #fff; border: 1px solid #2d2d2d; padding: 12px 42px 12px 14px; font-family: var(--mono); font-size: 12px; line-height: 17px; letter-spacing: .2px; box-shadow: 0 6px 24px rgba(0, 0, 0, .4); }
.toast[hidden] { display: none; }
.toast-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; font-size: 13px; color: #bbb; }
.toast-x:hover { color: var(--accent); }
.wa-widget[data-open="true"] ~ .toast { left: 286px; }

/* back to top */
.totop { position: fixed; right: 20px; bottom: 57px; z-index: 70; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .02); -webkit-backdrop-filter: blur(33px); backdrop-filter: blur(33px); display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.totop.show { opacity: 1; visibility: visible; }
.totop svg { width: 20px; height: 20px; }
.totop:hover { color: var(--accent); }

/* =========================================================
   Breakpoints (reference: 1875 / 1440 / 1380 / 1025 / 817 / 768 / 500)
   ========================================================= */
@media (min-width: 1729px) {
  .cta-in { margin-left: calc((100vw - 1710px) / 2); }
}
@media (max-width: 1440px) {
  .faq-title { font-size: 120px; }
  .disco { width: 260px; }
}
@media (min-width: 818px) and (max-width: 1439.9px) {
  .svc-img { width: calc((100vw - 300px) / 2); max-width: calc((100vw - 300px) / 2); }
  .svc.bottom.n1 .svc-name { bottom: 22vh; left: 33.8vw; }
  .svc.reverse.mid .svc-name { top: 34vh; right: 35vw; transform: none; }
  .svc.bottom.n3 .svc-name { left: 33vw; top: 10vh; bottom: auto; }
  .svc.reverse.semitop .svc-name { top: 22vh; right: 29.5vw; }
}
@media (max-width: 1439.9px) {
  .cta-xl { font-size: 120px; line-height: 120px; max-width: 1100px; }
}
@media (max-width: 1229.9px) {
  .disco { width: 240px; }
  .faq-list { margin-top: -71px; }
}
@media (max-width: 1200px) {
  .faq-title { font-size: 80px; }
}
@media (max-width: 1119.9px) {
  .cta-xl { font-size: 100px; line-height: 100px; max-width: 800px; }
  .pregunta { font-size: 36px; line-height: 46px; }
  .faq-a p { margin-left: 70px; max-width: 75vw; }
}

/* ---- tablet + mobile hero (reference switches at 1025) ---- */
@media (max-width: 1025.9px) {
  :root { --ho: 0px; }
  .hero-wrap { display: flex; flex-direction: column; padding-top: calc(62px + 6vw); }
  .hero { height: 41vw; order: 1; }
  .hero-name { top: 1vw; font-size: 11vw; }
  .hero-white { font-size: 13vw; line-height: 12vw; letter-spacing: -.03em; }
  .hero-white .tatto { left: 53.5vw; top: 10.5vw; transform: translateX(-50%); }
  .hero-white .studio { left: 45.5vw; top: 21.8vw; transform: translateX(-50%); }
  .hero-slot, .video-text, .hb-right { display: none; }
  .video-full { order: 2; width: auto; margin: 6vw 16px 0; aspect-ratio: 4 / 3; }
  .hero-media { transform: none !important; }
  .hero-bottom { order: 3; position: static; transform: none; display: block; text-align: center; padding: 40px 16px 0; }
  .hb-left { padding: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .hb-based { display: block; font-family: var(--bdo) !important; font-weight: 500 !important; font-size: 17px !important; line-height: 24px !important; }
  .hb-left h1 { font-size: 14px; line-height: 21px; max-width: 30ch; }
  .hb-name { display: none; }

  .qc { height: auto; min-height: 0; margin-top: 110px; display: grid; grid-template-columns: minmax(0, 1fr); padding: 0 16px; }
  .qc-imgs { display: contents; }
  .qc-imgs .qc-fig { position: relative; inset: auto; }
  .f1 { grid-area: 1 / 1; width: 21.8vw; justify-self: start; align-self: center; }
  .f2 { grid-area: 1 / 1; width: 42.1vw; justify-self: end; }
  .qc-col { grid-area: 2 / 1; margin: 11vw 0 15vw; min-width: 0; }
  .f3 { grid-area: 3 / 1; width: 42.1vw; justify-self: start; }
  .f4 { grid-area: 3 / 1; width: 21.8vw; justify-self: end; align-self: center; }
  .relleno { padding-top: 14vw; }

  .faq-head { margin-bottom: 40px; }
  .faq-title { font-size: 55px; }
  .disco { width: 200px; }
}
@media (max-width: 1024px) {
  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .gi-cita { grid-column: 1 / -1; }
  .pregunta { font-size: 31px; line-height: 41px; gap: 32px; }
}
@media (max-width: 930px) {
  .cta { padding: 110px 0 90px; min-height: 0; }
  .cta-xl { font-size: 13.5vw; line-height: 13.5vw; }
  .cta-art { height: 90%; right: -4vw; bottom: -4%; opacity: .7; }
}
@media (max-width: 959px) {
  .menu-link { font-size: 80px; line-height: 90px; }
  .menu-media { display: none; }
}
@media (max-width: 860px) {
  .hdr { padding: 0 16px; }
  .hdr-addr { display: none; }
  .menu-top, .menu-nav, .menu-rrss { padding-left: 16px; padding-right: 16px; }
}

/* ---- services stack under 818 ---- */
@media (max-width: 817.9px) {
  .team { margin: 22vw 16px 0; row-gap: 80px; }
  .team-title { font-size: 55px; line-height: 70px; align-items: flex-start; }
  .svc, .svc.reverse { display: flex; flex-direction: column; align-items: stretch; }
  .svc-img { width: 100%; max-width: none; }
  .svc-name, .svc.bottom .svc-name, .svc.reverse.mid .svc-name, .svc.reverse.semitop .svc-name { position: static; transform: none; width: auto; max-width: none; margin-top: 22px; font-size: 12.5vw; line-height: 12.5vw; order: -1; }
  .svc-name .dt { line-height: 1.5em; }
  .leyend { margin: 18px 0 0; }
}

@media (max-width: 768px) {
  .mani { font-size: 10.4vw; line-height: 11vw; }
  .mani .content { height: 11.8vw; }
  .ilustracion { display: none; }
  .qc-title { font-size: 9.2vw; line-height: 8.4vw; }
  .faq { padding: 0 16px; margin: 110px 0 90px; }
  .faq-item { padding: 22px 16px 20px 18px; }
  .pregunta { flex-direction: column; gap: 0; font-size: 18px; line-height: 26px; }
  .pregunta .num { display: none; }
  .pregunta .xs { display: block; margin: 4px 0 0; font-size: 13px; line-height: 18px; vertical-align: baseline; }
  .ico { width: 23px; height: 23px; margin-top: 2px; }
  .ico::before, .ico::after { height: 3px; margin-top: -1.5px; }
  .faq-a p { margin: 16px 0 0; max-width: none; font-size: 14px; line-height: 21px; }
  .disco { width: 180px; }
  .faq-list { margin-top: -50px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cita { font-size: 28px; line-height: 40px; }
}
@media (max-width: 600px) {
  .hdr-book { display: none; }
  .lang { margin-right: 18px; }
  .menu-link { font-size: 55px; line-height: 65px; }
  .menu-top .lang { margin-right: 4px; }
  .toast { left: 64px; right: 12px; max-width: none; }
  .wa-widget[data-open="true"] ~ .toast { left: 12px; bottom: 214px; }
}

/* ---- small phones (reference ≤500 rules) ---- */
@media (max-width: 500px) {
  .hero-wrap { padding-top: calc(62px + 8vw); }
  .hero { height: 52vw; }
  .hero-name { top: 0; font-size: 12.4vw; }
  .hero-white { font-size: 19.2vw; line-height: 19vw; }
  .hero-white .tatto { top: 12vw; }
  .hero-white .studio { top: 30vw; }
  .video-full { margin-top: 12vw; }
  .qc { margin-top: 90px; }
  .qc-title { font-size: 11vw; line-height: 11vw; }
  .f1, .f4 { width: 30vw; }
  .f2, .f3 { width: 50vw; }
  .qc-col { margin: 16vw 0 20vw; }
  .tiles { height: 128vw; margin-top: 10vw; }
  .tiles-wrap { width: 304vw; }
  .tile { width: 70vw; height: 45vw; margin: 3vw; }
  .faq-title { font-size: 12vw; }
  .disco { width: 25vw; }
  .faq-list { margin-top: -10vw; }
}
@media (max-width: 424.9px) {
  .mani { font-size: 9.4vw; line-height: 10vw; }
  .mani .content { height: 12.8vw; }
}
@media (max-width: 376.9px) {
  .team-title { font-size: 14vw; line-height: 18vw; }
}

/* ---- reduced motion: everything visible, nothing spins ---- */
@media (prefers-reduced-motion: reduce) {
  html.js body::before { display: none; }
  .badge-ring, .vinyl { animation: none; }
  .mani .mask, .video-text { display: none; }
  .t3d .ch, .btn .dot, .faq-a, .menu, .wa-card, .tile img { transition: none !important; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
