/* =========================================================
   Contact Page - Hero / Contact / CTA
========================================================= */

body.reham-contact-page .reham-contact-main {
  background:
    radial-gradient(circle at 15% 12%, rgba(226, 223, 215, .28), transparent 34%),
    linear-gradient(180deg, #FBF9F6 0%, #F8F5F0 46%, #fff 100%);
}

/* ===== Hero ===== */

body.reham-contact-page .contact-page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 150px 0 82px !important;
  background:
    radial-gradient(circle at 16% 24%, rgba(232, 224, 212, .14), transparent 24%),
    radial-gradient(circle at 86% 70%, rgba(232, 224, 212, .10), transparent 24%),
    linear-gradient(135deg, #6B2138 0%, #5A1B30 48%, #4A1426 100%) !important;
}

body.reham-contact-page .contact-page-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(232, 224, 212, .10);
  border-radius: 34px;
  pointer-events: none;
  z-index: 0;
}

body.reham-contact-page .contact-page-hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  left: -150px;
  bottom: -170px;
  background: radial-gradient(circle, rgba(232, 224, 212, .10), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

body.reham-contact-page .contact-page-hero .container {
  position: relative;
  z-index: 2;
}

body.reham-contact-page .contact-page-hero .section-head {
  max-width: 820px;
  margin-bottom: 0 !important;
}

body.reham-contact-page .contact-page-hero .section-label,
body.reham-contact-page .contact-page-hero .section-title,
body.reham-contact-page .contact-page-hero .section-sub {
  color: var(--identity-beige, #E2DFD7) !important;
}

body.reham-contact-page .contact-page-hero .section-label::before,
body.reham-contact-page .contact-page-hero .section-label::after {
  background: rgba(226, 223, 215, .60) !important;
}

body.reham-contact-page .contact-page-hero .section-title {
  font-size: clamp(38px, 4.2vw, 64px) !important;
  line-height: 1.22 !important;
  margin-bottom: 18px !important;
}

body.reham-contact-page .contact-page-hero .section-sub {
  max-width: 760px;
  margin-inline: auto;
  color: rgba(232, 224, 212, .90) !important;
  line-height: 2 !important;
}

/* ===== Main Contact Section ===== */

body.reham-contact-page .contact-main-section {
  padding-top: 74px !important;
  padding-bottom: 92px !important;
}

.contact-layout {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 28px;
  align-items: stretch;
}

.contact-info-panel,
.contact-form-panel {
  border-radius: 34px;
  border: 1px solid rgba(107, 33, 56, .12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 245, 240, .96));
  box-shadow: 0 22px 60px rgba(107, 33, 56, .07);
  position: relative;
  overflow: hidden;
}

.contact-info-panel {
  padding: 34px 32px;
}

.contact-form-panel {
  padding: 38px 36px;
}

.contact-info-panel::before,
.contact-form-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(107, 33, 56, .07), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(209, 201, 190, .26), transparent 34%);
  pointer-events: none;
  z-index: 0;
}

.contact-info-panel > *,
.contact-form-panel > * {
  position: relative;
  z-index: 1;
}

.contact-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary, #6B2138);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
}

.contact-panel-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(107, 33, 56, .35);
}

.contact-info-panel h2,
.contact-form-panel h2 {
  font-size: clamp(28px, 2.5vw, 40px) !important;
  line-height: 1.35 !important;
  margin-bottom: 14px !important;
}

.contact-info-panel p,
.contact-form-panel p {
  color: rgba(86, 53, 65, .78) !important;
  font-size: 15px;
  line-height: 2;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-method-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-radius: 24px;
  border: 1px solid rgba(107, 33, 56, .10);
  background: rgba(255, 255, 255, .76);
  padding: 18px;
  transition: .25s ease;
}

