@media (max-width: 1199px) {
  .navbar-brand {
    width: 300px;
  }

  .navbar-nav {
    gap: 6px;
  }

  .navbar .nav-link {
    font-size: 11px;
  }

  .hero-copy h1 {
    font-size: 58px;
  }

  .trust-grid {
    --trust-card-w: 270px;
    --trust-card-gap: clamp(24px, 3vw, 40px);
  }

  .trust-card {
    width: var(--trust-card-w);
  }

  .trust-card-two {
    left: var(--trust-card-step);
  }

  .trust-card-three {
    left: calc(var(--trust-card-step) * 2);
  }

  .trust-card-four {
    left: calc(var(--trust-card-step) * 3);
  }

  .story-slider {
    margin-right: -170px;
  }

  .story-slider .slick-slide,
  .story-slide {
    width: 720px;
  }

  .story-slide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .product-range-grid {
    grid-auto-rows: 300px;
  }

  .range-card-content {
    left: 22px;
    right: 22px;
  }

  .range-card h3 {
    font-size: 18px;
  }

  .product-detail-layout {
    grid-template-columns: 405px minmax(0, 1fr);
    gap: 42px;
  }

  .product-detail-section > .container {
    padding-right: 40px;
  }

  .product-sidebar {
    --sidebar-left-pad: 44px;
  }

  .detail-title-row h2 {
    font-size: clamp(30px, 2.15vw, 38px);
  }
}

