/* ==========================================================================
   Contact Page Styles — Contact info, map, hours, service areas, policies
   ========================================================================== */

/* -- Contact Info --------------------------------------------------------- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.contact-info__item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: var(--brand-primary);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--brand-primary);
  background: rgba(var(--brand-primary-rgb, 37, 99, 235), 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.contact-info__item:hover .contact-info__icon {
  transform: scale(1.1);
  background: var(--brand-primary);
  color: #ffffff;
}

.contact-info__icon svg {
  width: 100%;
  height: 100%;
}

.contact-info__item h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.contact-info__item a,
.contact-info__item p {
  font-size: 1rem;
  color: #111827;
  font-weight: 500;
}

.contact-info__item a:hover {
  color: var(--brand-primary);
}

/* -- Map ------------------------------------------------------------------ */
.map-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 2.5rem auto 0;
  height: 35rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  filter: saturate(0.9) contrast(1.02);
}

/* -- Hours Table ---------------------------------------------------------- */
.hours-table {
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 0.5rem 1.5rem;
}

.hours-table--full {
  max-width: 560px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid #f3f4f6;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.hours-row:hover {
  background: rgba(var(--brand-primary-rgb, 37, 99, 235), 0.04);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row--placeholder {
  opacity: 0.6;
}

.hours-row__day {
  font-weight: 600;
  color: var(--brand-primary);
}

.hours-row__time {
  color: #6b7280;
}

/* -- Service Areas -------------------------------------------------------- */
.service-area {
  margin-bottom: 2rem;
}

.service-area__section {
  margin-bottom: 1.5rem;
}

.service-area__section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111827;
}

.service-area__radius {
  color: #6b7280;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.tag:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

/* -- Policies ------------------------------------------------------------- */
.policies-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.policy-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  border-top: 3px solid var(--brand-primary);
}

.policy-card__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.policy-card__type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--brand-primary);
  color: #ffffff;
  flex-shrink: 0;
}

.policy-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

.policy-card__content {
  padding: 1.25rem 1.5rem;
}

.policy-card__content p {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* -- Responsive ----------------------------------------------------------- */
@media (max-width: 768px) {
  .map-container {
    height: 20rem;
    border-radius: 12px;
  }

  .hours-table {
    padding: 0.25rem 1rem;
  }
}
