/* ======================================================
   RMWL Financial & Insurance Information Page
   File suggestion: /wp-content/themes/healthcoach-child/css/rmw-financial-insurance-information.css

   Designed for WPBakery Raw HTML content.
   ====================================================== */

:root {
  --rmwfinance-purple: #693189;
  --rmwfinance-gold: #b09b6e;
  --rmwfinance-yellow: #f9d905;
  --rmwfinance-black: #000000;
  --rmwfinance-white: #ffffff;
  --rmwfinance-text: #111111;
  --rmwfinance-muted: #46433b;
  --rmwfinance-soft-purple: #f4eef8;
  --rmwfinance-soft-purple-2: #faf6fc;
  --rmwfinance-soft-gold: #fffdef;
  --rmwfinance-border: rgba(105, 49, 137, 0.16);
  --rmwfinance-gold-border: rgba(176, 155, 110, 0.28);
  --rmwfinance-shadow: 0 16px 38px rgba(34, 16, 45, 0.10);
  --rmwfinance-soft-shadow: 0 10px 26px rgba(34, 16, 45, 0.06);
  --rmwfinance-radius-lg: 28px;
  --rmwfinance-radius-md: 22px;
}

.rmwfinance-page {
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--rmwfinance-text);
  background: #ffffff;
  overflow: hidden;
}

.rmwfinance-page *,
.rmwfinance-page *::before,
.rmwfinance-page *::after {
  box-sizing: border-box;
}

.rmwfinance-container {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
}

.rmwfinance-page h1,
.rmwfinance-page h2,
.rmwfinance-page h3 {
  margin-top: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--rmwfinance-purple);
  font-weight: 600;
}

.rmwfinance-page h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.rmwfinance-page h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.rmwfinance-page h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  margin-bottom: 10px;
}

.rmwfinance-page p {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.rmwfinance-kicker {
  margin: 0 0 10px !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rmwfinance-gold);
}

.rmwfinance-lead {
  font-size: 20px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  color: #111111;
}

.rmwfinance-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
}

.rmwfinance-button-row-center {
  justify-content: center;
}

.rmwfinance-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.1;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rmwfinance-btn:hover,
.rmwfinance-btn:focus {
  transform: translateY(-1px);
}

.rmwfinance-btn:focus,
.rmwfinance-topic-card:focus,
.rmwfinance-faq-item summary:focus {
  outline: 3px solid var(--rmwfinance-yellow);
  outline-offset: 3px;
}

.rmwfinance-btn-purple {
  background: linear-gradient(135deg, #8b2fb2 0%, #4f146a 100%);
  color: #ffffff !important;
  border: 2px solid transparent;
  box-shadow: 0 8px 20px rgba(105, 49, 137, 0.18);
}

.rmwfinance-btn-gold {
  background: linear-gradient(135deg, #c8a85a 0%, #a7843d 100%);
  color: #ffffff !important;
  border: 2px solid transparent;
  box-shadow: 0 8px 20px rgba(105, 49, 137, 0.16);
}

.rmwfinance-btn-outline {
  background: #ffffff;
  color: var(--rmwfinance-purple) !important;
  border: 2px solid var(--rmwfinance-purple);
}

.rmwfinance-btn-outline:hover,
.rmwfinance-btn-outline:focus {
  background: var(--rmwfinance-purple);
  color: #ffffff !important;
}

.rmwfinance-btn-light {
  background: #ffffff;
  color: var(--rmwfinance-purple) !important;
  border: 2px solid #ffffff;
}

.rmwfinance-btn-outline-light {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.78);
}

.rmwfinance-btn-outline-light:hover,
.rmwfinance-btn-outline-light:focus {
  background: #ffffff;
  color: var(--rmwfinance-purple) !important;
}

/* Hero */

.rmwfinance-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(58px, 7vw, 96px) 0 clamp(42px, 5vw, 68px);
  background:
    radial-gradient(circle at 78% 24%, rgba(105, 49, 137, 0.13), transparent 34%),
    radial-gradient(circle at 10% 86%, rgba(176, 155, 110, 0.14), transparent 28%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 42%, #f4eef8 100%);
}

.rmwfinance-hero::before {
  content: "";
  position: absolute;
  right: clamp(-160px, -8vw, -80px);
  top: 50%;
  width: clamp(420px, 48vw, 760px);
  height: clamp(420px, 48vw, 760px);
  transform: translateY(-50%);
  background-image: url("/wp-content/themes/healthcoach-child/images/flower-purple.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.085;
  pointer-events: none;
}

.rmwfinance-hero .rmwfinance-container {
  position: relative;
  z-index: 1;
}

.rmwfinance-hero-inner {
  max-width: 940px;
}

.rmwfinance-hero-inner .rmwfinance-lead {
  max-width: 850px;
}

/* Topic cards */

.rmwfinance-topic-strip {
  position: relative;
  z-index: 2;
  margin-top: -18px;
}

.rmwfinance-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rmwfinance-topic-card {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 132px;
  padding: 24px 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(105, 49, 137, 0.13);
  box-shadow: 0 10px 26px rgba(34, 16, 45, 0.06);
  color: #111111 !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rmwfinance-topic-card:hover,
.rmwfinance-topic-card:focus {
  transform: translateY(-3px);
  border-color: rgba(105, 49, 137, 0.34);
  box-shadow: 0 16px 34px rgba(34, 16, 45, 0.12);
}

.rmwfinance-topic-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--rmwfinance-purple);
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.rmwfinance-topic-card:nth-child(even) .rmwfinance-topic-icon {
  background: var(--rmwfinance-gold);
}

.rmwfinance-topic-card h2 {
  font-size: 18px;
  line-height: 1.15;
  margin-bottom: 0;
}

/* Sections + cards */

.rmwfinance-section {
  padding: clamp(34px, 4vw, 54px) 0;
}

.rmwfinance-soft-section {
  background:
    radial-gradient(circle at 86% 18%, rgba(105, 49, 137, 0.055), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbf8fd 100%);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.rmwfinance-section-heading {
  max-width: 860px;
  margin-bottom: 26px;
}

.rmwfinance-card-grid {
  display: grid;
  gap: 18px;
}

.rmwfinance-card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rmwfinance-card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rmwfinance-info-card,
.rmwfinance-note-card,
.rmwfinance-gold-card {
  border-radius: var(--rmwfinance-radius-md);
  border: 1px solid rgba(105, 49, 137, 0.13);
  background: #ffffff;
  box-shadow: var(--rmwfinance-soft-shadow);
}

.rmwfinance-info-card,
.rmwfinance-note-card {
  padding: clamp(24px, 3vw, 34px);
}

.rmwfinance-info-card p:last-child,
.rmwfinance-note-card p:last-child,
.rmwfinance-gold-card p:last-child {
  margin-bottom: 0;
}

.rmwfinance-split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--rmwfinance-radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(105, 49, 137, 0.13);
  box-shadow: var(--rmwfinance-soft-shadow);
}

.rmwfinance-note-card {
  background:
    radial-gradient(circle at 88% 10%, rgba(176, 155, 110, 0.18), transparent 34%),
    var(--rmwfinance-soft-gold);
  border-color: var(--rmwfinance-gold-border);
}

.rmwfinance-gold-card {
  margin-top: 18px;
  padding: clamp(24px, 3vw, 34px);
  background:
    radial-gradient(circle at 92% 12%, rgba(176, 155, 110, 0.15), transparent 30%),
    var(--rmwfinance-soft-gold);
  border-color: var(--rmwfinance-gold-border);
}

.rmwfinance-check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.rmwfinance-check-list li {
  position: relative;
  padding-left: 30px !important;
  list-style: none !important;
  font-size: 16px;
  line-height: 1.5;
}

.rmwfinance-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rmwfinance-purple);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
}

