/* Contact page — form + sidebar (design mockup) */
.contact-page-main {
  background: #f0f0ee;
  padding-bottom: 0px;
}

.contact-page-main .container-row {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Quick helpline strip */
.contact-helpline-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0 32px;
  border-bottom: 1px solid #e5e5e2;
}

.contact-helpline-strip .flex {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.contact-helpline-strip .helpline-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-helpline-strip .helpline-icon img {
  width: 56px;
  height: 56px;
  opacity: 0.85;
}

.contact-helpline-strip .helpline-content h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: #1D2530;
}

.contact-helpline-strip .helpline-content p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 20px;
  color: rgba(29, 37, 48, 0.8);

}

.contact-layout-section {
  padding: var(--spacing-2xl)
}
/* Two-column layout */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 28px;
  padding: 40px 0 0;
  align-items: start;
}

/* —— Form card —— */
.contact-form-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(45, 55, 72, 0.08);
  padding: 32px 36px 36px;
}

.contact-inquiry-form .contact-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.contact-form-card__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-form-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: #3d5aa8;
}

.contact-form-card__icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

.contact-form-card__titles h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: #1D2530;
  letter-spacing: -0.6px;
}

.contact-form-card__titles p {
  margin: 0;
  font-size: 16px;
  line-height: 28px;
  color: #67717E;
}

.contact-inquiry-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-inquiry-form .form-row--full {
  grid-template-columns: 1fr;
}

.contact-inquiry-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-inquiry-form .form-field label {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #1D2530;
}

.contact-inquiry-form .form-field .req {
  color: #FF4500;
  font-weight: 700;
}

.contact-inquiry-form input[type="text"],
.contact-inquiry-form input[type="email"],
.contact-inquiry-form input[type="tel"],
.contact-inquiry-form select,
.contact-inquiry-form textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 16px;
  line-height: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #F9FAFB;
  color: #111827;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.contact-inquiry-form input:focus,
.contact-inquiry-form select:focus,
.contact-inquiry-form textarea:focus {
  outline: none;
  border-color: #3d5aa8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(61, 90, 168, 0.12);
}

.contact-inquiry-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.contact-inquiry-form textarea {
  min-height: 190px;
  resize: vertical;
}

.contact-form-card__notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 24px 0 28px;
  padding: 14px 16px;
  background: #fefce8;
  border: 1px solid #fde047;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #713f12;
}

.contact-form-card__notice svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #ca8a04;
  margin-top: 2px;
}

.contact-inquiry-form .form-actions {
  margin: 0;
}

.contact-inquiry-form .form-row .form-item {
  margin-top: 0;
  margin-bottom: 0;
}

.contact-inquiry-form .form-item label .form-required {
  color: #ff4500;
}

.contact-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #3d5aa8;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, transform 0.15s ease;
}

.contact-btn-submit:hover {
  background: #324a8f;
}

.contact-btn-submit:active {
  transform: translateY(1px);
}

.contact-btn-submit svg {
  width: 18px;
  height: 18px;
}

/* Webform inside card */
.contact-form-card .webform-submission-form {
  margin: 0;
}

.contact-form-card .webform-submission-form .form-item {
  margin-bottom: 20px;
}

/* —— Sidebar —— */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-sidebar-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(45, 55, 72, 0.08);
  padding: 22px 22px 24px;
}

.contact-sidebar-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.contact-sidebar-card__head svg,
.contact-sidebar-card__head img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.contact-sidebar-card__head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 32px;
  font-weight: 600;
  color: #1D2530;
  letter-spacing: -0.6px;
}

.contact-pio__name {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: #1D2530;
}

.contact-pio__role {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 20px;
  color: #67717E;
}

.contact-pio__line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 20px;
  color: #67717E;
}

.contact-pio__line:last-child {
  margin-bottom: 0;
}

.contact-pio__line svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #67717E;
  margin-top: 2px;
}

.contact-pio__line a {
  color: #67717E;
  text-decoration: none;
  word-break: break-all;
}

.contact-pio__line a:hover {
  text-decoration: underline;
}

.contact-directory__row {
  padding: 14px 0;
  border-top: 1px solid #f3f4f6;
}

.contact-directory__row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.contact-directory__row h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.contact-directory__row p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-directory__row a {
  color: #3d5aa8;
  text-decoration: none;
}

.contact-directory__row a:hover {
  text-decoration: underline;
}

/* Complaint CTA */
.contact-sidebar-cta {
  background: #3d5aa8;
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 0 4px 24px rgba(61, 90, 168, 0.35);
}

.contact-sidebar-cta__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.contact-sidebar-cta__head svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.contact-sidebar-cta__head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.contact-sidebar-cta p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.contact-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  text-decoration: none;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-helpline-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-page-content-region {
  margin-top: 48px;
  padding-bottom: 24px;
  max-width: 100%;
}

.contact-sidebar-cta__head img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

@media (max-width: 640px) {
  .contact-form-card {
    padding: 24px 20px 28px;
  }

  .contact-inquiry-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-helpline-strip {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }
}
