/* Civic Enterprises - Contact page styles
   Uses shared style.css for header, navigation, buttons and footer. */

.contact-hero {
  min-height: 315px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.contact-hero-image {
  position: absolute;
  inset: 0 0 0 39%;
  background: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85") center / cover no-repeat;
}
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,28,52,1) 0%, rgba(5,28,52,.97) 34%, rgba(5,28,52,.73) 54%, rgba(5,28,52,.12) 100%);
}
.contact-hero-content { position: relative; z-index: 2; padding-top: 20px; padding-bottom: 24px; color: #fff; }
.contact-hero-content h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(39px, 4.5vw, 56px);
  line-height: 1.07;
  letter-spacing: -.04em;
}
.contact-hero-content h1 strong { color: #efbd4d; }
.contact-hero-content > p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.92); font-size: 15px; line-height: 1.6; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-top: 23px; color: rgba(255,255,255,.78); font-size: 12px; }
.breadcrumb a { color: #f0bd4d; }
.breadcrumb span:nth-child(2) { color: var(--gold); }

/* Intro */
.contact-intro { padding: 42px 0 35px; background: #fbfaf7; text-align: center; }
.contact-intro .eyebrow { justify-content: center; margin-bottom: 7px; }
.contact-intro h2 { margin: 0 0 9px; color: var(--navy); font-size: clamp(27px, 3vw, 36px); letter-spacing: -.035em; }
.contact-intro p:last-child { max-width: 690px; margin: 0 auto; color: #536273; font-size: 13px; line-height: 1.7; }

/* Main contact area */
.contact-main { padding: 65px 0 75px; background: #fff; }
.contact-layout { display: grid; grid-template-columns: .82fr 1.35fr; gap: 35px; align-items: stretch; }
.contact-information {
  padding: 38px 34px;
  color: #fff;
  background: var(--navy);
  border-top: 4px solid var(--gold);
}
.contact-information .eyebrow { color: #fff; font-size: 10px; }
.contact-information h2 { margin: 0 0 12px; color: #fff; font-size: clamp(27px, 3vw, 35px); line-height: 1.12; letter-spacing: -.035em; }
.contact-info-intro { margin: 0 0 26px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.7; }
.contact-info-block { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.16); }
.contact-label { display: block; margin-bottom: 6px; color: #efbd4d; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.contact-info-block p { margin: 0; color: rgba(255,255,255,.93); font-size: 13px; line-height: 1.7; }
.contact-info-block a { color: #fff; }
.contact-info-block a:hover { color: #efbd4d; }
.contact-note { margin-top: 16px; padding: 14px 15px; background: rgba(255,255,255,.07); border-left: 2px solid var(--gold); }
.contact-note p { margin: 0; color: rgba(255,255,255,.8); font-size: 11px; line-height: 1.65; }

/* Form */
.contact-form-panel { padding: 37px 38px; border: 1px solid #e7e9ec; box-shadow: 0 10px 30px rgba(9,35,63,.06); }
.contact-form-panel .eyebrow { margin-bottom: 7px; }
.contact-form-panel h2 { margin: 0 0 8px; color: var(--navy); font-size: clamp(25px, 2.8vw, 33px); line-height: 1.15; letter-spacing: -.035em; }
.form-intro { margin: 0 0 24px; color: #647282; font-size: 12px; line-height: 1.65; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { color: #18334f; font-size: 12px; font-weight: 700; }
.form-group label span { color: #bd8b1e; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid #dce2e8;
  border-radius: 2px;
  outline: none;
  background: #fbfcfd;
  color: #243b53;
  font: inherit;
  font-size: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group textarea { min-height: 125px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(215,169,54,.13); background: #fff; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9aa5b1; }
.form-submit { align-self: flex-start; border: 0; cursor: pointer; }
.form-disclaimer { margin: -5px 0 0; color: #788594; font-size: 10px; line-height: 1.55; }
.form-feedback { margin: 0; color: #236044; font-size: 11px; line-height: 1.5; }

/* CTA */
.contact-cta { padding: 42px 0; background: linear-gradient(110deg, #f8efd9, #fffaf0); }
.contact-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-cta-inner .eyebrow { margin-bottom: 7px; }
.contact-cta-inner h2 { margin: 0 0 7px; color: var(--navy); font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.contact-cta-inner p:last-child { margin: 0; color: #536273; font-size: 13px; line-height: 1.6; }

/* Tablet */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: .9fr 1.1fr; gap: 20px; }
  .contact-information { padding: 30px 24px; }
  .contact-form-panel { padding: 30px 25px; }
  .form-row { gap: 12px; }
}

/* Mobile */
@media (max-width: 640px) {
  .contact-hero { min-height: 340px; align-items: flex-end; }
  .contact-hero-image { inset: 0; background-position: center; }
  .contact-hero-overlay { background: linear-gradient(0deg, rgba(5,28,52,.98) 0%, rgba(5,28,52,.86) 55%, rgba(5,28,52,.18) 100%); }
  .contact-hero-content { padding-top: 145px; padding-bottom: 27px; }
  .contact-hero-content h1 { font-size: 39px; }
  .contact-hero-content > p:not(.eyebrow) { font-size: 13px; }
  .contact-intro { padding: 31px 0 27px; }
  .contact-intro h2 { font-size: 28px; }
  .contact-main { padding: 35px 0 45px; }
  .contact-layout { grid-template-columns: 1fr; gap: 20px; }
  .contact-information { padding: 29px 23px; }
  .contact-information h2 { font-size: 30px; }
  .contact-form-panel { padding: 27px 20px; }
  .contact-form-panel h2 { font-size: 27px; }
  .form-row { grid-template-columns: 1fr; gap: 15px; }
  .form-group input, .form-group select { min-height: 46px; }
  .form-submit { width: 100%; }
  .contact-cta { padding: 32px 0; }
  .contact-cta-inner { align-items: flex-start; flex-direction: column; gap: 18px; }
  .contact-cta-inner h2 { font-size: 27px; }
}
