/* ── NurSkin — Rhode Skin inspired ─────────── */
:root {
  --bg: #faf9f7;
  --bg2: #f5f3f0;
  --bg3: #efede9;
  --surface: #ffffff;
  --surface2: #faf9f7;
  --border: #e5e2dd;
  --border2: #d4d0ca;
  --text: #1a1a1a;
  --text2: #6b6560;
  --text3: #9c9490;
  --accent: #c4847a;
  --accent2: #b06b62;
  --accent-light: #f0e4e2;
  --red: #c4847a;
  --green: #7a9e8a;
  --yellow: #d4a450;
  --blue: #7a8ea0;
  --radius: 16px;
  --radius2: 10px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; }
a:hover { opacity: 0.7; }

::selection { background: var(--accent-light); color: var(--text); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 680px; }
.container.wide { max-width: 1400px; }
.text-center { text-align: center; }
.text-muted { color: var(--text2); }
.mt-6 { margin-top: 2rem; }
.small { font-size: 0.85em; }
.loading { color: var(--text3); font-size: 14px; padding: 20px 0; }
.error { color: var(--red); }

/* ── Nav ──────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 32px;
}
.logo {
  font-size: 13px; font-weight: 500; letter-spacing: 0.2em;
  color: var(--text); text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.06em;
  color: var(--text2); text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); opacity: 1; }
.btn-nav {
  background: var(--text); color: white !important;
  padding: 10px 24px; border-radius: 999px; font-size: 11px !important;
  font-weight: 500 !important; letter-spacing: 0.08em !important;
  transition: all 0.2s !important;
}
.btn-nav:hover { background: var(--accent) !important; color: white !important; opacity: 1 !important; }

/* ── Hero ──────────────────────────────────── */
.hero {
  min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative;
  padding: 140px 32px 80px;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
}
.hero-content { max-width: 640px; }
.hero-tag {
  font-size: 11px; letter-spacing: 0.3em; color: var(--text3);
  text-transform: uppercase; margin-bottom: 20px;
  font-weight: 400;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 96px); font-weight: 400;
  letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text);
}
.accent { color: var(--accent); font-weight: 400; }
.hero-sub { font-size: 15px; color: var(--text2); margin-bottom: 40px; line-height: 1.7; font-weight: 300; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ───────────────────────────────── */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.25s; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--text); color: white;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--border2);
}
.btn-secondary:hover { border-color: var(--text); background: transparent; }
.btn-full { width: 100%; justify-content: center; }
.btn-secondary.sm { padding: 8px 20px; font-size: 11px; }

/* ── Sections ─────────────────────────────── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg2); }
.section-tag {
  font-size: 11px; letter-spacing: 0.3em; color: var(--text3);
  text-transform: uppercase; margin-bottom: 8px;
  font-weight: 400;
}
.section h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 400;
  letter-spacing: -0.02em; margin-bottom: 40px;
  color: var(--text);
}

/* ── Services ──────────────────────────────── */
.services-grid { display: flex; flex-direction: column; gap: 48px; }
.category-header {
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.category-header h3 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--text3); font-weight: 500;
}
.service-cards { display: flex; flex-direction: column; }
.service-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}
.service-card:last-child { border-bottom: none; }
.service-card:hover { padding-left: 4px; }
.card-body h4 { font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.card-body p { font-size: 13px; color: var(--text2); line-height: 1.6; font-weight: 300; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.price { font-size: 16px; font-weight: 500; color: var(--accent); }
.duration { font-size: 12px; color: var(--text3); }

/* ── About ─────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text { font-size: 14px; color: var(--text2); line-height: 1.8; margin-bottom: 16px; font-weight: 300; }
.about-highlights { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.highlight {
  background: var(--surface); padding: 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.hl-num { font-size: 13px; font-weight: 500; color: var(--accent); letter-spacing: 0.05em; }
.hl-label { font-size: 13px; color: var(--text2); font-weight: 300; }

/* ── Contact ───────────────────────────────── */
.contact-text { font-size: 14px; color: var(--text2); margin-bottom: 28px; font-weight: 300; }
.contact-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact-item {
  padding: 12px 28px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 13px; color: var(--text2); transition: all 0.2s; font-weight: 300;
}
.contact-item:hover { border-color: var(--text); color: var(--text); background: transparent; }
.location { margin-top: 24px; font-size: 12px; color: var(--text3); letter-spacing: 0.05em; }

/* ── Gallery ────────────────────────────────── */
.gallery-sub { font-size: 14px; color: var(--text2); margin-bottom: 32px; font-weight: 300; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.gallery-item {
  border-radius: var(--radius2);
  overflow: hidden;
  transition: transform 0.2s;
  line-height: 0;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.gallery-label {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text2);
  font-weight: 300;
}
.gallery-cta {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text2);
  text-align: center;
  font-weight: 300;
}

/* ── Footer ────────────────────────────────── */
footer {
  border-top: 1px solid var(--border); padding: 32px 0;
  text-align: center;
}
footer p { font-size: 12px; color: var(--text2); font-weight: 300; }
.footer-small { font-size: 11px; color: var(--text3); margin-top: 4px; }

/* ── Booking Page ──────────────────────────── */
.booking-page { padding-top: 120px; background: var(--bg); }
.booking-form { display: flex; flex-direction: column; gap: 36px; }
.form-step h3 {
  font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
  margin-bottom: 16px; color: var(--text);
}
.form-input {
  width: 100%; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius2); color: var(--text);
  font-size: 14px; font-family: inherit; font-weight: 300;
  outline: none; transition: border-color 0.2s;
  margin-bottom: 10px;
}
.form-input:focus { border-color: var(--text); }
textarea.form-input { resize: vertical; min-height: 80px; }
.form-input::placeholder { color: var(--text3); font-weight: 300; }

.terms-banner {
  background: var(--accent-light);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius2); padding: 16px 20px;
  font-size: 13px; color: var(--text2); line-height: 1.6;
  margin-bottom: 28px; font-weight: 300;
}
.terms-banner.warning { background: #fef3f0; border-color: #f0d4ce; }

.service-select { display: flex; flex-direction: column; gap: 24px; }
.cat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text3); margin-bottom: 10px; font-weight: 500; }
.service-options { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: var(--radius2); overflow: hidden; }
.service-option {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; background: var(--surface);
  border: none; cursor: pointer; transition: all 0.15s;
  text-align: left; color: var(--text);
  font-family: inherit; font-size: 13px;
}
.service-option:hover { background: var(--surface2); }
.service-option.selected { background: var(--accent-light); }
.so-name { font-weight: 500; }
.so-price { color: var(--accent); font-weight: 500; }
.so-duration { color: var(--text3); font-size: 12px; }

