/* Premium layouts: Insurance, Medical Records hub, Medical record request */

.pr-hero-insurance.page-hero--photo::before {
  background-image: url("../_next/myra-and-doc-consult.webp");
}

.pr-hero-records.page-hero--photo::before {
  background-image: url("../_next/office-indoor.webp");
}

.pr-hero-mrr.page-hero--photo::before {
  background-image: url("../_next/ppsi-dr-team.webp");
}

.pr-section {
  padding: 72px 0 80px;
  background: var(--bg-soft, #f5f8fc);
}

.pr-section--alt {
  background: #fff;
}

.pr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

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

.pr-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Sidebar hero image (matches appointment page visual treatment) */
.pr-sidebar-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 76, 129, 0.16), 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: #e2e8f0;
}

.pr-sidebar-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  vertical-align: middle;
}

.pr-sidebar-visual-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  color: #fff;
  background: linear-gradient(0deg, rgba(13, 46, 78, 0.92) 0%, transparent 100%);
  text-align: center;
}

@media (min-width: 901px) {
  .pr-sidebar-visual-caption {
    font-size: 14px;
    padding: 18px 20px;
  }
}

.pr-side-card {
  background: #fff;
  border: 1px solid rgba(15, 76, 129, 0.1);
  border-radius: var(--radius-lg, 16px);
  padding: 22px 22px 20px;
  box-shadow: 0 8px 32px rgba(15, 76, 129, 0.06);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pr-side-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.12), rgba(15, 76, 129, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #0f4c81);
}

.pr-side-card-icon .icon {
  width: 22px;
  height: 22px;
}

.pr-side-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text, #1a2b3d);
  letter-spacing: -0.02em;
}

.pr-side-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft, #5a6b7c);
}

.pr-side-card--plans {
  background:
    radial-gradient(circle at top right, rgba(15, 76, 129, 0.1), transparent 42%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.pr-hero-plan-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  max-width: 760px;
}

.pr-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 600px) {
  .pr-plan-grid {
    grid-template-columns: 1fr;
  }
}

.pr-plan-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 76, 129, 0.14);
  background: rgba(15, 76, 129, 0.06);
  color: var(--text, #1a2b3d);
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}

.pr-hero-plan-strip .pr-plan-pill {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
}

.pr-form-shell {
  background: #fff;
  border: 1px solid rgba(15, 76, 129, 0.1);
  border-radius: var(--radius-lg, 16px);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 12px 48px rgba(15, 76, 129, 0.08);
}

.pr-form-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(15, 76, 129, 0.1);
}

.pr-form-head h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
  color: var(--text, #1a2b3d);
}

.pr-form-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft, #5a6b7c);
}

.pr-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

@media (max-width: 600px) {
  .pr-form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.pr-form-shell .ppsi-form label {
  margin-top: 4px;
}

.pr-form-shell .ppsi-form input:last-of-type,
.pr-form-shell .ppsi-form textarea:last-of-type {
  margin-bottom: 0;
}

.pr-form-shell .ppsi-form button[type="submit"] {
  width: 100%;
  margin-top: 20px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
}

.pr-form-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-soft, #5a6b7c);
}

.pr-form-subnote {
  margin: -2px 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-soft, #5a6b7c);
}

.pr-photo-band {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  overflow: hidden;
  background: #0a355a;
}

.pr-photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

.pr-photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 40, 70, 0.92) 0%, rgba(15, 76, 129, 0.75) 55%, rgba(10, 53, 90, 0.88) 100%);
}

.pr-photo-band--office::before {
  background-image: url("../assets/PPSI-Edison-Office-Indoor.png");
}

.pr-photo-band--team::before {
  background-image: url("../_next/group-of-doctors.webp");
}

.pr-photo-band-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
}

.pr-photo-band-inner h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.pr-photo-band-inner p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.pr-photo-band-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.pr-photo-band .btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.pr-photo-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.pr-form-shell select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line, #e4e7ec);
  border-radius: var(--radius-xs, 8px);
  font-size: 16px;
  font-family: inherit;
  margin-bottom: 16px;
  background: #fff;
  color: var(--text, #101828);
}

.pr-form-shell select:focus {
  outline: none;
  border-color: var(--primary, #0f4c81);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.pr-steps {
  counter-reset: prstep;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pr-steps li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft, #5a6b7c);
}

.pr-steps li:last-child {
  margin-bottom: 0;
}

.pr-steps li::before {
  counter-increment: prstep;
  content: counter(prstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary, #0f4c81);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .pr-feature-row {
    grid-template-columns: 1fr;
  }
}

.pr-feature-tile {
  background: #fff;
  border: 1px solid rgba(15, 76, 129, 0.08);
  border-radius: var(--radius-lg, 16px);
  padding: 24px 22px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(15, 76, 129, 0.05);
}

.pr-feature-tile h3 {
  font-family: "Sora", sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text, #1a2b3d);
}

.pr-feature-tile p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft, #5a6b7c);
}

