/* ============================================
   FOUNDATIONAL MARKETING SYSTEM PAGE
   FMS-prefixed aliases for shared service patterns
   + unique FMS-only sections (process timeline, pricing, next steps)
   ============================================ */

/* FMS Hero — alias of wd-hero */
.fms-hero { background: linear-gradient(180deg, #faf8f7 0%, #fff 100%); padding: 120px 0; padding-top: 140px; position: relative; }
.fms-hero .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.fms-hero__content { position: relative; }
.fms-hero__logo { width: 90px; height: auto; margin: 0 0 20px; display: block; opacity: 0.85; filter: drop-shadow(0 3px 10px rgba(244, 97, 34, 0.2)); }
.fms-hero__tag { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-orange); color: white; padding: 6px 14px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px; }
.fms-hero__content h1 { font-family: var(--font-heading); font-size: 3rem; color: var(--body-brown); line-height: 1.15; margin-bottom: 20px; text-transform: uppercase; }
.fms-hero__content h1 span { color: var(--brand-orange); }
.fms-hero__content > p { font-size: 1.1rem; color: var(--midtone-taupe); line-height: 1.8; margin-bottom: 30px; }
.fms-hero__highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 35px; }
.fms-hero__highlight { display: flex; align-items: flex-start; gap: 10px; padding: 12px 15px; background: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.fms-hero__highlight svg { width: 20px; height: 20px; min-width: 20px; color: var(--brand-orange); flex-shrink: 0; margin-top: 2px; }
.fms-hero__highlight span { color: var(--body-brown); font-size: 0.85rem; font-weight: 500; line-height: 1.4; }
.fms-hero__cta { display: flex; gap: 15px; }
.fms-hero__cards { display: flex; flex-direction: column; gap: 15px; }
.fms-hero__card { background: white; border-radius: 16px; padding: 25px; box-shadow: 0 5px 30px rgba(0,0,0,0.08); display: flex; align-items: flex-start; gap: 20px; transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.05); }
.fms-hero__card:hover { transform: translateX(-5px); box-shadow: 0 10px 40px rgba(244,97,34,0.12); }
.fms-hero__card-number { width: 45px; height: 45px; background: var(--background-cream); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.2rem; color: var(--brand-orange); flex-shrink: 0; }
.fms-hero__card-content h4 { color: var(--body-brown); font-size: 1rem; margin-bottom: 5px; }
.fms-hero__card-content p { color: var(--midtone-taupe); font-size: 0.85rem; margin: 0; line-height: 1.5; }

/* FMS Who — alias of wd-who */
.fms-who { background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%); padding: 120px 0; position: relative; overflow: hidden; }
.fms-who::before { content: ''; position: absolute; top: -50%; right: -30%; width: 80%; height: 200%; background: radial-gradient(ellipse, rgba(244,97,34,0.08) 0%, transparent 60%); pointer-events: none; }
.fms-who .container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.fms-who__content h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--white); margin-bottom: 20px; text-transform: uppercase; }
.fms-who__content h2 span { color: var(--brand-orange); }
.fms-who__content > p { font-size: 1.1rem; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 30px; }
.fms-who__list { display: flex; flex-direction: column; gap: 20px; }
.fms-who__item { display: flex; align-items: flex-start; gap: 20px; padding: 25px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; transition: all 0.3s ease; }
.fms-who__item:hover { transform: translateX(5px); background: rgba(255,255,255,0.08); border-color: rgba(244,97,34,0.3); }
.fms-who__icon { width: 50px; height: 50px; background: var(--brand-orange); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0; }
.fms-who__icon svg { width: 24px; height: 24px; }
.fms-who__item-content h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.fms-who__item-content p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* FMS Included — alias of wd-included */
.fms-included { background: var(--white); padding: 120px 0; }
.fms-included__header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.fms-included__header h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--body-brown); margin-bottom: 15px; text-transform: uppercase; }
.fms-included__header h2 span { color: var(--brand-orange); }
.fms-included__header p { font-size: 1.1rem; color: var(--midtone-taupe); line-height: 1.8; }
.fms-included__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; max-width: 900px; margin: 0 auto; }
.fms-included__item { display: flex; flex-direction: column; gap: 12px; padding: 25px; background: var(--background-cream); border-radius: 12px; transition: all 0.3s ease; }
.fms-included__item:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.fms-included__item-header { display: flex; align-items: center; gap: 14px; }
.fms-included__icon { width: 44px; height: 44px; background: var(--white); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--brand-orange); flex-shrink: 0; }
.fms-included__icon svg { width: 22px; height: 22px; }
.fms-included__item h4 { color: var(--body-brown); font-size: 1rem; margin: 0; }
.fms-included__item p { color: var(--midtone-taupe); font-size: 0.88rem; margin: 0; line-height: 1.6; }

