/* ==============================================================
   CONTACT SECTION - MODERN LIGHT EDITORIAL (CLEAN & FLAT)
   ============================================================== */

.contact-editorial {
  background: #f8fafc;
  color: #0f172a;
  padding: 50px var(--site-gutter, 24px);
  position: relative;
  border-top: 1px solid #e2e8f0;
}

.contact-editorial .site-wrap {
  position: relative;
  z-index: 1;
}

/* Success notification */
.brief-success {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 36px;
  color: #047857;
  font-size: 15px;
  line-height: 1.5;
}

.brief-success svg {
  flex-shrink: 0;
  color: #059669;
}

.brief-success strong {
  color: #065f46;
}

/* Two-column Layout */
.contact-editorial-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

/* Left Column */
.contact-left-col {
  position: relative;
  display: flex;
  flex-direction: column;
}

.contact-watermark {
  position: absolute;
  top: -15px;
  left: -15px;
  width: clamp(260px, 34vw, 440px);
  height: clamp(220px, 30vw, 370px);
  background-image: url('assets/knock-brand/k-watermark.png');
  background-image: url('/static/core/assets/knock-brand/k-watermark.webp');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.brief-header {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.contact-hubs-grid,
.contact-actions-row {
  position: relative;
  z-index: 1;
}

.brief-kicker {
  display: inline-block;
  background: #ea4d26;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin: 0 0 14px;
}

.brief-header h2 {
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin: 0 0 16px;
}

.brief-header h2 span {
  color: #ea4d26;
}

.brief-introduction {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 16.5px);
  line-height: 1.65;
  color: #475569;
  max-width: 520px;
}

/* Regional Hub Cards */
.contact-hubs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-hub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-hub-card:hover {
  border-color: #ea4d26;
  transform: translateY(-2px);
}

.contact-hub-email {
  grid-column: 1 / -1;
}

.hub-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(234, 77, 38, 0.1);
  border: 1px solid rgba(234, 77, 38, 0.25);
  color: #ea4d26;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-meta h4 {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #ea4d26;
  font-weight: 800;
  text-transform: uppercase;
}

.hub-meta p {
  margin: 0 0 4px;
  font-size: 13px;
  color: #64748b;
}

.hub-meta a {
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}

.hub-meta a:hover {
  color: #ea4d26;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hub-note {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

/* Action Row: WhatsApp & Socials */
.contact-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.contact-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #25d366;
  border: 1px solid #25d366;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-whatsapp-btn svg {
  color: #ffffff;
  transition: transform 0.2s ease;
}

.contact-whatsapp-btn:hover {
  background: #20bd5a;
  border-color: #20bd5a;
  color: #ffffff;
  transform: translateY(-2px);
}

.contact-whatsapp-btn:hover svg {
  transform: scale(1.08);
}

/* Social media icons */
.contact-social-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-social-btn:hover {
  background: #ea4d26;
  border-color: #ea4d26;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Right Column: Inquiry Form Card */
.contact-right-col {
  min-width: 0;
}

.contact-inquiry-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: clamp(26px, 3.2vw, 40px);
}

.inquiry-card-header {
  margin-bottom: 24px;
}

.inquiry-card-header h3 {
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.inquiry-card-header p {
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
}

/* Form Grid */
.inquiry-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.inquiry-field-full {
  grid-column: 1 / -1;
}

.inquiry-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.field-req {
  color: #ea4d26;
}

.field-opt {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 400;
}

.inquiry-field input,
.inquiry-field select,
.inquiry-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.inquiry-field input:focus,
.inquiry-field select:focus,
.inquiry-field textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #ea4d26;
}

.inquiry-field input::placeholder,
.inquiry-field textarea::placeholder {
  color: #94a3b8;
  font-size: 13px;
}

.inquiry-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea4d26' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 15px;
  padding-right: 38px;
}

.inquiry-field select option {
  background: #ffffff;
  color: #0f172a;
}

.inquiry-field textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

.inquiry-field [aria-invalid="true"] {
  border-color: #ef4444;
}

.inquiry-error {
  font-size: 12px;
  color: #ef4444;
  margin: 5px 0 0;
  line-height: 1.4;
}

/* Submit row */
.inquiry-submit-row {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inquiry-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  background: #ea4d26;
  border: 1px solid #ea4d26;
  border-radius: 12px;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.inquiry-submit-btn svg {
  transition: transform 0.2s ease;
}

.inquiry-submit-btn:hover {
  background: #d63d17;
  border-color: #d63d17;
  transform: translateY(-2px);
}

.inquiry-submit-btn:hover svg {
  transform: translateX(4px);
}

.inquiry-privacy-note {
  margin: 0;
  text-align: center;
  font-size: 11.5px;
  color: #64748b;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-editorial-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .brief-introduction {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .contact-editorial {
    padding: 28px 18px;
  }
  .contact-watermark {
    width: clamp(220px, 50vw, 320px);
    height: clamp(180px, 42vw, 260px);
    top: -10px;
    left: 0;
    opacity: 0.11;
  }
  .contact-editorial-layout {
    gap: 24px;
  }
  .brief-header h2 {
    font-size: clamp(28px, 7vw, 42px);
    line-height: 1.15;
    margin-bottom: 10px;
  }
  .brief-introduction {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .contact-hubs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }
  .contact-hub-card {
    padding: 16px 18px;
    border-radius: 12px;
  }
  .contact-actions-row {
    margin-bottom: 22px;
    gap: 14px;
  }
  .inquiry-form-card {
    padding: 22px 18px;
    border-radius: 14px;
  }
}

@media (max-width: 640px) {
  .contact-editorial {
    padding: 24px 16px;
  }
  .contact-hubs-grid,
  .inquiry-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .contact-whatsapp-btn {
    justify-content: center;
  }
  .contact-social-bar {
    justify-content: center;
  }
  .brief-header h2 {
    font-size: clamp(26px, 7.5vw, 36px);
  }
  .contact-hub-card {
    padding: 14px 16px;
  }
  .inquiry-form-card {
    padding: 20px 16px;
  }
}
