
:root{
  --navy:#071b36;
  --navy-2:#0a2b52;
  --blue:#0d3b69;
  --yellow:#ffd21f;
  --white:#ffffff;
  --ink:#102744;
  --muted:#61758c;
  --line:#dbe4ed;
  --soft:#f4f7fa;
  --danger:#b42318;
  --success:#166534;
  --shadow:0 18px 45px rgba(7,27,54,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--soft);
  line-height:1.55;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1160px,92%);margin:0 auto}

.site-header{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(7,27,54,.97);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand img{width:72px;height:72px;object-fit:contain}
.back-link{
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
  border-radius:10px;
  padding:10px 16px;
  font-weight:800;
}

.contact-hero{
  background:linear-gradient(145deg,var(--navy),var(--navy-2));
  color:#fff;
  padding:72px 0 76px;
}
.contact-hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:64px;
  align-items:center;
}
.eyebrow{
  margin:0 0 12px;
  color:var(--yellow);
  font-size:12px;
  letter-spacing:.16em;
  font-weight:900;
}
.eyebrow.dark{color:#174c83}
h1{
  font-size:clamp(46px,6vw,76px);
  line-height:1;
  letter-spacing:-.04em;
  margin:.1em 0 .34em;
}
h2{
  font-size:clamp(30px,4vw,48px);
  line-height:1.08;
  letter-spacing:-.025em;
  margin:.1em 0 .35em;
}
.hero-copy{
  font-size:20px;
  max-width:760px;
  color:#e1ebf5;
}
.hero-copy.secondary{color:#b9c9da;font-size:17px}
.hero-side-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.13);
  border-radius:24px;
  padding:30px;
}
.side-label{
  display:inline-block;
  color:var(--yellow);
  font-weight:900;
  font-size:11px;
  letter-spacing:.14em;
}
.hero-side-card h2{font-size:32px;margin-top:14px}
.hero-side-card p{color:#c9d7e5}
.side-points{display:grid;gap:10px;margin-top:24px}
.side-points span{
  background:rgba(255,255,255,.07);
  border-radius:10px;
  padding:12px 14px;
  font-weight:800;
}

.form-section{padding:76px 0 100px}
.form-layout{
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:58px;
  align-items:start;
}
.form-heading{position:sticky;top:112px}
.form-heading p{color:var(--muted);font-size:17px}
.form-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:30px;
}

.progress{
  display:grid;
  grid-template-columns:auto 1fr auto 1fr auto;
  align-items:center;
  gap:12px;
  margin-bottom:34px;
}
.progress-item{
  display:flex;
  align-items:center;
  gap:9px;
  color:#91a0b1;
  font-size:12px;
}
.progress-item span{
  width:34px;
  height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#e8eef4;
  color:#718397;
  font-weight:900;
}
.progress-item.active,
.progress-item.done{color:var(--ink)}
.progress-item.active span{background:var(--yellow);color:var(--navy)}
.progress-item.done span{background:var(--navy);color:var(--yellow)}
.progress-line{height:2px;background:#e3eaf0}

.form-step{
  display:none;
  border:0;
  padding:0;
  margin:0;
}
.form-step.active{display:block}
legend{
  width:100%;
  font-size:30px;
  line-height:1.1;
  font-weight:900;
  margin-bottom:28px;
  color:var(--ink);
}

.field-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.field.full{grid-column:1/-1}
.field label,
.field-label{
  display:block;
  font-weight:800;
  margin-bottom:8px;
  color:#203953;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea{
  width:100%;
  border:1px solid #cbd7e2;
  border-radius:10px;
  padding:13px 14px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  outline:none;
  transition:.2s;
}
.field textarea{
  min-height:150px;
  resize:vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:#2d5f91;
  box-shadow:0 0 0 3px rgba(45,95,145,.12);
}
.field input:invalid:focus,
.field select:invalid:focus,
.field textarea:invalid:focus{
  border-color:#aebdca;
}
.field small{
  display:block;
  text-align:right;
  color:#7c8fa2;
  margin-top:5px;
}

.check-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.check-grid.two-col{grid-template-columns:repeat(2,1fr)}
.check-grid label{
  display:flex;
  gap:9px;
  align-items:flex-start;
  background:#f7f9fb;
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px;
  font-weight:600;
  margin:0;
}
.check-grid input{margin-top:4px;accent-color:#0d3b69}
.group-error{
  display:none;
  margin:8px 0 0;
  color:var(--danger);
  font-size:13px;
  font-weight:700;
}
.group-error.show{display:block}

.consent{
  border-top:1px solid var(--line);
  padding-top:18px;
}
.consent label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-weight:500;
}
.consent input{margin-top:5px;accent-color:#0d3b69}
.consent a{color:#0d4a82;text-decoration:underline}

.step-actions{
  margin-top:30px;
  display:flex;
  justify-content:space-between;
  gap:12px;
}
.step-actions.end{justify-content:flex-end}
.btn{
  border:0;
  border-radius:10px;
  padding:13px 20px;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
.btn.primary{background:var(--yellow);color:var(--navy)}
.btn.secondary{background:#edf2f6;color:var(--ink)}
.btn:disabled{opacity:.55;cursor:wait}

.bot-field{
  position:absolute;
  overflow:hidden;
  clip:rect(0 0 0 0);
  height:1px;
  width:1px;
  margin:-1px;
  padding:0;
  border:0;
}

.form-status{
  display:none;
  margin-top:24px;
  border-radius:14px;
  padding:18px;
  font-weight:700;
}
.form-status.success{
  display:block;
  background:#ecfdf3;
  color:var(--success);
  border:1px solid #bbf7d0;
}
.form-status.error{
  display:block;
  background:#fff1f2;
  color:var(--danger);
  border:1px solid #fecdd3;
}
.form-status h3{margin:0 0 6px}

.footer{
  background:var(--navy);
  color:#fff;
  padding:34px 0;
}
.footer-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:20px;
}
.footer-inner img{width:70px}
.footer-inner p{margin:4px 0 0;color:#b9c9da;font-size:14px}
.footer-links{display:flex;gap:18px;font-size:14px;color:#d1deea}

@media(max-width:900px){
  .contact-hero-grid,
  .form-layout{grid-template-columns:1fr}
  .form-heading{position:static}
}
@media(max-width:680px){
  .contact-hero{padding:48px 0 54px}
  .form-section{padding:54px 0 70px}
  .form-card{padding:22px 18px}
  .field-grid,
  .check-grid,
  .check-grid.two-col{grid-template-columns:1fr}
  .progress-item strong{display:none}
  .progress{grid-template-columns:auto 1fr auto 1fr auto}
  .step-actions{flex-direction:column-reverse}
  .btn{width:100%}
  .footer-inner{grid-template-columns:auto 1fr}
  .footer-links{grid-column:1/-1;flex-wrap:wrap}
}
