/* Orca Splash Car Wash — site styles. Page layout is inline in the generated
   HTML (straight from the design, "Orca Splash Website.html"); this file holds
   the shared base, the responsive switches the design did in JavaScript, and
   the enquiry form + survey styles. Hover styles are in hover.css (generated). */
:root {
  --ink: rgb(1,26,57);
  --ink-2: rgb(5,35,72);
  --ink-3: rgb(0,18,42);
  --card: rgb(9,43,85);
  --line: rgb(27,63,110);
  --aqua: rgb(56,200,255);
  --aqua-dark: rgb(28,168,230);
  --aqua-soft: rgba(56,200,255,.12);
  --text-2: rgb(212,216,234);
  --text-3: rgb(181,188,221);
  --text-4: rgb(129,138,196);
  --warn: rgb(255,170,90);
  --err: rgb(255,138,128);
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --footer-pad: 40px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: #fff; scroll-behavior: smooth; }
html { scroll-padding-top: 84px; }
body { font-family: var(--font-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--aqua); text-decoration: none; }
a:hover { color: rgb(140,222,255); text-decoration: none; }
::selection { background: var(--aqua); color: var(--ink); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; margin: 0; }
p { font-family: var(--font-sans); margin: 0; }
img { max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--aqua); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
@keyframes twxZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes twxRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes orcaBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- responsive switches (the design decided these from window width) ---- */
.bp-wide, .bp-xwide, .bp-narrow, .bp-mascot, .bp-mobile, [data-mode-panel] { display: contents; }
@media (max-width: 1319px) { .bp-xwide { display: none; } }
@media (max-width: 1099px) { .bp-wide { display: none; } }
@media (min-width: 1100px) { .bp-narrow { display: none; } }
@media (max-width: 899px) { .bp-mascot { display: none; } }
@media (min-width: 760px) { .bp-mobile { display: none; } }
@media (max-width: 759px) { :root { --footer-pad: 120px; } }

/* ---- layout helpers (forms, survey) ---- */
.stack-8, .stack-12 { display: flex; flex-direction: column; }
.stack-8 { gap: 8px; } .stack-12 { gap: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---- buttons (forms) ---- */
.btn { height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; font-weight: 700; font-size: 15px; white-space: nowrap; border: 1px solid transparent; cursor: pointer; font-family: var(--font-sans); transition: background 120ms ease-out, opacity 120ms ease-out; }
.btn-primary { background: var(--aqua); color: var(--ink); border-color: var(--aqua); }
.btn-primary:hover { background: var(--aqua-dark); border-color: var(--aqua-dark); color: var(--ink); }
.round-btn:hover { background: var(--line); }
.round-btn:active { transform: scale(.96); }

/* ---- forms ---- */
.enquiry-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); box-sizing: border-box; width: 100%; }
.enquiry-card form { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.form-head h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
.form-head p { font-size: 14px; line-height: 1.5; color: var(--text-3); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; position: relative; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field .req { color: var(--aqua); }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--ink); color: #fff; font: inherit; font-size: 15px; outline: none; transition: border-color 120ms ease-out; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 112px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--aqua); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .err { font-size: 12px; color: var(--err); }
.field .err:empty { display: none; }
.field .counter { position: absolute; right: 0; top: 0; font-size: 12px; color: var(--text-4); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 14px; color: var(--warn); }
.privacy { font-size: 12px; color: var(--text-4); }
.thanks { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 24px 0; outline: none; }
.thanks .big-tick { width: 56px; height: 56px; border-radius: 999px; background: var(--aqua); display: flex; align-items: center; justify-content: center; }
.thanks .big-tick svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.thanks h3 { font-family: var(--font-display); font-size: 28px; line-height: 1.25; letter-spacing: -.02em; }
.thanks p { font-size: 16px; line-height: 1.6; color: var(--text-3); max-width: 440px; }
.thanks .btn { height: 44px; font-size: 14px; }

/* ---- survey ---- */
.survey-card { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.sv-top { padding: 20px clamp(20px, 4vw, 40px); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.sv-step { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.sv-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sv-bars span { height: 6px; border-radius: 999px; background: var(--line); transition: background 240ms ease-out; }
.sv-bars span.on { background: var(--aqua); }
.sv-body { padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 40px); display: flex; flex-direction: column; gap: 28px; min-height: 380px; }
.sv-h { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
.sv-sub { font-size: 15px; color: var(--text-3); }
.sv-label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.nps { display: grid; grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); gap: 6px; }
.nps button { height: 56px; border-radius: 8px; border: 1px solid var(--line); background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; cursor: pointer; }
.nps button:hover, .sv-opts button:hover, .sv-chips button:hover { border-color: var(--aqua); }
.nps button[aria-checked="true"] { background: var(--aqua); border-color: var(--aqua); color: var(--ink); }
.nps-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-4); }
.sv-msg { font-size: 16px; font-weight: 600; color: var(--aqua); }
.sv-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.sv-opts button { min-height: 56px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sv-opts button[aria-checked="true"] { border-color: var(--aqua); background: rgba(56,200,255,.10); }
.sv-rate { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sv-rate .lbl { font-size: 16px; font-weight: 600; display: block; }
.sv-rate .word { font-size: 13px; color: var(--text-4); }
.sv-stars { display: flex; gap: 2px; }
.sv-stars button { width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.sv-stars button:hover { background: var(--line); }
.sv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-chips button { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
.sv-chips button[aria-pressed="true"] { background: var(--aqua); border-color: var(--aqua); color: var(--ink); }
.sv-check { display: flex; align-items: center; gap: 12px; padding: 0; border: none; background: transparent; color: var(--text-2); font-size: 15px; text-align: left; cursor: pointer; }
.sv-check .box { flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid var(--text-4); display: flex; align-items: center; justify-content: center; }
.sv-check[aria-checked="true"] .box { background: var(--aqua); border-color: var(--aqua); }
.sv-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.sv-foot .hint { font-size: 13px; color: var(--text-3); }
.sv-next:disabled { background: var(--line); border-color: var(--line); color: var(--text-4); cursor: not-allowed; opacity: 1; }

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