/* ==========================================================================
   WeSolve — corporate navy theme
   Pure CSS, no JavaScript, no external assets. Light-first.
   ========================================================================== */

:root {
  --navy-900: #071d33;
  --navy-800: #0b2a4a;
  --navy-700: #10355c;
  --steel-600: #2f6fb0;
  --steel-500: #3b82c4;
  --steel-300: #5ba3e0;
  --tint-100: #eef4fb;
  --tint-050: #f6f9fc;

  --ink: #14202b;
  --muted: #566373;
  --muted-soft: #7b8794;
  --border: #e3e9f0;
  --white: #ffffff;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 74, .06), 0 1px 3px rgba(11, 42, 74, .05);
  --shadow-md: 0 10px 30px rgba(11, 42, 74, .10);
  --ring: 0 0 0 3px rgba(59, 130, 196, .35);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--steel-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; color: var(--navy-800); font-weight: 700; }
p { margin: 0 0 1rem; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--steel-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--steel-500); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: rgba(11,42,74,.22); }
.btn-ghost:hover { border-color: var(--navy-800); background: var(--tint-100); }
.btn-lg { padding: 17px 32px; font-size: 1.06rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; color: var(--navy-800); }
.brand:hover { text-decoration: none; }
.brand-logo { height: 34px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--navy-700); font-weight: 500; font-size: .98rem; }
.site-nav a:hover { color: var(--steel-600); text-decoration: none; }
.nav-cta {
  background: var(--navy-800); color: #fff !important; padding: 10px 18px; border-radius: 999px;
}
.nav-cta:hover { background: var(--navy-700); }

/* Mobile nav (pure CSS checkbox toggle) */
.nav-toggle { display: none; }
.nav-burger { display: none; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 78% -8%, rgba(59,130,196,.16), transparent 60%),
    radial-gradient(760px 380px at 8% 0%, rgba(11,42,74,.06), transparent 55%),
    var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-inner { padding: 96px 24px 88px; max-width: 900px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700;
  color: var(--steel-600); margin: 0 0 18px;
}
.eyebrow.center { text-align: center; }
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 700; letter-spacing: -.03em;
  margin-bottom: 22px;
}
.lede { font-size: clamp(1.06rem, 2vw, 1.28rem); color: var(--muted); max-width: 680px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; margin: 0; padding: 0;
}
.hero-badges li {
  font-size: .84rem; font-weight: 600; color: var(--navy-700);
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: 8px 15px; border-radius: 999px;
}
.hero-badges li::before { content: "✓"; color: var(--steel-600); font-weight: 700; margin-right: 7px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--tint-050); }
.section-navy {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(91,163,224,.20), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #dbe6f2;
}
.section-navy .eyebrow { color: var(--steel-300); }
.section-navy .section-title, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .section-intro { color: #b9c9db; }

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 16px; }
.section-title.center { text-align: center; }
.section-intro { color: var(--muted); font-size: 1.1rem; max-width: 720px; margin: 0 0 8px; }
.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; margin-bottom: 8px; }
.center { text-align: center; }

/* ---------- Service cards ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px;
}
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cddcec; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--tint-100); color: var(--steel-600); margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card-quiet { background: var(--tint-050); }

/* ---------- Approach ---------- */
.approach-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.check-list { list-style: none; margin: 26px 0 0; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 14px; color: #cfdcea; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--steel-300); border-bottom: 2.5px solid var(--steel-300);
  transform: rotate(-45deg);
}
.pillars { display: grid; gap: 16px; }
.pillar {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 22px 24px; display: flex; align-items: center; gap: 20px;
}
.pillar-k { font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: -.03em; flex: none; min-width: 72px; }
.pillar-v { color: #b9c9db; font-size: .96rem; }

/* ---------- Sectors ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.sector {
  border: 1px solid var(--border); border-left: 3px solid var(--steel-500);
  border-radius: var(--radius-sm); padding: 24px 22px; background: var(--white);
}
.sector h3 { font-size: 1.06rem; margin-bottom: 8px; color: var(--navy-800); }
.sector p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 52px; align-items: center; }
.about-portrait {
  aspect-ratio: 1; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  box-shadow: var(--shadow-md);
}
.monogram { font-size: 4.4rem; font-weight: 700; color: #fff; letter-spacing: -.03em; opacity: .95; }
.about-body p { color: var(--muted); }
.about-body .section-title { margin-bottom: 18px; }
.cred-list { list-style: none; padding: 0; margin: 22px 0 16px; display: grid; gap: 10px; }
.cred-list li { position: relative; padding-left: 26px; color: var(--ink); font-weight: 500; font-size: .97rem; }
.cred-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px;
  background: var(--steel-500); border-radius: 3px;
}
.langs { font-size: .92rem; color: var(--muted-soft); margin: 0; }

/* ---------- Contact ---------- */
.contact-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.contact-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 44px 0 40px; text-align: left;
}
.contact-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 24px 22px; color: #fff; display: block;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
a.contact-card:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); border-color: rgba(255,255,255,.3); text-decoration: none; }
.contact-static { cursor: default; }
.contact-label { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: var(--steel-300); margin-bottom: 10px; }
.contact-value { display: block; font-size: 1.06rem; font-weight: 600; color: #fff; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb2c6; padding: 56px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { height: 30px; width: auto; display: block; }
.footer-brand p { margin: 14px 0 0; max-width: 320px; font-size: .95rem; }
.footer-meta p { margin: 0 0 8px; font-size: .92rem; }
.footer-meta a { color: var(--steel-300); }
.footer-legal { padding-top: 22px; }
.footer-legal p { margin: 0; font-size: .86rem; color: #7d90a6; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid, .sector-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .about-portrait { width: 200px; margin: 0 auto; }
  .cred-list { display: inline-grid; text-align: left; }
}

@media (max-width: 720px) {
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin: -8px; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 20px; box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .25s ease, padding .25s ease, visibility 0s linear .25s;
  }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav-cta { text-align: center; margin-top: 12px; border-bottom: none !important; }
  .nav-toggle:checked ~ .site-nav {
    max-height: 380px; visibility: visible; transition: max-height .3s ease, visibility 0s;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .card-grid, .sector-grid, .contact-cards { grid-template-columns: 1fr; }
  .hero-inner { padding: 68px 24px 60px; }
  .section { padding: 64px 0; }
  .hero-actions .btn { flex: 1 1 auto; }
}

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