/* onlinebookingform.com — calm scheduling: teal + soft white */

:root {
  --bg: #f8fcfb;
  --bg-soft: #f0fdfa;
  --surface: #ffffff;
  --border: #cce8e4;
  --border-strong: #99d5cf;
  --text: #134e4a;
  --text-body: #334155;
  --muted: #64748b;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-deep: #115e59;
  --teal-light: #ccfbf1;
  --teal-pale: #f0fdfa;
  --shadow-sm: 0 2px 8px rgba(13, 148, 136, 0.08);
  --shadow-md: 0 8px 24px rgba(13, 148, 136, 0.12);
  --shadow-lg: 0 16px 40px rgba(13, 148, 136, 0.14);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --content-max: 72rem;
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }

a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(15, 118, 110, 0.35);
  transition: color 0.15s, text-decoration-color 0.15s;
}

a:hover { color: var(--teal-deep); text-decoration-color: var(--teal-deep); }

img, svg { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute; left: -999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 16px; top: 16px; width: auto; height: auto;
  padding: 0.5rem 1rem; background: var(--teal); color: #fff;
  z-index: 9999; border-radius: 8px; text-decoration: none;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 36px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0.35rem 0;
}

.nav-links a:hover,
.nav-links a.nav-active { color: var(--teal-dark); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.6rem 0; }
  .site-header { position: relative; }
}

/* Main layout */
main { flex: 1; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 2.5rem 0; }
.section--soft { background: var(--bg-soft); }

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 0 2rem;
  max-width: 42rem;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto;
}

/* Gallery */
.gallery-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .gallery-layout { grid-template-columns: 1fr; }
}

.filter-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: 5rem;
}

.filter-sidebar h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.filter-chips { display: flex; flex-direction: column; gap: 0.35rem; }

.filter-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}

.filter-chip:hover,
.filter-chip.is-active {
  background: var(--teal-pale);
  border-color: var(--border);
  color: var(--teal-dark);
}

.gallery-meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.gallery-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.gallery-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.gallery-card__preview {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--teal-pale) 0%, var(--surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.gallery-card__body { padding: 1rem 1.15rem 1.15rem; }

.gallery-card__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-dark);
  margin-bottom: 0.35rem;
}

.gallery-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.35;
}

.gallery-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  display: none;
}

.gallery-empty.is-visible { display: block; }

/* Mini form preview (SVG/CSS) */
.form-preview {
  width: 100%;
  max-width: 200px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.form-preview__header {
  background: var(--teal);
  color: #fff;
  padding: 0.55rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-align: center;
}

.form-preview__body { padding: 0.65rem 0.75rem; }

.form-preview__field {
  height: 0.45rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.form-preview__field--short { width: 60%; }
.form-preview__field--select {
  height: 0.55rem;
  background: linear-gradient(90deg, var(--bg-soft) 70%, var(--teal-light) 70%);
}

.form-preview__btn {
  height: 0.55rem;
  background: var(--teal);
  border-radius: 4px;
  margin-top: 0.5rem;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

/* Template detail */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.breadcrumb li::after { content: "/"; margin-left: 0.35rem; color: var(--border-strong); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: var(--teal-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.template-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

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

.template-preview-large {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.template-preview-large .form-preview { max-width: 100%; }

.template-category {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.template-category a { text-decoration: none; }

.template-excerpt { color: var(--muted); font-size: 1.0625rem; margin-bottom: 1.5rem; }

.provider-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.provider-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.provider-btn:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.provider-btn__icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: #fff;
}

.provider-btn__icon--formsapp { background: #7c3aed; }
.provider-btn__icon--jotform { background: #ff6100; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  font-size: 0.9375rem;
}

.feature-list svg {
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 0.15rem;
}

.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}

.content-block h2 { margin-top: 0; }

.quick-answer {
  background: var(--teal-pale);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.5rem;
}

.quick-answer__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  margin-bottom: 0.35rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.field-grid li {
  padding: 0.5rem 0.75rem;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: 0.875rem;
  margin: 0;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  background: var(--teal-pale);
  color: var(--teal-dark);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

/* FAQ */
.faq-list { margin: 0; padding: 0; list-style: none; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.65rem;
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--teal);
  font-weight: 400;
}

.faq-item[open] summary::after { content: "−"; }

.faq-answer {
  padding: 0 1.15rem 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Category spotlight */
.spotlight-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  align-items: center;
}

@media (max-width: 600px) {
  .spotlight-card { grid-template-columns: 1fr; }
}

.spotlight-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.spotlight-card p { margin: 0; font-size: 0.875rem; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--text);
  color: #cbd5e1;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-brand { display: inline-block; margin-bottom: 1rem; }
.footer-logo { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-grid h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.875rem;
}
.footer-grid a:hover { color: #fff; text-decoration: underline; }

.footer-sisters {
  font-size: 0.8125rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  margin-bottom: 1rem;
}

.footer-sisters-label {
  display: block;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-sisters a { color: #a7f3d0; text-decoration: none; }
.footer-sisters a:hover { color: #fff; text-decoration: underline; }

.footer-util {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.footer-util a { color: #e2e8f0; text-decoration: none; }
.footer-util a:hover { color: #fff; }
.footer-util-sep { color: #64748b; margin: 0 0.5rem; }

.footer-copy { font-size: 0.8125rem; color: #64748b; margin: 0; }

/* Prose */
.prose h3 { margin-top: 1.5rem; }
.prose p:last-child { margin-bottom: 0; }

/* Legal / about */
.page-header { padding: 2rem 0 1rem; max-width: 40rem; }
.page-header p { color: var(--muted); font-size: 1.0625rem; }

.legal-content { max-width: 42rem; }
.legal-content h2 { margin-top: 2rem; font-size: 1.25rem; }
