/* ===================================
   FRACTIONAL CMO PAGE — Styles
   =================================== */

/* ==================
   HERO
   ================== */
.fcmo-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fcmo-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(52, 211, 153, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 60%, rgba(129, 140, 248, 0.04) 0%, transparent 50%);
}

.fcmo-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, var(--bg-page) 100%);
}

.fcmo-hero__content {
  position: relative;
  z-index: 2;
  padding: 160px 0 120px;
  max-width: 900px;
  text-align: center;
}

.fcmo-hero__title {
  margin-bottom: 32px;
}

/* ==================
   THE PROBLEM
   ================== */
.fcmo-problem {
  padding: 140px 0;
  background: var(--bg-section-alt);
}

.fcmo-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.fcmo-problem__card {
  background: var(--bg-card);
  padding: 48px 40px;
  transition: background 0.5s;
  position: relative;
}

.fcmo-problem__card:hover {
  background: var(--bg-elevated);
}

.fcmo-problem__number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 24px;
  opacity: 0.15;
}

.fcmo-problem__number--coral { color: var(--accent-coral); }
.fcmo-problem__number--green { color: var(--accent-green); }
.fcmo-problem__number--indigo { color: var(--accent-indigo); }

.fcmo-problem__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(251, 113, 133, 0.08);
  border: 1px solid rgba(251, 113, 133, 0.12);
  margin-bottom: 20px;
}

.fcmo-problem__card-icon i {
  font-size: 20px;
  color: var(--accent-coral);
  opacity: 0.7;
}

.fcmo-problem__card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.fcmo-problem__card-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==================
   WHAT IS A FRACTIONAL CMO
   ================== */
.fcmo-what {
  padding: 140px 0;
  background: var(--bg-page);
}

.fcmo-what__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

.fcmo-what__title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 28px;
}

.fcmo-what__desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.fcmo-what__desc2 {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.fcmo-what__points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fcmo-what__point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.fcmo-what__point i {
  color: var(--accent-green);
  font-size: 18px;
  flex-shrink: 0;
}

.fcmo-what__stat-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==================
   COMPARISON TABLE
   ================== */
.fcmo-comparison {
  padding: 140px 0;
  background: var(--bg-section-alt);
}

.fcmo-table {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.fcmo-table__header {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.fcmo-table__header .fcmo-table__col {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.fcmo-table__header .fcmo-table__col i {
  font-size: 18px;
}

.fcmo-table__col--agency {
  color: var(--text-dim);
}

.fcmo-table__col--fcmo {
  color: var(--accent-green);
}

.fcmo-table__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s;
}

.fcmo-table__row:last-child {
  border-bottom: none;
}

.fcmo-table__row:hover {
  background: rgba(255, 255, 255, 0.015);
}

.fcmo-table__row .fcmo-table__col {
  padding: 20px 32px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.fcmo-table__row .fcmo-table__col--label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.fcmo-table__row .fcmo-table__col--agency {
  color: var(--text-dim);
}

.fcmo-table__row .fcmo-table__col--agency i {
  color: var(--accent-coral);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.6;
}

.fcmo-table__row .fcmo-table__col--fcmo {
  color: var(--text-secondary);
}

.fcmo-table__row .fcmo-table__col--fcmo i {
  color: var(--accent-green);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==================
   DELIVERABLES
   ================== */
.fcmo-deliverables {
  padding: 140px 0;
  background: var(--bg-page);
}

.fcmo-deliverables__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fcmo-deliver-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 40px 32px;
  transition: all 0.5s var(--ease-out);
}

.fcmo-deliver-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.fcmo-deliver-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.fcmo-deliver-card__icon i { font-size: 22px; }

.fcmo-deliver-card__icon--green {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.15);
}
.fcmo-deliver-card__icon--green i { color: var(--accent-green); }

.fcmo-deliver-card__icon--indigo {
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.15);
}
.fcmo-deliver-card__icon--indigo i { color: var(--accent-indigo); }

.fcmo-deliver-card__icon--coral {
  background: rgba(251, 113, 133, 0.1);
  border: 1px solid rgba(251, 113, 133, 0.15);
}
.fcmo-deliver-card__icon--coral i { color: var(--accent-coral); }

.fcmo-deliver-card__icon--amber {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.15);
}
.fcmo-deliver-card__icon--amber i { color: var(--accent-amber); }

.fcmo-deliver-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.fcmo-deliver-card__desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ==================
   AUDIENCE / WHO IT'S FOR
   ================== */
.fcmo-audience {
  padding: 140px 0;
  background: var(--bg-section-alt);
}

.fcmo-audience__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.fcmo-audience__title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -2px;
  line-height: 1.1;
  margin-top: 20px;
  margin-bottom: 20px;
}

.fcmo-audience__desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

.fcmo-audience__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fcmo-audience__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.fcmo-audience__item:first-child {
  padding-top: 0;
}

.fcmo-audience__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fcmo-audience__item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.fcmo-audience__item-icon i {
  font-size: 14px;
  color: var(--accent-green);
}

.fcmo-audience__item strong {
  display: block;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 600;
}

.fcmo-audience__item span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==================
   PROCESS / TIMELINE
   ================== */
.fcmo-process {
  padding: 140px 0;
  background: var(--bg-page);
}

.fcmo-process__steps {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.fcmo-process__step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 40px;
  padding-bottom: 48px;
  position: relative;
}

.fcmo-process__step:last-child {
  padding-bottom: 0;
}

.fcmo-process__step-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1;
  padding-top: 4px;
  text-align: center;
  grid-column: 1;
  grid-row: 1;
}

