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

/* SVG sprite — zero-size but NOT display:none, so gradients/masks remain
   accessible to <use> references elsewhere in the document */
#logo-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:root {
  --white: #FFFFFF;
  --surface: #EDF5FF;
  --highlight: #D8EEFF;
  --text-primary: #0B1D35;
  --text-secondary: #2D5070;
  --text-muted: #94A3B8;
  --cta: #1D6FD8;
  --brand-blue: #22BCDC;
  --brand-teal: #13C6A8;
  --crimson: #A8275E;
  --border: #C5D8F0;
  --border-light: #D0E5F8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 43px; height: 43px; }
.logo-wordmark {
  font-size: 43px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--cta);
}
.nav-contact a {
  font-size: 16px;
  font-weight: 500;
  color: var(--crimson);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}
.nav-contact a:hover { opacity: 0.75; }

/* ── HERO ────────────────────────────────────── */
.hero {
  background: linear-gradient(168deg, var(--surface) 0%, var(--highlight) 55%, #cde6fb 100%);
  padding: 64px 32px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson) 0%, var(--surface) 30%, var(--brand-blue) 65%, var(--brand-teal) 100%);
}
.hero-logo { margin-bottom: 40px; }
.hero-logo svg { width: 72px; height: 72px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero p {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 40px;
}
.hero-cta {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  background: var(--cta);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.hero-cta:hover { background: #1760bd; transform: translateY(-1px); }

/* ── SECTION COMMON ─────────────────────────── */
section { padding: 88px 32px; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
}

/* ── SERVICES ────────────────────────────────── */
.services { background: var(--white); }
.services-header { margin-bottom: 48px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(15,23,42,0.08);
}
.card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Card icon background colours */
.card-icon-teal  { background: rgba(19,198,168,0.1); }
.card-icon-blue  { background: rgba(29,111,216,0.1); }
.card-icon-crimson { background: rgba(168,39,94,0.1); }

/* ── ABOUT / WHY ────────────────────────────── */
.about {
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-points { list-style: none; margin-top: 32px; }
.about-points li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.about-points li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-teal);
  margin-top: 6px;
}
.about-visual {
  background: linear-gradient(145deg, var(--highlight) 0%, #d0e8fb 100%);
  border-radius: 18px;
  border: 1px solid var(--border);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual svg { width: 96px; height: 96px; opacity: 0.35; }

/* ── CTA BAND ────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--text-primary) 0%, #142d4c 100%);
  padding: 72px 32px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 15px;
  color: #8fa8c4;
  margin-bottom: 32px;
}
.cta-band a {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 10px;
  background: var(--brand-teal);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.cta-band a:hover { background: #10b497; transform: translateY(-1px); }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--text-primary);
  padding: 32px;
  text-align: center;
  border-top: 1px solid #1a3250;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand svg { width: 22px; height: 22px; opacity: 0.5; }
.footer-brand span {
  font-size: 13px;
  color: #ffffff;
  font-weight: 400;
}
footer a {
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover { color: var(--brand-teal); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { height: 200px; }
  .hero { padding: 56px 24px 64px; }
  section { padding: 64px 24px; }
  .nav-inner { padding: 16px 20px; }
  .footer-inner { justify-content: center; flex-direction: column; text-align: center; }
}
