/* Alistos Global — corporate theme */
:root {
  --blue: #0067B9;
  --blue-dark: #004E8C;
  --cyan: #00A9CE;
  --navy: #0A1F3D;
  --ink: #24344E;
  --muted: #5B6B84;
  --line: #E2E8F2;
  --bg: #FFFFFF;
  --alt: #F3F6FA;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(10, 31, 61, 0.08);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Utility strip ---------- */
.utility {
  background: var(--navy);
  color: #C9D6E8;
  font-size: 13px;
}
.utility .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
}
.utility a { color: #fff; }

/* ---------- Header ---------- */
header.site {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand img { height: 52px; width: 52px; border-radius: 12px; }
.brand span { font-weight: 700; font-size: 19px; color: var(--navy); letter-spacing: 0.2px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
}
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-links a.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  border-bottom: none !important;
  padding: 10px 20px !important;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--blue-dark); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, #EAF2FB 0%, #F7FAFE 55%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  color: var(--navy);
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--blue); }
.lede { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--blue);
  transition: background 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: #EAF2FB; }

/* Spotlight carousel (hero, right side) */
.spotlight {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 380px;
  position: relative;
}
.spot-slide { display: none; }
.spot-slide.on { display: block; animation: fade 0.5s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.spot-slide img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--alt);
  padding: 26px;
}
.spot-body { padding: 24px 28px 30px; }
.spot-body .kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.spot-body h3 { color: var(--navy); font-size: 24px; margin: 8px 0 10px; }
.spot-body p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.spot-dots { display: flex; gap: 8px; padding: 0 28px 22px; }
.spot-dots button {
  width: 34px; height: 5px; border: none; border-radius: 3px;
  background: var(--line); cursor: pointer; padding: 0;
}
.spot-dots button.on { background: var(--blue); }

/* Page hero (inner pages) */
.hero.page { padding: 56px 0 48px; }
.hero.page h1 { font-size: 38px; }

/* ---------- Sections ---------- */
.block { padding: 72px 0; }
.block.alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { color: var(--navy); font-size: 32px; letter-spacing: -0.3px; margin-bottom: 10px; }
.section-sub { color: var(--muted); font-size: 17px; margin-bottom: 36px; max-width: 720px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.section-head .section-sub { margin-bottom: 0; }
.go { font-weight: 700; white-space: nowrap; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 2px 10px rgba(10, 31, 61, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { color: var(--navy); font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* Venture cards with logos */
.venture-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(10, 31, 61, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.venture-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.venture-card .logo-tile {
  height: 190px;
  background: var(--alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}
.venture-card .logo-tile img { max-height: 100%; max-width: 100%; object-fit: contain; }
.venture-card .vc-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.venture-card .vc-body p { color: var(--muted); font-size: 15px; margin: 10px 0 18px; flex: 1; }
.venture-card h3 { color: var(--navy); font-size: 22px; }
.venture-card h3 a { color: var(--navy); }
.venture-card h3 a:hover { color: var(--blue); }

.tag {
  display: inline-block;
  background: #E3F2FD;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* Pillars */
.pillar { padding: 6px 0; }
.pillar h3 { color: var(--navy); font-size: 19px; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 15px; }
.pillar + .pillar { border-top: 1px solid var(--line); padding-top: 22px; }

/* Detail rows (ventures / what-we-do pages) */
.detail {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(10, 31, 61, 0.04);
}
.detail .logo-tile {
  background: var(--alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  align-self: start;
}
.detail .logo-tile img { max-height: 200px; object-fit: contain; }
.detail h3 { color: var(--navy); font-size: 26px; margin: 10px 0 4px; }
.detail .url { color: var(--muted); font-size: 14px; display: block; margin-bottom: 14px; }
.detail > div > p { color: var(--muted); margin-bottom: 20px; max-width: 640px; }
.detail dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 18px; margin-bottom: 20px; }
.detail dt { font-weight: 700; color: var(--navy); font-size: 14px; }
.detail dd { color: var(--muted); font-size: 15px; }

/* Case studies */
.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(10, 31, 61, 0.04);
}
.case-head { display: flex; gap: 24px; align-items: center; margin-bottom: 22px; }
.case-head .logo-tile {
  width: 120px; height: 120px; flex-shrink: 0;
  background: var(--alt); border: 1px solid var(--line); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; padding: 14px;
}
.case-head .logo-tile img { max-height: 100%; object-fit: contain; }
.case h3 { color: var(--navy); font-size: 26px; }
.case .meta { color: var(--blue); font-size: 14px; font-weight: 600; }
.case h4 { color: var(--navy); font-size: 17px; margin: 18px 0 6px; }
.case p, .case li { color: var(--muted); font-size: 15px; }
.case ul { margin: 8px 0 18px 20px; }
.case li { margin-bottom: 6px; }

/* Mission / values */
.mission-box {
  background: #fff;
  border-left: 5px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 2px 10px rgba(10, 31, 61, 0.04);
  padding: 28px 32px;
  margin-bottom: 22px;
}
.mission-box h3 { color: var(--navy); font-size: 20px; margin-bottom: 8px; }
.mission-box p { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 2px 10px rgba(10, 31, 61, 0.04);
}
.value h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 15px; }

.portfolio-note {
  background: #EAF2FB;
  border-radius: var(--radius);
  padding: 24px 28px;
  color: var(--navy);
  margin-top: 28px;
  font-size: 15px;
}

/* Insights */
.insight {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 2px 10px rgba(10, 31, 61, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.insight:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.insight .logo-tile { height: 150px; background: var(--alt); padding: 22px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.insight .logo-tile img { max-height: 100%; object-fit: contain; }
.insight .in-body { padding: 24px 26px 28px; }
.insight .kicker { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.insight h3 { color: var(--navy); font-size: 19px; margin: 8px 0 10px; }
.insight p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

/* CTA band */
.cta-band { background: var(--blue); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { font-size: 32px; margin-bottom: 12px; letter-spacing: -0.3px; }
.cta-band p { color: #D6E9F8; max-width: 600px; margin: 0 auto 26px; font-size: 17px; }
.cta-band .btn-primary { background: #fff; color: var(--blue); border-color: #fff; }
.cta-band .btn-primary:hover { background: #EAF2FB; border-color: #EAF2FB; }

/* Contact form */
.contact .field { margin-bottom: 18px; }
.contact label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 14px; }
.contact input, .contact select, .contact textarea {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: #fff;
}
.contact input:focus, .contact select:focus, .contact textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 103, 185, 0.12);
}
.contact textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy); color: #B9C6DA; padding: 56px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 44px; width: 44px; border-radius: 10px; }
.footer-brand span { color: #fff; font-weight: 700; font-size: 18px; }
footer.site p { font-size: 14px; }
footer.site h4 { color: #fff; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 16px; }
footer.site nav a { display: block; color: #B9C6DA; font-size: 14px; margin-bottom: 10px; }
footer.site nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  .detail .logo-tile { max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
}
@media (max-width: 640px) {
  .nav { height: auto; padding: 14px 20px; flex-wrap: wrap; gap: 12px; }
  .nav-links { flex-wrap: wrap; gap: 12px 16px; }
  .cols-4, .values { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .section-title { font-size: 26px; }
  .block { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .detail dl { grid-template-columns: 1fr; }
  .case-head { flex-direction: column; align-items: flex-start; }
}
