/* Extracted from resources/views/ecw-franchisee-process.blade.php. */

/* ==================================================
       THEME
       ==================================================*/
      :root {
        --base: #110e10;
        /* dark base */
        --base-2: #171417;
        /* slightly elevated surface */
        --ink: #ffffff;
        /* text on dark */
        --muted: #c9c9cf;
        /* secondary text */
        --accent: #d9c90a;
        /* brand accent */
        --accent-ink: #0e0c0f;
        /* text on accent */
        --radius: 18px;
        --radius-lg: 28px;
        --shadow: 0 12px 36px rgba(0, 0, 0, .35);
        --container: 1200px;

        /* Type scale */
        --step--1: clamp(0.88rem, 0.86rem + 0.1vw, 0.95rem);
        --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
        --step-1: clamp(1.15rem, 1.05rem + 0.55vw, 1.375rem);
        --step-2: clamp(1.35rem, 1.1rem + 1.2vw, 1.8rem);
        --step-3: clamp(1.7rem, 1.3rem + 2vw, 2.4rem);
        --step-4: clamp(2.2rem, 1.6rem + 3.5vw, 3.2rem);

        /* Spacing scale */
        --space-1: clamp(6px, 0.3vw, 8px);
        --space-2: clamp(10px, 0.6vw, 14px);
        --space-3: clamp(14px, 0.9vw, 18px);
        --space-4: clamp(18px, 1.2vw, 22px);
        --space-5: clamp(24px, 1.8vw, 32px);
        --space-6: clamp(32px, 2.4vw, 44px);
        --space-7: clamp(44px, 3.6vw, 64px);
        --space-8: clamp(60px, 5vw, 96px);
      }

      html,
      body {
        height: 100%;
      }

      body {
        margin: 0;
        background: var(--base);
        color: var(--ink);
        font: 400 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, system-ui, "Helvetica Neue", Arial, sans-serif;
      }

      img {
        max-width: 100%;
        height: auto;
        display: block;
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      .container {
        width: min(var(--container), 92vw);
        margin-inline: auto;
      }

      /* ==================================================
       UTILS
       ==================================================*/
      .grid {
        display: grid;
        gap: var(--space-5);
      }

      .grid-2 {
        grid-template-columns: 1fr;
      }

      @media (min-width: 900px) {
        .grid-2 {
          grid-template-columns: 1.1fr .9fr;
        }
      }

      .pill {
        display: inline-flex;
        align-items: center;
        gap: .5ch;
        padding: .35rem .75rem;
        border-radius: 999px;
        background: rgba(217, 201, 10, .12);
        color: #f6f3a2;
        border: 1px solid rgba(217, 201, 10, .3);
        font-size: var(--step--1);
        letter-spacing: .2px;
      }

      .muted {
        color: var(--muted);
      }

      .eyebrow {
        font-size: var(--step--1);
        letter-spacing: .18em;
        text-transform: uppercase;
        color: #ebe8a6;
        opacity: .9;
      }

      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .6rem;
        padding: .85rem 1.15rem;
        border-radius: 12px;
        background: var(--accent);
        color: var(--accent-ink);
        font-weight: 700;
        border: 1px solid #b3a808;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), var(--shadow);
        transition: transform .15s ease, box-shadow .15s ease;
      }

      .btn:hover {
        transform: translateY(-1px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 36px rgba(217, 201, 10, .25);
      }

      .btn.outline {
        background: transparent;
        color: var(--ink);
        border: 1px solid rgba(255, 255, 255, .2);
        box-shadow: none;
      }

      .card {
        background: linear-gradient(180deg, var(--base-2), #120f12);
        border: 1px solid rgba(255, 255, 255, .06);
        border-radius: var(--radius);
        padding: var(--space-5);
        box-shadow: var(--shadow);
      }

      .card-ghost {
        background: rgba(255, 255, 255, .02);
        border: 1px dashed rgba(255, 255, 255, .12);
      }

      .stroke {
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: var(--radius);
      }

      .kpi {
        display: grid;
        grid-auto-flow: column;
        gap: var(--space-5);
        align-items: start;
        justify-content: flex-start;
        overflow: auto;
        padding-bottom: 6px;
      }

      .kpi .item {
        min-width: 220px;
        background: rgba(255, 255, 255, .03);
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 14px;
        padding: 16px 18px;
      }

      .kpi .value {
        font-size: var(--step-3);
        line-height: 1;
        font-weight: 800;
      }

      .kpi .label {
        color: var(--muted);
        font-size: var(--step--1);
      }

      /* ==================================================
       HEADER / HERO
       ==================================================*/
      .hero {
        position: relative;
        isolation: isolate;
      }

      .hero-media {
        position: relative;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow);
        min-height: 280px;
      }

      .hero-media picture,
      .hero-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
      }

      .hero-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(17, 14, 16, .1), rgba(17, 14, 16, .85));
        mix-blend: multiply;
      }

      .hero-badge {
        position: absolute;
        inset: auto var(--space-5) var(--space-5) auto;
        background: var(--accent);
        color: var(--accent-ink);
        padding: .6rem .85rem;
        border-radius: 12px;
        font-weight: 800;
        box-shadow: var(--shadow);
      }

      .hero h1 {
        font-size: var(--step-4);
        margin: 0 0 var(--space-3);
        letter-spacing: -.02em;
      }

      .hero p {
        font-size: var(--step-1);
        color: var(--muted);
        margin: 0;
      }

      .hero-cta {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-3);
        margin-top: var(--space-5);
      }

      /* ==================================================
       QUICK NAV (sticky)
       ==================================================*/
      .quicknav {
        position: sticky;
        top: 0;
        z-index: 50;
        backdrop-filter: saturate(140%) blur(6px);
        background: rgba(17, 14, 16, .72);
        border-bottom: 1px solid rgba(255, 255, 255, .08);
      }

      .quicknav .rail {
        display: flex;
        gap: 12px;
        overflow: auto;
        padding: 10px;
        scrollbar-width: none;
      }

      .quicknav .rail::-webkit-scrollbar {
        display: none;
      }

      .quicknav a {
        white-space: nowrap;
        padding: .6rem .9rem;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, .12);
        background: rgba(255, 255, 255, .02);
        font-size: var(--step--1);
      }

      .quicknav a.is-active {
        background: var(--accent);
        color: var(--accent-ink);
        border-color: #b3a808;
        font-weight: 800;
      }

      /* ==================================================
       SECTIONS
       ==================================================*/
      section {
        padding-block: var(--space-7);
      }

      section header {
        margin-bottom: var(--space-5);
      }

      h2 {
        font-size: var(--step-3);
        letter-spacing: -.01em;
        margin: 0 0 var(--space-2);
      }

      .lead {
        font-size: var(--step-1);
        color: var(--muted);
      }

      /* INTRO SPLIT */
      .intro .illustration {
        border-radius: var(--radius-lg);
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, .08);
        background: radial-gradient(1200px 600px at -10% 20%, rgba(217, 201, 10, .08), transparent 60%);
      }

      /* HIGHLIGHTS */
      .highlights {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-4);
      }

      .highlights .card {
        display: flex;
        gap: 12px;
        align-items: flex-start;
      }

      .icon {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: rgba(217, 201, 10, .12);
        display: grid;
        place-items: center;
        border: 1px solid rgba(217, 201, 10, .25);
        flex: 0 0 28px;
      }

      .icon svg {
        width: 16px;
        height: 16px;
        fill: #f6f3a2;
        opacity: .95;
      }

      @media (min-width:800px) {
        .highlights {
          grid-template-columns: repeat(4, minmax(0, 1fr));
        }
      }

      /* PROCESS */
      .steps {
        counter-reset: step;
        display: grid;
        gap: var(--space-4);
      }

      .step {
        position: relative;
        padding: var(--space-5);
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
        border: 1px solid rgba(255, 255, 255, .08);
      }

      .step::before {
        counter-increment: step;
        content: counter(step);
        position: absolute;
        inset: auto auto 100% 0;
        transform: translateY(-8px);
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: var(--accent);
        color: var(--accent-ink);
        font-weight: 800;
        box-shadow: var(--shadow);
      }

      .step h3 {
        margin: .2rem 0 .35rem;
        font-size: var(--step-2);
      }

      .step p {
        margin: 0;
        color: var(--muted);
      }

      /* TABLES */
      table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        overflow: hidden;
        border-radius: 14px;
        background: rgba(255, 255, 255, .02);
        border: 1px solid rgba(255, 255, 255, .08);
      }

      thead th {
        text-align: left;
        background: rgba(217, 201, 10, .1);
        color: #f6f3a2;
        padding: 12px 14px;
        font-weight: 700;
      }

      tbody td {
        padding: 12px 14px;
        border-top: 1px solid rgba(255, 255, 255, .08);
        color: var(--ink);
      }

      /* STAT BARS / TIMELINE */
      .timeline {
        display: grid;
        gap: var(--space-4);
      }

      .timeline .row {
        display: grid;
        grid-template-columns: 1.1fr .9fr;
        gap: var(--space-4);
      }

      .progress {
        width: 100%;
        height: 12px;
        background: rgba(255, 255, 255, .08);
        border-radius: 999px;
        overflow: hidden;
      }

      .progress>i {
        display: block;
        height: 100%;
        width: var(--w, 50%);
        background: linear-gradient(90deg, var(--accent), #f7f084);
      }

      @media (max-width: 720px) {
        .timeline .row {
          grid-template-columns: 1fr;
        }
      }

      /* CTA */
      .cta {
        position: relative;
        overflow: hidden;
        border-radius: var(--radius-lg);
        background: radial-gradient(1000px 600px at 10% -20%, rgba(217, 201, 10, .18), transparent 60%), linear-gradient(180deg, var(--base-2), #0d0b0d);
        border: 1px solid rgba(255, 255, 255, .08);
      }

      .cta .wrap {
        display: grid;
        gap: var(--space-4);
        padding: var(--space-7) var(--space-6);
      }

      @media (min-width: 900px) {
        .cta .wrap {
          grid-template-columns: 1fr .9fr;
          align-items: center;
        }
      }

      /* ACCESSIBILITY: reduce motion */
      @media (prefers-reduced-motion: reduce) {
        * {
          animation: none !important;
          transition: none !important;
        }
      }

/* Extracted style block */

/* ---------- Base Layout ---------- */
      #why {
        padding-block: clamp(2rem, 5vw, 6rem);
        color: var(--text-light, #f3f3f3);
        background: #0b0b0b;
      }

      #why header {
        max-width: 720px;
        margin-inline: auto;
        text-align: center;
        margin-bottom: 2rem;
      }

      #why .eyebrow {
        display: block;
        font-size: 0.85rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #e0b300;
      }

      #why h2 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        font-weight: 700;
        margin: 0.5rem 0;
      }

      #why .lead {
        color: #b5b5b5;
        font-size: 1.05rem;
        line-height: 1.6;
      }

      /* ---------- Grid Layout ---------- */
      .why-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        align-items: center;
      }

      .illustration.card {
        background: #111;
        border-radius: 1rem;
        overflow: hidden;
        padding: 0;
      }

      .illustration img {
        width: 100%;
        height: auto;
        display: block;
      }

      /* ---------- Highlights ---------- */
      .why-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
      }

      .highlights {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
      }

      .highlights .card {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        background: #111;
        border-radius: 0.8rem;
        padding: 1rem;
        transition: background 0.3s ease;
      }

      .highlights .card:hover {
        background: #1b1b1b;
      }

      .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 215, 0, 0.1);
        border-radius: 0.6rem;
        padding: 0.4rem;
        flex-shrink: 0;
      }

      .icon svg {
        fill: #f9c300;
        width: 1.4rem;
        height: 1.4rem;
      }

      .muted {
        color: #b0b0b0;
        font-size: 0.9rem;
        line-height: 1.4;
      }

      /* ---------- Website Card ---------- */
      .website-card {
        border: 1px dashed rgba(255, 255, 255, 0.15);
        border-radius: 0.8rem;
        padding: 1.25rem;
      }


      /* ---------- Responsive ---------- */
      @media (max-width: 992px) {
        .why-grid {
          grid-template-columns: 1fr;
        }

        .illustration {
          order: -1;
        }

        #why header {
          text-align: left;
        }
      }

      @media (max-width: 600px) {
        .highlights {
          grid-template-columns: 1fr;
        }

        .highlights .card {
          flex-direction: row;
          align-items: flex-start;
        }

        #why {
          padding-inline: 1rem;
        }

        .website-card {
          padding: 1rem;
        }
      }