/* ============================================
   FMS-ONLY: PROCESS TIMELINE
   ============================================ */
.fms-process {
  background: var(--background-cream);
  padding: 120px 0;
}

.fms-process__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.fms-process__header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--body-brown);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.fms-process__header h2 span { color: var(--brand-orange); }

.fms-process__header p {
  font-size: 1.1rem;
  color: var(--midtone-taupe);
  line-height: 1.8;
}

/* Pricing cards */
.fms-process__pricing {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.fms-process__price-card {
  background: white;
  border-radius: 16px;
  padding: 20px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  min-width: 180px;
}

.fms-process__price-card--primary {
  background: linear-gradient(135deg, var(--brand-orange), var(--accent-orange));
  color: white;
}

.fms-process__price-card--primary .fms-process__price-label,
.fms-process__price-card--primary .fms-process__price-value {
  color: white;
}

.fms-process__price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--midtone-taupe);
  margin-bottom: 5px;
}

.fms-process__price-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--body-brown);
}

.fms-process__price-value small {
  font-size: 0.8rem;
  font-weight: 400;
}

.fms-process__price-note {
  font-size: 0.7rem;
  color: var(--midtone-taupe);
  margin-top: 4px;
}

/* Horizontal Timeline */
.fms-process__timeline {
  display: flex;
  justify-content: space-between;
  gap: 0;
  overflow-x: auto;
  padding: 20px 0 30px;
}

.fms-process__phase {
  flex: 1;
  min-width: 140px;
  text-align: center;
  position: relative;
}

.fms-process__time {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-orange);
  margin-bottom: 15px;
}

.fms-process__node-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  margin-bottom: 15px;
}

.fms-process__circle {
  width: 56px;
  height: 56px;
  background: white;
  border: 3px solid var(--brand-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(244,97,34,0.15);
}

.fms-process__circle svg {
  width: 24px;
  height: 24px;
}

.fms-process__phase--milestone .fms-process__circle {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  box-shadow: 0 4px 20px rgba(244,97,34,0.3);
}

.fms-process__connector {
  position: absolute;
  top: 50%;
  height: 3px;
  background: linear-gradient(90deg, rgba(244,97,34,0.2), rgba(244,97,34,0.4));
  z-index: 1;
}

.fms-process__connector--left {
  left: 0;
  right: 50%;
}

.fms-process__connector--right {
  left: 50%;
  right: 0;
}

.fms-process__label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--body-brown);
  margin-bottom: 10px;
}

.fms-process__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fms-process__detail {
  font-size: 0.78rem;
  color: var(--midtone-taupe);
  line-height: 1.4;
}

/* Reviews callout bar */
.fms-process__reviews-bar {
  margin-top: 50px;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  border-radius: 16px;
  padding: 30px 35px;
}

.fms-process__reviews-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.fms-process__reviews-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fms-process__reviews-icon svg {
  width: 28px;
  height: 28px;
}

.fms-process__reviews-content {
  flex: 1;
}

.fms-process__reviews-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  color: white;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.fms-process__reviews-highlight {
  color: var(--brand-orange);
}

.fms-process__reviews-badge {
  background: rgba(244,97,34,0.2);
  color: var(--brand-orange);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.65rem;
  letter-spacing: 1px;
}

