/* ==========================================================================
   Energy Pilates — site.css
   A calm, airy boutique studio aesthetic: elegant serif headings, clean sans
   body, generous whitespace, sage + cream palette. Mobile-first.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* ORIGINAL palette restored: warm navy ink + sage + warm ivory cream. */
  --ink: #27303B;          /* warm navy-charcoal (text / dark bands / footer) */
  --ink-soft: #44505C;
  --sage: #8F9E82;         /* logo sage (primary brand) */
  --sage-dark: #6E7D62;    /* deeper sage for hover/CTA depth */
  --sage-tint: #E7ECE1;    /* soft sage wash (highlight bands) */
  --forest: #27303B;       /* dark feature bands + footer (original navy) */
  --forest-deep: #1E2731;
  --accent: #6E7D62;
  --cream: #F7F5F0;        /* original warm ivory page ground */
  --sand: #EFEDE6;         /* alternating sections */
  --mist: #EFEDE6;
  --white: #FFFFFF;
  --line: #E2DED5;         /* warm hairline */
  --danger: #9B4A3A;
  --ok: #5B7B5B;

  --font-head: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(39, 48, 59, 0.05);
  --shadow: 0 6px 24px rgba(39, 48, 59, 0.08);

  --maxw: 1140px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
}

/* ---------- Reset-ish base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: 0.1px;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin-bottom: 0.35rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
small { font-size: 0.85rem; }

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 760px; }
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section-tint { background: var(--sage-tint); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-sand { background: var(--sand); }
/* Dark feature band — deep navy with a subtle sage gradient for premium contrast. */
.section-dark {
  background: linear-gradient(135deg, #222A34 0%, #27303B 55%, #333C45 100%);
  color: rgba(255, 255, 255, 0.84);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lede { color: rgba(255, 255, 255, 0.82); }
.section-dark .eyebrow { color: #BCD2BD; }
.section-dark .eyebrow::before { background: #BCD2BD; }
.section-dark .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.section-dark .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.section-dark a { color: #D7E0CC; }
.text-center { text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin: 0 0 0.75rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1px;
  background: var(--sage-dark);
  vertical-align: middle;
  margin-right: 0.6rem;
  opacity: 0.7;
}
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }
.stack > * + * { margin-top: 1rem; }
.flow > * + * { margin-top: 1.5rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: var(--radius);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.08s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sage); color: var(--white); border-color: var(--sage); }
.btn-primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--sage-dark); border-color: transparent; padding-inline: 0.4rem; }
.btn-ghost:hover { color: var(--ink); background: transparent; }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: var(--white); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Link-styled button (for POST logout) */
.linkbtn {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand:hover { text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.35rem; }
.main-nav a {
  color: var(--ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
}
.main-nav a:hover { color: var(--ink); background: var(--sage-tint); text-decoration: none; }
.main-nav a.is-active { color: var(--sage-dark); }
.nav-sep { width: 1px; height: 20px; background: var(--line); margin-inline: 0.3rem; }
.nav-cta { margin-left: 0.3rem; }

/* Mobile disclosure */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero { background: var(--sage-tint); position: relative; overflow: hidden; }
.hero-inner {
  padding-block: clamp(3rem, 9vw, 6.5rem);
  max-width: 720px;
}
.hero h1 { margin-bottom: 0.5rem; }
.hero .lede { margin-bottom: 1.9rem; }

/* Hero with a real studio photograph + warm scrim for legible text. */
.hero-photo {
  background:
    linear-gradient(105deg, rgba(39, 48, 59, 0.82) 0%, rgba(39, 48, 59, 0.55) 45%, rgba(110, 125, 98, 0.38) 100%),
    url("../img/studio-hero.1fbee4d3f369.jpg") center 38% / cover no-repeat;
}
.hero-photo .hero-inner { padding-block: clamp(4rem, 12vw, 8rem); }
.hero-photo h1,
.hero-photo .lede { color: var(--white); }
.hero-photo .lede { color: rgba(255, 255, 255, 0.92); }
.hero-photo .eyebrow { color: #BCD2BD; }
.hero-photo .eyebrow::before { background: #BCD2BD; }
/* Outline button reads on a dark photo. */
.hero-photo .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, 0.75); }
.hero-photo .btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* A framed studio photograph used in split sections. */
.photo-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 260px;
}

/* Branded panel — fills an image slot with the logo on a soft sage field. */
.brand-panel {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 120% at 70% 20%, #EEF3EC 0%, var(--sage-tint) 60%, #D3E0D2 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  min-height: 300px;
  padding: 2.5rem;
}
.brand-panel img { width: min(70%, 260px); height: auto; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card h3 { margin-top: 0; }
.card-hover:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
}
.card-price {
  font-family: var(--font-head);
  color: var(--sage-dark);
  font-size: 1.25rem;
}
.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--sage-dark);
  background: var(--sage-tint);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

/* Placeholder image block */
.img-placeholder {
  background: linear-gradient(135deg, var(--sage-tint), #dfe5d6);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  font-family: var(--font-head);
  font-size: 1rem;
  text-align: center;
  padding: 1rem;
}

/* ---------- Two-column feature rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}

/* ---------- Bands / CTA ---------- */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d7dbd0; max-width: 55ch; margin-inline: auto; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 1.25rem; }
.form-field label,
.form-section label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}
.form-field .helptext,
.helptext {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="url"], input[type="number"],
input[type="date"], input[type="time"], input[type="file"],
select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 0.65rem 0.8rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(143, 158, 130, 0.25);
}
input[type="checkbox"], input[type="radio"] {
  width: auto;
  accent-color: var(--sage-dark);
  margin-right: 0.5rem;
}
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.2rem;
}
.checkbox-field label { font-weight: 400; margin-bottom: 0; }

