/*
Theme Name: Diagnostic.ly
Theme URI: https://diagnostic.ly/
Description: Marketing theme for Diagnostic.ly. Page content comes from the "Page Sections" fields (Diagnostic.ly Core plugin). Design ported from gdt-website.html (Nov 2026).
Author: Global Diagnostics Technologies, LLC
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: diagnosticly
*/

    :root {
      --navy:      #1C2E60;
      --navy-dark: #161F3A;
      --teal:      #179FD1;
      --gradient:  linear-gradient(96.91deg, #1C2E60 0.1%, #179FD1 99.4%);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Manrope', system-ui, sans-serif; color: #1a1a2e; margin: 0; padding: 0; }

    /* ── NAV ── */
    header {
      background: var(--navy-dark);
      position: sticky; top: 0; z-index: 100;
      box-shadow: 0 2px 12px rgba(0,0,0,.35);
    }
    .nav-inner {
      max-width: 1200px; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 24px; height: 68px;
    }
    .nav-logo { cursor: pointer; }
    .nav-logo img { height: 36px; }
    nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
    nav ul li a {
      display: block; padding: 8px 14px;
      color: #e8eaf0; text-decoration: none;
      font-size: 14px; font-weight: 600;
      border-radius: 6px; transition: background .2s;
      cursor: pointer;
    }
    nav ul li a:hover { background: rgba(255,255,255,.1); color: #fff; }
    nav ul li a.active { color: var(--teal); }
    .btn-contact {
      background: var(--gradient); color: #fff !important;
      border: none; border-radius: 10px; padding: 9px 22px;
      font-size: 14px; font-weight: 700; cursor: pointer;
      text-decoration: none; transition: opacity .2s; white-space: nowrap;
    }
    .btn-contact:hover { opacity: .88; }
    .nav-mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; }
    @media (max-width: 860px) {
      nav { display: none; }
      .nav-mobile-toggle { display: block; }
    }

    /* ── VIEWS ── */
    .view { display: none; }
    .view.active { display: block; }

    /* ── SHARED ── */
    section { padding: 80px 0; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    .section-label {
      font-size: .78rem; font-weight: 700; letter-spacing: .13em;
      text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
    }
    h2.section-title {
      font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800;
      color: var(--navy); margin-bottom: 14px; line-height: 1.2;
    }
    .section-lead {
      font-size: 1.05rem; color: #444; max-width: 700px; line-height: 1.72;
    }

    /* ── HERO ── */
    .hero {
      background: var(--gradient); color: #fff;
      padding: 90px 0 80px; text-align: center;
    }
    .hero .eyebrow {
      font-size: .78rem; font-weight: 700; letter-spacing: .15em;
      text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 18px;
    }
    .hero h1 {
      font-size: clamp(2.1rem, 4.5vw, 3.3rem); font-weight: 800;
      line-height: 1.12; margin-bottom: 22px;
    }
    .hero .sub {
      font-size: 1.15rem; font-weight: 500; opacity: .88;
      max-width: 680px; margin: 0 auto 36px; line-height: 1.65;
    }
    .hero .mission {
      font-size: 1.15rem; font-weight: 500; opacity: .88;
      max-width: 720px; margin: 0 auto; line-height: 1.7;
    }
    .hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .btn-white {
      background: #fff; color: var(--navy) !important;
      border-radius: 12px; padding: 14px 30px;
      font-size: 1rem; font-weight: 700; text-decoration: none;
      transition: opacity .2s; display: inline-block; cursor: pointer;
    }
    .btn-white:hover { opacity: .9; }
    .btn-outline-white {
      background: transparent; color: #fff !important;
      border: 2px solid rgba(255,255,255,.65); border-radius: 12px;
      padding: 13px 30px; font-size: 1rem; font-weight: 700;
      text-decoration: none; transition: all .2s; cursor: pointer;
    }
    .btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }

    /* ── WHO WE SERVE ── */
    .audiences { background: #f7fafd; }
    .audience-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 20px; margin-top: 44px;
    }
    @media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 560px) { .audience-grid { grid-template-columns: 1fr; } }
    .audience-card {
      background: #fff; border-radius: 16px;
      border: 1px solid #e3eaf3; padding: 30px 26px 26px;
      transition: box-shadow .2s, transform .2s;
      display: flex; flex-direction: column;
      text-decoration: none; color: inherit;
    }
    .audience-card:hover {
      box-shadow: 0 8px 28px rgba(23,159,209,.16);
      transform: translateY(-3px); color: inherit;
    }
    .audience-icon {
      width: 50px; height: 50px; border-radius: 13px;
      background: var(--gradient); display: flex; align-items: center;
      justify-content: center; color: #fff; font-size: 1.25rem; margin-bottom: 18px;
    }
    .audience-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
    .audience-card p { font-size: .88rem; color: #555; line-height: 1.65; flex: 1; margin: 0 0 14px; }
    .audience-card .card-link {
      font-size: .84rem; font-weight: 700; color: var(--teal);
      display: flex; align-items: center; gap: 6px; margin-top: auto;
    }

    /* ── THE GAP ── */
    .gap-section { background: var(--navy-dark); color: #fff; }
    .gap-section h2.section-title { color: #fff; }
    .gap-section .section-lead { color: rgba(255,255,255,.75); max-width: 680px; }
    .gap-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 20px; margin-top: 44px;
    }
    @media (max-width: 768px) { .gap-grid { grid-template-columns: 1fr; } }
    .gap-card {
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 14px; padding: 28px 24px;
    }
    .gap-card-icon {
      width: 44px; height: 44px; border-radius: 10px;
      background: rgba(255,255,255,.08); display: flex;
      align-items: center; justify-content: center;
      color: rgba(255,255,255,.4); font-size: 1.1rem;
      margin-bottom: 16px;
    }
    .gap-card h3 { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.85); margin-bottom: 8px; }
    .gap-card p  { font-size: .88rem; color: rgba(255,255,255,.78); line-height: 1.65; margin: 0; }
    .gap-resolution {
      margin-top: 44px; text-align: center;
      padding: 32px; background: rgba(23,159,209,.12);
      border: 1px solid rgba(23,159,209,.3); border-radius: 14px;
    }
    .gap-resolution p { font-size: 1.15rem; font-weight: 700; color: #fff; margin: 0; line-height: 1.5; }
    .gap-resolution span { color: var(--teal); }

    /* ── PLATFORM PILLARS ── */
    .platform { background: #fff; }
    .pillar-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 18px; margin-top: 44px;
    }
    @media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 540px) { .pillar-grid { grid-template-columns: 1fr; } }
    .pillar-card {
      border-radius: 14px; background: #f7fafd;
      border-left: 4px solid var(--teal); padding: 24px 22px;
      display: flex; gap: 16px; align-items: flex-start;
      transition: box-shadow .2s;
    }
    .pillar-card:hover { box-shadow: 0 4px 18px rgba(23,159,209,.14); }
    .pillar-icon {
      width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
      background: var(--gradient); display: flex;
      align-items: center; justify-content: center;
      color: #fff; font-size: 1.1rem;
    }
    .pillar-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
    .pillar-card p  { font-size: .88rem; color: #555; line-height: 1.65; margin: 0; }
    .platform-callout {
      margin-top: 36px; background: var(--navy);
      border-radius: 14px; padding: 26px 36px;
      display: flex; align-items: center; justify-content: space-between;
      gap: 24px; flex-wrap: wrap;
    }
    .platform-callout p { color: rgba(255,255,255,.88); font-size: 1.05rem; font-weight: 600; margin: 0; line-height: 1.5; }
    .platform-callout p strong { color: #fff; }
    .btn-teal {
      background: var(--teal); color: #fff !important;
      border-radius: 10px; padding: 12px 24px;
      font-size: .95rem; font-weight: 700; text-decoration: none;
      white-space: nowrap; transition: opacity .2s; display: inline-block; cursor: pointer;
    }
    .btn-teal:hover { opacity: .88; }

    /* ── HOW IT WORKS ── */
    .workflow { background: #f7fafd; }
    .workflow-steps {
      display: grid; grid-template-columns: repeat(5, 1fr);
      gap: 0; margin-top: 48px; position: relative;
    }
    @media (max-width: 860px) {
      .workflow-steps { grid-template-columns: 1fr 1fr; gap: 20px; }
      .workflow-connector { display: none; }
    }
    @media (max-width: 480px) { .workflow-steps { grid-template-columns: 1fr; } }
    .workflow-connector {
      position: absolute; top: 36px; left: 10%; right: 10%;
      height: 3px; background: linear-gradient(90deg, var(--navy), var(--teal));
      z-index: 0;
    }
    .workflow-step {
      display: flex; flex-direction: column;
      align-items: center; text-align: center;
      position: relative; z-index: 1; padding: 0 10px;
    }
    .step-bubble {
      width: 72px; height: 72px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.5rem; margin-bottom: 16px;
      border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12);
    }
    .step-bubble.b1 { background: #1C2E60; }
    .step-bubble.b2 { background: #2d6a8a; }
    .step-bubble.b3 { background: #179FD1; }
    .step-bubble.b4 { background: #0a618a; }
    .step-bubble.b5 { background: #0d4a6b; }
    .step-bubble i { color: #fff; font-size: 1.4rem; }
    .workflow-step h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
    .workflow-step p  { font-size: .82rem; color: #555; line-height: 1.55; margin: 0; }
    .workflow-step .step-actor {
      font-size: .72rem; font-weight: 700; letter-spacing: .08em;
      text-transform: uppercase; margin-bottom: 8px;
    }
    .a1 { color: #1C2E60; } .a2 { color: #2d6a8a; } .a3 { color: #179FD1; }
    .a4 { color: #0a618a; } .a5 { color: #0d4a6b; }
    .workflow-note { margin-top: 36px; text-align: center; font-size: .92rem; color: #555; font-style: italic; }

    /* ── TESTING ── */
    .testing { background: #fff; }
    .testing-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 10px 32px; margin-top: 36px;
    }
    @media (max-width: 640px) { .testing-grid { grid-template-columns: 1fr; } }
    .test-item {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 14px 0; border-bottom: 1px solid #eef2f8;
    }
    .test-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-top: 7px; flex-shrink: 0; }
    .test-item strong { font-size: .95rem; font-weight: 700; color: var(--navy); display: block; margin-bottom: 2px; }
    .test-item span   { font-size: .87rem; color: #555; line-height: 1.55; }
    .test-more {
      margin-top: 36px; background: linear-gradient(135deg, #eaf6fa, #f7fafd);
      border-radius: 14px; padding: 24px 32px; text-align: center;
    }
    .test-more p { color: #333; font-size: .97rem; line-height: 1.7; margin: 0; }
    .test-more strong { color: var(--navy); }
    .modalities { margin-top: 48px; }
    .modalities .section-label { margin-bottom: 10px; }
    .modalities-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
    .modality-pill {
      background: var(--navy); color: #fff;
      border-radius: 50px; padding: 8px 20px;
      font-size: .85rem; font-weight: 700;
      display: flex; align-items: center; gap: 8px;
    }
    .modality-pill i { color: var(--teal); font-size: .85rem; }

    /* ── PROGRAMS ── */
    .programs { background: #f7fafd; }
    .programs-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 22px; margin-top: 44px;
    }
    @media (max-width: 900px) { .programs-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 560px) { .programs-grid { grid-template-columns: 1fr; } }
    .program-card {
      border-radius: 16px; background: #fff;
      border: 1px solid #e3eaf3; padding: 28px 24px 24px;
      display: flex; flex-direction: column;
      transition: box-shadow .2s, transform .2s;
    }
    .program-card:hover { box-shadow: 0 8px 28px rgba(23,159,209,.16); transform: translateY(-3px); }
    .program-icon {
      width: 48px; height: 48px; border-radius: 12px;
      background: var(--gradient); display: flex;
      align-items: center; justify-content: center;
      color: #fff; font-size: 1.2rem; margin-bottom: 16px;
    }
    .program-card .eyebrow { font-size: .75rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
    .program-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
    .program-card p  { font-size: .88rem; color: #555; line-height: 1.65; flex: 1; margin-bottom: 14px; }
    .program-card .card-tagline { font-size: .84rem; font-weight: 700; color: var(--teal); margin-top: auto; }

    /* ── BUILD VS LICENSE ── */
    .bvl { background: var(--navy-dark); color: #fff; }
    .bvl h2.section-title { color: #fff; }
    .bvl .section-lead { color: rgba(255,255,255,.78); max-width: 640px; }
    .bvl-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-top: 44px; }
    @media (max-width: 768px) { .bvl-grid { grid-template-columns: 1fr; } }
    .bvl-col { border-radius: 14px; padding: 28px 24px; }
    .bvl-them { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
    .bvl-us   { background: rgba(23,159,209,.12); border: 1px solid rgba(23,159,209,.3); }
    .bvl-col h3 { font-size: .88rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
    .bvl-them h3 { color: rgba(255,255,255,.4); }
    .bvl-us h3   { color: var(--teal); }
    .bvl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
    .bvl-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; line-height: 1.55; }
    .bvl-list li i { font-size: .85rem; margin-top: 2px; flex-shrink: 0; }
    .bvl-them .bvl-list li   { color: rgba(255,255,255,.72); }
    .bvl-them .bvl-list li i { color: rgba(255,255,255,.2); }
    .bvl-us .bvl-list li     { color: rgba(255,255,255,.9); }
    .bvl-us .bvl-list li i   { color: var(--teal); }
    .trust-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 48px; }
    .trust-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
      border-radius: 8px; padding: 8px 16px;
      font-size: .78rem; font-weight: 700;
      color: rgba(255,255,255,.55); letter-spacing: .06em; text-transform: uppercase;
    }
    .trust-badge i { color: var(--teal); font-size: .9rem; }

    /* ── CONTACT ── */
    .contact { background: #fff; }
    .contact-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; margin-top: 44px; }
    @media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; gap: 36px; } }
    .contact-info h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
    .contact-info p  { font-size: .97rem; color: #555; line-height: 1.72; margin-bottom: 24px; }
    .contact-detail { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
    .contact-detail i { color: var(--teal); width: 18px; }
    .contact-detail a { color: var(--teal); text-decoration: none; }
    .contact-detail a:hover { text-decoration: underline; }
    .form-wrap { background: #f7fafd; border-radius: 20px; padding: 40px; border: 1px solid #dde8f0; }
    @media (max-width: 600px) { .form-wrap { padding: 24px 20px; } }
    .form-wrap h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
    .form-wrap .form-sub { font-size: .88rem; color: #666; margin-bottom: 24px; }
    .form-section-label {
      font-size: .7rem; font-weight: 800; letter-spacing: .13em;
      text-transform: uppercase; color: var(--teal);
      border-bottom: 1px solid #dde8f0; padding-bottom: 6px; margin: 22px 0 12px;
    }
    .form-section-label:first-of-type { margin-top: 0; }
    label { display: block; font-size: .84rem; font-weight: 600; color: #222; margin-bottom: 5px; }
    input[type="text"], input[type="email"], input[type="tel"], textarea, select {
      width: 100%; padding: 10px 13px;
      border: 1px solid #cdd8e8; border-radius: 8px;
      font-size: .93rem; font-family: inherit; color: #111;
      background: #fff; transition: border .2s; outline: none;
    }
    input:focus, textarea:focus, select:focus {
      border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,159,209,.12);
    }
    textarea { min-height: 90px; resize: vertical; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    @media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
    .form-group { margin-bottom: 14px; }
    .req { color: #e05252; font-weight: 600; }
    .check-group { display: flex; flex-direction: column; gap: 7px; }
    .check-group label { display: flex; align-items: center; gap: 9px; font-weight: 500; cursor: pointer; }
    .check-group input { width: 15px; height: 15px; accent-color: var(--teal); }
    .radio-row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
    .submit-row { margin-top: 24px; }
    .btn-submit {
      width: 100%; background: var(--gradient); color: #fff;
      border: none; border-radius: 10px; padding: 14px;
      font-size: 1rem; font-weight: 700; font-family: inherit;
      cursor: pointer; transition: opacity .2s;
    }
    .btn-submit:hover { opacity: .9; }
    .submit-note { font-size: .78rem; color: #555; margin-top: 8px; text-align: center; }

    /* ── ABOUT US — STATS ── */
    .stats-section { background: #fff; padding: 56px 0; border-bottom: 1px solid #edf1f7; }
    .stats-grid {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 1px; background: #e3eaf3;
      border: 1px solid #e3eaf3; border-radius: 16px; overflow: hidden;
    }
    @media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
    .stat-cell { background: #fff; padding: 32px 24px; text-align: center; }
    .stat-number {
      font-size: 2.4rem; font-weight: 800;
      background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text; line-height: 1.1; margin-bottom: 6px;
    }
    .stat-label { font-size: .82rem; font-weight: 600; color: #666; letter-spacing: .04em; text-transform: uppercase; }

    /* ── ABOUT US — TEAM ── */
    .team-section { background: #f7fafd; }
    .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
    @media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }
    .team-card {
      background: #fff; border-radius: 18px;
      border: 1px solid #e3eaf3; padding: 32px 26px 26px;
      display: flex; flex-direction: column; align-items: center;
      text-align: center; transition: box-shadow .2s, transform .2s;
    }
    .team-card:hover { box-shadow: 0 8px 28px rgba(23,159,209,.14); transform: translateY(-3px); }
    .team-avatar {
      width: 108px; height: 108px; border-radius: 50%;
      background: var(--gradient);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.7rem; font-weight: 800; color: #fff;
      margin-bottom: 20px; flex-shrink: 0;
      overflow: hidden;
      transition: transform .2s, box-shadow .2s;
    }
    .team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
    a.team-avatar-link { text-decoration: none; }
    a.team-avatar-link:hover .team-avatar {
      transform: scale(1.06);
      box-shadow: 0 6px 20px rgba(23,159,209,.35);
    }
    .team-name { font-size: 1.08rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
    .team-title {
      font-size: .82rem; font-weight: 700; color: var(--teal);
      text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px;
    }
    .team-linkedin {
      display: inline-flex; align-items: center; gap: 7px;
      font-size: .82rem; font-weight: 700; color: #0a66c2;
      text-decoration: none; padding: 6px 14px;
      border: 1px solid #c8daf0; border-radius: 8px;
      transition: background .2s;
    }
    .team-linkedin:hover { background: #eef4fb; }

    /* ── FOOTER ── */
    footer { background: var(--navy-dark); padding: 44px 0 24px; }
    .footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    .footer-top {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 20px; padding-bottom: 24px;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .footer-top img { height: 30px; }
    .footer-links { display: flex; flex-wrap: wrap; gap: 4px 2px; }
    .footer-links a {
      color: rgba(255,255,255,.5); font-size: .87rem; font-weight: 600;
      text-decoration: none; padding: 6px 12px; border-radius: 6px; transition: color .2s; cursor: pointer;
    }
    .footer-links a:hover { color: var(--teal); }
    .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 20px; }
    .footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.5); margin: 0; }
    .footer-bottom a { color: rgba(255,255,255,.3); text-decoration: none; }
    .footer-bottom a:hover { color: var(--teal); }
    .badge-hipaa {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
      border-radius: 6px; padding: 4px 12px;
      font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.45);
      letter-spacing: .06em; text-transform: uppercase;
    }
    .badge-hipaa i { color: var(--teal); }

    section[id] { scroll-margin-top: 76px; }

    /* ── MOBILE DRAWER ── */
    .mobile-drawer {
      display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
      background: var(--navy-dark); z-index: 99; padding: 24px 24px 40px;
      overflow-y: auto;
    }
    .mobile-drawer.open { display: block; }
    .mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
    .mobile-drawer ul li a {
      display: block; padding: 16px 0; color: #e8eaf0; text-decoration: none;
      font-size: 1rem; font-weight: 600;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .mobile-drawer ul li a:hover { color: var(--teal); }
    .mobile-drawer .drawer-cta { margin-top: 28px; }
    .mobile-drawer .btn-contact { display: block; text-align: center; padding: 14px; font-size: 1rem; }

/* ══════════════════════════════════════════
   WordPress additions (not in the static HTML)
══════════════════════════════════════════ */
.screen-reader-text { position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }
.skip-link:focus { position:fixed; top:8px; left:8px; z-index:1000; width:auto; height:auto; clip:auto; background:#fff; color:var(--navy); padding:10px 16px; border-radius:8px; font-weight:700; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline:3px solid var(--teal); outline-offset:2px; }
body.admin-bar header { top:32px; }
@media (max-width:782px){ body.admin-bar header { top:46px; } }
nav ul li.current-menu-item > a { color: var(--teal); }
.nav-logo a { display:block; line-height:0; }
.nav-logo .logo-text { color:#fff; font-weight:800; font-size:1.3rem; line-height:1; }
.footer-top .logo-text { color:#fff; font-weight:800; font-size:1.1rem; }
.hero .sub { margin-bottom: 36px; }

/* Video section */
.video-section { background:#fff; }
.video-section.after-hero { padding-top: 64px; }
.video-frame {
  margin: 40px auto 0; max-width: 980px; border-radius: 18px; overflow: hidden;
  background: var(--navy-dark); box-shadow: 0 18px 50px rgba(28,46,96,.22);
  border: 1px solid #e3eaf3;
}
.video-frame video { display:block; width:100%; height:auto; aspect-ratio:16/9; background:var(--navy-dark); }
.video-caption { text-align:center; font-size:.88rem; color:#555; margin:14px 0 0; }
.video-section .section-head-center { text-align:center; }
.video-section .section-head-center .section-lead { margin: 0 auto; }

/* Contact Form 7 inside the existing form design */
.form-wrap .wpcf7-form-control-wrap { display:block; }
.form-wrap .opt { font-weight:400; opacity:.6; font-size:.85em; }
.form-wrap .check-group .wpcf7-form-control { display:flex; flex-direction:column; gap:7px; }
.form-wrap .radio-row .wpcf7-form-control { flex-direction:row; flex-wrap:wrap; gap:8px 24px; }
.form-wrap .wpcf7-list-item { margin:0; display:block; }
.form-wrap .wpcf7-list-item label { display:flex; align-items:center; gap:9px; font-weight:500; cursor:pointer; margin:0; }
.form-wrap .wpcf7-list-item input { width:15px; height:15px; accent-color:var(--teal); flex-shrink:0; }
.form-wrap .consent .wpcf7-list-item label { align-items:flex-start; font-weight:400; font-size:.82rem; color:#555; }
.form-wrap .consent .wpcf7-list-item input { margin-top:2px; }
.form-wrap .field-note { font-size:.78rem; color:#666; margin-top:5px; margin-bottom:0; }
.form-wrap input.btn-submit { width:100%; }
.form-wrap .wpcf7-spinner { display:block; margin:10px auto 0; }
.form-wrap .wpcf7-not-valid-tip { font-size:.78rem; color:#b42318; margin-top:4px; }
.form-wrap .wpcf7 form .wpcf7-response-output { margin:16px 0 0; padding:10px 14px; border-radius:8px; font-size:.86rem; }
.form-wrap .cf-turnstile { margin:12px 0 0; }

/* Generic content (pages without sections, articles) */
.page-hero { background: var(--gradient); color:#fff; padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight:800; line-height:1.15; margin:0; color:#fff; }
.page-hero .crumbs { font-size:.8rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:rgba(255,255,255,.7); margin-bottom:12px; }
.page-hero .crumbs a { color:rgba(255,255,255,.85); text-decoration:none; }
.page-hero .crumbs a:hover { color:#fff; text-decoration:underline; }
.entry { padding: 56px 0 72px; }
.entry .container { max-width: 820px; }
.entry-content { font-size:1.03rem; line-height:1.78; color:#2a2f3d; }
.entry-content h2 { font-size:1.55rem; font-weight:800; color:var(--navy); margin:2.2rem 0 .8rem; line-height:1.25; }
.entry-content h3 { font-size:1.2rem; font-weight:700; color:var(--navy); margin:1.8rem 0 .6rem; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom:1.1rem; }
.entry-content a { color:#0f6f99; }
.entry-content img { max-width:100%; height:auto; border-radius:10px; }
.entry-content table { width:100%; border-collapse:collapse; margin:1.2rem 0; font-size:.94rem; display:block; overflow-x:auto; }
.entry-content th, .entry-content td { border:1px solid #e3eaf3; padding:8px 12px; text-align:left; }
.entry-content blockquote { border-left:4px solid var(--teal); padding:4px 0 4px 18px; color:#444; margin:1.4rem 0; }
.article-meta { font-size:.84rem; color:#5b6474; margin-bottom: 28px; }
.article-cta {
  margin-top: 48px; background: var(--navy); border-radius:14px; padding:26px 30px; color:#fff;
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.article-cta h3 { color:#fff; font-size:1.15rem; font-weight:800; margin:0 0 6px; }
.article-cta p { color:rgba(255,255,255,.85); margin:0; font-size:.95rem; }
.archive-list { display:grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap:16px; }
.archive-card {
  display:block; background:#fff; border:1px solid #e3eaf3; border-radius:14px; padding:20px 22px;
  text-decoration:none; color:inherit; transition: box-shadow .2s, transform .2s;
}
.archive-card:hover { box-shadow:0 8px 28px rgba(23,159,209,.16); transform:translateY(-2px); color:inherit; }
.archive-card h2 { font-size:1rem; font-weight:700; color:var(--navy); margin:0 0 6px; line-height:1.35; }
.archive-card p { font-size:.86rem; color:#555; margin:0; line-height:1.6; }
.archive-wrap { background:#f7fafd; padding:56px 0 80px; }
.pagination-wrap { margin-top: 36px; display:flex; gap:6px; flex-wrap:wrap; justify-content:center; }
.pagination-wrap .page-numbers { display:inline-block; padding:8px 14px; border-radius:8px; background:#fff; border:1px solid #e3eaf3; color:var(--navy); font-weight:700; text-decoration:none; font-size:.88rem; }
.pagination-wrap .page-numbers.current { background:var(--navy); color:#fff; border-color:var(--navy); }
.rt-section.tint { background:#f7fafd; }
.rt-section.dark { background:var(--navy-dark); color:#fff; }
.rt-section.dark .entry-content, .rt-section.dark .entry-content h2, .rt-section.dark .entry-content h3 { color:#fff; }
.rt-section .container > .entry-content { max-width: 820px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  * { transition:none !important; }
}
@media (min-width: 861px) { .workflow-steps { grid-template-columns: repeat(var(--steps, 5), 1fr); } }
/* Logo: keep the aspect ratio when the CSS fixes the height */
.nav-logo img, .footer-top img { width: auto; max-width: 100%; object-fit: contain; }
.nav-logo img { height: 36px; }
.footer-top img { height: 30px; }

/* Review fixes (Nov 17) */
/* Last card alone on its row: span the row and lay out horizontally */
@media (min-width: 901px) {
  .audience-grid > .audience-card:last-child:nth-child(3n+1) {
    grid-column: 1 / -1; display: grid; grid-template-columns: 50px 1fr auto; column-gap: 22px; align-items: center;
  }
  .audience-grid > .audience-card:last-child:nth-child(3n+1) .audience-icon { margin: 0; grid-row: 1 / span 2; }
  .audience-grid > .audience-card:last-child:nth-child(3n+1) h3 { margin: 0; align-self: end; }
  .audience-grid > .audience-card:last-child:nth-child(3n+1) p { margin: 4px 0 0; grid-column: 2; align-self: start; max-width: 720px; }
  .audience-grid > .audience-card:last-child:nth-child(3n+1) .card-link { grid-column: 3; grid-row: 1 / span 2; margin: 0; max-width: 220px; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .audience-grid > .audience-card:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
}
/* Callout: text and button side by side on desktop */
.platform-callout p { flex: 1 1 460px; }
.platform-callout .btn-teal { flex: 0 0 auto; }
/* Problem card icons readable on navy */
.gap-card-icon { color: rgba(255,255,255,.78); background: rgba(255,255,255,.1); }
/* Phone header: logo + menu button only; Contact Us lives in the drawer */
@media (max-width: 600px) {
  .nav-inner { padding: 0 16px; }
  .nav-logo img { height: 30px; }
  .nav-inner > .btn-contact { display: none; }
  .nav-mobile-toggle { margin-left: auto; padding: 8px; }
}
@media (max-width: 860px) {
  .nav-mobile-toggle { min-width: 44px; min-height: 44px; }
  .nav-inner > .btn-contact { margin-left: 8px; }
}

/* Review fixes, round 2 */
/* Footer sits at the bottom on short pages */
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
footer { flex-shrink: 0; }
/* Legal links readable */
.footer-bottom a { color: rgba(255,255,255,.68); }
.footer-bottom p { color: rgba(255,255,255,.62); }
/* Contact: keep the intro beside the long form while scrolling */
@media (min-width: 861px) { .contact-info { position: sticky; top: 100px; } }
.form-wrap textarea { height: 120px; min-height: 90px; }
/* Team: center an incomplete last row */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.team-grid > .team-card { flex: 0 1 calc((100% - 56px) / 3); }
@media (max-width: 900px) { .team-grid > .team-card { flex-basis: calc((100% - 28px) / 2); } }
/* Phones: compact horizontal team cards and a smaller stats row */
@media (max-width: 540px) {
  .team-grid { gap: 14px; }
  .team-grid > .team-card { flex-basis: 100%; flex-direction: row; text-align: left; align-items: center; gap: 16px; padding: 18px; }
  .team-card .team-avatar-link, .team-card > .team-avatar { flex-shrink: 0; }
  .team-card .team-avatar { width: 72px; height: 72px; margin: 0; font-size: 1.2rem; }
  .team-card .team-name { margin-bottom: 2px; }
  .team-card .team-title { margin-bottom: 8px; font-size: .74rem; }
  .team-card .team-linkedin { padding: 4px 10px; }
  .team-card .team-meta { display: flex; flex-direction: column; align-items: flex-start; }
  .stat-number { font-size: 1.7rem; }
  .stat-cell { padding: 22px 12px; }
}
.team-meta { display: flex; flex-direction: column; align-items: center; }
/* A page that is only a hero (thank-you, 404) fills the screen instead of leaving a white gap */
main:has(> .hero:only-child) { display: flex; flex-direction: column; }
main > .hero:only-child { flex: 1 0 auto; display: flex; align-items: center; }
main > .hero:only-child > .container { width: 100%; }
.footer-bottom .legal-links { display: inline-flex; gap: 6px 14px; flex-wrap: wrap; margin-right: 14px; }
.footer-bottom p:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
