:root {
  --pg-red: #ed1c24;
  --pg-red-dark: #bf1017;
  --ink: #202020;
  --muted: #666;
  --line: #d8d8d8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #e9edf0; color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(255,255,255,.97) 0%, rgba(247,249,250,.91) 52%, rgba(224,230,234,.93) 100%),
    repeating-linear-gradient(118deg, transparent 0 92px, rgba(40,55,62,.06) 93px 95px);
}

.site-header {
  min-height: 88px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(40,40,40,.12);
}

.brand img { width: 204px; height: auto; display: block; }
.header-label { color: #555; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.content {
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
  padding: 58px 0 70px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 78px;
  align-items: center;
}

.intro { padding: 28px 0; }
.eyebrow, .form-kicker { margin: 0 0 11px; color: var(--pg-red); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.intro h1 { margin: 0; font-size: clamp(48px, 5.2vw, 76px); line-height: .98; letter-spacing: -.055em; }
.intro-copy { max-width: 490px; margin: 26px 0 30px; color: #5e5e5e; font-size: 18px; line-height: 1.62; }
.trust-list { display: grid; gap: 13px; }
.trust-item { display: flex; gap: 11px; align-items: center; color: #3e3e3e; font-size: 14px; }
.check { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 24px; border-radius: 50%; background: #fff; color: var(--pg-red); box-shadow: 0 2px 9px rgba(0,0,0,.08); font-weight: 900; }
.contact-note { margin-top: 36px; display: flex; flex-direction: column; gap: 5px; }
.contact-kicker { color: #777; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.contact-note a { width: fit-content; color: #202020; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--pg-red); }

.form-card {
  background: rgba(255,255,255,.94);
  border: 1px solid #fff;
  border-radius: 26px;
  padding: 34px 36px 30px;
  box-shadow: 0 24px 70px rgba(28,37,42,.16), 0 2px 10px rgba(28,37,42,.06);
}

.form-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.form-heading h2, .success-card h2, .success-card h1 { margin: 0; font-size: 29px; line-height: 1.15; letter-spacing: -.025em; }
.step-count { color: #777; font-size: 12px; font-weight: 700; white-space: nowrap; }
.progress-track { height: 3px; margin: 23px 0 27px; overflow: hidden; background: #e4e4e4; border-radius: 9px; }
.progress-track span { width: 50%; height: 100%; display: block; background: var(--pg-red); transition: width .25s ease; }

.form-step { display: grid; gap: 19px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span { color: #444; font-size: 13px; font-weight: 700; }
.field b { color: var(--pg-red); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: #202020; outline: none; transition: border-color .18s, box-shadow .18s; }
.field input, .field select { height: 49px; padding: 0 14px; }
.field textarea { resize: vertical; min-height: 82px; padding: 13px 14px; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pg-red); box-shadow: 0 0 0 3px rgba(237,28,36,.1); }
.field input::placeholder, .field textarea::placeholder { color: #999; }

.button { min-height: 50px; padding: 0 20px; border: 0; border-radius: 11px; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button-primary { color: #fff; background: var(--pg-red); box-shadow: 0 8px 20px rgba(237,28,36,.2); }
.button-primary:hover { background: var(--pg-red-dark); }
.button-secondary { color: #333; background: #ededed; }
.form-step > .button-primary { width: 100%; }
.button-row { display: grid; grid-template-columns: .32fr .68fr; gap: 12px; }

.vehicle-summary { position: relative; padding: 14px 74px 14px 15px; background: #f1f2f2; border-radius: 11px; display: grid; gap: 4px; }
.vehicle-summary span { color: #777; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.vehicle-summary strong { font-size: 15px; }
.vehicle-summary button { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--pg-red); cursor: pointer; font-size: 13px; font-weight: 800; }

.upload-field { min-height: 74px; padding: 13px 15px; border: 1px dashed #b8b8b8; border-radius: 12px; background: #f8f8f8; display: flex; gap: 13px; align-items: center; cursor: pointer; }
.upload-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: var(--pg-red); font-size: 23px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.upload-field > span:last-child { min-width: 0; display: grid; gap: 3px; }
.upload-field strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.upload-field small { color: #787878; font-size: 11px; }

.consent-row { display: grid; grid-template-columns: 19px 1fr; gap: 10px; align-items: start; color: #5f5f5f; font-size: 12px; line-height: 1.45; }
.consent-row input { width: 17px; height: 17px; margin: 0; accent-color: var(--pg-red); }
.privacy-note { margin: -6px 0 0; color: #858585; font-size: 11px; text-align: center; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-panel { min-height: 78px; padding: 12px; border: 1px solid #dedede; border-radius: 12px; background: #f8f8f8; display: grid; justify-items: center; gap: 7px; }
.turnstile-panel p { margin: 0; color: #666; font-size: 11px; line-height: 1.35; text-align: center; }
.turnstile-panel p.turnstile-error { color: #9d1117; }
#turnstile-widget { width: 100%; min-height: 0; display: flex; justify-content: center; }
.error-message { margin: -5px 0 0; padding: 10px 12px; border-left: 3px solid var(--pg-red); background: #fff0f0; color: #9d1117; font-size: 12px; line-height: 1.4; }

.success-card { text-align: center; padding: 48px 40px 40px; }
.success-icon { width: 62px; height: 62px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: #edf8ef; color: #18863b; font-size: 29px; font-weight: 900; }
.success-copy { max-width: 440px; margin: 17px auto 23px; color: #676767; font-size: 15px; line-height: 1.6; }
.reference-box { margin: 0 auto 20px; padding: 15px 18px; border: 1px solid #e1e1e1; border-radius: 12px; background: #f7f7f7; display: grid; gap: 4px; }
.reference-box span { color: #777; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.reference-box strong { font-size: 19px; letter-spacing: .04em; }
.whatsapp-button { width: 100%; }
.text-button, .text-link { margin-top: 17px; border: 0; background: transparent; color: #555; font-size: 12px; cursor: pointer; text-decoration: underline; }
.text-link { display: inline-block; }

footer { max-width: 1240px; margin: 0 auto; padding: 19px 42px 25px; border-top: 1px solid rgba(40,40,40,.1); display: flex; justify-content: space-between; color: #777; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.standalone-page { min-height: 100vh; padding: 30px 16px; display: grid; place-items: center; background: linear-gradient(135deg, #f8f8f8, #e3e8eb); }
.standalone-card { width: min(520px, 100%); }
.register-title { margin: 0; font-size: 30px; letter-spacing: -.025em; }
.register-copy { margin-left: 0; text-align: left; }

@media (max-width: 900px) {
  .content { width: min(680px, calc(100% - 38px)); grid-template-columns: 1fr; gap: 34px; padding-top: 35px; }
  .intro { padding: 0 4px; }
  .intro h1 { font-size: clamp(43px, 10vw, 62px); }
  .intro-copy { margin-bottom: 24px; }
  .trust-list, .contact-note { display: none; }
}

@media (max-width: 560px) {
  .site-header { min-height: 72px; padding: 14px 19px; }
  .brand img { width: 155px; }
  .header-label { display: none; }
  .content { width: calc(100% - 24px); padding: 27px 0 35px; gap: 26px; }
  .intro { padding: 0 6px; }
  .eyebrow { margin-bottom: 8px; }
  .intro h1 { font-size: 43px; }
  .intro-copy { margin: 18px 0 0; font-size: 15px; line-height: 1.5; }
  .form-card { padding: 26px 19px 22px; border-radius: 20px; }
  .form-heading h2 { font-size: 24px; }
  .field-grid { grid-template-columns: 1fr; gap: 16px; }
  .button-row { grid-template-columns: .34fr .66fr; }
  .button { padding: 0 12px; }
  footer { padding: 18px 19px 24px; }
  footer span:last-child { display: none; }
}

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