/* ══════════════════════════════════════════════════════════════
   CONTACT.CSS
   ══════════════════════════════════════════════════════════════ */

/* ── QUICK CONTACT CARDS ── */
.qc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.qc {
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.qc:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.qc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
}
.qc-phone .qc-icon {
  background: #fef3e8;
}
.qc-whatsapp .qc-icon {
  background: #f0faf3;
}
.qc-email .qc-icon {
  background: #eef2ff;
}
.qc-video .qc-icon {
  background: #fdf5ec;
}
.qc h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
  font-family: "DM Sans", sans-serif;
}
.qc p {
  font-size: 12px;
  color: #6b6b6b;
  margin-bottom: 12px;
  line-height: 1.5;
}
.qc a.qc-btn {
  display: block;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  margin-bottom: 6px;
}
.qc a.qc-btn:last-child {
  margin-bottom: 0;
}
.qc-phone .qc-btn {
  background: #e67817;
  color: #fff;
}
.qc-phone .qc-btn:hover {
  background: #c45f0a;
  color: #fff;
}
.qc-whatsapp .qc-btn {
  background: #25d366;
  color: #fff;
}
.qc-whatsapp .qc-btn:hover {
  background: #128c7e;
  color: #fff;
}
.qc-email .qc-btn {
  background: #2d6a4f;
  color: #fff;
}
.qc-email .qc-btn:hover {
  background: #1a3d2b;
  color: #fff;
}
.qc-video .qc-btn {
  background: #1a3d2b;
  color: #fff;
}
.qc-video .qc-btn:hover {
  background: #e67817;
  color: #fff;
}

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

/* ── FORM BOX ── */
.form-box {
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.form-box h3 {
  margin-bottom: 6px;
}
.form-box > p {
  font-size: 13px;
  margin-bottom: 24px;
}

/* Form groups */
.fg {
  margin-bottom: 14px;
}
.fg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

/* ── .fg-label replaces .fl to avoid conflict with global.css footer-link ── */
.fg-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #3d3d3d;
  margin-bottom: 5px;
}

.fi {
  width: 100%;
  padding: 11px 14px;
  font-size: 13px;
  border: 1.5px solid #e4e0d8;
  border-radius: 6px;
  font-family: "DM Sans", sans-serif;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
}
.fi:focus {
  border-color: #2d6a4f;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.08);
}
.fi::placeholder {
  color: #b5b5b5;
}
select.fi {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%239B9B9B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
  cursor: pointer;
}
textarea.fi {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

/* ── .contact-submit-btn avoids conflict with book-appointment .submit-btn ── */
.contact-submit-btn,
.submit-btn {
  width: 100%;
  background: #e67817;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition: background 0.15s;
  margin-top: 4px;
}
.contact-submit-btn:hover,
.submit-btn:hover {
  background: #c45f0a;
}
.form-note {
  font-size: 11px;
  color: #9b9b9b;
  text-align: center;
  margin-top: 10px;
}

/* ── INFO SIDEBAR ── */
.info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-card {
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: 14px;
  padding: 22px;
}
.info-card-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2d6a4f;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e4e0d8;
}
.info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f5f3ef;
}
.info-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f0faf3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-label {
  font-size: 11px;
  font-weight: 600;
  color: #9b9b9b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.info-value {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 1.5;
}
.info-value a {
  color: #2d6a4f;
  text-decoration: none;
}
.info-value a:hover {
  color: #e67817;
}

/* ── OPD CARD ── */
.opd-card {
  background: linear-gradient(135deg, #2d6a4f 0%, #1a3d2b 100%);
  border-radius: 14px;
  padding: 22px;
  color: #fff;
}
.opd-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.opd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.opd-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.opd-day {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}
.opd-time {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.opd-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
.opd-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #52b788;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── MAP ── */
.map-section {
  padding: 0 0 72px;
}
.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e4e0d8;
  height: 400px;
  background: #f0faf3;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid #e4e0d8;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  text-align: left;
  gap: 12px;
}
.faq-icon {
  font-size: 20px;
  color: #e67817;
  flex-shrink: 0;
  transition: transform 0.2s;
  font-style: normal;
}
.faq-a {
  font-size: 13px;
  color: #6b6b6b;
  line-height: 1.75;
  padding-bottom: 16px;
  display: none;
}
.faq-item.open .faq-a {
  display: block;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .contact-grid {
    grid-template-columns: 1fr 320px;
  }
}
@media (max-width: 1000px) {
  .qc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .info-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .qc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fg-row {
    grid-template-columns: 1fr;
  }
  .info-sidebar {
    grid-template-columns: 1fr;
  }
  .map-wrap {
    height: 260px;
  }
}
