/**
 * Homepage responsive styles — tablet & mobile.
 */

/* ── Tablet landscape (≤1200px) ── */
@media (max-width: 1200px) {
    .about-intro__top,
    .about-detail__top,
    .team__head {
        gap: 48px;
    }
    .about-detail__top {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }

    .why-choose__content {
        padding-right: 0;
    }

    .about-stat-card {
        min-height: 360px;
    }

    .about-stat-card h3 {
        font-size: 56px;
    }

    .services-showcase__layout {
        gap: 48px;
    }

    .service-item h3 {
        font-size: 32px;
    }
}

/* ── Tablet portrait (≤1024px) ── */
@media (max-width: 1024px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-intro,
    .solutions,
    .about-detail,
    .services-intro,
    .services-showcase,
    .why-choose,
    .team,
    .process,
    .faq,
    .testimonials {
        padding-top: 0;
        padding-bottom: 88px;
    }

    .about-intro__top,
    .about-detail__top,
    .team__head,
    .why-choose__grid,
    .faq__wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-intro__title,
    .solutions__title,
    .about-detail__title,
    .why-choose__title,
    .team__title,
    .process__title,
    .faq__title,
    .testimonials__title {
        font-size: clamp(32px, 5vw, 42px);
    }

    .about-intro__description {
        font-size: 18px;
        margin-bottom: 0;
    }

    .solutions__divider {
        margin-bottom: 64px;
    }

    .solutions__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 40px;
    }

    .about-detail__grid {
        justify-content: stretch;
    }

    .about-stat-card {
        width: 100%;
        max-width: none;
        min-height: 320px;
    }

    .about-stat-card__inner {
        min-width: 0;
        width: 100%;
        gap: 30px;
    }
    section.testimonials {
    position: relative;
}
section.testimonials {
    position: relative;
    padding-bottom: 150px;
}


    .about-stat-card p{
        max-width: 100%;
    }

    .about-stat-card--image {
        max-width: none;
    }

    .services-showcase .services-showcase__top {
        padding-top: 64px;
    }

    .services-showcase__preview {
        order: -1;
        max-width: 520px;
        margin: 0 auto 24px;
    }

    .service-item h3 {
        font-size: 30px;
    }

    .why-choose__grid {
        padding-top: 64px;
    }

    .why-card {
        min-height: 360px;
    }

    .why-card--large .why-card__number {
        font-size: 72px;
        letter-spacing: -6px;
        right: 24px;
        top: 24px;
    }

    .why-card--map svg {
        width: 200px;
        right: 20px;
    }

    .team-card img {
        height: 320px;
    }

    .process__head {
        margin-bottom: 64px;
    }

    .process__stack {
        gap: 80px;
    }

    .process-card {
        top: 88px;
        min-height: 300px;
    }

    .faq__wrapper,
    .why-choose__grid {
        padding-top: 64px;
    }

    .faq__content {
        max-width: none;
    }

    .testimonials__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .testimonial-nav {
        align-self: flex-end;
    }

    .testimonial-card {
        min-height: 340px;
    }

    .solution-card {
        height: 420px;
    }

    .newsletter__content .newsletter__action {
        width: 100%;
        max-width: 520px;
    }

    .newsletter__form {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .newsletter__form input {
        width: min(100%, 320px);
    }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
    body.has-top-bar .site-header {
        top: 0;
    }

    .site-header__bar {
        height: 72px;
        padding: 0 16px;
        top: 0;
    }

    .site-header__actions {
        gap: 12px;
    }

    .header-action button {
        width: 36px;
        height: 36px;
    }

    .header-action span {
        font-size: 11px;
    }

    .hero {
        min-height: 100svh;
    }

    .hero .container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 24px;
        padding-bottom: 48px;
    }

    .hero__content {
        max-width: none;
        width: 100%;
    }

    .hero__slide {
        gap: 28px;
    }

    .hero__slide.active {
        gap: 28px;
    }

    .hero__heading {
        gap: 16px;
    }

    .hero__eyebrow {
        font-size: 14px;
    }

    .hero__title {
        font-size: clamp(34px, 10vw, 48px);
    }

    .hero__button {
        height: 48px;
        padding: 0 22px;
        font-size: 16px;
    }

    .hero__controls {
        margin-top: 24px;
        gap: 16px;
    }

    .hero__prev,
    .hero__next {
        width: 40px;
        height: 40px;
    }

    .hero__scroll {
        margin-bottom: 0;
        font-size: 13px;
        align-self: flex-start;
    }

    .about-intro,
    .solutions,
    .about-detail,
    .services-intro,
    .services-showcase,
    .why-choose,
    .team,
    .process,
    .faq,
    .testimonials {
        padding-bottom: 64px;
    }

    .about-intro {
        padding-top: 64px;
    }

    .about-intro__label,
    .solutions__eyebrow,
    .services-intro__eyebrow,
    .process__eyebrow,
    .faq__eyebrow {
        font-size: 14px;
    }

    .about-intro__title {
        margin-bottom: 24px;
    }

    .solutions__divider {
        margin-bottom: 48px;
    }

    .solution-card {
        height: 360px;
        border-radius: 18px;
    }

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

    .solution-card__bottom p {
        font-size: 15px;
        max-width: calc(100% - 56px);
    }

    .about-detail__eyebrow {
        align-self: flex-start;
    }

    .about-stat-card {
        min-height: auto;
        padding: 20px;
    }

    .about-stat-card h3 {
        font-size: 44px;
    }

    .about-stat-card span {
        opacity: 1;
        transform: none;
    }
    .about-stat-card {
    flex-direction: column-reverse;
}

    .services-showcase .services-showcase__top {
        padding-top: 48px;
        margin-bottom: 32px;
    }

    .services-showcase__top p,
    .services-intro__title {
        font-size: 18px;
    }

    .service-item {
        margin-bottom: 0;
    }

    .service-item h3 {
        font-size: 24px;
        line-height: 2;
    }

    .service-item.active h3 {
        transform: translateX(8px);
    }

    .service-item.active h3::before {
        transform: translateX(-8px);
    }

    .why-choose__eyebrow,
    .team__eyebrow,
    .testimonials__eyebrow {
        font-size: 14px;
    }

    .why-card {
        min-height: 300px;
        padding: 24px;
    }

    .why-card--large .why-card__number {
        font-size: 56px;
        margin-bottom: 40px;
        /* position: relative; */
        /* right: auto;
        top: auto; */
        letter-spacing: -4px;
    }
    .why-card--large .why-card__number svg {
    width: 35px;
    height: auto;
    margin-left: 20px;
    margin-top: 13px;
}

    .why-card--map svg,
    .why-card.last svg {
        width: 120px;
        margin-bottom: 16px;
    }
    .why-card.last svg {
    width: 100%;
    max-width: 60px;
}



    .team__head {
        margin-bottom: 32px;
    }

    .team-nav {
        justify-content: flex-start;
    }

    .team-prev,
    .team-next {
        width: 40px;
        height: 40px;
    }

