.contact-page-section {
  background: #f0f2f5;
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
}

.contact-panel {
  position: relative;
  width: 100%;
  max-width: 920px;
}

.contact-white-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  padding: 2.5rem 2.5rem 2.5rem 20rem;
  margin-left: 2.5rem;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.contact-red-panel {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  min-height: 500px;
  background: #ef3b45;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(239, 59, 69, 0.32);
  padding: 2.5rem 1.75rem;
  z-index: 2;
}

.contact-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.contact-eyebrow-light {
  color: rgba(255, 255, 255, 0.75);
}

.contact-main-title {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 0.85rem;
}

.contact-main-title-light {
  color: #fff;
}

.contact-main-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.contact-main-desc-light {
  color: rgba(255, 255, 255, 0.88);
}

.contact-quick-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-quick-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.contact-quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.contact-quick-icon-light {
  background: #fff;
  color: #ef3b45;
}

.contact-quick-label {
  display: block;
  font-size: 0.76rem;
  margin-bottom: 0.12rem;
}

.contact-quick-label-light {
  color: rgba(255, 255, 255, 0.72);
}

.contact-quick-value {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.contact-quick-value-light {
  color: #fff;
}

.contact-quick-value-light:hover {
  color: rgba(255, 255, 255, 0.85);
}

.contact-form-card {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  padding: 1.5rem 1.5rem 1.65rem;
}

.contact-form-alert {
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.contact-form-alert-success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.contact-form-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-field-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
}

.contact-input {
  width: 100%;
  border: none;
  border-radius: 10px;
  background: #f3f4f6;
  min-height: 46px;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  color: #111827;
  box-shadow: none !important;
  outline: none;
}

.contact-input::placeholder {
  color: #c4cad2;
}

.contact-input:focus {
  background: #eef0f3;
  box-shadow: inset 0 0 0 1px rgba(227, 30, 36, 0.3) !important;
}

.contact-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' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.25rem;
}

.contact-textarea {
  min-height: 100px;
  resize: vertical;
  padding-top: 0.75rem;
}

.contact-solution-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
  margin-top: 0.25rem;
  border: none;
  border-radius: 999px;
  background: var(--brand-red, #e31e24);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 1.35rem 0.45rem 0.45rem;
  transition: background 0.2s ease;
}

.contact-solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-red, #e31e24);
  font-size: 0.95rem;
}

.contact-solution-btn:hover {
  background: #c9191f;
  color: #fff;
}

.contact-map-section {
  background: #f0f2f5;
  padding: 0;
  width: 100%;
}

.contact-map-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: #fff;
}

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

@media (max-width: 991.98px) {
  .contact-page-section {
    min-height: 0;
    padding: 2.5rem 1rem;
  }

  .contact-panel {
    max-width: 560px;
    display: flex;
    flex-direction: column;
  }

  .contact-white-panel {
    margin-left: 0;
    padding: 1.75rem 1.25rem 2rem;
    min-height: 0;
    border-radius: 0 0 16px 16px;
  }

  .contact-red-panel {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    min-height: 0;
    border-radius: 16px 16px 0 0;
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .contact-panel {
    max-width: 860px;
  }

  .contact-red-panel {
    width: 300px;
    min-height: 460px;
    padding: 2rem 1.35rem;
  }

  .contact-white-panel {
    padding: 2rem 2rem 2rem 17.5rem;
    margin-left: 1.75rem;
    min-height: 440px;
  }

  .contact-main-title {
    font-size: 1.35rem;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .contact-panel {
    max-width: 960px;
  }

  .contact-white-panel {
    padding: 2.5rem 2.5rem 2.5rem 19rem;
  }
}

@media (min-width: 1400px) {
  .contact-panel {
    max-width: 980px;
  }
}

@media (max-width: 575.98px) {
  .contact-main-title {
    font-size: 1.35rem;
  }

  .contact-map-wrap iframe {
    height: 320px;
  }
}
