/* ============================================================
   AFSS — Pages (homepage sections + page-specific styles)
   Source: components/home/*.tsx + components/PageHero.tsx + ...
   ============================================================ */

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 0.75rem 0 1rem;
}
@media (min-width: 1024px) {
  .hero-section { padding: 0.75rem 0 1.5rem; }
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: rgba(11, 29, 54, 0.012);
  background-image: url('../assets/icon.png');
  background-repeat: no-repeat;
  background-position: right -50px center;
  background-size: clamp(300px, 40vw, 550px);
  opacity: 0.025;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 0;
  align-items: start;
  position: relative;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 0 2.5rem;
  }
}
.hero-doc-wrap {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-doc-wrap { max-width: 440px; }
}
@media (min-width: 1024px) {
  .hero-doc-wrap {
    max-width: none;
    position: sticky;
    top: 8rem;
    grid-column: 1;
    grid-row: 1 / span 2;
  }
}
.hero-doc-stack {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 5/7;
}
.doc-page {
  position: absolute;
  width: 82%;
  aspect-ratio: 5/7;
  background: #fff;
  border: 1px solid #e3e7ee;
  border-radius: 0.125rem;
  overflow: hidden;
}
.doc-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doc-page--back {
  left: 3%; top: 4%;
  transform: rotate(-7deg);
  box-shadow: 0 4px 12px rgba(11, 29, 54, 0.04);
  z-index: 1;
}
.doc-page--middle {
  left: 8%; top: 6%;
  transform: rotate(-2deg);
  box-shadow: 0 8px 20px rgba(11, 29, 54, 0.06);
  z-index: 2;
}
.doc-page--front {
  left: 13%; top: 8%;
  box-shadow: 0 12px 30px rgba(11, 29, 54, 0.08);
  z-index: 3;
}
.doc-page__rule {
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(to right, #0b1d36 0%, #0b1d36 78%, #b0141f 78%, #b0141f 100%);
  z-index: 1;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .hero-text-block {
    margin: 0;
    grid-column: 2;
    grid-row: 1;
  }
}
.hero-form-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .hero-form-block {
    margin: 0;
    grid-column: 2;
    grid-row: 2;
  }
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
}
.hero-eyebrow-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: #b0141f;
  flex-shrink: 0;
}
.hero-eyebrow-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1c4d9c;
}
.hero-h1 {
  font-size: clamp(1.85rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: #0b1d36;
  margin: 0;
  text-wrap: balance;
}
.hero-description {
  margin-top: 1.15rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #3a4a63;
  line-height: 1.55;
  max-width: 34rem;
}
@media (min-width: 768px) {
  .hero-description { font-size: 1.05rem; }
}

/* Hero quote starter form */
.hero-quote-form {
  margin-top: 0.5rem;
  width: 100%;
  max-width: 34rem;
  border-radius: 0.375rem;
  border: 1px solid #e3e7ee;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 29, 54, 0.08);
  text-align: left;
}
@media (min-width: 1024px) {
  .hero-quote-form { margin-top: 1.75rem; }
}
.hero-form-header {
  padding: 0.85rem 1rem 0.5rem;
  border-bottom: 1px solid #eef1f6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-form-header-dot {
  width: 6px;
  height: 6px;
  background: #b0141f;
  flex-shrink: 0;
}
.hero-form-header-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0b1d36;
}
.hero-form-header-time {
  margin-left: auto;
  font-size: 0.7rem;
  color: #5b6a82;
  font-weight: 600;
}
.hero-form-body {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .hero-form-body { grid-template-columns: 1fr 1fr; }
  .hero-form-body .field-group.full-width { grid-column: span 2; }
}
.hero-form-body label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0b1d36;
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 0.25rem;
}
.hero-form-body input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid #d8dde6;
  background: #fff;
  color: #0b1d36;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hero-form-body input:focus {
  border-color: #1c4d9c;
  box-shadow: 0 0 0 2px rgba(28, 77, 156, 0.18);
}
.mobile-input-wrapper {
  display: flex;
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid #d8dde6;
  border-radius: 0.25rem;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.mobile-input-wrapper:focus-within {
  border-color: #1c4d9c;
  box-shadow: 0 0 0 2px rgba(28, 77, 156, 0.18);
}
.mobile-input-wrapper .prefix {
  display: flex;
  align-items: center;
  border-right: 1px solid #d8dde6;
  background: #f8fafc;
  padding: 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #5b6a82;
}
.mobile-input-wrapper input {
  border: none;
  border-radius: 0;
  flex: 1;
  min-height: 100%;
  padding: 0.5rem 0.75rem;
  outline: none;
  box-shadow: none !important;
}
.hero-form-footer {
  padding: 0 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
@media (min-width: 640px) {
  .hero-form-footer { flex-direction: row; }
}
.hero-form-footer .btn {
  min-width: 12rem;
  width: 100%;
  justify-content: center;
}
@media (min-width: 640px) {
  .hero-form-footer .btn { width: auto; flex: none; }
}
.hero-form-secure {
  margin: 0;
  font-size: 0.78rem;
  color: #5b6a82;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-trust {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 34rem;
  gap: 0.75rem;
  color: #3a4a63;
  list-style: none;
  padding: 0;
}
.trust-pill {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 0.625rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3a4a63;
  background: transparent;
  border: none;
  padding: 0;
}
.trust-pill svg {
  color: #16a34a;
  margin-top: 2px;
  flex-shrink: 0;
}


/* ============================================================
   GENERIC SECTION BLOCKS
   ============================================================ */
.section-block {
  padding: var(--section-y-tight) 0;
  background: #ffffff;
  width: 100%;
  overflow: hidden;
}
/* The sample carousel uses 3D-fanned slides that extend past the
   section box; allow them to overflow. */
.section-block:has(#sample-carousel-root) {
  overflow: visible;
}
.section-block--alt {
  background: #fafbfc;
}
.section-split {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: stretch;
  text-align: center;
}
@media (min-width: 1024px) {
  .section-split {
    flex-direction: row;
    gap: 4rem;
    text-align: left;
  }
  .section-split > div:first-child {
    width: 45%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .section-split > div:last-child {
    width: 55%;
  }
}
.section-header-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .section-header-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    text-align: left;
  }
  .section-header-row > div:first-child { flex: 1; }
  .section-header-row > p { flex: 1; max-width: 28rem; margin: 0; }
}

/* ============================================================
   GOT YOUR AFSS? (Section 01)
   ============================================================ */
.pathways-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pathway-card {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: #fff;
  border: 2px solid #d3dce8;
  border-radius: 0.75rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  outline: none;
}
@media (min-width: 640px) {
  .pathway-card {
    gap: 1.25rem;
    padding: 1.5rem;
  }
}
.pathway-card:hover,
.pathway-card:focus-visible {
  border-color: #1c4d9c;
  background: #f5f8fc;
  box-shadow: 0 8px 24px rgba(28, 77, 156, 0.06);
}
.pathway-card__icon {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fde8e9;
  color: #b0141f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.pathway-card:hover .pathway-card__icon {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.pathway-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.pathway-card__title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0b1d36;
}
@media (min-width: 640px) {
  .pathway-card__title { font-size: 1.05rem; }
}
.pathway-card__desc {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #5b6a82;
  font-weight: 500;
}
.pathway-card__arrow {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid #d8dde6;
  color: #1c4d9c;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.pathway-card:hover .pathway-card__arrow {
  background: #1c4d9c;
  color: #fff;
  border-color: #1c4d9c;
  transform: translateX(4px);
}

/* ============================================================
   HOW IT WORKS (Section 02)
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 0.75rem;
  position: relative;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
  }
}
.steps-grid::before {
  content: "";
  display: none;
  position: absolute;
  left: 10%; right: 10%;
  top: 28px;
  height: 1px;
  background: rgba(176, 20, 31, 0.4);
  z-index: 1;
}
@media (min-width: 768px) {
  .steps-grid::before { display: block; }
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}
.step-number {
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #b0141f;
  color: #b0141f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  margin: 0 auto;
}
.step-body {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.5rem;
}
.step-watermark {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  font-weight: 900;
  color: #e8eff8;
  line-height: 1;
  user-select: none;
  z-index: -1;
  white-space: nowrap;
  letter-spacing: -0.05em;
}
@media (min-width: 1024px) {
  .step-watermark { font-size: 7.5rem; top: -1.5rem; }
}
.step-title {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #0b1d36;
  line-height: 1.25;
}
@media (min-width: 1024px) {
  .step-title { margin-top: 5rem; font-size: 1.125rem; }
}
.step-desc {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #4a5870;
  line-height: 1.6;
  max-width: 14rem;
  font-weight: 500;
}

/* ============================================================
   WHAT IS AN AFSS? (Section 03)
   ============================================================ */
.whatis-layout {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: flex-start;
  text-align: center;
}
@media (min-width: 1024px) {
  .whatis-layout {
    flex-direction: row;
    gap: 6rem;
    text-align: left;
  }
}
.whatis-left {
  width: 100%;
}
@media (min-width: 1024px) {
  .whatis-left { width: 38%; flex-shrink: 0; }
}
.whatis-image-wrap {
  display: none;
}
@media (min-width: 1024px) {
  .whatis-image-wrap {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    margin-top: 3rem;
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }
  .whatis-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left top;
    filter: drop-shadow(0 20px 25px rgba(0,0,0,0.1));
  }
}
.whatis-right {
  width: 100%;
}
@media (min-width: 1024px) {
  .whatis-right { width: 62%; }
}
.whatis-facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 3rem;
}
@media (min-width: 768px) {
  .whatis-facts-grid { grid-template-columns: 1fr 1fr; }
}
.whatis-fact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .whatis-fact-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
  }
}
.whatis-fact-card.border-top-mobile {
  padding-top: 2.5rem;
  border-top: 1px solid #e3e7ee;
}
@media (min-width: 768px) {
  .whatis-fact-card.border-top-mobile { padding-top: 0; border-top: none; }
}
.whatis-fact-card.border-top-all {
  padding-top: 2.5rem;
  border-top: 1px solid #e3e7ee;
}
.whatis-fact-icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 3rem;
  flex-shrink: 0;
}
.whatis-fact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0141f;
}
.whatis-fact-num {
  color: #b0141f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
  text-align: center;
  width: 100%;
}
.whatis-fact-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b1d36;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.whatis-fact-desc {
  font-size: 0.95rem;
  color: #5b6a82;
  line-height: 1.6;
  margin: 0;
}
.whatis-bottom-card {
  margin-top: 3rem;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(11, 29, 54, 0.04);
  padding: 1.5rem;
}
@media (min-width: 1024px) {
  .whatis-bottom-card { margin-top: 5rem; }
}
.whatis-bottom-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .whatis-bottom-card__inner { flex-direction: row; }
}
.whatis-bottom-card__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .whatis-bottom-card__left {
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
  }
}
.whatis-bottom-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 2px solid #f0f4f8;
  background: #fff;
  color: #b0141f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.whatis-bottom-card__title {
  color: #0b1d36;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}
