/* contact.css — page-specific styles for /contact/index.html only.
   Loaded AFTER styles.css. Never override baseline tokens or structural rules. */

/* ---- Contact split override ---- */
/* Override split's `align-items:center` so both columns start at the top,
   keeping the info panel flush with the form's first field. */
.contact-split { align-items: start; }

/* ---- Contact info panel (right column) ---- */
.contact-info-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-panel h2 {
  margin-bottom: 4px;
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem);
}

/* ---- Contact info list ---- */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ci-ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-ico svg { width: 19px; height: 19px; }

.ci-label {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-secondary);  /* AA: muted was 3.86:1 on the panel */
  margin-bottom: 3px;
}

.ci-val {
  font-weight: 600;
  color: var(--text);
  font-size: .97rem;
  line-height: 1.45;
}

a.ci-val {
  color: var(--primary);
  transition: color .15s var(--ease-hover);
}

a.ci-val:hover { color: var(--primary-dark); text-decoration: underline; }

/* ---- Distributor block ---- */
.distributor-block {
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.distributor-block h3 {
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-secondary);  /* AA: muted was 3.86:1 on the panel */
  margin-bottom: 14px;
}

.distributor-logos {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.dist-logo-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  background: #fff;
  transition: border-color .15s var(--ease-hover), box-shadow .15s var(--ease-hover);
}

.dist-logo-link:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.dist-logo-link img {
  height: 28px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

/* ---- Char counter ---- */
.char-count {
  text-align: right;
  font-size: .78rem;
  color: var(--text-secondary);  /* AA: muted was 3.86:1 on the panel */
  margin-top: 4px;
}

/* ---- CTA phone display (large number in dark cta-band) ---- */
.cta-phone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem);
  font-weight: 650;
  color: #fff;
  letter-spacing: -.02em;
  margin: 12px 0 28px;
  transition: color .15s var(--ease-hover);
}

.cta-phone:hover { color: var(--accent); }

/* ---- Form section heading ---- */
.split-body > h2 { margin-bottom: 8px; }
.split-body > .form-lead { margin-bottom: 22px; }

/* ---- Form submit note ---- */
.contact-form .form-note {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 10px;
}

/* ---- Responsive: stack info panel below form on small screens ---- */
@media (max-width: 1023px) {
  .contact-info-panel { padding: 28px 22px; }
}
