/* ==========================================================================
   Vale Reflexology — Design Tokens (v2)
   Palette drawn from the brand itself: the sky-blue of the Vale Reflexology
   logo, the vibrant green of the plant in Kim's treatment room, and a soft
   lavender accent (echoed in Kim's own blouse in that same photo).
   Variable NAMES are unchanged from v1 so every component/inline var()
   reference keeps working — only the underlying values changed.
   Display: Fraunces (soft, hand-carved warmth) · Body: Work Sans (clear, calm)
   Utility: IBM Plex Mono (clinical precision — durations, prices, times)
   ========================================================================== */

:root {
  --ink: #232A3D;
  --ink-soft: #545C78;
  --bg: #F5F7FC;
  --bg-alt: #EAEEFA;
  --teal: #2E7FB8;
  --teal-deep: #1B3A56;
  --teal-mist: #DCEEFB;
  --taupe: #6B7290;
  --taupe-line: rgba(107, 114, 144, 0.28);
  --gold: #5E9E35;
  --gold-deep: #457426;
  --rose: #9B7FD4;
  --white: #FFFFFF;
  --shadow: 0 12px 32px -16px rgba(27, 58, 86, 0.28);

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--teal-deep);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-optical-sizing: auto; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--teal); }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--gold-deep);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0.9em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 40px 0; }
.section-alt { background: var(--bg-alt); }
.section-teal { background: var(--teal); color: var(--teal-mist); }
.section-teal h2, .section-teal h3 { color: var(--white); }
.section-teal p { color: var(--teal-mist); }

.lede { font-size: 1.18rem; max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--teal-deep); }
.btn-gold:hover { background: var(--gold-deep); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: rgba(251,249,242,0.5); color: inherit; }
.btn-outline.on-light { border-color: var(--taupe-line); color: var(--teal-deep); }
.btn-outline:hover { background: rgba(251,249,242,0.12); }
.btn-outline.on-light:hover { background: var(--teal-mist); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-deep); }
.btn-fb { background: #1877F2; color: #fff; }
.btn-fb:hover { background: #145dc2; }
.btn-ig { background: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF,#515BD4); color: #fff; }
.btn:disabled, .btn.is-taken { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* ---------------- Nav ---------------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 238, 224, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--taupe-line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand img.brand-mark { width: 55px; height: auto; display: block; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--teal-deep);
  line-height: 1.1;
}
.brand-text small { display: block; font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em; color: var(--taupe); text-transform: uppercase; font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.94rem;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--teal-deep); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--teal-deep); margin: 5px 0; }

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 62px 0 0 0; background: var(--bg); flex-direction: column; padding: 30px 28px; gap: 22px; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .nav-cta .btn span.long { display: none; }
}

/* ---------------- Hero ---------------- */
.hero { padding: 29px 0 18px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-note { margin-top: 22px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--taupe); letter-spacing: 0.03em; }
.hero-art { position: relative; }
.hero-art .glow {
  position: absolute; inset: -18%; background: radial-gradient(ellipse at 50% 45%, rgba(181,137,42,0.30) 0%, rgba(181,137,42,0.16) 35%, rgba(181,137,42,0.05) 60%, transparent 80%);
  z-index: 0;
}
.hero-art svg, .hero-art img.hero-feet { position: relative; z-index: 1; width: 100%; height: auto; }
.hero-art img.hero-logo { max-width: 62%; margin: 0 auto; display: block; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ---------------- Foot map / signature element ---------------- */
.zone-dot { fill: var(--gold); stroke: var(--white); stroke-width: 4; cursor: pointer; r: 15; transition: r 0.15s ease, fill 0.15s ease; }
.zone-dot:hover, .zone-dot.active { fill: var(--rose); r: 20; }
.foot-outline { fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.foot-outline.soft { stroke: var(--teal-mist); }
.zone-label { font-family: var(--font-mono); font-size: 11px; fill: var(--teal-deep); }
.zone-label.light { fill: var(--white); }
.zone-leader { stroke: var(--taupe); stroke-width: 1; stroke-dasharray: 2 3; }

.map-explore { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.map-info { min-height: 150px; }
.map-info .cond-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--teal-deep); margin-bottom: 0.3em; }
.map-hint { font-family: var(--font-mono); font-size: 0.75rem; color: var(--taupe); }
@media (max-width: 1100px) { .map-explore { grid-template-columns: 1fr; } }

/* ---------------- Grid / cards ---------------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.media-row { align-items: stretch; }
.media-row img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius);
  padding: 28px;
}
.card-tight { padding: 20px; }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tag-list li { position: relative; padding-left: 22px; font-size: 0.96rem; color: var(--ink); }
.tag-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold-deep); }

.section-head { max-width: 680px; margin-bottom: 46px; }

/* ---------------- Timeline (About) ---------------- */
.timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--taupe-line); display: flex; flex-direction: column; gap: 40px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -39px; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--gold); border: 3px solid var(--bg);
}
.timeline-date { font-family: var(--font-mono); font-size: 0.78rem; color: var(--gold-deep); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------------- Testimonials ---------------- */
.quote-card { border-left: 3px solid var(--gold); padding-left: 22px; }
.quote-card p { font-family: var(--font-display); font-size: 1.12rem; font-style: italic; color: var(--ink); }
.quote-who { font-family: var(--font-mono); font-size: 0.8rem; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------------- Services / pricing ---------------- */
.service-row {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 18px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--taupe-line);
}
.service-row:last-child { border-bottom: none; }
.service-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--teal-deep); }
.service-desc { font-size: 0.9rem; color: var(--taupe); margin-top: 2px; }
.service-duration, .service-price { font-family: var(--font-mono); font-size: 0.92rem; color: var(--ink-soft); white-space: nowrap; }
.service-price { font-weight: 600; color: var(--teal-deep); }
@media (max-width: 700px) {
  .service-row { grid-template-columns: 1fr; gap: 4px; }
  .service-duration, .service-price { display: inline-block; }
}

