/* Brand typefaces — same font files used by the original site.
     Paths are relative to this file; keep a /fonts folder next to it
     (or adjust the url()s below to match where you place the files). */
  @font-face{
    font-family:'GothamBold';
    src:url('../fonts/GothamBold.eot');
    src:local('GothamBold'),
        url('../fonts/GothamBold.woff') format('woff'),
        url('../fonts/GothamBold.ttf') format('truetype');
    font-weight:700;
    font-style:normal;
    font-display:swap;
  }
  @font-face{
    font-family:'GothamBook';
    src:url('../fonts/GothamBook.eot');
    src:local('GothamBook'),
        url('../fonts/GothamBook.otf') format('opentype');
    font-weight:400;
    font-style:normal;
    font-display:swap;
  }

  /* ======================================================
     Design tokens — derived from the Navex logo
     navy   : dome  #0A3D62
     gold   : band  #D3B27A
     teal   : wave  #1B87A6
     ====================================================== */
  :root{
    --navy:        #0a3d62;
    --navy-dark:   #06263f;
    --gold:        #d3b27a;
    --gold-dark:   #b7955c;
    --teal:        #1b87a6;
    --teal-light:  #3aa7c4;
    --bg:          #f6f8fa;
    --surface:     #ffffff;
    --text:        #1c2b3a;
    --text-muted:  #4c6178;
    --border:      #e1e8ee;
    --radius:      10px;
    --maxw:        1160px;
    --font-head:   "GothamBold", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-body:   "GothamBook", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  }

  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    margin:0;
    font-family:var(--font-body);
    color:var(--text);
    background:var(--bg);
    line-height:1.6;
  }
  img{ max-width:100%; display:block; }
  a{ color:inherit; }

  .wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

  /* Skip link for keyboard users */
  .skip-link{
    position:absolute; left:-999px; top:0; background:var(--navy); color:#fff;
    padding:10px 16px; z-index:200; border-radius:0 0 6px 0;
  }
  .skip-link:focus{ left:0; }

  /* ---------- Header / Nav ---------- */
  header{
    position:sticky; top:0; z-index:100;
    background:rgba(255,255,255,0.96);
    backdrop-filter:saturate(180%) blur(6px);
    border-bottom:1px solid var(--border);
  }
  .navbar{
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 24px;
  }
  .brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
  .brand img{ height:60px; width:auto; }

  nav.main-nav ul{
    list-style:none; display:flex; gap:8px; margin:0; padding:0;
  }
  nav.main-nav a{
    text-decoration:none; text-transform:uppercase; letter-spacing:.04em;
    font-size:14px; font-weight:600; color:var(--navy);
    padding:10px 14px; border-radius:6px; transition:background .15s ease, color .15s ease;
  }
  nav.main-nav a:hover, nav.main-nav a:focus-visible{
    background:var(--navy); color:#fff; outline:none;
  }

  .nav-toggle{
    display:none; background:none; border:0; cursor:pointer; padding:8px;
    width:44px; height:44px; position:relative;
  }
  .nav-toggle span{
    display:block; position:absolute; left:8px; right:8px; height:2px;
    background:var(--navy); transition:transform .2s ease, opacity .2s ease;
  }
  .nav-toggle span:nth-child(1){ top:14px; }
  .nav-toggle span:nth-child(2){ top:21px; }
  .nav-toggle span:nth-child(3){ top:28px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

  @media (max-width: 860px){
    .nav-toggle{ display:block; }
    nav.main-nav{
      position:fixed; inset:74px 0 auto 0; background:#fff;
      border-bottom:1px solid var(--border);
      transform:translateY(-10px); opacity:0; pointer-events:none;
      transition:opacity .18s ease, transform .18s ease;
    }
    nav.main-nav.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
    nav.main-nav ul{ flex-direction:column; padding:12px 24px 20px; gap:2px; }
    nav.main-nav a{ display:block; padding:14px 10px; }
  }

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    min-height:78vh;
    display:flex; align-items:flex-end;
    background:linear-gradient(180deg, rgba(6,38,63,.55) 0%, rgba(6,38,63,.78) 100%),
               url('../images/main_photo.jpg') center/cover no-repeat;
    color:#fff;
  }
  .hero-inner{ padding:80px 24px 90px; max-width:var(--maxw); margin:0 auto; width:100%; }
  .hero-eyebrow{
    text-transform:uppercase; letter-spacing:.14em; font-size:13px; font-weight:700;
    color:var(--gold);
  }
  .hero h1{
    font-family:var(--font-head);
    font-weight:700; font-size:clamp(32px, 5vw, 56px);
    margin:14px 0 16px; line-height:1.08;
  }
  .hero p{ max-width:560px; font-size:18px; color:#e7eef4; }
  .hero-cta{
    display:inline-block; margin-top:26px; background:var(--teal); color:#fff;
    text-decoration:none; padding:14px 26px; border-radius:6px; font-weight:700;
    letter-spacing:.03em; transition:background .15s ease;
  }
  .hero-cta:hover{ background:var(--teal-light); }

  /* signature wave divider — echoes the logo's swoosh */
  .wave{ position:absolute; bottom:0; left:0; display:block; width:100%; line-height:0;  }
  .wave svg{ width:100%; height:64px; display:block; }

  /* ---------- Sections ---------- */
  section{ padding:72px 0; }
  section + section{ border-top:1px solid var(--border); }
  .eyebrow{
    text-transform:uppercase; letter-spacing:.12em; font-size:13px; font-weight:700;
    color:var(--teal); margin:0 0 8px;
  }
  h2{
    font-family:var(--font-head); font-weight:700; font-size:clamp(24px,3vw,34px);
    color:var(--navy); margin:0 0 22px;
  }
  h3{
    font-family:var(--font-head); font-weight:700; font-size:20px; color:var(--navy);
    margin:0 0 10px;
  }
  p{ color:var(--text-muted); margin:0 0 14px; }

  .grid-2{
    display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
  }
  .grid-2.reverse .media{ order:2; }
  @media (max-width: 820px){
    .grid-2{ grid-template-columns:1fr; gap:28px; }
    .grid-2.reverse .media{ order:0; }
  }
  .media img{ border-radius:var(--radius); }
  .media.stack{ display:grid; gap:16px; }

  .features{ list-style:none; margin:20px 0 0; padding:0; display:grid; gap:10px; }
  .features li{
    display:flex; align-items:flex-start; gap:12px; color:var(--text);
    font-size:15px;
  }
  .features li::before{
    content:""; width:9px; height:9px; margin-top:7px; flex:0 0 auto;
    background:var(--gold); border-radius:2px;
  }

  /* Services */
  .service{
    display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center;
    padding:36px 0;
  }
  .service + .service{ border-top:1px solid var(--border); }
  .service.reverse .service-media{ order:2; }
  @media (max-width: 820px){
    .service{ grid-template-columns:1fr; gap:20px; }
    .service.reverse .service-media{ order:0; }
  }
  .service-media img{ border-radius:var(--radius); min-height: 250px;  }

  /* ---------- Footer ---------- */
  footer{ background:var(--navy-dark); color:#dce6ee; }
  .footer-top{
    display:flex; align-items:center; justify-content:space-between; gap:20px;
    flex-wrap:wrap; padding-top:56px;
  }
  .footer-top h2{ color:#fff; margin:0; }
  .footer-top img{ height:70px; }

  .contact-block{
    display:grid; gap:14px; margin:28px 0 40px;
  }
  .contact-line{ display:flex; gap:12px; align-items:flex-start; }
  .contact-line .icon{
    flex:0 0 auto; width:20px; height:20px; margin-top:2px; color:var(--gold);
  }
  .contact-grid{
    display:grid; grid-template-columns:1fr 1fr; gap:10px 32px;
  }
  @media (max-width:700px){ .contact-grid{ grid-template-columns:1fr; } }
  footer a{ text-decoration:none; color:#fff; }
  footer a:hover{ text-decoration:underline; }

  .legal{
    border-top:1px solid rgba(255,255,255,.12);
    padding:22px 0; text-align:center; font-size:13px; color:#a9bdcd;
  }
  .legal a{ color:#a9bdcd; }
  .legal a:hover{ color:#fff; }

  /* Accessibility: visible focus ring everywhere */
  a:focus-visible, button:focus-visible{
    outline:3px solid var(--teal-light); outline-offset:2px;
  }

  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    *{ transition:none !important; }
  }
  
  #img_about{ width:100%; }

  /* Hero section override — replaces the former inline style="padding:0; border:0;" */
  .hero-flush{ padding:0; border:0; }