.whatis-bottom-card__desc {
  color: #5b6a82;
  font-size: 0.95rem;
  margin: 0.375rem 0 0;
}
.whatis-bottom-card__link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0b1d36;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.whatis-bottom-card__link:hover { color: #1c4d9c; }

/* ============================================================
   SAMPLE AFSS (Section 04)
   ============================================================ */
.sample-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  text-align: center;
  overflow: visible;
}
@media (min-width: 1024px) {
  .sample-layout {
    flex-direction: row;
    gap: 4rem;
    text-align: left;
    overflow: visible;
  }
}
.sample-left {
  width: 100%;
}
@media (min-width: 1024px) {
  .sample-left { width: 42%; flex-shrink: 0; }
}
.sample-features-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  text-align: left;
}
.sample-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.sample-feature-icon {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid #e3e7ee;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0141f;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.sample-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b1d36;
  line-height: 1.35;
  margin: 0;
}
.sample-feature-desc {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.55;
  margin-bottom: 0;
}
.sample-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}
@media (min-width: 1024px) {
  .sample-right { width: 70%; }
}
.sample-carousel-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sample-carousel-viewport {
  position: relative;
  width: 100%;
  height: 440px;
  perspective: 1600px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sample-carousel-slide {
  position: absolute;
  width: 70%;
  height: 90%;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sample-carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(11, 29, 54, 0.15));
  border-radius: 0.125rem;
}
.sample-carousel-slide[data-pos="active"] {
  transform: translateX(0) scale(1) rotateY(0);
  z-index: 20;
  opacity: 1;
  cursor: zoom-in;
}
.sample-carousel-slide[data-pos="next"] {
  transform: translateX(40%) scale(0.82) rotateY(-15deg);
  z-index: 10;
  opacity: 0.9;
}
.sample-carousel-slide[data-pos="far-next"] {
  transform: translateX(70%) scale(0.65) rotateY(-25deg);
  z-index: 5;
  opacity: 0.5;
  pointer-events: none;
}
.sample-carousel-slide[data-pos="prev"] {
  transform: translateX(-40%) scale(0.82) rotateY(15deg);
  z-index: 10;
  opacity: 0.9;
}
.sample-carousel-slide[data-pos="far-prev"] {
  transform: translateX(-70%) scale(0.65) rotateY(25deg);
  z-index: 5;
  opacity: 0.5;
  pointer-events: none;
}
.sample-carousel-slide[data-pos="hidden"] {
  transform: translateX(0) scale(0.6) rotateY(0);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}
.sample-carousel-zoom-hint {
  position: absolute;
  inset: 0;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  pointer-events: none;
  background: transparent;
  box-shadow: none;
}
.sample-carousel-slide:hover .sample-carousel-zoom-hint { opacity: 0; }
.sample-carousel-zoom-hint svg {
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  color: #1c4d9c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.sample-carousel-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.5rem;
  z-index: 10;
}
.sample-carousel-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.carousel-arrow-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1d36;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.carousel-arrow-btn:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  color: #1c4d9c;
}
.sample-carousel-page-label {
  font-size: 1rem;
  font-weight: 500;
  color: #0b1d36;
}
.sample-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.sample-carousel-dot-btn {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.sample-carousel-dot-btn .dot-inner {
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: #c8d4e8;
  transition: all 0.2s;
}
.sample-carousel-dot-btn.is-active .dot-inner {
  width: 0.75rem;
  height: 0.75rem;
  background: #1c4d9c;
}


/* ============================================================
   LIGHTBOX MODAL (Section 04 Sample AFSS)
   ============================================================ */
.afss-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(11, 29, 54, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.afss-lightbox-modal.is-open {
  display: flex !important;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}
.lightbox-close-btn {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 100001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #0b1d36;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease;
  pointer-events: auto !important;
}
.lightbox-close-btn:hover {
  background: #f1f5f9;
  color: #b0141f;
  transform: scale(1.08);
}
.lightbox-content-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 95vw;
  max-height: 90vh;
  pointer-events: auto !important;
}
.lightbox-image-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(85vw, 680px);
  max-height: min(82vh, 880px);
}
.lightbox-image {
  max-width: 100%;
  max-height: min(80vh, 850px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  display: block;
}
.lightbox-arrow-btn {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #0b1d36;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, background-color 0.15s ease;
  pointer-events: auto !important;
}
@media (min-width: 768px) {
  .lightbox-arrow-btn {
    display: flex !important;
  }
}
.lightbox-arrow-btn:hover {
  background: #f1f5f9;
  color: #1c4d9c;
  transform: scale(1.08);
}
.lightbox-mobile-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: 100000;
  pointer-events: auto !important;
}
@media (min-width: 768px) {
  .lightbox-mobile-bar { display: none !important; }
}
.lightbox-mobile-bar .carousel-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #0b1d36;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  pointer-events: auto !important;
}
.lightbox-counter {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}


/* ============================================================
   DOES MY BUILDING NEED AN AFSS (Section 05)
   ============================================================ */
