/* Transylvania on Horseback — booking request form. Palette follows the February 2026 redesign. */
.toh-intro, .toh-booking {
  --toh-forest: #2f4a36;
  --toh-forest-dark: #22372a;
  --toh-brown: #7a5534;
  --toh-gold: #b8893f;
  --toh-cream: #f6f0e4;
  --toh-paper: #fbf8f2;
  --toh-ink: #2b2620;
  --toh-muted: #6f665b;
  --toh-line: #ddd2bf;
  --toh-ok: #3d6b45;
  --toh-review: #a7741f;
  --toh-fail: #a2432f;
  --toh-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --toh-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-family: var(--toh-sans);
  color: var(--toh-ink);
  max-width: 860px;
  margin-inline: auto;
}
.toh-intro h2, .toh-intro h3, .toh-booking h3, .toh-booking h4, .toh-booking legend {
  font-family: var(--toh-serif);
  color: var(--toh-forest-dark);
  font-weight: 600;
}
.toh-intro h2 { font-size: 2.4rem; margin: 0 0 .5rem; }
.toh-intro > p { font-size: 1.05rem; line-height: 1.6; color: var(--toh-muted); }
.toh-standard {
  background: var(--toh-cream);
  border-left: 4px solid var(--toh-gold);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
}
.toh-standard h3 { margin: 0 0 .5rem; font-size: 1.4rem; }
.toh-standard ul { margin: 0; padding-left: 1.2rem; line-height: 1.6; }

.toh-form { background: var(--toh-paper); border: 1px solid var(--toh-line); padding: clamp(1rem, 4vw, 2rem); }
.toh-steps { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.75rem; flex-wrap: wrap; }
.toh-steps li { display: flex; align-items: center; gap: .4rem; font-size: .9rem; color: var(--toh-muted); flex: 1 1 auto; }
.toh-steps li span {
  display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  border: 1px solid var(--toh-line); font-weight: 600; background: #fff;
}
.toh-steps li.is-on { color: var(--toh-forest-dark); font-weight: 600; }
.toh-steps li.is-on span { background: var(--toh-forest); color: #fff; border-color: var(--toh-forest); }
.toh-steps li.is-done span { background: var(--toh-cream); color: var(--toh-forest); border-color: var(--toh-forest); }

.toh-lead { color: var(--toh-muted); line-height: 1.6; margin-top: 0; }
.toh-pkg { background: var(--toh-cream); padding: .6rem .9rem; margin: 0 0 1rem; }
.toh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1.25rem; }
.toh-grid-4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.toh-field { margin-bottom: 1.1rem; }
.toh-label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.toh-req { color: var(--toh-fail); }
.toh-help { margin: -.15rem 0 .45rem; font-size: .85rem; color: var(--toh-muted); line-height: 1.45; }
.toh-input {
  width: 100%; box-sizing: border-box; padding: .65rem .75rem; font: inherit; color: inherit;
  background: #fff; border: 1px solid var(--toh-line); border-radius: 2px;
}
.toh-input:focus { outline: 2px solid var(--toh-gold); outline-offset: 1px; border-color: var(--toh-gold); }
.has-err .toh-input, .has-err .toh-radios, .has-err .toh-cards { border-color: var(--toh-fail); }
.toh-err { color: var(--toh-fail); font-size: .85rem; margin: .3rem 0 0; }
.toh-warn { color: var(--toh-review); font-size: .85rem; margin: .3rem 0 0; }
.toh-formerr { color: var(--toh-fail); text-align: right; margin: .75rem 0 0; }

.toh-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; border: 1px solid transparent; }
.toh-card {
  position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1rem 3rem 1rem 1rem; cursor: pointer;
  background: #fff; border: 1.5px solid var(--toh-line); border-radius: 12px; transition: border-color .15s, box-shadow .15s;
}
.toh-card .toh-dot { position: absolute; top: 1rem; right: 1rem; }
.toh-card:has(input:focus-visible) { outline: 3px solid var(--toh-gold); outline-offset: 2px; }
@media (max-width: 640px) { .toh-cards { grid-template-columns: 1fr; } }
.toh-card input { position: absolute; opacity: 0; pointer-events: none; }
.toh-card strong { font-family: var(--toh-serif); font-size: 1.25rem; color: var(--toh-forest-dark); }
.toh-card span { font-size: .88rem; color: var(--toh-muted); line-height: 1.45; }
.toh-card .toh-price { font-style: normal; font-weight: 600; font-size: .9rem; color: var(--toh-brown); margin-top: auto; padding-top: .35rem; }
.toh-pricenote { margin-top: .6rem; }
.toh-card:hover { border-color: var(--toh-gold); }
.toh-card.is-on { border-color: var(--toh-forest); box-shadow: inset 0 0 0 1px var(--toh-forest); background: var(--toh-cream); }

