/**
 * Contact / consultation booking - scoped to .jprc-contact-page
 */

.jprc-contact-page {
  --jprc-navy: #0e3559;
  --jprc-ink: #153b46;
  --jprc-text: #355864;
  --jprc-teal: #1f6b69;
  --jprc-gold: #c39743;
  --jprc-green: #14903f;
  --jprc-cream: #f6f0e7;
  --jprc-soft: #fff8ed;
  --jprc-card: #ffffff;
  --jprc-line: #e3d6bc;
  --jprc-shadow: 0 14px 30px rgba(32, 42, 54, 0.08);
  color: var(--jprc-text);
  background: var(--jprc-cream);
  font-size: 16px;
  line-height: 1.6;
}

.jprc-contact-page * {
  box-sizing: border-box;
}

.jprc-contact-hero {
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--jprc-line);
  background:
    linear-gradient(120deg, rgba(255, 248, 237, 0.98) 0%, rgba(246, 240, 231, 0.94) 52%, rgba(232, 244, 242, 0.92) 100%);
}

.jprc-contact-hero__inner,
.jprc-contact-grid,
.jprc-contact-map__inner {
  width: min(1140px, calc(100% - 34px));
  margin: 0 auto;
}

.jprc-contact-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--jprc-teal);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.jprc-contact-hero h1 {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--jprc-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
}

.jprc-contact-hero__accent {
  color: var(--jprc-teal);
}

.jprc-contact-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--jprc-text);
  font-size: 17px;
  line-height: 1.75;
}

.jprc-contact-hero__chips,
.jprc-contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jprc-contact-hero__chips {
  margin-top: 18px;
}

.jprc-contact-hero__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d8c7a8;
  border-radius: 6px;
  background: #fffdf7;
  color: var(--jprc-navy);
  font-size: 14px;
  font-weight: 800;
}

.jprc-contact-hero__actions {
  margin-top: 22px;
}

.jprc-contact-hero__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.jprc-contact-hero__actions a:first-child {
  background: var(--jprc-navy);
}

.jprc-contact-hero__actions a:last-child {
  background: var(--jprc-green);
}

.jprc-contact-hero__actions i {
  margin-right: 10px;
}

.jprc-contact-wrap {
  padding: 54px 0;
  background: var(--jprc-cream);
}

.jprc-contact-grid {
  display: grid;
  grid-template-columns: minmax(270px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.jprc-contact-aside {
  display: grid;
  gap: 18px;
}

.jprc-contact-card,
.jprc-contact-form-shell,
.jprc-contact-map__frame {
  border: 1px solid var(--jprc-line);
  border-radius: 8px;
  background: var(--jprc-card);
  box-shadow: var(--jprc-shadow);
}

.jprc-contact-card {
  padding: 22px;
}

.jprc-contact-card h2,
.jprc-contact-form-shell .jprc-form-head h2,
.jprc-contact-map__head h2 {
  margin: 0;
  color: var(--jprc-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.16;
}

.jprc-contact-card h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.jprc-contact-card__item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(227, 214, 188, 0.9);
}

.jprc-contact-card__item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.jprc-contact-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--jprc-navy), var(--jprc-teal));
  color: #fff;
  font-size: 17px;
}

.jprc-contact-card__icon i {
  color: #fff;
}

.jprc-contact-card__body {
  min-width: 0;
}

.jprc-contact-card__label {
  display: block;
  margin-bottom: 4px;
  color: var(--jprc-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.jprc-contact-card__body span,
.jprc-contact-card__body a,
.jprc-contact-card__body p {
  font-size: 15px;
  line-height: 1.65;
}

.jprc-contact-card__body a {
  color: var(--jprc-navy);
  font-weight: 800;
  text-decoration: none;
  word-break: break-word;
}

.jprc-contact-card__body a:hover,
.jprc-contact-card__body a:focus {
  color: var(--jprc-teal);
  text-decoration: underline;
}

.jprc-contact-card__note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(195, 151, 67, 0.25);
  border-radius: 6px;
  background: var(--jprc-soft);
  color: var(--jprc-text);
}

.jprc-contact-form-shell {
  padding: 28px;
}

.jprc-contact-form-shell .jprc-form-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--jprc-line);
}

.jprc-contact-form-shell .jprc-form-head h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

.jprc-contact-form-shell .jprc-form-head p {
  margin: 0;
  color: var(--jprc-text);
  font-size: 16px;
  line-height: 1.75;
}

#responsesMsg {
  margin-bottom: 16px;
}

#responsesMsg h6 {
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 15px !important;
  font-weight: 700;
}

.jprc-contact-form .jprc-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.jprc-contact-form .jprc-field-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jprc-contact-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--jprc-ink);
  font-size: 14px;
  font-weight: 800;
}

.jprc-contact-form .jprc-optional {
  color: var(--jprc-text);
  font-weight: 600;
}

.jprc-contact-form .form-control,
.jprc-contact-form select.form-control {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d8c7a8;
  border-radius: 6px;
  background: #fffdf7;
  color: var(--jprc-ink);
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jprc-contact-form .form-control:focus,
.jprc-contact-form select.form-control:focus {
  border-color: var(--jprc-teal);
  box-shadow: 0 0 0 3px rgba(31, 107, 105, 0.14);
  outline: none;
}

.jprc-contact-form input[type="file"].form-control {
  min-height: auto;
  padding: 10px 12px;
}

.jprc-contact-form .jprc-form-actions {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--jprc-line);
}

.jprc-btn-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 4px;
  background: var(--jprc-green);
  color: #fff !important;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(20, 144, 63, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.jprc-btn-pay:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(20, 144, 63, 0.26);
}

.jprc-btn-pay:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.jprc-contact-map {
  padding: 0 0 56px;
  background: var(--jprc-cream);
}

.jprc-contact-map__head {
  margin-bottom: 16px;
  text-align: center;
}

.jprc-contact-map__head h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

.jprc-contact-map__head p {
  margin: 0 auto;
  max-width: 680px;
  color: var(--jprc-text);
  font-size: 16px;
}

.jprc-contact-map__frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  max-height: 480px;
  background: #e8dfce;
}

.jprc-contact-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 991px) {
  .jprc-contact-hero {
    padding: 44px 0 38px;
  }

  .jprc-contact-hero h1 {
    font-size: 34px;
  }

  .jprc-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .jprc-contact-hero__inner,
  .jprc-contact-grid,
  .jprc-contact-map__inner {
    width: min(100% - 24px, 1140px);
  }

  .jprc-contact-hero h1 {
    font-size: 29px;
  }

  .jprc-contact-hero p,
  .jprc-contact-form-shell .jprc-form-head p {
    font-size: 15px;
  }

  .jprc-contact-hero__actions,
  .jprc-contact-hero__chips {
    display: grid;
  }

  .jprc-contact-hero__actions a {
    width: 100%;
  }

  .jprc-contact-wrap {
    padding: 38px 0;
  }

  .jprc-contact-card,
  .jprc-contact-form-shell {
    padding: 20px 16px;
  }

  .jprc-contact-card__item {
    grid-template-columns: 38px 1fr;
  }

  .jprc-contact-card__icon {
    width: 38px;
    height: 38px;
  }

  .jprc-contact-form .jprc-field-grid--2 {
    grid-template-columns: 1fr;
  }

  .jprc-contact-form-shell .jprc-form-head h2,
  .jprc-contact-map__head h2 {
    font-size: 24px;
  }

  .jprc-contact-map {
    padding-bottom: 42px;
  }

  .jprc-contact-map__frame {
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }
}
