/* Contact page styling aligned with the refreshed site system */

:root{
  --campsul-blue: #BBD4FF;
  --campsul-blue-2: #E4EDFD;
  --ink-strong: #0b1119;
  --ink-med: #243246;
  --ink-subtle: #5b6477;
  --border-lite: #cfd9f2;
  --brand: #3aa0ff;
  --brand-dark: #1f79d0;
}

.content-container.contact-page{
  display:block;
}

.contact-page{
  width:100%;
  margin-top:12px;
}

.contact-grid{
  width:100%;
  display:grid;
  grid-template-columns:minmax(280px, 660px) minmax(860px, 1fr);
  gap:28px;
  align-items:start;
  max-width:1100px;
  margin:0 auto;
}

.contact-card{
  background:#fff;
  border:1px solid var(--border-lite);
  border-radius:18px;
  padding:28px;
  box-shadow:0 8px 18px rgba(12,36,86,.07);
  height:100%;
}
.contact-card h1,
.contact-card h2{
  margin:0 0 8px;
  color:var(--ink-strong);
}
.contact-card p{
  color:#2e3747;
  line-height:1.5;
}
.eyebrow{
  text-transform:uppercase;
  font-size:.8rem;
  letter-spacing:.08em;
  color:var(--brand-dark);
  font-weight:700;
  margin-bottom:6px;
}
.lede{
  color:var(--ink-subtle);
  margin-bottom:16px;
}

.contact-details .contact-list{
  margin:16px 0 0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.contact-details .contact-list li{
  padding-bottom:16px;
  border-bottom:1px solid #eef2fb;
}
.contact-details .contact-list li:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.contact-details .label{
  display:block;
  font-size:.9rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--ink-subtle);
  font-weight:700;
  margin-bottom:4px;
}
.contact-details a{
  display:inline-block;
  font-weight:700;
  color:var(--brand-dark);
  text-decoration:none;
  margin-bottom:4px;
}
.contact-details a:hover{
  text-decoration:underline;
}
.contact-meta{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}
.meta-label{
  display:block;
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--ink-subtle);
}
.meta-value{
  font-weight:700;
  color:var(--ink-strong);
}

.contact-form h2{
  margin-bottom:4px;
}
.contact-form .form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:16px;
}
.contact-form label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:700;
  color:var(--ink-med);
  margin-top:16px;
}
.contact-form input,
.contact-form textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid var(--border-lite);
  border-radius:14px;
  padding:12px 14px;
  font:inherit;
  background:#fdfdff;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color:var(--brand);
  box-shadow:0 0 0 3px rgba(58,160,255,.15);
  outline:none;
}
.contact-form textarea{
  min-height:140px;
  resize:vertical;
}
.form-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:20px;
}
#submit-btn{
  border:none;
  border-radius:14px;
  padding:12px 24px;
  background:var(--brand);
  color:#fff;
  font-size:1rem;
  font-weight:700;
  cursor:pointer;
  transition:background .2s ease, transform .1s ease;
}
#submit-btn:hover:not(:disabled){
  background:var(--brand-dark);
}
#submit-btn:disabled{
  opacity:.6;
  cursor:wait;
}
.form-status{
  min-height:1.2em;
  font-size:.95rem;
  color:var(--ink-med);
}
.privacy-note{
  margin-top:12px;
  font-size:.9rem;
  color:var(--ink-subtle);
}
.privacy-note a{
  color:var(--brand-dark);
}

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

@media (max-width: 600px){
  .contact-card{
    padding:20px;
  }
  #submit-btn{
    width:100%;
    justify-content:center;
  }
}
