/* =========================================================
   HERO — RESPONSIVE
========================================================= */

/* Very Large Desktop */

@media (min-width: 1600px) {
    .hero-main-row {
        min-height: 550px;
    }

    .hero-content {
        min-height: 460px;
    }

    .hero-visual {
        height: 550px;
    }

    .hero-main-image {
        width: min(100%, 610px);
        height: auto;
        max-width: 610px;
        max-height: 510px;
    }
}


/* Large Desktop */

@media (min-width: 1400px) and (max-width: 1599px) {
    .hero-main-image {
        width: min(100%, 600px);
        height: auto;
        max-width: 600px;
        max-height: 505px;
    }
}


/* Normal Desktop */

@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-main-row {
        min-height: 520px;
    }

    .hero-content {
        min-height: 440px;
    }

    .hero-visual {
        height: 520px;
    }

    .hero-main-image {
        width: min(100%, 570px);
        height: auto;
        max-width: 570px;
        max-height: 485px;
    }
}


/* Small Laptop */

@media (min-width: 992px) and (max-width: 1199px) {
    .hero-section {
        padding: 16px 0 8px;
    }

    .hero-main-row {
        min-height: 490px;
    }

    .hero-content {
        min-height: 410px;
    }

    .hero-title {
        font-size: clamp(38px, 4.5vw, 54px);
        line-height: 1.04;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-info p {
        font-size: 15px;
    }

    .hero-info h5 {
        font-size: 25px;
    }

    .hero-visual {
        height: 490px;
    }

    .hero-main-image {
        width: min(100%, 500px);
        height: auto;
        max-height: 445px;
    }
}


/* Tablet */

@media (max-width: 991px) {
    .hero-section {
        min-height: 0;
        padding: 35px 0 10px;
    }

    .hero-main-row {
        min-height: 0;
    }

    .hero-content {
        min-height: 0;
        padding: 25px 0 15px;
    }

    .hero-title {
        font-size: clamp(38px, 5.5vw, 52px);
        line-height: 1.05;
    }

    .hero-visual {
        height: 430px;
        margin-top: 0;
    }

    .hero-main-image {
        width: min(92%, 500px);
        height: auto;
        max-height: 410px;
    }

    .hero-strip {
        height: 96px;
    }

    .hero-strip-track {
        gap: 14px;
        animation: none !important;
    }

    .hero-strip-item,
    .hero-strip-item.strip-red,
    .hero-strip-item.strip-grey,
    .hero-strip-item.strip-black {
        width: 210px;
        min-width: 210px;
        max-width: 210px;
        height: 82px;
        flex: 0 0 210px;
        gap: 10px;
        padding: 7px 10px 7px 7px;
    }

    .strip-artwork {
        width: 64px;
        min-width: 64px;
        height: 66px;
        flex: 0 0 64px;
    }

    .strip-text span {
        font-size: 6.5px;
    }

    .strip-text strong {
        font-size: 12px;
    }
}


/* Mobile */

@media (max-width: 768px) {
    .hero-section {
        padding: 28px 0 8px;
    }

    .hero-content {
        min-height: 0;
        padding: 20px 0 10px;
        text-align: center;
    }

    .hero-slide {
        top: auto;
        left: auto;
        transform: translateX(-20px);
    }

    .hero-slide.active {
        transform: translateX(0);
    }

    .hero-title {
        font-size: clamp(36px, 6vw, 44px);
        line-height: 1.04;
    }

    .hero-text {
        margin-right: auto;
        margin-left: auto;
        font-size: 16px;
    }

    .hero-info {
        align-items: center;
    }

    .hero-info p {
        font-size: 15px;
    }

    .hero-info h5 {
        font-size: 26px;
    }

    .hero-visual {
        height: 350px;
    }

    .hero-main-slide {
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
    }

    .hero-main-image {
        width: min(92%, 400px);
        height: auto;
        max-height: 330px;
    }

    .hero-strip {
        width: 100vw;
        height: 92px;
        margin-top: 0;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        overflow: hidden;
    }

    .hero-strip-track {
        gap: 12px;
        animation: none !important;
    }

    .hero-strip-item,
    .hero-strip-item.strip-red,
    .hero-strip-item.strip-grey,
    .hero-strip-item.strip-black {
        width: 195px;
        min-width: 195px;
        max-width: 195px;
        height: 78px;
        flex: 0 0 195px;
        gap: 9px;
        padding: 6px 9px 6px 6px;
    }

    .strip-artwork {
        width: 60px;
        min-width: 60px;
        height: 62px;
        flex: 0 0 60px;
    }

    .strip-text span {
        font-size: 6px;
        letter-spacing: .7px;
    }

    .strip-text strong {
        font-size: 11.5px;
    }
}


/* Small Mobile */

@media (max-width: 480px) {
    .hero-section {
        padding: 22px 0 6px;
    }

    .hero-content {
        min-height: 0;
        padding: 15px 0 10px;
    }

    .hero-title {
        font-size: clamp(29px, 8vw, 36px);
    }

    .hero-text {
        font-size: 14px;
        line-height: 1.65;
    }

    .hero-info p {
        font-size: 14px;
    }

    .hero-info h5 {
        font-size: 24px;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-main-image {
        width: min(92%, 330px);
        height: auto;
        max-height: 280px;
    }

    .hero-strip {
        height: 88px;
    }

    .hero-strip-track {
        gap: 10px;
        animation: none !important;
    }

    .hero-strip-item,
    .hero-strip-item.strip-red,
    .hero-strip-item.strip-grey,
    .hero-strip-item.strip-black {
        width: 180px;
        min-width: 180px;
        max-width: 180px;
        height: 74px;
        flex: 0 0 180px;
        gap: 8px;
        padding: 6px 8px 6px 6px;
    }

    .strip-artwork {
        width: 56px;
        min-width: 56px;
        height: 58px;
        flex: 0 0 56px;
    }

    .strip-text span {
        font-size: 5.5px;
        letter-spacing: .6px;
    }

    .strip-text strong {
        font-size: 11px;
    }
}


/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .hero-main-slide.active {
        animation: none !important;
    }

    .hero-slide,
    .hero-main-slide,
    .hero-main-image,
    .hero-strip-item,
    .strip-artwork img {
        transition: none !important;
    }
}


/* =========================================================
   OUR SERVICES — RESPONSIVE
========================================================= */

/* Tablet */

@media (max-width: 991px) {
    .section-title h2 {
        font-size: 52px;
    }

    .section-title p {
        font-size: 18px;
    }

    .services-row {
        justify-content: center;
        row-gap: 45px;
    }

    .service-item {
        flex: 0 0 30%;
    }
}


/* Mobile */

@media (max-width: 768px) {
    .services {
        padding: 90px 7%;
    }

    .section-title {
        margin-bottom: 60px;
    }

    .section-title h2 {
        font-size: 42px;
    }

    .section-title p {
        font-size: 16px;
    }

    .service-item {
        flex: 0 0 45%;
    }

    .service-item i {
        font-size: 50px;
    }

    .service-item h4 {
        font-size: 17px;
    }
}


/* Small Mobile */

@media (max-width: 480px) {
    .service-item {
        flex: 0 0 100%;
    }
}


/* =========================================================
   OUR PORTFOLIO — RESPONSIVE
========================================================= */

/* Large Desktop */

@media (min-width: 1500px) {
    .portfolio-container {
        max-width: 1550px;
    }

    .portfolio-gallery {
        gap: 26px;
    }

    .portfolio-card {
        padding: 17px 19px 19px;
    }

    .portfolio-image-box {
        height: 205px;
    }

    .portfolio-category {
        font-size: 18px;
    }

    .portfolio-transform-arrow {
        top: 102px;
        width: 54px;
        height: 54px;
    }

    .portfolio-transform-arrow span {
        font-size: 26px;
    }
}


/* Normal Desktop */

@media (min-width: 1200px) and (max-width: 1499px) {
    .portfolio-container {
        max-width: 1320px;
    }

    .portfolio-gallery {
        gap: 22px;
    }

    .portfolio-image-box {
        height: 190px;
    }

    .portfolio-category {
        font-size: 16px;
    }

    .portfolio-transform-arrow {
        top: 95px;
        width: 50px;
        height: 50px;
    }

    .portfolio-transform-arrow span {
        font-size: 23px;
    }
}


/* Small Laptop */

@media (min-width: 992px) and (max-width: 1199px) {
    .portfolio-section {
        padding-right: 3%;
        padding-left: 3%;
    }

    .portfolio-gallery {
        gap: 14px;
    }

    .portfolio-card {
        padding: 13px 12px 15px;
    }

    .portfolio-card-top {
        height: 38px;
        margin-bottom: 8px;
    }

    .portfolio-category {
        padding: 0 48px;
        font-size: 14px;
    }

    .portfolio-number strong {
        font-size: 18px;
    }

    .portfolio-number span {
        font-size: 10px;
    }

    .portfolio-comparison {
        gap: 27px;
    }

    .portfolio-image-box {
        height: 165px;
        padding: 6px;
    }

    .portfolio-transform-arrow {
        top: 82px;
        width: 43px;
        height: 43px;
    }

    .portfolio-transform-arrow span {
        font-size: 20px;
    }
}


/* Tablet */

@media (min-width: 601px) and (max-width: 991px) {
    .portfolio-section {
        padding: 55px 6%;
    }

    .portfolio-heading {
        margin-bottom: 40px;
    }

    .portfolio-heading h2 {
        font-size: 48px;
    }

    .portfolio-gallery {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: 720px;
        margin: 0 auto;
    }

    .portfolio-card {
        padding: 18px 20px 20px;
    }

    .portfolio-card-top {
        height: 45px;
    }

    .portfolio-category {
        font-size: 18px;
    }

    .portfolio-number strong {
        font-size: 20px;
    }

    .portfolio-number span {
        font-size: 11px;
    }

    .portfolio-comparison {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px;
    }

    .portfolio-image-box {
        height: 250px;
    }

    .portfolio-transform-arrow {
        top: 125px;
        width: 56px;
        height: 56px;
    }

    .portfolio-transform-arrow span {
        font-size: 26px;
    }
}


/* Mobile */

@media (max-width: 600px) {
    .portfolio-view-all a,
    .testimonials-button a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 290px;
        min-width: 0;
        padding: 14px 48px;
    }

    .portfolio-view-arrow,
    .testimonials-button a span {
        position: absolute;
        right: 24px;
    }

    .portfolio-section {
        padding: 48px 5%;
    }

    .portfolio-heading {
        margin-bottom: 34px;
    }

    .portfolio-eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .portfolio-heading h2 {
        font-size: 38px;
    }

    .portfolio-heading p {
        font-size: 14px;
        line-height: 1.6;
    }

    .portfolio-gallery {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .portfolio-card {
        padding: 15px;
    }

    .portfolio-card-top {
        height: 48px;
        margin-bottom: 10px;
    }

    .portfolio-category {
        padding: 0 55px;
        font-size: 15px;
    }

    .portfolio-number strong {
        font-size: 17px;
    }

    .portfolio-number span {
        font-size: 9px;
    }

    .portfolio-comparison {
        display: flex;
        flex-direction: column;
        gap: 55px;
    }

    .portfolio-side {
        width: 100%;
    }

    .portfolio-image-box {
        height: 225px;
    }

    .portfolio-transform-arrow {
        top: 48%;
        left: 50%;
        width: 42px;
        height: 34px;
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .portfolio-transform-arrow::before {
        width: 36px;
        height: 14px;
    }

    .portfolio-transform-arrow::after {
        border-top-width: 16px;
        border-bottom-width: 16px;
        border-left-width: 20px;
    }

    .portfolio-transform-arrow span {
        display: none;
    }

    .portfolio-card:hover .portfolio-transform-arrow {
        transform:
            translate(-50%, -50%)
            rotate(90deg)
            scale(1.07);
    }

    .portfolio-view-all {
        margin-top: 32px;
    }

    .portfolio-view-all a {
        width: 100%;
        max-width: 290px;
        min-width: 0;
        padding: 14px 20px;
    }
}


/* Small Mobile */

@media (max-width: 400px) {
    .portfolio-heading h2 {
        font-size: 34px;
    }

    .portfolio-category {
        font-size: 14px;
    }

    .portfolio-image-box {
        height: 205px;
    }
}


/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .portfolio-card,
    .portfolio-image-box,
    .portfolio-image-box img,
    .portfolio-transform-arrow,
    .portfolio-view-all a,
    .portfolio-view-arrow {
        transition: none !important;
    }
}


/* =========================================================
   TESTIMONIALS — RESPONSIVE
========================================================= */

/* Tablet */

@media (max-width: 1100px) {
    .testimonials-section {
        padding: 90px 6%;
    }

    .testimonials-heading h2 {
        font-size: 48px;
    }

    .testimonials-heading p {
        font-size: 17px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 55px 45px;
    }
}


/* Mobile */

@media (max-width: 650px) {
    .testimonials-section {
        padding: 75px 6%;
    }

    .testimonials-heading {
        margin-bottom: 50px;
    }

    .testimonials-heading h2 {
        font-size: 36px;
        letter-spacing: -.5px;
    }

    .testimonials-heading p {
        font-size: 15px;
        line-height: 1.7;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .testimonial-stars {
        font-size: 22px;
    }

    .testimonial-content {
        padding-left: 32px;
    }

    .testimonial-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .testimonial-client {
        padding-left: 32px;
    }

    .testimonials-button {
        margin-top: 50px;
    }
}


/* =========================================================
   REQUEST A QUOTE — RESPONSIVE
========================================================= */

/* Tablet */

@media (max-width: 1000px) {
    .quote-container {
        grid-template-columns: .9fr 1.1fr;
        gap: 55px;
    }

    .quote-content h2 {
        font-size: 50px;
    }
}


/* Mobile */

@media (max-width: 768px) {
    .quote-section {
        padding: 55px 0 70px;
    }

    .quote-container {
        grid-template-columns: 1fr;
        gap: 45px;
        width: 92%;
    }

    .quote-content {
        max-width: 100%;
    }

    .quote-content h2 {
        font-size: 42px;
    }

    .quote-content > p {
        max-width: 100%;
        font-size: 14px;
    }

    .quote-email a {
        font-size: 16px;
    }

    .quote-benefits h3 {
        font-size: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 18px;
    }
}


/* Small Mobile */

@media (max-width: 480px) {
    .quote-content h2 {
        font-size: 36px;
    }

    .quote-content > p {
        font-size: 13px;
    }

    .quote-benefits li {
        font-size: 13px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 13px;
    }

    .quote-submit {
        width: 100%;
    }
}


/* =========================================================
   CHATBOT — RESPONSIVE
========================================================= */

/* Mobile */

@media (max-width: 600px) {
    .stitch-chatbot {
        right: 14px;
        bottom: 14px;
    }

    .chat-window {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
    }

    .chat-launcher {
        padding: 13px 16px;
    }
}


/* Small Mobile */

@media (max-width: 420px) {
    .chat-launcher span {
        display: none;
    }

    .chat-launcher {
        width: 52px;
        height: 52px;
        padding: 0;
        border-radius: 50%;
    }

    .chat-launcher i {
        font-size: 20px;
    }

    .chat-window {
        right: 8px;
        bottom: 8px;
        left: 8px;
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
    }

    .chat-header {
        padding: 15px;
    }

    .chat-body {
        padding: 15px;
    }

    .chat-step-heading h4 {
        font-size: 18px;
    }
}


/* =========================================================
   NAVBAR — RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {
    .custom-navbar {
        position: relative;
        z-index: 9999;
        background: #111111 !important;
    }

    .custom-navbar .container-fluid {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .custom-navbar .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 9999;
        width: 100%;
        max-height: calc(100vh - 90px);
        padding: 15px 20px 22px;
        overflow-y: auto;
        border-top: 1px solid rgba(255, 255, 255, .08);
        background: #111111 !important;
    }

    .custom-navbar .navbar-nav {
        align-items: stretch !important;
        width: 100%;
        margin: 0 !important;
    }

    .custom-navbar .nav-item {
        width: 100%;
    }

    .custom-navbar .nav-link {
        display: block;
        width: 100%;
        padding: 11px 5px !important;
        color: #ffffff !important;
        font-size: 15px;
    }

    .custom-navbar .nav-link:hover,
    .custom-navbar .nav-link:focus {
        color: #E31E24 !important;
    }

    .custom-navbar .nav-item.ms-lg-3 {
        margin-top: 8px;
        margin-left: 0 !important;
    }

    .custom-navbar .navbar-quote-btn {
        display: inline-flex;
        width: auto;
        padding: 10px 18px !important;
    }

    .custom-navbar .navbar-toggler {
        position: relative;
        z-index: 10000;
        padding: 6px;
    }

    .custom-navbar .navbar-toggler-icon {
        filter: invert(1);
    }
}

@media (max-width: 480px) {
    .custom-navbar .container-fluid {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    .custom-navbar .navbar-collapse {
        padding-right: 18px;
        padding-left: 18px;
    }
}


/* =========================================================
   MOBILE HERO FINAL FIXES
========================================================= */

/* Text Spacing */

@media (max-width: 480px) {
    .hero-content .hero-title {
        margin-bottom: 18px !important;
        line-height: 1.28 !important;
    }

    .hero-content .hero-text {
        margin-bottom: 20px !important;
        line-height: 1.55 !important;
    }

    .hero-content .hero-info {
        margin-top: 0 !important;
    }

    .hero-content .hero-info p {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
        line-height: 1.35 !important;
    }

    .hero-content .hero-info h5 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        line-height: 1.3 !important;
    }
}


/* Heading Spacing */

@media (max-width: 767px) {
    .hero-title {
        margin-bottom: 16px !important;
        font-size: 34px !important;
        line-height: 1.18 !important;
        letter-spacing: -.8px !important;
    }

    .hero-title span {
        position: static !important;
        display: inline !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: inherit !important;
        transform: none !important;
    }

    .hero-title br {
        display: block !important;
        content: "" !important;
        margin: 0 !important;
    }
}


/* Hero Strip */

@media (max-width: 480px) {
    .hero-strip {
        height: 82px !important;
        overflow: hidden !important;
    }

    .hero-strip-track {
        gap: 6px !important;
        animation: none !important;
    }

    .hero-strip-item,
    .hero-strip-item.strip-red,
    .hero-strip-item.strip-grey,
    .hero-strip-item.strip-black {
        width: 145px !important;
        min-width: 145px !important;
        max-width: 145px !important;
        height: 72px !important;
        flex: 0 0 145px !important;
        gap: 6px !important;
        padding: 5px 7px 5px 5px !important;
    }

    .strip-artwork {
        width: 48px !important;
        min-width: 48px !important;
        height: 58px !important;
        flex: 0 0 48px !important;
    }

    .strip-text {
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .strip-text span {
        font-size: 5.5px !important;
        line-height: 1.2 !important;
    }

    .strip-text strong {
        overflow: visible !important;
        font-size: 9px !important;
        line-height: 1.15 !important;
        white-space: normal !important;
    }
}