/**
 * Contact page — Premium gold-savings brand
 * Aligns with index/landing design: warm white, cream, gold, charcoal
 * Lucide icons only. Use with theme.css + Bootstrap.
 */
.contact-page {
  background: var(--off-white);
  min-height: 100vh;
}

/* —— Hero (slide image) —— */
.contact-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* border-radius: 0 0 var(--radius-2xl) var(--radius-2xl); */
  box-shadow: var(--shadow-soft-lg);
}
@media (min-width: 768px) {
  .contact-hero { min-height: 320px; }
}
.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--charcoal);
}
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(31, 41, 55, 0.82) 0%, rgba(31, 41, 55, 0.5) 60%, rgba(31, 41, 55, 0.3) 100%);
}
.contact-hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
  max-width: 640px;
}
.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.contact-hero-badge i { width: 14px; height: 14px; }
.contact-hero-title {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.contact-hero-subtitle {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.contact-hero .breadcrumb {
  justify-content: center;
  margin-bottom: 0;
  --bs-breadcrumb-divider: '›';
}
.contact-hero .breadcrumb-item a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.contact-hero .breadcrumb-item a:hover { color: #fff; }
.contact-hero .breadcrumb-item.active { color: var(--gold-light); font-weight: 600; }

/* —— Section spacing —— */
.contact-section {
  padding: var(--space-3xl) 0;
}
.contact-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-section-title i { width: 1.5rem; height: 1.5rem; color: var(--gold-deep); }

/* —— Channel cards —— */
.contact-channel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  height: 100%;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
  cursor: pointer;
}
.contact-channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-md);
  border-color: rgba(212, 168, 75, 0.35);
}
.contact-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.contact-channel-icon i { width: 24px; height: 24px; }
.contact-channel-icon.line { background: rgba(6, 199, 85, 0.15); color: #06C755; }
.contact-channel-icon.phone { background: var(--soft-gold-bg); color: var(--gold-deep); }
.contact-channel-icon.mail { background: var(--info-light); color: var(--info); }
.contact-channel-icon.social { background: rgba(225, 48, 108, 0.12); color: #E1306C; }
.contact-channel-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.contact-channel-detail {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.contact-channel-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
}
.contact-channel-badge.green { background: var(--success-light); color: var(--success); }
.contact-channel-badge.gold { background: var(--soft-gold-bg); color: var(--gold-deep); }
.contact-channel-badge.blue { background: var(--info-light); color: var(--info); }
.contact-channel-badge.orange { background: var(--warning-light); color: #b45309; }

/* —— Form block —— */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-form-title i { width: 1.25rem; height: 1.25rem; color: var(--gold-deep); }
.contact-form-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.contact-form-card .form-label {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}
.contact-form-card .form-control,
.contact-form-card .form-select {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--gold-mid);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.2);
}
.contact-form-card textarea.form-control {
  min-height: 120px;
  resize: vertical;
}
.contact-form-card .btn-submit {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  border: none;
  background: var(--gold-gradient);
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-form-card .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--charcoal);
}
.contact-form-card .btn-submit i { width: 20px; height: 20px; }

/* —— Info side panel —— */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-info-card:hover {
  border-color: rgba(212, 168, 75, 0.2);
  box-shadow: var(--shadow-sm);
}
.contact-info-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-info-card-title i { width: 1.125rem; height: 1.125rem; color: var(--gold-mid); }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-bg);
  font-size: 0.875rem;
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item i {
  width: 18px;
  height: 18px;
  color: var(--gold-mid);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}
.contact-info-val { font-weight: 600; color: var(--charcoal); }
.contact-info-sub { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.15rem; }
.contact-quick-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.contact-quick-box {
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  background: var(--soft-gold-bg);
  border: 1px solid rgba(212, 168, 75, 0.2);
}
.contact-quick-box.green { background: var(--success-light); border-color: rgba(34, 197, 94, 0.25); }
.contact-quick-box i { width: 24px; height: 24px; margin-bottom: 0.35rem; display: block; margin-left: auto; margin-right: auto; }
.contact-quick-box .label { font-size: 0.75rem; font-weight: 700; color: var(--text-secondary); }
.contact-quick-box .val { font-size: 1.125rem; font-weight: 800; color: var(--gold-deep); }
.contact-quick-box.green .val { color: var(--success); }

/* —— Branch cards —— */
.contact-branch-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.contact-branch-card:hover {
  border-color: rgba(212, 168, 75, 0.3);
  box-shadow: var(--shadow-soft);
}
.contact-branch-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contact-branch-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--gold-gradient);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-branch-icon i { width: 22px; height: 22px; }
.contact-branch-name { font-size: 1rem; font-weight: 700; color: var(--charcoal); }
.contact-branch-code { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.contact-branch-info {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.contact-branch-info span {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.contact-branch-info span i { width: 16px; height: 16px; color: var(--gold-mid); flex-shrink: 0; margin-top: 2px; }
.contact-branch-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--success-light);
  color: var(--success);
}
.contact-branch-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: contact-pulse 1.5s ease-in-out infinite;
}
@keyframes contact-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* —— FAQ accordion (Bootstrap overrides) —— */
.contact-faq .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--white);
}
.contact-faq .accordion-button {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--white);
  border: none;
  padding: 1rem 1.25rem;
  box-shadow: none;
}
.contact-faq .accordion-button:not(.collapsed) {
  background: var(--soft-gold-bg);
  color: var(--gold-deep);
}
.accordion-button::after { filter: none; }
.contact-faq .accordion-body {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding: 0 1.25rem 1rem;
}

/* —— Navbar (contact page) — match landing header mood —— */
.contact-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 0;
  z-index: 100;
}
.contact-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--charcoal);
  text-decoration: none;
}
.contact-nav .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--gold-gradient);
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-nav .logo-icon i { width: 20px; height: 20px; }
.contact-nav .nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}
.contact-nav .nav-link:hover { color: var(--gold-deep); background: var(--soft-gold-bg); }
.contact-nav .nav-link.active { color: var(--gold-deep); font-weight: 600; }
.contact-nav .btn-outline-primary {
  border-color: var(--gold-mid);
  color: var(--gold-deep);
  font-weight: 600;
  border-radius: var(--radius);
}
.contact-nav .btn-outline-primary:hover {
  background: var(--soft-gold-bg);
  border-color: var(--gold-mid);
  color: var(--gold-deep);
}
.contact-nav .btn-primary {
  background: var(--gold-gradient);
  border: none;
  color: var(--charcoal);
  font-weight: 600;
  border-radius: var(--radius);
}
.contact-nav .btn-primary:hover {
  filter: brightness(1.05);
  color: var(--charcoal);
  box-shadow: var(--shadow-soft);
}

/* —— Footer contact page —— */
.contact-footer {
  background: var(--charcoal);
  color: var(--text-muted);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}
.contact-footer .footer-brand h3 { color: var(--gold-light); font-weight: 700; }
.contact-footer .footer-col h4 { color: #fff; font-size: 0.875rem; font-weight: 600; }
.contact-footer a { color: var(--text-muted); text-decoration: none; }
.contact-footer a:hover { color: var(--gold-light); }

/* —— Responsive —— */
@media (max-width: 991px) {
  .contact-hero { min-height: 260px; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
  .contact-section { padding: var(--space-2xl) 0; }
}
@media (max-width: 767px) {
  .contact-hero { min-height: 240px; }
  .contact-hero-title { font-size: 1.5rem; }
  .contact-form-card { padding: 1.5rem; }
  .contact-quick-strip { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .contact-nav .navbar-collapse { padding: 0.75rem 0; }
}
