/* ===================================================================
   Kortech Technologies — Design System
   Palette:  Navy Deep #071427, Navy #0B1F3F, Navy Mid #12305C,
             Orange #F26B21, Ink #10192B, Slate #5B6472,
             Line #E4E8EC, Paper #FBFCFD
   Type:     Display — "Space Grotesk"  |  Body — "Inter"
=================================================================== */

:root{
  --navy-deep:#071427;
  --navy:#0B1F3F;
  --navy-mid:#12305C;
  --orange:#F26B21;
  --orange-light:#FF8A4C;
  --ink:#10192B;
  --slate:#5B6472;
  --slate-light:#8FA3BC;
  --line:#E4E8EC;
  --paper:#FBFCFD;
  --white:#FFFFFF;

  --font-display:'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  --font-body:'Inter', 'Segoe UI', Arial, sans-serif;

  --container:1160px;
  --radius:10px;
  --radius-sm:6px;
  --shadow-sm:0 2px 10px rgba(11,31,63,0.06);
  --shadow-md:0 10px 34px rgba(11,31,63,0.12);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--navy);
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.1rem,4.4vw,3.4rem); font-weight:700; }
h2{ font-size:clamp(1.6rem,2.6vw,2.3rem); font-weight:700; }
h3{ font-size:1.25rem; font-weight:600; }
p{ margin:0 0 1em; color:var(--slate); }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--orange);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-body); font-weight:700; font-size:.75rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--orange);
}
.eyebrow::before{ content:""; width:20px; height:2px; background:var(--orange); display:inline-block; }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-body); font-weight:600; font-size:.95rem;
  padding:13px 24px; border-radius:999px; border:1.5px solid transparent; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{ background:var(--orange); color:var(--white); }
.btn-primary:hover{ background:var(--orange-light); transform:translateY(-1px); box-shadow:0 8px 20px rgba(242,107,33,.28); }
.btn-ghost-dark{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.35); }
.btn-ghost-dark:hover{ border-color:var(--white); background:rgba(255,255,255,.08); }
.btn-ghost-light{ background:transparent; color:var(--navy); border-color:var(--line); }
.btn-ghost-light:hover{ border-color:var(--navy); background:var(--navy); color:var(--white); }
.btn-sm{ padding:9px 18px; font-size:.85rem; }

.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(11,31,63,.94);
  backdrop-filter:saturate(160%) blur(8px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:12px 24px; max-width:var(--container); margin:0 auto; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ width:40px; height:40px; border-radius:50%; }
.brand-word{ font-family:var(--font-display); font-weight:700; font-size:1.05rem; color:var(--white); letter-spacing:.01em; }
.brand-word span{ color:var(--orange); }

.nav-links{ display:flex; align-items:center; gap:26px; }
.nav-links a{ font-size:.86rem; font-weight:600; color:rgba(255,255,255,.82); padding:6px 2px; position:relative; }
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px;
  background:var(--orange); transform:scaleX(0); transform-origin:left; transition:transform .2s ease;
}
.nav-links a:hover{ color:var(--white); }
.nav-links a:hover::after, .nav-links a.active::after{ transform:scaleX(1); }
.nav-links a.active{ color:var(--white); }

.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:none; border:0; color:var(--white); font-size:1.5rem; cursor:pointer; padding:4px 8px; }

@media (max-width: 980px){
  .nav-links{
    position:fixed; inset:64px 0 auto 0; background:var(--navy);
    flex-direction:column; align-items:flex-start; gap:0;
    padding:8px 24px 20px; transform:translateY(-8px); opacity:0; pointer-events:none;
    transition:opacity .18s ease, transform .18s ease;
    border-bottom:1px solid rgba(255,255,255,.08);
    max-height:80vh; overflow-y:auto;
  }
  .nav-links.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .nav-links a{ width:100%; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.06); }
  .nav-toggle{ display:inline-block; }
  .nav-cta .btn-primary{ display:none; }
}

.hero{
  position:relative;
  background:linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color:var(--white); overflow:hidden;
}
.hero-pattern{ position:absolute; top:-40px; right:-60px; width:520px; height:390px; opacity:.9; pointer-events:none; }
.hero-pattern.flip{ top:auto; right:auto; bottom:-60px; left:-80px; transform:scaleX(-1) scaleY(-1); }
.hero-inner{ position:relative; z-index:1; padding:96px 24px 84px; max-width:var(--container); margin:0 auto; }
.hero-inner.compact{ padding:64px 24px 60px; }
.hero h1{ color:var(--white); max-width:820px; }
.hero h1 em{ font-style:normal; color:var(--orange); }
.hero-lead{ color:var(--slate-light); font-size:1.08rem; max-width:600px; margin-bottom:1.6em; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:2.2em; }
.hero-strip{ display:flex; flex-wrap:wrap; gap:10px; }
.hero-chip{
  border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.06);
  color:#EAF0F6; font-size:.78rem; font-weight:600; letter-spacing:.03em; padding:8px 16px; border-radius:999px;
}

