/* ============================================================
   Mirai Clinic - Notion-inspired design system
   Warm neutral canvas, hairline borders, purple primary CTA,
   pastel feature tints, 8px rect buttons / 12px cards.
   Fonts: Inter (Notion Sans substitute) + Noto Sans JP
   ============================================================ */

:root {
  --primary: #5645d4;
  --primary-pressed: #4534b3;
  --on-primary: #ffffff;
  --link-blue: #0075de;
  --link-blue-pressed: #005bab;
  --brand-navy: #0a1530;
  --brand-orange: #dd5b00;
  --brand-orange-deep: #793400;
  --brand-pink: #ff64c8;
  --brand-purple: #7b3ff2;
  --brand-purple-800: #391c57;
  --brand-teal: #2a9d99;
  --brand-green-deep: #0b7a28;
  --brand-yellow: #f5d75e;
  --tint-peach: #ffe8d4;
  --tint-rose: #fde0ec;
  --tint-mint: #d9f3e1;
  --tint-lavender: #e6e0f5;
  --tint-sky: #dcecfa;
  --tint-yellow: #fef7d6;
  --tint-cream: #f8f5e8;
  --tint-gray: #f0eeec;
  --canvas: #ffffff;
  --surface: #f6f5f4;
  --surface-soft: #fafaf9;
  --hairline: #e5e3df;
  --hairline-soft: #ede9e4;
  --hairline-strong: #c8c4be;
  --ink-deep: #000000;
  --ink: #1a1a1a;
  --charcoal: #37352f;
  --slate: #5d5b54;
  --steel: #787671;
  --stone: #a4a097;
  --muted: #bbb8b1;
  --error: #e03131;
  --shadow-1: rgba(15, 15, 15, 0.04) 0px 1px 2px 0px;
  --shadow-2: rgba(15, 15, 15, 0.08) 0px 4px 12px 0px;
  --shadow-3: rgba(15, 15, 15, 0.2) 0px 24px 48px -8px;
  --font-sans: "Inter", "Noto Sans JP", -apple-system, system-ui, "Segoe UI", Helvetica, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--charcoal);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
button { font-family: inherit; cursor: pointer; }
svg { flex-shrink: 0; }

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

.hidden { display: none !important; }

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Buttons: 8px rectangles, never pills ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn-primary:hover { background: var(--primary-pressed); }
.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.btn-secondary:hover { border-color: var(--stone); background: var(--surface-soft); }
.btn-lg { padding: 13px 24px; font-size: 15px; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--link-blue);
  font-size: 14px;
  font-weight: 500;
}
.text-link:hover { color: var(--link-blue-pressed); text-decoration: underline; }

/* ---- Tag chips ---- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.tag-lavender { background: var(--tint-lavender); color: var(--brand-purple-800); }
.tag-mint { background: var(--tint-mint); color: var(--brand-green-deep); }
.tag-sky { background: var(--tint-sky); color: #0c4a77; }
.tag-peach { background: var(--tint-peach); color: var(--brand-orange-deep); }

.chip {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  background: var(--tint-gray);
  color: var(--slate);
  font-size: 12px;
  font-weight: 500;
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand svg { color: var(--primary); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .en {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--ink);
}
.brand-name .sub {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--steel);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav > a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s ease;
}
.main-nav > a:not(.btn):hover { color: var(--ink); }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--charcoal);
}
.nav-toggle:hover { background: var(--surface); }
.mobile-nav { border-top: 1px solid var(--hairline-soft); }
.mobile-nav nav { display: flex; flex-direction: column; padding: 12px 0 16px; }
.mobile-nav nav > a:not(.btn) {
  padding: 12px 4px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
}
.mobile-nav nav > a:not(.btn):hover { background: var(--surface); }
.mobile-nav .btn { margin-top: 10px; }

@media (max-width: 1023px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

main { padding-top: 64px; }

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface-soft); border-block: 1px solid var(--hairline-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--steel);
}
.section-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.section-lead {
  margin-top: 16px;
  font-size: 16px;
  color: var(--slate);
}

@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-title { font-size: 28px; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  background: var(--canvas);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.4px;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--primary);
}
.hero-title {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-title em {
  font-style: normal;
  color: var(--primary);
}
.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 620px;
  margin: 0 auto 26px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Sticky-note decorative dots (Notion hero flavor) */
.hero-dots span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  opacity: 0.9;
}
.hero-dots .d1 { top: 4px; left: 4%; background: var(--brand-yellow); transform: rotate(12deg); }
.hero-dots .d2 { top: 88px; right: 2%; background: var(--brand-pink); transform: rotate(-14deg); }
.hero-dots .d3 { top: 190px; left: -2%; background: var(--brand-teal); transform: rotate(20deg); }
.hero-dots .d4 { top: 240px; right: 6%; background: var(--brand-purple); transform: rotate(8deg); }
.hero-dots .d5 { top: 20px; right: 16%; background: var(--brand-orange); transform: rotate(-6deg); width: 10px; height: 10px; }

