/* CDSWeb professional redesign layer */

:root {
  --brand-navy: #0b2a45;
  --brand-navy-deep: #082238;
  --brand-blue: #0d7ea8;
  --brand-cyan: #19a9c5;
  --brand-orange: #f26b2b;
  --brand-orange-dark: #c94f16;
  --brand-ice: #f4f9fc;
  --brand-line: #d9e6ee;
  --brand-copy: #16324a;
  --brand-muted: #5d7184;
  --font-heading: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", Aptos, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
}

h1,
h2,
h3,
.brand-name,
.service-card-number,
.stats-grid dt {
  font-family: var(--font-heading);
}

h1,
h2 {
  font-weight: 700;
}

h3 {
  font-weight: 600;
}

.utility-bar {
  display: none;
  background: var(--brand-navy-deep);
  color: #dceaf2;
  font-size: .76rem;
}

.utility-bar .section-wrap {
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-bar p {
  margin: 0;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.utility-links a {
  color: #dceaf2;
  text-decoration: none;
  font-weight: 600;
}

.utility-links a:hover,
.utility-links a:focus-visible {
  color: #ffffff;
}

.site-header {
  box-shadow: 0 4px 18px rgba(8, 34, 56, .06);
}

.brand {
  gap: .6rem;
}

.brand-mark {
  position: relative;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  background: url('/img/cds-mark.svg') center / contain no-repeat;
  border-radius: 0;
  box-shadow: none;
}

.brand-mark::before,
.brand-mark::after {
  content: none;
}

.brand-copy {
  border-left: 0;
  padding-left: 0;
}

.brand-name {
  display: block;
  max-width: 8.6rem;
  color: var(--brand-navy);
  font-size: .9rem;
  line-height: 1.04;
  letter-spacing: -.025em;
  text-transform: none;
  font-weight: 700;
}

.brand-tagline {
  display: none;
}

.brand-footer .brand-mark {
  background-image: url('/img/cds-mark-reverse.svg');
}

.brand-footer .brand-name {
  color: #ffffff;
}

.main-nav,
.header-phone,
.button,
.eyebrow,
.sample-card-body,
.site-footer {
  font-family: var(--font-body);
}

.main-nav .nav-cta .button,
.header-quote {
  color: #ffffff;
  background: #c44a12;
  border-color: #c44a12;
  box-shadow: 0 8px 18px rgba(196, 74, 18, .18);
}

.main-nav .nav-cta .button:hover,
.header-quote:hover {
  color: #ffffff;
  background: #a83f0f;
  border-color: #a83f0f;
}

.home-hero {
  min-height: 36rem;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 34, 56, .97) 0%, rgba(8, 34, 56, .92) 42%, rgba(8, 34, 56, .46) 72%, rgba(8, 34, 56, .2) 100%),
    linear-gradient(135deg, #0b2a45 0%, #0e4d6a 100%);
  border-bottom: 0;
}

.home-hero::after {
  width: 34rem;
  height: 34rem;
  border-color: rgba(255, 255, 255, .08);
  right: -12rem;
  bottom: -15rem;
}

.home-hero .eyebrow {
  color: #75d5e5;
}

.home-hero h1 {
  max-width: 39rem;
  color: #fff;
  font-size: clamp(3rem, 6.4vw, 5rem);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.04em;
}

.home-hero .hero-copy h1 span {
  color: #ffffff;
}

.hero-lead {
  color: #e7f0f5;
  max-width: 40rem;
}

.hero-location {
  color: #c8dce7;
}

.home-hero .button {
  color: #ffffff;
  background: #c44a12;
  border-color: #c44a12;
}

.home-hero .button:hover {
  color: #ffffff;
  background: #a83f0f;
  border-color: #a83f0f;
}

.home-hero .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .7);
}

.home-hero .button-secondary:hover {
  color: var(--brand-navy-deep);
  background: #fff;
  border-color: #fff;
}

.hero-points {
  color: #dce8ef;
}

.hero-points li::before {
  background: #52c6d8;
}

.hero-visual {
  width: min(100%, 42rem);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .28));
}

.hero-visual img {
  transform: rotate(1.5deg) scale(1.04);
}

.trust-strip {
  padding-block: 1.55rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(8, 34, 56, .06);
}

.trust-grid p {
  position: relative;
  padding-left: 2.4rem;
  border-left: 0;
}

.trust-grid p::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  color: #fff;
  background: var(--brand-blue);
  border-radius: 50%;
  font-size: .82rem;
  font-weight: 900;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section-heading h2,
.split-copy h2,
.output-grid h2,
.faq-preview-grid h2 {
  letter-spacing: -.03em;
}

