/* ===== CONTACT PAGE ===== */

/* Side-by-side name fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Page Hero */
.page-hero {
  background: var(--color-primary);
  padding: 5rem 0 3rem;
  color: white;
}

.breadcrumb {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 0.75rem;
}

.page-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Form Wrapper */
.contact-form-wrapper h2 {
  margin-bottom: 0.5rem;
}

.contact-form-intro {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}

/* Contact Cards */
.contact-card {
  background: var(--color-bg-alt);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.contact-phone {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

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

.contact-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Service Areas List */
.service-areas-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.service-areas-list li {
  padding: 0.375rem 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-areas-list li:last-child {
  border-bottom: none;
}

/* Honeypot — hidden from real users */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-card {
    flex: 1;
    min-width: 220px;
  }

  .page-hero {
    padding: 6rem 0 3rem;
    text-align: center;
  }

  .page-hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .page-hero {
    padding: 5.5rem 0 2.5rem;
  }

  .page-hero h1 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .contact-sidebar {
    flex-direction: column;
  }

  .contact-card {
    min-width: auto;
    padding: 1.5rem;
  }

  /* Contact phone number — scale down if too large */
  .contact-phone {
    font-size: 1.25rem;
  }

  /* Form row — already handled in components.css at 600px */
}
