/* Brand colors. The shared pages are a neutral slate; each service line has its own color (below).
   --primary is headings, hero and footer; --accent is buttons and links. */
:root {
  --primary: #1e293b;
  --primary-dark: #0f172a;
  --accent: #334155;
  --accent-dark: #1e293b;
  --accent-light: #eef2f6;
  /* Service lines: forest green (tax), dark blue (health), maroon (auto). */
  --tax: #1d7a1d;
  --health: #1e429f;
  --auto: #8a1c24;
  --text: #1e2a36;
  --muted: #5b6b7a;
  --border: #dbe3ea;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --radius: 10px;
}

/* Each service line's palette. `.line-*` colors one card or group; `data-theme` on <body> colors a whole page. */
.line-tax, [data-theme="tax"] {
  --line: var(--tax);
  --line-dark: #155e17;
  --line-deep: #0d3f10;
  --line-mid: #5aa55a;
  --line-soft: #cfe6cf;
  --line-light: #ebf5eb;
}

.line-health, [data-theme="health"] {
  --line: var(--health);
  --line-dark: #17337d;
  --line-deep: #0d1f52;
  --line-mid: #5b7cc9;
  --line-soft: #cfdaf2;
  --line-light: #ebf0fa;
}

.line-auto, [data-theme="auto"] {
  --line: var(--auto);
  --line-dark: #6b141b;
  --line-deep: #470c11;
  --line-mid: #b8565d;
  --line-soft: #efcfd1;
  --line-light: #f9ecec;
}

[data-theme] {
  --primary: var(--line-dark);
  --primary-dark: var(--line-deep);
  --accent: var(--line);
  --accent-dark: var(--line-dark);
  --accent-light: var(--line-light);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--accent); }

img { max-width: 100%; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--bg);
  /* One stripe per service line. */
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, var(--tax) 0 33.33%, var(--health) 33.33% 66.66%, var(--auto) 66.66%) 1;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo .logo-name { color: var(--primary); }
.logo .logo-name span { color: var(--accent); }

.logo .logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--tax) 0 33.33%, var(--health) 33.33% 66.66%, var(--auto) 66.66%);
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover { color: var(--accent); }

.nav a[aria-current="page"]:not(.btn) { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }

.nav { align-items: center; }

.nav a.btn-primary { color: #fff; }

/* Two classes so it wins over .btn, which is declared later. */
.btn.btn-sm { padding: 8px 16px; font-size: 0.95rem; }

/* Phone header: logo, Book button and a menu toggle; the links open below. */
.header-actions { display: none; }

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  position: relative;
  transition: transform 0.2s, background-color 0.2s;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .site-header .container { min-height: 60px; gap: 12px; }

  .logo { font-size: 1.2rem; }

  .header-actions { display: flex; align-items: center; gap: 10px; }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding-bottom: 8px;
    border-top: 1px solid var(--border);
  }

  .js .nav { display: none; }
  .js .nav-open .nav { display: flex; }

  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: 0; }

  /* The header already shows a Book button on phones. */
  .nav a.btn { display: none; }
}

/* Small phones: shrink the logo so it stays on one row with the Book and menu buttons. */
@media (max-width: 420px) {
  .site-header .container { padding: 0 16px; gap: 8px; }
  .logo { font-size: 1.05rem; gap: 8px; }
  .logo .logo-mark { width: 22px; height: 22px; border-radius: 6px; }
  .header-actions { gap: 8px; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary { border-color: var(--primary); color: var(--primary); }
.btn-secondary:hover { background: var(--bg-alt); }

.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

/* Main button on dark backgrounds (heroes). */
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--accent-light); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 88px 0;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 760px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 0 32px;
  color: #d6e2ee;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* Home hero: the three line colors as a thin band at the bottom. */
.hero-home { position: relative; }

.hero-home::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--tax) 0 33.33%, var(--health) 33.33% 66.66%, var(--auto) 66.66%);
}

@media (max-width: 560px) {
  .hero { padding: 56px 0; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
}

/* Sections */
section { padding: 72px 0; }

.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--primary);
  margin: 0 0 8px;
}

.section-lead {
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 40px;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 1.2rem;
}

.card p { margin: 0; color: var(--muted); }