@media (max-width: 991px) {
  .section-pad {
    padding: 72px 0;
  }

  .site-header .navbar {
    min-height: 78px;
    overflow: visible;
  }

  .site-header {
    z-index: 1100;
  }

  .site-header.is-sticky .navbar {
    min-height: 70px;
  }

  .site-header .navbar::before {
    inset: 0;
    clip-path: none;
  }

  .navbar-brand {
    width: 255px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: 0 0 8px 0;
  }

  .site-header.is-sticky .navbar-brand {
    width: 225px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  body.mobile-menu-open .mobile-menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    display: block !important;
    width: min(88vw, 430px);
    height: 100dvh !important;
    max-height: 100dvh;
    margin: 0;
    padding: 20px 28px 38px;
    overflow-y: auto;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 36%, rgba(189, 32, 27, 0.1) 100%),
      rgba(4, 4, 4, 0.74);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    box-shadow: -22px 0 60px rgba(0, 0, 0, 0.28), inset 1px 0 0 rgba(255, 255, 255, 0.08);
    max-width: 100vw;
    contain: layout paint;
    will-change: transform;
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    transition: transform 0.42s ease, visibility 0.42s ease;
  }

  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  .navbar-collapse.is-hiding {
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  .navbar-collapse.collapsing {
    transition: transform 0.42s ease, visibility 0.42s ease;
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
  }

  .mobile-menu-logo {
    display: block;
    width: min(235px, 66%);
  }

  .mobile-menu-logo img {
    display: block;
    width: 100%;
  }

  .mobile-menu-close {
    position: relative;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .mobile-menu-close span {
    position: absolute;
    top: 50%;
    left: 6px;
    width: 28px;
    height: 2px;
    background: var(--white);
    transform-origin: center;
  }

  .mobile-menu-close span:first-child {
    transform: rotate(45deg);
  }

  .mobile-menu-close span:last-child {
    transform: rotate(-45deg);
  }

  .navbar-nav {
    gap: 0;
    align-items: stretch !important;
  }

  .navbar .nav-link {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }

  .navbar .nav-link::after {
    display: none;
  }

  .navbar .nav-link:hover,
  .navbar .nav-link.active {
    border-bottom-color: var(--white);
  }

  .site-header.is-sticky .navbar .nav-link {
    font-size: 14px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-weight: 500;
        letter-spacing: 0.4px;
  }

  .header-btn {
    width: 100%;
    margin-top: 16px;
    justify-content: center;
    border-radius: 8px;
  }

  .mobile-menu-contact {
    display: block;
    margin-top: 34px;
    color: var(--white);
  }

  .mobile-menu-contact h3 {
    margin: 0 0 22px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.1;
  }

  .mobile-contact-item {
    margin-bottom: 22px;
  }

  .mobile-contact-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
  }

  .mobile-contact-item a,
  .mobile-contact-item span {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-section,
  .min-vh-hero {
    min-height: 650px;
  }

  .hero-media {
    top: 78px;
    background-position: 58% top;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .about-machine {
    width: 160px;
    opacity: 0.45;
  }

  .trust-section .row {
    display: flex;
    min-height: auto;
  }

  .trust-copy {
    position: static;
    max-width: none;
    margin-bottom: 28px;
  }

  .trust-copy p {
    position: relative;
    z-index: 2;
    margin-top: 16px;
  }

  .story-section .col-lg-4,
  .story-section .col-lg-8 {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .trust-grid {
    position: relative;
    z-index: 2;
    width: auto;
    min-height: auto;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 0;
  }

  .trust-card {
    position: static;
    width: auto;
    min-height: 185px;
  }

  .cta-band {
    position: relative;
    right: auto;
    width: auto;
    margin: 36px 12px 0;
    padding-right: 210px;
  }

  .cta-band img {
    width: 205px;
    right: -28px;
  }

  .story-slider {
    margin: 26px auto 0;
    padding: 0 18px 36px;
    overflow: hidden;
    clip-path: none;
  }

  .story-slider .slick-list {
    overflow: hidden;
  }

  .story-slider .slick-slide {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 0;
    transform: none;
    transition: none;
  }

  .story-slider .slick-current + .slick-slide,
  .story-slider .slick-center + .slick-slide {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 0;
    transform: none;
  }

  .story-slider .slick-current {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    transform: none;
  }

  .story-slide {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 18px 38px rgba(17, 17, 17, 0.11);
  }

  .inner-banner {
    min-height: 400px;
    padding-top: 78px;
  }

  .product-range-section {
    padding-top: 66px;
  }

  .product-range-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 265px;
  }

  .range-span-2 {
    grid-column: span 2;
  }

  .product-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 62px;
    padding: 36px 32px;
  }

  .product-cta-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

     .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        flex-direction: column-reverse;
        display: flex;
    }

  .product-detail-section > .container {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
  }

  .product-sidebar {
    --sidebar-left-pad: 0;
    position: sticky !important;
    top: 92px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    padding-top: 0;
    padding-left: 0;
    border-right: 0;
    border-top: 2px solid var(--jayco-red);
  }

  .product-sidebar-shell {
    height: auto;
    margin-top: 0;
  }

  .product-sidebar a {
    padding: 15px 38px 15px 14px;
    border-right: 1px solid #d7d7d7;
  }

  .product-sidebar a.active {
    margin-left: 0;
    padding-left: 14px;
    border-right: 1px solid rgba(189, 32, 27, 0.32);
  }

  .product-detail-content {
    padding-top: 14px;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .product-intro-media {
    display: block;
  }

  .product-intro-media .product-hero-gallery {
    float: none;
    width: 100%;
    margin: 0 0 20px;
  }

  .detail-gallery,
  .product-hero-gallery,
  .applications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-list-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-content > .detail-doc-list,
  .detail-block > .detail-doc-list {
    columns: 1;
  }

  .product-detail-content > .standards-list,
  .detail-block > .standards-list {
    display: block;
  }

  .product-detail-layout,
  .product-detail-layout > *,
  .product-sidebar-shell,
  .product-sidebar,
  .product-detail-content,
  .product-hero-gallery,
  .product-hero-image,
  .detail-gallery,
  .applications-grid,
  .why-choose-grid,
  .detail-list-grid {
    max-width: 100%;
    min-width: 0;
  }

  .site-footer .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
  }

  .faq-section {
    padding-top: 40px;
  }
}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  .site-header,
  .hero-section,
  .product-section,
  .about-section,
  .trust-section,
  .story-section,
  .faq-section,
  .client-section,
  .blog-section,
  .site-footer {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .product-detail-section > .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
  }

  .product-detail-layout {
    width: 100%;
    max-width: 100%;
    position: relative;
  }

  .product-detail-section > .container {
    overflow: visible;
  }

  .product-detail-content {
    overflow: visible;
  }

  .detail-gallery,
  .product-hero-gallery,
  .applications-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .quote-options {
    grid-template-columns: 1fr;
  }

  .quote-other {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .quote-other input[type="text"] {
    flex-basis: 100%;
  }

  .product-hero-gallery {
    gap: 14px;
    margin: 24px 0 32px;
  }

  .product-hero-image {
    aspect-ratio: auto;
    border-radius: 7px;
  }

  .applications-grid span {
    justify-content: flex-start;
    min-height: auto;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .product-detail-content p,
  .product-detail-content li,
  .detail-doc-list,
  .detail-list ul,
  .applications-grid span {
    font-size: 15px;
  }

  .inner-banner {
    min-height: 330px;
    padding-top: 78px;
  }

  .inner-banner-content h1 {
    font-size: 38px;
  }

  .breadcrumb-nav {
    font-size: 12px;
  }

  .product-range-head h2 {
    font-size: 28px;
  }

  .product-range-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .range-card {
    min-height: 250px;
  }

  .range-span-2 {
    grid-column: span 1;
  }

  .range-card-content {
    bottom: 54px;
  }

  .range-card h3 {
    font-size: 19px;
  }

  .product-cta h2 {
    font-size: 25px;
  }

  .product-cta .btn {
    width: 100%;
    min-width: 0;
  }

  .product-detail-section .product-sidebar-shell {
    display: none;
  }

  .product-sidebar-shell.mobile-section-active.mobile-visible {
    display: block;
    position: fixed;
    top: 96px;
    left: 0;
    z-index: 1050;
    margin: 0;
    width: min(330px, calc(100vw - 46px));
    max-height: min(620px, calc(100vh - 124px));
    height: auto;
    padding: 0;
    border: 0;
    background: var(--white);
    border-right: 2px solid rgba(189, 32, 27, 0.75);
    box-shadow: 18px 0 42px rgba(17, 17, 17, 0.18);
    transform: translateX(0);
    animation: productDrawerIn 0.28s ease forwards;
  }

  .product-sidebar-shell.mobile-section-active.mobile-visible .product-sidebar {
    position: static !important;
    width: 100%;
    height: auto;
    max-height: min(620px, calc(100vh - 124px));
    overflow-y: auto;
    background: var(--white);
    padding: 48px 16px 16px;
    grid-template-columns: 1fr;
    box-shadow: none;
    border-radius: 0;
    border-top: 0;
    border-right: 0;
  }

  .product-sidebar-shell.mobile-section-active.mobile-visible .product-sidebar:not(:has(.product-sidebar-close)) {
    padding-top: 16px;
  }

  .product-sidebar-shell.mobile-section-active.mobile-visible .product-sidebar a {
    border-right: 0;
    padding: 13px 42px 13px 12px;
  }

  .product-sidebar-shell.mobile-section-active.mobile-visible .product-sidebar strong {
    font-size: 15px;
    line-height: 1.15;
  }

  .product-sidebar-shell.mobile-section-active.mobile-visible .product-sidebar span {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.2;
  }

  .product-sidebar-shell.mobile-section-active.mobile-visible .product-sidebar a.active,
  .product-sidebar-shell.mobile-section-active.mobile-visible .product-sidebar a:hover {
    margin-left: 0;
    padding-left: 12px;
    border-right: 0;
  }

  .product-sidebar-mobile-toggle {
    position: fixed;
    left: 6px;
    top: 68px;
    z-index: 1048;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--jayco-red);
    border: 1px solid rgba(255, 255, 255, 0.72); 
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }

  .product-sidebar-mobile-toggle.is-section-visible {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }

  .product-sidebar-mobile-toggle i {
    transform: rotate(180deg);
    transition: transform 0.25s ease;
  }

  .product-sidebar-mobile-toggle:hover {
    transform: scale(1.05);
    /* box-shadow: 0 10px 26px rgba(189, 32, 27, 0.36); */
  }

  .product-sidebar-mobile-toggle.is-open {
    z-index: 1060;
    background: var(--jayco-red);
    color: var(--white);
    border-color: var(--jayco-red);
  }

  .product-sidebar-mobile-toggle.is-open i {
    transform: rotate(0deg);
  }

  .product-mobile-select {
    right: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 48px;
    justify-content: flex-start;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 12px;
    background:  var(--jayco-red); 
    color: var(--jayco-red);
    font-size: 12px;
    border-radius: 0;
    border-top: 4px solid #fff;
  }

  .product-mobile-select.is-section-visible {
    display: flex;
  }

  .product-mobile-select:hover {
    transform: none;
    /* box-shadow: 0 10px 28px rgba(17, 17, 17, 0.1); */
  }

  .product-mobile-select label {
    flex: 0 0 auto;
    margin: 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .product-mobile-select select,
  .product-mobile-select .nice-select {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    border: 1px solid rgba(189, 32, 27, 0.2);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    box-shadow: none;
  }

  .product-mobile-select .nice-select {
           display: flex;
        align-items: center;
        padding-right: 38px;
        padding-left: 16px;
        line-height: 1.2;
        font-weight: 500;
        font-size: 13px;
        border: 1px solid #e8e8e8;
        border-radius: 5px;
        height: 35px;
  }

  .product-mobile-select .nice-select .current {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-mobile-select .nice-select .list {
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    border-radius: 10px;
  }

  .product-mobile-select .nice-select .option {
    min-height: 40px;
    line-height: 40px;
  }

  .product-mobile-select .nice-select .option.selected,
  .product-mobile-select .nice-select .option:hover {
    color: var(--jayco-red);
    background: #f8dddd;
  }

  .product-sidebar-close {
    position: absolute;
    top: 8px;
    right: 10px;
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(189, 32, 27, 0.08);
    font-size: 17px;
    color: var(--jayco-red);
    cursor: pointer;
  }

  .product-sidebar-close i {
    position: static;
    color: inherit;
    font-size: inherit;
    transform: none;
  }

  .product-sidebar-close:hover {
    background: var(--jayco-red);
    color: var(--white);
  }

  @keyframes productDrawerIn {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(0);
    }
  }

  body.sidebar-open {
    overflow: hidden;
  }

  .detail-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .detail-title-row h2 {
    font-size: clamp(24px, 6vw, 30px);
  }

  .detail-title-row span {
    width: 100%;
    height: 3px;
  }

  .detail-title-row.compact {
    margin-top: 42px;
  }

  .detail-title-row.compact h2 {
    font-size: 19px;
  }

  .detail-title-row.compact span {
    height: 3px;
  }

  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: translate3d(0, 18px, 0);
  }

  [data-aos="fade-left"].aos-animate,
  [data-aos="fade-right"].aos-animate {
    transform: translate3d(0, 0, 0);
  }

  .section-heading h2,
  .about-content h2,
  .about-legacy-copy h2,
  .about-timeline-copy h2,
  .trust-copy h2,
  .story-intro h2,
  .faq-side h2 {
    font-size: 23px;
    font-weight: 800;
  }

  .hero-section,
  .min-vh-hero {
    min-height: 610px;
  }

  .hero-section::after {
    height: 90px;
  }

  .hero-media {
    background-position: 78% top;
  }

  .hero-copy h1 {
    font-size: 41px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .product-card {
    min-height: 220px;
  }

  .product-card img {
    max-height: 178px;
  }

  .about-section {
    padding-top: 80px;
  }

  .about-legacy-intro,
  .about-timeline-wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-legacy-media {
    max-width: 560px;
    justify-self: center;
    margin-right: 0;
  }

  .about-legacy-stats {
    inset: 24px auto 24px 30px;
    width: min(230px, 46%);
  }

  .about-legacy-stats strong {
    font-size: 44px;
  }

  .about-timeline-wrap {
    margin-top: 74px;
  }

  .about-timeline-copy {
    position: static;
  }

  .about-timeline {
    gap: 34px;
    padding-left: 34px;
  }

  .about-timeline-card::before {
    left: -42px;
  }

  .about-machine {
    display: none;
  }

  .about-content h2 span {
    display: block;
    margin: 10px 0 0;
    text-align: center;
  }

  .trust-section {
    padding-top: 76px;
    padding-bottom: 64px;
    min-height: 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-card {
    min-height: 190px;
    padding: 28px 24px;
  }

  .trust-card img {
    margin-bottom: 24px;
  }

  .cta-band {
    display: block;
    min-height: 0;
    margin: 30px 14px 0;
    padding: 28px 22px 155px;
  }

  .cta-band h2 {
    font-size: 27px;
    margin-bottom: 20px;
  }

  .cta-band img {
    width: 170px;
    right: 6px;
  }

  .story-section {
    padding-top: 74px;
    margin-top: 0;
  }

  .story-intro {
    margin-bottom: 22px;
  }

  .story-intro h2 {
    max-width: 100%;
  }

  .story-intro p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.6;
  }

  .story-slider {
    padding-left: 18px;
    padding-right: 18px;
  }

  .story-slider .slick-track {
    align-items: flex-start;
  }

  .story-slide {
    grid-template-columns: 1fr;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }

  .story-image {
    min-height: 205px;
    height: 205px;
    border-radius: 8px 8px 0 0;
  }

  .story-card {
    min-height: 0;
    padding: 22px 20px 24px;
    border-radius: 0 0 8px 8px;
  }

  .story-card span {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .story-card h3 {
    font-size: 21px;
    line-height: 1.18;
  }

  .story-card p {
    margin-top: 14px;
    padding-top: 14px;
    font-size: 14px;
    line-height: 1.55;
  }

  .blog-card,
  .blog-card img {
    height: 380px;
    min-height: 380px;
  }

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

  .footer-products {
    padding-left: 0;
  }

  .site-footer .row {
    row-gap: 34px;
  }

  .footer-about p,
  .contact-list span {
    max-width: none;
  }

  .footer-bottom .container {
    /* justify-content: center !important; */
    text-align: initial;
  }
 
}

@media (max-width: 1199px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .career-layout,
  .career-openings,
  .contact-page-layout,
  .faq-page-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .success-list,
  .success-list-3 {
    columns: 2;
  }

  .success-bottom-copy {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

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

@media (max-width: 767px) {
  .page-content-section {
    padding-top: 46px;
  }

  .success-section-head {
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 26px 0 14px;
  }

  .success-section-head span {
    height: 6px;
  }

  .success-list,
  .success-list-3 {
    columns: 1;
    margin-bottom: 18px;
  }

  .success-list li {
    margin-bottom: 7px;
    font-size: 15px;
  }

  .page-intro {
    margin-bottom: 26px;
  }

  .page-intro h2 {
    font-size: 28px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .client-logo-wall .client-grid-card {
    min-height: auto;  
}


  .gallery-item,
  .gallery-item img {
    min-height: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .jayco-form,
  .career-opening-card,
  .career-benefits > div,
  .contact-info-card {
    padding: 22px;
  }

  .form-actions-row {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .captcha-wrap {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .thank-you-section {
    min-height: 62vh;
    padding: 120px 0 70px;
  }

  .thank-you-card {
    padding: 34px 22px;
  }

  .map-box iframe {
    height: 320px;
  }
}

@media (max-width: 575px) {
  .client-grid-card {
    min-height: 112px;
    padding: 14px;
  }

  .client-grid-card img {
    max-width: 128px;
    max-height: 68px;
  }

  .gallery-item {
    aspect-ratio: 1.18 / 1;
  }
}

 

@media (max-width: 575px) {
  .navbar-brand {
    width: 220px;
  }

  .hero-copy h1 {
    font-size: 35px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 230px;
  }

  .product-card h3 {
    font-size: 20px;
  }

  .cta-band {
           padding-bottom: 30px;
  }

  .cta-band h2 {
    font-size: 25px;
  }

  .cta-band img {
    width: 150px;
        bottom: -105px;
        right: -10px;
  }

  .story-image {
    min-height: 180px;
    height: 180px;
  }

  .story-card {
    padding: 18px 18px 22px;
  }

  .story-card h3 {
    font-size: 19px;
  }

  .story-card p {
    font-size: 13px;
    line-height: 1.48;
  }

  .client-logo {
    height: 112px;
  }

  .floating-actions {
    right: 14px;
    bottom: 8px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .floating-action {
    width: 43px;
    height: 43px;
    font-size: 18px;
  }

  .site-footer .row {
    grid-template-columns: 1fr;
  }

  .product-range-grid {
    grid-auto-rows: 230px;
  }

  .range-card {
    min-height: 230px;
  }

  .range-card-content {
    left: 20px;
    right: 20px;
  }

  .product-cta {
    padding: 28px 20px;
  }

 
  .applications-grid {
    grid-template-columns: 1fr;
  }

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

  .applications-grid span {
    justify-content: flex-start;
    min-height: auto;
    padding: 14px 16px;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .why-choose-grid span {
    min-height: 72px;
    padding: 16px 18px;
    font-size: 15px;
  }

  .product-detail-content .detail-faq-accordion .accordion-button {
    min-height: 58px;
    padding: 16px 18px;
    font-size: 15px;
  }

  .product-detail-content .detail-faq-accordion .accordion-button:not(.collapsed) {
    padding-bottom: 16px;
  }

  .product-detail-content .detail-faq-accordion .accordion-body {
    padding: 16px 18px 20px;
    font-size: 15px;
  }

  .product-detail-content p,
  .product-detail-content li,
  .detail-doc-list,
  .detail-list ul,
  .applications-grid span {
    font-size: 15px;
  }

  .detail-list-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-content > .detail-doc-list,
  .detail-block > .detail-doc-list {
    columns: 1;
  }

  .product-detail-content > .standards-list,
  .detail-block > .standards-list {
    display: block;
  }

  .detail-spec-table {
    min-width: 620px;
    font-size: 14px;
  }

  .detail-spec-table th,
  .detail-spec-table td {
    padding: 12px 13px;
  }
}


@media (max-width: 767px) {
     .site-header .navbar::before {
        inset: 0 0 0 71%;
        clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%);
    }
    .navbar-brand {
        width: 245px;
        padding: 0;
        margin: 0;
        border-radius: 0;
    }
    .section-heading { 
    margin: 0 auto 20px;
}
.section-pad {
        padding: 40px 0;
    }
    p,
    .section-heading p,
    .about-content p{
      font-size: 15px;
    }
    .about-legacy-section {
      padding-top: 50px;
    }
    .about-legacy-copy p,
    .about-timeline-copy p {
      font-size: 15px;
      line-height: 1.65;
    }
    .about-legacy-stats {
      inset: 18px auto 18px 20px;
      width: 48%;
    }
    .about-legacy-stats div {
      padding-bottom: 12px;
    }
    .about-legacy-stats strong {
      font-size: 34px;
    }
    .about-legacy-stats span {
      margin-top: 3px;
      font-size: 10px;
    }
    .about-timeline {
      padding-left: 24px;
      gap: 24px;
    }
    .about-timeline-card {
      min-height: 0;
      padding: 22px 20px;
      border-radius: 10px;
    }
    .about-timeline-card::before {
      left: -31px;
      width: 14px;
      height: 14px;
      border-width: 3px;
    }
    .about-timeline-card h3 {
      font-size: 18px;
    }
    .about-timeline-card p {
      font-size: 13px;
    }
    .question-box h3 {
    margin: 0 0 17px; 
    font-size: 19px;
    font-weight: 800; 
}
.question-box {
    margin-top: 26px;
    padding: 22px 18px 19px;
    border-radius: 6px; 
}
.client-section {
    padding: 20px 0 20px;
}
    .blog-card h3 {
        font-size: 18px;
        bottom: 77px;
    }
    .site-footer .container {
        padding-top: 14px;
        padding-bottom: 9px;
        gap: 10px !important;
    }
       .site-footer .row {
        row-gap: 0;
    } 
    .hero-copy {
    padding-top: 0;
    margin-top: -120px;
}
.inner-banner::after { 
    right: 5px;
    bottom: -1px; 
    font-size: clamp(38px, 9vw, 185px); 
}
.product-range-head p,
.product-cta p { 
    font-size: 15px; 
}
    .why-choose-grid span {
        min-height: 42px;
        padding: 9px 18px;
        font-size: 12px;
    }
        .why-choose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }
        .applications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }
        .applications-grid span {
        justify-content: flex-start;
        min-height: auto;
        padding: 8px 15px;
        text-align: left;
        overflow-wrap: anywhere;
        font-size: 12px;
        letter-spacing: 0;
        text-transform: capitalize;
    }
}
