:root {
  --bg: #14110e;
  --sheet: #211c17;
  --text: #f6f1ea;
  --muted: #b7aa9c;
  --accent: #e3a15a;
  --accent-2: #f0c48a;
  --line: rgba(196, 146, 84, 0.32);
  --line-hot: rgba(240, 196, 138, 0.8);
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Kanit", system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(880px 520px at 0 0, rgba(180, 110, 40, 0.22), transparent 62%);
  z-index: 0;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
img { max-width: 100%; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.page { position: relative; z-index: 1; }

h1, h2, h3 { letter-spacing: -0.03em; font-weight: 700; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(46px, 6.4vw, 84px); font-weight: 700; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }

.muted { color: var(--muted); }
.kicker {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 28px));
  margin: 14px auto 0;
  padding: 12px 14px 12px 16px;
  background: rgba(20, 17, 14, 0.78);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f4f4f5;
  color: #14110e;
  font-weight: 700;
}
.brand-name {
  font-weight: 600;
  letter-spacing: -0.03em;
  transition: text-shadow 0.25s ease, color 0.25s ease;
}
.brand:hover .brand-name {
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.85);
}
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-light { background: #f6f1ea; color: #14110e; }
.btn-light:hover { background: #f0c48a; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.72); }
.btn-ghost:hover { background: #f6f1ea; color: #14110e; }
.nav .btn { color: #14110e; }
.nav .btn:hover { color: #14110e; }

.hero, .section { padding: 72px 0; }
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
  padding-top: 64px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.line-solid { display: block; color: #fff; }
.line-outline {
  display: block;
  margin-top: 6px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease, -webkit-text-stroke 0.25s ease;
}
.line-outline:hover { color: #fff; -webkit-text-stroke: 0; }
.lede { max-width: 560px; color: var(--muted); font-size: 18px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.sheet, .card, .quote, .faq-item, .form, .modal, .cookie, .calc, .week {
  position: relative;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.sheet { padding: 22px; }
.sheet h2, .sheet-title { font-size: 18px; margin-bottom: 8px; }
.sheet dl { margin: 16px 0 0; }
.sheet-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.sheet dt { color: var(--muted); font-size: 14px; }
.sheet dd { margin: 0; font-weight: 500; }

.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.section-head p { max-width: 460px; margin: 0; }

.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 18px;
  border-top: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, border-radius 0.25s ease;
}
.svc-row:hover {
  background: rgba(227, 161, 90, 0.18);
  border-color: var(--line-hot);
  border-radius: 16px;
  transform: translateY(-3px);
}
.num { color: var(--accent-2); font-weight: 600; }
.svc-row strong { display: block; font-size: 22px; letter-spacing: -0.03em; }
.svc-row em { display: block; margin-top: 4px; color: var(--muted); font-style: normal; font-weight: 300; }
.price { font-weight: 600; color: #fff; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { padding: 20px; transition: transform 0.25s ease, border-color 0.25s ease; }
.card:hover, .quote:hover, .week:hover, .calc:hover { transform: translateY(-4px); border-color: var(--line-hot); }
.card .step-no { color: var(--accent); font-weight: 600; }
.card p, .quote p { color: var(--muted); font-weight: 300; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price-card { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.price-card.featured::after { background: linear-gradient(90deg, #f0c48a, #e3a15a); }
.price-card .amount { font-size: 32px; letter-spacing: -0.03em; font-weight: 700; }
.price-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-weight: 300; }
.price-card .btn { margin-top: auto; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote { padding: 20px; }
.quote p { margin-top: 0; color: var(--text); font-weight: 400; }
.quote span { color: var(--muted); font-size: 14px; }

.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 18px 20px; }
.faq-item p { margin: 8px 0 0; }

.about-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 22px; }
.contact-list { list-style: none; margin: 18px 0 0; padding: 0; }
.contact-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.contact-list a { color: var(--accent-2); }
.form { padding: 22px; display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: #120f0c;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(227, 161, 90, 0.75); border-color: var(--line-hot); }
.form-note, .error { color: #ffb4b4; font-size: 14px; margin: 0; }
.success { padding: 28px 8px; }
.hidden { display: none !important; }

.page-hero { padding: 56px 0 10px; }
.page-hero p { max-width: 640px; }

.detail { display: grid; gap: 18px; }
.detail article { padding: 24px; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--muted);
  font-size: 14px;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split h3 { margin-bottom: 8px; }

.flow { width: 100%; height: auto; display: block; }
.weeks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.week { padding: 16px; }
.week strong { display: block; margin-bottom: 6px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; font-size: 14px; }
.calc { padding: 22px; display: grid; gap: 14px; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calc-out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 8px;
}
.calc-out div { padding: 14px; border-radius: 12px; background: #120f0c; border: 1px solid var(--line); }
.calc-out strong { display: block; font-size: 28px; letter-spacing: -0.03em; }

.site-footer { position: relative; z-index: 1; padding: 28px 0 48px; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links button {
  background: none;
  border: 0;
  color: var(--text);
  padding: 0;
  cursor: pointer;
  font-size: 14px;
}
.ssl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

.modal-back {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal {
  width: min(760px, 100%);
  max-height: min(82vh, 860px);
  overflow: auto;
  padding: 22px 22px 28px;
}
.modal header { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.modal h2 { font-size: 28px; }
.close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.modal h3 { margin: 22px 0 8px; font-size: 18px; }
.modal p, .modal li { color: var(--muted); font-weight: 300; }
.cookie {
  position: fixed;
  z-index: 50;
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: min(560px, calc(100% - 32px));
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.cookie p { margin: 0; color: var(--muted); font-size: 14px; }

.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 0%), rgba(227, 161, 90, 0.34), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.spot:hover::before { opacity: 1; }
.spot::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #f0c48a, transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
  pointer-events: none;
}
.spot:hover::after { transform: scaleX(1); }

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(20, 17, 14, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
  }
  .nav.open { display: flex; }
  .hero, .steps, .prices, .quotes, .contact-grid, .about-band, .split, .weeks, .calc-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 40px 1fr; }
  .svc-row .price { grid-column: 2; }
  .section-head { flex-direction: column; align-items: start; }
  h1 { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .svc-row, .quote, .week, .line-outline, .spot::after, .spot::before { transition: none; }
  .card:hover, .svc-row:hover, .quote:hover, .week:hover { transform: none; }
}