.service-grid {
  gap: 1.15rem;
}

.service-card,
.sector-card {
  border-color: #dce7ee;
  border-radius: .55rem;
  box-shadow: 0 10px 25px rgba(8, 34, 56, .045);
}

.service-card:hover,
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(8, 34, 56, .1);
}

.service-card-number {
  color: var(--brand-navy-deep);
  background: var(--brand-cyan);
  border-radius: .4rem;
  font-weight: 800;
}

.examples-section {
  background: linear-gradient(180deg, #eef7fb 0%, #f8fbfd 100%);
  border-block: 1px solid #dceaf1;
}

.examples-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.examples-header .section-heading {
  margin-bottom: 0;
}

.sample-grid {
  display: grid;
  gap: 1.25rem;
}

.sample-card {
  overflow: hidden;
  color: var(--brand-copy);
  background: #fff;
  border: 1px solid #d8e5ed;
  border-radius: .55rem;
  box-shadow: 0 12px 28px rgba(8, 34, 56, .07);
  text-decoration: none;
}

.sample-card:hover {
  color: var(--brand-copy);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(8, 34, 56, .11);
}

.sample-preview {
  min-height: 15rem;
  display: grid;
  place-items: center;
  padding: 1.75rem;
  background: linear-gradient(135deg, #dcecf4 0%, #f2f7fa 100%);
}

.sample-sheet {
  width: min(82%, 17rem);
  min-height: 12rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #c7d6df;
  box-shadow: 0 16px 28px rgba(8, 34, 56, .13);
  transform: rotate(-2deg);
}

.sample-sheet::before {
  content: "";
  display: block;
  width: 52%;
  height: .55rem;
  margin-bottom: .9rem;
  background: var(--brand-navy);
  border-radius: 999px;
  box-shadow: 0 1.2rem 0 #d9e4ea, 0 2.25rem 0 #d9e4ea, 0 3.3rem 0 #d9e4ea, 0 4.35rem 0 #d9e4ea;
}

.sample-sheet::after {
  content: "○   ○   ○   ○   ○\A ○   ○   ○   ○   ○\A ○   ○   ○   ○   ○";
  white-space: pre;
  display: block;
  margin-top: 4.8rem;
  color: var(--brand-blue);
  font-size: .9rem;
  line-height: 1.8;
  letter-spacing: .11em;
}

.sample-card-body {
  padding: 1rem 1.15rem 1.15rem;
}

.sample-card-body strong {
  display: block;
  color: var(--brand-navy);
  font-size: 1rem;
}

.sample-card-body span {
  color: var(--brand-muted);
  font-size: .87rem;
}

.quality-panel {
  border-radius: .55rem;
}

.stats-strip {
  background: #f8fbfd;
}

.stats-grid dt {
  color: var(--brand-blue);
  font-weight: 800;
}

.home-cta,
.site-footer,
.section-navy {
  background-color: var(--brand-navy-deep);
}

.home-cta {
  position: relative;
  overflow: hidden;
}

.home-cta .button:not(.button-dark-secondary):hover {
  color: var(--brand-navy-deep);
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  box-shadow: 0 10px 24px rgba(25, 169, 197, .22);
}

.home-cta::after {
  content: "";
  position: absolute;
  width: 24rem;
  height: 24rem;
  right: -6rem;
  bottom: -12rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.form-page fieldset {
  border-radius: .55rem;
}

@media (min-width: 44rem) {
  .sample-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 56rem) {
  .utility-bar {
    display: block;
  }
}

@media (min-width: 73.75rem) {
  .site-header {
    top: 2rem;
  }

  .header-wrap {
    min-height: 4.65rem;
  }

  .main-nav > ul {
    gap: 1.05rem;
  }

  .main-nav > ul > li > a {
    font-size: .84rem;
  }
}

@media (max-width: 43.99rem) {
  .examples-header {
    align-items: start;
    flex-direction: column;
  }

  .home-hero {
    min-height: auto;
  }

  .brand-mark {
    width: 2.65rem;
    height: 2.65rem;
    flex-basis: 2.65rem;
  }
}

/* CDS approved 1C Premium / Minimal logo integration */

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-logo-header {
  width: clamp(10.75rem, 18vw, 13.75rem);
  height: auto;
  max-height: none;
  aspect-ratio: 502 / 161;
}

.brand-logo-footer {
  width: min(13rem, 100%);
  height: auto;
  aspect-ratio: 347 / 119;
}

/* Keep the full email readable inside the narrow footer contact column. */
.footer-contact a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  opacity: .96;
}

@media (max-width: 43.99rem) {
  .brand-logo-header {
    width: 10.5rem;
  }
}