/* FAQs */

.rmwfinance-faq-section {
  background:
    radial-gradient(circle at 86% 18%, rgba(105, 49, 137, 0.055), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbf8fd 100%);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.rmwfinance-accordion-list {
  display: grid;
  gap: 14px;
}

.rmwfinance-faq-item {
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(105, 49, 137, 0.13);
  box-shadow: 0 10px 24px rgba(34, 16, 45, 0.055);
  overflow: hidden;
}

.rmwfinance-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  padding: 22px 24px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--rmwfinance-purple);
}

.rmwfinance-faq-item summary::-webkit-details-marker {
  display: none;
}

.rmwfinance-faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rmwfinance-soft-purple);
  color: var(--rmwfinance-purple);
  font-size: 24px;
  line-height: 1;
}

.rmwfinance-faq-item[open] summary::after {
  content: "–";
}

.rmwfinance-faq-content {
  padding: 0 24px 22px;
}

.rmwfinance-faq-content p {
  color: var(--rmwfinance-muted);
}

/* CTA */

.rmwfinance-cta-section {
  padding-top: clamp(22px, 3vw, 36px);
}

.rmwfinance-cta-band {
  margin: 18px auto 0;
  padding: clamp(30px, 4vw, 48px);
  border-radius: var(--rmwfinance-radius-lg);
  background: linear-gradient(135deg, #693189 0%, #4f146a 100%);
  color: #ffffff;
  text-align: center;
  box-shadow: var(--rmwfinance-shadow);
}

.rmwfinance-cta-band h2,
.rmwfinance-cta-band p {
  color: #ffffff;
}

.rmwfinance-cta-band h2 {
  max-width: 980px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.rmwfinance-cta-band p {
  max-width: 820px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

.rmwfinance-cta-band .rmwfinance-kicker {
  color: var(--rmwfinance-yellow);
}

html {
  scroll-behavior: smooth;
}

#private-pay,
#insurance-reimbursement,
#hsa-fsa,
#labs-medications,
#financial-faqs {
  scroll-margin-top: 120px;
}

@media (max-width: 1024px) {
  .rmwfinance-container {
    width: min(calc(100% - 36px), 900px);
  }

  .rmwfinance-topic-grid,
  .rmwfinance-card-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rmwfinance-split-panel,
  .rmwfinance-card-grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .rmwfinance-topic-grid,
  .rmwfinance-card-grid-three,
  .rmwfinance-card-grid-two {
    grid-template-columns: 1fr;
  }

  .rmwfinance-hero::before {
    right: -220px;
    top: 42%;
    width: 520px;
    height: 520px;
    opacity: 0.06;
  }

  .rmwfinance-topic-card {
    min-height: auto;
  }

  .rmwfinance-button-row,
  .rmwfinance-button-row-center {
    align-items: stretch;
  }

  .rmwfinance-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .rmwfinance-container {
    width: min(calc(100% - 28px), 540px);
  }

  .rmwfinance-page h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .rmwfinance-faq-item summary {
    padding: 20px;
    font-size: 17px;
  }

  .rmwfinance-faq-content {
    padding: 0 20px 20px;
  }
}
