/* ══════════════════════════════════════════
   VARIABLES
══════════════════════════════════════════ */
:root {
  --navy:        #14153d;
  --navy2:       #1c1e52;
  --navy-light:  #eef0fb;
  --orange:      #ef843f;
  --orange2:     #f9a06a;
  --orange3:     #d4612b;
  --orange-bg:   #fff5ee;
  --orange-bg2:  #fde8d8;
  --bg:          #ffffff;
  --bg2:         #f8f9fc;
  --bg3:         #f1f3fa;
  --text:        #1a1b3a;
  --text2:       #3d3f6b;
  --muted:       #6b6f9a;
  --border:      rgba(20,21,61,0.09);
  --border2:     rgba(20,21,61,0.15);
  --green:       #16a34a;
  --red:         #dc2626;
  --font-heading:'Plus Jakarta Sans', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --container:   860px;
  --radius:      18px;
  --radius-sm:   12px;
  --radius-xs:   8px;
  --header-h:    72px;
  --transition:  0.25s ease;
  --shadow-sm:   0 2px 12px rgba(20,21,61,0.08);
  --shadow-md:   0 8px 32px rgba(20,21,61,0.12);
  --shadow-orange: 0 8px 28px rgba(239,132,63,0.35);
}

/* ══════════════════════════════════════════
   RESET
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg2);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }

::selection { background: rgba(239,132,63,0.2); color: var(--navy); }
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes spin   { to { transform:rotate(360deg); } }
@keyframes pulse-ring { 0% { transform:scale(1); opacity:0.7; } 100% { transform:scale(1.6); opacity:0; } }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  position: relative;
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(20,21,61,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 2px 20px rgba(20,21,61,0.2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.logo-wrap { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-img  { height: 44px; width: auto; object-fit: contain; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 800; color: #fff;
}
.logo-text small {
  display: block; font-size: 0.58rem; font-weight: 500;
  color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase;
}
.header-right { display: flex; align-items: center; gap: 12px; }
.back-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.6);
  text-decoration: none; padding: 7px 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.back-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.07);
}
.header-badge {
  background: linear-gradient(135deg, var(--orange), var(--orange3));
  color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 30px;
  box-shadow: var(--shadow-orange);
}

/* ══════════════════════════════════════════
   HERO / PAGE HEADER
══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(239,132,63,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(239,132,63,0.15);
  border: 1px solid rgba(239,132,63,0.35);
  color: var(--orange2);
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 30px; margin-bottom: 20px;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800; color: #fff; line-height: 1.1;
  margin-bottom: 14px; position: relative;
}
.page-hero h1 .accent { color: var(--orange); }
.page-hero p {
  max-width: 500px; margin: 0 auto;
  color: rgba(255,255,255,0.6); font-size: 0.97rem; line-height: 1.7;
  position: relative;
}

/* ══════════════════════════════════════════
   PROGRESS BAR
══════════════════════════════════════════ */
.progress-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  box-shadow: var(--shadow-sm);
  position: sticky; top: var(--header-h); z-index: 50;
}
.progress-bar {
  display: flex; justify-content: center; align-items: center; gap: 0;
  flex-wrap: wrap; row-gap: 10px;
}
.step { display: flex; align-items: center; gap: 8px; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg2); border: 2px solid var(--border2);
  color: var(--muted);
  font-family: var(--font-heading); font-size: 0.82rem; font-weight: 700;
  display: grid; place-items: center;
  transition: all 0.35s ease;
}
.step-label {
  font-size: 0.73rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: color 0.35s;
}
.step.active .step-num {
  background: linear-gradient(135deg, var(--orange), var(--orange3));
  border-color: var(--orange); color: #fff;
  box-shadow: 0 0 0 4px rgba(239,132,63,0.15);
}
.step.active .step-label { color: var(--orange3); }
.step.done .step-num {
  background: var(--orange-bg); border-color: var(--orange);
  color: var(--orange3);
}
.step.done .step-label { color: var(--orange3); }
.step-connector {
  width: 40px; height: 2px;
  background: var(--border2);
  margin: 0 4px;
  transition: background 0.35s;
}
.step-connector.done { background: var(--orange); }

/* ══════════════════════════════════════════
   FORM WRAPPER
══════════════════════════════════════════ */
.form-wrap {
  padding: 40px 0 80px;
}

/* ══════════════════════════════════════════
   SECTIONS / STEPS
══════════════════════════════════════════ */
.section {
  display: none;
  animation: fadeUp 0.4s ease forwards;
}
.section.active { display: block; }

.section-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.section-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--orange-bg);
  border: 1px solid rgba(239,132,63,0.25);
  border-radius: 14px; display: grid; place-items: center; font-size: 22px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 700; color: var(--navy);
}
.section-sub { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }

/* ══════════════════════════════════════════
   CARD
══════════════════════════════════════════ */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.col-full { grid-column: 1 / -1; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } .col-full { grid-column: 1; } }

