
/* CH Group - Contact page UI fix */

.contact-header{
  position:sticky;
  top:0;
  z-index:30;
  background:#fff;
}

.contact-hero{
  background:linear-gradient(115deg,#edf2f7,#f8fafc);
  border-bottom:1px solid var(--line);
  padding:58px 0 54px;
}

.contact-hero-inner{
  width:min(1180px,92vw);
  margin:0 auto;
}

.contact-eyebrow{
  margin:0 0 10px;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.20em;
  font-size:12px;
  font-weight:700;
}

.contact-hero h1{
  margin:0;
  font-family:Georgia,'Times New Roman',serif;
  color:var(--ink);
  font-size:48px;
  line-height:1.08;
  font-weight:500;
}

.contact-rule{
  width:52px;
  height:2px;
  background:var(--gold);
  margin:18px 0 18px;
}

.contact-hero p{
  margin:0;
  max-width:740px;
  color:#536172;
  font-size:17px;
  line-height:1.65;
}

.contact-main{
  width:min(1180px,92vw);
  margin:42px auto 74px;
}

.contact-card{
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 14px 34px rgba(8,35,66,.06);
  padding:34px 38px 36px;
}

.contact-card-head{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:flex-start;
  margin-bottom:28px;
}

.contact-card-head h2{
  margin:0;
  color:var(--ink);
  font-family:Georgia,'Times New Roman',serif;
  font-size:32px;
  font-weight:500;
}

.contact-card-head p{
  margin:10px 0 0;
  max-width:620px;
  color:#536172;
  line-height:1.65;
}

.contact-side-note{
  flex:0 0 280px;
  border:1px solid #e5d5ad;
  background:#fffdf7;
  padding:16px 18px;
  color:#3f5162;
  line-height:1.55;
}

.contact-side-note strong{
  display:block;
  margin-bottom:4px;
  color:var(--ink);
}

.contact-side-note a{
  color:var(--ink);
  font-weight:700;
}

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

.contact-form label{
  display:block;
}

.contact-form label span{
  display:block;
  margin-bottom:8px;
  color:var(--ink);
  font-weight:700;
  font-size:14px;
}

.contact-form label span em{
  font-style:normal;
  color:#7b8794;
  font-weight:400;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  border:1px solid #cfd7e1;
  background:#fff;
  color:#24384d;
  font:inherit;
  padding:13px 14px;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
  box-sizing:border-box;
}

.contact-form textarea{
  resize:vertical;
  min-height:220px;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color:#113a67;
  box-shadow:0 0 0 3px rgba(17,58,103,.08);
}

.message-field{
  margin-top:18px;
}

.consent-row{
  display:flex !important;
  align-items:flex-start;
  gap:12px;
  margin-top:18px;
}

.consent-row input{
  width:auto;
  margin-top:2px;
}

.consent-row span{
  margin:0 !important;
  font-weight:400 !important;
  color:#536172 !important;
}

.consent-row a{
  color:var(--ink);
  text-decoration:underline;
}

.contact-actions{
  margin-top:22px;
}

.primary-btn{
  appearance:none;
  border:0;
  min-width:190px;
  min-height:48px;
  padding:0 24px;
  background:var(--navy);
  color:#fff;
  font-weight:700;
  font-size:13px;
  letter-spacing:.05em;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(10,43,81,.18);
  transition:transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.primary-btn:hover{
  background:#123866;
  transform:translateY(-1px);
  box-shadow:0 12px 22px rgba(10,43,81,.2);
}

.primary-btn:active{
  transform:translateY(0);
}

@media(max-width:980px){
  .contact-card-head{
    flex-direction:column;
  }

  .contact-side-note{
    flex:1 1 auto;
    width:100%;
  }
}

@media(max-width:760px){
  .contact-hero{
    padding:42px 0 40px;
  }

  .contact-hero h1{
    font-size:38px;
  }

  .contact-card{
    padding:26px 22px 28px;
  }

  .form-grid{
    grid-template-columns:1fr;
  }
}