.form-status {
  padding: 14px 16px;
  border-radius: var(--radius-xs, 8px);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.5;
}

.form-status--success {
  background: rgba(34, 160, 107, 0.12);
  border: 1px solid rgba(34, 160, 107, 0.35);
  color: #1a5c3d;
}

.form-status--error {
  background: rgba(200, 60, 60, 0.1);
  border: 1px solid rgba(200, 60, 60, 0.35);
  color: #8b2a2a;
}

.pr-cta-panel {
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.06) 0%, rgba(15, 76, 129, 0.02) 100%);
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: var(--radius-lg, 16px);
  padding: 28px 26px;
  margin-top: 8px;
}

.pr-cta-panel h3 {
  font-family: "Sora", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text, #1a2b3d);
}

.pr-cta-panel p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft, #5a6b7c);
}

.pr-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-soft, #5a6b7c);
}

.pr-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pr-trust-strip .icon {
  color: var(--primary, #0f4c81);
  flex-shrink: 0;
}

/* —— Internal guideline modal (insurance page — HR / stakeholder reference only) —— */
.pr-internal-ref-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 0 0 20px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.06), rgba(15, 76, 129, 0.02));
  border: 1px dashed rgba(15, 76, 129, 0.22);
  border-radius: 12px;
}

.pr-internal-ref-trigger {
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary, #0f4c81);
  background: #fff;
  border: 1px solid rgba(15, 76, 129, 0.25);
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pr-internal-ref-trigger:hover {
  background: rgba(15, 76, 129, 0.06);
  border-color: rgba(15, 76, 129, 0.4);
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.1);
}

.pr-internal-ref-trigger:focus-visible {
  outline: 2px solid var(--primary, #0f4c81);
  outline-offset: 2px;
}

.pr-internal-ref-hint {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-soft, #5a6b7c);
  max-width: 420px;
}

.pr-internal-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 28px);
  box-sizing: border-box;
}

.pr-internal-modal.is-open {
  display: flex;
}

.pr-internal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 35, 60, 0.55);
  backdrop-filter: blur(3px);
}

.pr-internal-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 28px 90px rgba(10, 35, 60, 0.28), 0 12px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 76, 129, 0.12);
  overflow: hidden;
}

.pr-internal-modal__head {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(15, 76, 129, 0.1);
  background: linear-gradient(180deg, #fbfdff 0%, #fff 100%);
}

.pr-internal-modal__head-text h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.03em;
  color: var(--text, #1a2b3d);
  line-height: 1.25;
}

.pr-internal-modal__head-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft, #5a6b7c);
}

.pr-internal-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary, #0f4c81);
  cursor: pointer;
  transition: background 0.2s ease;
}

.pr-internal-modal__close:hover {
  background: rgba(15, 76, 129, 0.14);
}

.pr-internal-modal__close:focus-visible {
  outline: 2px solid var(--primary, #0f4c81);
  outline-offset: 2px;
}

.pr-internal-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px 26px;
  -webkit-overflow-scrolling: touch;
}

.pr-internal-modal__banner {
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(180, 120, 30, 0.12), rgba(180, 120, 30, 0.05));
  border: 1px solid rgba(180, 120, 30, 0.28);
  font-size: 13px;
  line-height: 1.55;
  color: #5c4a22;
  margin-bottom: 22px;
}

.pr-internal-modal__banner strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: #7a5f18;
}

.pr-internal-modal__section {
  margin-bottom: 22px;
}

.pr-internal-modal__section:last-child {
  margin-bottom: 0;
}

.pr-internal-modal__section h3 {
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--primary, #0f4c81);
  letter-spacing: -0.02em;
}

.pr-internal-modal__section p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text, #1a2b3d);
}

.pr-internal-modal__section p:last-child {
  margin-bottom: 0;
}

.pr-internal-modal__list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text, #1a2b3d);
}

.pr-internal-modal__list li {
  margin-bottom: 8px;
}

.pr-internal-modal__list li:last-child {
  margin-bottom: 0;
}

.pr-internal-modal__list--ok {
  list-style: none;
  padding-left: 0;
}

.pr-internal-modal__list--ok li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.pr-internal-modal__list--ok li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-weight: 800;
  color: #1d7a4a;
  font-size: 15px;
}

.pr-internal-modal__warn {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(180, 60, 60, 0.06);
  border: 1px solid rgba(180, 60, 60, 0.22);
}

.pr-internal-modal__warn h3 {
  color: #8b2a2a;
  margin-bottom: 8px;
}

.pr-internal-modal__warn ul {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text, #1a2b3d);
}

.pr-internal-modal__foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 76, 129, 0.1);
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-soft, #5a6b7c);
}