.section{ padding:76px 0; }
.section-tight{ padding:52px 0; }
.section-head{ max-width:640px; margin-bottom:44px; }
.section-head p{ font-size:1.05rem; }
.bg-navy{ background:var(--navy); color:var(--white); }
.bg-navy h2, .bg-navy h3{ color:var(--white); }
.bg-navy p{ color:var(--slate-light); }
.bg-paper-alt{ background:#F4F6F9; }

.grid{ display:grid; gap:24px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; box-shadow:var(--shadow-sm);
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.card-icon{
  width:44px; height:44px; border-radius:11px; background:var(--navy);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
  color:var(--orange); font-family:var(--font-display); font-weight:700; font-size:.85rem;
}
.card h3{ margin-bottom:8px; }
.card p{ font-size:.94rem; margin-bottom:0; }
.card a.card-link{ display:inline-block; margin-top:14px; font-weight:700; font-size:.86rem; color:var(--orange); }
.card a.card-link:hover{ text-decoration:underline; }

.checklist li{ display:flex; align-items:flex-start; gap:10px; padding:8px 0; font-size:.96rem; color:var(--ink); }
.checklist li::before{
  content:"\2713"; color:var(--orange); font-weight:700; flex-shrink:0;
  width:20px; height:20px; border-radius:50%; background:rgba(242,107,33,.12);
  display:flex; align-items:center; justify-content:center; font-size:.72rem; margin-top:1px;
}
.bg-navy .checklist li{ color:#EAF0F6; }

.table-wrap{ overflow-x:auto; border-radius:var(--radius); border:1px solid var(--line); }
table{ width:100%; border-collapse:collapse; background:var(--white); min-width:520px; }
thead th{
  background:var(--navy); color:var(--white); text-align:left;
  font-family:var(--font-display); font-size:.82rem; letter-spacing:.03em; padding:14px 18px;
}
tbody td{ padding:14px 18px; border-top:1px solid var(--line); font-size:.92rem; color:var(--ink); }
tbody tr:nth-child(even){ background:#F8F9FB; }

.stats{ display:flex; flex-wrap:wrap; gap:36px; }
.stat b{ display:block; font-family:var(--font-display); font-size:2.1rem; color:var(--orange); }
.stat span{ color:var(--slate-light); font-size:.86rem; }

.cta-band{
  background:linear-gradient(135deg, var(--navy-mid), var(--navy-deep));
  border-radius:20px; padding:56px 44px; color:var(--white);
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-band h2{ color:var(--white); margin-bottom:.3em; }
.cta-band p{ color:var(--slate-light); margin-bottom:0; max-width:420px; }

.breadcrumb{ font-size:.82rem; color:var(--slate-light); margin-bottom:18px; }
.breadcrumb a{ color:var(--slate-light); }
.breadcrumb a:hover{ color:var(--white); text-decoration:underline; }

.site-footer{ background:var(--navy-deep); color:#B9C7DA; padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px; margin-bottom:40px; }
@media (max-width:800px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h4{ color:var(--white); font-family:var(--font-display); font-size:.85rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:16px; }
.footer-grid a{ display:block; color:#9FB0C2; font-size:.88rem; padding:5px 0; }
.footer-grid a:hover{ color:var(--white); }
.footer-brand p{ color:#8FA3BC; font-size:.88rem; max-width:280px; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08); padding-top:22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:.8rem; color:#7488A0;
}

.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:6px; margin-bottom:18px; }
.field label{ font-size:.84rem; font-weight:600; color:var(--navy); }
.field input, .field select, .field textarea{
  font-family:var(--font-body); font-size:.95rem; padding:12px 14px;
  border:1.5px solid var(--line); border-radius:var(--radius-sm); background:var(--white); color:var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--orange); outline:none; }
.field-full{ grid-column:1/-1; }
.form-note{ font-size:.82rem; color:var(--slate-light); margin-top:6px; }

.article-body{ max-width:720px; margin:0 auto; }
.article-body h2{ margin-top:1.6em; }
.article-body h3{ margin-top:1.3em; }
.article-body ul{ list-style:disc; padding-left:1.3em; margin-bottom:1.2em; }
.article-body li{ margin-bottom:.5em; color:var(--ink); }
.article-body p{ font-size:1.03rem; color:#2A2E38; }
.article-meta{ display:flex; gap:14px; align-items:center; color:var(--slate-light); font-size:.85rem; margin-bottom:8px; }
.article-callout{
  background:#F4F6F9; border-left:4px solid var(--orange); border-radius:6px;
  padding:18px 22px; margin:1.6em 0; font-size:.95rem;
}

.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.mb-0{ margin-bottom:0; }
.max-w{ max-width:640px; }
.skip-link{ position:absolute; left:-999px; top:auto; background:var(--orange); color:#fff; padding:10px 16px; z-index:200; }
.skip-link:focus{ left:16px; top:16px; }
