/* =========================================================
   Rich inner-page layouts (mpsde-inspired)
   ========================================================= */

/* Curved teal page hero (Services-style) */
.curve-hero {
  position: relative;
  background: #00453e;
  color: #fff;
  text-align: center;
  padding: 5.5rem 0 8.5rem;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(520px, 64vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.curve-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background-color: #00453e;
}

.curve-hero__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.curve-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 69, 62, 0.45) 0%, rgba(10, 61, 54, 0.4) 42%, rgba(6, 40, 36, 0.62) 100%),
    radial-gradient(ellipse at 50% 28%, rgba(197, 160, 89, 0.1) 0%, transparent 55%);
}

.curve-hero--services .curve-hero__media img {
  object-position: 40% 12%;
}

.curve-hero--payment .curve-hero__media img {
  object-position: 58% top;
}

.curve-hero--telemedicine .curve-hero__media img {
  object-position: 70% 18%;
}

.curve-hero--resources .curve-hero__media img {
  object-position: center 10%;
}

.curve-hero--contact .curve-hero__media img {
  object-position: 42% 18%;
}

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

.curve-hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  margin: 0 0 0.65rem;
  color: #fff;
}

.curve-hero__title {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.25rem;
}

.curve-hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.curve-hero .btn {
  margin-top: 0.25rem;
}

.curve-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.curve-hero__wave svg {
  width: 100%;
  height: clamp(80px, 11vw, 130px);
  display: block;
}

@media (max-width: 700px) {
  .curve-hero {
    min-height: clamp(440px, 58vh, 600px);
    padding: 4.25rem 0 7rem;
  }

  .curve-hero--services .curve-hero__media img {
    object-position: 34% 8%;
  }

  .curve-hero--payment .curve-hero__media img {
    object-position: 62% top;
  }

  .curve-hero--telemedicine .curve-hero__media img {
    object-position: 78% 12%;
  }

  .curve-hero--resources .curve-hero__media img {
    object-position: center 8%;
  }

  .curve-hero--contact .curve-hero__media img {
    object-position: 38% 14%;
  }
}

/* Soft mint page hero (Team-style) — logo forest + gold */
.soft-hero {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(197, 160, 89, 0.22) 0%, transparent 48%),
    radial-gradient(ellipse at 85% 20%, rgba(15, 92, 82, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, #cfe0da 0%, #e8f2ee 55%, #f4f8f6 100%);
  text-align: center;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  border-bottom: 3px solid var(--gold);
}

.soft-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: min(220px, 40%);
  height: 3px;
  transform: translateX(-50%);
  background: var(--grad-forest);
  border-radius: 2px;
}

.soft-hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3.8vw, 2.4rem);
  color: var(--teal-deep);
  margin: 0 0 0.6rem;
}

.soft-hero__title {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--gold-dark);
  font-weight: 500;
  margin: 0;
}

/* Zigzag service rows */
.zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.25rem 0;
}

.zigzag--reverse .zigzag__media {
  order: 1;
}

.zigzag--reverse .zigzag__copy {
  order: 2;
}

.zigzag__copy h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.zigzag__kicker {
  font-style: italic;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.zigzag__copy p {
  margin-bottom: 0.9rem;
}

.zigzag__media .media-frame {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #d5e6e1, #0a3d36 55%, #072e29);
  overflow: hidden;
}

.zigzag__media .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.zigzag__cta {
  margin-top: 1.1rem;
}

/* Provider cards (team) */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.provider-card {
  background: linear-gradient(160deg, #ffffff 0%, #f7fbf9 55%, var(--gold-soft) 100%);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-top: 3px solid var(--gold);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.provider-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grad-forest);
  box-shadow:
    0 0 0 3px var(--gold-bright),
    0 10px 28px rgba(0, 69, 62, 0.28);
  flex-shrink: 0;
}

.provider-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.provider-card h2 {
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  color: var(--teal-deep);
}

.provider-card__creds {
  font-style: italic;
  color: var(--gold-dark);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.provider-card p {
  font-size: 0.95rem;
  margin: 0;
}

.provider-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 3.5rem;
  row-gap: 1.75rem;
  padding: 2.75rem 3rem;
  align-items: center;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(197, 160, 89, 0.14) 0%, transparent 45%),
    linear-gradient(160deg, #ffffff 0%, #f4f8f6 100%);
  border-top: 3px solid var(--gold);
  border-left: 1px solid rgba(0, 69, 62, 0.06);
}

.provider-card--featured .provider-card__photo {
  width: 220px;
  height: 280px;
  border-radius: 18px;
  box-shadow:
    0 0 0 3px var(--gold),
    0 14px 36px rgba(0, 69, 62, 0.22);
}

.provider-card--featured .provider-card__photo img {
  object-position: center 12%;
}

.provider-card--featured > div:last-child {
  min-width: 0;
  padding-left: 0.25rem;
}

/* Steps (telemedicine) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  counter-reset: step;
}

.step-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.4rem;
  box-shadow: 0 8px 28px rgba(57, 63, 68, 0.07);
  position: relative;
  counter-increment: step;
}

.step-card::before {
  content: counter(step);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
}

/* Privacy policy document */
.policy-page {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(197, 160, 89, 0.12) 0%, transparent 42%),
    linear-gradient(180deg, #f4f8f6 0%, #ffffff 40%, #eef5f1 100%);
}

.policy-page__inner {
  max-width: 760px;
  background: linear-gradient(160deg, #ffffff 0%, #f7fbf9 100%);
  border-radius: 18px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-top: 3px solid var(--gold);
  box-shadow: 0 12px 36px rgba(0, 69, 62, 0.08);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.policy-page__updated {
  color: var(--gold-dark);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
}

.policy-page h2 {
  color: var(--teal-deep);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin: 1.85rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(197, 160, 89, 0.35);
}

.policy-page h2:first-of-type {
  margin-top: 0.35rem;
}

.policy-page p {
  margin-bottom: 0.95rem;
  line-height: 1.7;
}

.policy-list {
  margin: 0 0 1.15rem;
  padding-left: 1.15rem;
  list-style: disc;
}

.policy-list li {
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
  padding-left: 0.25rem;
}

.policy-list--contact {
  list-style: none;
  padding-left: 0;
}

.policy-list--contact li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.policy-list--contact li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-gold);
}

.policy-contact-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal-deep);
  margin-bottom: 0.65rem;
}