.card .tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Home page: one card per service line, in that line's color. */
.lines {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.line-card {
  display: flex;
  flex-direction: column;
  border-top: 6px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 25px -14px rgba(15, 23, 42, 0.25);
}

.line-card h3 { color: var(--line-dark); font-size: 1.35rem; }

.line-card { scroll-margin-top: 92px; }

.line-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--line-light);
  color: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.line-icon svg { width: 26px; height: 26px; }

.line-card ul {
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.line-card li { position: relative; padding-left: 22px; }

.line-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.line-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

.line-actions .btn { flex: 1 1 140px; text-align: center; }

.line-contact {
  display: grid;
  gap: 8px;
  margin: auto 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.line-contact div { display: grid; gap: 2px; }
.line-contact strong { color: var(--line-dark); }
.line-contact a { overflow-wrap: anywhere; }
.contact-pending { color: var(--muted); font-style: italic; }

.line-card .btn-primary { background: var(--line); }
.line-card .btn-primary:hover { background: var(--line-dark); }
.line-card .btn-secondary { border-color: var(--line); color: var(--line-dark); }
.line-card .btn-secondary:hover { background: var(--line-light); }

/* Service pages: offerings, checklists and a closing call to action. */
.card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card .card-icon svg { width: 22px; height: 22px; }

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

@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.split h2 { margin-top: 0; }

.split .disclaimer { margin-top: 0; }

.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
}

.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); }

.cta-band p { color: rgba(255, 255, 255, 0.82); margin: 0 auto 28px; max-width: 620px; }

.cta-band .hero-actions { justify-content: center; }

.other-lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 28px;
  font-size: 0.95rem;
}

.other-lines a { color: #fff; font-weight: 600; }

.steps { counter-reset: step; }

.step h3::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  margin-right: 10px;
}

/* Contact: details on the left, booking card on the right; stacked on phones */
.contact-wrap {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 800px) {
  .contact-wrap { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-list strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-list a { font-weight: 500; overflow-wrap: anywhere; }

.contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-list .contact-license {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 0 8px 8px 0;
}

.booking-card {
  border-radius: 16px;
  box-shadow: 0 10px 25px -10px rgba(18, 53, 91, 0.18);
  scroll-margin-top: 84px;
}

.booking-card h3 { font-size: 1.35rem; margin-bottom: 10px; }

.booking-card > p { color: var(--muted); margin: 0 0 16px; }

.booking-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.booking-points li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.booking-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.booking-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.booking-actions .btn { flex: 1 1 200px; text-align: center; }

.office-map {
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 25px -14px rgba(15, 23, 42, 0.25);
}

.office-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

form .field { margin-bottom: 16px; }

form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select,
form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

form textarea { min-height: 100px; resize: vertical; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.consent input { margin-top: 4px; flex-shrink: 0; }

.consent label { font-weight: 400; margin: 0; font-size: 0.85rem; }




/* Booking widget — mirrors the Snook booking page (Tailwind slate + the Snook brand palette) */
#book, #cita { scroll-margin-top: 72px; }

/* Booking page */
.book-page { background: var(--bg-alt); }

.book-hero { padding: 56px 0 32px; text-align: center; }

.book-hero h1 {
  color: var(--primary);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 12px;
}

.book-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

.book-main { padding: 0 0 72px; }

.book-help { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 24px auto 0; max-width: 640px; }


/* Neutral slate until a service line is chosen; then that line's colors (data-theme, set by booking.js). */
.booking-widget {
  --bk-50: #f1f5f9;
  --bk-100: #e2e8f0;
  --bk-400: #94a3b8;
  --bk-500: #64748b;
  --bk-600: #334155;
  --bk-700: #1e293b;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(226, 232, 240, 0.5), 0 8px 10px -6px rgba(226, 232, 240, 0.5);
  padding: 32px;
  color: var(--slate-800);
  scroll-margin-top: 84px;
}

[data-theme] .booking-widget {
  --bk-50: var(--line-light);
  --bk-100: var(--line-soft);
  --bk-400: var(--line-mid);
  --bk-500: var(--line-mid);
  --bk-600: var(--line);
  --bk-700: var(--line-dark);
}

.booking-widget button { font-family: inherit; }

/* Step 1 without a filter: services grouped by line, each with its color. */
.bk-group + .bk-group { margin-top: 24px; }

.bk-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--line-dark, var(--slate-800));
}

.bk-group-title::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--line, var(--slate-400));
}