@media (max-width: 767px) {
  .hero { padding: 48px 0 64px; }
  .hero-title { font-size: 34px; letter-spacing: -1px; }
  .hero-lead { font-size: 15px; }
  .hero-dots { display: none; }
  .hero-actions .btn { width: 100%; }
}

/* Clinic info mockup card (Notion workspace-mockup translation) */
.clinic-card {
  margin-top: 56px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: var(--shadow-3);
  overflow: hidden;
  text-align: left;
}
.clinic-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--hairline-soft);
  background: var(--surface-soft);
}
.clinic-card-head .dots { display: flex; gap: 6px; }
.clinic-card-head .dots i {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
}
.clinic-card-head .dots i:nth-child(1) { background: var(--brand-pink); }
.clinic-card-head .dots i:nth-child(2) { background: var(--brand-yellow); }
.clinic-card-head .dots i:nth-child(3) { background: var(--brand-teal); }
.clinic-card-head .doc-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 0.3px;
}
.clinic-card-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.clinic-card-media { position: relative; min-height: 280px; }
.clinic-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clinic-card-info { padding: 28px; }
.clinic-card-info .info-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hairline-soft);
}
.clinic-card-info .info-title svg { color: var(--primary); }
.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.hours-row .label { font-size: 14px; color: var(--slate); }
.hours-row .value { font-size: 16px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.hours-row.status { border-top: 1px solid var(--hairline-soft); margin-top: 8px; padding-top: 14px; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: var(--tint-mint);
  color: var(--brand-green-deep);
  font-size: 12px;
  font-weight: 600;
}
.status-badge .pulse {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--brand-green-deep);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline-soft);
}
.stat { text-align: center; }
.stat .num {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat .num small { font-size: 11px; font-weight: 500; color: var(--slate); margin-left: 1px; }
.stat .label { font-size: 11px; color: var(--steel); margin-top: 2px; }

@media (max-width: 767px) {
  .clinic-card { margin-top: 40px; }
  .clinic-card-body { grid-template-columns: 1fr; }
  .clinic-card-media { min-height: 180px; }
  .clinic-card-info { padding: 20px; }
}

/* ---- Commitment cards (pastel tints) ---- */
.commit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.commit-card {
  position: relative;
  border-radius: 12px;
  padding: 32px;
  color: var(--charcoal);
}
.commit-card.tint-peach { background: var(--tint-peach); }
.commit-card.tint-sky { background: var(--tint-sky); }
.commit-card.tint-mint { background: var(--tint-mint); }
.commit-card.tint-lavender { background: var(--tint-lavender); }
.commit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.commit-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
}
.commit-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 6px;
  padding: 2px 10px;
}
.commit-card h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: 12px;
}
.commit-card p { font-size: 15px; line-height: 1.65; color: var(--charcoal); }

@media (max-width: 767px) {
  .commit-grid { grid-template-columns: 1fr; gap: 14px; }
  .commit-card { padding: 24px; }
}

/* ---- Department cards ---- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dept-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}
.dept-card:hover { box-shadow: var(--shadow-2); }
.dept-media { aspect-ratio: 4 / 3; background: var(--tint-gray); overflow: hidden; }
.dept-media img { width: 100%; height: 100%; object-fit: cover; }
.dept-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.dept-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.dept-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--steel);
}
.dept-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 4px;
}
.dept-sub { font-size: 13px; font-weight: 500; color: var(--steel); margin-bottom: 14px; }
.dept-desc { font-size: 14px; line-height: 1.65; color: var(--slate); margin-bottom: 18px; flex: 1; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.dept-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--hairline-soft);
}
.dept-foot .price { font-size: 18px; font-weight: 600; color: var(--primary); letter-spacing: -0.2px; }
.dept-foot .score { text-align: right; }
.dept-foot .score .label { font-size: 11px; color: var(--steel); }
.dept-foot .score .num {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.dept-foot .score .num small { font-size: 12px; font-weight: 500; }
.section-note {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: var(--steel);
}

@media (max-width: 1023px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .dept-grid { grid-template-columns: 1fr; }
}

/* ---- Hours & emergency ---- */
.hours-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}
.hours-head { text-align: left; margin-bottom: 24px; }
.hours-head .eyebrow { margin-bottom: 10px; }
.hours-head .section-title { font-size: 28px; }
.hours-table-wrap {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  overflow: hidden;
}
.hours-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours-table th {
  background: var(--surface);
  color: var(--steel);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  padding: 10px 16px;
}
.hours-table th:last-child { text-align: right; }
.hours-table td {
  padding: 11px 16px;
  border-top: 1px solid var(--hairline-soft);
  color: var(--charcoal);
}
.hours-table td.day { font-weight: 600; width: 72px; }
.hours-table td.note { text-align: right; font-size: 12px; color: var(--steel); }
.hours-table tr.closed td { color: var(--stone); }
.hours-cta { margin-top: 18px; }

