/* Yachtora Booking — multi-step form. Inherits theme tokens where present. */
.yb-form-wrap { max-width: 760px; margin-inline: auto; }
.yb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.yb-steps { list-style: none; display: flex; gap: 0; margin: 0 0 1rem; padding: 0; counter-reset: s; flex-wrap: wrap; }
.yb-steps li { flex: 1; min-width: 90px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim, #5a6670); }
.yb-steps li span { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--hairline, rgba(0,0,0,.15)); background: #fff; font-family: var(--font-display, Georgia, serif); font-size: 1rem; }
.yb-steps li.is-active span, .yb-steps li.is-done span { background: var(--navy, #071C2C); color: #fff; border-color: var(--navy, #071C2C); }
.yb-steps li.is-active { color: var(--navy, #071C2C); font-weight: 600; }

.yb-progress { height: 2px; background: var(--hairline, rgba(0,0,0,.12)); margin-bottom: 2rem; border-radius: 2px; overflow: hidden; }
.yb-progress span { display: block; height: 100%; background: var(--gold, #B99A6A); transition: width 400ms cubic-bezier(.22,1,.36,1); }

.yb-step { display: none; border: 0; padding: 0; margin: 0; animation: ybfade 400ms ease; }
.yb-step.is-active { display: block; }
.yb-step legend { font-family: var(--font-display, Georgia, serif); font-size: 1.6rem; color: var(--navy, #071C2C); margin-bottom: 1.25rem; padding: 0; }
@keyframes ybfade { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .yb-step { animation: none; } .yb-progress span { transition: none; } }

.yb-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 620px){ .yb-grid { grid-template-columns: 1fr 1fr; } }
.yb-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 0.6rem; margin-bottom: 1.1rem; }
.yb-check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; line-height: 1.4; cursor: pointer; }
.yb-check input { margin-top: 3px; }
.yb-consent { margin-top: 1rem; }

.yb-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.yb-nav .btn { cursor: pointer; }

.yb-review { background: var(--sand, #E7DFD1); border-radius: 6px; padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; }
.yb-review dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.5rem; margin: 0; }
.yb-review dt { color: var(--text-dim, #5a6670); font-size: 0.85rem; }
.yb-review dd { margin: 0; text-align: right; font-weight: 600; }

.yb-form-error { color: #b4452f; font-weight: 600; margin-top: 1rem; }

.yb-success { text-align: center; padding: 2rem 0; }
.yb-success__mark { width: 72px; height: 72px; border-radius: 999px; background: var(--navy, #071C2C); color: var(--gold, #B99A6A); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 1.25rem; }
.yb-ref { font-weight: 600; letter-spacing: 0.04em; }
