/* Base / Reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0f2135;
  background: #ffffff;
  line-height: 1.6;
}

:root{
  --ink: #0f2135;
  --ink-2:#354b66;
  --muted:#6a7e98;
  --brand:#123a63;
  --brand-2:#1f4d7f;
  --brand-3:#0b2542;
  --accent:#3ea0ff;
  --bg:#ffffff;
  --bg-alt:#f6f8fb;
  --border:#e3e9f2;
  --shadow: 0 10px 30px rgba(15,33,53,.08);
  --radius: 16px;
}

/* Utilities */
.container { width: min(1120px, 92%); margin: 0 auto; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.max-640 { max-width: 640px; margin: 0 auto 24px; }
.grid-2 { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
@media (max-width: 960px){ .grid-2 { grid-template-columns: 1fr; } }

h1,h2,h3,h4 { color: var(--ink); line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-size: 1.15rem; margin-top: 8px; }
p { margin: 0 0 14px; color: var(--ink-2); }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
address { font-style: normal; color: var(--ink-2); }

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border: 1px solid var(--brand);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); text-decoration: none; }
.btn-outline {
  background: transparent; color: var(--brand);
  border-color: var(--brand); box-shadow: none;
}
.btn-outline:hover { background: var(--brand); color:#fff; }
.btn-small { padding: 8px 14px; font-weight: 600; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 16px; top: 16px; width: auto; height: auto;
  padding: 10px 14px; background: #fff; border: 2px solid var(--brand); z-index: 1000;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display:flex; align-items:center; justify-content:space-between; min-height: 72px; gap: 16px; }
.brand { display:flex; align-items:center; gap: 10px; text-decoration:none; }
.brand-text { font-weight: 800; letter-spacing: .2px; color: var(--ink); font-size: 1.1rem; }
.brand-faint { color: var(--muted); font-weight: 700; }
.brand-mark { width: 28px; height: 28px; fill: url(#); }
.brand-mark rect { fill: var(--brand); }

/* Nav */
.nav { display:flex; align-items:center; gap: 22px; }
.nav a { color: var(--ink); font-weight: 600; }
.nav a:hover { color: var(--brand-2); text-decoration: none; }

/* Mobile nav (CSS-only) */
.nav-toggle { display:none; }
.nav-toggle-btn { display:none; width: 36px; height: 36px; cursor:pointer; position: relative; }
.nav-toggle-btn span {
  position:absolute; left:8px; right:8px; height:2px; background: var(--ink); border-radius:2px;
}
.nav-toggle-btn span:nth-child(1){ top: 10px; }
.nav-toggle-btn span:nth-child(2){ top: 17px; }
.nav-toggle-btn span:nth-child(3){ top: 24px; }

@media (max-width: 820px){
  .nav { position: absolute; top: 72px; right: 0; left: 0; background: #fff; border-bottom: 1px solid var(--border);
         transform: translateY(-120%); transition: transform .25s ease; padding: 16px 4%; gap: 14px; flex-direction: column; align-items: flex-start; }
  .nav a { padding: 10px 6px; }
  .nav-toggle-btn { display:block; }
  .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(2){ opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle:checked ~ .nav { transform: translateY(0); }
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(30,90,160,.12), transparent 60%),
    linear-gradient(180deg, #f9fbff 0%, #ffffff 60%);
  padding-top: 96px;
}
.hero-inner { display:grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 960px){ .hero-inner { grid-template-columns: 1fr; gap: 28px; } }

.subhead { font-size: 1.125rem; color: var(--ink); font-weight: 600; }
.intro { margin-top: 10px; }

.cred { display:flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 26px; color: var(--muted); }
.tag { background: #e7f0fb; color: var(--brand-2); padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.divider { color: #a6b6cc; }

.hero-cta { display:flex; gap: 12px; flex-wrap: wrap; }

/* Tighter hero spacing now that we show text on the right */
.hero-inner { 
  display: grid; 
  grid-template-columns: 1.1fr .9fr; 
  gap: 40px; 
  align-items: start; 
}
@media (max-width: 960px){ 
  .hero-inner { grid-template-columns: 1fr; gap: 24px; } 
}

/* Sector highlights (replace decorative tiles) */
.hero-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 720px){
  .hero-highlights { grid-template-columns: 1fr; }
}
.highlight {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
}
.highlight h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.highlight p {
  margin: 0;
  color: var(--ink-2);
}

/* (Optional) Slightly soften the hero background for readability */
.hero {
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(30,90,160,.08), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 60%);
}


/* Logos row */
.logos { display:flex; align-items:center; justify-content: space-between; gap: 16px; margin-top: 42px; }
.logo-pill {
  flex: 1 1 18%;
  height: 40px; border-radius: 999px;
  background: linear-gradient(180deg, #e9eff6, #dde7f4);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
@media (max-width: 680px){ .logos { gap: 10px; } .logo-pill{ height: 32px; } }

/* Cards / Asides */
.aside { display: grid; gap: 16px; }
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px 18px;
  box-shadow: var(--shadow);
}
.card.muted { background: #f9fbff; }
.quote { font-style: italic; color: var(--ink); margin-bottom: 6px; }
.quote-src { color: var(--muted); }

/* Values */
.values h3 { margin: 18px 0 8px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.chips li {
  padding: 8px 12px; background: #eef4fb; border: 1px solid var(--border);
  border-radius: 999px; font-weight: 600; color: var(--ink-2);
}

/* Services */
.services-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 1100px){ .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px){ .services-grid { grid-template-columns: repeat(2, 1fr); } }

.service {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; text-align: left; box-shadow: var(--shadow);
  min-height: 120px; display: grid; align-content: start; gap: 8px;
}
.service .icon { font-size: 24px; line-height: 1; }

/* Testimonials */
.testimonials {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
@media (max-width: 780px){ .testimonials { grid-template-columns: 1fr; } }

.t-card {
  margin: 0; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
}
.t-card blockquote { margin: 0 0 10px; color: var(--ink); }

/* Contact form */
.contact-form { display: grid; gap: 14px; max-width: 560px; }
.form-row { display:grid; gap: 6px; }
label { font-weight: 600; color: var(--ink); }
input, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px;
  background: #fff; font: inherit; color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid #bcd6ff; border-color: #bcd6ff; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #fafcff; }
.footer-inner { display:flex; align-items:center; justify-content: space-between; gap: 12px; padding: 20px 0; }
.footer-nav { display:flex; gap: 16px; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--brand-2); }

/* Ensure header CTA uses white text */
.nav .btn,
.nav .btn:link,
.nav .btn:visited {
  color: #fff !important;
}

/* Nice hover/active treatment */
.nav .btn:hover,
.nav .btn:focus {
  background: var(--brand-2);
  border-color: var(--brand-2);
  color: #fff !important;
  text-decoration: none;
}

.logo-pill {
  height: 28px;
  background: linear-gradient(180deg, #f3f6fb, #eef3f9);
  border: 1px solid #edf1f7;
  box-shadow: none;
  opacity: .85;
}