.building-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .building-categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .building-categories-grid { grid-template-columns: repeat(3, 1fr); }
}
.bldg-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid #e8edf5;
}
@media (min-width: 640px) {
  .bldg-cat-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
  }
}
@media (min-width: 768px) {
  .bldg-cat-card { padding: 2.5rem 2rem; }
}
.bldg-cat-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #f4f7fb;
  border: 1px solid #e8edf5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0141f;
  flex-shrink: 0;
}
.bldg-cat-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b1d36;
  line-height: 1.25;
  margin: 0;
}
.bldg-cat-desc {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0;
}
.needs-cta-row {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .needs-cta-row { margin-top: 4rem; }
}
.needs-cta-text {
  color: #0b1d36;
  font-weight: 500;
  font-size: 0.95rem;
}
.subtle-link-btn {
  color: #1c4d9c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* ============================================================
   INSPECTION INVOLVES (Section 06)
   ============================================================ */
.inspection-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: stretch;
  position: relative;
}
@media (min-width: 1024px) {
  .inspection-layout {
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }
}
.inspection-left {
  width: 100%;
  order: 1;
}
@media (min-width: 1024px) {
  .inspection-left {
    width: 58%;
    order: 2;
  }
}
.inspection-right-image {
  display: none;
}
@media (min-width: 1024px) {
  .inspection-right-image {
    display: flex;
    width: 42%;
    order: 1;
    position: relative;
    pointer-events: none;
    align-items: center;
    justify-content: flex-end;
    align-self: stretch;
    min-height: 540px;
  }
}
.inspection-img-inner {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 125%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.inspection-hero-img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 100%);
}
.inspection-steps-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 768px) {
  .inspection-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.inspection-step-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e3e7ee;
}
@media (min-width: 640px) {
  .inspection-step-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
  }
}
@media (min-width: 768px) {
  .inspection-step-item {
    padding: 1.75rem 1rem 1.75rem 0;
  }
}
.inspection-step-num {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e3e7ee;
  color: #b0141f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.inspection-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b1d36;
  line-height: 1.25;
  margin: 0;
}
.inspection-step-desc {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #3a4a63;
  line-height: 1.6;
  margin-bottom: 0;
}
.inspection-cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.inspection-cta-text {
  font-size: 0.95rem;
  color: #3a4a63;
}

/* ============================================================
   MEASURES ASSESSED (Section 07)
   ============================================================ */
.measures-mobile-image {
  width: 100%;
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
}
@media (min-width: 1024px) {
  .measures-mobile-image { display: none !important; }
}
.measures-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
}
@media (min-width: 768px) {
  .measures-cards-grid { gap: 3rem 2.5rem; }
}
@media (min-width: 1024px) {
  .measures-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 3.5rem;
  }
}
.measure-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .measure-card-item {
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
  }
}
.measure-card-img {
  width: 100px;
  height: 100px;
  border-radius: 1.25rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #f4f7fb;
}
@media (min-width: 640px) {
  .measure-card-img { width: 120px; height: 120px; }
}
@media (min-width: 1280px) {
  .measure-card-img { width: 140px; height: 140px; }
}
.measure-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.measure-card-num {
  color: #b0141f;
  font-weight: 700;
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.375rem;
}
.measure-card-title {
  color: #0b1d36;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 0;
}
.measures-info-box {
  margin-top: 4rem;
  background: #f4f7fb;
  border: 1px solid #e3e7ee;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  gap: 1.25rem;
}
.measures-info-icon {
  color: #1c4d9c;
  flex-shrink: 0;
}
.measures-info-text {
  color: #0b1d36;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   DUE DATE & PENALTIES (Section 08)
   ============================================================ */
.penalties-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .penalties-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}
.penalties-left {
  display: flex;
  flex-direction: column;
  text-align: center;
}
@media (min-width: 1024px) {
  .penalties-left { text-align: left; }
}
.penalties-buttons-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .penalties-buttons-row { justify-content: flex-start; }
}
.penalties-buttons-row .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
}
.penalties-calendar-image {
  margin-top: 4rem;
  width: 100%;
  max-width: 550px;
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .penalties-calendar-image { margin-inline: 0; }
}
.penalties-calendar-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.1));
}
.penalty-box-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.6rem;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
@media (min-width: 1024px) {
  .penalty-box-card { padding: 3rem; }
}
.penalty-box-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.penalty-box-bell {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid #d9232d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d9232d;
  flex-shrink: 0;
}
.penalty-box-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #d9232d;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0;
}
.penalty-box-lead {
  font-size: 1.1rem;
  color: #0b1d36;
  font-weight: 700;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.penalty-box-sublead {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.penalty-table {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  border-top: 1px solid #f1f5f9;
}
.penalty-row {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.penalty-row__week {
  width: 55%;
  color: #1c4d9c;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.penalty-row__amount {
  width: 45%;
  color: #d9232d;
  font-weight: 700;
  font-size: 0.95rem;
}
.penalty-legal-note {
  font-size: 0.8rem;
  color: #718096;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.penalty-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin-bottom: 1.5rem;
}
.penalty-info-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #4a5568;
  font-size: 0.85rem;
}
.penalty-info-footer svg {
  color: #1c4d9c;
  flex-shrink: 0;
}

/* ============================================================
   ACCREDITED PRACTITIONERS (Section 09)
   ============================================================ */
.accredited-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .accredited-layout {
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
  }
}
.accredited-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 1024px) {
  .accredited-left {
    align-items: flex-start;
    text-align: left;
  }
}
.principles-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}
.principle-item {
  padding: 1.75rem 0;
  border-top: 1px solid #e3e7ee;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.principle-item.border-bottom {
  border-bottom: 1px solid #e3e7ee;
}
.principle-icon {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #e7eef9;
  color: #b0141f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.principle-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b1d36;
  line-height: 1.25;
  margin: 0;
}
.principle-desc {
  margin-top: 0.375rem;
  font-size: 0.92rem;
  color: #3a4a63;
  line-height: 1.55;
  max-width: 34rem;
  margin-bottom: 0;
}

/* ============================================================
   KNOW YOUR DOCUMENTS (Section 10)
   ============================================================ */
.docs-three-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .docs-three-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.doc-card-split {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.doc-visual-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}
.doc-visual-num {
  position: absolute;
  left: 0;
  top: 25%;
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 800;
  color: #e7eef9;
  line-height: 1;
  letter-spacing: -0.05em;
  user-select: none;
}
.doc-visual-bubble {
  position: absolute;
  right: 5%;
  width: 60%;
  height: 80%;
  border-radius: 50%;
  background: #f5f7fa;
  z-index: 0;
  transition: transform 0.5s ease;
}
.doc-card-split:hover .doc-visual-bubble { transform: scale(1.05); }
.doc-visual-sheet {
  position: relative;
  width: 70%;
  aspect-ratio: 3/4;
  z-index: 10;
  transform: rotate(2deg);
  transition: transform 0.5s ease;
  box-shadow: 0 18px 38px rgba(11, 29, 54, 0.16);
  background: #fff;
  border: 1px solid #e3e7ee;
  border-radius: 0.125rem;
  overflow: hidden;
}
.doc-card-split:hover .doc-visual-sheet { transform: rotate(0); }
.doc-visual-sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doc-visual-bar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: #0b1d36;
  z-index: 1;
}
.doc-info-box {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.border-left-lg {
  padding-left: 0;
}
@media (min-width: 1024px) {
  .border-left-lg {
    border-left: 1px solid #e3e7ee;
    margin-left: -1.25rem;
    padding-left: 1.25rem;
  }
}
.doc-info-icon-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.doc-icon { color: #b0141f; }
.doc-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b0141f;
}
.doc-title {
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #0b1d36;
  line-height: 1.25;
  margin: 0;
}
.doc-subtitle {
  margin-top: 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #b0141f;
  margin-bottom: 0;
}
.doc-desc {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: #3a4a63;
  line-height: 1.55;
}
.doc-action-link {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1c4d9c;
  text-decoration: none;
  transition: gap 0.2s;
}
.doc-action-link:hover { gap: 0.75rem; }

/* ============================================================
   AS 1851-2012 (Section 11)
   ============================================================ */
.as1851-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .as1851-layout {
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: stretch;
  }
}
.as1851-left {
  width: 100%;
  order: 2;
}
@media (min-width: 1024px) {
  .as1851-left { order: 1; }
}
.as1851-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  aspect-ratio: 5/4;
  border-radius: 0.25rem;
  overflow: hidden;
  border: 1px solid #e3e7ee;
  box-shadow: 0 18px 44px rgba(11, 29, 54, 0.18);
}
@media (min-width: 1024px) {
  .as1851-img-wrap { aspect-ratio: auto; }
}
.as1851-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.as1851-float-card {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 0.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e3e7ee;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: calc(100% - 2rem);
}
@media (min-width: 640px) {
  .as1851-float-card {
    bottom: 1.5rem;
    right: 1.5rem;
    max-width: 260px;
  }
}
.as1851-float-icon {
  color: #0b1d36;
  margin-bottom: 0.5rem;
}
.as1851-float-date {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1c4d9c;
  line-height: 1;
  letter-spacing: -0.02em;
}
.as1851-float-divider {
  width: 100%;
  height: 1px;
  background: #e3e7ee;
  margin: 0.5rem 0;
}
.as1851-float-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0b1d36;
  line-height: 1.4;
  margin: 0;
}
.as1851-right {
  width: 100%;
  order: 1;
  text-align: center;
}
@media (min-width: 1024px) {
  .as1851-right {
    order: 2;
    padding-left: 0.5rem;
    text-align: left;
  }
}
.as1851-pills-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 640px) {
  .as1851-pills-grid { grid-template-columns: repeat(4, 1fr); }
}
.as1851-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid #e3e7ee;
  background: #fff;
}
.as1851-pill__check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #0b1d36;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.as1851-pill__label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b1d36;
}
.as1851-note-box {
  margin-top: 1.75rem;
  padding: 1rem;
  border-radius: 0.25rem;
  background: #f5f7fa;
  border: 1px solid #e3e7ee;
  text-align: left;
}
.as1851-note-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0b1d36;
  line-height: 1.35;
}
.as1851-note-desc {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #3a4a63;
  line-height: 1.55;
}