.form-section {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-section > legend,
.form-section > h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  padding: 0;
  margin: 0 0 1.1rem;
}
.errorlist {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  color: var(--danger);
  font-size: 0.85rem;
  font-weight: 600;
}
.field-error input, .field-error select, .field-error textarea { border-color: var(--danger); }

/* Auth card */
.auth-wrap {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.2rem;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.25rem;
  text-align: left;
}
.auth-card .auth-logo { height: 58px; margin: 0 auto 1.3rem; }
.auth-card h1 { font-size: 1.7rem; text-align: center; }
.auth-sub { text-align: center; color: var(--ink-soft); margin-bottom: 1.6rem; }
.auth-foot { margin-top: 1.4rem; text-align: center; font-size: 0.9rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 540px;
}
table.data th, table.data td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data thead th {
  background: var(--sage-tint);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage-dark);
  font-weight: 700;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--cream); }

/* Opening hours mini table */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }

/* ---------- Status pills ---------- */
.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage-dark);
  white-space: nowrap;
}
.pill-ok { background: #e3efe3; color: var(--ok); }
.pill-warn { background: #f6ecd9; color: #9a7b2e; }
.pill-danger { background: #f3e0da; color: var(--danger); }
.pill-muted { background: var(--line); color: var(--ink-soft); }

/* ---------- Stat cards ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.1rem;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.stat .stat-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--sage-dark);
  margin-bottom: 0.4rem;
}
.stat .stat-value {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
}

/* ---------- Alerts / messages ---------- */
.messages { margin-bottom: 1.5rem; }
.alert {
  position: relative;
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.85rem 2.6rem 0.85rem 1rem;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow-sm);
}
.alert-ok { border-left-color: var(--ok); background: #f3f8f3; }
.alert-warn { border-left-color: #c6992f; background: #fbf4e6; }
.alert-error { border-left-color: var(--danger); background: #fbf0ec; }
.alert-info { border-left-color: var(--sage); background: var(--sage-tint); }
.alert .alert-close {
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  background: none;
  border: 0;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 0.25rem 0.4rem;
}
.alert .alert-close:hover { color: var(--ink); }

/* ---------- Accordion (FAQ) ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--sage-dark); font-size: 1.4rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 1.2rem 1.2rem; color: var(--ink-soft); }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 0.3rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.tabs a {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.is-active { color: var(--sage-dark); border-bottom-color: var(--sage); }

/* ---------- Radio cards (booking) ---------- */
.radio-cards { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.radio-card {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1.1rem 2.7rem;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.radio-card:hover { border-color: var(--sage); }
.radio-card input { position: absolute; left: 1rem; top: 1.25rem; }
.radio-card:has(input:checked) {
  border-color: var(--sage-dark);
  box-shadow: 0 0 0 2px rgba(143, 158, 130, 0.3);
  background: var(--sage-tint);
}
.radio-card .rc-name { font-weight: 600; font-family: var(--font-head); font-size: 1.1rem; }
.radio-card .rc-rate { color: var(--sage-dark); font-weight: 600; }
.radio-card .rc-desc { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.3rem; }

/* Availability preview */
.avail-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  min-height: 48px;
}
.avail-preview ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }

/* Day group (availability page) */
.day-group { margin-bottom: 1.6rem; }
.day-group h3 {
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
  margin-bottom: 0.7rem;
}
.slot-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
}
.slot-row:last-child { border-bottom: 0; }
.slot-time { font-variant-numeric: tabular-nums; font-weight: 600; }

/* Definition / detail rows */
.detail-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.6rem 1.5rem;
}
.detail-grid dt { color: var(--ink-soft); font-size: 0.9rem; }
.detail-grid dd { margin: 0; font-weight: 600; }
.price-box {
  background: var(--sage-tint);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.5rem;
}
.price-box .price-row { display: flex; justify-content: space-between; padding: 0.3rem 0; }
.price-box .price-total {
  border-top: 1px solid var(--sage);
  margin-top: 0.4rem;
  padding-top: 0.7rem;
  font-family: var(--font-head);
  font-size: 1.3rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest);
  color: #c9cfc3;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  margin-top: 3rem;
  font-size: 0.92rem;
  position: relative;
  overflow: hidden;
}
/* Big, faint logo watermark (cosmetic) — white silhouette on the dark footer. */
.site-footer::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -130px;
  width: 400px;
  height: 400px;
  background: url("../img/brand/logo-black.40876fdf1e51.png") no-repeat center / contain;
  filter: invert(1);
  opacity: 0.06;
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.site-footer a { color: var(--sage-tint); }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.footer-grid h4 {
  color: var(--white);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.footer-brand img { height: 52px; filter: brightness(0) invert(1); opacity: 0.92; margin-bottom: 0.8rem; }
.footer-brand p { color: #a9b0a2; max-width: 32ch; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.2rem;
  padding-top: 1.3rem;
  font-size: 0.82rem;
  color: #9aa194;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0.45rem; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.w-full { width: 100%; }
.nowrap { white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .split { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-block: 0.6rem;
    gap: 0.1rem;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 0.7rem 0.6rem; }
  .nav-sep { display: none; }
  .nav-cta { margin-left: 0; margin-top: 0.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 0.2rem 0; }
  .detail-grid dt { margin-top: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Studio calendar ---------- */
.cal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.cal-nav { display: flex; gap: .5rem; }
.btn-sm { padding: .35rem .8rem; font-size: .85rem; }
.cal-range { font-weight: 600; color: var(--ink); margin: .25rem 0 1rem; }
.cal-legend { display: flex; gap: 1.2rem; margin-bottom: .8rem; font-size: .85rem; color: var(--ink-soft); }
.cal-legend .sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: .35rem; }
.cal-legend .sw.open { background: #DCEBD6; border: 1px solid #A9C79B; }
.cal-legend .sw.busy { background: #ECE7DF; border: 1px solid var(--line); }
.cal-legend .sw.closed { background: #F2F0EB; border: 1px solid var(--line); }
.cal-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.cal { border-collapse: collapse; width: 100%; min-width: 680px; }
.cal th, .cal td { border: 1px solid var(--line); text-align: center; }
.cal thead th { background: var(--sage-tint); padding: .5rem .25rem; font-weight: 600; position: sticky; top: 0; }
.cal thead th .dow { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--sage-dark); }
.cal thead th .dom { display: block; font-size: .9rem; color: var(--ink); }
.cal thead th.is-today { background: var(--sage); }
.cal thead th.is-today .dow, .cal thead th.is-today .dom { color: #fff; }
.cal-time, .cal-time-h { background: var(--cream); font-weight: 500; font-size: .76rem; color: var(--ink-soft); white-space: nowrap; padding: .2rem .5rem; width: 74px; }
.cal-cell { height: 34px; padding: 0; }
.cal-cell.closed { background: #F2F0EB; }
.cal-cell.past { background: #F6F5F1; }
.cal-cell.busy { background: #ECE7DF; }
.cal-cell.busy span { font-size: .68rem; color: var(--ink-soft); }
.cal-cell.open { background: #DCEBD6; }
.cal-cell.open a { display: block; height: 100%; line-height: 34px; font-size: .72rem; color: transparent; text-decoration: none; transition: background .12s, color .12s; }
.cal-cell.open a:hover { background: var(--sage); color: #fff; }
@media (max-width: 520px) { .cal-cell.open a { color: var(--sage-dark); } }

/* ---------- Calendar: two-column layout + month picker ---------- */
.cal-layout { display: flex; gap: 1.5rem; align-items: flex-start; }
.cal-main { flex: 1 1 auto; min-width: 0; }
.btn.is-disabled { opacity: .4; pointer-events: none; }
.month-cal {
  flex: 0 0 300px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 90px;
}
@media (max-width: 900px) {
  .cal-layout { flex-direction: column; }
  .month-cal { flex-basis: auto; width: 100%; position: static; order: -1; }
}
.month-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; }
.month-head strong { font-family: var(--font-head); font-size: 1.12rem; color: var(--ink); }
.mc-nav {
  display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 7px; color: var(--sage-dark); font-size: 1.2rem;
  text-decoration: none;
}
.mc-nav:hover { background: var(--sage-tint); text-decoration: none; }
.mc-nav.disabled { opacity: .3; pointer-events: none; }
.mc { width: 100%; border-collapse: collapse; }
.mc th { font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); padding: .3rem 0; font-weight: 600; }
.mc td { text-align: center; padding: 2px; }
.mc-day a, .mc-day span {
  display: block; line-height: 34px; height: 34px; border-radius: 8px;
  font-size: .85rem; text-decoration: none; color: var(--ink);
}
.mc-day.out a, .mc-day.out span { color: #C3C7BC; }
.mc-day.disabled span { color: #CDD1C7; }
.mc-day.open a { background: #DCEBD6; color: #3F5A37; font-weight: 600; }
.mc-day.open a:hover { background: var(--sage); color: #fff; }
.mc-day.full a { background: #F0ECE3; color: var(--ink-soft); }
.mc-day.full a:hover { background: #E6E0D4; }
.mc-day.closed a { color: #B4B9AD; }
.mc-day.closed a:hover { background: var(--sage-tint); }
.mc-day.today a, .mc-day.today span { box-shadow: inset 0 0 0 2px var(--sage-dark); }
.mc-day.selected a, .mc-day.selected span { background: var(--ink); color: #fff; font-weight: 600; box-shadow: none; }
.mc-legend { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: .8rem; font-size: .74rem; color: var(--ink-soft); }
.mc-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: .3rem; border: 1px solid var(--line); }
.cal thead th.is-selected { outline: 2px solid var(--ink); outline-offset: -2px; }

/* Changeover buffer cells on the calendar */
.cal-cell.buffer {
  background: repeating-linear-gradient(45deg, #F1EFE9, #F1EFE9 5px, #E8E4DA 5px, #E8E4DA 10px);
}
.cal-legend .sw.buffer {
  background: repeating-linear-gradient(45deg, #F1EFE9, #F1EFE9 3px, #E8E4DA 3px, #E8E4DA 6px);
  border: 1px solid var(--line);
}

/* Homepage announcement banner */
.announce-bar {
  background: var(--forest);
  color: #fff;
  text-align: center;
  padding: .6rem 1rem;
  font-size: .92rem;
  letter-spacing: .01em;
}

/* Cart badge + table helpers */
.cart-badge { display:inline-block; min-width:18px; padding:0 5px; background:var(--sage-dark); color:#fff;
  border-radius:9px; font-size:.72rem; line-height:18px; text-align:center; vertical-align:1px; }
table.data td.num, table.data th.num { text-align:right; }
table.data tfoot .total-row td { border-top:2px solid var(--line); font-size:1.05rem; padding-top:.8rem; }

/* ==========================================================================
   Booking page — calendar + form
   ========================================================================== */
.book-head { margin-bottom: 1.4rem; }

.book-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 1.8rem;
  align-items: start;
}
@media (max-width: 820px) {
  .book-layout { grid-template-columns: 1fr; }
}

/* Left calendar card */
.book-cal {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 1rem;
}
@media (max-width: 820px) {
  .book-cal { position: static; }
}
.book-cal .month-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .6rem; font-size: 1.02rem;
}
.book-cal .mc td { padding: 3px; }
.book-cal .mc-day a, .book-cal .mc-day span {
  display: block; padding: .5rem 0; border-radius: 6px; font-size: .9rem;
}
/* A day picked in-session (JS) */
.mc-day.is-picked a, .mc-day.is-picked span {
  background: var(--ink) !important; color: #fff !important; font-weight: 700;
  box-shadow: none !important;
}

/* Right form card */
.book-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
}

/* Numbered steps */
.book-steps { list-style: none; margin: 0; padding: 0; }
.book-step { display: flex; gap: 1rem; padding: 0 0 1.5rem; }
.book-step:not(:last-child) { border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.step-no {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--sage-tint); color: var(--sage-dark);
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
}
.step-body { flex: 1 1 auto; min-width: 0; }
.step-body h3 { margin: .2rem 0 .8rem; font-size: 1.12rem; }

/* Picked-day banner */
.picked-day {
  border: 1px dashed var(--line); border-radius: 8px; padding: .8rem 1rem;
  background: var(--cream); font-size: 1.05rem;
}
.picked-day .pd-empty { color: var(--ink-soft); font-size: .95rem; }
.picked-day .pd-set { color: var(--ink); font-weight: 600; font-family: var(--font-head); }

/* Duration select */
.duration-select {
  width: auto; min-width: 180px; padding: .6rem .9rem; font: inherit;
  border: 1px solid var(--line); border-radius: 8px; background: var(--white);
}
.duration-select:focus { border-color: var(--sage); outline: none; }

/* Time-slot chips */
.time-slots { display: flex; flex-wrap: wrap; gap: .55rem; }
.ts-hint { flex-basis: 100%; margin: .2rem 0; font-size: .92rem; }
.ts-chip {
  appearance: none; border: 1px solid var(--line); background: var(--white);
  color: var(--ink); font: inherit; font-size: .9rem; font-variant-numeric: tabular-nums;
  padding: .5rem .8rem; border-radius: 999px; cursor: pointer;
  transition: background .12s, border-color .12s, color .12s, transform .05s;
}
.ts-chip.free:hover { border-color: var(--sage); background: var(--sage-tint); }
.ts-chip.free:active { transform: translateY(1px); }
.ts-chip.is-picked { background: var(--sage); border-color: var(--sage); color: #fff; font-weight: 600; }
.ts-chip.taken, .ts-chip.past {
  color: #B4B9AD; background: #F6F5F1; cursor: not-allowed;
  text-decoration: line-through; text-decoration-color: #CDD1C7;
}

/* Summary + submit */
.book-summary {
  background: var(--sage-tint); border-radius: 10px; padding: 1.1rem 1.2rem;
  margin: .5rem 0 1.2rem;
}
.bs-row { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; font-size: .95rem; }
.bs-row span { color: var(--ink-soft); }
.bs-row strong { text-align: right; }
.bs-row.bs-total { border-top: 1px solid rgba(39,48,59,.12); margin-top: .4rem; padding-top: .6rem; font-size: 1.05rem; }
.bs-note { margin: .5rem 0 0; font-size: .8rem; }
.btn-lg { padding: .85rem 1.8rem; font-size: 1.02rem; width: 100%; }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; }

/* Dashboard "awaiting payment" stat highlight */
.stat.stat-alert { border-color: #c6992f; background: #fbf4e6; }
.stat.stat-alert .stat-value { color: #9a7b2e; }
.stat.stat-good { border-color: #bcd3b4; background: #eef4ea; }
.stat.stat-good .stat-value { color: #3f5a37; }
.stat .stat-sub { font-size: .76rem; color: var(--ink-soft); margin-top: .25rem; line-height: 1.3; }

/* Native datetime-local pickers in the admin reservation form */
.vDateField, input[type="datetime-local"] { padding: 4px 6px; }

/* Invoice payment box */
.pay-box {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm);
}
.pay-box h2 { margin-top: 0; }
.pay-or { display: flex; align-items: center; gap: 1rem; color: var(--ink-soft);
  font-size: .85rem; margin: 1.1rem 0; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pay-methods { display: grid; gap: .7rem; }
.pay-method {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: .7rem; align-items: center; padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.pay-method:hover { border-color: var(--sage); }
.pay-method:has(input:checked) { border-color: var(--sage); background: var(--sage-tint); }
.pay-method input { grid-row: 1 / 3; }
.pay-method .pm-title { font-weight: 600; }
.pay-method .pm-desc { grid-column: 2; color: var(--ink-soft); font-size: .88rem; }

/* Interactive location map (Google embed) */
.studio-map { width: 100%; min-height: 340px; height: 100%; border: 0;
  border-radius: 14px; box-shadow: 0 2px 14px rgba(39,48,59,.10); }
@media (max-width: 720px) { .studio-map { min-height: 260px; } }

/* Full-width "Certified & insured" trust banner (About page) */
.trust-banner { text-align: center; max-width: 820px; margin-inline: auto;
  background: var(--sage-tint); border: 1px solid var(--line); }
