/* Yog24x7 — Flexibility Mastery Group Program (extends home-new.css & flow-new.css) */

.flex-hero {
  position: relative;
  padding: 44px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.flex-hero::before {
  content: '';
  position: absolute;
  left: -15%;
  right: -15%;
  top: -25%;
  height: 75%;
  background:
    radial-gradient(45% 55% at 20% 15%, rgba(31,122,77,.10), transparent 70%),
    radial-gradient(45% 55% at 80% 30%, rgba(226,169,59,.14), transparent 70%);
  pointer-events: none;
}

.flex-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: start;
}

.flex-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.eyebrow--gold {
  background: #fbf5e6;
  border-color: #ebd39a;
  color: #785710;
}
.eyebrow--gold .eyebrow__dot {
  background: var(--gold);
}
.eyebrow--gold .eyebrow__dot::after {
  background: var(--gold);
}

.flex-hero__title {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.flex-hero__title em {
  color: var(--green);
  font-style: italic;
}

.flex-hero__lede {
  font-size: clamp(16px, 1.35vw, 18.5px);
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.62;
}

.flex-pillars {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.flex-pillar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.flex-pillar__ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.flex-pillar__ico svg {
  width: 19px;
  height: 19px;
}
.flex-pillar strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.flex-pillar small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 3px;
  line-height: 1.4;
}

.flex-instructor-mini {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-2);
}
.flex-instructor-mini img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 2.5px solid var(--gold);
  flex-shrink: 0;
}
.flex-instructor-mini__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.flex-instructor-mini h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  margin: 2px 0 3px;
}
.flex-instructor-mini p {
  font-size: 13px;
  color: rgba(255,255,255,.78);
  line-height: 1.45;
}

.flex-jump-bar {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.flex-jump-bar .jump-note {
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 600;
}

/* Interest Form Card (Top) */
.flex-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
  padding: 30px 28px 26px;
}
.flex-card--gold {
  border-color: #dfc480;
}
.flex-card__ribbon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.flex-card__ribbon svg {
  width: 14px;
  height: 14px;
}
.flex-card__ribbon--gold {
  background: #fbf5e6;
  color: #8a6412;
  border: 1px solid #ebd39a;
}

.goal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.goal-chip {
  height: 30px;
  padding: 0 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.goal-chip:hover {
  border-color: var(--green);
  color: var(--green-deep);
}
.goal-chip.is-active {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green-deep);
}

.field textarea {
  width: 100%;
  min-height: 76px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 14.5px;
  color: var(--ink);
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-ring);
}
.field-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wa-notice {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #14532d;
  line-height: 1.45;
}
.wa-notice svg {
  width: 18px;
  height: 18px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Curriculum 3-day grid */
.mwf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mwf-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.mwf-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}
.mwf-day {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mwf-day__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mwf-day__dur {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
}
.mwf-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
.mwf-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.mwf-card ul {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 7px;
}
.mwf-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.mwf-card li svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Master Spotlight */
.master-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.master-photo-wrap {
  position: relative;
}
.master-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-photo);
  border: 6px solid #fff;
  aspect-ratio: 4 / 5;
  background: var(--surface-2);
}
.master-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.master-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(20, 38, 28, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(226, 169, 59, 0.45);
  box-shadow: var(--shadow-3);
}
.master-badge span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.master-badge strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  display: block;
  margin-top: 2px;
}
.master-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.master-stat {
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
}
.master-stat strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--green-deep);
  display: block;
  line-height: 1.05;
}
.master-stat span {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

/* Enrollment & Payment Section (#enroll) */
.enroll-section {
  background: linear-gradient(180deg, #14261c 0%, #0f1d15 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.enroll-section::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 169, 59, 0.16), transparent 70%);
  pointer-events: none;
}
.enroll-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}
.price-showcase {
  margin-top: 24px;
  padding: 26px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 169, 59, 0.38);
}
.price-showcase__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.price-showcase__amount {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 52px);
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.price-showcase__amount small {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 4px;
}
.price-showcase__usd {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: rgba(226, 169, 59, 0.2);
  color: #f9e2a4;
  font-size: 13px;
  font-weight: 700;
}
.price-showcase__list {
  margin-top: 18px;
  display: grid;
  gap: 11px;
}
.price-showcase__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}
.price-showcase__list svg {
  width: 18px;
  height: 18px;
  color: #8bd3ad;
  flex-shrink: 0;
  margin-top: 2px;
}

.enroll-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 30px 28px;
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(226, 169, 59, 0.55);
}

.prefill-banner {
  display: none;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 960px) {
  .flex-hero__grid,
  .master-grid,
  .enroll-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mwf-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .flex-hero {
    padding: 24px 0 48px;
  }
  .flex-pillars,
  .field-row-2,
  .master-stats {
    grid-template-columns: 1fr;
  }
  .flex-card,
  .enroll-card {
    padding: 22px 18px;
    border-radius: 20px;
  }
}