/* ============================================================
   PROJECTS (Section 12)
   ============================================================ */
.projects-tabs-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  scrollbar-width: none;
}
@media (min-width: 768px) {
  .projects-tabs-row { justify-content: center; }
}
.projects-tabs-row::-webkit-scrollbar { display: none; }
.project-tab-btn {
  flex: none;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.25rem;
  border: 1px solid #e3e7ee;
  background: #fff;
  color: #0b1d36;
  cursor: pointer;
  transition: all 0.2s;
}
.project-tab-btn:hover {
  border-color: #1c4d9c;
  background: #f5f8fc;
}
.project-tab-btn.is-active {
  background: #b0141f;
  color: #fff;
  border-color: #b0141f;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.projects-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 768px) {
  .projects-grid-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .projects-grid-container { grid-template-columns: repeat(4, 1fr); }
}
.project-card-wrapper {
  height: 100%;
}
.project-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #e3e7ee;
  overflow: hidden;
  transition: all 0.3s;
}
.project-card:hover {
  border-color: #1c4d9c;
  box-shadow: 0 12px 24px rgba(11, 29, 54, 0.06);
  transform: translateY(-2px);
}
.project-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f7fa;
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #b0141f;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  z-index: 10;
}
.project-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
  gap: 0.5rem;
}
.project-card__location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #5b6a82;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.project-card__location svg { color: #1c4d9c; }
.project-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #b0141f;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.project-card__service {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1c4d9c;
  line-height: 1.35;
}
.project-card__year {
  font-family: var(--font-mono);
  font-weight: 500;
  color: #5b6a82;
}
.project-card__scope {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #3a4a63;
  line-height: 1.6;
}
.project-card__action {
  margin-top: auto;
  padding-top: 0.5rem;
}
.project-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #e3e7ee;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1c4d9c;
  text-decoration: none;
  transition: all 0.2s;
}
.project-card__btn:hover {
  border-color: #1c4d9c;
  background: #f5f7fa;
}

/* ============================================================
   CLIENTS / PARTNERS (Section 13)
   ============================================================ */
.clients-marquee {
  overflow: hidden;
  position: relative;
}
.clients-marquee::before,
.clients-marquee::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: min(13vw, 9rem);
  z-index: 2;
  pointer-events: none;
}
.clients-marquee::before {
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  left: 0;
}
.clients-marquee::after {
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  right: 0;
}
.clients-marquee-track-wrap {
  display: grid;
  gap: clamp(1.6rem, 3.2vw, 2.7rem);
}
.clients-marquee-track {
  display: flex;
  gap: clamp(2.4rem, 5.2vw, 4.5rem);
  width: max-content;
  will-change: transform;
}
.clients-marquee-track.is-left {
  animation: clientsSlideLeft 38s linear infinite;
}
.clients-marquee-track.is-right {
  animation: clientsSlideRight 34s linear infinite;
}
@keyframes clientsSlideLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes clientsSlideRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-marquee-track.is-left,
  .clients-marquee-track.is-right {
    animation-duration: 90s;
  }
}
.clients-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 clamp(9rem, 12vw, 13rem);
  height: clamp(4rem, 5.5vw, 5.5rem);
}
.clients-marquee-logo {
  display: block;
  height: auto;
  max-height: clamp(2.4rem, 3.8vw, 3.8rem);
  max-width: min(100%, 12rem);
  object-fit: contain;
  width: auto;
}
.clients-marquee-logo.is-square {
  max-height: clamp(4rem, 5.2vw, 5.2rem);
}
.clients-marquee-logo.is-inverted {
  background-color: #1a1a1a;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
}

/* ============================================================
   TESTIMONIALS (Section 14)
   ============================================================ */
