/* ============================================================
   Ajix Intel Consulting — shared styles
   Brand palette derived from logo:
     navy   #1B2A4A / #16233d
     teal   #1F9AA6 (accent primary)
     orange #E8802B (accent secondary)
   ============================================================ */

:root {
  --navy:       #16233d;
  --navy-2:     #1B2A4A;
  --teal:       #1F9AA6;
  --teal-dark:  #17798a;
  --orange:     #E8802B;
  --ink:        #1a2233;
  --body:       #44506b;
  --muted:      #6b7690;
  --line:       #e4e8f0;
  --bg:         #ffffff;
  --bg-soft:    #f6f8fb;
  --bg-navy:    #16233d;
  --radius:     14px;
  --shadow:     0 10px 30px rgba(22,35,61,.08);
  --shadow-lg:  0 24px 60px rgba(22,35,61,.14);
  --maxw:       1140px;
  --font:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif:      "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; font-weight: 700; letter-spacing: -.01em; }
h1 { font-family: var(--serif); font-weight: 600; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--bg-navy); color: #cdd6e6; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-head p { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-weight: 600; font-size: .98rem; padding: 13px 26px; border-radius: 999px;
  border: 1.5px solid transparent; transition: .18s ease; white-space: nowrap;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.btn--accent { background: var(--orange); color: #fff; }
.btn--accent:hover { background: #cf6d1d; color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--teal); color: var(--teal-dark); }

/* header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-dark); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.5rem; color: var(--navy); }

/* hero */
.hero { background: linear-gradient(160deg, #12213d 0%, #1B2A4A 55%, #17798a 130%); color: #dbe4f2; overflow: hidden; position: relative; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(31,154,166,.35), transparent 62%); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 100px; }
.hero-inner { max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.hero .tagline { color: var(--teal); font-weight: 600; letter-spacing: .02em; margin-bottom: 18px; font-size: 1.05rem; }
.hero p.lead { margin: 22px 0 34px; font-size: 1.18rem; color: #c2cee1; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* cards / grid */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow); transition: .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d6deea; }
.card .ic {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(31,154,166,.12); color: var(--teal-dark); margin-bottom: 16px; font-size: 1.35rem;
}
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }

/* checklist */
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; color: var(--body); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center;
}
.check-list--accent li::before { background: var(--orange); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: 2.6rem; color: #fff; font-weight: 600; }
.stat .lbl { color: #9fb0cc; font-size: .95rem; margin-top: 4px; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.split p + p { margin-top: 14px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--teal-dark), var(--teal)); color: #fff; border-radius: 20px; padding: 52px 48px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: #e4f5f7; margin: 12px auto 26px; max-width: 560px; }

/* contact / form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: .15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,154,166,.15);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-detail .ic { width: 42px; height: 42px; border-radius: 10px; background: rgba(31,154,166,.12); color: var(--teal-dark); display: grid; place-items: center; flex: none; }
.contact-detail h4 { font-size: 1rem; margin-bottom: 2px; }
.contact-detail a, .contact-detail p { color: var(--muted); font-size: .97rem; }

/* footer */
.site-footer { background: var(--navy); color: #9fb0cc; padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 16px; background: #fff; padding: 10px 14px; border-radius: 10px; }
.footer-brand p { color: #8595b4; font-size: .95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #9fb0cc; font-size: .95rem; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; color: #7383a3; }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(160deg, #12213d, #1B2A4A); color: #dbe4f2; padding: 72px 0 64px; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero p { color: #b9c6dc; max-width: 620px; margin: 14px auto 0; font-size: 1.1rem; }
.breadcrumb { color: var(--teal); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }

/* utility */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.reveal { opacity: 0; transform: translateY(18px); transition: .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 860px) {
  .grid-3, .grid-2, .split, .contact-grid, .footer-top, .stats { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column;
    padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-140%); transition: .28s ease; z-index: 40;
  }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .section { padding: 60px 0; }
  .cta-band { padding: 40px 24px; }
}
