@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');
  :root {
    --cv-orange: #BA5826;
    --cv-orange-d: #9A4A20;
    --cv-green: #4D8C40;
    --cv-green-d: #3E7234;
    --cv-ink: #222222;
    --cv-muted: #5C5E62;
    --cv-line: #D9E0D6;
    --cv-soft: #F3F7F2;
    --cv-ok: #E8F2E6;
    --cv-white: #FFFFFF;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    color: var(--cv-ink);
    background: var(--cv-white);
    line-height: 1.5;
  }
  .cv { max-width: 1180px; margin: 0 auto; padding: 0 0 48px; }
  .cv-pad { padding: 20px 24px; }
  .cv-band { background: var(--cv-soft); }
  /* Long-form measure: keep paragraphs readable inside the wide shell */
  .cv-measure {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }
  .cv-hero .cv-hero-grid,
  .cv-cards,
  .cv-cta {
    max-width: none;
  }
  .cv-kicker {
    display: block;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--cv-orange);
    font-weight: 700;
    margin: 0 0 8px;
  }
  .cv h1 {
    font-size: 26px;
    line-height: 1.2;
    margin: 0 0 14px;
    font-weight: 800;
    color: var(--cv-green);
  }
  .cv h2 {
    font-size: 22px;
    margin: 0 0 14px;
    font-weight: 700;
    color: var(--cv-green);
  }
  .cv p { margin: 0 0 12px; font-size: 16px; color: var(--cv-ink); }
  .cv a { color: var(--cv-orange); }
  .cv a:hover { color: var(--cv-orange-d); }

  .cv-verify {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    background: var(--cv-white);
    border: 1px solid var(--cv-line);
    border-radius: 8px;
    padding: 10px 14px;
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cv-muted);
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
  }
  .cv-verify span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .cv-verify i {
    display: inline-flex;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cv-green);
    color: #fff;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  /* Hero offer block — swap inner markup if pay-after-pass is approved */
  .cv-offer {
    background: var(--cv-white);
    border: 1px solid var(--cv-line);
    border-radius: 8px;
    padding: 18px 16px;
    margin: 0 0 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
  }
  .cv-price {
    font-size: 40px;
    font-weight: 800;
    color: var(--cv-green);
    letter-spacing: -1px;
    line-height: 1;
    margin: 0 0 4px;
  }
  .cv-price-sub {
    font-size: 14px;
    color: var(--cv-muted);
    margin: 0 0 12px;
  }
  .cv-pass {
    display: inline-block;
    background: var(--cv-ok);
    border: 1px solid var(--cv-line);
    border-radius: 6px;
    padding: 8px 14px;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cv-green);
  }

  .cv-btn {
    display: inline-block;
    background: var(--cv-orange);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 20px;
    border-radius: 4px;
    text-align: center;
    border: none;
    border-bottom: 4px solid var(--cv-orange-d);
    box-shadow: 0 2px 6px rgba(186,88,38,.25);
    transition: background .15s ease, transform .15s ease;
  }
  .cv-btn:hover {
    background: var(--cv-orange-d);
    color: #fff !important;
    transform: translateY(-1px);
  }
  .cv-btn-block { display: block; width: 100%; }
  .cv-trust {
    font-size: 13px;
    color: var(--cv-muted);
    margin: 12px 0 0;
    text-align: center;
  }

  .cv-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .cv-card {
    background: var(--cv-white);
    border: 1px solid var(--cv-line);
    border-radius: 10px;
    padding: 16px 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
  }
  .cv-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(77,140,64,.12);
    color: var(--cv-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
  }
  .cv-card-icon svg { width: 20px; height: 20px; }
  .cv-icon-green { background: #4D8C40; color: #FFFFFF; }
  .cv-icon-orange { background: #BA5826; color: #FFFFFF; }
  .cv-icon-blue { background: #0057B8; color: #FFFFFF; }
  .cv-icon-teal { background: #BBDDE6; color: #0057B8; }
  .cv-card strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--cv-ink);
    margin-bottom: 4px;
  }
  .cv-card span {
    display: block;
    font-size: 13px;
    color: var(--cv-muted);
    line-height: 1.4;
  }

  .cv-steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 16px; }
  .cv-steps li {
    counter-increment: step;
    position: relative;
    padding: 0 0 18px 48px;
  }
  .cv-steps li:last-child { padding-bottom: 0; }
  .cv-steps li:before {
    content: counter(step);
    position: absolute;
    left: 0; top: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--cv-green);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cv-steps strong { display: block; font-weight: 700; color: var(--cv-ink); }

  .cv-author {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--cv-white);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid var(--cv-line);
  }
  .cv-author img {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 64px;
  }
  .cv-author p { font-size: 15px; margin: 0; }
  .cv-author strong { font-weight: 700; color: var(--cv-green); }

  .cv-ok {
    background: var(--cv-ok);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid var(--cv-line);
  }
  .cv-ok a { color: var(--cv-green); font-weight: 700; }

  .cv ul.cv-why { padding-left: 18px; margin: 0; }
  .cv ul.cv-why li { margin: 0 0 8px; font-size: 16px; }

  details { border-bottom: 1px solid var(--cv-line); padding: 12px 0; }
  summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    list-style: none;
    color: var(--cv-ink);
  }
  summary::-webkit-details-marker { display: none; }
  summary:after { content: "+"; float: right; color: var(--cv-orange); font-weight: 700; }
  details[open] summary:after { content: "–"; }
  details p { margin: 10px 0 0; font-size: 15px; color: var(--cv-muted); }

  .cv-cta {
    background: var(--cv-soft);
    border-radius: 8px;
    padding: 24px 16px;
    margin: 8px 16px 0;
    text-align: center;
    border: 1px solid var(--cv-line);
  }
  .cv-cta h2 { margin-top: 0; }
  .cv-cta .cv-price { font-size: 28px; margin-bottom: 4px; }


  /* ---- Responsive hero ---- */
  .cv-hero {
    padding: 28px 24px 24px;
  }
  .cv-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 28px;
    align-items: stretch;
  }
  .cv-hero-media {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--cv-line);
    background: var(--cv-soft);
    min-height: 360px;
    max-height: 420px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
  }
  .cv-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
  }
  .cv-hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }
  .cv-hero .cv-offer { margin: 0; }
  .cv-hero .cv-verify { margin-bottom: 14px; }

  /* Trust cards open up on wide desktop */
  .cv-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  /* Sticky mobile CTA — hidden by default (desktop/tablet) */
  .cv-sticky { display: none; }

  /* ===== Mobile: <768px ===== */
  @media (max-width: 767px) {
    .cv-pad { padding: 20px 16px; }
    .cv-hero { padding: 16px 16px 12px; }
    .cv-hero-grid {
      grid-template-columns: 1fr;
      gap: 0;
    }
    .cv-hero-media { display: none !important; }
    .cv h1 { font-size: 23px; margin-bottom: 12px; }
    .cv-price { font-size: 36px; }
    .cv-cards {
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    .cv-card { padding: 12px; }
    .cv-card-icon { width: 34px; height: 34px; margin-bottom: 8px; }
    .cv-card-icon svg { width: 16px; height: 16px; }
    .cv-card strong { font-size: 14px; }
    .cv-card span { font-size: 12px; }

    /* Hide mid-page / final enroll buttons on mobile — sticky + hero only */
    .cv-cta-mid,
    .cv-cta-final { display: none !important; }

    .cv-sticky {
      display: none; /* JS toggles to flex when hero CTA is off-screen */
      align-items: center;
      gap: 10px;
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 50;
      background: #fff;
      border-top: 1px solid var(--cv-line);
      box-shadow: 0 -4px 16px rgba(0,0,0,.08);
      padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    }
    .cv-sticky.is-visible {
      display: flex;
    }
    .cv-sticky-meta {
      font-size: 13px;
      font-weight: 700;
      color: var(--cv-ink);
      line-height: 1.25;
      flex: 1 1 auto;
      min-width: 0;
    }
    .cv-sticky-meta span {
      display: block;
      font-size: 12px;
      font-weight: 600;
      color: var(--cv-muted);
    }
    .cv-sticky .cv-sticky-start {
      flex: 0 0 auto;
      padding: 11px 14px;
      font-size: 14px;
      white-space: nowrap;
      border-bottom-width: 3px;
    }
    .cv-sticky-chat {
      flex: 0 0 44px;
      width: 44px;
      height: 44px;
      padding: 0;
      border: 1px solid var(--cv-line);
      border-radius: 4px;
      background: var(--cv-soft);
      color: var(--cv-green);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    .cv-sticky-chat:hover {
      background: var(--cv-ok);
      color: var(--cv-green-d);
    }
    .cv { padding-bottom: 96px; }
  }

  /* Only collapse sticky meta on genuinely narrow phones */
  @media (max-width: 340px) {
    .cv-sticky-meta { display: none; }
  }

  /* ===== Tablet: 768–1023px ===== */
  @media (min-width: 768px) and (max-width: 1023px) {
    .cv-pad { padding: 22px 20px; }
    .cv-hero { padding: 24px 20px; }
    .cv-hero-grid {
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }
    .cv-hero-media,
    .cv-hero-media img {
      min-height: 300px;
      max-height: 360px;
    }
    .cv-sticky { display: none !important; }
    .cv-hero-media { display: block; }
  }

  /* ===== Desktop: >=1024px ===== */
  @media (min-width: 1024px) {
    .cv-pad { padding: 28px 32px; }
    .cv-hero { padding: 32px 32px 28px; }
    .cv-hero-grid {
      grid-template-columns: 1.2fr 1fr;
      gap: 32px;
    }
    .cv-hero-media,
    .cv-hero-media img {
      min-height: 380px;
      max-height: 440px;
    }
    .cv-cards {
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
    .cv-sticky { display: none !important; }
    .cv-hero-media { display: block; }
  }

  /* How-it-works stepper — scoped; swap copy in HTML only for pay-after-pass */
  .cv-hiw { margin: 0 0 16px; }
  .cv-hiw-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    margin: 0 0 12px;
  }
  .cv-hiw-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid var(--cv-line);
    border-radius: 8px;
    padding: 8px 10px 10px;
    cursor: pointer;
    font-family: inherit;
    color: var(--cv-ink);
    min-width: 0;
    position: relative;
  }
  .cv-hiw-tab.is-active {
    border-color: var(--cv-green);
    background: var(--cv-ok);
  }
  .cv-hiw-tab::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 3px;
    height: 2px;
    background: var(--cv-orange);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
  }
  .cv-hiw-tab.is-active.is-auto::after {
    animation: cv-hiw-progress 9s linear forwards;
  }
  @keyframes cv-hiw-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
  @media (prefers-reduced-motion: reduce) {
    .cv-hiw-tab.is-active.is-auto::after { animation: none; transform: scaleX(0); }
  }
  .cv-hiw-num {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--cv-green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .cv-hiw-tab-label {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    min-width: 0;
  }
  .cv-hiw-stage {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--cv-line);
    border-radius: 8px;
    touch-action: pan-y;
    min-height: 260px;
  }
  @media (min-width: 768px) {
    .cv-hiw-stage {
      min-height: 250px;
    }
  }
  .cv-hiw-panel {
    padding: 16px 16px 14px;
  }
  .cv-hiw-panel[hidden] { display: none; }
  .cv-hiw-panel.is-fading-out {
    opacity: 0;
    transition: opacity 300ms ease;
  }
  .cv-hiw-panel.is-fading-in {
    animation: cv-hiw-fade-in 300ms ease;
  }
  @keyframes cv-hiw-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @media (prefers-reduced-motion: reduce) {
    .cv-hiw-panel.is-fading-out {
      transition: none;
      opacity: 1;
    }
    .cv-hiw-panel.is-fading-in { animation: none; }
  }
  .cv-hiw-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
  }
  .cv-hiw-icon svg { width: 24px; height: 24px; }
  .cv-hiw-panel h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--cv-green);
  }
  .cv-hiw-panel p {
    margin: 0;
    font-size: 15px;
    color: var(--cv-muted);
  }
  .cv-hiw-bullets {
    margin: 0;
    padding: 0 0 0 18px;
  }
  .cv-hiw-bullets li {
    margin: 0 0 6px;
    font-size: 15px;
    color: var(--cv-ink);
  }
  .cv-hiw-bullets li:last-child { margin-bottom: 0; }
  .cv-hiw-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
  }
  .cv-hiw-prev,
  .cv-hiw-next {
    background: #fff;
    border: 1px solid var(--cv-line);
    border-radius: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    font-family: inherit;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    color: var(--cv-ink);
    cursor: pointer;
  }
  .cv-hiw-prev:disabled,
  .cv-hiw-next:disabled {
    opacity: .55;
    cursor: default;
  }
  @media (max-width: 767px) {
    .cv-hiw-tab { flex-direction: column; align-items: center; text-align: center; padding: 8px 4px; gap: 4px; }
    .cv-hiw-tab-label { font-size: 11px; }
    .cv-hiw-panel { padding: 14px 12px; }
    .cv-hiw-panel h3 { font-size: 16px; }
  }