.testimonial-slider-wrap {
  position: relative;
  width: 100%;
}
.testimonial-cards-flex {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  width: 100%;
}
@media (min-width: 1024px) {
  .testimonial-cards-flex { gap: 2rem; }
}
.testimonial-active-card {
  background: #0b1d36;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .testimonial-active-card { flex-direction: row; }
}
@media (min-width: 1024px) {
  .testimonial-active-card {
    width: calc(100% - 24rem);
    flex-shrink: 0;
  }
}
.testimonial-card-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
@media (min-width: 768px) {
  .testimonial-card-content { padding: 2rem; }
}
@media (min-width: 1024px) {
  .testimonial-card-content { padding: 2.5rem; }
}
.testimonial-quote-mark {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: Georgia, serif;
  font-size: clamp(4rem, 6vw, 6rem);
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.testimonial-quote-text {
  margin: 1.5rem 0 0;
  position: relative;
  z-index: 10;
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.testimonial-red-line {
  width: 2.5rem;
  height: 2px;
  background: #b0141f;
  margin: 1.5rem 0;
  flex-shrink: 0;
}
.testimonial-author-area {
  margin-top: auto;
}
.testimonial-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #b0141f;
  margin-bottom: 1rem;
}
.testimonial-name {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.25;
}
.testimonial-role {
  color: #a0abbc;
  font-size: 0.9rem;
  margin-top: 0.125rem;
}
.testimonial-location {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #a0abbc;
  font-size: 0.85rem;
}
.location-pin-icon {
  color: #1c4d9c;
  flex-shrink: 0;
}
.testimonial-footer-ctrls {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.testimonial-counter {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}
.testimonial-counter .dim { opacity: 0.5; }
.testimonial-progress-bars {
  display: flex;
  gap: 0.25rem;
  width: 5rem;
}
.testimonial-progress-bars .bar {
  height: 2px;
  flex: 1;
  background: rgba(255, 255, 255, 0.2);
}
.testimonial-progress-bars .bar.is-active {
  background: #b0141f;
}
.testimonial-btn-pair {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.test-arrow-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.test-arrow-btn.prev {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
}
.test-arrow-btn.prev:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}
.test-arrow-btn.next {
  border: none;
  background: #fff;
  color: #0b1d36;
}
.test-arrow-btn.next:hover {
  background: #e2e8f0;
}
.testimonial-card-media {
  width: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .testimonial-card-media {
    width: 45%;
    flex-shrink: 0;
    padding: 1.25rem 1.25rem 1.25rem 0;
  }
}
.testimonial-img-box {
  position: relative;
  width: 100%;
  height: 14rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #102b4f;
}
@media (min-width: 768px) {
  .testimonial-img-box {
    height: 100%;
    min-height: 260px;
  }
}
.testimonial-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-peeking-card {
  display: none;
}
@media (min-width: 1024px) {
  .testimonial-peeking-card {
    display: flex;
    flex-direction: column;
    width: 22rem;
    flex-shrink: 0;
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 30px rgba(11, 29, 54, 0.12);
    border: 1px solid #e3e7ee;
    position: relative;
    overflow: hidden;
    opacity: 0.75;
  }
}
.testimonial-quote-mark.is-blue {
  color: rgba(28, 77, 156, 0.15);
}
.peeking-quote-text {
  margin-top: 1.5rem;
  color: #0b1d36;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}
.peeking-name {
  color: #0b1d36;
  font-weight: 700;
  font-size: 0.95rem;
}
.peeking-role {
  color: #5b6a82;
  font-size: 0.8rem;
  margin-top: 0.125rem;
}
.peeking-loc-title {
  margin-top: 1rem;
  color: #0b1d36;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.peeking-loc-sub {
  color: #5b6a82;
  font-size: 0.7rem;
  margin-top: 0.125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.testimonial-float-arrow {
  display: none;
}
@media (min-width: 1024px) {
  .testimonial-float-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 21rem;
    width: 2.75rem;
    height: 2.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #0b1d36;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 50;
    transition: transform 0.2s;
  }
  .testimonial-float-arrow:hover {
    transform: translateY(-50%) scale(1.05);
  }
}

/* ============================================================
   FAQ (Section 15)
   ============================================================ */
.faq-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (min-width: 768px) {
  .faq-layout {
    flex-direction: row;
    gap: 3rem;
    text-align: left;
  }
}
@media (min-width: 1024px) {
  .faq-layout { gap: 4rem; }
}
.faq-left-col {
  width: 100%;
}
@media (min-width: 768px) {
  .faq-left-col { width: 58%; }
}
.faq-right-col {
  width: 100%;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .faq-right-col { width: 42%; }
}
.faq-side-image {
  width: 100%;
  height: 280px;
  border-radius: 1rem;
  box-shadow: var(--shadow-document);
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (min-width: 640px) {
  .faq-side-image { height: 350px; }
}
@media (min-width: 768px) {
  .faq-side-image { height: 420px; }
}
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(11, 29, 54, 0.08);
  margin-top: 0.5rem;
}
.faq-acc-item {
  border-bottom: 1px solid rgba(11, 29, 54, 0.08);
}
.faq-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.faq-acc-q {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b1d36;
  transition: color 0.15s;
}
.faq-acc-trigger:hover .faq-acc-q {
  color: #1c4d9c;
}
.faq-acc-chevron {
  color: #1c4d9c;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}
.faq-acc-item.is-open .faq-acc-chevron {
  transform: rotate(180deg);
  color: #b0141f;
}
.faq-acc-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.faq-acc-item.is-open .faq-acc-body {
  max-height: 800px;
  opacity: 1;
  padding-bottom: 1.25rem;
}
.faq-acc-answer {
  font-size: 0.95rem;
  color: #3a4a63;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   FINAL CTA (Section 16)
   ============================================================ */
.final-cta-section {
  position: relative;
  background: #0b1d36;
  color: #fff;
  padding: var(--section-y-tight) 0;
  width: 100%;
  overflow: hidden;
}
.final-cta-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 35%, transparent 80%);
}
.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .final-cta-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
}
.final-cta-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.final-cta-dot {
  width: 8px;
  height: 8px;
  background: #b0141f;
  flex-shrink: 0;
}
.final-cta-eyebrow-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7aa6e6;
}
.final-cta-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
.final-cta-title .gradient-text {
  background: linear-gradient(90deg, #ffffff 0%, #b0141f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}
.final-cta-desc {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 36rem;
  line-height: 1.55;
}
.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.btn-white-primary {
  background: #ffffff;
  color: #0b1d36;
  border: 1px solid #ffffff;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  min-height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.btn-white-primary:hover {
  background: #1c4d9c;
  border-color: #1c4d9c;
  color: #ffffff;
}
.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 3.25rem;
  padding: 0.75rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  width: 100%;
  font-size: 0.95rem;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}
.btn-outline-faint {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 3.25rem;
  padding: 0.75rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  width: 100%;
  font-size: 0.95rem;
}
.btn-outline-faint:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}


/* ============================================================
   PAGE HERO (sub-pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 40vh;
  background: #111111;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .page-hero { min-height: 50vh; padding: 7rem 0 5rem; }
}
.page-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.85) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
  width: 100%;
}
@media (max-width: 991px) {
  .page-hero__content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.page-hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 0.5rem;
}
.page-hero__title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.page-hero__title .gradient-text {
  background: linear-gradient(90deg, #ff5614 0%, #ffad05 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero__description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
  margin: 0;
}
.page-hero__fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, #fff 100%);
  z-index: 1;
}

/* ============================================================
   ContactForm (contact page)
   ============================================================ */
.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info__item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.contact-info__icon {
  width: 44px; height: 44px;
  background: var(--color-blue-soft);
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-blue);
  flex-shrink: 0;
}
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}
.contact-info__value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-ink);
  display: block;
}
.contact-info__value a {
  color: var(--color-ink);
  transition: color var(--transition-base);
}
.contact-info__value a:hover { color: var(--color-blue); }
.contact-form-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

/* ============================================================
   404 page
   ============================================================ */
.notfound {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}
.notfound__num {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  background: var(--color-brand-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1rem;
}
.notfound h1 {
  margin: 0 0 1rem;
  color: var(--color-ink);
}

/* ============================================================
   Free Site Visit (Floating CTA modal — see chatbot.css for chat)
   ============================================================ */
.chatbot-container {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
@media (max-width: 768px) {
  .chatbot-container.has-mobile-sticky {
    transform: translateY(-70px);
  }
}

.chatbot-launcher {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-tag);
  box-shadow: 0 8px 24px rgba(11, 29, 54, 0.16);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.chatbot-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 29, 54, 0.22);
}
.chatbot-launcher__icon {
  width: 36px; height: 36px;
  background: var(--color-brand-gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.chatbot-launcher__icon svg { width: 20px; height: 20px; }
.chatbot-launcher__text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
}
.chatbot-window {
  position: fixed;
  bottom: 5rem;
  right: 1.25rem;
  width: 22.5rem;
  max-width: calc(100vw - 2.5rem);
  height: 38rem;
  max-height: calc(100dvh - 7rem);
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 25px 80px rgba(11, 29, 54, 0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  border: 1px solid var(--color-line);
}
.chatbot-window.is-open {
  display: flex;
}
@media (max-width: 1024px) {
  .chatbot-window {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}
.chatbot-header {
  background: var(--color-brand-gradient);
  color: #fff;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.chatbot-header__logo {
  width: 32px; height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chatbot-header__logo img { width: 100%; height: 100%; object-fit: contain; }
.chatbot-header__title {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
  flex: 1 1 auto;
}
.chatbot-header__status {
  font-size: 0.7rem;
  opacity: 0.85;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.chatbot-header__status::before {
  content: "";
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
}
.chatbot-header__close {
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  transition: background var(--transition-base);
}
.chatbot-header__close:hover { background: rgba(255, 255, 255, 0.15); }
.chatbot-header__close svg { width: 18px; height: 18px; }

.chatbot-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem;
  background: var(--color-surface-alt);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.chatbot-msg {
  max-width: 85%;
  padding: 0.65rem 0.85rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
}
.chatbot-msg--user {
  align-self: flex-end;
  background: var(--color-navy);
  color: #fff;
  border-bottom-right-radius: 0.25rem;
}
.chatbot-msg--bot {
  align-self: flex-start;
  background: #fff;
  color: var(--color-ink);
  border-bottom-left-radius: 0.25rem;
  box-shadow: 0 1px 2px rgba(11, 29, 54, 0.05);
}
.chatbot-msg--typing {
  display: inline-flex;
  gap: 4px;
}
.chatbot-msg--typing span {
  width: 6px; height: 6px;
  background: var(--color-ink-soft);
  border-radius: 50%;
  animation: chatBounce 1.2s ease-in-out infinite;
}
.chatbot-msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.chatbot-msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.chatbot-suggested {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.chatbot-suggested button {
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid var(--color-blue);
  color: var(--color-blue);
  border-radius: var(--radius-tag);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
}
.chatbot-suggested button:hover {
  background: var(--color-blue);
  color: #fff;
}
.chatbot-footer {
  padding: 0.75rem;
  background: #fff;
  border-top: 1px solid var(--color-line);
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.chatbot-footer input {
  flex: 1 1 auto;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-tag);
  font-size: 0.875rem;
  color: var(--color-ink);
}
.chatbot-footer input:focus {
  outline: none;
  border-color: var(--color-blue);
}
.chatbot-footer button {
  width: 40px; height: 40px;
  background: var(--color-navy);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.chatbot-footer button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.chatbot-footer svg { width: 18px; height: 18px; }

/* ============================================================
   Mobile sticky CTA (Free Site Visit prompt)
   ============================================================ */
.mobile-sticky {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.08);
  z-index: 950;
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 240ms ease, visibility 0s linear 280ms;
}
.mobile-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 240ms ease, visibility 0s linear 0s;
}
.mobile-sticky__btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #ff2a00 0%, #ffb700 100%);
  color: #fff;
  text-align: center;
  padding: 0.85rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(255, 42, 0, 0.28);
}
@media (min-width: 1025px) {
  .mobile-sticky { display: none !important; }
}

/* ============================================================
   Breadcrumbs
   ============================================================ */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  color: var(--color-ink-faint);
}
.breadcrumbs a {
  color: var(--color-blue);
  transition: color var(--transition-base);
}
.breadcrumbs a:hover { color: var(--color-navy); text-decoration: underline; }
.breadcrumbs li[aria-current="page"] {
  color: var(--color-ink);
}

/* ============================================================
   Generic Section block & headers (homepage helpers)
   ============================================================ */
.section-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.04em;
}
.image-fade-right {
  mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 100%);
}
@media (max-width: 1023px) {
  .image-fade-right {
    mask-image: none;
    -webkit-mask-image: none;
  }
}
.image-with-float {
  position: relative;
}
.float-card {
  position: absolute;
  background: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-input);
  box-shadow: var(--shadow-card);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-ink);
}