.bk-group .bk-service { border-left: 4px solid var(--line, var(--slate-200)); }

.bk-head .bk-title { margin: 0; }

.bk-icon { display: inline-flex; width: 1em; height: 1em; flex-shrink: 0; }
.bk-icon svg { width: 100%; height: 100%; }

/* Stepper */
.bk-steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0 auto 32px;
  max-width: 560px;
  position: relative;
}

.bk-steps::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--slate-200);
}

.bk-steps li {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.bk-step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  background: #fff;
  border: 2px solid var(--slate-300);
  color: var(--slate-400);
}

.bk-step-dot .bk-icon { width: 16px; height: 16px; }

.bk-step-label { font-size: 0.75rem; font-weight: 600; color: var(--slate-400); }

.bk-steps li.is-current .bk-step-dot,
.bk-steps li.is-done .bk-step-dot {
  background: var(--bk-600);
  border-color: var(--bk-600);
  color: #fff;
  box-shadow: 0 0 0 4px var(--bk-100);
}

.bk-steps li.is-current .bk-step-label,
.bk-steps li.is-done .bk-step-label { color: var(--bk-600); }

/* Headings and text */
.bk-title { color: var(--slate-900); margin: 0 0 4px; font-size: 1.25rem; font-weight: 700; }
.bk-subtitle { color: var(--slate-500); margin: 0 0 20px; font-size: 0.9rem; }
.bk-muted { color: var(--slate-500); font-size: 0.85rem; margin: 12px 0; }

.bk-notice {
  background: var(--bk-50);
  border: 1px solid var(--bk-100);
  border-radius: 12px;
  padding: 12px 16px;
  white-space: pre-line;
  font-size: 0.85rem;
}

.bk-alert {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Service cards */
.bk-services {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.bk-service {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  padding: 16px 18px;
  border: 2px solid var(--slate-200);
  border-radius: 12px;
  background: #fff;
  color: var(--slate-800);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.bk-service:hover { border-color: var(--slate-300); background: rgba(248, 250, 252, 0.7); }

.bk-service:focus-visible {
  outline: none;
  border-color: var(--bk-600);
  background: var(--bk-50);
  box-shadow: 0 0 0 2px var(--bk-100);
}

.bk-service strong { color: var(--slate-900); font-size: 1rem; font-weight: 700; }
.bk-service span:not(.bk-icon) { color: var(--slate-500); font-size: 0.85rem; line-height: 1.5; }

.bk-service small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--slate-200);
  color: var(--slate-500);
  font-size: 0.8rem;
}

/* Header row with back link */
.bk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.bk-head strong { color: var(--slate-900); }

.bk-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px 12px;
  margin: -8px -12px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: background-color 0.15s;
}

.bk-link:hover { background: var(--slate-100); }

/* Fields */
.bk-field { margin-bottom: 16px; }

.bk-field > label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--slate-700);
}

.bk-field input:not([type="checkbox"]),
.bk-field select,
.bk-field textarea {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--slate-300);
  border-radius: 12px;
  font-size: 0.875rem;
  font-family: inherit;
  background: #fff;
  color: var(--slate-900);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.bk-field input:not([type="checkbox"]):focus,
.bk-field select:focus,
.bk-field textarea:focus {
  outline: none;
  border-color: var(--bk-500);
  box-shadow: 0 0 0 2px var(--bk-500);
}

.bk-field input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--bk-600);
}

.bk-field textarea { min-height: 90px; resize: vertical; }

.bk-agent { max-width: 360px; }
.bk-optional { font-weight: 400; color: var(--slate-400); }
.bk-help { display: block; color: var(--slate-500); margin-top: 4px; font-size: 0.78rem; }

