/*
 * Design tokens pulled from quiterie-scherrer.com's stylesheet (FSD §4.1):
 * Red Hat Display for headings, Roboto for body text, and its warm
 * cream/pink/coral palette with teal/navy accents.
 */

:root {
  --color-bg: #ffffff;
  --color-text: #212934;
  --color-cream: #faf1e9;
  --color-pink: #f9d3d7;
  --color-coral: #f2a9a1;
  --color-coral-strong: #f16b56;
  --color-teal: #9ab2ba;
  --color-teal-deep: #2f6679;
  --color-navy: #09263f;

  --font-heading: "Red Hat Display", Arial, Helvetica, sans-serif;
  --font-body: Roboto, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 0.5em;
}

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

a:hover {
  color: var(--color-coral-strong);
}

.site-header {
  background: var(--color-cream);
  padding: 1.5rem 1rem;
  text-align: center;
}

.site-header__banner img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

.site-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.site-footer {
  background: var(--color-navy);
  color: var(--color-bg);
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

.button {
  display: inline-block;
  background: var(--color-coral-strong);
  color: var(--color-bg);
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--color-coral);
  color: var(--color-navy);
}

.card {
  background: var(--color-pink);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.intro-text {
  margin-bottom: 2rem;
}

.intro-text p {
  margin: 0 0 1em;
}

/* Form sections (booking form) — grouped, numbered steps instead of a
   flat list of fields, replacing the n8n-inherited layout. */
.form-section {
  margin-bottom: 2.5rem;
}

.form-section__title {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.form-section__step {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-coral-strong);
  font-size: 1rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-teal);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-bg);
  color: var(--color-text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-coral-strong);
  box-shadow: 0 0 0 2px rgba(241, 107, 86, 0.2);
}

.field-error {
  color: var(--color-coral-strong);
  font-size: 0.9rem;
  margin: 0.3rem 0 0;
}

.field-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.field-check label {
  margin-bottom: 0;
  font-weight: 400;
}

/* Formula selector — clickable cards instead of a plain <select>
   disconnected from the informational list above it. */
.formula-options {
  display: grid;
  gap: 1rem;
}

.formula-option {
  display: block;
  cursor: pointer;
  position: relative;
}

.formula-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.formula-option__card {
  background: var(--color-pink);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  border: 2px solid transparent;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.formula-option input:checked ~ .formula-option__card {
  border-color: var(--color-coral-strong);
  background: var(--color-cream);
}

.formula-option input:focus-visible ~ .formula-option__card {
  outline: 2px solid var(--color-teal-deep);
  outline-offset: 2px;
}

.formula-option__card h3 {
  margin-bottom: 0.25rem;
}

.formula-option__price {
  font-weight: 700;
  color: var(--color-coral-strong);
}

/* Session list — same "checkable card row" language as formulas, so the
   two selection steps read as one system rather than two different
   widgets bolted together. */
.session-list {
  display: grid;
  gap: 0.5rem;
}

.session-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--color-cream);
  border-radius: 6px;
  padding: 0.65rem 1rem;
}

.session-option--full {
  opacity: 0.55;
}

.session-option__remaining {
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--color-teal-deep);
  white-space: nowrap;
}