.fms-process__reviews-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Trust callouts */
.fms-process__callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.fms-process__callout {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  padding: 18px 22px;
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--body-brown);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.fms-process__callout svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ============================================
   FMS-ONLY: WHAT COMES NEXT
   ============================================ */
.fms-next {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  padding: 120px 0;
  position: relative;
}

.fms-next__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.fms-next__header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: white;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.fms-next__header h2 span { color: var(--brand-orange); }

.fms-next__header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  line-height: 1.8;
}

.fms-next__badge {
  text-align: center;
  margin-bottom: 40px;
}

.fms-next__badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(111,216,30,0.1);
  color: var(--cta-green);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
}

.fms-next__badge-inner svg {
  width: 16px;
  height: 16px;
}

.fms-next__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.fms-next__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.fms-next__card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(244,97,34,0.3);
  transform: translateY(-3px);
}

.fms-next__card-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fms-next__card-icon svg {
  width: 32px;
  height: 32px;
}

.fms-next__card-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--brand-orange);
  margin-bottom: 8px;
}

.fms-next__card h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 15px;
}

.fms-next__card-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fms-next__card-details span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .fms-hero,
  .fms-who,
  .fms-included,
  .fms-process,
  .fms-next {
    padding: 80px 0;
  }

  .fms-hero { padding-top: 120px; }

  .fms-hero .container,
  .fms-who .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fms-hero__content h1 { font-size: 2.5rem; }

  .fms-who__content h2,
  .fms-included__header h2,
  .fms-process__header h2,
  .fms-next__header h2 {
    font-size: 2rem;
  }

  .fms-process__timeline {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .fms-process__phase { min-width: 120px; }
  .fms-process__connector { display: none; }
  .fms-process__callouts { grid-template-columns: 1fr; }
  .fms-next__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .fms-included__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .fms-hero,
  .fms-who,
  .fms-included,
  .fms-process,
  .fms-next {
    padding: 60px 0;
  }

  .fms-hero { padding-top: 100px; padding-bottom: 50px; }

  .fms-hero__content h1 { font-size: 2rem; }
  .fms-hero__content > p { font-size: 1rem; }
  .fms-hero__highlights { grid-template-columns: 1fr; gap: 10px; }
  .fms-hero__highlight { padding: 10px 14px; }
  .fms-hero__cta { flex-direction: column; width: 100%; }
  .fms-hero__cta .btn,
  .fms-hero__cta a,
  .fms-hero__cta button { width: 100%; justify-content: center; }
  .fms-hero__card { padding: 20px; gap: 14px; }
  .fms-hero__card-number { width: 38px; height: 38px; font-size: 1rem; }

  .fms-who__content h2,
  .fms-included__header h2,
  .fms-process__header h2,
  .fms-next__header h2 {
    font-size: 1.8rem;
  }

  .fms-who .container { gap: 30px; }
  .fms-who__item { padding: 20px; gap: 14px; }
  .fms-who__icon { width: 42px; height: 42px; }
  .fms-who__icon svg { width: 20px; height: 20px; }

  .fms-included__header { margin-bottom: 40px; }
  .fms-included__item { padding: 20px; }

  .fms-process__header { margin-bottom: 30px; }
  .fms-process__reviews-bar { padding: 24px 20px; }
  .fms-process__reviews-inner { flex-direction: column; gap: 14px; }
  .fms-process__callout { padding: 14px 16px; font-size: 0.85rem; }

  .fms-next__card { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .fms-hero__content h1 { font-size: 1.7rem; }
  .fms-hero__tag { font-size: 0.7rem; padding: 5px 12px; }
  .fms-process__pricing { flex-direction: column; align-items: center; }
  .fms-who__item { flex-direction: column; gap: 12px; }
  .fms-hero__card { flex-direction: column; align-items: flex-start; }

  .fms-who__content h2,
  .fms-included__header h2,
  .fms-process__header h2,
  .fms-next__header h2 {
    font-size: 1.5rem;
  }
}
