/* contact.css */

.contact-info-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  height: 100%;
}

.cib-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.cib-desc {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ci-icon {
  width: 42px;
  height: 42px;
  background: color-mix(in srgb, var(--cic) 12%, transparent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cic);
  font-size: 1rem;
  flex-shrink: 0;
}

.ci-label {
  font-size: .72rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ci-value {
  font-size: .86rem;
  color: var(--text-main);
  font-weight: 500;
  margin-top: 2px;
}

.cs-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cs-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 600;
  transition: var(--transition);
}

.cs-btn.facebook {
  background: rgba(24, 119, 242, .08);
  color: #1877f2;
  border: 1px solid rgba(24, 119, 242, .2);
}

.cs-btn.whatsapp {
  background: rgba(37, 211, 102, .08);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, .2);
}

.cs-btn.youtube {
  background: rgba(255, 0, 0, .08);
  color: #ff0000;
  border: 1px solid rgba(255, 0, 0, .15);
}

.cs-btn:hover {
  transform: translateX(4px);
}

/* Form Box */
.contact-form-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.cfb-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 22px;
}

.form-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}

.btn-send-msg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 10px;
  padding: 12px 28px;
  font-size: .9rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(232, 35, 42, .3);
}

.btn-send-msg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232, 35, 42, .45);
}

/* Success */
.contact-success {
  text-align: center;
  padding: 40px 20px;
}

.cs-icon {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 14px;
}

.contact-success h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.contact-success p {
  font-size: .85rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(232, 35, 42, .25);
  box-shadow: 0 2px 12px rgba(232, 35, 42, .08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: none;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-item.open .faq-question {
  color: var(--primary);
}

.faq-icon {
  font-size: .9rem;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform .3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 18px;
}

.faq-item.open .faq-answer {
  padding-bottom: 16px;
}

/* ── Map Section ── */
.map-section {
  background: var(--bg-white, #fff);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.map-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 45%;
  /* aspect ratio desktop */
  background: #e8eaf0;
}

.map-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Info bar below map */
.map-info-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.map-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 160px;
}

.map-info-item>i {
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.mib-label {
  font-size: .68rem;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 3px;
}

.mib-value {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.map-info-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

.map-direction-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm, 8px);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}

.map-direction-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
  .map-frame-wrap {
    padding-top: 55%;
  }
}

@media (max-width: 767px) {
  .map-frame-wrap {
    padding-top: 75%;
  }

  .map-info-bar {
    padding: 14px 16px;
    gap: 12px;
  }

  .map-info-item {
    min-width: 130px;
  }

  .map-info-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .map-frame-wrap {
    padding-top: 90%;
  }

  .map-info-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .map-info-item {
    min-width: unset;
    width: 100%;
  }

  .map-direction-btn {
    display: flex !important;
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }
}

@media(max-width:767px) {
  .contact-form-box {
    padding: 20px;
  }

  .contact-info-box {
    padding: 20px;
    margin-bottom: 0;
  }
}