.contact-method-card:hover {
  transform: translateY(-3px);
  border-color: rgba(107, 33, 56, .20);
  box-shadow: 0 16px 34px rgba(107, 33, 56, .08);
  background: #fff;
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(145deg, #6B2138, #8A3652);
  color: #E2DFD7;
  box-shadow:
    0 12px 28px rgba(107, 33, 56, .18),
    inset 0 1px 0 rgba(255, 255, 255, .16);
}

.contact-method-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.85;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-method-card strong {
  display: block;
  color: var(--primary, #6B2138);
  font-size: 15px;
  margin-bottom: 2px;
}

.contact-method-card span {
  display: block;
  color: rgba(86, 53, 65, .76);
  font-size: 13px;
  line-height: 1.8;
  word-break: break-word;
}

.contact-method-link {
  color: inherit;
  text-decoration: none;
}

.contact-method-link:hover span {
  color: var(--primary, #6B2138);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(107, 33, 56, .06);
  border: 1px solid rgba(107, 33, 56, .10);
  color: rgba(86, 53, 65, .78);
  font-size: 14px;
  line-height: 1.9;
}

/* ===== Form ===== */

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-field label {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary, #6B2138);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(107, 33, 56, .14);
  background: rgba(255, 255, 255, .86);
  color: rgba(86, 53, 65, .90);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: .25s ease;
}

.contact-field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.9;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(107, 33, 56, .42);
  box-shadow: 0 0 0 4px rgba(107, 33, 56, .08);
  background: #fff;
}

.contact-field.has-error input,
.contact-field.has-error select,
.contact-field.has-error textarea {
  border-color: rgba(150, 30, 54, .72) !important;
  background: rgba(255, 248, 248, .95) !important;
  box-shadow: 0 0 0 4px rgba(150, 30, 54, .08) !important;
}

.contact-error-text {
  display: none;
  color: #8A1730;
  font-size: 12.5px;
  line-height: 1.7;
  font-weight: 800;
}

.contact-field.has-error .contact-error-text {
  display: block;
}

.contact-submit-row {
  margin-top: 22px;
  display: flex;
  justify-content: flex-start;
}

.contact-submit-row .btn {
  min-width: 190px;
  cursor: pointer;
  font-family: inherit;
}

.contact-alert {
  padding: 16px 18px;
  border-radius: 18px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.8;
}

.contact-alert strong {
  display: block;
  margin-bottom: 6px;
}

.contact-alert-success {
  background: rgba(46, 125, 50, .08);
  border: 1px solid rgba(46, 125, 50, .18);
  color: #2e7d32;
}

.contact-alert-error {
  background: rgba(107, 33, 56, .08);
  border: 1px solid rgba(107, 33, 56, .18);
  color: var(--primary, #6B2138);
}

.contact-alert-error ul {
  margin: 0;
  padding-inline-start: 20px;
}

.contact-alert-error.is-hidden {
  display: none;
}

/* ===== CTA ===== */

body.reham-contact-page .contact-page-cta {
  padding-top: 0 !important;
  padding-bottom: 98px !important;
}

/* ===== Responsive ===== */

@media (max-width: 980px) {
  body.reham-contact-page .contact-page-hero {
    padding: 136px 0 72px !important;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  body.reham-contact-page .contact-main-section {
    padding-top: 62px !important;
    padding-bottom: 78px !important;
  }
}

@media (max-width: 640px) {
  body.reham-contact-page .contact-page-hero {
    padding: 122px 0 62px !important;
  }

  body.reham-contact-page .contact-page-hero::before {
    inset: 12px;
    border-radius: 26px;
  }

  body.reham-contact-page .contact-page-hero .section-title {
    font-size: clamp(34px, 9vw, 44px) !important;
  }

  body.reham-contact-page .contact-page-hero .section-sub {
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 28px 22px;
    border-radius: 28px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-submit-row .btn {
    width: 100%;
  }
}

.contact-method-link,
.contact-method-link:hover,
.contact-method-link:focus,
.contact-method-link:active {
  text-decoration: none !important;
}

.contact-method-link * {
  text-decoration: none !important;
}