/* redesign-home.css — home page sections (new-banner, advantages, blogs, faq, partner, app). Extracted group-2 from frontend style.css. Scoped per-section; global reset omitted. */

/* NOTE (fonts): No DM Sans / no `font-family` declaration appears in any extracted section selector — these sections inherit the site's global font. No @font-face needed and no woff2 files to copy. Existing fonts in /assets/front/fonts/ are Poppins + ProximaNova only. */
/* NOTE (url): No url() references exist inside the extracted rules — every image/icon in these sections is an inline <img>/<svg>, and each already has an explicit width/height/object-fit scoped under its section, so the global `img,svg,iframe{...}` reset is intentionally NOT copied and nothing depends on it. */

/* =========================================================
   HERO / NEW-BANNER  (source: style.css 14044–14389, incl. .yellow-lines once @14097–14116)
   ========================================================= */
.new-banner {
    padding: 44px 0;
    /* min-height: 700px;
    display: flex;
    align-items: center; */
    background: #fff;
}

.new-banner .container {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 25px;
}


/* =========================
   LEFT SIDE
========================= */
.new-banner .left {
    width: 29%;
    min-height: 450px;
    padding-top: 25px;
    flex-shrink: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.new-banner .left h1 {
    position: relative;
    z-index: 2;

    margin-bottom: 28px;

    color: #141414;
    font-size: 64px;
    line-height: 68px;
    font-weight: 700;
}

.new-banner .left h1 span {
    display: block;
    font-size: 56px;
    font-weight: 500;
}


/* =========================
   YELLOW LINES
========================= */

.yellow-lines {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 6px;
}

.yellow-lines .short-line {
    width: 5px;
    height: 4px;
    background: #ffd400;
}

.yellow-lines .long-line {
    width: 15px;
    height: 4px;
    background: #ffd400;
}


/* =========================
   LEFT CONTENT
========================= */

.new-banner .left .content {
    color: #808080;
    font-weight: 500;
    font-size: 16px;
    margin-top: 24px;
}


/* =========================
   BACKGROUND IMAGE
========================= */

.new-banner .bg-image {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 600px;

    z-index: 1;
    pointer-events: none;
}

.new-banner .bg-image img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


/* =========================
   RIGHT SIDE
========================= */

.new-banner .right {
    position: relative;

    width: 71%;

    z-index: 3;
}


/* =========================
   TOP CARDS
========================= */

.new-banner .top-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;

    height: 280px;
}


/* =========================
   BOTTOM CARDS
========================= */

.new-banner .bottom-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;

    height: 320px;
    margin-top: 16px;
}


/* =========================
   SERVICE CARD
========================= */

.new-banner .service-card {
    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 16px;

    color: #fff;
    text-decoration: none;
}

.new-banner .service-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.new-banner .service-card:hover img {
    transform: scale(1.05);
}


/* =========================
   CARD DARK OVERLAY
========================= */

.new-banner .service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;

    width: 48%;

    background: linear-gradient(90deg,
            rgba(20, 20, 20, 0.35) 0%,
            rgba(20, 20, 20, 0.22) 55%,
            rgba(20, 20, 20, 0) 100%);

    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);

    mask-image: linear-gradient(to right,
            #000 0%,
            #000 78%,
            transparent 100%);

    -webkit-mask-image: linear-gradient(to right,
            #000 0%,
            #000 78%,
            transparent 100%);

    z-index: 1;
    pointer-events: none;
}

/* =========================
   CARD CONTENT
========================= */

