/* SILLÓN landing — black/gold, adapted from the waitdead.com dark/minimal
   system (near-black bg, single bright accent, generous whitespace, sharp
   corners, monospace brand mark). Accent = SILLÓN gold (barbershop classic,
   matches the admin panel). LATAM-focused. */

:root {
  --bg: #0a0a0a;
  --panel: #131313;
  --panel-2: #1a1a1a;
  --line: #2a2a2a;
  --text: #ece9e3;
  --muted: #9b958a;
  --gold: #f5c518;
  --gold-700: #caa00f;
  --danger: #ef6b6b;
  --radius: 8px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── nav ──────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1040px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
}
.brand { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.04em; }
.brand-mark { font-family: var(--mono); color: var(--gold); margin-right: 2px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--muted); font-size: 0.92rem; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-login { border: 1px solid var(--line); padding: 6px 12px; border-radius: var(--radius); }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn-gold {
  display: inline-block; background: var(--gold); color: #1a1500;
  font-weight: 700; padding: 13px 22px; border-radius: var(--radius);
  border: none; cursor: pointer; font-size: 1rem; transition: background .15s, transform .05s;
}
.btn-gold:hover { background: var(--gold-700); }
.btn-gold:active { transform: translateY(1px); }
.btn-gold:disabled { background: #5c5326; color: #2a2a2a; cursor: not-allowed; }
.btn-sm { padding: 7px 14px; font-size: 0.9rem; }
.btn-block { width: 100%; text-align: center; margin-top: 8px; padding: 15px; font-size: 1.05rem; }
.btn-ghost {
  display: inline-block; border: 1px solid var(--line); color: var(--text);
  padding: 13px 22px; border-radius: var(--radius); font-size: 1rem; transition: border-color .15s;
}
.btn-ghost:hover { border-color: var(--gold); }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { max-width: 880px; margin: 0 auto; padding: 88px 20px 64px; text-align: center; }
.eyebrow {
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.02em;
}
.gold { color: var(--gold); }
.hero-sub { color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.25rem); max-width: 620px; margin: 22px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero-chips span {
  font-size: 0.82rem; color: var(--muted); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px;
}

/* ── shared sections ──────────────────────────────────────────────────── */
.section-title {
  font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 800; text-align: center;
  letter-spacing: -0.01em; margin-bottom: 36px;
}
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.band, section.features, section.signup { padding: 64px 20px; }
section.band > *, .features > *, .signup > * { max-width: 1040px; margin-left: auto; margin-right: auto; }

/* ── steps ────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step-num { font-family: var(--mono); color: var(--gold); font-size: 1.4rem; font-weight: 700; }
.step h3 { margin: 12px 0 8px; font-size: 1.15rem; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ── features ─────────────────────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; background: var(--panel); }
.f-tag {
  display: inline-block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: #1a1500; background: var(--gold); padding: 3px 8px; border-radius: 4px; margin-bottom: 12px;
}
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ── pricing ──────────────────────────────────────────────────────────── */
.price-card {
  max-width: 460px; background: var(--bg); border: 1px solid var(--gold);
  border-radius: 12px; padding: 36px 30px; text-align: center;
  box-shadow: 0 0 0 1px rgba(245,197,24,0.12), 0 24px 60px -30px rgba(245,197,24,0.35);
}
.plan-name { font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-size: 0.85rem; }
.plan-price { font-size: 3rem; font-weight: 800; margin-top: 8px; line-height: 1; }
.plan-price span { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.plan-setup { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }
.plan-features { list-style: none; text-align: left; margin: 24px 0; display: grid; gap: 10px; }
.plan-features li { position: relative; padding-left: 26px; color: var(--text); font-size: 0.96rem; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

/* ── signup form ──────────────────────────────────────────────────────── */
.signup { background: var(--bg); }
.signup-lead { text-align: center; color: var(--muted); max-width: 620px; margin: -18px auto 34px; }
#onboard-form { max-width: 640px; margin: 0 auto; }
fieldset {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 22px; margin-bottom: 18px;
}
legend { font-weight: 700; font-size: 1rem; padding: 0 8px; color: var(--gold); }
.hint { color: var(--muted); font-size: 0.85rem; margin-bottom: 12px; }
.optional { font-weight: 400; color: #6f6a62; font-size: 0.85rem; }
.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }

input[type="text"], input[type="tel"], input[type="email"], input[type="number"],
input[type="time"], input[type="datetime-local"], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; background: #0e0e0e; color: var(--text); transition: border-color .15s;
}
input::placeholder { color: #5f5a52; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }

.service-row, .barber-row, .tone-row {
  display: flex; gap: 8px; align-items: flex-start; margin-bottom: 12px;
  padding: 12px; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.service-row .fields, .barber-row .fields { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.tone-row { align-items: center; }
.tone-row input { flex: 1; }
.remove-btn {
  background: none; border: none; color: var(--danger); font-size: 1.2rem; cursor: pointer;
  padding: 4px 8px; border-radius: 6px; flex-shrink: 0;
}
.remove-btn:hover { background: rgba(239,107,107,0.12); }

.hours-grid { display: grid; gap: 8px; }
.hours-row { display: grid; grid-template-columns: 92px 1fr 1fr; gap: 8px; align-items: center; }
.hours-row .day-label { font-size: 0.875rem; font-weight: 600; color: var(--muted); }

.btn-secondary {
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius); padding: 9px 14px; font-size: 0.9rem; cursor: pointer; transition: border-color .15s;
}
.btn-secondary:hover { border-color: var(--gold); }

.error-msg {
  color: var(--danger); background: rgba(239,107,107,0.08); border: 1px solid rgba(239,107,107,0.3);
  border-radius: var(--radius); padding: 12px; margin-bottom: 16px; font-size: 0.9rem;
}
.success-panel {
  background: var(--panel); border: 1px solid var(--gold); border-radius: 12px;
  padding: 36px 28px; text-align: center; margin-top: 24px; max-width: 640px; margin-left: auto; margin-right: auto;
}
.success-panel h2 { margin-bottom: 10px; color: var(--gold); }
.success-panel p { color: var(--muted); margin-bottom: 12px; }
.success-panel a { color: var(--gold); text-decoration: underline; }

/* ── footer ───────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); text-align: center; padding: 40px 20px; color: var(--muted); }
.site-footer p:first-child { font-weight: 800; letter-spacing: 0.04em; color: var(--text); }
.foot-line { font-size: 0.85rem; margin-top: 8px; }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .service-row .fields { flex-direction: column; }
  .hours-row { grid-template-columns: 72px 1fr 1fr; }
  .nav-links { gap: 12px; }
  .nav-links a:not(.btn-gold):not(.nav-login) { display: none; }
}