/* FAQ richer — logo forest + gold */
.soft-hero--faq {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(197, 160, 89, 0.26) 0%, transparent 46%),
    radial-gradient(ellipse at 12% 80%, rgba(15, 92, 82, 0.16) 0%, transparent 50%),
    linear-gradient(180deg, #cfe0da 0%, #e8f2ee 55%, #f4f8f6 100%);
}

.faq-page {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(197, 160, 89, 0.12) 0%, transparent 42%),
    linear-gradient(180deg, #f4f8f6 0%, #eef5f1 50%, #f7faf8 100%);
}

.faq-page__inner {
  max-width: 820px;
}

.faq-group {
  margin-bottom: 2.75rem;
  padding: 1.5rem 1.35rem 1.25rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(243, 235, 218, 0.35) 100%);
  border-radius: 18px;
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-top: 3px solid var(--gold);
  box-shadow: 0 10px 28px rgba(0, 69, 62, 0.06);
}

.faq-group:nth-child(odd) {
  border-top-color: var(--teal-mid);
}

.faq-section-title {
  text-align: center;
  margin-bottom: 1.35rem;
  color: var(--teal-deep);
  position: relative;
  padding-bottom: 0.65rem;
}

.faq-section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 0.55rem auto 0;
  border-radius: 2px;
  background: var(--grad-gold);
}

.faq-item {
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  border: 1px solid rgba(0, 69, 62, 0.08);
  border-left: 3px solid var(--gold);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
}

.faq-item:nth-child(even) {
  border-left-color: var(--teal-mid);
}

.faq-item[open] {
  box-shadow: 0 12px 32px rgba(0, 69, 62, 0.12);
  border-color: rgba(197, 160, 89, 0.45);
  border-left-color: var(--gold-bright);
}

.faq-item .faq-body {
  animation: faqOpen 0.35s ease;
}

.faq-item .faq-body p {
  color: var(--ink-soft);
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA band */
.cta-band {
  background: var(--grad-forest);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(217, 188, 120, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-band h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.7rem auto 0;
  border-radius: 2px;
  background: var(--grad-gold);
}

.cta-band p {
  color: rgba(243, 235, 218, 0.92);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  position: relative;
}

/* Forms richer cards */
.form-item {
  transition: transform 0.4s, box-shadow 0.4s;
}

.form-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(57, 63, 68, 0.1);
}

/* Payment accent strip */
.pay-note {
  background: #fff;
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 6px 20px rgba(57, 63, 68, 0.06);
  max-width: 760px;
  margin: 2rem auto 0;
}

/* Decorative floating orbs on pages */
.decor-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.decor-orbs span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.decor-orbs span:nth-child(1) {
  width: 180px;
  height: 180px;
  top: -40px;
  left: 8%;
  animation: softFloat 7s ease-in-out infinite;
}

.decor-orbs span:nth-child(2) {
  width: 110px;
  height: 110px;
  bottom: 40px;
  right: 12%;
  animation: softFloat 5.5s ease-in-out infinite reverse;
}

/* Contact split polish */
.contact-aside {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 12px 36px rgba(57, 63, 68, 0.08);
}

.contact-aside h2 {
  margin-bottom: 1rem;
}

.contact-stat {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(57, 63, 68, 0.08);
}

.contact-stat:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-stat__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Resources icon tiles */
.resource-card {
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

@media (max-width: 980px) {
  .zigzag,
  .zigzag--reverse,
  .provider-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .zigzag--reverse .zigzag__media,
  .zigzag--reverse .zigzag__copy {
    order: initial;
  }

  .provider-card,
  .provider-card--featured {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.75rem;
  }

  .provider-card--featured > div:last-child {
    padding-left: 0;
  }
}
