/* ============================================================
   PT BADAK LNG — HUBUNGI KAMI PAGE STYLES
   ============================================================ */

/* ── 16. CONTACT ──────────────────────────────────────────── */
#contact { background: var(--light-gray); padding: 0; overflow: hidden; }

#contact .row {
  min-height: 560px;
}

.contact-info {
  background: var(--navy);
  padding: 72px 48px;
  display: flex; flex-direction: column; gap: 28px;
  position: relative; overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute; bottom: -120px; left: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,87,168,0.15) 0%, transparent 70%);
}

.contact-info-header { margin-bottom: 8px; position: relative; }
.contact-info-header .section-tag { color: var(--teal-mid); }
.contact-info-header .section-tag::before,
.contact-info-header .section-tag::after { background: var(--teal-mid); }
.contact-info-header h2 { font-size: 28px; font-weight: 700; color: #fff; line-height: 1.25; margin-top: 12px; }

.contact-info-item { display: flex; gap: 16px; align-items: flex-start; position: relative; }

.contact-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(0,87,168,0.15);
  border: 1px solid rgba(0,87,168,0.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-mid); font-size: 16px;
}

.contact-info-text h4 { font-size: 10px; font-weight: 700; color: var(--teal-mid); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1.5px; }
.contact-info-text p  { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.75; }

.contact-form-wrap { padding: 72px 64px; background: var(--light-gray); }

.contact-intro { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group  { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 10.5px; font-weight: 700;
  color: var(--navy); text-transform: uppercase; letter-spacing: 1.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #dde3e8;
  border-radius: 6px;
  padding: 11px 15px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,87,168,0.12);
}

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

/* ── Quick contact cards ────────────────────────────────────── */
.quick-contact {
  background: #fff;
  padding: 0 5%;
  margin-top: -1px;
}

.quick-contact-inner {
  max-width: 1240px;
  margin: 0 auto;
  transform: translateY(-40px);
  position: relative;
  z-index: 10;
}

.qc-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow .3s, border-color .3s, transform .3s;
  cursor: default;
}

.qc-card:first-child  { border-radius: 16px 0 0 16px; }
.qc-card:last-child   { border-radius: 0 16px 16px 0; }
.qc-card + .qc-card   { border-left: none; }

.qc-card:hover {
  box-shadow: 0 8px 40px rgba(0,87,168,0.12);
  border-color: rgba(0,87,168,0.35);
  transform: translateY(-3px);
  z-index: 1;
  position: relative;
}

.qc-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 18px;
  transition: background .3s, color .3s;
}

.qc-card:hover .qc-icon { background: var(--teal); color: #fff; }

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

.qc-text p {
  font-size: 13px; font-weight: 600;
  color: var(--navy); line-height: 1.6;
}

.qc-text a {
  font-size: 13px; font-weight: 600;
  color: var(--teal); text-decoration: none;
  transition: color .2s;
}

.qc-text a:hover { color: var(--teal-dark); }

/* ── Main contact section ───────────────────────────────────── */
.contact-main {
  padding: 20px 5% 40px;
  background: var(--light-gray);
}

.contact-main-inner {
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

/* Form card */
.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px 52px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,87,168,0.08);
}

.contact-form-card .form-header { margin-bottom: 36px; }

.contact-form-card .form-header h2 {
  font-size: 26px; font-weight: 800;
  color: var(--navy); line-height: 1.25;
  margin-bottom: 8px;
}

.contact-form-card .form-header p {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 24px;
}

.form-divider span {
  font-size: 10.5px; font-weight: 700;
  color: var(--teal); text-transform: uppercase; letter-spacing: 2px;
  white-space: nowrap;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--border);
}

.form-section-title {
  font-size: 11px; font-weight: 800;
  color: var(--navy); text-transform: uppercase;
  letter-spacing: 1.8px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}

.form-section-title i { color: var(--teal); }

.form-3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-checkbox input[type=checkbox] {
  width: 16px; height: 16px; flex-shrink: 0;
  accent-color: var(--teal); margin-top: 2px; cursor: pointer;
}

.form-checkbox span {
  font-size: 12.5px; color: var(--text-muted); line-height: 1.6;
}

.form-checkbox span a { color: var(--teal); text-decoration: none; }
.form-checkbox span a:hover { text-decoration: underline; }

/* Submit feedback */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success .success-icon {
  width: 72px; height: 72px;
  background: #e8fdf5;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: #22c55e; font-size: 28px;
}

.form-success h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.form-success p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* Right sidebar panel */
.contact-side { display: flex; flex-direction: column; gap: 20px; }

