/**
 * HD CLC — Contact page [hdclc_contact]
 * Aligns with home/about design. Depends on home.css button utilities.
 */
.hdclc-contact-page {
  --hd-green: #176b3a;
  --hd-green-dark: #0f4d29;
  --hd-dark: #22362a;
  --hd-muted: #53665a;
  --hd-line: #d9e3dc;
  --hd-bg: #f4f7f5;
  --hd-white: #fff;
  font-family: "Roboto", Arial, Helvetica, sans-serif !important;
  color: var(--hd-dark);
  line-height: 1.55;
  max-width: 100%;
  overflow-x: hidden;
}

.hdclc-contact-page *,
.hdclc-contact-page *::before,
.hdclc-contact-page *::after {
  box-sizing: border-box;
}

.hdclc-contact-page a {
  text-decoration: none;
  color: inherit;
}

.hdclc-contact-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero */
.hdclc-contact-hero {
  background: linear-gradient(135deg, #0f4d29 0%, #176b3a 100%);
  color: #fff;
  padding: 56px 24px 60px;
  text-align: center;
}

.hdclc-contact-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hdclc-contact-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hdclc-contact-hero p {
  margin: 0 auto 24px;
  max-width: 560px;
  font-size: 16px;
  opacity: .92;
  line-height: 1.55;
}

.hdclc-contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Sections */
.hdclc-contact-section {
  padding: 48px 24px;
  background: var(--hd-white);
}

.hdclc-contact-section.hdclc-contact-alt {
  background: var(--hd-bg);
}

.hdclc-contact-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.hdclc-contact-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .hdclc-contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
    gap: 36px;
  }
}

/* Info cards */
.hdclc-contact-cards {
  display: grid;
  gap: 12px;
}

.hdclc-contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--hd-line);
  border-radius: 12px;
  background: var(--hd-bg);
}

.hdclc-contact-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #e8f5ee;
  color: var(--hd-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}

.hdclc-contact-card h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--hd-dark) !important;
}

.hdclc-contact-card p {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--hd-green);
}

.hdclc-contact-card p a {
  color: var(--hd-green);
}

.hdclc-contact-card span {
  font-size: 12px;
  color: var(--hd-muted);
  line-height: 1.4;
}

/* Form panel */
.hdclc-contact-form-panel {
  border: 1px solid var(--hd-line);
  border-radius: 16px;
  background: #fff;
  padding: 28px 24px;
  box-shadow: 0 8px 28px rgba(23, 107, 58, .06);
}

.hdclc-contact-form-head {
  margin-bottom: 20px;
}

.hdclc-contact-form-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--hd-dark) !important;
}

.hdclc-contact-form-head p {
  margin: 0;
  font-size: 14px;
  color: var(--hd-muted);
}

.hdclc-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hd-muted);
}

.hdclc-contact-form-row {
  display: grid;
  gap: 0 14px;
}

@media (min-width: 560px) {
  .hdclc-contact-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.hdclc-contact-form input,
.hdclc-contact-form select,
.hdclc-contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--hd-line);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: var(--hd-dark);
  box-shadow: none;
}

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

.hdclc-contact-form input:focus,
.hdclc-contact-form select:focus,
.hdclc-contact-form textarea:focus {
  outline: none;
  border-color: var(--hd-green);
  box-shadow: 0 0 0 3px rgba(23, 107, 58, .12);
}

.hdclc-contact-form-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--hd-muted);
  text-align: center;
  line-height: 1.45;
}

/* Locations */
.hdclc-contact-loc-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

@media (min-width: 700px) {
  .hdclc-contact-loc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hdclc-contact-loc {
  background: #fff;
  border: 1px solid var(--hd-line);
  border-radius: 12px;
  padding: 20px 18px;
}

.hdclc-contact-section:not(.hdclc-contact-alt) .hdclc-contact-loc {
  background: var(--hd-bg);
}

.hdclc-contact-loc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--hd-green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.hdclc-contact-loc h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--hd-dark) !important;
}

.hdclc-contact-loc > p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--hd-muted);
  line-height: 1.5;
}

.hdclc-contact-loc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hdclc-contact-loc li {
  font-size: 13px;
  color: var(--hd-dark);
  padding: 3px 0;
  line-height: 1.4;
}

.hdclc-contact-map {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hd-line);
  background: #e8f0eb;
  aspect-ratio: 21 / 9;
  min-height: 240px;
}

.hdclc-contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Quick CTA */
.hdclc-contact-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 24px;
  border: 1px solid var(--hd-line);
  border-radius: 16px;
  background: linear-gradient(135deg, #f7faf8 0%, #fff 100%);
}

.hdclc-contact-quick h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--hd-dark) !important;
}

.hdclc-contact-quick p {
  margin: 0;
  font-size: 14px;
  color: var(--hd-muted);
  max-width: 420px;
}

.hdclc-contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 599px) {
  .hdclc-contact-hero {
    padding: 40px 18px 48px;
  }
  .hdclc-contact-section {
    padding: 36px 18px;
  }
  .hdclc-contact-form-panel {
    padding: 22px 16px;
  }
  .hdclc-contact-map {
    aspect-ratio: 4 / 3;
  }
}

/* Location cards with individual maps */
.hdclc-contact-loc-with-maps {
  align-items: stretch;
}

.hdclc-contact-loc-with-maps .hdclc-contact-loc {
  display: flex;
  flex-direction: column;
}

.hdclc-contact-map-sm {
  position: relative;
  margin-top: 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--hd-line);
  background: #e8f0eb;
  aspect-ratio: 4 / 3;
  min-height: 180px;
  width: 100%;
}

.hdclc-contact-map-sm iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 700px) {
  .hdclc-contact-loc-with-maps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 699px) {
  .hdclc-contact-map-sm {
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }
}


/* HD CLC 1.5.18 — accessible server-side contact form */
.hdclc-contact-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.hdclc-contact-form input,.hdclc-contact-form select,.hdclc-contact-form textarea{font-family:Roboto,Arial,sans-serif}
.hdclc-contact-form button{cursor:pointer}

.hdclc-contact-feedback{max-width:1180px;margin:0 auto 22px;padding:15px 18px;border:1px solid #b9dfc8;border-radius:12px;background:#f2faf5;color:#185b35;font:500 14px/1.6 Roboto,Arial,sans-serif}
.hdclc-contact-location-image{display:block;width:100%;height:170px;object-fit:cover;border-radius:12px;margin:12px 0}