/* Partners marquee (continuous scrolling logo strip) */
.partners-marquee {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marqueeSlide 34s linear infinite;
}
.marquee-track.is-left { animation: marqueeSlideLeft 38s linear infinite; }
.marquee-track.is-right { animation: marqueeSlideRight 34s linear infinite; }
.marquee-item {
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.marquee-item img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter var(--transition-base), opacity var(--transition-base);
}
.marquee-item img:hover {
  filter: grayscale(0);
  opacity: 1;
}
@keyframes marqueeSlideLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marqueeSlideRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 90s !important; }
}

/* ============================================================
   PROJECTS (Section 12)
   Live pattern: tabbed category filter + 4-col grid of cards.
   Each card has a 4:3 image, red badge top-left, title in red,
   and a "View details" pill link.
   ============================================================ */
.projects-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0;
  justify-content: flex-start;
  scroll-snap-type: x mandatory;
}
.projects-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .projects-tabs {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }
}
.project-tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fff;
  color: var(--color-ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: all 200ms ease;
}
.project-tab:hover {
  border-color: var(--color-blue);
  background: var(--color-surface-alt);
}
.project-tab.is-active {
  background: var(--color-accent-red);
  color: #fff;
  border-color: var(--color-accent-red);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.projects-grid {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 640px)  { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(4, 1fr); } }

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 300ms ease;
}
.project-card:hover {
  border-color: var(--color-blue);
  box-shadow: 0 12px 24px rgba(11, 29, 54, 0.06);
  transform: translateY(-2px);
}
.project-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-alt);
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-accent-red);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  z-index: 1;
}
.project-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.25rem;
  gap: 0.5rem;
}
.project-card__location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-ink-soft);
  margin-bottom: 0.25rem;
}
.project-card__location svg { color: var(--color-blue); flex: none; }
.project-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-accent-red);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.project-card__service {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.35;
}
.project-card__year {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--color-ink-soft);
}
.project-card__scope {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  line-height: 1.6;
}
.project-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  align-self: flex-start;
  transition: all 200ms ease;
}
.project-card__cta:hover {
  border-color: var(--color-blue);
  background: var(--color-surface-alt);
}

/* ============================================================
   TESTIMONIALS (Section 14)
   Live pattern: 3-col grid of dark navy cards.
   ============================================================ */
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-card);
  height: 100%;
}
.testimonial-card__rating {
  display: flex;
  gap: 0.125rem;
  color: #fbbf24;
}
.testimonial-card__quote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  flex: 1 1 auto;
}
.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.testimonial-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.testimonial-card__role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   CONTACT CTA (used on sub-pages)
   Live pattern: 2-col layout — left branded AFSS card + right form.
   ============================================================ */
.contact-cta-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-cta-grid {
    grid-template-columns: minmax(280px, 0.8fr) minmax(500px, 1.2fr);
  }
}
.ccta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #1a1a1a;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 430px;
  margin-inline: auto;
  width: 100%;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .ccta-panel { max-width: 100%; min-height: 460px; }
}
@media (min-width: 1440px) {
  .ccta-panel { min-height: 600px; }
}
.ccta-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 35%;
  z-index: 0;
}
.ccta-overlay-top,
.ccta-overlay-bottom {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 1;
}
.ccta-overlay-top {
  top: 0;
  height: 75%;
  background: linear-gradient(180deg, rgba(11, 29, 54, 0.92) 0%, rgba(11, 29, 54, 0.78) 45%, rgba(11, 29, 54, 0.1) 92%, rgba(11, 29, 54, 0) 100%);
}
.ccta-overlay-bottom {
  bottom: 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(11, 29, 54, 0.85) 0%, rgba(11, 29, 54, 0.5) 55%, rgba(11, 29, 54, 0) 100%);
}
.ccta-copy-block {
  position: relative;
  z-index: 2;
  padding: 1.6rem 1.6rem 1.4rem;
}
.ccta-eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #7aa6e6;
}
.ccta-headline {
  font-size: 3.2rem;
  font-family: Impact, 'Oswald', 'Arial Narrow Bold', sans-serif;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.01em;
  margin: 0;
  white-space: nowrap;
}
.ccta-boss-gradient {
  background: linear-gradient(90deg, #0b1d36 0%, #1c4d9c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.ccta-subhead {
  margin: 0.35rem 0 0;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}
.ccta-identity-block {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1.125rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  z-index: 2;
}
.ccta-boss-name {
  margin: 0;
  font-weight: 900;
  line-height: 0.95;
  color: #fff;
  font-family: Impact, 'Oswald', 'Arial Narrow Bold', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  font-size: 1.9rem;
}
.ccta-tagline {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.ccta-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1c4d9c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .ccta-panel { max-width: 100%; min-height: 380px; border-radius: 1rem; }
  .ccta-headline { font-size: 2.6rem; white-space: normal; }
  .ccta-subhead { font-size: 1.15rem; }
  .ccta-eyebrow { font-size: 0.8rem; }
  .ccta-boss-name { font-size: 1.5rem; }
}
@media (min-width: 1440px) {
  .ccta-headline { font-size: 3.8rem; }
  .ccta-subhead { font-size: 1.6rem; }
  .ccta-boss-name { font-size: 2.2rem; }
}

/* ============================================================
   RESPONSIVE LAYOUT HELPERS
   ============================================================ */
@media (max-width: 767px) {
  .section-split { gap: 2rem; }
  .section-split > div:first-child,
  .section-split > .reveal:first-child {
    flex: 0 0 auto;
    max-width: none;
  }
}

/* ============================================================
   PAGE HERO (Secondary Layout)
   Source: components/PageHero.tsx
   ============================================================ */
.page-hero-secondary {
  position: relative;
  width: 100%;
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: #111111;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 6rem;
}
@media (min-width: 768px) {
  .page-hero-secondary { min-height: 50vh; }
}
@media (min-width: 1024px) {
  .page-hero-secondary {
    padding-top: 7rem;
    padding-bottom: 8rem;
  }
}
.page-hero-secondary__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-secondary__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero-secondary__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.page-hero-secondary__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 10;
}
@media (min-width: 1024px) {
  .page-hero-secondary__grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
  }
}
.page-hero-secondary__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0;
  color: #fff;
  text-wrap: balance;
}
.page-hero-secondary__eyebrow {
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  color: #fb5614;
  margin-bottom: 1rem;
}
.page-hero-secondary__desc {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 32rem;
  margin: 0;
}
.page-hero-secondary__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  pointer-events: none;
  z-index: 5;
  margin-bottom: -1px;
  background: linear-gradient(to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.05) 12%,
    rgba(255,255,255,0.12) 24%,
    rgba(255,255,255,0.22) 36%,
    rgba(255,255,255,0.36) 48%,
    rgba(255,255,255,0.54) 60%,
    rgba(255,255,255,0.72) 72%,
    rgba(255,255,255,0.86) 84%,
    rgba(255,255,255,0.96) 94%,
    #ffffff 100%
  );
}

/* ============================================================
   EXPANDING CARDS
   Source: components/ui/expanding-cards.tsx
   ============================================================ */