/* Office cards */
.office-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2eaf4;
  border-left: 4px solid var(--teal);
  box-shadow: 0 4px 24px rgba(0,87,168,0.06);
  transition: box-shadow .3s, transform .3s;
  height: 100%;
}

.office-card:hover {
  box-shadow: 0 12px 40px rgba(0,87,168,0.14);
  transform: translateY(-4px);
}

.office-card-header {
  background: linear-gradient(135deg, #eef4fc 0%, #f8fbff 100%);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #e2eaf4;
}

.office-card-header-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--teal);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,87,168,0.25);
}

.office-card-header h4 {
  font-size: 14px; font-weight: 800;
  color: var(--navy); line-height: 1.2;
}

.office-card-header span {
  font-size: 11px; color: var(--text-muted);
  display: block; margin-top: 3px; font-weight: 500;
}

.office-card-body { padding: 6px 24px 20px; }

.office-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed #e8edf3;
}

.office-detail:last-child { border-bottom: none; padding-bottom: 0; }

.office-detail i {
  width: 28px; height: 28px; flex-shrink: 0;
  background: #eef4fc;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 12px;
  margin-top: 1px;
}

.office-detail p {
  font-size: 13px; color: var(--text-muted); line-height: 1.65;
}

.office-detail strong { color: var(--navy); }

/* Social card */
.social-card {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(0,87,168,0.2);
}

.social-card h4 {
  font-size: 13px; font-weight: 700; color: #fff;
  margin-bottom: 6px;
}

.social-card p {
  font-size: 12px; color: rgba(255,255,255,0.5);
  margin-bottom: 18px; line-height: 1.6;
}

.social-links {
  display: flex; gap: 10px; flex-wrap: wrap;
}

.social-link {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 8px 14px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 12px; font-weight: 600;
  transition: all .2s;
}

.social-link:hover { background: rgba(0,87,168,0.2); border-color: var(--teal); color: #fff; }
.social-link i { font-size: 14px; }

/* FAQ section */
.faq-section {
  padding: 80px 5%;
  background: #fff;
}

.faq-section .container { max-width: 860px; }

.faq-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 48px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.faq-item.open {
  border-color: rgba(0,87,168,0.35);
  box-shadow: 0 4px 24px rgba(0,87,168,0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  background: #fff;
  transition: background .2s;
  user-select: none;
}

.faq-item.open .faq-question { background: var(--teal-light); }

.faq-question h4 {
  font-size: 14.5px; font-weight: 700;
  color: var(--navy); flex: 1; line-height: 1.4;
}

.faq-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 12px;
  transition: background .2s, transform .3s;
}

.faq-item.open .faq-icon { background: var(--teal); color: #fff; transform: rotate(45deg); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 22px; }

.faq-answer p {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.8;
}

/* Map section */
.map-section {
  background: var(--light-gray);
  padding: 32px 5% 80px;
}

.map-tabs {
  display: flex;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 32px;
}

.map-tab {
  padding: 10px 28px;
  border-radius: 10px;
  font-size: 13px; font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  border: none; background: transparent;
  font-family: inherit;
}

.map-tab.active { background: var(--teal); color: #fff; }
.map-tab:hover:not(.active) { color: var(--teal); }

.map-wrapper {
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  position: relative;
}

.map-wrapper iframe {
  border-radius: 16px;
  display: block;
}

.map-placeholder {
  text-align: center;
  color: var(--text-muted);
}

.map-placeholder i {
  font-size: 48px; color: var(--teal);
  margin-bottom: 16px; display: block;
}

.map-placeholder h4 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.map-placeholder p  { font-size: 14px; line-height: 1.7; }

.map-placeholder .map-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  background: var(--teal); color: #fff;
  padding: 10px 22px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}

.map-placeholder .map-link:hover { background: var(--teal-dark); }

/* ── Responsive: Hubungi Kami page ─────────────────────────── */
@media (max-width: 1024px) {
  .qc-card:first-child  { border-radius: 16px 0 0 0; }
  .qc-card:last-child   { border-radius: 0 0 16px 0; }
  .qc-card:nth-child(2) { border-radius: 0 16px 0 0; }
  .qc-card:nth-child(3) { border-radius: 0 0 0 16px; }
  .qc-card:nth-child(3),
  .qc-card:nth-child(4) { border-top: none; }
  .qc-card:nth-child(even) { border-left: none; }
}

@media (max-width: 768px) {
  .quick-contact-inner { transform: translateY(-20px); }
  .qc-card           { border-radius: 0 !important; }
  .qc-card + .qc-card { border-left: 1px solid var(--border); border-top: none; }
  .contact-form-card { padding: 32px 24px; }
  .form-3col         { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .map-tabs { width: 100%; }
  .map-tab  { flex: 1; text-align: center; padding: 10px 12px; }
}
