:root {
  color-scheme: dark;
  --booking-bg: #07111f;
  --booking-panel: rgba(15, 29, 48, .88);
  --booking-line: rgba(148, 163, 184, .18);
  --booking-muted: #9eacc0;
  --booking-blue: #60a5fa;
  --booking-green: #34d399;
}

body {
  min-height: 100vh;
  background: radial-gradient(ellipse at 78% 15%, #132d4a 0, var(--booking-bg) 48%);
  color: #eaf2ff;
}

.booking-main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 46px 0 76px; }
.booking-heading { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.booking-heading .page-kicker, .section-eyebrow { color: #93c5fd; font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.booking-heading h1 { margin: 12px 0; font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.08; }
.booking-heading p { color: var(--booking-muted); font-size: 1.05rem; }
.booking-panel { min-width: 0; border: 1px solid var(--booking-line); border-radius: 22px; background: var(--booking-panel); box-shadow: 0 24px 70px rgba(0, 0, 0, .26); }
.booking-guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 24px 32px; align-items: center; margin-bottom: 24px; padding: clamp(22px, 4vw, 34px); }
.guide-copy h2 { margin: 7px 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.guide-copy > p, .estimate-panel > p { color: var(--booking-muted); }
.packing-steps, .booking-steps { display: grid; gap: 13px; margin: 20px 0 0; padding: 0; list-style: none; }
.packing-steps li, .booking-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: start; color: var(--booking-muted); line-height: 1.5; }
.step-number { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(96, 165, 250, .3); border-radius: 50%; background: rgba(37, 99, 235, .16); color: #bfdbfe; font-weight: 750; }
.packing-steps strong, .booking-steps strong { display: block; margin-bottom: 2px; color: #eaf2ff; }
.demo-video { min-height: 235px; overflow: hidden; border: 1px solid var(--booking-line); border-radius: 16px; background: #050c16; }
.video-placeholder { display: flex; min-height: 235px; flex-direction: column; align-items: center; justify-content: center; gap: 9px; background: radial-gradient(circle at 50% 38%, rgba(37, 99, 235, .22), transparent 55%), linear-gradient(135deg, #10243b, #07111f); color: #dbeafe; text-align: center; }
.video-placeholder span:last-child { color: var(--booking-muted); font-size: .84rem; }
.play-icon { display: grid; width: 54px; height: 54px; place-items: center; padding-left: 4px; border: 1px solid rgba(147, 197, 253, .45); border-radius: 50%; background: rgba(37, 99, 235, .2); color: #bfdbfe; }
.packing-tip { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; padding: 13px 16px; border: 1px solid rgba(52, 211, 153, .2); border-radius: 14px; background: rgba(16, 185, 129, .06); animation: tip-glow 3s ease-in-out infinite; }
.tip-icon { color: var(--booking-green); font-size: 1.3rem; }
.packing-tip p { display: grid; gap: 2px; margin: 0; color: var(--booking-muted); font-size: .88rem; }
.packing-tip strong { color: #d1fae5; }
@keyframes tip-glow { 0%, 100% { border-color: rgba(52, 211, 153, .18); } 50% { border-color: rgba(52, 211, 153, .55); } }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(275px, .65fr); gap: 24px; align-items: start; }
.booking-form-panel, .estimate-panel { padding: clamp(20px, 3vw, 32px); }
.form-heading { margin-bottom: 24px; }
.panel-title, .estimate-panel h2 { margin: 7px 0; font-size: 1.5rem; }
.panel-intro { margin: 6px 0 0; color: var(--booking-muted); }
.form-section { margin-top: 27px; padding-top: 22px; border-top: 1px solid var(--booking-line); }
.form-section[hidden] { display: none; }
.form-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.form-progress li { display: grid; gap: 5px; padding: 11px; border-bottom: 2px solid var(--booking-line); color: var(--booking-muted); }
.form-progress li[aria-current="step"] { border-color: var(--booking-blue); color: #dbeafe; }
.form-progress li > span { color: #93c5fd; font-size: .74rem; font-weight: 800; letter-spacing: .08em; }
.form-progress li strong { font-size: .82rem; }
.form-section h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; font-size: 1rem; }
.step-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.step-actions-end { justify-content: flex-end; }
.step-actions .button { min-width: 145px; }
.step-actions .step-next { width: auto; }
.section-index { color: var(--booking-green); font-size: .78rem; letter-spacing: .08em; }
.booking-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.booking-field { min-width: 0; }
.booking-field-full { grid-column: 1 / -1; }
.booking-field label, .device-options legend { display: block; margin-bottom: 7px; color: #dbeafe; font-size: .91rem; font-weight: 650; }
.booking-field input, .booking-field textarea { width: 100%; min-height: 47px; padding: 11px 13px; border: 1px solid rgba(148, 163, 184, .3); border-radius: 11px; outline: none; background: #081524; color: #f8fafc; font: inherit; }
.booking-field textarea { min-height: 96px; resize: vertical; }
.booking-field input:focus, .booking-field textarea:focus { border-color: var(--booking-blue); box-shadow: 0 0 0 3px rgba(96, 165, 250, .15); }
.booking-field input[type="file"] { padding: 9px; color: var(--booking-muted); font-size: .82rem; }
.booking-field input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 10px; border: 0; border-radius: 7px; background: #1e3a5f; color: #dbeafe; font: inherit; cursor: pointer; }
.booking-field small { display: block; margin-top: 6px; color: var(--booking-muted); line-height: 1.45; }
.inline-action { display: flex; gap: 9px; }
.inline-action input { flex: 1; min-width: 0; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 14px; border: 0; border-radius: 10px; font: inherit; font-size: .9rem; font-weight: 750; text-align: center; text-decoration: none; cursor: pointer; transition: filter .18s ease, transform .18s ease; }
.button:hover:not(:disabled) { filter: brightness(1.12); transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .55; }
.button-secondary { border: 1px solid rgba(96, 165, 250, .32); background: rgba(37, 99, 235, .15); color: #bfdbfe; }
.button-primary { width: 100%; background: #2563eb; color: white; }
.otp-action { flex: 0 0 auto; }
.otp-field[hidden] { display: none; }
.verification-state { margin: 0; color: #a7f3d0; font-size: .86rem; }
.verification-state[data-state="error"] { color: #fca5a5; }

.device-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; padding: 0; border: 0; }
.device-options legend { grid-column: 1 / -1; }
.device-card { position: relative; display: grid; min-height: 112px; align-content: center; gap: 4px; padding: 13px; border: 1px solid var(--booking-line); border-radius: 13px; background: rgba(2, 6, 23, .3); cursor: pointer; }
.device-card:has(input:checked) { border-color: var(--booking-blue); background: rgba(37, 99, 235, .12); box-shadow: 0 0 0 2px rgba(96, 165, 250, .1); }
.device-card input { position: absolute; top: 10px; right: 10px; accent-color: #60a5fa; }
.device-emoji { font-size: 1.35rem; }
.device-card strong { color: #eaf2ff; font-size: .9rem; }
.device-card small { color: var(--booking-muted); font-size: .74rem; }
.device-details { animation: reveal .25s ease-out; }
@keyframes reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.upload-guide { display: flex; min-height: 42px; align-items: center; gap: 9px; margin: 0 0 8px; padding: 8px 10px; border: 1px dashed rgba(96, 165, 250, .3); border-radius: 10px; background: rgba(37, 99, 235, .07); animation: guide-pulse 2.7s ease-in-out infinite; }
.upload-guide span { color: var(--booking-muted); font-size: .79rem; line-height: 1.4; }
.upload-guide-image { animation-delay: .5s; }
@keyframes guide-pulse { 0%, 100% { border-color: rgba(96, 165, 250, .2); } 50% { border-color: rgba(96, 165, 250, .58); } }
.terms-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; color: var(--booking-muted); font-size: .86rem; line-height: 1.5; }
.terms-check input { margin-top: 4px; accent-color: #3b82f6; }
.terms-check a { color: #93c5fd; }
.booking-submit { width: 100%; min-height: 51px; margin-top: 19px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #4f46e5); color: white; font: inherit; font-weight: 750; cursor: pointer; }
.booking-submit:hover:not(:disabled) { filter: brightness(1.1); }
.booking-submit:disabled { cursor: wait; opacity: .65; }
.booking-status { min-height: 1.4em; margin: 12px 0 0; color: #bfdbfe; font-size: .9rem; }
.booking-status[data-state="error"] { color: #fca5a5; }
.privacy-note { margin: 14px 0 0; color: var(--booking-muted); font-size: .81rem; line-height: 1.5; }

.estimate-panel { position: sticky; top: 96px; }
.estimate-panel > p { font-size: .9rem; line-height: 1.55; }
.estimate-card { display: grid; gap: 8px; margin-top: 18px; padding: 17px; border: 1px solid rgba(96, 165, 250, .28); border-radius: 14px; background: rgba(30, 64, 175, .12); }
.estimate-card span { color: var(--booking-muted); font-size: .87rem; }
.estimate-card strong { color: #bfdbfe; font-size: 1.7rem; }
.estimate-note { margin-top: 10px; font-size: .81rem !important; }
.estimate-divider { height: 1px; margin: 24px 0 18px; background: var(--booking-line); }
.estimate-panel h3 { margin: 0; font-size: 1.05rem; }
.booking-steps { margin-top: 14px; }
.tracking-panel { margin-top: 24px; padding: clamp(20px, 3vw, 30px); }
.tracking-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.tracking-heading h2 { margin: 5px 0 0; font-size: 1.4rem; }
.tracking-help, .tracking-note { color: var(--booking-muted); font-size: .89rem; line-height: 1.55; }
.tracking-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 12px; }
.tracking-card { padding: 16px; border: 1px solid var(--booking-line); border-radius: 14px; background: rgba(2, 6, 23, .28); }
.tracking-card h3 { margin: 0 0 6px; font-size: 1rem; }
.tracking-card p { margin: 5px 0; color: var(--booking-muted); font-size: .84rem; }
.tracking-status { display: inline-flex; margin: 8px 0; padding: 4px 9px; border: 1px solid rgba(52, 211, 153, .25); border-radius: 999px; background: rgba(16, 185, 129, .08); color: #a7f3d0; font-size: .75rem; font-weight: 700; text-transform: capitalize; }
.tracking-card .button { width: 100%; margin-top: 10px; }
.tracking-card .button.is-disabled { cursor: not-allowed; opacity: .5; }
.tracking-link { display: block; margin-top: 9px; color: #93c5fd; font-size: .85rem; }
.tracking-note { margin: 14px 0 0; font-size: .81rem; }

.booking-modal { width: min(490px, calc(100% - 32px)); padding: 30px; border: 1px solid rgba(52, 211, 153, .35); border-radius: 22px; background: #0c1a2b; color: #eaf2ff; text-align: center; box-shadow: 0 30px 100px rgba(0, 0, 0, .55); }
.booking-modal::backdrop { background: rgba(2, 6, 23, .78); backdrop-filter: blur(5px); }
.booking-modal-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 15px; place-items: center; border-radius: 50%; background: rgba(52, 211, 153, .12); color: var(--booking-green); font-size: 1.8rem; }
.booking-modal h2 { margin: 0 0 10px; }
.booking-modal p { color: #b8c7db; line-height: 1.55; }
.estimate-result { font-size: 1.16rem; font-weight: 750; color: #bfdbfe !important; }
.estimate-disclaimer, .chat-only-note { font-size: .82rem; }
.button-whatsapp { width: 100%; margin-top: 9px; background: #128c7e; color: white; }
.booking-modal > .button-primary { margin-top: 12px; }
.booking-reference { margin: 12px 0 0; font-size: .82rem; }

@media (max-width: 860px) {
  .booking-layout { grid-template-columns: 1fr; }
  .estimate-panel { position: static; }
  .booking-guide { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .booking-main { width: min(100% - 24px, 540px); padding: 32px 0 48px; }
  .booking-heading { margin-bottom: 22px; text-align: left; }
  .booking-heading p { font-size: .97rem; }
  .booking-guide { grid-template-columns: 1fr; gap: 18px; }
  .packing-tip { grid-column: auto; }
  .booking-fields { grid-template-columns: 1fr; gap: 14px; }
  .booking-field-full { grid-column: auto; }
  .device-options { grid-template-columns: 1fr; }
  .device-card { min-height: 82px; grid-template-columns: 34px 1fr; align-items: center; }
  .device-card strong, .device-card small { grid-column: 2; }
  .device-emoji { grid-row: 1 / span 2; }
  .inline-action { align-items: stretch; }
  .otp-action { padding-inline: 10px; font-size: .82rem; }
  .form-progress li { padding: 9px 5px; }
  .form-progress li strong { font-size: .7rem; }
  .step-actions .button { min-width: 0; }
  .tracking-heading { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
