:root {
  --navy: #12355b;
  --navy-dark: #0b2440;
  --teal: #1f8a83;
  --teal-light: #e6f4f2;
  --text: #1e2a36;
  --muted: #5b6b7a;
  --border: #dbe3ea;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --radius: 10px;
}

* { 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(--teal); }

img { max-width: 100%; }

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

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  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(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo span { color: var(--teal); }

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

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

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

.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(--navy);
  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; }
}

/* 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(--teal); color: #fff; }
.btn-primary:hover { background: #18736d; }

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

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

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-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; }

@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(--navy);
  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(--navy);
  font-size: 1.2rem;
}

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

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

.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(--teal);
  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(--navy);
  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(--teal-light);
  color: var(--teal);
  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(--teal);
  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(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a83' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

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

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

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(--navy);
  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; }


.booking-widget {
  --bk-50: #eef4f3;
  --bk-100: #e0eae9;
  --bk-400: #6aa29c;
  --bk-500: #3e8b83;
  --bk-600: #0f766e;
  --bk-700: #04655e;
  --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;
}

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

.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: rgba(238, 244, 243, 0.5);
  box-shadow: 0 0 0 2px rgba(62, 139, 131, 0.2);
}

.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: rgba(238, 244, 243, 0.5);
}

.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, 118, 110, 0.25), 0 2px 4px -2px rgba(15, 118, 110, 0.25) !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(--teal);
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 0 8px 8px 0;
}

/* Footer */
.site-footer {
  background: var(--navy-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(--navy); 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(--navy);
  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(--teal-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 16px 0;
}
