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

:root {
  --slate: #1E293B;
  --slate-deep: #0F172A;
  --slate-mid: #334155;
  --cyan: #0891B2;
  --cyan-light: #06B6D4;
  --cyan-pale: #E0F2FE;
  --offwhite: #F8FAFC;
  --grey: #E2E8F0;
  --grey-mid: #CBD5E1;
  --muted: #64748B;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--offwhite);
  color: var(--slate);
  font-size: 16px;
  line-height: 1.7;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--slate); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--muted); }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-light); }

/* ── NAV ── */
nav {
  background: var(--slate);
  padding: 0 2rem;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav img { height: 56px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #94A3B8;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--cyan);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--cyan-light); color: var(--white) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #94A3B8;
  border-radius: 2px;
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--slate);
  padding: 4rem 2rem;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: #94A3B8; max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.cyan-line {
  width: 60px;
  height: 3px;
  background: var(--cyan-light);
  margin: 1.5rem auto;
}

/* ── SECTIONS ── */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--white); }
.section-dark { background: var(--slate); }

.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.section-title { margin-bottom: 1rem; }
.section-intro { max-width: 650px; margin-bottom: 3rem; font-size: 1.05rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--cyan); color: var(--white); }
.btn-primary:hover { background: var(--cyan-light); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid #475569; }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 0.5px solid var(--grey);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover { border-color: var(--cyan); transform: translateY(-2px); }

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--cyan-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon svg { width: 24px; height: 24px; stroke: var(--cyan); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.card h3 { margin-bottom: 0.75rem; font-size: 1.05rem; }
.card p { font-size: 0.9rem; line-height: 1.7; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }

/* ── PILLAR BADGE ── */
.pillar-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.pillar-engineering { background: #E0F2FE; color: #0369A1; }
.pillar-digital { background: #E1F5EE; color: #0F6E56; }
.pillar-advisory { background: #EEEDFE; color: #534AB7; }
.pillar-cross { background: #FEF3C7; color: #92400E; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--slate-deep);
  padding: 3rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cyan-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 12px;
  color: #94A3B8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── CLIENTS ── */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

.client-pill {
  background: var(--white);
  border: 0.5px solid var(--grey);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

/* ── ACHIEVEMENT LIST ── */
.achievement-list { list-style: none; }

.achievement-list li {
  padding: 1rem 0 1rem 2rem;
  border-bottom: 0.5px solid var(--grey);
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
}

.achievement-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.achievement-list li:last-child { border-bottom: none; }

/* ── ABOUT BLOCKS ── */
.about-block { margin-bottom: 3rem; }
.about-block h3 { color: var(--cyan); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.75rem; font-weight: 600; }
.about-block h2 { margin-bottom: 1rem; }
.about-block p { margin-bottom: 1rem; }

.principle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; }

.principle-card {
  border-left: 3px solid var(--cyan);
  padding-left: 1.25rem;
  border-radius: 0;
}

.principle-card h4 { color: var(--slate); margin-bottom: 0.5rem; font-size: 1rem; }
.principle-card p { font-size: 0.9rem; }

/* ── EXPERTISE GRID ── */
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }

.expertise-card {
  background: var(--offwhite);
  border: 0.5px solid var(--grey);
  border-radius: 10px;
  padding: 1.5rem;
}

.expertise-card h4 { color: var(--slate); margin-bottom: 0.75rem; font-size: 0.95rem; letter-spacing: 0.5px; }
.expertise-card p { font-size: 0.88rem; line-height: 1.7; }

/* ── CONTACT FORM ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 14px;
  color: var(--muted);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 0.5px solid var(--grey-mid);
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--slate);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(8,145,178,0.1); }

.form-group textarea { height: 140px; resize: vertical; }

.form-note { font-size: 12px; color: var(--muted); margin-top: 1rem; line-height: 1.6; }

/* ── FOOTER ── */
footer {
  background: var(--slate-deep);
  padding: 3rem 2rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.footer-brand img { height: 36px; margin-bottom: 1rem; }
.footer-brand p { font-size: 13px; color: #475569; line-height: 1.7; max-width: 280px; }

.footer-col h4 { color: #94A3B8; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: #475569; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 0.5px solid #1E293B;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p { font-size: 11px; color: #334155; }
.footer-bottom a { font-size: 11px; color: #334155; }
.footer-bottom a:hover { color: var(--cyan); }

/* ── INDUSTRIES PAGE ── */
.industry-card {
  background: var(--white);
  border: 0.5px solid var(--grey);
  border-radius: 12px;
  padding: 2rem;
  border-top: 3px solid var(--cyan);
}

.industry-card h3 { margin-bottom: 0.75rem; font-size: 1.05rem; }
.industry-card p { font-size: 0.9rem; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--slate); padding: 1.5rem 2rem; gap: 1.25rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .section { padding: 3rem 1.25rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
