/* Booking page — layered on top of site.css. Uses brand variables defined there. */

body { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--line-soft); margin: 0; }

.booking-main { padding: 48px 0 80px; }

.booking-hero { text-align: center; padding: 24px 0 36px; }
.booking-hero .eyebrow { display: inline-block; margin-bottom: 12px; }
.booking-hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 14px; color: var(--slate-700); font-family: 'Poppins'; font-weight: 600; letter-spacing: -0.5px; }
.booking-sub { color: var(--slate-600); margin: 0 auto 22px; font-size: 17px; line-height: 1.5; }
.trust-bar { list-style: none; display: flex; max-width: 100%; gap: 16px 28px; justify-content: center; padding: 15px 0 0 0; margin: 0 auto; font-size: 14px; color: var(--slate-500); }
.trust-bar strong { color: var(--fertile); font-weight: 600; font-size: 26px; display: block; line-height: 1em; }
.trust-bar li { position: relative; color: var(--slate-600); padding: 0; text-align: center; flex-basis: 25%; width: 25%; font-size: 16px; }
.trust-bar li::after { content: ''; display: block; width: 1px; height: 100%; position: absolute; top: 0; right: -.5px; background: #fff; background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0, #404040 50%, rgba(255, 255, 255, 0) 100%); }
.trust-bar li:last-child::after { display:none; }
.booking-section { padding: 0 0 40px; }
.booking-form.card { background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); border: 1px solid var(--line); overflow: hidden; margin: 0 auto; padding: 0; transform: unset !important; }

.step { border: none; padding: 0px 36px 32px 36px; margin: 32px 0 0 0; border-bottom: 1px solid var(--line); }
.step:last-of-type { border-bottom: none; }
.step legend { font-weight: 600; font-size: 18px; margin-bottom: 18px; color: var(--slate-700); display: flex; align-items: center; gap: 12px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--fertile); color: #fff; border-radius: 50%; font-size: 15px; font-weight: 600; }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.service-card { border: 1.5px solid var(--slate-100); border-radius: 10px; padding: 16px 18px; cursor: pointer; display: block; transition: border-color .15s, background .15s; position: relative; background: #fff; }
.service-card:hover { border-color: var(--fertile); }
.service-card.is-selected { border-color: var(--fertile); background: var(--forest-tint); }
.service-card input { position: absolute; opacity: 0; pointer-events: none; }
.service-label { display: block; font-weight: 600; font-size: 16px; color: var(--slate-600); }
.service-desc { display: block; font-size: 14px; color: var(--slate-600); margin-top: 4px; line-height: 1.5; }
.service-duration { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--fertile-darker); font-weight: 500; padding: 3px 10px; background: var(--forest-tint); border-radius: 12px; }
.service-card.is-selected .service-duration { background: #fff; }

#slots-region { display: flex; flex-direction: column; gap: 4px; }
.slots-loading { color: var(--slate-500); font-size: 14px; }
.slots-day { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.slots-day:last-child { border-bottom: none; }
.slots-day-label { font-weight: 600; font-size: 14px; color: var(--slate-700); }
.slots-day-times { display: flex; gap: 8px; flex-wrap: wrap; }
.slot-btn { background: #fff; border: 1.5px solid var(--slate-200); padding: 9px 16px; border-radius: 6px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; color: var(--slate-700); transition: all .15s; }
.slot-btn:hover { border-color: var(--fertile); background: #fff; color: var(--fertile); }
.slot-btn.is-selected { background: var(--fertile); color: #fff; border-color: var(--fertile); }
.slot-day-empty { color: var(--slate-400); font-size: 13px; font-style: italic; }
.slots-note { font-size: 13px; color: var(--slate-600); margin-top: 18px; }
.slots-note a { color: var(--fertile); text-decoration: none; font-weight: 500; }
.slots-note a:hover { color: var(--slate-600); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 16px; font-weight: 500; color: var(--slate-700); }
.form-row .req { color: var(--red); }
.form-row input, .form-row textarea { width: 100%; padding: 8px 14px; border: 1.5px solid var(--slate-200); border-radius: 8px; font: inherit; font-size: 16px; font-weight: 300; margin-top: 6px; background: #fff; color: var(--slate-700); }
.form-row input[type="checkbox"] { width: auto; }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--fertile); outline-offset: 1px; border-color: var(--fertile); }
.consent { font-size: 13px; color: var(--slate-500); }
.consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent input { margin-top: 3px; flex-shrink: 0; }
.consent a { color: var(--red); text-decoration: none; }
.form-row.consent { position: relative; }
.form-row.consent label { display: block; padding-left: 30px; font-size: 16px; font-weight: 300; color: var(--slate-600); line-height: 1.5; cursor: pointer; user-select: none; }
.form-row.consent input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.form-row.consent label::before { content: ''; display: block; position: absolute; left: 0px; top: 2px; margin-right: 10px; flex-shrink: 0; width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid #aaa; background: #fff; margin-top: 1px; box-sizing: border-box; transition: border-color 0.15s, background 0.15s; }
.form-row.consent label::after { content: ''; display: block; position: absolute; left: 5px; top: 5px; width: 5px; height: 9px; border: 2px solid #fff; border-top: none; border-left: none; transform: rotate(45deg) scale(0); transition: transform 0.12s ease; pointer-events: none; }
.form-row.consent label:has(input:checked)::before { background: #49A76E; border-color: #49A76E; }
.form-row.consent label:has(input:checked)::after { transform: rotate(45deg) scale(1); }
.form-row.consent label:hover::before { border-color: #49A76E; }
.form-row.consent a { color: #49A76E; text-decoration: underline; text-underline-offset: 2px; }
.form-actions { display: flex; justify-content: flex-end; }
.form-actions .btn-primary { font-family:'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; cursor: pointer; width: 100%; padding: 14px 24px; }
.form-actions .btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.result { padding: 36px 20px; background: #fff; border-top: 4px solid var(--fertile); text-align: center; }
.result.error { background: #fff; border-top-color: var(--red); }
.result h2 { margin: 0 0 10px; font-size: 26px; color: var(--slate-700); font-weight: 600; }
.result p { margin: 0 0 8px; color: var(--slate-600); font-size: 16px; line-height: 1.6; }
@media (max-width: 767px) {
    .trust-bar { padding-top: 0px; flex-wrap: wrap; gap: 20px 0px; }
    .trust-bar li { width: 50%; flex-basis: 50%; }
    .trust-bar li::after { display:none; }
    .form-row.consent label, .form-row label, .form-row input, .form-row textarea { font-size:15px; }
    .booking-main { padding: 10px 0 30px; }
    .trust-bar strong { font-size: 20px; }
}
@media (max-width: 720px) {
    .service-grid { grid-template-columns: 1fr; }
    .slots-day { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
    .booking-hero h1 { font-size: 32px; }
    .step { padding: 24px 22px; }
}

.mobile-menu-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--slate-700); padding: 8px 12px; }
@media (max-width: 900px) {
    .header-nav { display: none; }
    .mobile-menu-toggle { display: inline-flex; }
}