.time-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.slot-label { width: 100%; font-size: 13px; color: var(--text2); margin-bottom: 4px; font-weight: 300; }
.time-slot {
  padding: 10px 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px;
  cursor: pointer; transition: all 0.2s; color: var(--text);
  font-family: inherit; font-size: 13px; font-weight: 300;
}
.time-slot:hover { border-color: var(--text); }
.time-slot.selected { border-color: var(--accent); background: var(--accent-light); color: var(--accent); }

.payment-note { font-size: 14px; color: var(--text2); margin-bottom: 8px; font-weight: 300; }
.payment-note.small { font-size: 13px; color: var(--text3); }
.card-input {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 14px 18px; margin-top: 8px;
}
.card-error { color: var(--red); font-size: 13px; margin-top: 8px; }

.booking-summary {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius2); overflow: hidden; margin-bottom: 16px;
}
.summary-row {
  display: flex; justify-content: space-between; padding: 14px 18px;
  border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 300;
}
.summary-row:last-child { border-bottom: none; }
.summary-row span:last-child { font-weight: 500; text-align: right; }
.summary-row.warn { background: var(--accent-light); }
.summary-row.warn span:last-child { color: var(--accent); }

.confirmation { text-align: center; padding: 60px 0; }
.conf-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: white;
}
.confirmation h3 { font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.confirmation p { color: var(--text2); font-size: 14px; font-weight: 300; }
.conf-ref { font-family: monospace; color: var(--accent) !important; margin-top: 8px; font-size: 13px !important; }

/* ── Admin ─────────────────────────────────── */
.admin-body { background: var(--bg); }
.admin-login {
  max-width: 380px; margin: 80px auto; text-align: center;
}
.admin-login h2 { font-weight: 400; margin-bottom: 8px; }
.admin-login .form-input { margin-bottom: 12px; }

.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.admin-header h2 { margin: 0; font-size: 24px; font-weight: 400; }

.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1px; background: var(--border); border-radius: var(--radius2); overflow: hidden;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--surface); padding: 24px 16px; text-align: center;
}
.stat-num { display: block; font-size: 22px; font-weight: 500; color: var(--text); }
.stat-label { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; font-weight: 400; }

.fee-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: var(--radius2); overflow: hidden; margin-bottom: 28px; }
.fee-card {
  background: var(--surface); padding: 20px; text-align: center;
}
.fee-card.warn { background: #fef9f0; }
.fee-amount { display: block; font-size: 20px; font-weight: 500; color: var(--text); }
.fee-card.warn .fee-amount { color: var(--yellow); }
.fee-card.fee-paid .fee-amount { color: var(--green); }
.fee-label { font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius2); }
.admin-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.admin-table th {
  text-align: left; padding: 14px 16px;
  background: var(--surface);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text3); font-weight: 500; border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  background: var(--surface);
  vertical-align: middle; font-weight: 300;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--surface2); }

.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 500; text-transform: capitalize;
}
.badge-blue { background: #eef2f6; color: #6b7a8a; }
.badge-green { background: #eef6f2; color: var(--green); }
.badge-red { background: #f6eeee; color: var(--red); }
.badge-gray { background: var(--bg3); color: var(--text3); }
.badge-yellow { background: #f6f3ee; color: var(--yellow); }

.btn-sm {
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 500; border: none; cursor: pointer;
  transition: all 0.15s; font-family: inherit;
  margin-right: 4px; margin-bottom: 4px;
}
.btn-ok { background: #eef6f2; color: var(--green); }
.btn-ok:hover { background: var(--green); color: white; }
.btn-danger { background: #f6eeee; color: var(--red); }
.btn-danger:hover { background: var(--red); color: white; }

.admin-help {
  margin-top: 48px; padding: 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius2);
}
.admin-help h4 { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 12px; }
.admin-help p { font-size: 13px; color: var(--text2); margin-bottom: 8px; line-height: 1.6; font-weight: 300; }
.admin-help code {
  background: var(--bg3); padding: 2px 6px;
  border-radius: 4px; font-size: 12px; color: var(--accent);
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-cards { grid-template-columns: 1fr; }
  .fee-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links a:not(.btn-nav) { display: none; }
  .section { padding: 60px 0; }
}

input[type="date"] { color-scheme: light; }