:root {
  --ink: #1e2b2f;
  --muted: #617174;
  --line: #d9e2df;
  --paper: #f7f5ef;
  --white: #ffffff;
  --blue: #174f73;
  --blue-dark: #0d354e;
  --green: #597b45;
  --brick: #b6583f;
  --gold: #d7aa50;
  --shadow: 0 18px 44px rgba(22, 39, 46, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 245, 239, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  color: #2f3d41;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue-dark);
  background: #e7efe9;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero {
  min-height: min(720px, calc(88vh - 78px));
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  align-items: stretch;
  background: var(--white);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 76px) clamp(22px, 5vw, 70px);
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(2.3rem, 4.2vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: #405154;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-image {
  min-height: 420px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    url("assets/cci-hero.png") center / cover no-repeat;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--brick);
}

.button.primary:hover {
  background: #954933;
}

.button.secondary {
  color: var(--blue-dark);
  border-color: #b8cbc5;
  background: var(--white);
}

.button.light {
  color: var(--blue-dark);
  background: var(--white);
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.intro-section,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro-section {
  background: #edf2ee;
}

.split-section.accent,
.note-section {
  background: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(1.65rem, 3.3vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 1.1rem;
  line-height: 1.25;
}

p {
  margin-top: 0;
}

.lead {
  margin: 0;
  color: #334448;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.stack p {
  margin: 0 0 18px;
  color: #405154;
  font-size: 1.04rem;
}

.review-grid,
.service-grid,
.feature-list {
  display: grid;
  gap: 18px;
}

.review-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid,
.feature-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card,
.service-card,
.feature-list article,
.steps article,
.contact-panel,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.review-card,
.service-card,
.feature-list article {
  padding: 24px;
}

.review-card {
  border-top: 5px solid var(--gold);
}

.service-card:nth-child(2n) {
  border-top: 5px solid var(--green);
}

.service-card:nth-child(2n + 1) {
  border-top: 5px solid var(--blue);
}

.review-card p,
.service-card p,
.feature-list p,
.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.steps-section {
  background: #f2efe7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  padding: 24px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(42px, 6vw, 70px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--blue-dark);
}

.cta-band h2,
.cta-band .eyebrow {
  color: var(--white);
}

.page-hero {
  padding: clamp(58px, 9vw, 104px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(rgba(13, 53, 78, 0.85), rgba(13, 53, 78, 0.85)),
    url("assets/cci-hero.png") center / cover no-repeat;
}

.page-hero h1,
.page-hero .eyebrow {
  color: var(--white);
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 1.18rem;
}

.note-section {
  max-width: none;
}

.note-section > p {
  max-width: 840px;
  margin-top: 18px;
  color: #405154;
  font-size: 1.08rem;
}

.two-column-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.two-column-list ul {
  margin: 0;
  padding-left: 20px;
}

.two-column-list li {
  margin-bottom: 10px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: 26px;
}

.contact-panel p {
  color: #405154;
}

.small-note,
.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  color: var(--blue-dark);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid #bac9c5;
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcfa;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  margin-top: 10px;
}

.site-footer {
  padding: 28px clamp(20px, 5vw, 72px);
  color: #dfe8e6;
  background: #16252b;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer a {
  color: #ffffff;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 77px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding-top: 52px;
  }

  .hero-image {
    min-height: 260px;
  }

  .intro-section,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .review-grid,
  .service-grid,
  .feature-list,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand-mark {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    top: 67px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-copy {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .hero-text {
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-image {
    min-height: 180px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .review-grid,
  .service-grid,
  .feature-list,
  .steps,
  .two-column-list {
    grid-template-columns: 1fr;
  }

  .review-card,
  .service-card,
  .feature-list article,
  .steps article,
  .contact-panel,
  .contact-form {
    box-shadow: none;
  }
}
