/* Golden Glass AZ — Photo Quote PWA
   Bold, high-contrast (Dave's standing preference), mobile-first.
   Brand: navy #0f1b30 + gold #c8963e (matches existing Golden Glass site). */

:root {
  --navy: #0f1b30;
  --navy-2: #1a2744;
  --gold: #c8963e;
  --gold-hi: #d4a84f;
  --bg: #f6f4ef;
  --ink: #1a1a1a;
  --muted: #5c6470;
  --danger: #d64545;
  --ok: #1f9d55;
  --card: #ffffff;
  --shadow: 0 6px 24px rgba(15,27,48,0.10);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(140deg, #12213a 0%, var(--navy) 60%, #0b1526 100%);
  color: #fff;
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}
.brand-mark { color: var(--gold); }
.brand-name em { color: var(--gold); font-style: normal; }
.hero h1 {
  font-size: 2.2rem;
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 0.75rem;
}
.hero h1 span { color: var(--gold); }
.hero .sub {
  font-size: 1.05rem;
  color: #bcc5d4;
  max-width: 30rem;
  margin: 0 auto 1.5rem;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: #c9d2df;
  margin-bottom: 1.5rem;
}
.call-now {
  display: inline-block;
  color: #fff;
  background: rgba(200,150,62,0.16);
  border: 1px solid rgba(200,150,62,0.5);
  padding: 0.6rem 1.1rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
}
.call-now:active { background: rgba(200,150,62,0.28); }

/* ---- Container ---- */
.container { max-width: 34rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }

/* ---- Form steps ---- */
.step { margin-bottom: 1.75rem; }
.step-label {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.step-label .optional { font-weight: 500; color: var(--muted); font-size: 0.85rem; }

/* ---- Photo drop ---- */
.photo-drop {
  background: var(--card);
  border: 2px dashed #c9c2b4;
  border-radius: 1.25rem;
  min-height: 13rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}
.photo-drop.has-photo { border: 2px solid var(--gold); }
.photo-empty { text-align: center; padding: 1.5rem; }
.photo-empty .cam { font-size: 3.2rem; display: block; }
.photo-empty .photo-cta { display: block; font-size: 1.3rem; font-weight: 800; margin-top: 0.35rem; }
.photo-empty .photo-hint { color: var(--muted); font-size: 0.92rem; }
.photo-preview { position: relative; width: 100%; height: 13rem; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-preview .retake {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.photo-btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  background: var(--gold);
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.photo-btn:active { background: var(--gold-hi); transform: translateY(1px); }

/* ---- Fields ---- */
.field { margin-bottom: 0.7rem; }
.field input, .field select {
  width: 100%;
  padding: 0.95rem 1rem;
  font-size: 1.05rem;
  border: 1.5px solid #d8d2c6;
  border-radius: 0.85rem;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,150,62,0.18);
}
.field input.err { border-color: var(--danger); }

.privacy-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.7rem;
  padding: 0 0.25rem;
}

.vin-field { position: relative; }
.vin-field input {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.vin-btn {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--gold);
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
}
.vin-btn:active { background: var(--gold-hi); }
.vin-btn.busy { background: #9aa3b0; cursor: default; }
.vin-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: -0.35rem 0 0.7rem;
  padding: 0 0.25rem;
}
.adas-note {
  font-size: 0.85rem;
  font-weight: 700;
  color: #a05a00;
  background: #fff3df;
  border: 1px solid #f0d9ac;
  border-radius: 0.7rem;
  padding: 0.6rem 0.8rem;
  margin: 0 0 0.7rem;
}

/* ---- Submit ---- */
.submit-btn {
  width: 100%;
  padding: 1.05rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  background: var(--navy-2);
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.submit-btn:active { background: #23335a; transform: translateY(1px); }
.submit-btn:disabled { background: #9aa3b0; cursor: default; }

.form-status {
  text-align: center;
  font-weight: 700;
  margin-top: 0.75rem;
  min-height: 1.4em;
}
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

/* ---- Footer ---- */
.foot {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1rem 1.25rem 2.5rem;
}
.foot p { margin: 0.2rem 0; }
