/* Contact page styles */
.contact-grid {
  display: grid;
  /* Increase right column to give Contact Information more space */
  grid-template-columns: 1fr 520px;
  gap: 48px;
  align-items: start;
}
.contact-left {
  padding-right: 8px;
}
.eyebrow {
  color: #d96a1a;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.display-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  margin: 0 0 12px 0;
  line-height: 1.05;
  color: #111;
}
.lead {
  color: #4a4a4a;
  max-width: 680px;
  margin-bottom: 20px;
}
.form-flash {
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;
}
.form-flash.error {
  background: #fff6f6;
  border: 1px solid #f1c0c0;
  color: #7a0a0a;
}
.form-flash.success {
  background: #f7fff6;
  border: 1px solid #c7f0db;
  color: #0a5f2a;
}
.contact-form .row {
  margin-bottom: 16px;
}
.contact-form .two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 10px 6px;
  font-size: 16px;
  background: transparent;
  outline: none;
  transition: border-color .15s ease;
  border-radius: 0px !important;
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: #d96a1a;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 12px;
}
.math-check input {
  width: 80px;
  max-width: 100%;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
/* Use the site's global .btn--primary styles for consistency */
.contact-right .contact-info {
  background: transparent;
  padding: 12px 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
  position: relative;
  overflow: visible;
}
.contact-right .contact-info.card::before{ display:none; }
.contact-right h3 {
  margin-top: 0;
  font-size: 18px;
  margin-bottom: 8px;
  font-family: var(--font-sans);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
}
.contact-right p, .contact-right address {
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 14px;
}
.contact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(17,17,17,0.04);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-item .icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #BF0D23;
}
.contact-item .icon svg { display:block; width:20px; height:20px; }
.contact-item-content { flex: 1 1 auto; }
.contact-item-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  font-size: 13px;
}
.contact-item-links a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  margin-right: 8px;
}
.phone-row {
  display:flex;
  gap:8px;
  align-items:center;
  margin-bottom:4px;
}
.copy-btn { display:none; }
.hours { display:block; gap:8px; }
.hours-badge {
  background: transparent;
  color: var(--muted);
  padding:0;
  border-radius: 0;
  font-size:13px;
  font-weight:500;
  display:block;
}
.contact-actions {
  display:flex;
  gap:12px;
  margin-top:10px;
  align-items:center;
}
.contact-actions .btn {
  border-radius: 8px;
  box-shadow: none !important;
  padding: 8px 12px;
}
.contact-actions .btn--ghost {
  background: transparent;
  border: 1px solid rgba(17,17,17,0.06);
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
}
.contact-actions .btn--primary,
#open-reservation,
.contact-right .contact-info .contact-actions .btn--primary {
  color: #fff;
}
.contact-actions .btn--primary:hover,
#open-reservation:hover {
  color: #fff;
}
.contact-feedback, .copy-feedback { font-size:13px; color:var(--muted); margin-top:8px; }
.contact-map {
  margin-top: 18px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-right {
    order: 2;
  }
  .contact-left {
    order: 1;
  }
  .display-title {
    font-size: 36px;
  }
  .contact-map iframe { height: 260px !important; }
}

/* Ensure comfortable side padding on small screens so content isn't flush to edges */
@media (max-width: 900px) {
  /* Respect the site's container padding variable where available */
  .contact.container {
    padding-left: calc(var(--container-pad, 20px) - 6px);
    padding-right: calc(var(--container-pad, 20px) - 6px);
  }

  /* Give form fields some internal horizontal breathing room */
  .contact-form .field input,
  .contact-form .field textarea {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Slightly reduce gaps on small screens to keep things tidy */
  .contact-grid {
    gap: 20px;
  }
}

