/* Pop-up windows for Reserve and Contact Us */
.modal { border: 0; padding: 0; width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; }
.modal::backdrop { background: rgba(8, 12, 26, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .28s cubic-bezier(.2,.7,.2,1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-inner { max-height: calc(100dvh - 24px); overflow: auto; padding: 26px 26px 24px; display: grid; gap: 18px; }
.modal-head { display: flex; gap: 14px; align-items: start; }
.modal-head h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.modal-head p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.modal-close { margin-left: auto; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface-2); cursor: pointer; display: grid; place-items: center; }
.modal-close:focus-visible, .modal .field input:focus-visible, .modal .field select:focus-visible, .modal .field textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 1px; }
.phone-sum { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--surface-2); }
.phone-sum img { width: 56px; height: 70px; object-fit: cover; border-radius: 10px; }
.phone-sum b { display: block; line-height: 1.2; }
.phone-sum span { font-size: .85rem; color: var(--muted); }
.phone-sum .price { font-size: 1.15rem; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--warn) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); font-size: .9rem; line-height: 1.45; }
.notice svg { flex: none; margin-top: 2px; color: #b45309; }
.form { display: grid; gap: 12px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d92d20; }
.field .hint { font-size: .78rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #d92d20; font-size: .88rem; font-weight: 600; }
.form .btn { width: 100%; padding: 14px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.success { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 10px 0 4px; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); animation: modalIn .4s; }
.success h3 { margin: 0; font-size: 1.3rem; }
.success p { margin: 0; color: var(--muted); max-width: 40ch; }
.contact-options { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; background: var(--surface); transition: border-color .2s, transform .15s, background .2s; cursor: pointer; width: 100%; text-align: left; }
.opt:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-1px); }
.opt:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.opt .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.opt b { display: block; }
.opt span { font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.opt .go { color: var(--muted); }
.section-label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 4px 0 -4px; }
.back { border: 0; background: none; color: var(--accent); font-weight: 700; cursor: pointer; padding: 0; justify-self: start; }
@media (max-width: 480px) {
  .modal { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 94dvh; }
  .modal-inner { max-height: 94dvh; padding: 22px 18px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .form .two { grid-template-columns: 1fr; }
}
