/* ============================================================
   GoRoute Cabs - contact.css
   Contact page styles (contact.html only)
   ============================================================ */

/* ── CONTACT CARDS STRIP ── */
.contact-cards-strip {
  background: var(--bg-2);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cc-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid var(--border);
  text-align: center;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.09);
  border-color: var(--primary-border);
}

.cc-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.cc-icon.orange {
  background: var(--primary-light);
}
.cc-icon.green {
  background: #dcfce7;
}
.cc-icon.blue {
  background: #dbeafe;
}
.cc-icon.purple {
  background: #ede9fe;
}

.cc-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cc-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.2;
}

.cc-value a {
  color: inherit;
  text-decoration: none;
}
.cc-value a:hover {
  color: var(--primary);
}

.cc-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cc-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  margin-top: auto;
}

.cc-btn.primary {
  background: var(--primary);
  color: white;
}

.cc-btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.cc-btn.wa {
  background: #25d366;
  color: white;
}

.cc-btn.wa:hover {
  background: #1ea952;
  transform: translateY(-1px);
}

.cc-btn.outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.cc-btn.outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── MAIN CONTACT SECTION ── */
.contact-section {
  background: white;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Form */
.contact-form-box {
  background: white;
  border-radius: 20px;
  padding: 40px 38px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.07);
}

.contact-form-box h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-form-box .form-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 24px;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.cf-field:last-of-type {
  margin-bottom: 0;
}

.contact-submit-btn {
  width: 100%;
  justify-content: center;
  border-radius: 12px;
  margin-top: 8px;
  padding: 14px;
  font-size: 15px;
}

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

/* Right: contact info panel */
.contact-info-panel {
  padding-top: 4px;
}

.contact-info-panel h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.contact-info-panel h4 em {
  color: var(--primary);
  font-style: normal;
}

.contact-info-panel > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-2);
  border-radius: 12px;
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.info-row:hover {
  border-left-color: var(--primary);
  background: var(--primary-light);
}

.info-row-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  border: 1px solid var(--border);
}

.info-row-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.info-row-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.info-row-value a {
  color: inherit;
  text-decoration: none;
}
.info-row-value a:hover {
  color: var(--primary);
}

.info-row-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1px;
}

.contact-action-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── QUICK CONTACT BAR ── */
.quick-contact {
  background:
    radial-gradient(
      ellipse 60% 80% at 0% 50%,
      rgba(255, 69, 0, 0.2) 0%,
      transparent 55%
    ),
    linear-gradient(145deg, #1f0d03 0%, #0e0a04 100%);
  padding: 52px 0;
}

.qc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.qc-text h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}

.qc-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.qc-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.qc-btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s;
}

.qc-btn-call:hover {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.qc-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  background: #25d366;
  color: white;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}

.qc-btn-wa:hover {
  background: #1ea952;
  transform: translateY(-2px);
  color: white;
}

/* ── MAP + ADDRESS SECTION ── */
.map-section {
  background: var(--bg-2);
}

.map-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: stretch;
  margin-top: 40px;
}

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 400px;
}

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

.map-address-card {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mac-heading {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.mac-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.mac-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--primary-light);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.mac-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.mac-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}

.mac-value a {
  color: inherit;
  text-decoration: none;
}
.mac-value a:hover {
  color: var(--primary);
}

.mac-divider {
  height: 1px;
  background: var(--border);
}

.mac-directions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: background 0.2s;
  margin-top: auto;
}

.mac-directions:hover {
  background: rgba(255, 69, 0, 0.12);
  color: var(--primary);
}

/* ── FAQ SECTION ── */
.faq-section {
  background: white;
}

.faq-grid {
  max-width: 780px;
  margin: 48px auto 0;
}

/* Inherit faq-item / faq-question / faq-answer from style.css */

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .map-inner {
    grid-template-columns: 1fr;
  }
  .map-frame {
    min-height: 340px;
  }
  .map-frame iframe {
    min-height: 340px;
  }
  .map-address-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
  }
  .mac-directions {
    grid-column: 1 / -1;
  }
  .mac-divider {
    display: none;
  }
}

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .cf-row {
    grid-template-columns: 1fr;
  }
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .contact-cards-strip {
    padding: 52px 0;
  }

  .contact-form-box {
    padding: 28px 22px;
  }
  .quick-contact {
    padding: 40px 0;
  }
  .qc-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .map-address-card {
    grid-template-columns: 1fr;
  }
  .mac-divider {
    display: block;
  }
}

/* ── CONTACT FORM STATUS BANNER ── */
.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.cf-status {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.cf-status.visible {
  display: block;
}

.cf-status-loading {
  background: var(--bg-2);
  color: var(--text-muted);
}

.cf-status-success {
  background: rgba(37, 211, 102, 0.1);
  color: var(--wa-dark);
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.cf-status-error {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid var(--primary-border);
}
