/* ===== CONTACT LAYOUT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form-wrapper h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.contact-form-wrapper > p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.65;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.form-group label span {
  color: var(--orange);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background-color: var(--bg-light);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
  background-color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #adb5bd;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  margin-top: 8px;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* ===== CONTACT INFO PANEL ===== */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-info-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26,35,126,0.1), rgba(40,53,147,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.contact-item:hover .contact-item-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  transform: scale(1.08);
}

.contact-item-body h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-body p,
.contact-item-body a {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  transition: color var(--transition);
}

.contact-item-body a:hover {
  color: var(--orange);
}

/* ===== HOURS CARD ===== */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

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

.hours-row .day {
  color: var(--text-muted);
  font-weight: 500;
}

.hours-row .time {
  font-weight: 600;
  color: var(--navy);
}

.hours-row .closed {
  color: #ef4444;
  font-weight: 600;
}

/* ===== MAP ===== */
.map-section {
  padding: 0;
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

/* ===== RESPONSIVE CONTACT ===== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .map-container iframe {
    height: 300px;
  }
}