/* ══════════════════════════════════════════
   FORM ELEMENTS
══════════════════════════════════════════ */
.field { display: flex; flex-direction: column; gap: 7px; }

label {
  font-size: 0.77rem; font-weight: 600;
  color: var(--text2); letter-spacing: 0.04em; text-transform: uppercase;
}
label .req { color: var(--orange); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: var(--radius-xs); color: var(--navy);
  font-family: var(--font-body); font-size: 0.92rem;
  padding: 12px 15px; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.7; }
input:focus, textarea:focus, select:focus {
  border-color: var(--orange); background: #fff;
  box-shadow: 0 0 0 3px rgba(239,132,63,0.12);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b6f9a' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
}
textarea { resize: vertical; min-height: 110px; }

/* ── Choice group (radio) ── */
.choice-group { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-item { position: relative; }
.choice-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice-item label {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: var(--radius-xs); padding: 11px 18px;
  cursor: pointer; font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0; text-transform: none; color: var(--text2);
  transition: all var(--transition); user-select: none;
}
.choice-item label::before {
  content: ''; width: 18px; height: 18px; flex-shrink: 0;
  border-radius: 50%; border: 2px solid var(--border2);
  transition: all var(--transition);
}
.choice-item input:checked + label {
  background: var(--orange-bg);
  border-color: var(--orange);
  color: var(--navy);
}
.choice-item input:checked + label::before {
  background: var(--orange); border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239,132,63,0.15);
}

/* ── File upload zone ── */
.file-zone {
  border: 2px dashed var(--border2); border-radius: var(--radius-xs);
  padding: 28px; text-align: center; cursor: pointer;
  transition: all var(--transition); position: relative;
  background: var(--bg2);
}
.file-zone:hover { border-color: var(--orange); background: var(--orange-bg); }
.file-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}
.file-zone .upload-icon { font-size: 32px; margin-bottom: 8px; }
.file-zone p { font-size: 0.88rem; color: var(--muted); }
.file-zone strong { color: var(--orange3); }
.file-name { font-size: 0.82rem; color: var(--orange3); margin-top: 8px; display: none; }

/* ══════════════════════════════════════════
   DIVIDER & NOTE
══════════════════════════════════════════ */
.divider { height: 1px; background: var(--border); margin: 22px 0; }
.form-note { font-size: 0.76rem; color: var(--muted); margin-bottom: 20px; }
.form-note span { color: var(--orange3); font-weight: 600; }

/* ══════════════════════════════════════════
   NAV BUTTONS
══════════════════════════════════════════ */
.nav-btns {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 28px; gap: 14px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  border: none; border-radius: var(--radius-sm);
  padding: 13px 28px; cursor: pointer;
  transition: all var(--transition);
}
.btn-back {
  background: var(--bg2); border: 1.5px solid var(--border2);
  color: var(--text2);
}
.btn-back:hover { background: var(--bg3); border-color: var(--navy); color: var(--navy); }

.btn-next, .btn-submit {
  background: linear-gradient(135deg, var(--orange), var(--orange3));
  color: #fff; box-shadow: var(--shadow-orange);
  margin-left: auto;
}
.btn-next:hover, .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(239,132,63,0.45);
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ══════════════════════════════════════════
   ERROR BANNER
══════════════════════════════════════════ */
.error-banner {
  display: none;
  background: rgba(220,38,38,0.06); border: 1px solid rgba(220,38,38,0.25);
  color: #dc2626; border-radius: var(--radius-xs);
  padding: 14px 18px; font-size: 0.88rem;
  margin-top: 20px; text-align: center;
}
.error-banner.show { display: block; }

/* ══════════════════════════════════════════
   SUCCESS
══════════════════════════════════════════ */
.success-wrap {
  display: none; text-align: center;
  padding: 80px 2rem; animation: fadeUp 0.5s ease forwards;
}
.success-wrap.show { display: block; }
.success-icon {
  width: 84px; height: 84px;
  background: linear-gradient(135deg, var(--orange), var(--orange3));
  border-radius: 50%; display: grid; place-items: center;
  font-size: 38px; margin: 0 auto 24px;
  box-shadow: 0 16px 40px rgba(239,132,63,0.35);
}
.success-wrap h2 {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 800; color: var(--navy); margin-bottom: 12px;
}
.success-wrap p { color: var(--muted); max-width: 440px; margin: 0 auto; line-height: 1.65; }
.success-wrap strong { color: var(--orange3); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center; padding: 22px 2rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
}
footer a { color: var(--orange2); transition: color var(--transition); }
footer a:hover { color: var(--orange); }

/* ══════════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 8px 28px rgba(37,211,102,0.4);
  display: grid; place-items: center;
  cursor: pointer; border: none; outline: none;
  opacity: 0; transform: scale(0.7);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.wa-float.visible { opacity: 1; transform: scale(1); }
.wa-float:hover   { transform: scale(1.1); }
.wa-float::before {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: pulse-ring 2.2s ease-out infinite;
}