/* Extracted style block */

/* ------------------------------
   DESIGN TOKENS
------------------------------ */
      :root {
        /* Colors (Dark theme) */
        --bg: #0b0a0d;
        --surface: #131217;
        --surface-2: #18171d;
        --text: #f3f3f7;
        --muted: #b6b6c3;
        --brand: #ffd54d;
        /* soft yellow for badges */
        --brand-ink: #1a1a1a;
        --border: #2a2933;

        /* Type scale (fluid) */
        --fs-1: clamp(2.2rem, 1.3rem + 2.2vw, 3.2rem);
        --fs-2: clamp(1.6rem, 1.1rem + 1.2vw, 2.2rem);
        --fs-3: clamp(1.2rem, 1.05rem + .4vw, 1.4rem);
        --fs-body: clamp(1rem, .95rem + .2vw, 1.125rem);

        /* Spacing scale */
        --s-1: .25rem;
        --s-2: .5rem;
        --s-3: .75rem;
        --s-4: 1rem;
        --s-5: 1.5rem;
        --s-6: 2rem;
        --s-7: 3rem;
        --s-8: 4rem;

        /* Radius & shadows */
        --radius: 16px;
        --radius-pill: 999px;
        --shadow-sm: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 1px 10px rgba(0, 0, 0, .25);
        --shadow-md: 0 10px 30px rgba(0, 0, 0, .4);

        /* Layout */
        --container: min(1120px, 92vw);
      }

      /* ------------------------------
   GLOBAL RESET + BASE
------------------------------ */
      *,
      *::before,
      *::after {
        box-sizing: border-box
      }

      html {
        color-scheme: dark;
        scroll-behavior: smooth
      }

      body {
        margin: 0;
        background: var(--bg);
        color: var(--text);
        font: 400 var(--fs-body)/1.6 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
      }

      img,
      picture,
      video,
      canvas,
      svg {
        display: block;
        max-width: 100%
      }

      input,
      button,
      textarea,
      select {
        font: inherit
      }

      :focus-visible {
        outline: 2px solid var(--brand);
        outline-offset: 2px;
        border-radius: 6px;
      }

      /* ------------------------------
   UTILITIES
------------------------------ */
      .container {
        width: var(--container);
        margin-inline: auto;
        padding-inline: clamp(0rem, 2vw, .5rem)
      }

      .section {
        padding-block: var(--s-8)
      }

      .section-header {
        margin-bottom: var(--s-6)
      }

      .section-header .eyebrow {
        display: inline-block;
        font-size: .85rem;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--muted);
        border: 1px solid var(--border);
        padding: .35rem .6rem;
        border-radius: var(--radius-pill);
      }

      .section-header h2 {
        font-size: var(--fs-1);
        margin: var(--s-4) 0 var(--s-3)
      }

      .section-header .lead {
        color: var(--muted);
        font-size: var(--fs-3);
        max-width: 70ch
      }

      /* ------------------------------
   STEP LIST
------------------------------ */
      .steps {
        --gap: var(--s-5);
        display: grid;
        gap: var(--gap);
        counter-reset: step;
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .step {
        position: relative;
        background: linear-gradient(180deg, var(--surface), var(--surface-2));
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
        padding: clamp(1rem, .5rem + 2vw, 1.5rem) clamp(1rem, .5rem + 2vw, 2rem) clamp(1rem, .5rem + 2vw, 1.5rem) clamp(3.5rem, 3rem + 2vw, 4.5rem);
        transition: transform .2s ease, border-color .2s ease, background .2s ease;
        isolation: isolate;
      }

      .step:hover {
        transform: translateY(-2px)
      }

      .step:active {
        transform: none
      }

      .step::before {
        counter-increment: step;
        content: counter(step);
        position: absolute;
        inset-inline-start: clamp(.75rem, .25rem + 1vw, 1.25rem);
        inset-block-start: clamp(.75rem, .25rem + 1vw, 1.2rem);
        width: 2.25rem;
        height: 2.25rem;
        display: grid;
        place-items: center;
        background: var(--brand);
        color: var(--brand-ink);
        font-weight: 700;
        border-radius: 10px;
        box-shadow: 0 6px 12px rgba(255, 213, 77, .25);
      }

      .step-title {
        font-size: var(--fs-2);
        margin: 0 0 var(--s-2);
        letter-spacing: -0.015em;
      }

      .step p {
        margin: 0;
        color: var(--muted);
        max-width: 70ch;
      }

      /* ------------------------------
   RESPONSIVE LAYOUT
------------------------------ */
      /* ≥ 1024px: two-column masonry feel (optional) */
      @media (min-width: 1024px) {
        .steps {
          grid-template-columns: 1fr;
        }
      }

      /* ≥ 768px (tablet): comfortable density */
      @media (min-width: 768px) {
        .section {
          padding-block: var(--s-8)
        }

        .steps {
          --gap: var(--s-6)
        }
      }

      /* ≤ 767px (mobile): full-bleed feel & better touch targets */
      @media (max-width: 767.98px) {
        .container {
          width: min(100%, 92vw)
        }

        .section-header .lead {
          font-size: 1rem
        }

        .step {
          padding: 1rem 1rem 1rem 3.25rem;
          border-radius: 14px;
        }

        .step::before {
          width: 2rem;
          height: 2rem
        }
      }

      /* Very small phones */
      @media (max-width: 360px) {
        .step {
          padding-left: 3rem
        }
      }

      /* ------------------------------
   MOTION PREFERENCES
------------------------------ */
      @media (prefers-reduced-motion: reduce) {
        * {
          animation-duration: 0.001ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.001ms !important;
          scroll-behavior: auto !important;
        }
      }

/* Extracted style block */

/* === CTA Section === */
      .cta-section {
        position: relative;
        padding: 80px 24px;
        background: linear-gradient(180deg, #141214 0%, #0c0b0c 100%);
        border-radius: 28px;
        max-width: 1080px;
        margin: 60px auto;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
        overflow: hidden;
      }

      .cta-wrap {
        position: relative;
        z-index: 2;
        color: #fff;
      }

      .pill {
        display: inline-block;
        background: rgba(255, 215, 0, 0.12);
        color: #f8e05e;
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.3px;
      }

      .cta-content h2 {
        margin: 12px 0 8px;
        font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
        font-weight: 700;
        line-height: 1.25;
      }

      .cta-content h2 span {
        color: #f8e05e;
      }

      .cta-content .lead {
        color: #d6d6d6;
        max-width: 580px;
        margin-bottom: 1.8rem;
        font-size: 1.05rem;
        line-height: 1.6;
      }

      /* Responsive adjustments */
      @media (max-width: 768px) {
        .cta-section {
          padding: 60px 20px;
          text-align: center;
        }

        .cta-content .lead {
          margin: 0 auto 1.6rem;
        }

        .cta-buttons {
          justify-content: center;
        }
      }

/* Extracted style block */

/* ==========================================================
     Franchise Process — preserve-old professional refinements
     ========================================================== */

  :root {
    --process-radius: 6px;
  }

  /* Reduce excessive rounded UI without changing section content */
  .card,
  .step,
  .kpi .item,
  .website-card,
  .illustration.card,
  .timeline.card,
  .cta-section,
  table,
  .btn,
  .pill,
  .quicknav a {
    border-radius: var(--process-radius) !important;
  }

  .hero-media {
    border-radius: var(--process-radius) !important;
  }

  .hero-badge {
    border-radius: 4px !important;
  }

  .progress {
    border-radius: 2px !important;
  }

  .step::before {
    border-radius: 4px !important;
  }

  /* Stronger content hierarchy */
  .hero h1 {
    max-width: 860px;
    line-height: 1.03;
  }

  .hero .lead {
    max-width: 820px;
    line-height: 1.75;
  }

  #why,
  #process,
  #setup,
  #training,
  #launch,
  #timeline {
    border-top: 1px solid rgba(255,255,255,.07);
  }

  #process header,
  #timeline header {
    max-width: 820px;
  }

  /* Cleaner process rows */
  #process .steps {
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  #process .step {
    border-radius: 0 !important;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: none;
    background: transparent;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  #process .step:hover {
    transform: none;
    background: rgba(255,255,255,.02);
  }

  /* Timeline should read as a process, not a fixed-duration promise */
  #timeline .timeline {
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: none;
    background: #111;
  }

  #timeline .timeline .row {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  #timeline .timeline .row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  /* CTA */
  .cta-section {
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: none;
  }

  .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Existing FAQ styling kept, but heading hierarchy is fixed */
  #faq .wptb-item--title {
    color: #fff;
  }

  @media (max-width: 767px) {
    #process .step {
      padding-left: 3.25rem;
    }

    .cta-buttons {
      display: grid;
      grid-template-columns: 1fr;
    }

    .cta-buttons .btn {
      width: 100%;
    }
  }
