/* ============================================
   AAP LLP — Corporate Template Style
   Full redesign — dark navy dominant, blue tints
   ============================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Palette */
  --ink: #0A1B3D;          /* Deep corporate navy — hero, footer */
  --ink-dark: #061029;     /* Darker navy for stats band */
  --ink-mid: #142A55;      /* Mid navy */
  --ink-soft: #2A3B65;     /* Softer navy for hover states */
  --blue: #3B6BB0;         /* Corporate blue accent */
  --blue-light: #E8EEF7;   /* Ice blue — Why Choose Us */
  --blue-lighter: #F2F5FB; /* Very light blue for card icons */
  --white: #ffffff;
  --paper: #FAFBFD;        /* Off-white page background */
  --text: #1A2A4F;         /* Body text on light */
  --text-muted: #6B7591;   /* Grey supporting text */
  --text-light: #A0AAC2;   /* Very light supporting */
  --line: #E5EAF3;         /* Light dividers */
  --line-dark: #1F2F55;    /* Dark dividers on navy */
  --cream-white: rgba(255, 255, 255, 0.72); /* Nav / on-dark subtle */

  /* Typography — all sans-serif */
  --font-body: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Fluid type scale */
  --step--2: clamp(0.72rem, 0.71rem + 0.05vw, 0.75rem);
  --step--1: clamp(0.83rem, 0.81rem + 0.1vw, 0.88rem);
  --step-0:  clamp(0.95rem, 0.93rem + 0.1vw, 1.00rem);
  --step-1:  clamp(1.10rem, 1.05rem + 0.25vw, 1.20rem);
  --step-2:  clamp(1.30rem, 1.20rem + 0.5vw, 1.50rem);
  --step-3:  clamp(1.55rem, 1.40rem + 0.75vw, 1.85rem);
  --step-4:  clamp(1.85rem, 1.60rem + 1.25vw, 2.35rem);
  --step-5:  clamp(2.20rem, 1.85rem + 1.75vw, 3.00rem);
  --step-6:  clamp(2.60rem, 2.10rem + 2.5vw, 3.75rem);

  /* Layout */
  --container: 1280px;
  --container-narrow: 900px;
  --gutter: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 320ms var(--ease);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: var(--step-6); font-weight: 600; letter-spacing: -0.03em; }
h2 { font-size: var(--step-5); font-weight: 600; letter-spacing: -0.025em; }
h3 { font-size: var(--step-3); font-weight: 600; }
h4 { font-size: var(--step-2); font-weight: 600; }

p { max-width: 65ch; color: var(--text); }
.text-muted { color: var(--text-muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow.on-dark { color: var(--white); opacity: 0.7; }

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 60ch;
}
.lead.on-dark { color: rgba(255, 255, 255, 0.75); }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

section { padding: clamp(3.5rem, 6vw, 6rem) 0; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 1.25rem 0;
}
.site-header.scrolled {
  position: fixed;
  background: rgba(10, 27, 61, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
/* Header on inner pages sits on light background */
.site-header.inner {
  position: relative;
  background: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 44px; width: auto; display: block; }
@media (max-width: 540px) { .nav-logo-img { height: 36px; } }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-menu a {
  font-size: var(--step-0);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease);
}
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-menu a.active { color: var(--white); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: var(--step-0);
  font-weight: 500;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle { display: none; width: 36px; height: 36px; position: relative; }
.nav-toggle span {
  position: absolute;
  left: 6px; right: 6px;
  height: 2px;
  background: var(--white);
  transition: transform 300ms var(--ease), opacity 200ms;
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 18px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-menu, .nav > .nav-cta { display: none; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--ink-dark);
    padding: 1.5rem var(--gutter) 2rem;
    gap: 1.25rem;
    align-items: flex-start;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-menu.open .nav-cta-mobile { display: inline-flex; }
}
.nav-cta-mobile { display: none; }

/* ---------- HERO ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  padding-top: clamp(9rem, 12vw, 11rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}

/* Full-width background image layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Dark gradient overlay for text legibility — stronger on left where text sits */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(10, 27, 61, 0.92) 0%,
      rgba(10, 27, 61, 0.82) 35%,
      rgba(10, 27, 61, 0.55) 65%,
      rgba(10, 27, 61, 0.35) 100%),
    linear-gradient(180deg,
      rgba(10, 27, 61, 0.4) 0%,
      transparent 30%,
      transparent 70%,
      rgba(10, 27, 61, 0.5) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 16ch;
}
.hero-eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  display: block;
}
.hero-lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .hero { min-height: 560px; padding-top: 8rem; }
  .hero-content { max-width: 100%; }
  /* On mobile, stronger overlay for readability against smaller image area */
  .hero-bg::after {
    background:
      linear-gradient(180deg,
        rgba(10, 27, 61, 0.85) 0%,
        rgba(10, 27, 61, 0.75) 60%,
        rgba(10, 27, 61, 0.85) 100%);
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-size: var(--step-0);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: 1.5px solid transparent;
}
.btn svg { width: 16px; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--white);
  color: var(--ink);
}
.btn-primary:hover { background: var(--blue-light); color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }

.btn-primary-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-primary-dark:hover { background: var(--ink-mid); }

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost-dark:hover { background: var(--ink); color: var(--white); }

.btn-link {
  padding: 0.25rem 0;
  color: var(--blue);
  font-weight: 500;
  border-bottom: 1.5px solid transparent;
}
.btn-link:hover { border-color: var(--blue); }

/* ---------- SECTION HEADS ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head-left h2 { max-width: 14ch; }
.section-head-right { padding-bottom: 0.5rem; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* Simple centered head */
.section-head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-head-center h2 { margin: 0 auto; max-width: 18ch; }
.section-head-center .lead { margin: 1rem auto 0; }

/* ---------- SERVICES ROW (5-6 card row with icon tiles) ---------- */
.services-row {
  background: var(--paper);
}
.services-row-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.service-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -8px rgba(10, 27, 61, 0.12);
  border-color: rgba(59, 107, 176, 0.35);
}
.service-tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-lighter);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--blue);
  flex-shrink: 0;
}
.service-tile-icon svg { width: 24px; height: 24px; stroke-width: 1.75; }
.service-tile h3 {
  font-size: var(--step-1);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.service-tile p {
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}
.service-tile-link {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}
.service-tile-link:hover { gap: 0.6rem; }
.service-tile-link svg { width: 14px; }

@media (max-width: 1200px) {
  .services-row-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .services-row-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .services-row-grid { grid-template-columns: 1fr; }
}

/* Alternative: services with 60/40 layout — head on left, cards on right (like reference top) */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.services-layout-head { position: sticky; top: 100px; }
.services-layout-head h2 { max-width: 14ch; }
@media (max-width: 900px) {
  .services-layout { grid-template-columns: 1fr; }
  .services-layout-head { position: static; }
}

/* ---------- STATS BAND ---------- */
.stats-band {
  background: var(--ink-dark);
  color: var(--white);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.stats-band .eyebrow {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 0.5rem 1.5rem;
  border-right: 1px solid var(--line-dark);
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; }
.stat-number {
  font-size: clamp(1.75rem, 1.2rem + 2.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.stat-text {
  font-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  white-space: nowrap;
}
.stat-label {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.5rem 1rem; border-bottom: 1px solid var(--line-dark); }
  .stat:first-child { padding-left: 1rem; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
  .stat:nth-child(3) { padding-left: 0; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; padding-left: 0 !important; padding-right: 0 !important; }
  .stat:last-child { border-bottom: none; }
}

/* ---------- INSIGHTS TEASER (blog cards with image) ---------- */
.insights-section { background: var(--paper); }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
}
.insight-card {
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}
.insight-card:hover { transform: translateY(-3px); }
.insight-card-image {
  aspect-ratio: 16/10;
  background: var(--ink-mid);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
}
.insight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.insight-card-image-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 100%);
  display: grid;
  place-items: center;
}
.insight-card-image-placeholder svg { width: 20%; color: rgba(255, 255, 255, 0.3); }
.insight-card-date {
  font-size: var(--step--1);
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.insight-card h3 {
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.insight-card:hover h3 { color: var(--blue); transition: color var(--transition); }
.insight-card p {
  font-size: var(--step-0);
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.insight-card-link {
  color: var(--blue);
  font-size: var(--step--1);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  transition: gap var(--transition);
}
.insight-card-link:hover { gap: 0.6rem; }
.insight-card-link svg { width: 14px; }
@media (max-width: 900px) {
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .insights-grid { grid-template-columns: 1fr; }
}

/* Values/Approach 4-column grid (about page): 4 cols → 2 cols → 1 col */
.services-row-grid.values-4col { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
  .services-row-grid.values-4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .services-row-grid.values-4col { grid-template-columns: 1fr; }
}

/* ---------- UPCOMING TOPICS (Insights page) ---------- */
.upcoming-topics {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
}
.upcoming-topics-head { max-width: 50ch; margin-bottom: 2rem; }
.upcoming-topics-head h2 {
  font-size: var(--step-3);
  margin: 0.5rem 0 0.75rem;
}
.upcoming-topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.upcoming-topics-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: var(--step-0);
  color: var(--ink);
  line-height: 1.4;
}
.upcoming-num {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--blue);
  font-weight: 600;
  flex-shrink: 0;
  min-width: 22px;
}
@media (max-width: 700px) {
  .upcoming-topics-list { grid-template-columns: 1fr; }
}

/* ---------- WHATSAPP FLOATING BUTTON ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  z-index: 50;
  box-shadow: 0 6px 20px -4px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
  animation: whatsapp-pulse 3s infinite ease-out;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px -4px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0,0,0,0.2);
  color: var(--white);
}
@keyframes whatsapp-pulse {
  0% { box-shadow: 0 6px 20px -4px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0,0,0,0.15), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 6px 20px -4px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0,0,0,0.15), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 6px 20px -4px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0,0,0,0.15), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 540px) {
  .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}

/* ---------- WHY CHOOSE US (ice blue with icon columns) ---------- */
.why-choose {
  background: var(--blue-light);
}
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.why-choose-head h2 { max-width: 14ch; }
.why-choose-head .lead { margin-top: 1rem; }
.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.why-feature { display: flex; flex-direction: column; }
.why-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.why-feature-icon svg { width: 20px; stroke-width: 1.75; }
.why-feature h4 {
  font-size: var(--step-1);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.why-feature p {
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .why-choose-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .why-features { grid-template-columns: 1fr; }
}

/* ---------- PROBLEMS WE SOLVE ---------- */
.problems-section { background: var(--white); }
.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.problems-head h2 { max-width: 14ch; }
.problems-head .lead { margin-top: 1rem; }
.problems-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.problems-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--step-0);
  color: var(--ink);
  line-height: 1.5;
}
.problems-check {
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.1em;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .problems-grid { grid-template-columns: 1fr; }
}

/* ---------- WHO WE SERVE ---------- */
.who-serve { background: var(--blue-lighter); }
.who-serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.who-serve-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.who-serve-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -10px rgba(10, 27, 61, 0.12);
  border-color: rgba(59, 107, 176, 0.4);
}
.who-serve-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-lighter);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.who-serve-icon svg { width: 22px; height: 22px; }
.who-serve-card h4 {
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
@media (max-width: 900px) {
  .who-serve-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .who-serve-grid { grid-template-columns: 1fr; }
}

/* ---------- ABOUT / FEATURE BLOCK (side-by-side text + image) ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ink-mid);
}
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-content > * + * { margin-top: 1rem; }
.feature-content h2 { max-width: 18ch; }
@media (max-width: 800px) {
  .feature-block { grid-template-columns: 1fr; gap: 2rem; }
  .feature-block > .feature-image { order: -1; }
  .feature-image { aspect-ratio: 16/10; }
}

/* ---------- TEAM CARDS ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.team-card:hover { box-shadow: 0 10px 30px -10px rgba(10, 27, 61, 0.15); }
.team-image {
  aspect-ratio: 4/3;
  background: var(--ink-mid);
  position: relative;
  overflow: hidden;
}
.team-image img { width: 100%; height: 100%; object-fit: cover; }
.team-image.no-image {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 100%);
}
.team-image.no-image::before {
  content: 'PHOTO';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: var(--step--1);
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
}
.team-body { padding: 1.75rem; }
.team-credentials {
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.team-body h3 { font-size: var(--step-3); margin-bottom: 0.35rem; }
.team-role { color: var(--text-muted); font-size: var(--step-0); margin-bottom: 1rem; font-weight: 500; }
.team-body p { font-size: var(--step--1); line-height: 1.65; color: var(--text-muted); }
@media (max-width: 800px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA STRIP ---------- */
.cta-strip {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.cta-strip h2 { color: var(--white); max-width: 20ch; margin: 0 auto 1rem; }
.cta-strip .lead { color: rgba(255, 255, 255, 0.75); margin: 0 auto 2rem; }
.cta-strip-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  background: var(--ink);
  color: var(--white);
  padding: clamp(4rem, 6vw, 5rem) 0 clamp(3rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 2; }
/* Optional background image variant */
.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.28;
}
.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 27, 61, 0.4) 0%, rgba(10, 27, 61, 0.85) 100%),
    radial-gradient(circle at 20% 30%, rgba(59, 107, 176, 0.25), transparent 60%);
  pointer-events: none;
}
.page-header .breadcrumb {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  display: flex; gap: 0.5rem; align-items: center;
}
.page-header .breadcrumb a:hover { color: var(--white); }
.page-header .breadcrumb span:not(:last-child) { color: rgba(255, 255, 255, 0.4); }
.page-header h1 { color: var(--white); max-width: 16ch; }
.page-header .lead { color: rgba(255, 255, 255, 0.75); margin-top: 1rem; max-width: 55ch; }

