/* ---------- tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-2: #f4f7f6;
  --bg-3: #e9efed;
  --text: #14211f;
  --text-2: #51635f;
  --text-3: #7a8a85;
  --teal: #2a9d8f;
  --teal-d: #1f7a6f;
  --teal-l: #e6f4f2;
  --sand: #f2ede4;
  --dark: #0f1d1b;
  --border: #e1e6e4;
  --shadow-sm: 0 1px 2px rgba(15, 29, 27, .05);
  --shadow: 0 12px 30px rgba(15, 29, 27, .08);
  --shadow-lg: 0 30px 60px rgba(15, 29, 27, .15);
  --radius: 12px;
  --radius-lg: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* shared brand selection + focus */
::selection { background: var(--teal); color: #fff; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* reusable SVG grain overlay (data-URI, no extra HTTP request) */
.grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: .25; mix-blend-mode: overlay; z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-d); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, blockquote { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
  font-weight: 600; z-index: 200;
}
.skip:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer;
  transition: transform .15s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 4px 14px rgba(42,157,143,.35); }
.btn-primary:hover { background: var(--teal-d); box-shadow: 0 6px 20px rgba(42,157,143,.45); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: 12px 24px;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--teal-l); color: var(--teal-d);
  display: grid; place-items: center;
  position: relative;
}
.brand-mark::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--teal-l);
  animation: breathe 5.6s ease-in-out infinite;
  z-index: -1;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .55; }
  50%      { transform: scale(1.35); opacity: 0; }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 600; }
.brand-text em { font-style: normal; font-size: .78rem; color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; }