.expanding-cards-grid {
  display: grid;
  width: 100%;
  max-width: 80rem;
  margin: 2rem auto;
  gap: 0.5rem;
  height: 600px;
  grid-template-rows: repeat(6, 1fr);
  grid-template-columns: 1fr;
  transition: all 300ms ease-out;
  list-style: none;
  padding: 0;
}
@media (min-width: 768px) {
  .expanding-cards-grid {
    height: 500px;
    grid-template-rows: 1fr;
    grid-template-columns: 5fr 1fr 1fr 1fr 1fr 1fr;
  }
}
.expanding-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  color: #000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  min-width: 0;
  min-height: 0;
  transition: all 300ms ease-out;
}
.expanding-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease-out, filter 500ms ease-out;
  transform: scale(1.1);
  filter: grayscale(100%);
}
.expanding-card[data-active="true"] img,
.expanding-card:hover img {
  transform: scale(1);
  filter: grayscale(0%);
}
.expanding-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  pointer-events: none;
}
.expanding-card__inactive-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 300ms ease-out;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.7;
}
@media (min-width: 768px) {
  .expanding-card__inactive-title {
    align-items: flex-end;
    padding-bottom: 3rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.8125rem;
  }
}
.expanding-card[data-active="true"] .expanding-card__inactive-title,
.expanding-card:hover .expanding-card__inactive-title {
  opacity: 0;
}
.expanding-card__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease-out;
}
.expanding-card[data-active="true"] .expanding-card__content,
.expanding-card:hover .expanding-card__content {
  opacity: 1;
}
.expanding-card__icon {
  color: rgba(255,255,255,0.9);
}
.expanding-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.expanding-card__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  max-width: 20rem;
  line-height: 1.45;
}

/* ============================================================
   SITEWIDE CTA CARD
   Source: components/SitewideCTA.tsx + sitewide-cta.css
   ============================================================ */
.pre-faq-cta {
  background: transparent;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}
.pre-faq-cta-card {
  align-items: stretch;
  background:
    radial-gradient(circle at 92% 0%, rgba(28, 77, 156, 0.12), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(11, 29, 54, 0.08), transparent 50%),
    linear-gradient(135deg, #f5f7fa 0%, #e7eef9 50%, #dde7f4 100%);
  border: 1px solid #1c4d9c;
  border-radius: 0.5rem;
  box-shadow: 0 1.25rem 3rem rgba(11, 29, 54, 0.18);
  color: #0b1d36;
  display: flex;
  isolation: isolate;
  margin-inline: auto;
  max-width: 76rem;
  min-height: 22rem;
  overflow: hidden;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.75rem, 3.5vw, 3rem);
  position: relative;
}
.pre-faq-cta-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #0b1d36 0 80%, #b0141f 80% 100%);
  z-index: 3;
}
.pre-faq-cta-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) {
  .pre-faq-cta-content {
    max-width: 60%;
    padding-right: clamp(1rem, 1vw, 2rem);
  }
}
.pre-faq-cta-logos {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  width: 100%;
}
.pre-faq-cta-logo-block {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 2vw, 1.4rem);
}
.pre-faq-cta-logo {
  display: block;
  height: clamp(2.8rem, 5vw, 4.2rem);
  object-fit: contain;
  width: auto;
}
.pre-faq-cta-eyebrow {
  color: #1c4d9c;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.2;
  margin: 0 0 clamp(0.85rem, 1.8vw, 1.15rem);
  text-transform: uppercase;
}
.pre-faq-cta-title {
  color: #0b1d36;
  font-size: clamp(2.05rem, 3.7vw, 3.15rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}
.pre-faq-cta-title-line-2 {
  background: linear-gradient(90deg, #0b1d36 0%, #1c4d9c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 850;
}
.pre-faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: clamp(1.4rem, 2.4vw, 1.8rem);
}
.pre-faq-cta-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 0.55rem;
  justify-content: center;
  line-height: 1;
  min-height: 2.85rem;
  padding: 0 1.25rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 200ms ease;
}
.pre-faq-cta-button.is-primary {
  background: #0b1d36;
  border-color: #0b1d36;
  box-shadow: 0 10px 26px rgba(11, 29, 54, 0.22);
  color: #ffffff;
}
.pre-faq-cta-button.is-secondary {
  background: #ffffff;
  border-color: #0b1d36;
  color: #0b1d36;
}
.pre-faq-cta-art {
  bottom: 0;
  display: none;
  margin: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 47%;
  z-index: 1;
}
.pre-faq-cta-portrait {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.18) 8%, rgba(0, 0, 0, 0.38) 16%, rgba(0, 0, 0, 0.62) 26%, rgba(0, 0, 0, 0.85) 38%, #000 52%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.18) 8%, rgba(0, 0, 0, 0.38) 16%, rgba(0, 0, 0, 0.62) 26%, rgba(0, 0, 0, 0.85) 38%, #000 52%, #000 100%);
}
@media (min-width: 900px) {
  .pre-faq-cta-art { display: block; }
}
@media (hover: hover) and (pointer: fine) {
  .pre-faq-cta-button:hover { transform: translateY(-2px); }
  .pre-faq-cta-button.is-primary:hover {
    background: #1c4d9c;
    border-color: #1c4d9c;
    box-shadow: 0 14px 30px rgba(28, 77, 156, 0.36);
  }
  .pre-faq-cta-button.is-secondary:hover {
    background: #0b1d36;
    color: #ffffff;
  }
}

/* ============================================================
   CONTACT PAGE STYLES (Refined Equal-Height Executive Layout)
   ============================================================ */
.contact-hero-section {
  background: #0b1d36;
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  color: #ffffff;
}
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .contact-hero-grid {
    grid-template-columns: 1.25fr 0.95fr;
    gap: 3.5rem;
  }
}
.contact-hero-content {
  display: flex;
  flex-direction: column;
}
.contact-hero-badge-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.contact-hero-badge-num {
  background: #b0141f;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.contact-hero-badge-text {
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.contact-hero-title {
  font-size: clamp(2.35rem, 4.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}
.contact-hero-desc {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 620px;
}
.contact-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.contact-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.15s, border-color 0.15s;
}
.contact-hero-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Hero Right: Fast Assessment Card */
.contact-hero-card {
  background: rgba(15, 36, 68, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.contact-hero-card-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 0.5rem;
}
.contact-hero-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.contact-hero-card-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 1.75rem;
}
.contact-hero-card-btn {
  background: #ffffff;
  color: #0b1d36;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  padding: 1rem 1.75rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
  white-space: nowrap;
}
.contact-hero-card-btn:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: #0b1d36;
}

/* ============================================================
   MAIN TWO-COLUMN CONTACT SECTION (Equal Height Grid)
   ============================================================ */
.contact-main-section {
  padding: 4.5rem 0 5.5rem;
  background: #ffffff;
}
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch; /* Ensures both cards match in height! */
}
@media (min-width: 1024px) {
  .contact-layout-grid {
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
  }
}

/* Left Card: Advisory & Direct Channels */
.contact-info-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 30px -10px rgba(11, 29, 54, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
@media (min-width: 640px) {
  .contact-info-panel {
    padding: 2.75rem 2.5rem;
  }
}
.contact-info-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-info-block {
  border-bottom: 1px solid #eef2f6;
  padding-bottom: 1.5rem;
}
.contact-info-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-info-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b0141f;
  margin-bottom: 0.4rem;
  display: block;
}
.contact-phone-link {
  display: inline-block;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 900;
  color: #0b1d36;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-decoration: none;
  transition: color 0.15s ease;
}
.contact-phone-link:hover {
  color: #b0141f;
}
.contact-email-link {
  display: inline-block;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 700;
  color: #0b1d36;
  word-break: break-all;
  text-decoration: none;
  transition: color 0.15s ease;
}
.contact-email-link:hover {
  color: #b0141f;
}
.contact-service-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0b1d36;
  margin-bottom: 0.25rem;
}
.contact-info-note {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.5;
  margin-top: 0.25rem;
}

/* Compliance Assurance Box (Bottom of Left Card) */
.compliance-assurance-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  margin-top: 2rem;
}
.compliance-assurance-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0b1d36;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.compliance-assurance-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.compliance-assurance-list li {
  font-size: 0.85rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}