.swiper.teamSwiper {
    margin-top: 0;
}

    .team-card h3 {
        font-size: 22px;
    }

    .process__head {
        margin-bottom: 40px;
    }

    .process__stack {
        gap: 24px;
    }

    .process-card,
    .process-card--one,
    .process-card--two,
    .process-card--three,
    .process-card--four {
        position: relative;
        top: auto;
        transform: none;
        min-height: auto;
        padding: 24px 20px 20px;
    }

    .process-card__number {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 16px;
        font-size: 32px;
    }

    .process-card svg,
    .process-card__icon {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 16px;
    }

    .process-card h3 {
        font-size: 24px !important;
    }

    .process-card p {
        font-size: 15px !important;
        max-width: none;
    }

    .faq__wrapper {
        padding-top: 48px;
        gap: 28px;
    }

    .faq .hero__button {
        margin-top: 32px;
        width: 100%;
        max-width: none;
        justify-content: center;
    }

    .faq-item__button {
        padding: 20px 0;
        font-size: 17px;
        gap: 16px;
    }

    .testimonials__head {
        margin-bottom: 32px;
    }

    .testimonial-card {
        min-height: auto;
        padding: 22px;
    }

    .testimonial-card p {
        font-size: 16px;
    }

    .testimonial-nav {
        align-self: stretch;
        justify-content: flex-end;
    }

    .newsletter {
        min-height: 460px;
        padding: 64px 0;
    }

    .newsletter__title {
        font-size: clamp(32px, 9vw, 48px);
        text-align: center;
    }

    .newsletter__content .newsletter__action {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .newsletter__content .hero__button {
        display: none;
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .newsletter__content .newsletter__form {
        opacity: 1;
        visibility: visible;
        position: static;
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .newsletter__form input,
    .newsletter__form button {
        width: 100%;
        max-width: none;
    }

    .site-footer {
        padding: 56px 0;
    }

    .site-footer__logo {
        margin-bottom: 40px;
    }

    .site-footer__search,
    .site-footer__info {
        margin-bottom: 40px;
    }

    .site-footer__info {
        flex-direction: column;
        gap: 28px;
    }

    .fullscreen-menu__left {
        padding: 24px 20px 32px;
    }

    .fullscreen-menu__header {
        margin-bottom: 32px;
    }

    .fullscreen-menu__nav a {
        font-size: 24px;
    }
    .about-stat-card--image{
            grid-template-columns: auto;
            margin-bottom:30px;
    }
    .about-stat-card__inner{
        height: auto;
    }
    .testimonial-nav {
        align-self: stretch;
        justify-content: center;
        position: absolute;
        bottom: 60px;
        left: 0;
        right: 0;
    }
.testimonial-nav button {
    width: 44px;
    height: 44px;

}

}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__button {
        width: 100%;
        max-width: none;
    }

    .about-intro__title,
    .solutions__title,
    .about-detail__title,
    .why-choose__title,
    .team__title,
    .process__title,
    .faq__title,
    .testimonials__title {
        font-size: 28px;
    }

    .solution-card {
        height: 320px;
    }

    .solution-card__content {
        padding: 18px;
    }

    .service-item h3 {
        font-size: 20px;
    }

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

    .blog-card h3 {
        font-size: 22px;
    }

    .blogs__head {
        margin-bottom: 40px;
    }

    .blogs__title {
        font-size: 28px;
    }

    .header-action span {
        display: none;
    }

    .site-header__actions {
        gap: 8px;
    }

    .newsletter__title {
        font-size: 30px;
    }
}
