:root {
  --bg: #161719;
  --bg-2: #1d1e21;
  --surface: #232428;
  --surface-2: #2c2e32;
  --line: #34363b;
  --ink: #eef0f2;
  --ink-2: #9ca1a8;
  --muted: #62666d;
  --accent: #eef0f2;
  --accent-ink: #161719;
  --danger: #ff8a80;
  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: 'wdth' 100;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(22, 23, 25, .92); backdrop-filter: blur(12px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; white-space: nowrap; font-weight: 800; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; font-variation-settings: 'wdth' 112; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand .box { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.brand .k { fill: var(--ink); font: 800 19px var(--display); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a, .nav-links button { background: none; border: 0; cursor: pointer; color: var(--ink); text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; transition: opacity .2s; }
.nav-links a:hover, .nav-links button:hover { opacity: 1; }
.nav-links .nav-cta { opacity: 1; padding: 10px 16px; border: 1px solid rgba(238, 240, 242, .5); }
.nav-links .nav-cta:hover { background: var(--ink); color: var(--accent-ink); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #0d0e0f; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) contrast(1.05) brightness(.9); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 14, 15, .55) 0%, rgba(13, 14, 15, .05) 30%, rgba(13, 14, 15, .2) 55%, rgba(22, 23, 25, .96) 100%),
    linear-gradient(90deg, rgba(13, 14, 15, .55), rgba(13, 14, 15, 0) 60%);
}
.hero-inner { position: relative; width: 100%; padding-bottom: 72px; padding-top: 140px; }
.tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 0 0 rgba(126, 226, 168, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(126, 226, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 226, 168, 0); } }
h1 {
  margin: 0; max-width: 11ch;
  font-size: clamp(56px, 11vw, 168px); line-height: .86; letter-spacing: -.02em;
  font-weight: 900; text-transform: uppercase; font-variation-settings: 'wdth' 68;
}
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(238, 240, 242, .25); }
.lede { max-width: 420px; margin: 0; font-size: 18px; color: rgba(238, 240, 242, .82); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 22px; height: 34px; margin-left: -11px; border: 1.5px solid rgba(238, 240, 242, .5); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: var(--ink); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

.video-toggle {
  position: absolute; right: 32px; bottom: 22px; z-index: 2;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: rgba(13, 14, 15, .45); border: 1px solid rgba(238, 240, 242, .35); color: var(--ink);
  cursor: pointer; transition: background .2s, border-color .2s;
}
.video-toggle:hover { background: rgba(13, 14, 15, .7); border-color: var(--ink); }
.video-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 26px; border: 0; border-radius: 0;
  background: var(--accent); color: var(--accent-ink);
  font: 700 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .2s ease; }
.btn:hover { background: #fff; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--muted); }
.link:hover { text-decoration-color: var(--ink); }

/* Sections */
.section { padding: 120px 0; scroll-margin-top: 40px; border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 48px; }
.num { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
h2 { margin: 0; font-size: clamp(40px, 6vw, 80px); line-height: .9; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; font-variation-settings: 'wdth' 72; }
.sub { margin: -28px 0 28px; color: var(--ink-2); }

.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: baseline; padding: 36px 0; border-bottom: 1px solid var(--line); transition: padding-left .3s ease; }
.row:hover { padding-left: 12px; }
.row h3 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1; font-weight: 800; text-transform: uppercase; font-variation-settings: 'wdth' 85; }
.row p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 420px; }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.tier { display: flex; flex-direction: column; padding: 28px 24px; border-left: 1px solid var(--line); }
.tier:nth-child(2) { border-left: 0; }
.tier h3 { margin: 0 0 8px; font-size: clamp(30px, 3vw, 40px); line-height: 1; font-weight: 900; text-transform: uppercase; font-variation-settings: 'wdth' 75; }
.tier-sum { margin: 0 0 18px; color: var(--ink-2); }
.tier-list { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.tier-list li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line); font-size: 15px; }
.tier-list li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.tier-btn-line {
  align-self: flex-start; padding: 12px 16px; background: transparent; color: var(--ink); border: 1px solid var(--ink-2);
  font: 700 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.tier-btn-line:hover { background: var(--ink); color: var(--accent-ink); border-color: var(--ink); }

.tier-top {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 40px; align-items: center;
  padding: 40px; border-left: 0; border-bottom: 1px solid var(--line); background: var(--ink); color: var(--accent-ink);
}
.tier-top .mono { color: #5b5f66; margin: 0 0 10px; }
.tier-top h3 { font-size: clamp(48px, 6vw, 84px); margin-bottom: 10px; }
.tier-top .tier-sum { color: #45484e; margin: 0; }
.tier-top .tier-list { margin: 0; }
.tier-top .tier-list li { border-color: #cfd2d6; font-size: 16px; }
.tier-top .tier-list li:first-child { border-top: 0; }
.tier-top .tier-list li::before { border-color: var(--accent-ink); }
.tier-top .btn { background: var(--accent-ink); color: var(--ink); }
.tier-top .btn:hover { background: #000; }
.pkg-link { align-self: center; margin-left: 6px; font-size: 14px; }
.tier-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.tier-book { font-size: 14px; color: var(--ink-2); }
.tier-top .tier-book { color: #45484e; text-decoration-color: #9a9ea5; }
.tier-top .tier-actions { align-items: stretch; text-align: center; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid rgba(238, 240, 242, .6); }
.btn-ghost:hover { background: rgba(238, 240, 242, .12); }

/* Quote dialog */
body.modal-open { overflow: hidden; }
.quote {
  width: min(640px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.quote::backdrop { background: rgba(8, 9, 10, .75); backdrop-filter: blur(4px); }
.quote[open] { animation: rise .25s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.quote-form, .quote-done { padding: 28px; }
.quote-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.quote-head .mono { margin: 0 0 8px; }
.quote h2 { font-size: clamp(36px, 5vw, 52px); }
.quote-close { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 1px solid var(--line); color: var(--ink); cursor: pointer; flex: none; }
.quote-close:hover { border-color: var(--ink); }
.quote-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.quote-sub { margin: 12px 0 24px; color: var(--ink-2); }
.quote .btn { margin-top: 24px; }
.quote-done { border: 0; }
.quote-done .link { margin-top: 18px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 32px 32px 8px 0; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.step-n { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.steps h3 { margin: 18px 0 10px; font-size: 24px; text-transform: uppercase; font-weight: 800; font-variation-settings: 'wdth' 90; }
.steps p { margin: 0; color: var(--ink-2); }

/* Booking */
.book { background: var(--bg-2); }
.schedule { background: var(--surface); border: 1px solid var(--line); padding: 20px; scroll-margin-top: 96px; }
.state { margin: 28px 8px; text-align: center; color: var(--ink-2); font-family: var(--mono); font-size: 13px; }

.days { position: relative; display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.day {
  flex: 0 0 auto; min-width: 80px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 12px 8px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
  font: inherit; cursor: pointer; transition: border-color .15s, background .15s;
}
.day:hover { border-color: var(--ink-2); }
.day .dow { font-family: var(--mono); font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
.day .num { font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--ink); text-transform: uppercase; font-variation-settings: 'wdth' 85; }
.day .count { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.day.full .count { color: var(--muted); }
.day.active { background: var(--accent); border-color: var(--accent); }
.day.active .dow, .day.active .num, .day.active .count { color: var(--accent-ink); }

.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin-top: 10px; }
.slot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 20px; border: 1px solid var(--ink-2); background: transparent; color: var(--ink);
  font: 700 17px var(--display); cursor: pointer; text-align: left;
  transition: background .15s, border-color .15s, color .15s;
}
.slot .t { white-space: nowrap; }
.slot:hover { border-color: var(--ink); background: var(--surface-2); }
.slot .s { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.slot.picked { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.slot.picked .s { color: var(--accent-ink); }
.slot.taken { border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.slot.taken:hover { background: transparent; }
.slot.taken .t { text-decoration: line-through; }
.slot.taken .s { color: var(--muted); }

.booking { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); padding: 28px; scroll-margin-top: 96px; }
.picked { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface-2); font-weight: 700; margin-bottom: 24px; }
.picked svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; flex: none; }
.picked span { flex: 1; }

fieldset.services { border: 0; padding: 0; margin: 0 0 20px; display: flex; gap: 8px; flex-wrap: wrap; }
legend, .grid label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
legend { margin-bottom: 10px; padding: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); cursor: pointer; font: 600 15px var(--display); color: var(--ink); text-transform: none; letter-spacing: 0; }
.pill:has(input:checked) { border-color: var(--ink); background: var(--surface-2); }
.pill input { accent-color: var(--ink); margin: 0; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid label { display: flex; flex-direction: column; gap: 8px; }
.grid .full { grid-column: 1 / -1; }
.opt { color: var(--muted); }
input, textarea {
  font: 400 16px var(--display); color: var(--ink); letter-spacing: 0; text-transform: none;
  padding: 14px; border: 1px solid var(--line); border-radius: 0; background: var(--bg);
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, textarea:focus { outline: none; border-color: var(--ink-2); }
input.invalid, input.invalid:focus { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 138, 128, .18); }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }

.error { color: var(--danger); font-weight: 600; margin: 16px 0 0; }
.booking .btn { margin-top: 24px; }

.done { text-align: center; background: var(--surface); border: 1px solid var(--line); padding: 48px 24px; }
.done svg { width: 48px; height: 48px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.done h3 { margin: 14px 0 6px; font-size: 32px; font-weight: 900; text-transform: uppercase; font-variation-settings: 'wdth' 75; }
.done p { margin: 0 0 6px; }
.done .sub { margin: 0; }
#done-label { font-weight: 700; }

.nav-links a, .nav-links button { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 761px) {
  .nav-links { gap: 20px; }
  .nav-links a[href="#how"], .nav-links a[href="#contact"] { display: none; }
}
.nav-phone { display: inline-flex; align-items: center; gap: 8px; opacity: 1 !important; }
.nav-phone svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

.hero-contact { margin: 20px 0 0; font-size: 15px; color: rgba(238, 240, 242, .75); }
.hero-contact a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(238, 240, 242, .4); }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border: 1px solid var(--line); }
.contact-who { padding: 32px; }
.contact-who .mono { margin: 0 0 10px; }
.contact-name { margin: 0 0 12px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; font-weight: 900; text-transform: uppercase; font-variation-settings: 'wdth' 75; }
.contact-note { margin: 0; color: var(--ink-2); max-width: 340px; }
.contact-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 180px;
  padding: 32px; border-left: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .2s, color .2s;
}
.contact-card .contact-val { font-size: clamp(20px, 2vw, 26px); font-weight: 800; overflow-wrap: anywhere; }
.contact-card svg { position: absolute; top: 28px; right: 28px; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.contact-card:hover { background: var(--ink); color: var(--accent-ink); }
.contact-card:hover .mono { color: #5b5f66; }
.contact-card:hover svg { transform: translateX(4px); }

.foot { padding: 40px 0; border-top: 1px solid var(--line); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-sub { margin: 6px 0 0; }
.foot-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-contact a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-mark { font-weight: 900; font-size: 22px; text-transform: uppercase; font-variation-settings: 'wdth' 75; }

@media (max-width: 1000px) and (min-width: 761px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-who { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .contact-card:first-of-type { border-left: 0; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .tier:nth-child(4) { border-left: 0; }
  .tier:nth-child(n+4) { border-top: 1px solid var(--line); }
  .tier-top { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav-links a:not(.nav-cta):not(.nav-phone) { display: none; }
  .nav-links { gap: 12px; }
  .brand { font-size: 15px; gap: 10px; }
  .brand svg { width: 30px; height: 30px; }
  .nav-links .nav-cta { padding: 9px 11px; }
  .nav-phone span { display: none; }
  .nav-phone svg { width: 20px; height: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-who, .contact-card { padding: 24px 20px; }
  .contact-card { border-left: 0; border-top: 1px solid var(--line); min-height: 0; }
  .hero-inner { padding-bottom: 64px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 24px; }
  .section { padding: 80px 0; }
  .sec-head { margin-bottom: 32px; }
  .row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .steps { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier { border-left: 0; border-top: 1px solid var(--line); padding: 24px 20px; }
  .tier-top { grid-template-columns: 1fr; gap: 20px; padding: 28px 20px; border-top: 0; }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .grid { grid-template-columns: 1fr; }
  .booking { padding: 20px; }
  .quote-form, .quote-done { padding: 20px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .video-toggle { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot, .scroll-cue span { animation: none; }
}
