:root {
  --orange: #f76700;
  --orange-dark: #d65300;
  --gold: #f7b32b;
  --ink: #0e0f11;
  --charcoal: #171a20;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #ffffff;
  --cream: #fff8f1;
  --danger: #bd261e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: light; }
body { min-width: 320px; min-height: 100vh; background: var(--paper); color: var(--ink); font-family: Montserrat, Arial, sans-serif; font-size: 16px; line-height: 1.5; }
button, input { font: inherit; }
button { border: 0; }
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }

.site-header { min-height: 142px; display: flex; justify-content: center; align-items: center; padding: 14px 24px 12px; background: #fff; border-bottom: 1px solid #ececec; box-shadow: 0 8px 30px rgba(14, 15, 17, 0.08); position: relative; z-index: 2; }
.brand { display: flex; align-items: center; justify-content: center; }
.brand img { width: auto; height: 112px; max-width: min(340px, 78vw); object-fit: contain; }

.feature-bar { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px 44px; padding: 14px 20px; background: #fff; border-bottom: 1px solid #ececec; position: relative; z-index: 1; }
.feature-bar__item { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 900; text-transform: uppercase; white-space: nowrap; }
.feature-bar__icon { width: 43px; height: 43px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: white; box-shadow: 0 9px 22px rgba(247, 103, 0, .28); }
.feature-bar__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.survey-band { flex: 1; position: relative; overflow: hidden; background: radial-gradient(circle at 16% 12%, rgba(247, 103, 0, .18), transparent 31%), radial-gradient(circle at 86% 90%, rgba(247, 179, 43, .09), transparent 30%), linear-gradient(135deg, #0d0f13 0%, #1d2027 56%, #111318 100%); }
.survey-band::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(30deg, transparent 24%, rgba(255,255,255,.08) 25%, transparent 26%), linear-gradient(150deg, transparent 24%, rgba(255,255,255,.05) 25%, transparent 26%); background-size: 54px 54px; pointer-events: none; }
.orange-ridge { height: 58px; position: relative; z-index: 1; background: linear-gradient(175deg, #fff 0 44%, transparent 45%), linear-gradient(184deg, rgba(247,103,0,.7) 0 50%, transparent 51%); }
.orange-ridge--bottom { transform: rotate(180deg); }
.survey-wrap { min-height: 600px; display: flex; align-items: flex-start; justify-content: center; padding: clamp(12px, 2vw, 28px) 24px clamp(28px, 4vw, 56px); position: relative; z-index: 1; }
.survey-shell { width: min(980px, 100%); }

.survey-card { min-height: 510px; display: flex; flex-direction: column; padding: clamp(26px, 4vw, 44px); background: #fff; color: var(--ink); border: 3px solid var(--orange); border-radius: 12px; box-shadow: var(--shadow); }
.survey-header { text-align: center; padding-bottom: clamp(18px, 3vw, 30px); }
.survey-title { font-size: clamp(1.72rem, 4.1vw, 3.1rem); font-weight: 700; line-height: 1.1; }
.survey-title span { color: var(--orange); font-weight: 900; text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .09em; text-transform: uppercase; }
.progress { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; }
.progress__dot { width: 9px; height: 9px; border-radius: 50%; background: #d8dbe1; }
.progress__dot.is-active { width: 28px; border-radius: 99px; background: var(--orange); }
.step-body { flex: 1; display: flex; flex-direction: column; align-items: center; }
.question { width: min(100%, 760px); margin: 0 auto clamp(18px, 3vw, 30px); text-align: center; font-size: clamp(1rem, 1.65vw, 1.24rem); font-weight: 600; line-height: 1.32; }

.tile-grid { width: min(100%, 720px); display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 14px; }
.tile { height: 154px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 2px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; box-shadow: 0 3px 9px rgba(15,23,42,.07); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile:hover, .tile:has(input:focus-visible), .tile:has(input:checked) { border-color: var(--orange); box-shadow: 0 12px 28px rgba(14,15,17,.16); transform: translateY(-2px); }
.tile__art { flex: 1; min-height: 99px; display: grid; place-items: center; padding: 16px; background: linear-gradient(#fff, #fff8f1); }
.tile__art img { width: 78px; height: 78px; max-width: 82%; object-fit: contain; }
.tile__art img.is-wide { width: 116px; }
.tile__label { min-height: 44px; display: grid; place-items: center; padding: 8px 10px; background: var(--ink); color: #fff; font-size: .88rem; font-weight: 700; text-align: center; line-height: 1.15; }
.tile:has(input:checked) .tile__label { background: var(--orange); }
.timeline-mark { width: 66px; height: 66px; border: 8px solid var(--ink); border-radius: 50%; position: relative; }
.timeline-mark::after { content: ""; position: absolute; inset: 9px; border: 5px solid var(--orange); border-radius: 50%; }

.radio-list { width: min(100%, 540px); display: flex; flex-direction: column; gap: 14px; }
.radio-option { display: flex; align-items: center; gap: 16px; font-size: clamp(.98rem, 1.7vw, 1.12rem); font-weight: 600; cursor: pointer; }
.radio-option input { appearance: none; width: 23px; height: 23px; flex: 0 0 23px; border: 2px solid #70747c; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 6px #fff; }
.radio-option input:checked { border-color: var(--ink); background: var(--orange); }

.field-grid { width: min(100%, 690px); display: grid; gap: 16px; margin: 0 auto 8px; }
.field-grid input { width: 100%; height: 60px; border: 2px solid var(--ink); border-radius: 8px; padding: 0 19px; background: #fff; color: var(--ink); font-size: 1rem; font-weight: 600; outline: none; }
.field-grid input::placeholder { color: #70747c; opacity: 1; }
.field-grid input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(247,103,0,.18); }

.actions { width: min(100%, 830px); display: flex; margin: clamp(22px, 3.5vw, 36px) auto 0; border-radius: 8px; overflow: hidden; background: var(--orange); box-shadow: 0 12px 28px rgba(14,15,17,.16); }
.actions--first { justify-content: flex-end; }
.button { min-height: 58px; padding: 0 42px; cursor: pointer; font-size: .95rem; font-weight: 800; text-transform: uppercase; transition: filter .18s ease, transform .18s ease; }
.button:hover:not(:disabled), .button:focus-visible:not(:disabled) { filter: brightness(1.06); outline: none; }
.button--back { flex: 1; background: var(--orange); color: #fff; text-align: left; }
.button--next { flex: 0 0 35%; min-width: 166px; background: var(--ink); color: #fff; }
.button:disabled { cursor: wait; background: #d8dbe1; color: #777; }
.form-error { color: var(--danger); font-size: .88rem; font-weight: 700; text-align: center; margin-top: 12px; }

.spinner { width: 52px; height: 52px; margin: 32px auto 24px; border: 5px solid #e9eaed; border-top-color: var(--orange); border-radius: 50%; animation: spin 1s linear infinite; }
.processing, .complete { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.processing h2, .complete h2 { color: var(--orange); font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 900; text-transform: uppercase; }
.processing p, .complete p { max-width: 620px; margin-top: 12px; color: #48505a; font-weight: 600; }
.complete__badge { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 2.25rem; font-weight: 900; box-shadow: 0 12px 28px rgba(247,103,0,.28); }
.complete__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.complete__actions a, .complete__actions button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: 8px; font-weight: 800; text-decoration: none; }
.complete__primary { background: var(--orange); color: #fff; }
.complete__secondary { background: var(--ink); color: #fff; }

.site-footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 22px; padding: 34px 24px; background: #fff; color: #3e434b; text-align: left; }
.site-footer img { width: auto; height: 82px; object-fit: contain; }
.site-footer p { font-size: .83rem; }
.site-footer__brand { color: var(--ink); font-size: 1rem !important; font-weight: 800; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.booking-page .site-header { min-height: 104px; box-shadow: none; }
.booking-page .brand img { height: 78px; }
.booking-main { flex: 1; padding: 32px 24px 48px; background: #f6f7f8; }
.booking-intro { width: min(100%, 760px); margin: 0 auto 24px; text-align: center; }
.booking-intro h1 { font-size: 2.75rem; line-height: 1.15; font-weight: 800; }
.booking-intro h1 span { color: var(--orange-dark); }
.booking-progress { width: min(100%, 280px); height: 8px; margin: 18px auto; border-radius: 4px; background: linear-gradient(to right, var(--orange) 0 49%, transparent 49% 51%, #d8dbe1 51% 100%); }
.booking-intro h2 { margin: 20px 0 8px; font-size: 1.5rem; line-height: 1.35; font-weight: 800; }
.booking-intro p { color: #48505a; font-weight: 500; }
.booking-calendar { width: min(100%, 1100px); margin: 0 auto; }
.booking-help { margin-top: 20px; text-align: center; font-size: .875rem; color: #48505a; }
.booking-help a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.booking-help a:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .site-header { min-height: 112px; padding: 10px 16px; }
  .brand img { height: 90px; }
  .feature-bar { gap: 12px 20px; padding: 12px 14px; }
  .feature-bar__item { font-size: .72rem; }
  .feature-bar__icon { width: 35px; height: 35px; flex: 0 0 35px; }
  .orange-ridge { height: 42px; }
  .survey-wrap { min-height: 650px; padding: 12px 16px 34px; }
  .survey-card { min-height: 570px; padding: 28px 17px 22px; border-radius: 18px; }
  .survey-title { font-size: clamp(1.72rem, 8vw, 2.5rem); }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 400px); gap: 12px; }
  .tile { height: 140px; }
  .tile__art { min-height: 92px; padding: 12px; }
  .tile__art img { width: 68px; height: 68px; }
  .tile__art img.is-wide { width: 104px; }
  .timeline-mark { width: 56px; height: 56px; border-width: 7px; }
  .field-grid input { height: 58px; padding: 0 15px; }
  .button { min-height: 56px; padding: 0 20px; font-size: .88rem; }
  .button--next { min-width: 128px; flex-basis: 42%; }
  .site-footer { text-align: center; }
  .booking-main { padding: 24px 12px 32px; }
  .booking-intro { padding: 0 8px; margin-bottom: 20px; }
  .booking-intro h1 { font-size: 2rem; }
  .booking-intro h2 { font-size: 1.25rem; }
  .booking-intro p { font-size: .9375rem; }
  .booking-help { padding: 0 8px; }
}

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