.nav {
  margin-left: auto;
  display: flex; gap: 6px;
}
.nav a {
  color: var(--text-2); padding: 8px 4px; margin: 0 10px;
  font-weight: 500; font-size: .95rem;
  position: relative;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute; left: 4px; right: 4px; bottom: 2px;
  height: 1.5px; background: var(--teal);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.topbar-cta { display: flex; }
.hamburger {
  display: none;
  background: none; border: 0; padding: 8px;
  cursor: pointer;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; transition: transform .2s; }

.mobile-menu {
  position: fixed; inset: 64px 0 0;
  background: var(--bg); padding: 32px 24px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 99; border-top: 1px solid var(--border);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 14px 16px; border-radius: 10px;
  color: var(--text); font-size: 1.1rem; font-weight: 500;
}
.mobile-menu a:hover { background: var(--bg-2); text-decoration: none; }
.mobile-menu .btn { margin-top: 12px; align-self: stretch; justify-content: center; }

@media (max-width: 860px) {
  .nav, .topbar-cta { display: none; }
  .hamburger { display: block; margin-left: auto; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid; align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(120deg, rgba(15,29,27,.85) 0%, rgba(15,29,27,.55) 50%, rgba(15,29,27,.25) 100%),
    linear-gradient(180deg, rgba(15,29,27,.2), rgba(15,29,27,.6));
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 96px 24px;
  width: 100%;
}
.eyebrow {
  display: inline-block;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 { color: #fff; max-width: 820px; }
.hero h1 .accent { color: #b6e8df; font-style: italic; font-weight: 400; }
.hero-sub {
  font-size: 1.15rem; max-width: 620px;
  color: rgba(255,255,255,.85);
  margin: 0 0 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-ctas .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }

/* hero entrance choreography */
.hero .eyebrow,
.hero h1,
.hero-sub,
.hero-ctas,
.hero-pills {
  opacity: 0;
  transform: translateY(14px);
  animation: rise .9s var(--ease) forwards;
}
.hero .eyebrow { animation-delay: .05s; }
.hero h1       { animation-delay: .18s; }
.hero-sub      { animation-delay: .34s; }
.hero-ctas     { animation-delay: .5s; }
.hero-pills    { animation-delay: .66s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* breath circle decoration: bottom-right of hero */
.breath-circle {
  position: absolute; right: -120px; bottom: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(182, 232, 223, .25);
  pointer-events: none;
}
.breath-circle::before,
.breath-circle::after {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(182, 232, 223, .18);
  animation: ripple 9s ease-out infinite;
}
.breath-circle::after { animation-delay: 4.5s; }
@keyframes ripple {
  0%   { transform: scale(.5); opacity: 0; }
  20%  { opacity: .9; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.7);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  z-index: 2;
}
.scroll-cue svg { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50%      { transform: translateY(6px); opacity: 1; }
}

.hero-pills {
  display: flex; gap: 10px; flex-wrap: wrap;
  list-style: none; padding: 0; margin: 0;
  font-size: .9rem;
}
.hero-pills li {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; padding: 6px 14px;
  color: rgba(255,255,255,.92);
}
.hero-pills span { color: #87d3c5; margin-right: 6px; }

/* ---------- marquee ticker ---------- */
.ticker {
  background: var(--dark); color: rgba(255,255,255,.7);
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ticker-track {
  display: inline-flex; gap: 56px;
  padding: 14px 28px;
  animation: ticker 38s linear infinite;
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 56px; }
.ticker-track .sep { color: var(--teal); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- section ornament divider ---------- */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  margin: 0 auto 40px;
  color: var(--teal);
  max-width: 240px;
}
.ornament::before,
.ornament::after {
  content: "";
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 35%, var(--border) 65%, transparent);
}
.ornament .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  position: relative;
}
.ornament .dot::before,
.ornament .dot::after {
  content: ""; width: 3px; height: 3px; border-radius: 50%;
  background: var(--teal); opacity: .5;
  position: absolute; top: 50%; transform: translateY(-50%);
}
.ornament .dot::before { left: -10px; }
.ornament .dot::after  { right: -10px; }

/* scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-grid > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-grid.is-in > * { opacity: 1; transform: translateY(0); }
.reveal-grid.is-in > *:nth-child(1) { transition-delay: .02s; }
.reveal-grid.is-in > *:nth-child(2) { transition-delay: .08s; }
.reveal-grid.is-in > *:nth-child(3) { transition-delay: .14s; }
.reveal-grid.is-in > *:nth-child(4) { transition-delay: .2s; }
.reveal-grid.is-in > *:nth-child(5) { transition-delay: .26s; }
.reveal-grid.is-in > *:nth-child(6) { transition-delay: .32s; }
.reveal-grid.is-in > *:nth-child(7) { transition-delay: .38s; }
.reveal-grid.is-in > *:nth-child(8) { transition-delay: .44s; }
.reveal-grid.is-in > *:nth-child(9) { transition-delay: .5s; }

/* ---------- generic section ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.kicker {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-d); font-weight: 600; margin: 0 0 12px;
}
.lead { font-size: 1.08rem; color: var(--text-2); }

/* ---------- about ---------- */
.about-grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center;
}
.about-photo {
  margin: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { margin-top: 8px; }
.about-copy p { color: var(--text-2); margin: 0 0 16px; font-size: 1.05rem; }
.creds {
  margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.cred-label {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); margin: 0 0 8px; font-weight: 600;
}
.cred-value { margin: 0 0 4px; color: var(--text); font-size: .95rem; font-weight: 500; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 380px; }
  .creds { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- services grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-l); }
.svc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--teal-l); color: var(--teal-d);
  display: grid; place-items: center;
  margin-bottom: 18px;
  transition: transform .5s var(--ease), background .3s;
}
.svc-card:hover .svc-icon {
  transform: rotate(-6deg) scale(1.06);
  background: var(--teal);
  color: #fff;
}
.svc-card h3 { margin: 0 0 8px; }
.svc-card p { color: var(--text-2); font-size: .94rem; margin: 0; }

@media (max-width: 920px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- spotlight ---------- */
.spotlight {
  position: relative; padding: 120px 0;
  color: #fff; isolation: isolate; overflow: hidden;
}
.spotlight-photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.spotlight-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(15,29,27,.92) 0%, rgba(15,29,27,.65) 100%);
}
.spotlight-inner {
  max-width: 800px; margin: 0 auto; padding: 0 24px; text-align: center;
  position: relative;
}
.spotlight .eyebrow { background: rgba(255,255,255,.08); }
.spotlight blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.35;
  font-weight: 400; font-style: italic; margin: 0;
  position: relative;
}
.spotlight blockquote::before {
  content: "\201C";
  position: absolute; left: 50%; top: -.35em;
  transform: translateX(-50%);
  font-family: 'Fraunces', serif;
  font-size: 12rem;
  line-height: 1;
  color: rgba(135, 211, 197, .14);
  font-style: normal;
  pointer-events: none;
  z-index: -1;
}
.spotlight blockquote footer {
  display: block; margin-top: 28px;
  font-family: 'Inter', sans-serif; font-style: normal;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  position: relative; padding-top: 22px;
}
.spotlight blockquote footer::before {
  content: "";
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%);
  width: 36px; height: 1px;
  background: rgba(135, 211, 197, .5);
}