/* ---------------- Forms ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--teal-deep); }
.field small { font-family: var(--font-mono); font-size: 0.72rem; color: var(--taupe); }
input, select, textarea {
  font-family: var(--font-body); font-size: 0.98rem; padding: 12px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--taupe-line);
  background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
textarea { resize: vertical; min-height: 100px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------------- Booking calendar ---------------- */
.slots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.slot-btn {
  font-family: var(--font-mono); font-size: 0.85rem; padding: 9px 14px;
  border-radius: 999px; border: 1px solid var(--taupe-line); background: var(--white);
  cursor: pointer; color: var(--ink);
}
.slot-btn:hover { border-color: var(--teal); }
.slot-btn.selected { background: var(--teal); color: var(--white); border-color: var(--teal); }
.slot-btn.taken { text-decoration: line-through; opacity: 0.4; cursor: not-allowed; }
.booking-summary {
  background: var(--teal-mist); border-radius: var(--radius); padding: 22px;
  font-family: var(--font-mono); font-size: 0.88rem; color: var(--teal-deep);
}
.confirm-panel { display: none; }
.confirm-panel.show { display: block; }
.notice {
  border-radius: var(--radius-sm); padding: 14px 18px; font-size: 0.92rem;
  background: var(--bg-alt); border: 1px solid var(--taupe-line); margin-bottom: 20px;
}
.notice.success { background: #E4EEE3; border-color: #A9C7A3; color: #2B4A28; }
.notice.cancelled { background: #F3E3E3; border-color: #D9A6A6; color: #6B2B2B; }
.pack-credit-banner { display: none; }
.pack-credit-banner.show { display: block; }
.pack-buy-form { display: none; margin-top: 16px; }
.pack-buy-form.show { display: block; }

/* ---------------- News / social cards ---------------- */
.news-card { display: flex; flex-direction: column; gap: 12px; }
.news-card .src { font-family: var(--font-mono); font-size: 0.72rem; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.05em; }
.news-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.news-actions .btn { padding: 9px 16px; font-size: 0.82rem; }
.refresh-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.updated-badge { font-family: var(--font-mono); font-size: 0.78rem; color: var(--taupe); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--taupe-line); border-top-color: var(--teal); animation: spin 0.8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.caption-box { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.9rem; white-space: pre-wrap; }
.setup-panel { border: 1px dashed var(--taupe-line); border-radius: var(--radius); padding: 24px; margin-top: 50px; }
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--teal-deep); color: var(--white); padding: 12px 22px; border-radius: 999px;
  font-size: 0.88rem; opacity: 0; transition: all 0.25s ease; pointer-events: none; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--teal-deep); color: var(--teal-mist); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1em; }
.site-footer a { color: var(--teal-mist); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand svg { width: 30px; height: 30px; }
.footer-brand .logo-halo {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 77px; height: 91px; flex: none;
}
.footer-brand .logo-halo::before {
  content: ""; position: absolute; inset: 0; background: var(--white);
  border-radius: 50%; filter: blur(6px); z-index: 0;
}
.footer-brand .logo-halo img.brand-mark { position: relative; z-index: 1; width: 48px; height: auto; display: block; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(251,249,242,0.3); display: flex; align-items: center; justify-content: center; }
.footer-bottom { border-top: 1px solid rgba(251,249,242,0.15); padding-top: 22px; font-size: 0.82rem; color: var(--taupe); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------- Utility ---------------- */
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.page-hero { padding: 25px 0 9px; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.06em; }
