/* ==========================================================================
   Contact Section - Contact List, Links
   ========================================================================== */

.contact-list {
  display: grid;
  gap: var(--space-lg);
}

.contact-list > div {
  display: flex;
  align-items: center;
  gap: var(--space);
  padding: var(--space-lg);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.contact-list > div:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact-list a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-list a:hover {
  color: var(--primary-dark);
}

.contact-list .icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Scoped enhancements for combined Contact & Appointment section */
#contact h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

#contact .grid-2 {
  align-items: stretch;
  gap: var(--space-xl);
}

#contact .grid-2 > .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

#contact .grid-2 > .card .btn {
  align-self: flex-start;
  min-width: 220px;
  height: 48px;
}

/* Appointment — minimal, left-aligned, compact */
#contact .appointment-card {
  text-align: left;
  padding: clamp(1.5rem, 2.5vw, 2rem);
}

#contact .appointment-card h3 {
  font-size: 1.15rem;
}

#contact .appointment-lead {
  margin: 6px 0 16px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* External CTA button with icon (keeps existing .btn.accent) */
#contact .btn-external {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-inline: 18px;
  border-radius: 16px;
}

#contact .btn-external .ext-ic {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

/* Subtle helper text */
#contact .appointment-note {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Mobile: button full width if needed */
@media (max-width: 480px) {
  #contact .btn-external {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #contact .grid-2 {
    gap: var(--space-lg);
  }
  #contact .grid-2 > .card {
    padding: var(--space-lg) !important;
  }
  #contact .grid-2 > .card .btn {
    width: 100%;
    align-self: stretch;
  }
}
