/* ============================================================
   UNIVERSAL SURVEY — Contact Page Stylesheet
   ============================================================ */

/* ─── ACTIVE NAV LINK ────────────────────────────────────── */
.nav-link.active {
  color: var(--white) !important;
}
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1) !important;
}
.active-mob {
  color: var(--gold-400) !important;
  font-weight: 600;
}

/* ─── PAGE BANNER ────────────────────────────────────────── */
.page-banner {
  position: relative;
  padding-top: 90px;
  min-height: 46vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background: var(--navy-900);
}

.page-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: brightness(0.28) saturate(0.7);
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,17,31,.6) 0%, rgba(22,53,88,.3) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  padding-top: 48px;
  padding-bottom: 72px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.breadcrumb a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--gold-300); }

.breadcrumb svg {
  width: 14px;
  height: 14px;
  color: rgba(255,255,255,.3);
}

.breadcrumb span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-400);
}

.page-banner-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-banner-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  line-height: 1.7;
}

.page-banner-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}
.page-banner-wave svg { width: 100%; height: auto; }

/* ─── QUICK CONTACT CARDS ────────────────────────────────── */
.quick-cards-section {
  padding: 56px 0 0;
  background: var(--white);
}

.quick-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
  color: inherit;
}

a.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}

.qc-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  color: var(--gold-400);
  transition: background var(--transition);
}
a.quick-card:hover .qc-icon { background: var(--gold-500); color: var(--white); }
.qc-icon svg { width: 22px; height: 22px; }

.quick-card--wa .qc-icon { background: #075e54; color: #25d366; }
a.quick-card--wa:hover .qc-icon { background: #25d366; color: var(--white); }
a.quick-card--wa:hover { border-color: #25d366; }

.qc-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.qc-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.qc-body strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qc-hint {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.qc-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--gray-400);
  transition: color var(--transition), transform var(--transition);
}
.qc-arrow svg { width: 18px; height: 18px; }
a.quick-card:hover .qc-arrow { color: var(--gold-500); transform: translateX(3px); }

/* ─── MAIN CONTACT SECTION ───────────────────────────────── */
.contact-main-section {
  padding: 72px 0 96px;
  background: var(--white);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 72px;
  align-items: flex-start;
}

/* Prevent grid children from overflowing their columns */
.contact-left,
.contact-form-card {
  min-width: 0;
}

/* Left panel */
.contact-left-intro {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.8;
  margin: 12px 0 32px;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.cdl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.cdl-item:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }

.cdl-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}
.cdl-icon svg { width: 18px; height: 18px; }

.cdl-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.cdl-text span {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* WhatsApp CTA */
.wa-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: #25d366;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-bottom: 32px;
  box-shadow: 0 6px 20px rgba(37,211,102,.3);
  width: 100%;
  justify-content: center;
}
.wa-cta-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.wa-cta-btn:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37,211,102,.4);
}

/* Port mini list */
.port-mini-list {
  padding: 20px;
  background: var(--navy-800);
  border-radius: var(--radius-md);
}

.port-mini-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 14px;
}

.port-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.port-mini-grid span {
  font-size: 0.82rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.port-mini-grid span em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: var(--gold-500);
  color: var(--white);
  padding: 1px 6px;
  border-radius: 100px;
}

/* ─── FORM CARD ──────────────────────────────────────────── */
.contact-form-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.form-card-header {
  background: var(--navy-800);
  padding: 28px 36px;
  position: relative;
  overflow: hidden;
}

.form-card-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40L40 0M-10 10L10-10M30 50L50 30' stroke='rgba(200,144,58,.06)' stroke-width='1'/%3E%3C/svg%3E") repeat;
}

.form-card-header h3 {
  position: relative;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.form-card-header p {
  position: relative;
  font-size: 0.85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}

form {
  padding: 32px 36px 36px;
}

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

.form-row-2 > .form-group {
  min-width: 0;
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.req { color: var(--gold-500); }

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  resize: vertical;
  font-family: var(--font);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(22,53,88,.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.field-err {
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 500;
  min-height: 18px;
}

/* Select */
.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 40px 12px 16px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.select-wrap select:focus {
  border-color: var(--navy-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(22,53,88,.1);
}

.select-wrap select option:first-child { color: var(--gray-400); }

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--gray-500);
  pointer-events: none;
}

/* Radio group */
.radio-label-group {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

.radio-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.radio-opt {
  position: relative;
  cursor: pointer;
}

.radio-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-box {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
}

.radio-box svg { width: 16px; height: 16px; }

.radio-opt input:checked + .radio-box {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

.radio-opt input:checked + .radio-box svg { color: var(--gold-400); }
.radio-box:hover { border-color: var(--navy-600); color: var(--text); }

/* Submit */
.btn-full { width: 100%; justify-content: center; }
.btn-arrow { transition: transform var(--transition); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--text-light);
  line-height: 1.5;
}
.form-note svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--gray-400); }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: rgba(34,197,94,.08);
  border: 1.5px solid rgba(34,197,94,.25);
  border-radius: var(--radius-md);
  margin-top: 16px;
}
.form-success.visible { display: flex; }
.form-success svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.form-success strong { display: block; font-size: 0.92rem; color: var(--text); margin-bottom: 3px; }
.form-success p { font-size: 0.82rem; color: var(--text-light); }

/* ─── BOTTOM STRIP ───────────────────────────────────────── */
.contact-bottom-strip {
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  padding: 48px 0;
}

.cbs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.cbs-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cbs-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}
.cbs-icon svg { width: 22px; height: 22px; }

.cbs-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
}
.cbs-item span {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .quick-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-main-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-left { order: 2; }
  .contact-form-card { order: 1; }
}

@media (max-width: 768px) {
  .page-banner { min-height: 38vh; }
  .cbs-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
  form { padding: 24px 20px 28px; }
  .form-card-header { padding: 22px 20px; }
  .radio-group { flex-direction: column; }
  .radio-box { width: 100%; }
}

@media (max-width: 520px) {
  .quick-cards-grid { grid-template-columns: 1fr; }
  .quick-card { padding: 18px 16px; }
}

/* ─── MAP SECTION ────────────────────────────────────────── */
.map-section {
  padding: 80px 0 0;
  background: var(--white);
}

.map-header {
  text-align: center;
  margin-bottom: 40px;
}

.map-wrap {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--gold-500);
  box-shadow: 0 -8px 40px rgba(11,31,58,.08);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.map-open-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--navy-800);
  color: var(--white);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(11,31,58,.3);
  transition: background .2s, transform .2s;
}
.map-open-btn svg { width: 15px; height: 15px; }
.map-open-btn:hover {
  background: var(--gold-500);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .map-wrap iframe { height: 300px; }
}
