:root {
  --bg: #0b0e14;
  --bg-2: #10141d;
  --panel: #141a26;
  --line: #232c3d;
  --text: #e8ecf3;
  --muted: #93a0b4;
  --gold: #f5b73d;
  --gold-2: #ffd97a;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg); color: var(--text);
  font-family: "Inter", sans-serif; line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, .logo, .price, .step-num { font-family: "Space Grotesk", sans-serif; }

.container { width: min(1120px, 92%); margin-inline: auto; position: relative; }

/* ---------- Background flair ---------- */
.bg-glow {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% -5%, rgba(245, 183, 61, 0.13), transparent 65%),
    radial-gradient(700px 500px at -10% 40%, rgba(61, 130, 245, 0.08), transparent 65%),
    radial-gradient(500px 400px at 60% 110%, rgba(245, 183, 61, 0.07), transparent 65%);
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translateY(-30px) scale(1.03); } }

.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 40%, transparent 100%);
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bg-glow { animation: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 20, 0.75); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 28px; padding: 16px 0; }
.logo { font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; letter-spacing: 0.01em; }
.logo-star { color: var(--gold); }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.92rem; transition: color 0.15s ease; }
.site-nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--text); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; border: 0; cursor: pointer;
  font: 600 0.95rem "Inter", sans-serif; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: #221600; box-shadow: 0 6px 24px rgba(245, 183, 61, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(245, 183, 61, 0.4); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn-small { padding: 9px 18px; font-size: 0.85rem; background: var(--panel); color: var(--gold-2); border: 1px solid var(--line); }
.btn-small:hover { border-color: var(--gold); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 110px 0 90px; }
.chip {
  display: inline-block; font-size: 0.82rem; color: var(--gold-2);
  border: 1px solid rgba(245, 183, 61, 0.35); border-radius: 999px;
  padding: 7px 16px; margin-bottom: 28px; background: rgba(245, 183, 61, 0.06);
}
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
.grad {
  background: linear-gradient(100deg, var(--gold) 10%, var(--gold-2) 50%, #fff3d6 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 58ch; margin: 24px auto 36px; color: var(--muted); font-size: 1.1rem; }
.lede strong, .lede em { color: var(--text); font-style: normal; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: rgba(20, 26, 38, 0.5); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats-grid div { padding: 30px 10px; border-right: 1px solid var(--line); }
.stats-grid div:last-child { border-right: 0; }
.stats-grid strong { display: block; font-size: 2rem; color: var(--gold); font-family: "Space Grotesk", sans-serif; }
.stats-grid span { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-line { border-top: 1px solid var(--line); }
.section-kicker {
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; font-weight: 600;
}
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -0.02em; margin-bottom: 14px; font-weight: 700; }
.section-sub { color: var(--muted); max-width: 62ch; margin-bottom: 48px; }
.section-sub em { color: var(--text); font-style: italic; }

/* ---------- Work grid (themed cards) ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.work-card {
  display: block; text-decoration: none; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.work-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,0.45); border-color: rgba(245,183,61,0.4); }
.wc-preview {
  min-height: 210px; padding: 34px; display: flex; flex-direction: column;
  justify-content: center; gap: 12px;
}
.wc-kicker { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.wc-headline { font-size: 1.7rem; line-height: 1.15; }
.wc-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; background: var(--panel); border-top: 1px solid var(--line);
}
.wc-meta h3 { font-size: 1rem; color: var(--text); }
.wc-meta p { font-size: 0.85rem; color: var(--muted); }
.wc-arrow { color: var(--gold); font-size: 1.3rem; transition: transform 0.2s ease; }
.work-card:hover .wc-arrow { transform: translateX(6px); }

/* Café theme card */
.wc-cafe .wc-preview { background: #faf5ec; }
.wc-cafe .wc-kicker { color: #b4632c; }
.wc-cafe .wc-headline { font-family: "Fraunces", serif; color: #3b2a20; }
.wc-cafe .wc-headline em { color: #b4632c; }

/* Gym theme card */
.wc-gym .wc-preview { background: #0c0c0e; }
.wc-gym .wc-kicker { color: #d4f925; }
.wc-gym .wc-headline { font-family: "Archivo Black", sans-serif; color: #f2f2ef; letter-spacing: 0.02em; }

/* Salon theme card */
.wc-salon .wc-preview { background: #f7f5f1; }
.wc-salon .wc-kicker { color: #7c8a6e; letter-spacing: 0.24em; }
.wc-salon .wc-headline { font-family: "Cormorant Garamond", serif; color: #43483e; }
.wc-salon .wc-headline em { font-style: italic; color: #7c8a6e; }

/* Plumbing theme card */
.wc-plumb .wc-preview { background: linear-gradient(135deg, #0f2540, #1d4472); }
.wc-plumb .wc-kicker { color: #fbd38d; }
.wc-plumb .wc-headline { color: #fff; }
.wc-plumb .wc-headline em { color: #f59e0b; font-style: normal; }

.work-note { margin-top: 26px; font-size: 0.88rem; color: var(--muted); text-align: center; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; position: relative; overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.step:hover { transform: translateY(-5px); border-color: rgba(245,183,61,0.4); }
.step-num {
  font-size: 3.4rem; font-weight: 700; color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 183, 61, 0.45);
  display: block; line-height: 1; margin-bottom: 18px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { font-size: 0.93rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(245,183,61,0.4); }
.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 20px 50px rgba(245, 183, 61, 0.12);
}
.tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(120deg, var(--gold), var(--gold-2)); color: #221600;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1.05rem; color: var(--muted); font-weight: 500; }
.price { font-size: 2.6rem; font-weight: 700; color: var(--text); margin: 8px 0 18px; }
.per { font-size: 1rem; color: var(--muted); font-weight: 400; }
.price-card ul { list-style: none; display: grid; gap: 10px; }
.price-card li { font-size: 0.92rem; color: var(--muted); padding-left: 24px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-line { margin: 8px 0; color: var(--muted); }
.contact-line a { color: var(--gold-2); font-weight: 600; text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }

.contact-form {
  display: grid; gap: 14px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font: 400 0.95rem "Inter", sans-serif; color: var(--text); background: var(--bg-2);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input::placeholder, textarea::placeholder { color: #5d6a80; }
input:focus, textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 183, 61, 0.15);
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 0.88rem; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--gold-2); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .work-grid, .steps, .price-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid div:nth-child(2) { border-right: 0; }
  .stats-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .btn-small { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 18px 6%; gap: 16px;
  }
  .site-nav.open { display: flex; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 70px 0; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
