/* =========================================
   LARGE TABLET
========================================= */
@media (max-width: 1199.98px) {

    /* HERO SECTION */
    .hero-title {
        font-size: clamp(48px, 5.5vw, 66px);
    }

    .sms-floating-card {
        left: -25px;
    }

    .whatsapp-floating-card {
        right: -35px;
    }

    /* about section */
    .about-content {
        padding-left: 15px;
    }

    .about-channel-item>span {
        width: 34px;
        height: 34px;
    }

    .about-channel-item div {
        display: none;
    }
}

/* =========================================
   TABLET AND MOBILE
========================================= */
@media (max-width: 991.98px) {

    .custom-container {
        width: min(100% - 28px, 960px);
    }

    /* HEADER SECTION */
    .site-header {
        padding: 12px;
    }

    .header-shell {
        min-height: 68px;
        padding: 8px 10px 8px 15px;
        border-radius: 19px;
    }

    .header-logo {
        width: 155px;
    }

    .navbar-collapse {
        margin-top: 10px;
        padding: 13px 2px 2px;
        border-top: 1px solid var(--border-color);
    }

    .navbar-nav {
        align-items: stretch;
        gap: 2px;
        padding: 4px;
        border: 0;
        border-radius: 14px;
        background-color: #f4faf7;
    }

    .navbar-nav .nav-link {
        padding: 11px 12px !important;
        border-radius: 10px;
        font-size: 14px;
    }

    .navbar-nav .nav-link.active {
        background-color: var(--white-color);
    }

    .header-cta {
        width: 100%;
        margin-top: 10px;
        padding-left: 20px;
    }

    .header-cta-icon {
        margin-left: auto;
    }

    /* HERO SECTION */
    .hero-section {
        min-height: auto;
        padding: 150px 0 70px;
    }

    .hero-content {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-title,
    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions,
    .hero-features {
        justify-content: center;
    }

    .hero-message-visual {
        max-width: 650px;
        margin: 35px auto 0;
    }

    .message-phone {
        left: 50%;
        transform: translateX(-50%) rotate(2deg);
    }

    .sms-floating-card {
        left: 4%;
    }

    .whatsapp-floating-card {
        right: 2%;
    }

    .rcs-floating-label {
        right: 9%;
    }

    .delivery-floating-card {
        left: 8%;
    }

    @keyframes phoneFloat {

        0%,
        100% {
            transform: translateX(-50%) rotate(2deg) translateY(0);
        }

        50% {
            transform: translateX(-50%) rotate(0.8deg) translateY(-10px);
        }
    }

    /* SOLUTION SECTION */
    .solutions-section {
        padding: 85px 0;
    }

    .solution-panel {
        padding: 38px;
    }

    .solution-content {
        max-width: none;
    }

    .solution-preview {
        max-width: 570px;

        margin: 10px auto 0;
    }

    /* industry section */
    .industries-section {
        padding: 85px 0;
    }

    .industries-heading p {
        margin-left: 0;
    }

    .retail-industry-card,
    .finance-industry-card {
        min-height: auto;
    }

    /* about section */
    .about-section {
        padding: 85px 0;
    }

    .about-visual-card {
        max-width: 650px;
        min-height: 590px;
        margin: 0 auto;
    }

    .about-channel-item div {
        display: block;
    }

    .about-content {
        max-width: 750px;
        margin: 0 auto;
        padding: 20px 0 0;
    }

    .about-approach {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .approach-heading {
        padding: 0 0 22px;
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
    }

    /* contact modal */
    .contact-modal .modal-dialog {
        max-width: 760px;
    }

    .contact-modal-intro {
        min-height: auto;
        padding: 35px;
    }

    .contact-modal-intro-content {
        margin-top: 45px;
    }

    .contact-modal-process {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 32px;
    }

    .contact-modal-process>div {
        align-items: flex-start;
    }

    .contact-modal-form-wrapper {
        padding: 40px;
    }

    /* footer section */
    .footer-cta-section {
        padding-top: 80px;
    }

    .footer-cta-card {
        text-align: center;
    }

    .footer-cta-card h2,
    .footer-cta-card p {
        margin-right: auto;
        margin-left: auto;
    }

    .footer-channel-list {
        justify-content: center;
    }

    .footer-cta-button {
        width: 100%;
        max-width: 310px;
    }

    .site-footer {
        padding-top: 110px;
    }

    /* legal page */
    .legal-hero {
        padding: 80px 0;
    }

    .legal-content-section {
        padding: 65px 0 85px;
    }

    .legal-sidebar {
        position: static;
    }

    .legal-sidebar nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 25px;
    }

    .legal-channel-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 767.98px) {

    /* SOLUTION SECTION  */
    .solutions-heading {
        margin-bottom: 35px;
    }

    .solution-tabs {
        display: flex;
        margin-bottom: 22px;
        overflow-x: auto;
        border-radius: 17px;
        scrollbar-width: none;
    }

    .solution-tabs::-webkit-scrollbar {
        display: none;
    }

    .solution-tab {
        min-width: 185px;
        flex-shrink: 0;
    }

    .solution-panel {
        padding: 25px;
        border-radius: 24px;
    }

    .solution-content h3 {
        font-size: 38px;
    }

    .solution-preview {
        min-height: 450px;
        padding: 22px;
        border-radius: 21px;
    }

    /* industry section */
    .industries-heading {
        margin-bottom: 35px;
    }

    .industry-card {
        padding: 25px;
        border-radius: 23px;
    }

    .retail-message-preview {
        transform: none;
    }

    .industries-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .industries-cta-button {
        width: 100%;
        justify-content: space-between;
    }

    /* about section */
    .about-visual-card {
        min-height: 560px;
        padding: 27px;
        border-radius: 26px;
    }

    .about-visual-content {
        margin-top: 65px;
    }

    .about-visual-content h3 {
        font-size: 30px;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .approach-steps {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .approach-step {
        padding-bottom: 19px;
        border-bottom: 1px solid var(--border-color);
    }

    .approach-step:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .approach-arrow {
        display: none;
    }

    /* contact modal */
    .contact-modal .modal-dialog {
        margin: 8px;
        padding: 0;
    }

    .contact-modal-content {
        border-radius: 23px;
    }

    .contact-modal-intro {
        padding: 29px;
    }

    .contact-modal-close {
        top: 14px;
        right: 14px;
    }

    .contact-modal-intro-content h2 {
        max-width: 500px;
        font-size: 32px;
    }

    .contact-modal-process {
        grid-template-columns: 1fr;
    }

    .contact-modal-form-wrapper {
        padding: 31px;
    }

}

/* =========================================
   SMALL MOBILE
========================================= */
@media (max-width: 575.98px) {

    .custom-container {
        width: calc(100% - 20px);
    }

    /* HEADER SECTION  */
    .site-header {
        padding: 9px;
    }

    .header-shell {
        min-height: 62px;
        padding-left: 13px;
        border-radius: 17px;
    }

    .header-logo {
        width: 142px;
    }

    .navbar-toggler {
        width: 42px;
        height: 42px;
    }

    .navbar-collapse {
        max-height: calc(100vh - 95px);
        overflow-y: auto;
    }

    /* HERO SECTION */
    .hero-section {
        padding: 130px 0 45px;
    }

    .hero-eyebrow {
        padding: 8px 11px;

        font-size: 9px;
        letter-spacing: 0.04em;
    }

    .hero-title {
        font-size: clamp(42px, 12vw, 52px);
        line-height: 1.02;
    }

    .hero-description {
        margin-top: 21px;
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-features {
        gap: 12px 16px;
        margin-top: 26px;
    }

    .hero-message-visual {
        min-height: 525px;
        margin-top: 20px;
    }

    .visual-orbit {
        width: 390px;
        height: 390px;
    }

    .message-phone {
        width: 270px;
        height: 530px;
    }

    .floating-message-card {
        min-width: 175px;
        padding: 9px;
    }

    .floating-message-icon {
        width: 34px;
        height: 34px;
    }

    .floating-message-content strong {
        font-size: 9px;
    }

    .sms-floating-card {
        top: 55px;
        left: -12px;
    }

    .whatsapp-floating-card {
        top: 215px;
        right: -18px;
    }

    .rcs-floating-label {
        top: 10px;
        right: -5px;
    }

    .delivery-floating-card {
        bottom: 25px;
        left: -7px;
        width: 165px;
    }

    /* SOLUTION SECTION */
    .solutions-section {
        padding: 70px 0;
    }

    .solutions-heading {
        text-align: left;
    }

    .solutions-heading h2 {
        font-size: 37px;
    }

    .solutions-heading p {
        font-size: 14px;
    }

    .solution-panel {
        padding: 20px;
    }

    .solution-content h3 {
        font-size: 34px;
    }

    .solution-preview {
        min-height: 420px;
        padding: 17px;
    }

    .sms-route {
        margin: 45px 0 35px;
    }

    .route-step>span {
        width: 41px;
        height: 41px;
    }

    .route-line {
        width: 35px;
    }

    .preview-result-row {
        grid-template-columns: 1fr;
    }

    .whatsapp-message {
        max-width: 90%;
    }

    /* industry section */
    .industries-section {
        padding: 70px 0;
    }

    .industries-heading h2 {
        font-size: 38px;
    }

    .industries-heading p {
        font-size: 14px;
    }

    .industry-card {
        padding: 22px;
    }

    .industry-card-top {
        margin-bottom: 30px;
    }

    .industry-content h3 {
        font-size: 24px;
    }

    .small-industry-card {
        min-height: auto;
    }

    .industries-cta {
        padding: 23px;
    }

    .industries-cta h3 {
        font-size: 20px;
    }

    /* about section */
    .about-section {
        padding: 70px 0;
    }

    .about-visual-card {
        min-height: 535px;
        padding: 22px;
    }

    .about-brand-box img {
        width: 135px;
    }

    .about-floating-label {
        top: 100px;
        right: -5px;
    }

    .about-visual-content h3 {
        font-size: 27px;
    }

    .about-channel-flow {
        right: 18px;
        bottom: 22px;
        left: 18px;
    }

    .about-channel-item div {
        display: none;
    }

    .about-flow-arrow {
        font-size: 9px;
    }

    .about-content h2 {
        font-size: 39px;
    }

    .about-lead {
        font-size: 15px;
    }

    .about-approach {
        margin-top: 55px;
        padding: 24px;
        border-radius: 23px;
    }

    /* contact modal */
    .contact-modal-intro {
        padding: 24px;
    }

    .contact-modal-brand img {
        width: 125px;
    }

    .contact-modal-intro-content h2 {
        font-size: 29px;
    }

    .contact-modal-form-wrapper {
        padding: 27px 21px;
    }

    .contact-form-heading h2 {
        font-size: 26px;
    }

    .contact-consent {
        grid-template-columns: 17px 1fr;
    }

    /* footer section */
    .footer-cta-section {
        padding-top: 65px;
    }

    .footer-cta-card {
        padding: 38px 22px;
        border-radius: 25px;
    }

    .footer-cta-card h2 {
        font-size: 2.15rem;
    }

    .footer-channel-list {
        gap: 12px;
    }

    .footer-channel-list span {
        width: 100%;
        justify-content: center;
    }

    .footer-cta-button {
        min-height: 54px;
        padding: 13px 18px;
        font-size: 0.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 48px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }

    /* legal page */
    .legal-header {
        padding: 12px 0;
    }

    .legal-logo img {
        width: 145px;
    }

    .legal-back-link {
        padding: 10px 12px;
        font-size: 0.68rem;
    }

    .legal-hero {
        padding: 65px 0;
    }

    .legal-hero h1 {
        font-size: 3rem;
    }

    .legal-content-section {
        padding: 45px 0 65px;
    }

    .legal-sidebar {
        padding: 21px;
    }

    .legal-sidebar nav {
        grid-template-columns: 1fr;
    }

    .legal-policy-card {
        padding: 30px 21px;
        border-radius: 22px;
    }

    .legal-policy-section {
        padding-bottom: 40px;
    }

    .legal-policy-section:not(:first-child) {
        padding-top: 40px;
    }

    .legal-channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-footer-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-footer-wrapper>div {
        flex-wrap: wrap;
        gap: 12px 18px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */
@media (prefers-reduced-motion: reduce) {

    html.js-enabled [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    /* hero section  */
    .hero-section *,
    .hero-section *::before,
    .hero-section *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}