/* Hide the default tawk.to bubble/overlay on mobile.
   The sticky bar chat button opens the widget via Tawk_API.maximize(). */
@media (max-width: 767px) {
  #tawkchat-container,
  #tawkchat-minified-container,
  #tawk-bubble-container,
  .tawk-min-container,
  .tawk-flex-container,
  iframe[title="chat widget"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Florida resource only (this file is not loaded sitewide).
   Mobile: compress the legacy template shell so .cv starts under the nav. */
@media (max-width: 767px) {
  .breadcrumb-area,
  .title,
  h1.single_courcse_title {
    display: none !important;
  }

  .header_area {
    padding-top: 8px !important;
    padding-bottom: 6px !important;
  }

  .header_area .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .header_area .logo {
    margin: 0 0 4px !important;
  }

  .header_area .logo img {
    max-width: 150px !important;
    max-height: 40px !important;
  }

  .header_area .col-md-8 > div:first-child,
  .header_area .col-sm-9 > div:first-child {
    gap: 8px;
    margin: 0 0 2px !important;
  }

  .header_area .form-lan,
  .header_area select.form-lan,
  .header_area #drop select {
    max-width: 140px;
    font-size: 13px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .header_area .text-msg,
  .header_area .phone_address {
    display: none !important;
  }

  .nav_area {
    display: none !important; /* desktop menu; meanmenu is in .mobile_memu_area */
  }

  .mobile_memu_area,
  .mean-container .mean-bar {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
  }

  .mean-container .mean-bar {
    min-height: 44px;
  }

  .single_courcse {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .single_cos_item {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .cv {
    padding-top: 8px;
  }

  .cv-hero {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  /* Template sidebar (author / since 1990 / quotes) — body author section stays */
  .single_courcse .col-md-4,
  .single_courcse .met-box {
    display: none !important;
  }
}
