@import url("/wp-content/themes/unicon/assests/css/footer.css");

:root {
      --blue:        #0C5C96;
      --blue-dark:   #094e82;
      --blue-light:  #1a6fad;
      --blue-pale:   #EAF3FB;
      --blue-pale-2: #D6EAF8;
      --beige:       #EAF3FB;
      --beige-mid:   #D6EAF8;
      --beige-dark:  #88a1b7;
      --beige-border:#e1e3e8;
      --text:        #1A1A2E;
      --text-soft:   #4A5568;
      --text-faint:  #8A94A6;
      --white:       #FFFFFF;
      --success:     #1A7F5A;
      --success-pale:#E6F4EE;

      --font-head: "Manrope", system-ui, sans-serif;
      --font-body: "Inter", system-ui, sans-serif;

      --max-w: 1160px;
      --header-h: 132px;
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 14px;
      --t: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
      --shadow-card: 0 8px 32px rgba(12, 92, 150, 0.10);
    }

    .wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }


    
    /* ─────────────────────────────────────────
       og_hero — left copy, right human image
    ───────────────────────────────────────── */
    .og_hero {
      background: var(--blue);
      overflow: hidden;
      position: relative;
    }
    /* subtle radial glows */
    .og_hero::before {
      content: ""; position: absolute; top: -120px; left: -120px;
      width: 500px; height: 500px; border-radius: 50%; pointer-events: none;
      background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 65%);
    }

    .og_hero-layout {
      display: grid;
      grid-template-columns: 1fr 400px;
      height: calc(100vh - var(--header-h));
      max-height: 760px;
      min-height: 540px;
      position: relative; z-index: 1;
    }
    @media (max-width: 960px) {
      .og_hero-layout { grid-template-columns: 1fr; height: auto; max-height: none; min-height: auto; }
    }

    /* left copy panel */
    .og_hero-copy {
      padding: clamp(2rem, 4vw, 3rem) 2rem clamp(2rem, 4vw, 3rem) max(24px, calc((100vw - var(--max-w)) / 2 + 24px));
      display: flex; flex-direction: column; justify-content: center;
      overflow: hidden;
    }
    @media (max-width: 1184px) {
      .og_hero-copy { padding-left: 24px; }
    }
    @media (max-width: 960px) {
      .og_hero-copy { padding: clamp(2.5rem, 5vw, 3.5rem) 24px; }
    }

    .og_hero-breadcrumb {
      display: flex; align-items: center; gap: 0.45rem;
      font-size: 0.78rem; color: rgba(255,255,255,0.5);
      margin-bottom: 0.85rem;
    }
    .og_hero-breadcrumb a { color: rgba(255,255,255,0.65); }
    .og_hero-breadcrumb a:hover { color: #fff; }
    .og_hero-breadcrumb-sep { opacity: 0.4; }

    .og_hero-eyebrow {
      display: inline-flex; align-items: center; gap: 0.5rem;
      font-family: var(--font-head); font-size: 0.62rem; font-weight: 800;
      letter-spacing: 0.18em; text-transform: uppercase;
      color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.22);
      padding: 5px 14px; border-radius: 99px; margin-bottom: 1.1rem;
      width: fit-content;
    }

    .og_hero h1 {
      font-family: var(--font-head); font-weight: 900;
      font-size: clamp(1.65rem, 3vw, 2.35rem);
      letter-spacing: -0.04em; line-height: 1.12;
      color: #fff; margin-bottom: 0.65rem; max-width: 32rem;
    }
    .og_hero h1 em { font-style: normal; color: #A8D8F0; }

    .og_hero-title-sep {
      width: 36px; height: 2px; background: rgba(168,216,240,0.55);
      border-radius: 2px; margin: 0.6rem 0;
    }
    .og_hero-h2 {
      font-family: var(--font-head); font-weight: 600;
      font-size: clamp(1.05rem, 1.8vw, 1.3rem);
      letter-spacing: -0.02em; line-height: 1.25;
      color: rgba(255,255,255,0.72); margin-bottom: 0.65rem;
    }
    .og_hero-kicker {
      font-size: 0.73rem; font-weight: 600; color: rgba(255,255,255,0.55);
      letter-spacing: 0.04em; margin-bottom: 0.85rem;
    }

    .og_hero-panels {
      display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem;
      margin-bottom: 1.1rem;
    }
    @media (max-width: 600px) { .og_hero-panels { grid-template-columns: 1fr; } }

    .og_hero-panel {
      padding: 0.8rem 1rem 0.9rem;
      border-radius: var(--radius-md);
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.16);
      border-top: 2px solid rgba(168, 216, 240, 0.5);
    }
    .og_hero-panel-title {
      font-family: var(--font-head); font-size: 0.68rem; font-weight: 800;
      letter-spacing: 0.08em; text-transform: uppercase;
      color: #A8D8F0; margin-bottom: 0.35rem;
    }
    .og_hero-panel ul {
      font-size: 0.8rem; color: rgba(255,255,255,0.82);
      padding-left: 1rem; line-height: 1.5;
    }
    .og_hero-panel li { margin-bottom: 0.25rem; }

    .og_hero-scope {
      display: flex; flex-wrap: wrap; gap: 0.3rem 0.45rem;
      margin-bottom: 1.1rem;
    }
    .og_hero-scope-chip {
      font-size: 0.7rem; font-weight: 500; color: rgba(255,255,255,0.55);
      background: rgba(0,0,0,0.18); border: 1px solid rgba(255,255,255,0.1);
      padding: 3px 9px; border-radius: 99px;
    }

    .og_hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
    .og_hero-btn-primary {
      display: inline-flex; align-items: center; gap: 7px;
      font-family: var(--font-body); font-size: 0.88rem; font-weight: 700;
      background: #fff; color: var(--blue);
      border: none; border-radius: var(--radius-sm);
      padding: 11px 22px; cursor: pointer;
      transition: background var(--t);
    }
    .og_hero-btn-primary:hover { background: var(--blue-pale); }
    .og_hero-btn-secondary {
      display: inline-flex; align-items: center; gap: 7px;
      font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
      background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9);
      border: 1.5px solid rgba(255,255,255,0.28); border-radius: var(--radius-sm);
      padding: 11px 22px; cursor: pointer;
      transition: background var(--t), border-color var(--t);
    }
    .og_hero-btn-secondary:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }

    /* right image panel */
    .og_hero-image-panel {
      position: relative; overflow: hidden;
      display: flex; align-items: flex-end;
      /* Ensure it fills the grid row height */
      min-height: 0;
    }
    @media (max-width: 960px) {
      .og_hero-image-panel {
        height: 280px;
        align-items: center;
      }
    }
    .og_hero-img {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover; object-position: 78% top;
      display: block;
    }
    /* gradient overlay so photo doesn't fight the copy on narrow screens */
    .og_hero-image-panel::before {
      content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
      background: linear-gradient(to right, rgba(12,92,150,0.4) 0%, transparent 45%);
    }
    @media (max-width: 960px) {
      .og_hero-image-panel::before {
        background: linear-gradient(to bottom, rgba(12,92,150,0.4) 0%, transparent 50%);
      }
    }

    /* og_hero stat strip sitting on top of image */
    .og_hero-stats {
      position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
      display: flex; gap: 0;
      background: rgba(9,78,130,0.88);
      backdrop-filter: blur(8px);
      border-top: 1px solid rgba(255,255,255,0.12);
    }
    @media (max-width: 960px) { .og_hero-stats { display: none; } }
    .og_hero-stat {
      flex: 1; padding: 10px 14px;
      border-right: 1px solid rgba(255,255,255,0.1);
      display: flex; flex-direction: column;
    }
    .og_hero-stat:last-child { border-right: none; }
    .og_hero-stat-num {
      font-family: var(--font-head); font-size: 1.25rem; font-weight: 900;
      color: #fff; letter-spacing: -0.04em; line-height: 1;
    }
    .og_hero-stat-label { font-size: 0.68rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

    /* ─────────────────────────────────────────
       SECTION CHROME
    ───────────────────────────────────────── */
    .section-eyebrow {
      display: inline-block;
      font-family: var(--font-head); font-size: 0.62rem; font-weight: 800;
      letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--blue); background: var(--blue-pale);
      border: 1px solid rgba(12, 92, 150, 0.15);
      padding: 4px 12px; border-radius: 99px; margin-bottom: 0.75rem;
    }
    .section-title {
      font-family: var(--font-head); font-size: clamp(1.5rem, 2.8vw, 2rem);
      font-weight: 900; letter-spacing: -0.04em; line-height: 1.14;
      color: var(--text); margin-bottom: 0.55rem;
    }
    .section-lead {
      font-size: 0.96rem; color: var(--text-soft); line-height: 1.65; max-width: 38rem;
    }

    /* ─────────────────────────────────────────
       CORE SERVICES — 3×2 grid (6 cards)
    ───────────────────────────────────────── */
    .services-section {
      padding: clamp(2.5rem, 5vw, 3.5rem) 0;
      background: var(--beige);
    }
    .section-header { margin-bottom: 1.5rem; }

    .services-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    @media (max-width: 900px) { .services-row { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 560px) { .services-row { grid-template-columns: 1fr; } }

    .svc-card {
      background: var(--white);
      border: 1.5px solid var(--beige-border);
      border-radius: var(--radius-lg);
      display: flex; flex-direction: column;
      transition: transform var(--t), box-shadow var(--t), border-color var(--t);
      text-decoration: none; color: inherit;
      overflow: hidden;
    }
    .svc-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-card);
      border-color: var(--blue);
    }

    .svc-card-head {
      padding: 1rem 1.25rem 0.8rem;
      background: linear-gradient(160deg, var(--blue-pale) 0%, var(--beige) 100%);
      border-bottom: 1px solid var(--beige-border);
    }
    .svc-icon-row {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 0.6rem;
    }
    .svc-icon {
      width: 36px; height: 36px; border-radius: var(--radius-md);
      background: var(--blue); display: flex; align-items: center; justify-content: center;
    }
    .svc-num {
      font-family: var(--font-head); font-size: 0.62rem; font-weight: 800;
      letter-spacing: 0.1em; color: var(--text-faint);
    }
    .svc-tag {
      display: inline-block;
      font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--blue); background: var(--white);
      border: 1px solid rgba(12, 92, 150, 0.18);
      padding: 2px 8px; border-radius: 99px; margin-bottom: 0.35rem;
    }
    .svc-title {
      font-family: var(--font-head); font-size: 0.97rem; font-weight: 800;
      letter-spacing: -0.03em; line-height: 1.2; color: var(--text);
    }

    .svc-card-body {
      padding: 0.85rem 1.25rem; flex: 1;
    }
    .svc-desc {
      font-size: 0.82rem; color: var(--text-soft); line-height: 1.6; margin-bottom: 0.75rem;
    }
    .svc-caps {
      display: flex; flex-direction: column; gap: 5px;
    }
    .svc-cap {
      display: flex; align-items: flex-start; gap: 0.55rem;
      font-size: 0.79rem; color: var(--text-soft); line-height: 1.4;
    }
    .svc-check {
      flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%;
      background: var(--blue-pale); border: 1.5px solid rgba(12, 92, 150, 0.2);
      display: flex; align-items: center; justify-content: center;
      margin-top: 2px;
    }

    .svc-card-foot {
      padding: 0.7rem 1.25rem;
      border-top: 1px solid var(--beige-border);
      display: flex; align-items: center; justify-content: space-between;
    }
    .svc-cta-label { font-size: 0.8rem; font-weight: 600; color: var(--blue); }
    .svc-arrow {
      width: 26px; height: 26px; border-radius: 50%;
      background: var(--blue-pale); border: 1px solid rgba(12, 92, 150, 0.15);
      display: flex; align-items: center; justify-content: center;
      transition: background var(--t), transform var(--t);
    }
    .svc-card:hover .svc-arrow { background: var(--blue); transform: translateX(3px); }
    .svc-card:hover .svc-arrow path { stroke: #fff; }

    /* ─────────────────────────────────────────
       FORMS & REPORTS CARDS
    ───────────────────────────────────────── */
    .forms-reports-section {
      padding: clamp(2.5rem, 5vw, 4rem) 0;
      background: var(--beige-mid);
      border-top: 1px solid var(--beige-border);
    }

    .fr-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
      margin-top: 1.75rem;
    }
    @media (max-width: 760px) { .fr-grid { grid-template-columns: 1fr; } }

    .fr-card {
      background: var(--white);
      border: 1.5px solid var(--beige-border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: transform var(--t), box-shadow var(--t), border-color var(--t);
      display: flex; flex-direction: column;
    }
    .fr-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-card);
      border-color: var(--blue);
    }

    .fr-card-head {
      padding: 1.25rem 1.5rem 1rem;
      background: linear-gradient(160deg, var(--blue-pale) 0%, var(--beige) 100%);
      border-bottom: 1px solid var(--beige-border);
      display: flex; align-items: center; gap: 0.85rem;
    }
    .fr-icon {
      width: 40px; height: 40px; border-radius: var(--radius-md);
      background: var(--blue); display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .fr-head-text {}
    .fr-tag {
      font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--blue); display: block; margin-bottom: 2px;
    }
    .fr-title {
      font-family: var(--font-head); font-size: 1.05rem; font-weight: 800;
      letter-spacing: -0.03em; color: var(--text); line-height: 1.2;
    }

    .fr-card-body {
      padding: 1.15rem 1.5rem 1.25rem;
      flex: 1;
    }
    .fr-desc {
      font-size: 0.88rem; color: var(--text-soft); line-height: 1.65; margin-bottom: 1rem;
    }

    .fr-paths {
      display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
    }
    .fr-path {
      border-radius: var(--radius-md); padding: 0.9rem 1rem;
    }
    .fr-path--stay {
      background: var(--blue-pale); border: 1px solid rgba(12,92,150,0.15);
    }
    .fr-path--modernize {
      background: var(--success-pale); border: 1px solid rgba(26,127,90,0.15);
    }
    .fr-path-label {
      font-family: var(--font-head); font-size: 0.58rem; font-weight: 800;
      letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.35rem;
    }
    .fr-path--stay .fr-path-label { color: var(--blue); }
    .fr-path--modernize .fr-path-label { color: var(--success); }
    .fr-path-items { display: flex; flex-direction: column; gap: 4px; }
    .fr-path-item {
      font-size: 0.8rem; color: var(--text-soft); line-height: 1.4;
      display: flex; align-items: flex-start; gap: 0.45rem;
    }
    .fr-path-dot {
      flex-shrink: 0; width: 4px; height: 4px; border-radius: 50%; margin-top: 6px;
    }
    .fr-path--stay .fr-path-dot { background: var(--blue); }
    .fr-path--modernize .fr-path-dot { background: var(--success); }
    .fr-tool-badge {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: 0.65rem; font-weight: 700;
      padding: 3px 8px; border-radius: 99px;
      margin-top: 0.55rem;
    }
    .fr-path--modernize .fr-tool-badge { background: var(--success); color: #fff; }
    .fr-card-foot {
      padding: 1rem 1.35rem 1.25rem;
      border-top: 1px solid var(--beige-border);
      display: flex; gap: 0.6rem; flex-wrap: wrap;
    }
    .fr-cta-btn {
      display: inline-flex; align-items: center;
      font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
      border-radius: var(--radius-sm); padding: 8px 16px;
      cursor: pointer; transition: background var(--t), color var(--t);
      text-decoration: none; white-space: nowrap;
    }
    .fr-cta-btn--primary { background: var(--blue); color: #fff; border: 1.5px solid var(--blue); }
    .fr-cta-btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
    .fr-cta-btn--ghost { background: transparent; color: var(--blue); border: 1.5px solid rgba(12,92,150,0.35); }
    .fr-cta-btn--ghost:hover { background: var(--blue-pale); border-color: var(--blue); }

    /* ─────────────────────────────────────────
       TOOLS STRIP
    ───────────────────────────────────────── */
    .tools-section {
      background: #0D1B2A;
      padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    }
    .tools-inner {
      display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
    }
    @media (max-width: 760px) { .tools-inner { grid-template-columns: 1fr; gap: 1.5rem; } }

    .tools-copy h2 {
      font-family: var(--font-head); font-size: clamp(1.35rem, 2.6vw, 1.85rem);
      font-weight: 900; letter-spacing: -0.04em; color: #fff; margin-bottom: 0.55rem;
    }
    .tools-copy p { font-size: 0.9rem; color: rgba(255,255,255,0.68); line-height: 1.65; }

    .tools-list { display: flex; flex-direction: column; gap: 0.7rem; }
    .tool-row {
      display: flex; align-items: flex-start; gap: 1rem;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: var(--radius-md); padding: 0.85rem 1.1rem;
    }
    .tool-badge {
      flex-shrink: 0; font-family: var(--font-head); font-size: 0.62rem; font-weight: 900;
      letter-spacing: 0.06em; text-transform: uppercase;
      background: rgba(255,255,255,0.14); color: #fff;
      border: 1px solid rgba(255,255,255,0.22);
      padding: 4px 9px; border-radius: 6px; white-space: nowrap;
    }
    .tool-name { font-family: var(--font-head); font-size: 0.86rem; font-weight: 700; color: #fff; margin-bottom: 1px; }
    .tool-desc { font-size: 0.78rem; color: rgba(255,255,255,0.58); line-height: 1.5; }

    /* ── FEATURED CASE STUDIES ── */
    .cs-section{padding:clamp(3rem,6vw,4.5rem) 0;background:var(--white);border-top:1px solid var(--beige-border);}
    .cs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-top:2rem;}
    @media(max-width:1100px){.cs-grid{grid-template-columns:repeat(2,1fr);}}
    @media(max-width:640px){.cs-grid{grid-template-columns:1fr;}}
    .cs-card{background:var(--white);border:1.5px solid var(--beige-border);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow var(--t),transform var(--t);}
    .cs-card:hover{box-shadow:0 16px 48px rgba(12,92,150,0.13);transform:translateY(-3px);}
    .cs-img{width:100%;height:170px;object-fit:cover;display:block;}
    .cs-img-placeholder{width:100%;height:170px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;}
    .cs-body{padding:1.2rem 1.2rem 1.4rem;display:flex;flex-direction:column;flex:1;}
    .cs-region{font-size:.58rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--text-faint);margin-bottom:.5rem;}
    .cs-client-type{display:inline-block;font-size:.62rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;background:var(--blue-pale);color:var(--blue);border:1px solid rgba(12,92,150,.15);padding:3px 9px;border-radius:99px;margin-bottom:.65rem;}
    .cs-title{font-family:var(--font-head);font-size:.92rem;font-weight:800;letter-spacing:-.02em;color:var(--text);line-height:1.28;margin-bottom:.5rem;}
    .cs-excerpt{font-size:.79rem;color:var(--text-soft);line-height:1.55;margin-bottom:.9rem;flex:1;}
    .cs-link{display:inline-flex;align-items:center;gap:6px;font-size:.79rem;font-weight:700;color:var(--blue);text-decoration:none;margin-top:auto;}

    /* ── ENGAGEMENT MODELS ── */
    .engagement-section { padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--white); border-top: 1px solid var(--beige-border); }
    .engagement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
    @media (max-width: 860px) { .engagement-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }
    @media (min-width: 560px) and (max-width: 860px) { .engagement-grid { grid-template-columns: repeat(2, 1fr); max-width: none; } }
    .eng-card { background: var(--beige); border: 1.5px solid var(--beige-border); border-radius: var(--radius-lg); padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1rem; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
    .eng-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(12,92,150,0.1); border-color: var(--blue); }
    .eng-icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .eng-tag { display: inline-block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); background: var(--blue-pale); border: 1px solid rgba(12,92,150,0.15); padding: 3px 9px; border-radius: 99px; width: fit-content; }
    .eng-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; color: var(--text); }
    .eng-desc { font-size: 0.88rem; color: var(--text-soft); line-height: 1.65; }
    .eng-points { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
    .eng-point { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.82rem; color: var(--text-soft); line-height: 1.45; }
    .eng-check { flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-pale); border: 1.5px solid rgba(12,92,150,0.2); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
