:root {
  --ink: #1b2b25;
  --ink-soft: #4a5a53;
  --paper: #f7f4ee;
  --paper-alt: #efe9df;
  --gold: #c8a96a;
  --line: rgba(27, 43, 37, 0.12);
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.muted { color: var(--ink-soft); }

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--ink); }

.nav-cta {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink) !important;
}

.nav-cta:hover { background: var(--ink); color: var(--paper) !important; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #24382f; }

.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.hero-art { display: flex; justify-content: center; }

.bagua {
  position: relative;
  width: min(320px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  animation: spin 90s linear infinite;
}

.bagua-core {
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2c4438, var(--ink));
  box-shadow: 0 20px 45px rgba(27, 43, 37, 0.25);
}

.trigram {
  position: absolute;
  width: 34px;
  height: 3px;
  background: var(--ink);
  opacity: 0.55;
  border-radius: 2px;
  box-shadow: 0 7px 0 var(--ink), 0 14px 0 var(--ink);
}

.t1 { top: 6%; left: 50%; transform: translateX(-50%); }
.t2 { top: 20%; right: 8%; transform: rotate(45deg); }
.t3 { top: 50%; right: 4%; transform: translateY(-50%) rotate(90deg); }
.t4 { bottom: 20%; right: 8%; transform: rotate(135deg); }
.t5 { bottom: 6%; left: 50%; transform: translateX(-50%) rotate(180deg); }
.t6 { bottom: 20%; left: 8%; transform: rotate(225deg); }
.t7 { top: 50%; left: 4%; transform: translateY(-50%) rotate(270deg); }
.t8 { top: 20%; left: 8%; transform: rotate(315deg); }

@keyframes spin { to { transform: rotate(360deg); } }

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

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.section-alt { background: var(--paper-alt); max-width: none; }
.section-alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-alt .grid { padding: 0; }

.section-title { margin-bottom: 2.2rem; }

.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem;
}

.card p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.96rem; }

.card-service .price {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.2rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.2rem;
  color: var(--ink-soft);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.15rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.steps strong { color: var(--ink); font-weight: 500; }

.section-contact { border-top: 1px solid var(--line); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
  padding: 2rem;
}

.contact-card p { margin-bottom: 0.9rem; font-size: 0.95rem; }

.contact-card a { color: var(--paper); }

.contact-card .btn { margin-top: 1rem; }
.contact-card .btn-primary { background: var(--gold); color: var(--ink); }

.label {
  display: inline-block;
  min-width: 5rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.site-footer p { margin: 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 1.5rem; }
  .hero-art { order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .nav { gap: 1rem; font-size: 0.85rem; }
  .nav a:not(.nav-cta) { display: none; }
  .site-footer { flex-direction: column; }
}