/* ---------- SERVICE DETAIL (services page inner) ---------- */
.service-detail-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.service-sidebar {
  position: sticky;
  top: 100px;
  padding-right: 2rem;
  border-right: 1px solid var(--line);
}
.service-sidebar h4 {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.service-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.service-sidebar a {
  font-size: var(--step-0);
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 0.35rem 0;
  display: block;
}
.service-sidebar a:hover { color: var(--ink); }
.service-sidebar a.active { color: var(--blue); font-weight: 600; }

.service-content > * + * { margin-top: 1.25rem; }
.service-content > div { padding-top: 1rem; }
.service-content h2 {
  font-size: var(--step-4);
  margin-top: 0;
}
.service-content h3 {
  font-size: var(--step-2);
  margin-top: 1.5rem;
  color: var(--ink);
}
.service-content ul { padding-left: 0; list-style: none; }
.service-content ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}
.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0.4rem; top: 0.75em;
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
}
.service-inline-image {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1rem 0;
}
.service-inline-image img { width: 100%; height: 100%; object-fit: cover; }

.divider { height: 1px; background: var(--line); margin: 3rem 0; }

@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar {
    position: static;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2rem;
  }
}

/* ---------- BLOG POST ---------- */
.post-header {
  background: var(--ink);
  color: var(--white);
  padding: clamp(4rem, 6vw, 5rem) 0 clamp(3rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}
.post-header > .container-narrow { position: relative; z-index: 2; }
.post-header .breadcrumb {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  display: flex; gap: 0.5rem;
}
.post-header .breadcrumb a:hover { color: var(--white); }
.post-meta {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.post-meta .dot { width: 4px; height: 4px; background: var(--blue); border-radius: 50%; }
.post-header h1 { color: var(--white); max-width: 20ch; font-size: var(--step-5); }

.post-content { padding: clamp(3rem, 5vw, 4rem) 0; }
.post-content > .container-narrow > * + * { margin-top: 1.25rem; }
.post-content p { font-size: var(--step-1); line-height: 1.75; color: var(--text); max-width: 65ch; }
.post-content h2 { font-size: var(--step-3); margin-top: 2.5rem; color: var(--ink); }
.post-content h3 { font-size: var(--step-2); margin-top: 2rem; color: var(--ink); }
.post-content ul, .post-content ol {
  padding-left: 1.5rem;
  color: var(--text);
}
.post-content ul li, .post-content ol li { margin-bottom: 0.5rem; line-height: 1.6; }
.post-content blockquote {
  border-left: 3px solid var(--blue);
  padding: 0.5rem 0 0.5rem 2rem;
  font-size: var(--step-2);
  line-height: 1.5;
  color: var(--ink);
  margin: 2.5rem 0;
  font-weight: 500;
}

/* ---------- FORMS / MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 27, 61, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  transform: translateY(20px);
  transition: transform 300ms var(--ease);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--blue-light); color: var(--ink); }
.modal h3 { font-size: var(--step-3); margin-bottom: 0.5rem; }
.modal p { color: var(--text-muted); font-size: var(--step-0); margin-bottom: 1.75rem; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: var(--step--1);
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: var(--step-0);
  color: var(--ink);
  transition: border-color var(--transition), background var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.form-actions { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.form-actions .btn { flex: 1; justify-content: center; }
.form-message {
  padding: 0.85rem 1rem;
  margin-top: 1rem;
  font-size: var(--step--1);
  border-radius: var(--radius-sm);
  display: none;
}
.form-message.success { background: var(--blue-light); color: var(--ink); border-left: 3px solid var(--blue); display: block; }
.form-message.error { background: #FDECEC; color: #8A2020; border-left: 3px solid #C84545; display: block; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 3vw, 3rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand { display: flex; flex-direction: column; }
.footer-brand-mark { height: 56px; margin-bottom: 1.25rem; }
.footer-brand-mark img { height: 100%; width: auto; }
.footer-brand p { font-size: var(--step--1); line-height: 1.7; max-width: 32ch; color: rgba(255, 255, 255, 0.65); }
.footer-brand-socials {
  display: flex; gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer-brand-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid; place-items: center;
  transition: all var(--transition);
}
.footer-brand-socials a:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.footer-brand-socials svg { width: 15px; height: 15px; }

.footer-col h4 {
  font-size: var(--step-0);
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-size: var(--step--1); color: rgba(255, 255, 255, 0.7); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-col-contact li {
  font-size: var(--step--1);
  line-height: 1.6;
  display: flex; gap: 0.6rem; align-items: flex-start;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.85rem;
}
.footer-col-contact svg { width: 16px; margin-top: 3px; flex-shrink: 0; opacity: 0.5; }
.footer-col-contact a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: var(--step--2);
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a:hover { color: var(--white); }

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
  .footer-col-contact-wrap { grid-column: span 3; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand, .footer-col-contact-wrap { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- ANIMATIONS ---------- */
.reveal { transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js-ready .reveal:not(.visible) {
  opacity: 0.0001;
  transform: translateY(16px);
}
.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal:not(.visible) { opacity: 1; transform: none; }
  .reveal { transition: none; }
}

/* ---------- UTILITY ---------- */
.text-center { text-align: center; }
