/* ==========================================================
   浮光美甲 Floating Light Nails —— 视觉系统
   概念：指甲油瓶身在低光下的湿润光泽感
   色板：漆黑莓紫 / 酒红 / 金箔 / 玫瑰粉 / 象牙白
   ========================================================== */

:root {
  --bg: #1c1015;
  --surface: #241319;
  --surface-2: #2f1620;
  --wine: #a32638;
  --wine-bright: #c53850;
  --gold: #cba135;
  --rose: #e8b4bc;
  --ivory: #f5ede7;
  --ivory-dim: #cdb9b0;
  --line: rgba(245, 237, 231, 0.14);
  --shadow: rgba(0, 0, 0, 0.45);

  --font-display-latin: 'Cormorant Garamond', serif;
  --font-display-cn: 'Noto Serif SC', serif;
  --font-body: 'Noto Sans SC', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(163, 38, 56, 0.18), transparent 45%),
    radial-gradient(circle at 90% 15%, rgba(203, 161, 53, 0.10), transparent 40%);
  color: var(--ivory);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

img { max-width: 100%; display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(28, 16, 21, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand {
  font-family: var(--font-display-cn);
  font-size: 22px;
  letter-spacing: 0.06em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand small {
  font-family: var(--font-display-latin);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: background 0.25s, color 0.25s;
}

.nav-cta:hover { background: var(--gold); color: var(--bg); }

/* ---------- Hero ---------- */

.hero {
  padding: 96px 24px 64px;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-display-latin);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--rose);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display-cn);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 60px);
  margin: 0 0 18px;
  letter-spacing: 0.03em;
}

.hero p.lede {
  max-width: 480px;
  margin: 0 auto 40px;
  color: var(--ivory-dim);
  font-size: 16px;
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--wine-bright), var(--wine));
  color: var(--ivory);
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 30px -8px rgba(163, 38, 56, 0.55);
  transition: transform 0.25s;
}

.hero-cta:hover { transform: translateY(-2px); }

/* ---------- Swatch hours strip (signature element) ---------- */

.hours-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 56px auto 0;
  flex-wrap: wrap;
}

.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 76px;
}

.swatch-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 -6px 10px rgba(0,0,0,0.35);
}

.swatch-dot::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 9px;
  width: 12px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  filter: blur(1px);
}

.swatch-dot.wine { background: radial-gradient(circle at 30% 30%, var(--wine-bright), var(--wine) 70%); }
.swatch-dot.gold { background: radial-gradient(circle at 30% 30%, #e6c565, var(--gold) 70%); }
.swatch-dot.off {
  background: transparent;
  border: 1.5px dashed rgba(245,237,231,0.3);
  box-shadow: none;
}
.swatch-dot.off::after { display: none; }

.swatch-day { font-size: 13px; color: var(--ivory-dim); }
.swatch-time { font-size: 11px; color: var(--ivory-dim); opacity: 0.75; text-align: center; }

/* ---------- Section headers ---------- */

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

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-family: var(--font-display-latin);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: var(--font-display-cn);
  font-size: clamp(26px, 4vw, 34px);
  margin: 0;
  font-weight: 600;
}

/* ---------- Service cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s;
}

.card:hover { transform: translateY(-4px); border-color: rgba(203,161,53,0.5); }

.card h3 {
  font-family: var(--font-display-cn);
  font-size: 19px;
  margin: 0 0 8px;
  font-weight: 600;
}

.card .price {
  color: var(--gold);
  font-family: var(--font-display-latin);
  font-size: 22px;
  margin: 10px 0 4px;
}

.card .duration { font-size: 13px; color: var(--ivory-dim); }

/* ---------- Technician cards ---------- */

.tech-card { text-align: center; }

.tech-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display-cn);
  font-size: 24px;
  background: radial-gradient(circle at 30% 30%, var(--wine-bright), var(--wine) 75%);
  box-shadow: inset 0 -8px 14px rgba(0,0,0,0.35);
}

.tech-card .role { color: var(--rose); font-size: 13px; margin-top: 6px; }

/* ---------- Booking form ---------- */

.booking-wrap {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
}

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ivory-dim);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 15px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.hint { font-size: 12px; color: var(--ivory-dim); opacity: 0.8; margin-top: 6px; }

.submit-btn {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, var(--wine-bright), var(--wine));
  color: var(--ivory);
  padding: 15px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.2s;
}

.submit-btn:hover { transform: translateY(-2px); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-msg {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  display: none;
}

.form-msg.ok { display: block; background: rgba(203,161,53,0.15); border: 1px solid rgba(203,161,53,0.4); color: var(--gold); }
.form-msg.err { display: block; background: rgba(163,38,56,0.15); border: 1px solid rgba(163,38,56,0.5); color: var(--rose); }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px;
  text-align: center;
  color: var(--ivory-dim);
  font-size: 13px;
}

.footer .brand { justify-content: center; margin-bottom: 10px; }

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .booking-wrap { padding: 32px 22px; }
  .hero { padding: 72px 20px 48px; }
}
