/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #1a56db;
  --blue-dark: #1342b0;
  --blue-light: #e8f0fe;
  --orange: #f97316;
  --orange-light: #fff4ed;
  --green: #16a34a;
  --green-light: #dcfce7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --font: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 clamp(1rem, 5vw, 3rem);
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font);
  font-weight: 800; font-size: 1.3rem;
  color: var(--gray-900);
  text-decoration: none; display: flex; align-items: center; gap: .4rem;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: .95rem;
}
nav { display: flex; gap: 2rem; align-items: center; }
nav a {
  font-family: var(--font); font-size: .875rem; font-weight: 500;
  color: var(--gray-700); text-decoration: none; transition: color .2s;
}
nav a:hover, nav a.active { color: var(--blue); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .65rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font); font-size: .875rem; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none; transition: all .2s;
  white-space: nowrap;
}
.btn-blue { background: var(--blue); color: white; }
.btn-blue:hover { background: var(--blue-dark); box-shadow: 0 6px 20px rgba(26,86,219,.35); transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: white; }
.btn-orange:hover { background: #ea6a08; box-shadow: 0 6px 20px rgba(249,115,22,.35); transform: translateY(-1px); }
.btn-outline { background: white; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-ghost { background: transparent; color: var(--gray-500); border: 1.5px solid var(--gray-300); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: white; color: var(--blue); }
.btn-white:hover { background: var(--blue-light); }
.btn-lg { padding: .85rem 2.2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── FOOTER ── */
footer {
  background: var(--gray-900); color: white;
  padding: 2.5rem clamp(1rem, 5vw, 3rem);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
footer .logo { color: white; font-size: 1rem; }
footer p { font-size: .82rem; color: var(--gray-400); }
footer a { color: var(--gray-400); text-decoration: none; font-size:.82rem; transition: color .2s; }
footer a:hover { color: white; }

/* ── FORM SHARED ── */
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-family: var(--font); font-size: .82rem; font-weight: 600;
  color: var(--gray-700);
}
.form-group label .required { color: var(--red); margin-left: 2px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: .9rem;
  color: var(--gray-800);
  background: white;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}
.form-group input.error,
.form-group textarea.error,
.form-group select.error { border-color: var(--red); }
.form-group .field-error {
  font-size: .78rem; color: var(--red); display: none;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* checkbox */
.checkbox-group { display: flex; align-items: flex-start; gap: .75rem; }
.checkbox-group input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--blue); cursor: pointer;
}
.checkbox-group label { font-size: .85rem; color: var(--gray-600); cursor: pointer; line-height: 1.5; }
.checkbox-group label a { color: var(--blue); text-decoration: underline; }

/* ── SECTION UTILS ── */
.section-label {
  display: inline-block;
  background: var(--blue-light); color: var(--blue);
  font-family: var(--font); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: .35rem .9rem; border-radius: 50px; margin-bottom: 1rem;
}
.section-label.orange { background: var(--orange-light); color: var(--orange); }
.section-label.green { background: var(--green-light); color: var(--green); }

/* ── SCROLL REVEAL ── */
[data-reveal] { opacity:0; transform:translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  nav { display: none; }
}