.emergency-card {
  background: var(--tint-peach);
  border-radius: 12px;
  padding: 28px;
  color: var(--charcoal);
}
.emergency-card .em-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--brand-orange-deep);
  margin-bottom: 12px;
}
.emergency-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: 12px;
}
.emergency-card p { font-size: 14px; line-height: 1.7; color: var(--charcoal); margin-bottom: 18px; }
.emergency-tel {
  display: block;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(121, 52, 0, 0.15);
  border-radius: 8px;
  padding: 12px 16px;
  transition: background-color 0.15s ease;
}
.emergency-tel:hover { background: #ffffff; }
.emergency-tel .tel-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--brand-orange-deep);
  margin-bottom: 2px;
}
.emergency-tel .tel-num {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1023px) {
  .hours-grid { grid-template-columns: 1fr; }
}

/* ---- Patient journey ---- */
.flow-wrap { max-width: 720px; margin-inline: auto; }
.flow-list { position: relative; }
.flow-list::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--hairline);
}
.flow-item {
  position: relative;
  padding-left: 72px;
  padding-bottom: 24px;
}
.flow-item:last-child { padding-bottom: 0; }
.flow-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-1);
}
.flow-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 22px 24px;
}
.flow-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.flow-card p { font-size: 14px; line-height: 1.65; color: var(--slate); }

@media (max-width: 767px) {
  .flow-item { padding-left: 60px; }
  .flow-num { width: 44px; height: 44px; }
  .flow-list::before { left: 21px; }
}

/* ---- Staff ---- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.staff-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.2s ease;
}
.staff-card:hover { box-shadow: var(--shadow-2); }
.staff-photo {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--tint-gray);
  margin-bottom: 16px;
}
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.staff-caption .romaji {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone);
}
.staff-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.staff-role { margin: 10px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.staff-bio { font-size: 14px; line-height: 1.65; color: var(--slate); margin-bottom: 18px; }
.staff-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  border-top: 1px solid var(--hairline-soft);
  padding-top: 14px;
}
.staff-stats > div + div { border-left: 1px solid var(--hairline-soft); }
.staff-stats dt { font-size: 10px; color: var(--steel); letter-spacing: 0.5px; margin-bottom: 3px; }
.staff-stats dd {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.staff-stats dd small { font-size: 11px; font-weight: 500; color: var(--slate); }

@media (max-width: 1023px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .staff-grid { grid-template-columns: 1fr; }
}

/* ---- FAQ ---- */
.faq-wrap { max-width: 760px; margin-inline: auto; }
.faq-list {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--hairline-soft); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--surface-soft); }
.faq-q {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
.faq-q .q-mark { color: var(--primary); font-weight: 600; }
.faq-item summary .chevron { color: var(--stone); transition: transform 0.25s ease; }
.faq-item[open] summary .chevron { transform: rotate(180deg); }
.faq-a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0 24px 20px;
}
.faq-a .a-mark { color: var(--brand-orange); font-weight: 600; font-size: 15px; }
.faq-a p { font-size: 14px; line-height: 1.7; color: var(--slate); }

/* ---- Access ---- */
.access-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}
.map-card {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--tint-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.map-pin {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}
.map-card h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.map-card .addr { font-size: 12px; color: var(--slate); margin-bottom: 12px; }
.info-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
}
.info-card + .info-card { margin-top: 14px; }
.info-card .info-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--steel);
}
.info-card .info-head svg { color: var(--primary); }
.info-card .info-body { padding: 0 18px 16px; font-size: 14px; line-height: 1.7; color: var(--charcoal); }
.info-rows > div {
  padding: 12px 18px;
  border-top: 1px solid var(--hairline-soft);
}
.info-rows .row-label { font-size: 12px; color: var(--steel); margin-bottom: 3px; }
.info-rows .row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.info-rows .row-main p { font-size: 14px; color: var(--charcoal); }
.info-rows .row-main .val { font-size: 14px; font-weight: 600; color: var(--primary); white-space: nowrap; }

@media (max-width: 1023px) {
  .access-grid { grid-template-columns: 1fr; }
}

/* ---- Booking (CTA) ---- */
.cta-section {
  background: var(--surface);
  border-top: 1px solid var(--hairline-soft);
}
.booking-card {
  max-width: 880px;
  margin-inline: auto;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  padding: 40px;
}
.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.step-head .step-num {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--tint-lavender);
  color: var(--brand-purple-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}
