/* Contact page — BE FORWARD marketplace theme */

body.bf-contact-page main.cnt {
  background: var(--bf-page);
  overflow-x: clip;
  font-family: var(--bf-font);
  color: var(--bf-black);
}

/* ── Page head ───────────────────────────────────────────────── */

.cnt-head {
  background: #fff;
  border-bottom: 1px solid var(--bf-line);
  padding: 20px 0 0;
}

.cnt-head__crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--bf-muted);
  margin-bottom: 12px;
}

.cnt-head__crumb a {
  color: var(--bf-muted) !important;
  text-decoration: none;
}

.cnt-head__crumb a:hover {
  color: var(--bf-orange) !important;
}

.cnt-head__crumb i {
  font-size: 9px;
  opacity: 0.45;
}

.cnt-head__crumb span {
  color: var(--bf-black);
  font-weight: 600;
}

.cnt-head__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.cnt-head__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--bf-bg-soft);
  border: 1px solid var(--bf-line);
  font-size: 12px;
  font-weight: 600;
  color: var(--bf-muted);
  margin-bottom: 14px;
}

.cnt-head__flag {
  width: 26px;
  height: 17px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--bf-line);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.cnt-head__flag::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 62% 50%, var(--bf-orange) 36%, transparent 37%);
}

.cnt-head__title {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--bf-black);
}

.cnt-head__title em {
  font-style: normal;
  color: var(--bf-orange);
}

.cnt-head__lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bf-muted);
  max-width: 52ch;
}

.cnt-head__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.cnt-head__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bf-grey);
}

.cnt-head__trust i {
  color: var(--bf-orange);
}

.cnt-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cnt-head__stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cnt-head__stat {
  padding: 10px 16px;
  background: var(--bf-bg-soft);
  border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius-sm);
  text-align: center;
  min-width: 88px;
}

.cnt-head__stat strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bf-black);
  line-height: 1.1;
}

.cnt-head__stat span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bf-muted);
}

/* ── Orange quick panel ──────────────────────────────────────── */

.cnt-quick-wrap {
  padding: 24px 0;
  background: var(--bf-page);
}

.cnt-quick-panel {
  background: linear-gradient(145deg, #0047FF 0%, #0038CC 55%, #002FA8 100%);
  padding: 22px 24px;
  border-radius: var(--bf-radius);
  box-shadow: var(--bf-shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cnt-quick-panel h2 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.cnt-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.cnt-quick-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 72px;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--bf-radius-sm);
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.15s ease, transform 0.15s ease;
}

a.cnt-quick-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.cnt-quick-item__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cnt-quick-item__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.cnt-quick-item__text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.cnt-quick-item__text em {
  display: block;
  font-style: normal;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  word-break: break-word;
}

/* ── Pillars ─────────────────────────────────────────────────── */

.cnt-pillars {
  padding: 0 0 24px;
  background: var(--bf-page);
}

.cnt-pillar-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius);
  box-shadow: var(--bf-shadow);
  overflow: hidden;
}

.cnt-pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-right: 1px solid var(--bf-line);
  transition: background 0.15s ease;
}

.cnt-pillar:last-child {
  border-right: none;
}

.cnt-pillar:hover {
  background: var(--bf-orange-soft);
}

.cnt-pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--bf-radius-sm);
  background: var(--bf-orange-soft);
  color: var(--bf-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.cnt-pillar-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cnt-pillar-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--bf-black);
}

.cnt-pillar-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--bf-muted);
}

/* ── Main layout ─────────────────────────────────────────────── */

.cnt-main {
  padding: 0 0 48px;
  background: var(--bf-page);
}

.cnt-flash {
  margin-bottom: 16px;
}

.cnt-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 24px;
  align-items: start;
}

.cnt-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cnt-channel {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius);
  box-shadow: var(--bf-shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cnt-channel:hover {
  border-color: #d1d5db;
  box-shadow: var(--bf-shadow-md);
}

.cnt-channel-wa {
  border-color: rgba(37, 211, 102, 0.25);
  background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
}

.cnt-channel-accent {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
  border-color: transparent;
  color: #fff;
}

.cnt-channel-accent:hover {
  border-color: transparent;
  box-shadow: var(--bf-shadow-md);
}

body.bf-contact-page .cnt-channel-accent h3 {
  color: #fff !important;
}

body.bf-contact-page .cnt-channel-accent p {
  color: rgba(255, 255, 255, 0.78) !important;
  opacity: 1;
}

.cnt-channel-accent .cnt-channel-icon {
  background: rgba(0, 71, 255, 0.2);
  color: var(--bf-orange);
}

body.bf-contact-page .cnt-channel-accent .cnt-channel-btn,
body.bf-contact-page .cnt-channel-accent .rj-btn--ghost {
  background: var(--bf-orange) !important;
  border-color: var(--bf-orange) !important;
  color: #fff !important;
}

body.bf-contact-page .cnt-channel-accent .cnt-channel-btn:hover,
body.bf-contact-page .cnt-channel-accent .rj-btn--ghost:hover {
  background: var(--bf-orange-d) !important;
  border-color: var(--bf-orange-d) !important;
  color: #fff !important;
}

.cnt-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--bf-radius-sm);
  background: var(--bf-orange-soft);
  color: var(--bf-orange);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.cnt-channel-wa .cnt-channel-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.cnt-channel:not(.cnt-channel-accent) h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bf-black);
}

