/* ============================================================
   American Servco, Inc (ASI) — site stylesheet
   Recovered brand: Navy #2D4574 · Blue #196BB5
   Head font: Work Sans · Body font: Source Sans 3
   Change a token below to restyle the whole site.
   ============================================================ */
:root{
  --navy:#2D4574;
  --blue:#196BB5;
  --blue-dark:#155a99;
  --ink:#1a1a1a;
  --muted:#5a6473;
  --line:#e4e8ef;
  --bg:#ffffff;
  --bg-alt:#f5f7fa;
  --head:"Work Sans", sans-serif;
  --body:"Source Sans 3", "Source Sans Pro", sans-serif;
  --wrap:1140px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;font-family:var(--body);color:var(--ink);background:var(--bg);line-height:1.6;font-size:18px;}
h1,h2,h3,h4{font-family:var(--head);color:var(--navy);font-weight:700;line-height:1.2;margin:0 0 .5em;}
h1{font-size:clamp(2rem,4vw,3.1rem);}
h2{font-size:clamp(1.6rem,3vw,2.4rem);}
h3{font-size:1.25rem;}
p{margin:0 0 1.1em;}
a{color:var(--blue);text-decoration:none;}
a:hover{text-decoration:underline;}
img{display:block;max-width:100%;height:auto;}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px;}
.section{padding:80px 0;}
.section--alt{background:var(--bg-alt);}
.section--navy{background:var(--navy);color:#fff;}
.section--navy h2{color:#fff;}
.center{text-align:center;}
.lead{font-size:1.25rem;color:var(--muted);max-width:760px;margin:0 auto 1.5em;}
.eyebrow{font-family:var(--head);font-weight:600;text-transform:uppercase;letter-spacing:1.5px;
         font-size:.8rem;color:var(--blue);margin-bottom:10px;}

/* Buttons */
.btn{display:inline-block;font-family:var(--head);font-weight:600;font-size:1rem;
     padding:14px 30px;border-radius:4px;cursor:pointer;border:2px solid transparent;transition:.15s;}
.btn--primary{background:var(--blue);color:#fff;}
.btn--primary:hover{background:var(--blue-dark);text-decoration:none;color:#fff;}
.btn--ghost{background:transparent;color:#fff;border-color:#fff;}
.btn--ghost:hover{background:#fff;color:var(--navy);text-decoration:none;}
.btn--outline{background:transparent;color:var(--navy);border-color:var(--navy);}
.btn--outline:hover{background:var(--navy);color:#fff;text-decoration:none;}

/* Header / nav */
header.site{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line);}
.nav{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;max-width:var(--wrap);margin:0 auto;}
.nav .brand{display:flex;align-items:center;gap:10px;}
.nav .brand img{height:42px;width:auto;}
.nav ul{display:flex;gap:26px;list-style:none;margin:0;padding:0;align-items:center;}
.nav a.navlink{font-family:var(--head);font-weight:600;color:var(--navy);font-size:.9rem;text-transform:uppercase;letter-spacing:.5px;}
.nav a.navlink:hover{color:var(--blue);text-decoration:none;}
.nav a.navlink.active{color:var(--blue);}
.nav .btn{padding:10px 22px;color:#fff;}
.nav .btn:hover{color:#fff;}
.navtoggle{display:none;background:none;border:0;font-size:1.6rem;color:var(--navy);cursor:pointer;}

/* Hero */
.hero{position:relative;color:#fff;text-align:center;
      background:linear-gradient(rgba(20,35,66,.72),rgba(20,35,66,.72)), url('../images/hero.jpg') center/cover;
      min-height:70vh;display:flex;align-items:center;}
.hero h1{color:#fff;}
.hero p{font-size:1.35rem;max-width:720px;margin:0 auto 2em;color:#eef2f8;}
.hero .cta-row{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}

/* Page banner (subpages) */
.banner{background:var(--navy);color:#fff;text-align:center;padding:70px 0;}
.banner h1{color:#fff;margin:0;}
.banner p{color:#cdd6e6;max-width:640px;margin:12px auto 0;font-size:1.15rem;}

/* Grids */
.grid{display:grid;gap:32px;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-2{grid-template-columns:1.1fr .9fr;align-items:center;gap:56px;}
.grid-2.rev{grid-template-columns:.9fr 1.1fr;}
.card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:32px;}
.card.center{text-align:center;}
.icon{width:64px;height:64px;border-radius:50%;background:var(--bg-alt);display:flex;
      align-items:center;justify-content:center;margin-bottom:16px;color:var(--blue);}
.icon img{width:34px;height:34px;}
.icon svg{width:32px;height:32px;}
.card.center .icon{margin-left:auto;margin-right:auto;}

/* Media figure */
.figure{border-radius:8px;overflow:hidden;box-shadow:0 12px 30px rgba(20,35,66,.12);}
.figure img{width:100%;height:100%;object-fit:cover;display:block;}

/* Quote band */
.quote{background:var(--navy);color:#fff;text-align:center;padding:70px 0;}
.quote blockquote{font-family:var(--head);font-weight:700;font-size:clamp(1.5rem,3vw,2.2rem);
      max-width:820px;margin:0 auto;line-height:1.3;}

/* Stats */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;text-align:center;}
.stats .num{font-family:var(--head);font-weight:700;color:var(--blue);font-size:2.6rem;line-height:1;}
.stats .lbl{color:var(--muted);font-size:1rem;margin-top:6px;}

/* Checklist */
.checklist{list-style:none;padding:0;margin:0;}
.checklist li{position:relative;padding:8px 0 8px 34px;}
.checklist li::before{content:"";position:absolute;left:0;top:14px;width:18px;height:18px;border-radius:50%;
      background:var(--blue);
      -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.4-1.4z'/></svg>") center/70% no-repeat;
      mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.4-1.4z'/></svg>") center/70% no-repeat;}

/* Contact form */
.form{display:grid;gap:16px;max-width:560px;margin:0 auto;}
.form.two{grid-template-columns:1fr 1fr;}
.form.two .full{grid-column:1 / -1;}
.form input,.form textarea{width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:4px;
      font-family:var(--body);font-size:1rem;background:#fff;}
.form textarea{min-height:120px;resize:vertical;}
.form button[disabled]{opacity:.7;cursor:wait;}
/* Spam trap - must stay invisible to people (not display:none, which some bots skip) */
.form .hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
.form-status{margin:0;font-weight:600;}
.form-status:empty{display:none;}
.form-status--ok{color:#1e7b3a;}
.form-status--error{color:#b3261e;}

/* Footer */
footer.site{background:var(--navy);color:#cdd6e6;padding:56px 0 28px;}
footer.site .cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;margin-bottom:36px;}
footer.site h4{color:#fff;font-size:1.1rem;margin-bottom:14px;}
footer.site a{color:#cdd6e6;}
footer.site a:hover{color:#fff;}
.foot-logo{margin-bottom:12px;}
.foot-logo img{height:40px;filter:brightness(0) invert(1);}
.foot-bottom{border-top:1px solid rgba(255,255,255,.15);padding-top:20px;font-size:.9rem;
      display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;}

@media(max-width:860px){
  .grid-3{grid-template-columns:1fr;}
  .grid-2,.grid-2.rev{grid-template-columns:1fr;gap:32px;}
  .stats{grid-template-columns:1fr;}
  .form.two{grid-template-columns:1fr;}
  footer.site .cols{grid-template-columns:1fr;}
  .nav ul{display:none;flex-direction:column;position:absolute;top:66px;left:0;right:0;background:#fff;
          border-bottom:1px solid var(--line);padding:16px 24px;gap:14px;align-items:flex-start;}
  .nav ul.open{display:flex;}
  .navtoggle{display:block;}
}