.new-banner .card-content {
    position: absolute;

    left: 18px;
    bottom: 70px;

    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.new-banner .card-content h2 {
    margin: 0;

    color: #fff;

    font-size: 28px;
    line-height: 1.05;
    font-weight: 500;
    font-weight: 500;
}

.new-banner .card-content .line {
    display: block;
    width: 32px;
    height: 2px;
    background: #ffd400;
}

.new-banner .card-content p {
    margin: 0;
    color: #BFBFBF;
    font-size: 14px;
    line-height: 1.35;
    width: 50%;
}


/* =========================
   BADGE
========================= */

.new-banner .badge {
    position: absolute;
    right: 12px;
    top: 16px;
    z-index: 3;

    padding: 8px 10px;

    border-radius: 24px;

    color: #111;
    font-size: 12.92px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;

    background:
        linear-gradient(90deg, #FFCC00 0%, #FF9100 100%) padding-box,
        linear-gradient(90deg, #FFE270 0%, #E38700 100%) border-box;

    border: 1px solid transparent;
}

.new-banner .badge.blue {
    color: #fff;

    background:
        linear-gradient(90deg, #29A2FF 0%, #1A86D9 100%) padding-box,
        linear-gradient(90deg, #6CBDFA 0%, #1076C5 100%) border-box;
}

/* =========================
   ARROW
========================= */

.new-banner .arrow {
    position: absolute;

    left: 17px;
    bottom: 15px;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 50%;

    background: #fff;
    color: #222;

    font-size: 15px;
    line-height: 1;

    transition: all 0.3s ease;
}

.new-banner .service-card .arrow svg {
    width: 20px;
    height: 18px;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.new-banner .service-card:hover .arrow svg {
    transform: rotate(-45deg);
}


/* =========================================================
   ADVANTAGES  (source: style.css 14390–14456)
   ========================================================= */
.advantages-sec {
    padding: 72px 0;
    background: #f7f7f7;
}

.advantages-sec h1 {
    color: #141414;
    line-height: 1;
    margin-bottom: 28px;
    font-weight: 700;
    font-size: 36px;
}

.advantages-sec .cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.advantages-sec .card {
    min-height: 300px;
    padding: 32px;
    border: 1px solid #EBEBEB;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 16px;
}

.advantages-sec .card:hover {
    transform: scale(0.98);
    transition: transform 0.3s ease;
}

.advantages-sec .icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF8DB;
}

.advantages-sec .icon img {
    width: 28px;
    height: 28px;
}

.advantages-sec .card-content h2 {
    margin: 0 0 12px;
    color: #151515;
    line-height: 1.2;
    font-weight: 700;
    font-size: 20px;
}

.advantages-sec .card-content p {
    max-width: 250px;
    margin: 0;
    color: #808080;
    font-weight: 500;
    font-size: 16px;
}


/* =========================================================
   BLOGS  (source: style.css 14457–14570)
   ========================================================= */
.blogs-sec {
    padding: 72px 0 32px;
}

.blogs-sec h1 {
    margin-bottom: 28px;
    color: #141414;
    line-height: 1;
    font-weight: 700;
    font-size: 36px;
}

.blogs-sec .blogs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.blogs-sec .blog-card {
    overflow: hidden;
    border-radius: 10px;
    background: #f8f8f8;
    color: #151515;
    text-decoration: none;
}

.blogs-sec .blog-image {
    height: 200px;
    overflow: hidden;
}

.blogs-sec .blog-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blogs-sec .blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blogs-sec .blog-content {
    padding: 16px 20px;
}

.blogs-sec .category {
    display: inline-block;
    padding: 8px 10px;
    background: #FFCC00;
    color: #000000;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 12px;
}

.blogs-sec .blog-content h2 {
    margin: 10px 0 6px;
    color: #141413;
    font-weight: 700;
    font-size: 18px;
}

.blogs-sec .blog-content p {
    margin: 0;
    color: #4D4D4D;
    font-weight: 400;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blogs-sec .blog-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    color: #808080;
    font-weight: 500;
    font-size: 14px;
}

.blogs-sec .blog-info span {
    display: flex;
    gap: 4px;
}

.blogs-sec .blog-info img {
    width: 20px;
    height: 20px;
}

.blogs-sec .arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #555;
    border: 0.9px solid #EBEBEB;
}

.blogs-sec .arrow svg {
    width: 18px;
    height: 18px;
}


/* ---- Blogs head + see-all  (source: style.css 15420–15442) ---- */
.blogs_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.see-blogs {
    padding: 12px 16px;
    border-radius: 8px;
    background-color: #F7F7F7;
    font-weight: 500;
    font-size: 16px;
    color: #141414;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.see-blogs svg {
    width: 16px;
    height: 16px;
}


/* ---- Blogs swiper head / mobile-see-all / slider buttons  (source: style.css 17071–17132) ---- */
.swiper-sec .blogs_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}


/* =========================
   MOBILE SEE ALL
========================= */

.mobile-see-all {
    display: none;
}


/* =========================
   SWIPER BUTTONS
========================= */

.blogs-slider-buttons {
    display: none;
    align-items: center;
    gap: 18px;
}

.blogs-slider-buttons button {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: none;
    border-radius: 8px;

    background: #F7F7F7;

    cursor: pointer;
    transition: background-color 0.3s ease;
}

.blogs-slider-buttons button:hover {
    background: #F1F1F1;
}

.blogs-slider-buttons button svg {
    width: 8px;
    height: 16px;
    display: block;
}

.blogs-slider-buttons button.swiper-button-disabled {
    opacity: 1;
}

.blogs-slider-buttons button.swiper-button-disabled svg path {
    fill: #BDBDBD;
}


/* =========================================================
   FAQ  (source: style.css 14572–14659)
   ========================================================= */
.faq-sec {
    padding: 40px 0 0;
}

.faq-sec h1 {
    color: #141414;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 28px;
}

.faq-sec .faq_items {
    margin-top: 28px;
}

.faq-sec .faq_item {
    border-bottom: 1px solid #ddd;
}

.faq-sec .question {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 8px;
    cursor: pointer;
}

.faq-sec .question .text {
    color: #151515;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 400;
}

.faq-sec .question .icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    background: #f7f7f7;

    color: #666;
    font-size: 13px;
}

.faq-sec .question .icon .fa-minus {
    display: none;
}

.faq-sec .answer {
    max-height: 0;
    overflow: hidden;
    padding-right: 12px;
    color: #4D4D4D;
    font-size: 16px;
    line-height: 1.3;

    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-sec .faq_item.active .answer {
    max-height: 150px;
    padding: 0 55px 18px 8px;
}

.faq-sec .question .icon img {
    width: 20px;
    height: 20px;
}

.faq-sec .question .icon .minus-icon {
    display: none;
}

.faq-sec .faq_item.active .question .icon .plus-icon {
    display: none;
}

.faq-sec .faq_item.active .question .icon .minus-icon {
    display: block;
}


/* =========================================================
   PARTNERS  (source: style.css 14661–14699)
   ========================================================= */
.partner-sec {
    padding: 72px 0;
}

.partner-sec h1 {
    margin-bottom: 36px;
    color: #141414;
    line-height: 1;
    font-weight: 700;
    font-size: 36px;
}

/* Swiper */
.partner-sec .partners {
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
}

.partner-sec .swiper-wrapper {
    display: flex;
    align-items: center;
}

.partner-sec .partner {
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.partner-sec .partner img {
    max-width: 100%;
    height: 90px;
    object-fit: contain;
}


/* =========================================================
   APP  (source: style.css 14701–14792)
   ========================================================= */
.app-sec {
    position: relative;
    height: 140px;
    background: #3D3D3D;
    overflow: hidden;
}

.app-sec .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.app-sec .app-bg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    z-index: 0;
}

.app-sec .app-bg img {
    width: 100%;
    display: block;
}

.app-sec .app-content {
    width: fit-content;
}

.app-sec .app-content p {
    margin: 0;
    color: #EBEBEB;
    font-weight: 500;
    font-size: 18px;
}

.app-sec .app-image {
    position: absolute;
    left: 50%;
    bottom: -70px;
    transform: translateX(-50%);
    z-index: 2;
}

.app-sec .app-image img {
    height: 215px;
    display: block;
    object-fit: contain;
}

.app-sec .app-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.app-sec .store-links {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.app-sec .store-links.mobile {
    display: none;
}

.app-sec .store-links.desktop a {
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #3D3D3D;
    border: 1px solid #616161;
    padding: 8px 10px;
    border-radius: 8px;
    text-align: center;
}

.app-sec .qr-code {
    width: 92px;
    height: 92px;
}

.app-sec .qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* =========================================================
   RESPONSIVE  (section-scoped rules only, extracted from the
   frontend @media clusters — unrelated rules skipped)
   ========================================================= */

/* source: style.css @media (min-width: 1025px) 18076–18095 */
@media (min-width: 1025px) {

    .swiper-sec .blogs {
        display: block;
        overflow: visible;
    }

    .swiper-sec .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;

        transform: none !important;
    }

    .swiper-sec .blog-card {
        width: auto !important;
        margin-right: 0 !important;
    }
}


/* source: style.css @media (max-width: 1024px) 18098–18476 (section rules only) */
@media (max-width: 1024px) {

    .blogs-sec .mobile-see-all {
        display: inline-flex;
        align-items: center;
        gap: 10px;

        margin-top: 16px;

        color: #292929;
        text-decoration: none;
    }

    .blogs-slider-buttons {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .blogs-slider-buttons button {
        display: flex;
    }

    .blogs-slider-buttons button.swiper-button-disabled {
        opacity: 0.4;
    }

    .swiper-sec .blogs {
        display: block;
        width: 100%;
        overflow: hidden;
        margin-top: 32px;
    }

    .swiper-sec .swiper-wrapper {
        display: flex;
    }

    .swiper-sec .blog-card {
        flex-shrink: 0;
    }

    .swiper-sec .blogs_head>.see-blogs {
        display: none;
    }

    .swiper-sec .mobile-see-all {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-top: 16px;

        color: #292929;
        text-decoration: none;
    }

    .advantages-sec {
        padding: 56px 0;
    }

    .new-banner {
        padding: 40px 0;
    }

    .new-banner .container {
        flex-direction: column;
        gap: 32px;
    }

    .new-banner .right {
        width: 100%;
    }

    .new-banner .left {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        min-height: unset;
        align-items: center;
        padding: 0;
    }

    .new-banner .left p {
        width: 30%;
    }

    .new-banner .left h1 {
        font-size: 42px;
        line-height: normal;
        width: 55%;
    }

    .new-banner .left h1 span {
        font-size: 42px;
        display: inline;
    }

    .advantages-sec .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-sec .card {
        min-height: 210px;
        gap: 24px;
    }

    .advantages-sec .card-content p {
        max-width: unset;
    }
}


/* source: style.css @media (max-width: 768px) 18486–19020 (section rules only) */
@media (max-width: 768px) {

    .blogs-sec .blogs {
        margin-top: 28px;
    }

    .blogs-sec h1 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .faq-sec .question .text {
        font-size: 18px;
    }

    .faq-sec .answer {
        font-size: 14px;
    }

    .faq-sec h1 {
        font-size: 28px;
    }

    .new-banner .left .content {
        font-size: 14px;
        line-height: normal;
    }

    .new-banner .card-content h2 {
        font-size: 24px;
    }

    .advantages-sec {
        padding: 40px 0;
    }

    .advantages-sec h1 {
        font-size: 28px;
    }

    .swiper-sec {
        padding: 40px 0 32px;
    }

    .faq-sec {
        padding: 0;
    }

    .partner-sec {
        padding: 40px 0;
    }

    .partner-sec h1 {
        font-size: 28px;
    }

    .app-sec .qr-code {
        display: none;
    }

    .app-sec .store-links.mobile {
        display: flex;
    }

    .app-sec .store-links.desktop {
        display: none;
    }

    .app-sec .app-bg {
        width: 475px;
    }
}


/* source: style.css @media (max-width: 440px) 19023–19690 (section rules only) */
@media (max-width: 440px) {

    .app-sec {
        height: 174px;
    }

    .app-sec .app-content {
        position: absolute;
        z-index: 1;
        top: 20px;
        left: 12px;
        line-height: normal;
    }

    .app-sec .app-bg {
        left: unset;
        right: -30%;
        transform: translateX(0);
        transform: rotate(8deg);
        width: 430px;
    }

    .app-sec .app-image {
        left: unset;
        transform: translateX(0);
        transform: rotate(-18deg);
        right: -20%;
        bottom: -55px;
    }

    .app-sec .store-links.mobile {
        position: absolute;
        z-index: 1;
        bottom: 20px;
        left: 12px;
    }

    .app-sec .app-content p {
        font-size: 16px;
        line-height: 1;
    }

    .advantages-sec {
        padding: 32px 0;
    }

    .blogs-sec .blogs {
        margin-top: 24px;
    }

    .blogs-sec h1 {
        margin-bottom: 16px;
    }

    .blogs-sec .blogs-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .new-banner .left {
        flex-direction: column;
        align-items: flex-start;
    }

    .new-banner .left h1 {
        width: 100%;
    }

    .new-banner .left p {
        width: 100%;
        line-height: normal;
    }

    .new-banner .top-cards {
        grid-template-columns: 1fr;
        height: unset;
    }

    .new-banner .service-card {
        height: 250px;
    }

    .new-banner .bottom-cards {
        grid-template-columns: 1fr;
        height: unset;
    }

    .advantages-sec .cards {
        grid-template-columns: 1fr;
    }

    .advantages-sec .card-content p {
        font-size: 14px;
        line-height: normal;
    }

    .advantages-sec .card {
        padding: 24px;
    }
}

/* home hero: service card video media matches the redesign card image (absolute cover) */
.new-banner .service-card video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
