/* =====================================================
   IPHONE / SMALL MOBILE FIXES
===================================================== */

@media (max-width: 430px) {

  body {
    overflow-x: hidden;
  }

  .sfw-header {
    height: 58px;
    padding: 0 12px;
  }

  .sfw-logo img {
    height: 48px;
  }

  .sfw-nav {
    gap: 18px;
  }

  .sfw-nav a {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .sfw-hero {
    height: 430px;
  }

  .sfw-hero-content {
    left: 18px;
    right: 18px;
    top: 42%;
    transform: translateY(-50%);
  }

  .sfw-hero-content h1,
  .sfw-hero-content h3 {
    font-size: 22px !important;
    line-height: 1.12;
  }

  .sfw-accreditation {
    height: 58px;
  }

  .sfw-accreditation-title {
    width: 130px;
    font-size: 10px;
    padding-left: 10px;
  }

  .sfw-logo-track img {
    height: 28px;
    margin: 0 12px;
  }

  .sfw-audit-banner {
    height: 260px;
  }

  .sfw-audit-btn {
    left: 16px;
    bottom: 16px;
    padding: 12px 22px;
    font-size: 11px;
  }

  .sfw-overview-title {
    padding: 24px 18px;
    font-size: 18px;
    line-height: 1.3;
  }

  .sfw-overview {
    min-height: 520px;
    padding: 40px 18px;
  }

  .sfw-overview h2 {
    font-size: 42px !important;
    line-height: .95;
  }

  .sfw-overview p {
    font-size: 16px !important;
    line-height: 1.25;
    max-width: 92%;
  }

  .sfw-services {
    padding: 32px 14px;
  }

  .sfw-services-grid {
    display: block !important;
  }

  .sfw-service-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
  }

  .sfw-service-tab {
    min-height: 44px;
    font-size: 11px;
    padding: 10px;
  }

  .sfw-service-image img {
    width: 100%;
    height: auto;
    margin-bottom: 18px;
  }

  .sfw-service-content {
    padding: 22px;
  }

  .sfw-service-content h3 {
    font-size: 22px;
  }

  .sfw-service-content p {
    font-size: 13px;
  }

  .sfw-why {
    min-height: 420px;
    padding: 44px 18px;
  }

  .sfw-why h2 {
    font-size: 36px !important;
  }

  .sfw-why li {
    font-size: 14px;
  }

  .sfw-compliance-systems {
    padding: 34px 0;
  }

  .sfw-compliance-wrap {
    width: 94%;
    gap: 24px;
  }

  .sfw-system-card {
    padding: 18px 14px;
  }

  .sfw-system-flow {
    gap: 7px;
  }

  .sfw-flow-step strong {
    display: none;
  }

  .sfw-team-slider-wrap {
    padding: 30px 44px;
  }

  .sfw-team-card {
    flex-basis: 225px;
  }

  .sfw-portal-title {
    font-size: 19px;
  }

  .sfw-portal-login {
    font-size: 15px;
  }

  .sfw-video-footer {
    grid-template-columns: 44% 56%;
    height: 430px;
  }

  .sfw-footer-contact {
    padding: 28px 16px;
  }

  .sfw-footer-item h6 {
    font-size: 11px;
  }

  .sfw-footer-item p,
  .sfw-footer-item a {
    font-size: 11px;
  }

  .sfw-footer-video-wrap {
    height: 430px;
  }

  .sfw-footer-credit {
    font-size: 6px;
    right: 6px;
    bottom: 8px;
  }

  .sfw-contact-hero {
    height: 300px;
  }

  .sfw-contact-hero h1 {
    left: 24px;
    bottom: 42px;
    font-size: 56px;
    line-height: 1;
  }

  .sfw-contact-content {
    padding: 42px 12px;
  }

  .sfw-contact-content h3 {
    font-size: 26px;
    line-height: 1.1;
  }

  .sfw-map {
    height: 250px;
  }

  .sfw-contact-form-card {
    padding: 34px 26px;
    border-radius: 18px;
  }

  .safw-progress-panel {
    top: 58px !important;
    grid-template-columns: 70px 1fr 72px !important;
    padding: 10px 12px !important;
    gap: 10px !important;
  }

  .safw-progress-score {
    font-size: 30px !important;
  }

  .safw-progress-text {
    font-size: 9px !important;
  }

  .safw-progress-status {
    font-size: 10px !important;
  }

  .safw-checklist-page {
    padding-top: 155px !important;
  }

  .safw-checklist-header {
    padding: 34px 18px 28px;
  }

  .safw-checklist-header h1 {
    font-size: 31px !important;
    line-height: 1.05;
  }

  .safw-checklist-header p {
    font-size: 13px;
  }

  .safw-checklist-body {
    padding: 22px 14px;
  }

  .safw-table {
    font-size: 11px;
  }

  .safw-table thead th,
  .safw-table tbody td {
    padding: 9px 6px;
  }

  .safw-input,
  .safw-note {
    font-size: 12px;
  }
@media (max-width: 430px) {

  /* HERO VIDEO - reduce height and fit better */
  .sfw-hero {
    height: 300px !important;
    min-height: 300px !important;
  }

  .sfw-hero-video {
    object-fit: cover !important;
    object-position: center !important;
  }

  .sfw-hero-content {
    top: 48% !important;
    left: 18px !important;
    max-width: 260px !important;
  }

  .sfw-hero-content h1,
  .sfw-hero-content h3 {
    font-size: 18px !important;
    line-height: 1.08 !important;
  }


  /* ACCREDITATION SLIDER - restore logos */
  .sfw-accreditation {
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  .sfw-accreditation-title {
    flex: 0 0 115px !important;
    width: 115px !important;
    font-size: 8px !important;
    padding-left: 8px !important;
    white-space: normal !important;
    line-height: 1.1 !important;
  }

  .sfw-accreditation-slider {
    flex: 1 !important;
    overflow: hidden !important;
    display: block !important;
  }

  .sfw-logo-track {
    display: flex !important;
    align-items: center !important;
    width: max-content !important;
    animation: sfwLogoScroll 24s linear infinite !important;
  }

  .sfw-logo-track img {
    height: 24px !important;
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 10px !important;
    opacity: 1 !important;
    display: block !important;
  }


  /* AUDIT BANNER */
  .sfw-audit-banner {
    height: 240px !important;
    min-height: 240px !important;
  }

  .sfw-audit-bg {
    background-size: cover !important;
    background-position: center !important;
  }


  /* EXECUTIVE OVERVIEW */
  .sfw-overview {
    min-height: 430px !important;
    height: auto !important;
    padding: 42px 18px !important;
    background-size: cover !important;
    background-position: center right !important;
  }

  .sfw-overview h2 {
    font-size: 34px !important;
    line-height: .95 !important;
    margin-bottom: 18px !important;
  }

  .sfw-overview p {
    font-size: 13px !important;
    line-height: 1.28 !important;
    max-width: 230px !important;
  }


  /* FOOTER - stop overflow and fit SE screen */
  .sfw-video-footer {
    grid-template-columns: 46% 54% !important;
    height: 360px !important;
  }

  .sfw-footer-contact {
    padding: 26px 12px !important;
  }

  .sfw-footer-item {
    margin-bottom: 18px !important;
  }

  .sfw-footer-item h6 {
    font-size: 10px !important;
    margin-bottom: 7px !important;
  }

  .sfw-footer-item p,
  .sfw-footer-item a {
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  .sfw-footer-video-wrap {
    height: 360px !important;
  }

  .sfw-footer-video {
    object-fit: cover !important;
    object-position: center !important;
  }

  .sfw-footer-credit {
    font-size: 5px !important;
    right: 5px !important;
    bottom: 6px !important;
    max-width: 120px !important;
  }


}
@media (max-width: 430px) {

  .sfw-overview {
    min-height: 390px !important;
    height: 390px !important;
    padding: 38px 18px !important;
    background-image: url("../../img/office-handshake.jpg") !important;
    background-size: cover !important;
    background-position: 62% center !important;
    display: flex !important;
    align-items: center !important;
  }

  .sfw-overview::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(0,0,0,.58) 0%,
      rgba(0,0,0,.38) 45%,
      rgba(0,0,0,.08) 100%
    );
    z-index: 1;
  }

  .sfw-overview-content,
  .sfw-overview .container,
  .sfw-overview-text {
    position: relative !important;
    z-index: 2 !important;
    max-width: 210px !important;
  }

  .sfw-overview h2 {
    font-size: 32px !important;
    line-height: .9 !important;
    margin-bottom: 14px !important;
  }

  .sfw-overview p {
    font-size: 12px !important;
    line-height: 1.2 !important;
    max-width: 205px !important;
    margin: 0 !important;
  }

  .sfw-overview-title {
    padding: 22px 18px !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
  }
}
}
@media (max-width: 430px) {

  /* checklist mobile header fix */
  .safw-checklist-page {
    padding-top: 135px !important;
  }

  .safw-checklist-header {
    padding: 34px 16px 28px !important;
  }

  .safw-badge {
    font-size: 10px !important;
    padding: 7px 14px !important;
    margin-bottom: 12px !important;
  }

  .safw-checklist-header h1 {
    font-size: 25px !important;
    line-height: 1.05 !important;
    letter-spacing: .5px !important;
    margin: 12px 0 !important;
  }

  .safw-checklist-header p {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  /* executive overview image/text fit */
  .sfw-overview {
    height: 430px !important;
    min-height: 430px !important;
    background-size: cover !important;
    background-position: 72% center !important;
    align-items: flex-start !important;
    padding-top: 58px !important;
  }

  .sfw-overview-content,
  .sfw-overview .container,
  .sfw-overview-text {
    max-width: 220px !important;
  }

  .sfw-overview h2 {
    font-size: 30px !important;
    line-height: .92 !important;
  }

  .sfw-overview p {
    font-size: 11px !important;
    line-height: 1.22 !important;
    max-width: 210px !important;
  }
}