.toh-nums { display: flex; gap: .5rem; flex-wrap: wrap; }
.toh-num {
  width: 3rem; height: 3rem; font: 600 1.1rem var(--toh-sans); cursor: pointer;
  background: #fff; border: 1px solid var(--toh-line); color: var(--toh-ink);
}
.toh-num.is-on { background: var(--toh-forest); border-color: var(--toh-forest); color: #fff; }

.toh-choose { margin: 0 0 .5rem; font-size: .85rem; color: var(--toh-muted); }
/* Options look like what they are: a row with a round button to tap, the whole row is the target (at least 52 px high). */
.toh-radios { display: flex; flex-wrap: wrap; gap: .5rem; border: 1px solid transparent; }
.toh-radio { cursor: pointer; }
.toh-radio input { position: absolute; opacity: 0; pointer-events: none; }
.toh-radio span {
  display: flex; align-items: center; gap: .7rem; min-height: 52px; padding: .65rem 1rem; background: #fff;
  border: 1.5px solid var(--toh-line); border-radius: 12px; font-size: 1rem; line-height: 1.35;
}
.toh-radio:hover span { border-color: var(--toh-gold); }
.toh-radio input:checked + span { background: var(--toh-cream); border-color: var(--toh-forest); box-shadow: inset 0 0 0 1px var(--toh-forest); font-weight: 600; }
.toh-radio input:focus-visible + span { outline: 3px solid var(--toh-gold); outline-offset: 2px; }
.toh-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #9a8f7c; background: #fff; display: grid; place-items: center; }
.toh-radio input:checked + span .toh-dot, .toh-card.is-on .toh-dot { border-color: var(--toh-forest); background: var(--toh-forest); }
.toh-radio input:checked + span .toh-dot::after, .toh-card.is-on .toh-dot::after { content: ""; width: 7px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translate(0, -1px) rotate(45deg); }
.toh-radios-row .toh-radio span { min-width: 64px; justify-content: center; }
@media (max-width: 640px) {
  .toh-radios:not(.toh-radios-row) { flex-direction: column; }
  .toh-radios:not(.toh-radios-row) .toh-radio, .toh-radios:not(.toh-radios-row) .toh-radio span { width: 100%; }
}

/* number of riders: minus / plus */
.toh-stepper { display: inline-flex; align-items: center; gap: .75rem; }
.toh-step-btn { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--toh-forest); background: #fff; color: var(--toh-forest); font: 600 1.8rem/1 var(--toh-sans); cursor: pointer; }
.toh-step-btn:disabled { opacity: .3; cursor: not-allowed; }
.toh-step-btn:not(:disabled):active { background: var(--toh-cream); }
.toh-step-val { min-width: 7.5rem; text-align: center; font-size: 1.05rem; }
.toh-step-val b { font: 600 1.9rem/1 var(--toh-serif); color: var(--toh-forest-dark); margin-right: .2rem; }
.toh-check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; line-height: 1.45; }
.toh-check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--toh-forest); cursor: pointer; }
/* lists of extras: each one a large row to tap, like the answers above */
.toh-checks { display: grid; gap: .5rem; }
.toh-checks .toh-check { min-height: 52px; align-items: center; padding: .65rem 1rem; background: #fff; border: 1.5px solid var(--toh-line); border-radius: 12px; }
.toh-checks .toh-check:hover { border-color: var(--toh-gold); }
.toh-checks .toh-check:has(input:checked) { background: var(--toh-cream); border-color: var(--toh-forest); box-shadow: inset 0 0 0 1px var(--toh-forest); }

.toh-rider { border: 1px solid var(--toh-line); background: #fff; padding: 1rem 1.25rem .25rem; margin: 0 0 1.25rem; }
.toh-rider legend { font-size: 1.35rem; padding: 0 .4rem; }

.toh-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.toh-btn {
  padding: .8rem 1.6rem; font: 600 1rem var(--toh-sans); letter-spacing: .02em; cursor: pointer;
  background: var(--toh-forest); color: #fff; border: 1px solid var(--toh-forest);
}
.toh-btn:hover { background: var(--toh-forest-dark); }
.toh-btn:disabled { opacity: .6; cursor: wait; }
.toh-btn-ghost { background: transparent; color: var(--toh-forest); }
.toh-btn-ghost:hover { background: var(--toh-cream); }
.toh-link { background: none; border: 0; padding: 0; color: var(--toh-brown); text-decoration: underline; cursor: pointer; font: .85rem var(--toh-sans); margin-left: .5rem; }

.toh-sum { border-top: 1px solid var(--toh-line); padding-top: .75rem; margin-top: 1rem; }
.toh-sum h4 { font-size: 1.3rem; margin: 0 0 .5rem; }
.toh-sum dl { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: .35rem 1rem; margin: 0; }
.toh-sum dt { color: var(--toh-muted); font-size: .9rem; }
.toh-sum dd { margin: 0; }
.toh-riders { list-style: none; padding: 0; margin: 0; }
.toh-riders li { padding: .6rem 0; border-bottom: 1px dashed var(--toh-line); line-height: 1.5; font-size: .93rem; }
.toh-badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: .15rem .5rem; margin-right: .5rem; color: #fff; }
.toh-badge.toh-ok { background: var(--toh-ok); }
.toh-badge.toh-review { background: var(--toh-review); }
.toh-badge.toh-fail { background: var(--toh-fail); }
.toh-alert { background: #f8e9e4; border-left: 4px solid var(--toh-fail); padding: .9rem 1.1rem; margin-bottom: 1rem; }
.toh-alert p { margin: .4rem 0 0; line-height: 1.55; }
.toh-done { text-align: center; padding-block: 3rem; }
.toh-done h3 { font-size: 2rem; margin: 0 0 .75rem; }
.toh-terms { background: var(--toh-cream); border-left: 4px solid var(--toh-gold); padding: .8rem 1.1rem; margin: .5rem 0 1.1rem; }
.toh-terms h4 { margin: 0 0 .4rem; font-size: 1.2rem; }
.toh-terms ul { margin: 0; padding-left: 1.1rem; font-size: .9rem; line-height: 1.5; }
.toh-btn-wa { display: inline-block; text-decoration: none; background: #1f9d55; border-color: #1f9d55; margin-top: .5rem; }
.toh-btn-wa:hover { background: #18804a; }
.toh-wa-note { margin-top: 1.5rem; color: var(--toh-muted); }
.toh-hp { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; overflow: hidden; }

@media (max-width: 560px) {
  .toh-steps li { font-size: 0; flex: 0 0 auto; }
  .toh-steps li.is-on { font-size: .9rem; }
  .toh-sum dl { grid-template-columns: 1fr; }
  .toh-sum dt { margin-top: .4rem; }
}

/* v1.2: how it works, full departures, extra services, automatic proposal */
.toh-howto { counter-reset: h; list-style: none; padding: 0; margin: 1.25rem 0 2rem; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.toh-howto li { counter-increment: h; position: relative; padding: 2.4rem .9rem .9rem; background: var(--toh-cream); font-size: .9rem; line-height: 1.45; }
.toh-howto li::before { content: counter(h); position: absolute; left: .9rem; top: .7rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--toh-forest); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .8rem; }
.toh-card.is-off { opacity: .45; cursor: not-allowed; }
.toh-card.is-off:hover { border-color: var(--toh-line); }
.toh-checks { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.toh-num:disabled { opacity: .35; cursor: not-allowed; }
.toh-proposal { text-align: left; background: #fff; border: 1px solid var(--toh-line); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.toh-proposal h3 { font-size: 1.5rem; margin-top: 0; }
.toh-proposal table { width: 100%; }
