:root {
  --navy: #0B1F3A;
  --navy-soft: #14315c;
  --slate: #4A6382;
  --slate-light: #B9C6D6;
  --bg: #ffffff;
  --bg-alt: #F5F7FA;
  --text: #1A2333;
  --text-muted: #5B6B80;
  --border: #E2E8F0;
  --max: 1100px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

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

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.nav .logo img { height: 34px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 24px 26px;
    display: none;
    box-shadow: 0 12px 24px rgba(11,31,58,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; text-align: center; }
}

.nav-links a.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a.nav-link:hover { color: var(--navy); }

.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}
.lang-switch a {
  padding: 4px 9px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-muted);
}
.lang-switch a.active {
  background: var(--navy);
  color: #fff;
}

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(11,31,58,0.25); }
.btn-ghost {
  border: 1.5px solid var(--border);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--navy); }

/* Hero */
.hero {
  padding-block: 120px 100px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../img/hero-cac-night.jpg');
  background-size: cover;
  background-position: 62% 55%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(11,31,58,0.95) 0%, rgba(11,31,58,0.88) 38%, rgba(11,31,58,0.6) 68%, rgba(11,31,58,0.3) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero .eyebrow {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #d7e3f3;
}
.hero h1 { color: #fff; }
.hero p.lead { color: var(--slate-light); }
.hero .btn-primary { background: #fff; color: var(--navy); }
.hero .btn-primary:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.hero .btn-ghost { border-color: rgba(255,255,255,0.45); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2fae66;
  box-shadow: 0 0 0 3px rgba(47,174,102,0.18);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
  margin: 0 0 22px 0;
  letter-spacing: -0.01em;
}
.hero p.lead {
  font-size: 18px;
  margin: 0 0 34px 0;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
section { padding-block: 76px; }
section.alt { background: var(--bg-alt); }

.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  color: var(--navy);
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--text-muted); font-size: 16px; margin: 0; }

/* Feature grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 800px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.card .icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.card .icon svg { width: 20px; height: 20px; stroke: #fff; }
.card h3 { font-size: 16.5px; margin: 0; color: var(--navy); }
.card p { font-size: 14.5px; color: var(--text-muted); margin: 0; }

/* Pillars (approach / how we work) */
.pillars-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 52px 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
@media (max-width: 800px) {
  .pillars-panel { grid-template-columns: 1fr; padding: 36px 26px; }
}
.pillar-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.pillar .icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.pillar .icon svg { width: 22px; height: 22px; stroke: #fff; }
.pillar h3 { font-size: 17px; margin: 0; color: #fff; }
.pillar p { font-size: 14.5px; color: var(--slate-light); margin: 0; line-height: 1.6; }

/* Case study */
.case-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) {
  .case-panel { grid-template-columns: 1fr; padding: 32px 24px; }
}
.case-panel .status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: #9fe8bb;
  margin-bottom: 18px;
}
.case-panel .status .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #35d17a;
  box-shadow: 0 0 0 4px rgba(53,209,122,0.2);
}
.case-panel h3 { font-size: 24px; margin: 0 0 14px 0; }
.case-panel p { color: var(--slate-light); font-size: 15px; margin: 0 0 20px 0; }
.case-panel .stat-row { display: flex; gap: 28px; flex-wrap: wrap; }
.case-panel .stat { }
.case-panel .stat .num { font-size: 26px; font-weight: 800; }
.case-panel .stat .label { font-size: 12.5px; color: var(--slate-light); }

.timeline {
  border-left: 2px solid rgba(255,255,255,0.18);
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.timeline .step { position: relative; font-size: 14px; }
.timeline .step::before {
  content: "";
  position: absolute;
  left: -28px; top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--slate-light);
}
.timeline .step.done::before { background: #35d17a; border-color: #35d17a; }
.timeline .step .tag {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--slate-light); font-weight: 700; display: block; margin-bottom: 2px;
}

/* About */
.about-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) { .about-wrap { grid-template-columns: 1fr; } }
.about-wrap p { color: var(--text-muted); font-size: 16px; margin: 0 0 16px 0; }
.about-badge-list { display: flex; flex-direction: column; gap: 14px; }
.about-badge {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--navy);
}
.about-badge .sw {
  width: 30px; height: 30px; border-radius: 8px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
@media (max-width: 800px) { .contact-wrap { grid-template-columns: 1fr; } }

.contact-info h2 { color: var(--navy); font-size: 28px; margin: 0 0 14px 0; }
.contact-info p { color: var(--text-muted); margin: 0 0 24px 0; }
.contact-direct {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--navy); text-decoration: none;
  font-size: 16px; margin-bottom: 12px;
}
.contact-direct svg { width: 20px; height: 20px; stroke: var(--navy); flex-shrink: 0; }

form.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
form.contact-form label {
  font-size: 13px; font-weight: 700; color: var(--navy);
  margin-bottom: -8px;
}
form.contact-form input,
form.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 14.5px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
form.contact-form textarea { resize: vertical; min-height: 100px; }
form.contact-form button {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  margin-top: 4px;
}

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  padding-block: 32px;
  background: var(--bg-alt);
}
footer.site .foot-row {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
}
footer.site img { height: 26px; }
footer.site .foot-meta { font-size: 13px; color: var(--text-muted); }
