/* ======================================================
   RMWL What to Expect Page
   File suggestion: /wp-content/themes/healthcoach-child/css/rmw-what-to-expect.css

   Notes:
   - Uses unique .rmwexpect-* classes to avoid conflicts.
   - Designed for WPBakery Raw HTML body content.
   - No side menu required; quick links are included near the top.
   - No hero image required.
   ====================================================== */

:root {
  --rmwexpect-purple: #693189;
  --rmwexpect-gold: #b09b6e;
  --rmwexpect-yellow: #f9d905;
  --rmwexpect-black: #000000;
  --rmwexpect-white: #ffffff;
  --rmwexpect-text: #111111;
  --rmwexpect-soft-purple: #f4eef8;
  --rmwexpect-soft-purple-2: #faf6fc;
  --rmwexpect-soft-gold: #fffdef;
  --rmwexpect-border: rgba(105, 49, 137, 0.16);
  --rmwexpect-shadow: 0 16px 38px rgba(34, 16, 45, 0.10);
  --rmwexpect-radius-lg: 28px;
  --rmwexpect-radius-md: 20px;
}

/* ======================================================
   Page Shell
   ====================================================== */

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

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

.rmwexpect-page a {
  color: var(--rmwexpect-purple);
}

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

/* ======================================================
   Typography
   ====================================================== */

.rmwexpect-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(--rmwexpect-gold);
}

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

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

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

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

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

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

/* ======================================================
   Buttons + Links
   ====================================================== */

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

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

.rmwexpect-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-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.rmwexpect-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);
}

.rmwexpect-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);
}

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

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

.rmwexpect-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 5px;
}

/* ======================================================
   Hero - No Image
   ====================================================== */

.rmwexpect-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%);
}

.rmwexpect-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;
}

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


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

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

.rmwexpect-hero-note {
  margin-top: 28px;
  padding: clamp(22px, 3vw, 32px);
  max-width: 760px;
  border-radius: 24px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(176,155,110,0.34);
  box-shadow: 0 12px 30px rgba(34,16,45,0.07);
}

.rmwexpect-hero-note p {
  margin-bottom: 0;
  font-size: 16px;
}

/* ======================================================
   Sections
   ====================================================== */

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

.rmwexpect-section-compact {
  padding: clamp(20px, 3vw, 32px) 0;
}

.rmwexpect-section-soft {
  background:
    radial-gradient(circle at 72% 35%, rgba(105,49,137,0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbf8fd 100%);
}

.rmwexpect-section-gold {
  background:
    radial-gradient(circle at 14% 20%, rgba(176,155,110,0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fffdef 100%);
}

.rmwexpect-heading {
  max-width: 860px;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.rmwexpect-heading p:last-child {
  font-size: 18px;
  line-height: 1.6;
}

/* ======================================================
   Quick Links / Journey Cards
   ====================================================== */

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

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

.rmwexpect-quick-card {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 150px;
  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.07);
  text-decoration: none !important;
  color: #111111 !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.rmwexpect-quick-number {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--rmwexpect-purple);
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  font-size: 14px;
}

.rmwexpect-quick-card:nth-child(even) .rmwexpect-quick-number {
  background: var(--rmwexpect-gold);
}

.rmwexpect-quick-card h3 {
  font-size: 19px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.rmwexpect-quick-card p {
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 0;
}

/* ======================================================
   Timeline / Step Cards
   ====================================================== */

.rmwexpect-timeline {
  display: grid;
  gap: 18px;
}

.rmwexpect-step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(105, 49, 137, 0.13);
  box-shadow: 0 10px 26px rgba(34, 16, 45, 0.06);
}

.rmwexpect-step-number {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid var(--rmwexpect-purple);
  color: var(--rmwexpect-purple);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.rmwexpect-step-content .rmwexpect-kicker {
  margin-bottom: 6px !important;
  font-size: 13px !important;
}

.rmwexpect-step h3 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.4vw, 30px);
}

.rmwexpect-step-subtitle {
  margin-bottom: 10px !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  color: #111111;
}

/* ======================================================
   Check Lists
   ====================================================== */

.rmwexpect-page .rmwexpect-check-list,
.rmwexpect-page .rmwexpect-check-list li {
  list-style: none !important;
  list-style-type: none !important;
  list-style-image: none !important;
}

.rmwexpect-page .rmwexpect-check-list {
  margin: 16px 0 0 !important;
  padding-left: 0 !important;
  display: grid;
  gap: 0;
}

.rmwexpect-page .rmwexpect-check-list li {
  display: block !important;
  position: relative !important;
  padding-left: 30px !important;
  margin-left: 0 !important;
  margin-bottom: 8px !important;
  background: none !important;
  font-size: 16px;
  line-height: 1.45;
}

.rmwexpect-page .rmwexpect-check-list li::marker {
  content: "" !important;
  font-size: 0 !important;
}

.rmwexpect-page .rmwexpect-check-list li::before {
  content: "\2713" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: var(--rmwexpect-purple) !important;
  font-weight: 900 !important;
}

/* ======================================================
   Medical Baseline Callout
   ====================================================== */

.rmwexpect-baseline-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.rmwexpect-callout-card {
  padding: clamp(26px, 3vw, 38px);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fbf7fd 100%);
  border: 1px solid rgba(105,49,137,0.13);
  box-shadow: 0 12px 30px rgba(34,16,45,0.07);
}