.step-head h3 { font-size: 17px; font-weight: 600; color: var(--ink); }
.booking-block { margin-bottom: 32px; }

.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.time-slot {
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  color: var(--charcoal);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.time-slot:hover:not(.disabled):not(.selected) { border-color: var(--stone); background: var(--surface-soft); }
.time-slot.selected {
  border-color: var(--primary);
  background: var(--tint-lavender);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.time-slot.disabled {
  background: var(--surface);
  border-color: var(--hairline);
  color: var(--muted);
  cursor: not-allowed;
}
.date-btn { padding: 10px 4px; text-align: center; }
.date-btn .dow { font-size: 10px; color: var(--steel); margin-bottom: 2px; }
.date-btn.disabled .dow { color: var(--muted); }
.date-btn .day-num { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.date-btn .slots { font-size: 9px; margin-top: 3px; color: var(--brand-green-deep); letter-spacing: -1px; }
.date-btn.disabled .slots { color: var(--muted); letter-spacing: 0; }

.time-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.time-btn {
  padding: 11px 0;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 639px) {
  .booking-card { padding: 24px 18px; }
  .time-grid { grid-template-columns: repeat(4, 1fr); }
}

.booking-form {
  border-top: 1px solid var(--hairline-soft);
  padding-top: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.field { display: block; }
.field.wide { grid-column: 1 / -1; }
.field .field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.field .req { color: var(--error); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  padding: 10px 14px;
  min-height: 44px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: none; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--stone); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}
.field-msg { margin-bottom: 20px; }
.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 24px;
}
.agree input { margin-top: 3px; accent-color: var(--primary); }
.agree a { color: var(--link-blue); }
.agree a:hover { color: var(--link-blue-pressed); text-decoration: underline; }

@media (max-width: 639px) {
  .form-grid { grid-template-columns: 1fr; }
}

.booking-success { text-align: center; padding: 40px 0; }
.booking-success .check {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 12px;
  background: var(--tint-mint);
  color: var(--brand-green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-success h3 { font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.booking-success p { font-size: 14px; line-height: 1.7; color: var(--slate); }

.contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 28px auto 0;
}
@media (max-width: 639px) {
  .contact-row { grid-template-columns: 1fr; }
}

/* ---- Footer (light, Notion-style) ---- */
.site-footer {
  background: var(--surface-soft);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand > p { font-size: 14px; line-height: 1.7; color: var(--slate); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: var(--canvas);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-social a:hover { color: var(--primary); border-color: var(--hairline-strong); }
.footer-col h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--stone);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--steel); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-col .with-icon {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--steel);
  line-height: 1.6;
}
.footer-col .with-icon svg { margin-top: 3px; color: var(--stone); }
.footer-col .small { display: block; font-size: 12px; color: var(--stone); margin-top: 4px; }
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: var(--stone);
  border-top: 1px solid var(--hairline-soft);
  padding-top: 20px;
  margin-bottom: 20px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--stone);
}
.footer-bottom .wordmark { font-weight: 600; letter-spacing: 2px; }

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

/* ---- Floating CTA ---- */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-3);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.15s ease;
}
.floating-cta:hover { background: var(--primary-pressed); }
.floating-cta.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---- Legal pages ---- */
.legal-main { padding-top: 64px; }
.legal-wrap { max-width: 760px; margin-inline: auto; padding: 72px 0 96px; }
.legal-head { margin-bottom: 32px; }
.legal-head .eyebrow { margin-bottom: 10px; }
.legal-title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.legal-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 40px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--charcoal);
}
.legal-card > p { margin-bottom: 24px; }
.legal-card section { margin-bottom: 28px; }
.legal-card h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline-soft);
  margin-bottom: 12px;
}
.legal-card ul { list-style: disc; padding-left: 22px; color: var(--slate); }
.legal-card ul li { margin-bottom: 6px; }
.legal-card section > p { color: var(--slate); }
.legal-updated {
  font-size: 13px;
  color: var(--stone);
  border-top: 1px solid var(--hairline-soft);
  padding-top: 20px;
  margin-top: 8px;
}
.legal-table { display: grid; grid-template-columns: 200px 1fr; }
.legal-table dt,
.legal-table dd {
  padding: 12px 4px;
  border-bottom: 1px solid var(--hairline-soft);
}
.legal-table dt { font-weight: 600; color: var(--ink); font-size: 14px; }
.legal-table dd { color: var(--slate); font-size: 14px; }
@media (max-width: 639px) {
  .legal-card { padding: 24px 20px; }
  .legal-table { grid-template-columns: 1fr; }
  .legal-table dt { border-bottom: 0; padding-bottom: 2px; }
}
