:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --surface: #17171a;
  --line: #2a2a2f;
  --line-2: #3a3a41;
  --text: #f2f0eb;
  --muted: #9a978f;
  --dim: #6b6963;
  --accent: #c9a86a;
  --accent-ink: #141109;
  --ok: #7fb58a;
  --err: #e0806e;
  --radius: 4px;
  --max: 1180px;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,12,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand b { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: .06em; }
.brand span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle i { display: block; width: 22px; height: 1.5px; background: var(--text); margin: 5px 0; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 20px; width: 100%; border-top: 1px solid var(--line); }
  .nav-links .btn { margin: 16px 20px; width: calc(100% - 40px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn:hover { border-color: var(--text); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #d8ba80; border-color: #d8ba80; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.nav-links a.btn { color: var(--accent-ink); }

/* ---------- Type ---------- */
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .95; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(40px, 6vw, 72px); }
h3 { font-size: 28px; letter-spacing: .03em; }
.lead { color: var(--muted); font-size: 17px; max-width: 560px; }

section { padding: 110px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
@media (max-width: 640px) { section { padding: 76px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 0; border: 0; overflow: hidden; }
.hero .wrap { min-height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: center; padding-top: 60px; padding-bottom: 60px; }
.hero h1 { font-size: clamp(64px, 14vw, 188px); letter-spacing: -.005em; }
.hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.2px var(--text); }
.hero .lead { margin: 28px 0 40px; font-size: 18px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 72px; display: flex; gap: 40px; flex-wrap: wrap; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.hero-meta b { display: block; color: var(--text); font-weight: 500; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(201,168,106,.12), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(255,255,255,.025) 119px 120px);
}

/* ---------- Service split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.split > a { background: var(--bg); padding: 48px 40px; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; transition: background .25s; }
.split > a:hover { background: var(--bg-2); }
.split .num { font-family: var(--display); font-size: 15px; color: var(--accent); letter-spacing: .2em; }
.split h3 { font-size: clamp(40px, 5vw, 60px); margin: 18px 0 14px; }
.split p { color: var(--muted); margin: 0 0 28px; max-width: 400px; }
.split .go { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.split > a:hover .go { color: var(--accent); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split > a { min-height: 0; padding: 36px 24px; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.mono {
  width: 100%; aspect-ratio: 4/3; margin-bottom: 24px; border-radius: 2px;
  background: linear-gradient(160deg, #1f1f23, #0f0f11); border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.mono span { font-family: var(--display); font-weight: 800; font-size: 96px; color: #26262b; letter-spacing: .02em; }
.mono img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .role { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.card h3 { margin: 8px 0 6px; }
.card .ig { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.card .ig:hover { color: var(--text); }
.card .btn { margin-top: auto; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } .mono { aspect-ratio: 16/9; } }

.booksy-all { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; border: 1px dashed var(--line-2); border-radius: var(--radius); flex-wrap: wrap; }
.booksy-all p { margin: 0; color: var(--muted); }

/* ---------- Tattoo ---------- */
.tattoo-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.artist { position: sticky; top: 96px; }
.artist .mono { aspect-ratio: 4/5; }
.artist ul { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.artist li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.artist li b { color: var(--accent); font-family: var(--display); font-size: 16px; min-width: 28px; }
@media (max-width: 900px) { .tattoo-grid { grid-template-columns: 1fr; gap: 40px; } .artist { position: static; } .artist .mono { aspect-ratio: 16/10; } }

/* ---------- Forms ---------- */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
@media (max-width: 600px) { .form { padding: 24px 18px; } }
.progress { display: flex; gap: 6px; margin-bottom: 10px; }
.progress i { flex: 1; height: 2px; background: var(--line-2); transition: background .3s; }
.progress i.on { background: var(--accent); }
.step-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.step { display: none; }
.step.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step h3 { margin-bottom: 24px; }

.field { margin-bottom: 20px; }
.field > label, .field > .label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.field .hint { font-size: 12px; color: var(--dim); margin-top: 6px; }
.req { color: var(--accent); }
.input, select.input, textarea.input {
  width: 100%; height: 50px; padding: 0 16px; background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--radius); outline: none; transition: border-color .2s; font-size: 16px;
}
textarea.input { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.input:focus { border-color: var(--accent); }
.input.bad { border-color: var(--err); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; gap: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 100px;
  font-size: 14px; cursor: pointer; transition: all .15s; user-select: none;
}
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip span:hover { border-color: var(--text); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-bottom: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.err-msg { color: var(--err); font-size: 13px; min-height: 20px; margin-top: 8px; }

.summary { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: 14px; white-space: pre-wrap; color: var(--muted); max-height: 280px; overflow: auto; }
.note { font-size: 13px; color: var(--muted); background: rgba(201,168,106,.07); border-left: 2px solid var(--accent); padding: 12px 16px; margin: 20px 0; }

/* ---------- Club teaser ---------- */
.club-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .club-teaser { grid-template-columns: 1fr; } }

/* ---------- Loyalty card ---------- */
.lcard {
  position: relative; width: 100%; max-width: 440px; aspect-ratio: 1.586; border-radius: 14px; padding: 24px 26px;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(201,168,106,.22), transparent 60%),
    linear-gradient(140deg, #1d1c1f 0%, #0d0d0f 70%);
  border: 1px solid #34322e; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.lcard::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.012) 22px 23px); pointer-events: none; }
.lcard-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.lcard-top b { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .08em; }
.lcard-top small { display: block; font-size: 9px; letter-spacing: .3em; color: var(--accent); text-transform: uppercase; margin-top: 2px; }
.lcard-code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.stamp {
  aspect-ratio: 1; border-radius: 50%; border: 1px dashed #4a4740; display: grid; place-items: center;
  font-family: var(--display); font-size: 13px; color: #4a4740; transition: all .3s;
}
.stamp.on { border: 1px solid var(--accent); background: radial-gradient(circle, rgba(201,168,106,.95), rgba(170,138,80,.95)); color: var(--accent-ink); }
.stamp.on svg { width: 55%; height: 55%; }
.stamp.gift { border-style: solid; border-color: var(--accent); color: var(--accent); }
.lcard-bottom { display: flex; justify-content: space-between; align-items: flex-end; position: relative; font-size: 12px; }
.lcard-bottom .name { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.lcard-bottom .count { color: var(--muted); }
.lcard { gap: 14px; }
@media (max-width: 480px) { .lcard { aspect-ratio: auto; padding: 20px; gap: 18px; } .stamps { gap: 7px; } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 40px; color: var(--muted); font-size: 14px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text); margin: 0 0 16px; font-weight: 600; }
.foot a { display: block; margin-bottom: 8px; }
.foot a:hover { color: var(--text); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--dim); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* ---------- Club / Staff app pages ---------- */
.app { min-height: calc(100svh - 64px); padding: 56px 0 80px; }
.app .wrap { max-width: 520px; }
.app h1 { font-size: clamp(48px, 10vw, 72px); margin-bottom: 12px; }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin: 32px 0 28px; }
.tabs button { flex: 1; background: none; border: 0; padding: 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; margin-bottom: -1px; }
.tabs button.on { color: var(--text); border-color: var(--accent); }
.pin { letter-spacing: .5em; font-family: ui-monospace, Menlo, monospace; }
.demo-banner { font-size: 12px; text-align: center; padding: 8px 16px; background: rgba(201,168,106,.12); color: var(--accent); border-bottom: 1px solid rgba(201,168,106,.25); }
.reward-banner { margin: 24px 0; padding: 20px; border: 1px solid var(--accent); border-radius: var(--radius); background: rgba(201,168,106,.08); text-align: center; }
.reward-banner b { font-family: var(--display); font-size: 28px; text-transform: uppercase; display: block; color: var(--accent); }
.history { list-style: none; padding: 0; margin: 0; }
.history li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.history li b { color: var(--text); font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mt { margin-top: 32px; }
.center { text-align: center; }
.link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.link:hover { color: var(--text); }
.member-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; cursor: pointer; background: var(--surface); }
.member-row:hover { border-color: var(--line-2); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(120px); background: var(--text); color: var(--bg); padding: 14px 22px; border-radius: var(--radius); font-size: 14px; font-weight: 500; transition: transform .3s; z-index: 100; max-width: calc(100% - 32px); }
.toast.show { transform: translateX(-50%) translateY(0); }
.hidden { display: none !important; }

/* Legal */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 56px; margin-bottom: 32px; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Club v2: carné y ventajas ---------- */
.lcard .valid { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ok); }
.lcard-code-big { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 12vw, 64px); letter-spacing: .08em; color: var(--accent); line-height: 1; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.perks li { background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.perks li b { font-weight: 600; }
.perks li span { color: var(--muted); font-size: 14px; }
.perks li small { color: var(--accent); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.perks li[role=button] { cursor: pointer; transition: border-color .15s, background .15s; }
.perks li[role=button]:hover { border-color: var(--line-2); border-left-color: var(--accent); background: var(--bg-2); }
.perks li.sel { border-color: var(--accent); background: rgba(201,168,106,.08); }
.perk-edit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 10px; }
.perk-edit.off { opacity: .55; }
.perk-edit .row-actions { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.club-perks-home { margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stats b { display: block; font-family: var(--display); font-size: 34px; color: var(--accent); line-height: 1; }
.stats span { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.wallet-btns { display: grid; gap: 10px; margin: 20px 0; }