.rmwexpect-gold-card {
  background: linear-gradient(135deg, #fffdef 0%, #ffffff 100%);
  border: 1px solid rgba(176,155,110,0.34);
}


/* ======================================================
   Image Panels
   ====================================================== */

.rmwexpect-story-aside,
.rmwexpect-tracking-aside {
  display: grid;
  gap: 18px;
}

.rmwexpect-image-panel {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(105,49,137,0.06);
  border: 1px solid rgba(176,155,110,0.28);
  box-shadow: 0 10px 24px rgba(34,16,45,0.07);
}

.rmwexpect-image-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.rmwexpect-tool-image {
  position: relative;
  z-index: 1;
  margin: -8px -8px 20px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(105,49,137,0.06);
  border: 1px solid rgba(176,155,110,0.26);
}

.rmwexpect-tool-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.rmwexpect-tool-card .rmwexpect-tool-icon {
  margin-bottom: 14px;
}

/* ======================================================
   Tools / Options
   ====================================================== */

.rmwexpect-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rmwexpect-tool-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(105, 49, 137, 0.13);
  box-shadow: 0 12px 30px rgba(34, 16, 45, 0.07);
}

.rmwexpect-tool-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: rgba(105, 49, 137, 0.06);
  pointer-events: none;
}

.rmwexpect-tool-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--rmwexpect-purple);
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.rmwexpect-tool-card h3,
.rmwexpect-tool-card p,
.rmwexpect-tool-card a,
.rmwexpect-tool-card ul {
  position: relative;
  z-index: 1;
}

.rmwexpect-tool-card h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 12px;
}

.rmwexpect-tool-card p {
  font-size: 16px;
  line-height: 1.6;
}

.rmwexpect-tool-card .rmwexpect-text-link,
.rmwexpect-tool-card .rmwexpect-button-row {
  margin-top: 8px;
}

/* ======================================================
   Tracking / Support
   ====================================================== */

.rmwexpect-split-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #fbf7fd 100%);
  border: 1px solid var(--rmwexpect-border);
  border-radius: var(--rmwexpect-radius-lg);
  box-shadow: 0 12px 30px rgba(34,16,45,0.07);
  padding: clamp(28px, 4vw, 52px);
}

.rmwexpect-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rmwexpect-support-card {
  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);
}

.rmwexpect-support-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.rmwexpect-support-card p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ======================================================
   Disclaimer + CTA
   ====================================================== */

.rmwexpect-disclaimer {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(176,155,110,0.34);
}

.rmwexpect-disclaimer p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.rmwexpect-disclaimer p:last-child {
  margin-bottom: 0;
}

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

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

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

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

/* ======================================================
   Responsive
   ====================================================== */

@media (max-width: 1180px) {
  .rmwexpect-tools-grid,
  .rmwexpect-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rmwexpect-baseline-grid,
  .rmwexpect-split-card {
    grid-template-columns: 1fr;
  }
}

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

  .rmwexpect-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .rmwexpect-tools-grid,
  .rmwexpect-support-grid,
  .rmwexpect-quick-grid {
    grid-template-columns: 1fr;
  }

  .rmwexpect-step {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rmwexpect-step-number {
    width: 48px;
    height: 48px;
    font-size: 19px;
  }
}

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

  .rmwexpect-page h1 {
    font-size: clamp(34px, 12vw, 46px);
  }

  .rmwexpect-button-row {
    align-items: stretch;
  }

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


@media (max-width: 720px) {
  .rmwexpect-hero::before {
    right: -220px;
    top: 42%;
    width: 520px;
    height: 520px;
    opacity: 0.06;
  }
}


/* ======================================================
   What to Expect Refinements - Image + Card Updates
   ====================================================== */

/* Story/tracking list headings now live in the main text column */
.rmwexpect-list-heading {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  color: var(--rmwexpect-purple);
}

/* Keep image-only asides visually clean */
.rmwexpect-story-aside,
.rmwexpect-tracking-aside {
  align-self: center;
}

/* Baseline cards same height */
.rmwexpect-baseline-grid {
  align-items: stretch;
}

.rmwexpect-baseline-grid .rmwexpect-callout-card {
  height: 100%;
}

/* Horizontal Choose Your Tools cards */
.rmwexpect-tools-horizontal {
  grid-template-columns: 1fr;
}

.rmwexpect-tool-card-horizontal {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: center;
}

.rmwexpect-tool-card-horizontal::after {
  right: -90px;
  top: -90px;
}

.rmwexpect-tool-card-horizontal .rmwexpect-tool-image {
  margin: 0;
  height: 100%;
  min-height: 220px;
}

.rmwexpect-tool-card-horizontal .rmwexpect-tool-image img {
  height: 100%;
  aspect-ratio: auto;
  min-height: 220px;
}

.rmwexpect-tool-content {
  position: relative;
  z-index: 1;
}

.rmwexpect-tool-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.rmwexpect-tool-title-row .rmwexpect-tool-icon {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.rmwexpect-tool-title-row h3 {
  margin-bottom: 0;
}

.rmwexpect-tool-content p:last-of-type {
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .rmwexpect-tool-card-horizontal {
    grid-template-columns: 1fr;
  }

  .rmwexpect-tool-card-horizontal .rmwexpect-tool-image,
  .rmwexpect-tool-card-horizontal .rmwexpect-tool-image img {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .rmwexpect-tool-title-row {
    align-items: flex-start;
  }
}
