/* CyberTech Investigations — extracted page styles */

body{margin:0;font-family:Arial,sans-serif;background:#0C243F;color:#e8eef5;line-height:1.7}
main{max-width:900px;margin:auto;padding:64px 24px}
a{color:#DEA405}
h1,h2{color:#fff}
.card{background:#0e2847;border:1px solid rgba(222,164,5,.25);border-radius:16px;padding:32px}
small{color:#9fb0c4}

    /* =========================================================
       CTI FULL-SITE MOBILE RESPONSIVE OVERRIDES
       iPhone / Android / Safari / Chrome
    ========================================================= */

    html {
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
      overflow-x: hidden;
    }

    body {
      width: 100%;
      min-width: 0;
      overflow-x: hidden;
    }

    img,
    svg,
    video,
    iframe {
      max-width: 100%;
      height: auto;
    }

    input,
    select,
    textarea,
    button {
      max-width: 100%;
      font-size: 16px; /* prevents iOS form zoom */
    }

    header,
    main,
    section,
    footer,
    .inner,
    .ft-inner,
    .phero-in {
      min-width: 0;
    }

    /* Touch-friendly navigation */
    .menu-btn {
      min-width: 44px;
      min-height: 44px;
      padding: 8px;
      touch-action: manipulation;
    }

    .mobile-nav {
      position: relative;
      z-index: 150;
      width: 100%;
      max-height: calc(100vh - 72px);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .mobile-nav a {
      width: 100%;
      min-height: 44px;
      display: flex;
      align-items: center;
      padding: 12px 6px;
    }

    /* Prevent long content from forcing horizontal scrolling */
    p,
    li,
    a,
    strong,
    small,
    .card-desc,
    .cred-detail,
    .tool,
    .ft-col {
      overflow-wrap: anywhere;
      word-break: normal;
    }

    @media (max-width: 960px) {
      header {
        width: 100%;
      }

      nav {
        display: none !important;
      }

      .menu-btn {
        display: block !important;
      }

      .phero,
      .hero,
      .sec-dark,
      .sec-light,
      .sec-quotes,
      .cta-band {
        padding-left: 22px !important;
        padding-right: 22px !important;
      }

      .phero-grid,
      .mission-grid,
      .why-grid,
      .contact-grid,
      .book-grid {
        grid-template-columns: 1fr !important;
      }

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

      .ft-bottom {
        align-items: flex-start !important;
        text-align: left !important;
      }

      .cta-btns,
      .hero-btns,
      .btn-row {
        flex-wrap: wrap;
      }

      .btn-gold,
      .btn-ol-light,
      .btn-ol-navy,
      .nav-cta,
      .nav-login {
        min-height: 44px;
      }
    }

    @media (max-width: 760px) {
      header {
        position: sticky;
        top: 0;
        padding: 10px 16px !important;
      }

      .logo-wrap {
        min-width: 0;
        max-width: calc(100% - 56px);
      }

      .logo-wrap img {
        width: auto !important;
        max-width: 100%;
        height: 52px !important;
        object-fit: contain;
      }

      .mobile-nav {
        padding: 8px 16px 16px !important;
      }

      .phero,
      .hero,
      .sec-dark,
      .sec-light,
      .sec-quotes,
      .cta-band {
        padding: 42px 16px !important;
      }

      .inner,
      .ft-inner {
        width: 100%;
        max-width: 100%;
      }

      .ft-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
      }

      .ft-bottom {
        flex-direction: column !important;
      }

      .legal-links {
        text-align: left !important;
      }

      .cta-btns,
      .hero-btns,
      .btn-row {
        flex-direction: column;
        align-items: stretch;
      }

      .cta-btns a,
      .hero-btns a,
      .btn-row button,
      .btn-row a,
      .btn-gold,
      .btn-ol-light,
      .btn-ol-navy {
        width: 100%;
        justify-content: center;
        text-align: center;
      }

      .form-row,
      .exp-grid,
      .cards,
      .hours-grid {
        grid-template-columns: 1fr !important;
      }

      .form-card,
      .panel,
      .bcard,
      .ccard,
      .hcard {
        padding: 22px 16px !important;
      }
    }

    @media (max-width: 480px) {
      .phero,
      .hero,
      .sec-dark,
      .sec-light,
      .sec-quotes,
      .cta-band {
        padding-left: 14px !important;
        padding-right: 14px !important;
      }

      .logo-wrap img {
        height: 46px !important;
      }

      .h2-white,
      .h2-navy {
        line-height: 1.15;
      }
    }


/* =========================================================
   FINAL SITE POLISH
   Footer email wrapping, Virginia wording, back-to-top button
========================================================= */
.ft-col p,
.ft-col a,
.footer-contact,
.contact-line {
  max-width: 100%;
}

.ft-col a[href^="mailto:"],
.ft-col p a[href^="mailto:"],
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(222,164,5,.55);
  border-radius: 50%;
  color: var(--navy, #0C243F);
  background: linear-gradient(135deg, var(--gold-light, #f5bb1a), var(--gold, #DEA405));
  box-shadow: 0 12px 30px rgba(12,36,63,.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(12,36,63,.34);
}

.back-to-top svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .ft-col a[href^="mailto:"],
  .ft-col p a[href^="mailto:"],
  .contact-email {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}


/* =========================================================
   FOOTER CONTACT ALIGNMENT — V2
========================================================= */
.ft-grid .ft-col:last-child {
  min-width: 255px;
}

.ft-grid .ft-col:last-child p {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  column-gap: 9px;
  width: 100%;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.45;
}

.ft-grid .ft-col:last-child .ft-ico {
  width: 18px;
  text-align: center;
}

.ft-grid .ft-col:last-child p:nth-of-type(2) {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  letter-spacing: -0.08px;
}

@media (max-width: 1100px) and (min-width: 761px) {
  .ft-grid .ft-col:last-child {
    min-width: 0;
  }

  .ft-grid .ft-col:last-child p:nth-of-type(2) {
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  .ft-grid .ft-col:last-child {
    min-width: 0;
  }

  .ft-grid .ft-col:last-child p:nth-of-type(2) {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