/* ---------- insurance ---------- */
.ins-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; list-style: none; padding: 0; margin: 0 0 28px;
}
.ins-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 110px;
  display: grid; place-items: center;
  padding: 18px; text-align: center;
  font-weight: 600; color: var(--text-2);
  transition: border-color .2s, color .2s, transform .15s var(--ease);
  font-size: .98rem; line-height: 1.3;
}
.ins-card:hover { border-color: var(--teal); color: var(--teal-d); transform: translateY(-2px); }
.ins-note {
  text-align: center; color: var(--text-3); font-size: .9rem;
}
@media (max-width: 760px) { .ins-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: 48px;
  align-items: start;
  position: relative;
}
.contact-copy h2 { margin-top: 8px; }
.contact-copy > p { color: var(--text-2); margin-bottom: 28px; }
.contact-copy .btn { margin-bottom: 36px; }
.contact-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
}
.contact-list li {
  display: grid; grid-template-columns: 80px 1fr; gap: 16px;
  padding-top: 18px; border-top: 1px solid var(--border);
}
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list .ci {
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); font-weight: 600; padding-top: 2px;
}
.contact-list a, .contact-list span { color: var(--text); font-weight: 500; }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form h3 { margin: 0 0 24px; font-family: 'Fraunces', serif; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.field label .muted { color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: .98rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-l);
}
.field textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.field .error {
  display: block; color: #c44; font-size: .82rem; margin-top: 6px; min-height: 1em;
}
.field .count { font-size: .78rem; color: var(--text-3); text-align: right; margin-top: 4px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note {
  font-size: .82rem; color: var(--text-3);
  margin: 14px 0 0;
  padding: 12px 14px; border-radius: 10px; background: var(--bg-2);
}
.form-note strong { color: var(--teal-d); }

.form-success {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px; text-align: center;
  box-shadow: var(--shadow);
}
.success-mark {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: grid; place-items: center; margin: 0 auto 20px;
  font-size: 2.4rem; font-weight: 700;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* ---------- footer ---------- */
.footer {
  background: var(--dark); color: rgba(255,255,255,.78);
  padding: 64px 0 24px;
}
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand-mark { background: rgba(255,255,255,.08); color: #87d3c5; }
.footer .brand-text em { color: rgba(255,255,255,.5); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 48px;
  padding-bottom: 48px;
}
.foot-h {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5); font-weight: 600; margin: 0 0 12px;
}
.footer .muted { color: rgba(255,255,255,.62); }
.footer a { color: rgba(255,255,255,.85); }
.small { font-size: .9rem; line-height: 1.5; }
.footer-base {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px; text-align: center;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- booking page ---------- */
.booking-wrap {
  max-width: 1100px; margin: 0 auto; padding: 48px 24px 96px;
}
.booking-head { text-align: center; margin-bottom: 48px; }
.booking-head h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.booking-head p { color: var(--text-2); max-width: 580px; margin: 12px auto 0; font-size: 1.05rem; }

.steps {
  display: flex; justify-content: center; gap: 0;
  margin: 32px auto 48px; max-width: 600px;
  list-style: none; padding: 0;
}
.step {
  flex: 1; text-align: center; position: relative;
  font-size: .85rem; color: var(--text-3); font-weight: 500;
}
.step::before {
  content: counter(s);
  counter-increment: s;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-2); color: var(--text-3);
  margin: 0 auto 8px;
  font-weight: 600; font-size: .9rem;
  transition: background .2s, color .2s;
}
.steps { counter-reset: s; }
.step.active { color: var(--text); font-weight: 600; }
.step.active::before { background: var(--teal); color: #fff; }
.step.done::before { background: var(--teal-l); color: var(--teal-d); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 16px; left: calc(50% + 24px);
  width: calc(100% - 48px); height: 2px; background: var(--bg-3);
}

.booking-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px;
  align-items: start;
}

.cal-panel, .times-panel, .confirm-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.cal-header h2 { margin: 0; font-size: 1.3rem; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-2); border: 0; cursor: pointer;
  display: grid; place-items: center;
  color: var(--text); transition: background .2s;
}
.cal-nav button:hover { background: var(--bg-3); }
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; }

.cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: .76rem; color: var(--text-3); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding-bottom: 12px; margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.day {
  aspect-ratio: 1;
  border: 0; background: transparent;
  font: inherit; font-size: .98rem; font-weight: 500;
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: background .15s, color .15s, transform .1s;
}
.day:hover:not(:disabled) { background: var(--teal-l); }
.day.empty { visibility: hidden; }
.day.past, .day:disabled { color: var(--text-3); cursor: not-allowed; opacity: .4; }
.day.has-slots::after {
  content: ""; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--teal);
}
.cal-grid {
  animation: calIn .35s var(--ease);
}
@keyframes calIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.slot {
  animation: slotIn .4s var(--ease) backwards;
}
.time-group .slot:nth-child(1) { animation-delay: .02s; }
.time-group .slot:nth-child(2) { animation-delay: .06s; }
.time-group .slot:nth-child(3) { animation-delay: .1s; }
.time-group .slot:nth-child(4) { animation-delay: .14s; }
.time-group .slot:nth-child(5) { animation-delay: .18s; }
.time-group .slot:nth-child(6) { animation-delay: .22s; }
.time-group .slot:nth-child(n+7) { animation-delay: .26s; }
@keyframes slotIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.day.no-slots { color: var(--text-3); }
.day.no-slots:hover { background: transparent; cursor: not-allowed; }
.day.today { font-weight: 700; color: var(--teal-d); }
.day.selected {
  background: var(--teal); color: #fff;
}
.day.selected::after { background: #fff; }

.cal-legend {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--text-3);
}
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.dot.busy { background: var(--bg-3); }

.times-panel h3 { margin: 0 0 4px; font-family: 'Fraunces', serif; font-size: 1.2rem; }
.times-panel .selected-date { color: var(--text-2); font-size: .94rem; margin: 0 0 20px; }
.times-empty {
  color: var(--text-3); font-size: .95rem;
  padding: 40px 0; text-align: center;
}
.time-group { margin-bottom: 20px; }
.time-group p {
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); margin: 0 0 10px; font-weight: 600;
}
.time-slots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.slot {
  padding: 12px 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 8px;
  font: inherit; font-size: .9rem; font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.slot:hover { border-color: var(--teal); color: var(--teal-d); }
.slot.selected { background: var(--teal); color: #fff; border-color: var(--teal); }
.slot:disabled { opacity: .4; cursor: not-allowed; }

.confirm-panel {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.confirm-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 24px; margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.confirm-head h3 { margin: 0; font-family: 'Fraunces', serif; font-size: 1.3rem; }
.confirm-when {
  background: var(--teal-l); color: var(--teal-d);
  padding: 8px 16px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
}
.confirm-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.confirm-grid .field-full { grid-column: 1 / -1; }
.confirm-actions {
  display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px;
  flex-wrap: wrap;
}

.booking-success {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 36px; text-align: center;
  box-shadow: var(--shadow);
  max-width: 560px; margin: 48px auto;
}
.booking-success .success-mark { width: 84px; height: 84px; font-size: 2.8rem; }
.booking-success .summary {
  background: var(--bg-2); border-radius: 12px;
  padding: 20px; margin: 24px auto; max-width: 360px;
  text-align: left;
}
.booking-success .summary p { margin: 0 0 6px; color: var(--text-2); font-size: .92rem; }
.booking-success .summary strong { color: var(--text); }
.booking-success .ref {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem; color: var(--teal-d); font-weight: 600;
  margin-top: 8px;
}

@media (max-width: 860px) {
  .booking-grid { grid-template-columns: 1fr; }
  .confirm-grid { grid-template-columns: 1fr; }
  .steps { font-size: .76rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
  html { scroll-behavior: auto; }
}
