.contact-page{
  background:linear-gradient(180deg,#f7fbff 0%,#f3f8fc 100%);
}

.contact-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg, #1b4f7a 0%, #2C6E91 55%, #4d97bf 100%);
  color:#fff;
}

.contact-hero::after{
  content:"";
  position:absolute;
  right:-120px;
  bottom:-120px;
  width:320px;
  height:320px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
}

.contact-hero .wrap{
  max-width:1040px;
  margin:0 auto;
  padding:40px 18px 36px;
  position:relative;
  z-index:1;
  font-family:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

.contact-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  font-size:.92rem;
  font-weight:700;
  margin-bottom:18px;
}

.contact-hero h1{
  margin:0 0 12px;
  font-size:clamp(1.8rem,3.4vw,2.6rem);
  line-height:1.06;
  font-weight:800;
  max-width:760px;
}

.contact-hero p{
  margin:0;
  max-width:760px;
  font-size:1.05rem;
  line-height:1.75;
  opacity:.96;
}

.contact-status-wrap{
  max-width:1040px;
  margin:18px auto 0;
  padding:0 18px;
}

.success-banner,
.error-banner{
  padding:14px 16px;
  border-radius:14px;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  box-shadow:0 8px 20px rgba(0,0,0,.04);
}

.success-banner{
  border:1px solid #a6e3b5;
  background:#eafaf0;
  color:#0e5a2b;
}

.error-banner{
  border:1px solid #efb8c1;
  background:#fff1f2;
  color:#8a2332;
}

.contact-shell{
  max-width:1040px;
  margin:0 auto;
  padding:22px 18px 42px;
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) 300px;
  gap:28px;
  font-family:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

.contact-card,
.info-card{
  background:#fff;
  border:1px solid #e6eef6;
  border-radius:22px;
  padding:22px;
  box-shadow:0 14px 34px rgba(20,56,87,.06);
}

.contact-helper-box{
  margin:0 0 22px;
  padding:22px 22px;
  border-radius:18px;
  position:relative;
  overflow:hidden;
}

.contact-helper-box-pro{
  background:linear-gradient(135deg,#f4f9ff 0%,#edf6ff 52%,#f7fbff 100%);
  border:1px solid #d7e7f4;
  box-shadow:0 12px 28px rgba(25,70,110,.06);
}

.contact-helper-box-pro::after{
  content:"";
  position:absolute;
  right:-50px;
  top:-50px;
  width:160px;
  height:160px;
  border-radius:50%;
  background:rgba(44,110,145,.06);
}

.contact-helper-badge{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:#e7f1fb;
  color:#2C6E91;
  font-size:.88rem;
  font-weight:800;
  margin-bottom:14px;
}

.contact-helper-box h3{
  position:relative;
  z-index:1;
  margin:0 0 10px;
  color:#123a57;
  font-size:1.5rem;
  line-height:1.15;
}

.contact-helper-box p{
  position:relative;
  z-index:1;
  margin:0;
  color:#456072;
  line-height:1.8;
  font-size:1.02rem;
  max-width:760px;
}

.contact-helper-actions{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.contact-helper-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  transition:.2s ease;
}

.contact-helper-link-primary{
  background:linear-gradient(45deg,#336699,#2C6E91);
  color:#fff;
  box-shadow:0 10px 22px rgba(44,110,145,.18);
}

.contact-helper-link-primary:hover{
  color:#fff;
  filter:brightness(1.05);
  transform:translateY(-1px);
}

.contact-helper-link-secondary{
  background:#ffffff;
  color:#2C6E91;
  border:1px solid #cfe0ee;
}

.contact-helper-link-secondary:hover{
  background:#f7fbff;
  color:#234f75;
  transform:translateY(-1px);
}

.segmented{
  display:inline-flex;
  border:1px solid #dfe7f2;
  padding:5px;
  border-radius:14px;
  background:#f7f9fc;
  margin:0 0 20px;
  gap:4px;
}

.segmented button{
  border:0;
  padding:10px 16px;
  border-radius:10px;
  background:transparent;
  cursor:pointer;
  font-weight:800;
  color:#1b2740;
  transition:.2s ease;
}

.segmented button.active{
  background:#eef4ff;
  color:#336699;
  box-shadow:0 2px 8px rgba(51,102,153,.08);
}

.contact-form{
  position:relative;
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.form-group{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.form-group-full{
  grid-column:1 / -1;
}

.form-group label{
  font-weight:700;
  color:#0a1528;
}

.hint{
  color:#66758a;
  font-size:.9rem;
}

.hint-row{
  display:flex;
  gap:10px;
}

.input,
.textarea,
.select{
  width:100%;
  border:1px solid #dfe7f2;
  border-radius:12px;
  padding:13px 14px;
  font-size:16px;
  background:#fff;
  box-sizing:border-box;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.textarea{
  min-height:150px;
  resize:vertical;
}

.input:focus,
.textarea:focus,
.select:focus{
  outline:none;
  border-color:#336699;
  box-shadow:0 0 0 4px rgba(51,102,153,.10);
}

.pro-fields{
  display:none;
}

.pro-fields.show{
  display:block;
  animation:fade .15s ease-in;
}

@keyframes fade{
  from{opacity:0}
  to{opacity:1}
}

.contact-separator{
  border:none;
  height:1px;
  background:#eef2f7;
  margin:12px 0 18px;
}

.contact-honeypot{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

.form-actions{
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:12px;
  justify-content:flex-end;
}

.btn-primary{
  background:linear-gradient(45deg, #336699, #2C6E91);
  color:#fff;
  border:0;
  border-radius:12px;
  padding:13px 20px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(44,110,145,.18);
  transition:.2s ease;
}

.btn-primary:hover{
  filter:brightness(1.05);
  transform:translateY(-1px);
}

.char-counter{
  color:#66758a;
  font-size:.9rem;
  margin-left:auto;
}

.info-card h3{
  margin:0 0 14px;
  font-size:1.08rem;
  color:#0a1528;
  font-weight:800;
}

.info-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
  color:#2a3a4f;
}

.info-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  line-height:1.65;
}

.info-list li i{
  width:20px;
  text-align:center;
  color:#336699;
  margin-top:3px;
  flex:0 0 20px;
}

.info-note{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #e8eef5;
  color:#617384;
  line-height:1.7;
  font-size:.95rem;
}

@media (max-width: 980px){
  .contact-shell{
    grid-template-columns:1fr;
  }
}

@media (max-width: 760px){
  .form-grid{
    grid-template-columns:1fr;
  }

  .hint-row{
    flex-direction:column;
  }

  .form-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .contact-helper-actions{
    flex-direction:column;
  }
}