.cnt-channel:not(.cnt-channel-accent) p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--bf-muted);
}

.cnt-channel-btn {
  width: 100%;
  justify-content: center;
}

.cnt-hours {
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius);
  box-shadow: var(--bf-shadow);
}

.cnt-hours-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bf-orange);
  margin-bottom: 10px;
}

.cnt-hours p {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bf-black);
}

.cnt-hours span {
  font-size: 12px;
  color: var(--bf-muted);
}

/* ── Contact form ────────────────────────────────────────────── */

.cnt-form-panel {
  background: #fff;
  border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius);
  padding: 28px 28px 24px;
  box-shadow: var(--bf-shadow-md);
}

.cnt-form-header {
  margin-bottom: 22px;
}

.cnt-form-header .rj-kicker {
  margin-bottom: 10px;
}

.cnt-form-header h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--bf-black);
}

.cnt-form-header p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bf-muted);
}

.cnt-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cnt-field {
  margin-bottom: 14px;
}

.cnt-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--bf-grey);
  margin-bottom: 6px;
}

.cnt-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius-sm);
  font-family: var(--bf-font);
  font-size: 14px;
  color: var(--bf-black);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cnt-input:focus {
  outline: none;
  border-color: var(--bf-orange);
  box-shadow: 0 0 0 3px var(--bf-orange-soft);
}

.cnt-input::placeholder {
  color: #9ca3af;
}

.cnt-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.cnt-textarea {
  min-height: 140px;
  resize: vertical;
}

.cnt-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.cnt-form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--bf-muted);
}

.cnt-form-note i {
  color: var(--bf-orange);
}

body.bf-contact-page .form-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #b42318;
}

/* ── Location ────────────────────────────────────────────────── */

.cnt-location {
  padding: 0 0 48px;
  background: var(--bf-page);
}

.cnt-location-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
  border-radius: var(--bf-radius);
  overflow: hidden;
  box-shadow: var(--bf-shadow-md);
}

.cnt-location-copy {
  padding: 36px 32px;
  color: #fff;
}

.cnt-location-copy .rj-kicker {
  color: #fdba74;
  margin-bottom: 10px;
}

.cnt-location-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #fff;
}

.cnt-location-copy > p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.cnt-location-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cnt-location-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.cnt-location-list i {
  color: var(--bf-orange);
  width: 16px;
  margin-top: 2px;
}

.cnt-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cnt-location .rj-btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff !important;
  background: transparent;
}

.cnt-location .rj-btn--solid {
  background: var(--bf-orange);
}

.cnt-location-map {
  background: rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 280px;
}

.cnt-map-placeholder {
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 24px;
  text-align: center;
}

.cnt-map-placeholder > i {
  font-size: 2.5rem;
  color: var(--bf-orange);
  margin-bottom: 8px;
}

.cnt-map-placeholder strong {
  font-size: 15px;
  color: #fff;
}

.cnt-map-placeholder span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 32ch;
}

.cnt-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--bf-radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
}

.cnt-map-link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--bf-orange);
}

/* ── FAQ ─────────────────────────────────────────────────────── */

.cnt-section {
  padding: 0 0 48px;
  background: var(--bf-page);
}

.cnt-section-head {
  margin-bottom: 24px;
}

.cnt-section-head-center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cnt-section-head .rj-kicker {
  margin-bottom: 10px;
}

.cnt-section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--bf-black);
}

.cnt-section-head p {
  margin: 0;
  font-size: 14px;
  color: var(--bf-muted);
}

.cnt-faq-grid {
  display: grid;
  gap: 10px;
  width: 100%;
}

.cnt-faq-item {
  background: #fff;
  border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius-sm);
  overflow: hidden;
}

.cnt-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bf-black);
  cursor: pointer;
  list-style: none;
}

.cnt-faq-q::-webkit-details-marker {
  display: none;
}

.cnt-faq-q i {
  color: var(--bf-orange);
  font-size: 12px;
  transition: transform 0.2s ease;
}

.cnt-faq-item[open] .cnt-faq-q i {
  transform: rotate(180deg);
}

.cnt-faq-a {
  padding: 0 18px 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--bf-muted);
}

/* ── CTA ─────────────────────────────────────────────────────── */

.cnt-cta {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  padding: 40px 0 48px;
}

.cnt-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: var(--bf-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cnt-cta__copy h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

.cnt-cta__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  max-width: 48ch;
  line-height: 1.6;
}

.cnt-cta__copy .rj-kicker {
  color: var(--bf-orange);
  margin-bottom: 10px;
}

.cnt-cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cnt-cta .rj-btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff !important;
  background: transparent;
}

@media (max-width: 1100px) {
  .cnt-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .cnt-head__row,
  .cnt-cta__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cnt-head__stats {
    width: 100%;
  }

  .cnt-head__stat {
    flex: 1;
    min-width: 0;
  }

  .cnt-layout {
    grid-template-columns: 1fr;
  }

  .cnt-location-card {
    grid-template-columns: 1fr;
  }

  .cnt-location-map {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cnt-pillar-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cnt-pillar:nth-child(2) {
    border-right: none;
  }

  .cnt-pillar:nth-child(odd) {
    border-right: 1px solid var(--bf-line);
  }

  .cnt-pillar:nth-child(3),
  .cnt-pillar:nth-child(4) {
    border-top: 1px solid var(--bf-line);
  }
}
