/* CTDSEC static SEO redesign. Keeps the existing blue/cyan identity while tightening accessibility and layout. */
:root {
  --navy: #1c3358;
  --navy-2: #274875;
  --navy-3: #37517e;
  --cyan: #21a7d8;
  --cyan-2: #47b2e4;
  --ink: #142033;
  --muted: #52637b;
  --line: #dbe4f0;
  --panel: #ffffff;
  --soft: #f4f8fc;
  --soft-2: #eaf3fa;
  --success: #1a7f5a;
  --warning: #8a5a00;
  --danger: #b42318;
  --radius: 8px;
  --shadow: 0 18px 55px rgba(28, 51, 88, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--navy-3);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--cyan);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(33, 167, 216, 0.45);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin-top: 0;
}

strong {
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  min-height: 72px;
  background: rgba(28, 51, 88, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header__inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.logo:hover,
.logo:focus {
  color: #fff;
}

.logo-mark {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 2px solid rgba(71, 178, 228, 0.9);
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
}

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

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 19px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #158db8;
  border-color: #158db8;
  color: #fff;
}

.btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline:hover,
.btn-outline:focus {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.btn-light {
  color: var(--navy);
  border-color: #fff;
  background: #fff;
}

.btn-light:hover,
.btn-light:focus {
  color: #fff;
  background: var(--cyan);
  border-color: var(--cyan);
}

.btn-secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus {
  color: #fff;
  background: var(--navy-3);
  border-color: var(--navy-3);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  padding: 94px 0 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.9), rgba(28, 51, 88, 0.74)),
    url("/assets/img/bg.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 95px;
  z-index: -1;
  background: linear-gradient(0deg, rgba(20, 32, 51, 0.32), transparent);
}

.hero-inner,
.page-hero__inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  gap: 54px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.6rem, 5vw, 4.95rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .lede,
.page-hero .lede {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: min(360px, 90vw);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.audit-panel {
  width: min(360px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 65px rgba(0, 0, 0, 0.22);
}

.audit-panel img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
}

.audit-panel h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.35rem;
}

.audit-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  max-width: 760px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.proof-item {
  padding: 17px 18px;
  background: rgba(28, 51, 88, 0.48);
}

.proof-item strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.91rem;
}

.trust-strip {
  padding: 18px 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.logo-grid img {
  display: block;
  max-width: 108px;
  max-height: 46px;
  margin: 0 auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
}

.page-hero {
  padding: 82px 0 62px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.94), rgba(28, 51, 88, 0.82)),
    url("/assets/img/aboutus-bg.jpg") center / cover no-repeat;
}

.page-hero--compact {
  padding: 64px 0 48px;
}

.breadcrumb-wrap {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 13px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--navy-3);
  font-weight: 700;
}

.breadcrumbs span + span::before,
.breadcrumbs a + span::before,
.breadcrumbs a + a::before {
  content: "/";
  margin-right: 8px;
  color: #8a9ab0;
  font-weight: 400;
}

.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--soft);
}

.section-tight {
  padding: 52px 0;
}

.section-heading {
  max-width: 820px;
  margin: 0 0 34px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 13px;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-note {
  max-width: 780px;
  margin: -16px 0 28px;
  color: var(--muted);
  font-size: 1rem;
}

.section-note a {
  color: var(--blue);
  font-weight: 700;
}

.eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--cyan);
  font-weight: 800;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
  gap: 38px;
  align-items: start;
}

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

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

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

.card,
.link-card,
.report-card,
.stat-card,
.method-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(28, 51, 88, 0.08);
}

.card,
.link-card,
.report-card,
.stat-card,
.method-card {
  padding: 24px;
}

.link-card {
  display: block;
  min-height: 100%;
}

.link-card:hover,
.link-card:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card i,
.link-card i,
.method-card i {
  color: var(--cyan);
  font-size: 1.8rem;
}

.card h3,
.link-card h3,
.report-card h3,
.stat-card h3,
.method-card h3 {
  margin: 10px 0 10px;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 800;
}

.card p,
.link-card p,
.report-card p,
.stat-card p,
.method-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.plain-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
}

.plain-list li:last-child {
  border-bottom: 0;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
}

.dense-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dense-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 650;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.spec-table th,
.spec-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 34%;
  color: var(--navy);
  background: var(--soft);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.code-inline {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--soft-2);
  color: var(--navy);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

.content-block {
  max-width: 850px;
}

.content-block h2,
.content-block h3 {
  color: var(--navy);
  line-height: 1.18;
}

.content-block h2 {
  margin: 2.1rem 0 0.8rem;
  font-size: clamp(1.75rem, 2.4vw, 2.45rem);
}

.content-block h3 {
  margin: 1.65rem 0 0.65rem;
  font-size: 1.32rem;
}

.content-block li {
  margin-bottom: 0.45rem;
}

.cta-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(28, 51, 88, 0.95), rgba(33, 167, 216, 0.86)),
    url("/assets/img/bg.jpg") center / cover no-repeat;
}

.cta-band .section-heading h2,
.cta-band .section-heading p {
  color: #fff;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
}

.cta-box h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.cta-box p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px 22px;
}

.faq-item h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.report-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}

.severity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.severity {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.severity strong {
  display: block;
  font-size: 1.9rem;
  color: var(--navy);
}

.severity span {
  color: var(--muted);
}

.severity--high strong {
  color: var(--success);
}

.site-footer {
  padding: 56px 0 36px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.form-shell {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #b7c5d8;
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.field-help {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
}

label.error {
  color: var(--danger);
  font-size: 0.86rem;
  margin-top: 5px;
}

#form-message-warning,
#form-message-success,
.submitting {
  display: none;
  margin-top: 16px;
  font-weight: 800;
}

#form-message-warning {
  color: var(--danger);
}

#form-message-success {
  color: var(--success);
}

.submitting {
  color: var(--navy);
}

.contact-sidebar {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
}

.contact-sidebar h2 {
  margin-top: 0;
  color: var(--navy);
  font-size: 1.55rem;
}

.not-found {
  min-height: 56vh;
  display: grid;
  align-items: center;
}

@media (max-width: 1120px) {
  .site-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    padding: 16px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 4px;
  }

  .site-nav a {
    color: var(--navy);
  }

  .site-nav a:hover,
  .site-nav a:focus {
    color: var(--navy);
    background: var(--soft);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header .btn {
    display: none;
  }

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

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 72px 0 54px;
  }

  .hero-grid,
  .two-column,
  .cta-box,
  .report-card {
    grid-template-columns: 1fr;
  }

  .three-column,
  .four-column,
  .card-grid,
  .logo-grid,
  .severity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .cta-box {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .site-header__inner,
  .hero-inner,
  .page-hero__inner,
  .section-inner,
  .footer-inner,
  .footer-bottom,
  .breadcrumbs {
    width: min(100% - 24px, 1180px);
  }

  .logo {
    font-size: 1.18rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.05rem, 12vw, 3.05rem);
  }

  .section {
    padding: 54px 0;
  }

  .three-column,
  .four-column,
  .card-grid,
  .logo-grid,
  .dense-list,
  .severity-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-shell {
    padding: 22px;
  }

  .btn {
    width: 100%;
  }

  .site-header .btn {
    width: auto;
  }

  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table th,
  .spec-table td {
    border-bottom: 0;
  }

  .spec-table tr {
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
