/* ============================================================
   CONTACT PAGE STYLES — loaded only on contact.html
   ============================================================ */

.contact-hero{
  background:var(--bar-bg);
  padding:72px 0 24px;
}
.contact-hero h1{
  font-size:clamp(30px,4vw,46px); font-weight:800; letter-spacing:-.01em;
  color:var(--navy); margin:0 0 18px;
}
.contact-hero .hero-sub{
  font-size:18px; font-weight:600; line-height:1.6; color:var(--navy); max-width:620px; margin:0 0 14px;
}
.contact-hero p{
  font-size:15px; line-height:1.75; color:var(--text-muted); max-width:560px; margin:0;
}

.contact-section{
  background:var(--bar-bg);
  padding:56px 0 100px;
}
.contact-grid{
  display:grid; grid-template-columns:1fr 1.1fr; gap:64px; align-items:start;
}

.contact-info{ display:flex; flex-direction:column; gap:26px; }
.contact-info-item h3{
  font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  color:var(--blue-accent); margin:0 0 8px;
}
.contact-info-item p, .contact-info-item a{
  font-size:15px; color:var(--navy); font-weight:500; line-height:1.6;
}

.contact-form{
  background:#fff; border:1px solid var(--line);
  padding:40px;
}
.form-row{ display:flex; gap:18px; }
.form-field{ margin-bottom:20px; flex:1 1 0; }
.form-field label{
  display:block; font-size:13px; font-weight:700; color:var(--navy); margin-bottom:8px;
}
.form-field input,
.form-field textarea{
  width:100%; border:1px solid var(--line); background:#fff;
  padding:13px 14px; font-family:inherit; font-size:14.5px; color:var(--navy);
  border-radius:0; transition:border-color .2s ease;
}
.form-field input:focus,
.form-field textarea:focus{ border-color:var(--blue-accent); outline:none; }
.form-field textarea{ resize:vertical; min-height:130px; }

/* Honeypot field — hidden from real users, catches basic bots */
.form-field.hp{ position:absolute; left:-9999px; top:-9999px; }

.form-submit{
  display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:8px;
}
.form-submit .cta-btn{ margin-left:0; }
.form-submit .cta-btn[disabled]{ opacity:.6; cursor:not-allowed; }

.form-status{
  font-size:13.5px; font-weight:600; padding:2px 0;
}
.form-status.success{ color:#1a7a4c; }
.form-status.error{ color:#b3261e; }

@media (max-width:900px){
  .contact-grid{ grid-template-columns:1fr; gap:40px; }
}
@media (max-width:600px){
  .contact-hero{ padding:56px 0 20px; }
  .contact-section{ padding:40px 0 72px; }
  .contact-form{ padding:26px; }
  .form-row{ flex-direction:column; gap:0; }
}

/* Social icons on the contact page sit on a light background, so they
   need a dark circle behind the white glyphs (unlike the footer, which
   is already dark). */
.contact-info .social-row a{
  background:var(--navy); border-color:var(--navy);
}
.contact-info .social-row a:hover{ background:var(--blue-accent); border-color:var(--blue-accent); }

.form-consent{
  font-size:12px; font-style:italic; line-height:1.6; color:var(--text-muted);
  margin:-6px 0 20px;
}

/* ---------------- OFFICE LOCATIONS ---------------- */
.locations-section{
  background:#fff;
  padding:24px 0 96px;
}
.locations-eyebrow{
  display:flex; align-items:center; gap:12px;
  font-size:12.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--blue-accent); margin:0 0 36px;
}
.locations-eyebrow::after{ content:""; flex:1 1 auto; height:1px; background:var(--line); }

.locations-grid{
  display:grid; grid-template-columns:repeat(5,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line);
}
.location-card{
  background:#fff; padding:32px 24px;
  display:flex; flex-direction:column; align-items:flex-start;
}
.location-card .pin{
  width:38px; height:38px; border-radius:50%; background:var(--accent-soft);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.location-card .pin svg{ width:18px; height:18px; }
.location-card h4{ font-size:14.5px; font-weight:800; color:var(--navy); margin:0 0 10px; }
.location-card p{ font-size:13px; line-height:1.65; color:var(--text-muted); margin:0 0 12px; }
.location-card a{ font-size:13px; font-weight:700; color:var(--blue-accent); }
.location-card a:hover{ text-decoration:underline; }

@media (max-width:980px){
  .locations-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:600px){
  .locations-section{ padding:12px 0 64px; }
  .locations-grid{ grid-template-columns:1fr 1fr; }
  .location-card{ padding:24px 18px; }
}