.compliance-assurance-list li svg {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Right Card: Form Panel */
.contact-form-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 30px -10px rgba(11, 29, 54, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
@media (min-width: 640px) {
  .contact-form-panel {
    padding: 2.75rem 2.5rem;
  }
}
.contact-form-heading {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0b1d36;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.contact-form-subheading {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
@media (min-width: 640px) {
  .contact-form-grid--2col {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}
.contact-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-field-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1e293b;
}
.contact-field-input {
  width: 100%;
  height: 46px;
  padding: 0 1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #0b1d36;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-field-input:focus {
  outline: none;
  border-color: #1c4d9c;
  box-shadow: 0 0 0 3px rgba(28, 77, 156, 0.12);
}
.contact-field-textarea {
  width: 100%;
  min-height: 100px;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #0b1d36;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-field-textarea:focus {
  outline: none;
  border-color: #1c4d9c;
  box-shadow: 0 0 0 3px rgba(28, 77, 156, 0.12);
}
.contact-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
  cursor: pointer;
}
.contact-checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}
.contact-checkbox-label {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.45;
}

/* Action Bar with Fixed Button & Side Text */
.contact-form-actions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .contact-form-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
  }
}
.contact-submit-btn {
  background: #0b1d36;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.95rem 1.75rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  white-space: nowrap; /* Prevents awkward line break on arrow */
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 12px rgba(11, 29, 54, 0.12);
}
.contact-submit-btn:hover {
  background: #b0141f;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(176, 20, 31, 0.25);
}
.contact-submit-btn:active {
  transform: scale(0.98);
}
.contact-alt-cta {
  font-size: 0.88rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.contact-alt-cta a, .contact-alt-cta button {
  color: #0b1d36;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  text-align: left;
}
.contact-alt-cta a:hover, .contact-alt-cta button:hover {
  color: #b0141f;
}


/* ============================================================
   MOBILE & TABLET SECTION HEADERS CENTERING
   ============================================================ */
@media (max-width: 1023px) {
  .eyebrow-row {
    justify-content: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .h-section, h2.h-section, .section-heading {
    text-align: center !important;
  }
  .cool-rule, .cool-rule--red {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .section-block > .container-inner > p.text-body,
  .inspection-left > p.text-body,
  .measures-left > p.text-body {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .inspection-cta-row {
    justify-content: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* ============================================================
   UNIVERSAL MOBILE & TABLET HEADER CENTERING (<= 1023px)
   ============================================================ */
@media (max-width: 1023px) {
  .eyebrow-row,
  .eyebrow-row--start,
  .eyebrow-row--center {
    justify-content: center !important;
    text-align: center !important;
  }
  .h-section {
    text-align: center !important;
  }
  .cool-rule,
  .cool-rule--center {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .section-split > div:first-child .text-body,
  .sample-left .text-body,
  .section-header-row .text-body,
  .hero-description,
  .section-block .text-body {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .section-header-row {
    text-align: center !important;
    align-items: center !important;
  }
  .sample-left {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .sample-features-list {
    text-align: left;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Sample carousel mobile refinement */
@media (max-width: 767px) {
  .sample-carousel-viewport {
    height: 380px !important;
    overflow: hidden !important;
  }
  .sample-carousel-slide {
    width: 76% !important;
  }
  .sample-carousel-slide[data-pos="next"] {
    transform: translateX(32%) scale(0.86) rotateY(-8deg) !important;
    opacity: 0.7 !important;
  }
  .sample-carousel-slide[data-pos="far-next"] {
    display: none !important;
  }
  .sample-carousel-slide[data-pos="prev"] {
    transform: translateX(-32%) scale(0.86) rotateY(8deg) !important;
    opacity: 0.7 !important;
  }
  .sample-carousel-slide[data-pos="far-prev"] {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .sample-carousel-viewport {
    overflow: hidden !important;
  }
}


/* Hero red dot visibility: hidden on mobile (<1024px), shown on desktop (>=1024px) */
.hero-eyebrow-dot {
  display: none !important;
}
@media (min-width: 1024px) {
  .hero-eyebrow-dot {
    display: inline-block !important;
    width: 0.5rem;
    height: 0.5rem;
    background: #b0141f;
    flex-shrink: 0;
  }
}


/* ============================================================
   RESPONSIVE TYPOGRAPHY & OVERFLOW SAFETY FOR SECTIONS 09, 11, CONTACT
   ============================================================ */
.h-section {
  font-size: clamp(1.65rem, 6vw, 2.75rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 640px) {
  .h-section {
    font-size: 1.85rem;
    line-height: 1.15;
  }
}

/* Section 09: Accredited Practitioners */
@media (max-width: 1023px) {
  .accredited-left {
    text-align: center !important;
    align-items: center !important;
    max-width: 100%;
  }
  .accredited-left .text-body {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .principles-list {
    max-width: 100%;
    margin-top: 1.5rem;
  }
  .principle-item {
    padding: 1.25rem 0;
    gap: 0.85rem;
  }
  .principle-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex: none;
  }
}

/* Section 11: AS 1851-2012 */
@media (max-width: 1023px) {
  .as1851-right {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .as1851-right .text-body {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .as1851-pills-grid {
    width: 100%;
    max-width: 28rem;
    margin: 1.5rem auto 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .as1851-pill {
    padding: 0.5rem 0.65rem;
    justify-content: center;
  }
  .as1851-pill__label {
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .as1851-note-box {
    width: 100%;
    max-width: 32rem;
    margin: 1.5rem auto 0;
    text-align: center;
  }
}

/* Contact Page Hero Header & Fast Assessment Card Centering */
@media (max-width: 1023px) {
  .contact-hero-content {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
  .contact-hero-content .h-section,
  .contact-hero-content .contact-hero-title,
  .contact-hero-content h1 {
    text-align: center !important;
  }
  .contact-hero-content .text-body,
  .contact-hero-desc {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .contact-hero-badges {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .contact-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .contact-hero-fast-card,
  .contact-fast-card {
    margin: 1.5rem auto 0 !important;
    max-width: 28rem !important;
    width: 100% !important;
    text-align: center !important;
  }
}


/* ============================================================
   CONTACT HERO MOBILE CENTERING (<= 1023px)
   ============================================================ */
@media (max-width: 1023px) {
  .contact-hero-section {
    padding: 3.5rem 0 3rem !important;
  }
  .contact-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }
  .contact-hero-content {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    max-width: 100% !important;
  }
  .contact-hero-badge-row {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .contact-hero-title {
    text-align: center !important;
    font-size: clamp(2rem, 7vw, 2.75rem) !important;
    line-height: 1.1 !important;
  }
  .contact-hero-desc {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 32rem !important;
  }
  .contact-hero-pills {
    justify-content: center !important;
    width: 100% !important;
  }
  .contact-hero-card {
    text-align: center !important;
    align-items: center !important;
    max-width: 28rem !important;
    margin: 1.5rem auto 0 !important;
    padding: 1.75rem 1.25rem !important;
  }
  .contact-hero-card-eyebrow,
  .contact-hero-card-title,
  .contact-hero-card-desc {
    text-align: center !important;
  }
  .contact-hero-card-btn {
    width: 100% !important;
    max-width: 20rem !important;
    margin: 0 auto !important;
  }
}

/* ============================================================
   What Is AFSS — Compliance Card Styles (High Contrast & Clear)
   ============================================================ */
.whatis-compliance-card {
  opacity: 1 !important;
  filter: none !important;
  backdrop-filter: none !important;
  margin-top: 2rem;
  background-color: #ffffff;
  border: 1px solid #d8dde6;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(11, 29, 54, 0.06);
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.whatis-compliance-card-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.whatis-compliance-card-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  border: 2px solid #fee2e2;
  background-color: #fff1f2;
  color: #b0141f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatis-compliance-title {
  color: #0b1d36 !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.whatis-compliance-desc {
  color: #1e293b !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  margin-top: 0.35rem !important;
  margin-bottom: 0 !important;
}

.whatis-compliance-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #1c4d9c !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.whatis-compliance-link:hover {
  color: #0b1d36 !important;
  transform: translateX(3px);
}

@media (max-width: 767px) {
  .whatis-compliance-card {
    margin-top: 2.5rem !important;
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem 1.25rem !important;
  }
  .whatis-compliance-card-content {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1rem !important;
  }
  .whatis-compliance-card-text {
    text-align: center !important;
  }
  .whatis-compliance-title {
    text-align: center !important;
  }
  .whatis-compliance-desc {
    text-align: center !important;
  }
  .whatis-compliance-link {
    margin-top: 0.5rem !important;
    align-self: center !important;
  }
}

/* Inspection Mobile Image */
.inspection-mobile-image {
  margin-top: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inspection-mobile-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(11, 29, 54, 0.08);
}

@media (min-width: 1024px) {
  .inspection-mobile-image {
    display: none !important;
  }
}

/* Global Mobile Section & Headings Polish */
@media (max-width: 640px) {
  .h-section, h2.h-section, .section-heading {
    font-size: clamp(1.65rem, 6.2vw, 2.2rem) !important;
    line-height: 1.15 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  .accredited-left {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .accredited-left .btn,
  .accredited-left .btn-dark {
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.85rem !important;
    max-width: 100% !important;
  }
  .as1851-layout, .as1851-left, .as1851-right {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .as1851-pills-grid {
    width: 100% !important;
    max-width: 100% !important;
  }
  .as1851-pill {
    min-width: 0 !important;
    word-break: break-word !important;
  }
  .projects-tabs-row {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}