.fcmo-process__step-num--green { color: var(--accent-green); }
.fcmo-process__step-num--indigo { color: var(--accent-indigo); }
.fcmo-process__step-num--coral { color: var(--accent-coral); }
.fcmo-process__step-num--amber { color: var(--accent-amber); }

.fcmo-process__step-line {
  display: none;
}

.fcmo-process__step-content {
  grid-column: 2;
  grid-row: 1;
  padding-left: 40px;
  border-left: 1px solid var(--border-strong);
}

.fcmo-process__step:last-child .fcmo-process__step-content {
  border-left-color: transparent;
}

.fcmo-process__step-content h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.fcmo-process__step-time {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-green);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.fcmo-process__step-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==================
   PROOF BAR
   ================== */
.fcmo-proof {
  padding: 80px 0;
  background: var(--bg-section-alt);
}

.fcmo-proof__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 48px 56px;
}

.fcmo-proof__stat {
  text-align: center;
}

.fcmo-proof__number {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 8px;
}

.fcmo-proof__number--green { color: var(--accent-green); }
.fcmo-proof__number--indigo { color: var(--accent-indigo); }
.fcmo-proof__number--coral { color: var(--accent-coral); }
.fcmo-proof__number--amber { color: var(--accent-amber); }

.fcmo-proof__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.fcmo-proof__divider {
  width: 1px;
  height: 48px;
  background: var(--border-subtle);
}

/* ==================
   FAQ
   ================== */
.fcmo-faq {
  padding: 140px 0;
  background: var(--bg-page);
}

.fcmo-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.fcmo-faq__item {
  border-bottom: 1px solid var(--border-subtle);
}

.fcmo-faq__item:first-child {
  border-top: 1px solid var(--border-subtle);
}

.fcmo-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.fcmo-faq__question span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.fcmo-faq__question i {
  font-size: 20px;
  color: var(--accent-green);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}

.fcmo-faq__item.is-open .fcmo-faq__question i {
  transform: rotate(45deg);
}

.fcmo-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding 0.5s var(--ease-out);
  padding: 0 0;
}

.fcmo-faq__item.is-open .fcmo-faq__answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.fcmo-faq__answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  padding-right: 48px;
}

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 1024px) {
  .fcmo-problem__grid { grid-template-columns: 1fr; }
  .fcmo-what__grid { grid-template-columns: 1fr; gap: 60px; }
  .fcmo-deliverables__grid { grid-template-columns: repeat(2, 1fr); }
  .fcmo-audience__grid { grid-template-columns: 1fr; gap: 48px; }
  .fcmo-proof__bar { gap: 32px; padding: 40px; }
  .fcmo-proof__number { font-size: 32px; }

  .fcmo-table__header,
  .fcmo-table__row { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .fcmo-hero { min-height: 85vh; }
  .fcmo-hero__content { padding: 100px 0 80px; }

  .fcmo-problem,
  .fcmo-what,
  .fcmo-comparison,
  .fcmo-deliverables,
  .fcmo-audience,
  .fcmo-process,
  .fcmo-faq { padding: 100px 0; }

  .fcmo-proof { padding: 60px 0; }

  .fcmo-what__title { font-size: 34px; }
  .fcmo-audience__title { font-size: 30px; }

  .fcmo-deliverables__grid { grid-template-columns: 1fr; }

  /* Comparison table mobile: card-style rows */

  /* Hide the desktop header row entirely */
  .fcmo-table__header {
    display: none;
  }

  .fcmo-table__row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .fcmo-table__row:last-child {
    border-bottom: none;
  }

  /* Category label — full-width banner at top of each row */
  .fcmo-table__row .fcmo-table__col--label {
    background: var(--bg-elevated);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
  }

  /* Agency & FCMO values — stack with inline labels */
  .fcmo-table__row .fcmo-table__col--agency,
  .fcmo-table__row .fcmo-table__col--fcmo {
    padding: 14px 20px;
    flex-direction: column;
    gap: 4px;
  }

  /* Add inline labels so you know which column is which */
  .fcmo-table__row .fcmo-table__col--agency::before,
  .fcmo-table__row .fcmo-table__col--fcmo::before {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
  }

  .fcmo-table__row .fcmo-table__col--agency::before {
    content: "Traditional Agency";
    color: var(--text-dim);
    opacity: 0.6;
  }

  .fcmo-table__row .fcmo-table__col--fcmo::before {
    content: "Fractional CMO";
    color: var(--accent-green);
    opacity: 0.8;
  }

  /* Visual divider between the two columns within a row */
  .fcmo-table__row .fcmo-table__col--fcmo {
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
    background: rgba(52, 211, 153, 0.02);
  }

  /* Icon + text container inside each value cell */
  .fcmo-table__row .fcmo-table__col--agency > span,
  .fcmo-table__row .fcmo-table__col--fcmo > span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .fcmo-proof__bar { flex-wrap: wrap; gap: 24px; padding: 32px; }
  .fcmo-proof__divider { display: none; }
  .fcmo-proof__stat { flex: 1; min-width: 120px; }

  .fcmo-faq__question span { font-size: 17px; }

  .fcmo-process__step { grid-template-columns: 48px 1fr; gap: 0 24px; }
  .fcmo-process__step-num { font-size: 28px; }
  .fcmo-process__step-content { padding-left: 24px; }
}

@media (max-width: 480px) {
  .fcmo-what__title { font-size: 28px; }
  .fcmo-audience__title { font-size: 26px; }
  .fcmo-proof__number { font-size: 28px; }
  .fcmo-faq__question span { font-size: 16px; }
  .fcmo-faq__answer p { padding-right: 0; }
}