.bk-error { display: block; color: #be123c; margin-top: 4px; font-size: 0.78rem; font-weight: 500; }
.bk-error:empty { display: none; }

.bk-field.has-error input:not([type="checkbox"]),
.bk-field.has-error select,
.bk-field.has-error textarea { border-color: #e11d48; }

.bk-row {
  display: grid;
  gap: 0 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Date and time */
.bk-datetime {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  align-items: start;
}

.bk-cal {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 20px;
}

.bk-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bk-cal-month { font-size: 0.875rem; font-weight: 700; color: var(--slate-800); text-transform: capitalize; }

.bk-cal-nav { display: flex; gap: 4px; }

.bk-nav {
  display: inline-flex;
  padding: 6px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--slate-600);
  cursor: pointer;
  transition: background-color 0.15s;
}

.bk-nav .bk-icon { width: 16px; height: 16px; }
.bk-nav:hover:not(:disabled) { background: #fff; }
.bk-nav:disabled { opacity: 0.35; cursor: default; }

.bk-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.bk-cal-dow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: capitalize;
  padding-bottom: 4px;
}

.bk-day {
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: #fff;
  color: var(--slate-800);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.bk-day:hover:not(:disabled):not(.is-selected) { background: var(--bk-50); color: var(--bk-600); }

.bk-day:disabled {
  border-color: transparent;
  background: none;
  color: var(--slate-400);
  font-weight: 500;
  cursor: not-allowed;
}

.bk-day.is-selected {
  background: var(--bk-600);
  border-color: var(--bk-600);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.bk-times h4 {
  margin: 4px 0 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
  text-transform: capitalize;
}

.bk-slot-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
}

.bk-slot {
  padding: 10px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: #fff;
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.bk-slot:hover, .bk-slot:focus-visible {
  outline: none;
  border-color: var(--bk-400);
  background: var(--bk-50);
}

.bk-tz { margin-bottom: 0; }

/* Summary */
.bk-summary {
  display: grid;
  gap: 10px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 0 0 24px;
  font-size: 0.9rem;
}

.bk-summary div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.bk-summary dt { font-weight: 600; color: var(--slate-500); }
.bk-summary dd { margin: 0; color: var(--slate-900); font-weight: 500; }

/* Consent checkboxes */
.bk-field.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.bk-field.consent input { margin-top: 3px; flex-shrink: 0; }
.bk-field.consent label { font-weight: 400; font-size: 0.8rem; line-height: 1.55; color: var(--slate-600); margin: 0; }
.bk-field.consent a { color: var(--bk-600); font-weight: 600; }

/* Buttons inside the widget */
.booking-widget .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 0;
  transition: background-color 0.15s, box-shadow 0.15s;
}

.booking-widget .btn-primary {
  background: var(--bk-600);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.booking-widget .btn-primary:hover { background: var(--bk-700); }

.booking-widget .btn-secondary {
  background: none;
  color: var(--slate-600);
}

.booking-widget .btn-secondary:hover { background: var(--slate-100); }

.bk-submit {
  width: 100%;
  margin-top: 12px;
  padding: 12px 32px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.2), 0 2px 4px -2px rgba(15, 23, 42, 0.2) !important;
}

.bk-submit:disabled { opacity: 0.5; cursor: wait; }

/* Done */
.bk-done { text-align: center; }
.bk-done .bk-title { font-size: 1.5rem; margin-bottom: 8px; }
.bk-done > p { color: var(--slate-600); }
.bk-done .bk-summary { text-align: left; max-width: 480px; margin: 20px auto; }

@media (max-width: 560px) {
  .booking-widget { padding: 20px 16px; border-radius: 12px; }
  .bk-step-dot { width: 34px; height: 34px; }
  .bk-steps::before { top: 16px; }
  .bk-cal { padding: 14px; }
}

/* Disclaimer */
.disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 0 8px 8px 0;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #b9c7d6;
  padding: 48px 0 32px;
  font-size: 0.9rem;
}

.site-footer a { color: #fff; }

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 0.8rem;
  line-height: 1.55;
}

.footer-disclaimer p { margin: 0 0 10px; }

/* Legal pages */
.legal {
  padding: 56px 0 72px;
}

.legal .container { max-width: 820px; }

.legal h1 { color: var(--primary); margin: 0 0 4px; font-size: clamp(1.8rem, 4vw, 2.4rem); }

.legal .effective { color: var(--muted); margin: 0 0 32px; }

.legal h2 {
  color: var(--primary);
  font-size: 1.3rem;
  margin: 36px 0 10px;
}

.legal h3 { font-size: 1.05rem; margin: 20px 0 6px; }

.legal li { margin-bottom: 6px; }

.not-found { padding: 88px 0 96px; }

.not-found-es {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.not-found-es h2 { margin-top: 0; font-size: 1.6rem; }

.legal .callout {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 16px 0;
}
