/* ══════════════════════════════════════
   CONTACT & SUPPORT PAGE CSS
══════════════════════════════════════ */

/* HERO */
.contact-hero {
  position: relative; min-height: 280px;
  display: flex; align-items: center;
  padding: 56px 40px; overflow: hidden;
}
.contact-hero-bg {
  position: absolute; inset: 0;
  background-image: url('http://chemanol.go-globe.dev/wp-content/uploads/2026/08/c21ef0f12fb27f307bf4febc2c366d08006e4106-scaled.jpg');
  background-size: cover; background-position: center; z-index: 0;
}
.contact-hero-bg::after { content: ''; position: absolute; inset: 0; background: rgba(15,87,164,0.82); }
.contact-hero-content { position: relative; z-index: 1; width: 100%; }
.contact-hero h1 { font-size: 42px; font-weight: 700; color: #fff; margin-bottom: 14px; line-height: 1.15; }
.contact-hero p  { font-size: 15px; color: rgba(255,255,255,0.88); max-width: 680px; line-height: 1.65; }

/* BREADCRUMB */
.contact-breadcrumb { padding: 14px 0; background: #fff; border-bottom: 1px solid #eef2f7; }
.contact-breadcrumb .container { display: flex; align-items: center; gap: 8px; }
.contact-breadcrumb a { font-size: 12px; color: #0F57A4; font-weight: 500; }
.contact-breadcrumb-sep { color: #aaa; font-size: 12px; }
.contact-breadcrumb-current { font-size: 12px; color: #888; }

/* BODY */
.contact-body { background: #F7F7F7; padding: 40px 0 72px; }

/* Cards */
.contact-card { background: #fff; border-radius: 12px; padding: 40px 44px; margin-bottom: 24px; }
.locate-card  { background: #fff; border-radius: 12px; padding: 40px 44px; }

/* Grid */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: start; }

/* Section titles */
.contact-section-title { font-size: 28px; font-weight: 400; color: #020A12; margin-bottom: 24px; scroll-margin-top: 120px; }
.locate-title          { font-size: 28px; font-weight: 400; color: #020A12; margin-bottom: 0; }
.locate-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.btn-directions {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0F57A4; color: #fff;
  padding: 10px 20px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: background .2s; flex-shrink: 0;
}
.btn-directions:hover { background: #0d4a8e; }

/* ── FORM TABS ── */
.form-tabs { display: flex; gap: 10px; margin-bottom: 24px; }
.form-tab {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start;
  gap: 8px; padding: 14px 16px;
  border: 1.5px solid #c8d8eb; border-radius: 6px;
  background: #fff; cursor: pointer; font-family: inherit; transition: all .2s;
}
.form-tab:hover:not(.active) { border-color: #0F57A4; }
.form-tab .t-icon { color: #0F57A4; display: flex; }
.form-tab .t-icon svg { width: 22px; height: 22px; }
.form-tab .t-label { font-size: 13px; font-weight: 500; color: #0F57A4; text-align: left; line-height: 1.3; }
.form-tab.active { background: #0F57A4; border-color: #0F57A4; }
.form-tab.active .t-icon { color: #fff; }
.form-tab.active .t-label { color: #fff; }

/* PANELS */
.form-panel { display: none; }
.form-panel.active { display: block; }

/* ── INPUTS ── */
.f-input, .f-select, .f-textarea {
  width: 100%; background: #E2EEFC;
  border: none; border-radius: 6px;
  padding: 14px 16px; font-size: 14px;
  color: #020A12; font-family: inherit;
  outline: none; -webkit-appearance: none; appearance: none;
  transition: background .15s, color .15s;
}
.f-input::placeholder, .f-textarea::placeholder { color: #9aaec4; }
.f-select { cursor: pointer; padding-right: 38px; color: #9aaec4; }
.f-select.has-value, .f-select:not([value=""]) { color: #020A12; }

/* FOCUS: darker blue bg, WHITE text */
.f-input:focus, .f-select:focus, .f-textarea:focus {
  background: #0F57A4;
  color: #fff;
  outline: none;
}
.f-input:focus::placeholder, .f-textarea:focus::placeholder { color: rgba(255,255,255,0.6); }

.f-textarea { resize: none; height: 140px; }
.f-textarea.short { height: 100px; }

/* Select wrapper */
.f-sw { position: relative; width: 100%; }
.f-sw .arr { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #9aaec4; display: flex; }

/* Date wrapper */
.f-dw { position: relative; }
.f-dw .cal { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #0F57A4; display: flex; z-index: 1; }
.f-dw .f-input { padding-left: 44px; }

/* Layout helpers */
.f-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.f-full { margin-bottom: 10px; }
.f-group-label { font-size: 13px; color: #666; margin-bottom: 10px; margin-top: 4px; }

/* CUSTOM CHECKBOX */
.f-check-group, .f-radio-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.f-ci { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #020A12; cursor: pointer; user-select: none; }
.f-ci input[type="checkbox"] { display: none; }
.cb {
  width: 20px; height: 20px; border: 1.5px solid #a8c4e0; border-radius: 4px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .15s;
}
.f-ci input[type="checkbox"]:checked + .cb { background: #0F57A4; border-color: #0F57A4; }
.f-ci input[type="checkbox"]:checked + .cb::after {
  content: ''; display: block; width: 5px; height: 9px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

/* CUSTOM RADIO */
.f-ri { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #020A12; cursor: pointer; user-select: none; }
.f-ri input[type="radio"] { display: none; }
.rb { width: 20px; height: 20px; border: 1.5px solid #a8c4e0; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .15s; }
.f-ri input[type="radio"]:checked + .rb { border-color: #0F57A4; }
.f-ri input[type="radio"]:checked + .rb::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #0F57A4; }

/* SEND BUTTON */
.btn-send {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px 24px; background: #0F57A4; color: #fff;
  border: none; border-radius: 6px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit; margin-top: 20px; transition: background .2s;
}
.btn-send:hover { background: #0d4a8e; }

/* CONTACT DETAILS */
.contact-details { padding-top: 52px; }
.detail-list { display: flex; flex-direction: column; gap: 28px; }
.detail-item { display: flex; align-items: flex-start; gap: 16px; }
.d-icon {
  width: 44px; height: 44px; background: #F7F7F7; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #020A12;
}
.d-icon svg { width: 20px; height: 20px; }
.d-text { font-size: 15px; color: #020A12; line-height: 1.6; padding-top: 9px; }

/* MAP */
.map-wrap { border-radius: 10px; overflow: hidden; width: 100%; height: 300px; background: #b8cfc9; }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* MOBILE */
@media (max-width: 1100px) {
  .contact-grid { grid-template-columns: 1fr 320px; gap: 48px; }
}
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-details { padding-top: 0; }
}
@media (max-width: 768px) {
  .contact-hero { padding: 36px 20px; min-height: 200px; }
  .contact-hero h1 { font-size: 28px; }
  .contact-hero p  { font-size: 14px; }
  .contact-body { padding: 20px 0 40px; }
  .contact-card { padding: 24px 20px; }
  .locate-card  { padding: 24px 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .f-row { grid-template-columns: 1fr; }
  .map-wrap { height: 240px; }
  .form-tabs { flex-direction: column; }
}