/* =========================
   HERO SWIPER
========================= */

.heroSwiper {
    width: 100%;
    padding: 18px 0;
    overflow: hidden;
}

.heroSwiperContainer {
    position: relative;
    width: 94%;
    max-width: 1500px;
    height: 500px;
    margin: 0 auto;

    overflow: hidden !important;
    border-radius: 24px;
    background: #111;
}

/* خود Swiper */
.heroSwiperContainer .swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: visible !important;
}

/* هر اسلاید */
.heroSwiperContainer .swiper-slide {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
}

/* تصویر */
.heroSwiperContainer .heroSlide > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* دکمه‌ها */
.heroSwiperContainer .heroNext,
.heroSwiperContainer .heroPrev {
    z-index: 20;
}

/* Pagination */
.heroSwiperContainer .heroPagination {
    z-index: 20;
}


/* =========================
   SLIDE
========================= */

.heroSlide {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


/* =========================
   IMAGE
========================= */

.heroSlide > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 1.2s ease;
}


/* =========================
   OVERLAY
========================= */

.heroOverlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.55) 45%,
            rgba(0, 0, 0, 0.12) 100%
        );
        z-index: -1;
}


/* =========================
   CONTENT
========================= */

.heroContent {
    position: absolute;

    top: 50%;
    right: 8%;

    z-index: 2;

    width: min(600px, 80%);

    transform: translateY(-50%);

    text-align: right;
}

.heroContent h1{
  overflow-y: hidden;
}


/* =========================
   BADGE
========================= */

.heroBadge {
    display: inline-flex;

    align-items: center;

    padding: 7px 14px;

    margin-bottom: 16px;

    color: #cd2a2a;

    background: rgba(205, 42, 42, 0.12);

    border: 1px solid rgba(205, 42, 42, 0.25);

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;
}


/* =========================
   TITLE
========================= */

.heroContent h1 {
    margin: 0 0 16px;

    color: #fff;

    font-size: clamp(32px, 4vw, 58px);

    font-weight: 800;

    line-height: 1.35;
}


.heroContent h1 strong {
    color: #cd2a2a;
}


/* =========================
   DESCRIPTION
========================= */

.heroContent p {
    max-width: 520px;

    margin: 0 0 28px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 16px;

    line-height: 2;
}


/* =========================
   BUTTONS
========================= */

.heroButtons {
    display: flex;

    align-items: center;

    gap: 12px;
}


.heroPrimaryBtn,
.heroSecondaryBtn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 145px;

    height: 48px;

    padding: 0 22px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


.heroPrimaryBtn {
    color: #fff;

    background: #cd2a2a;

    box-shadow:
        0 8px 25px rgba(205, 42, 42, 0.25);
}


.heroPrimaryBtn:hover {

    background:var(--jigari-200);

    box-shadow:
        0 12px 30px rgba(205, 42, 42, 0.35);
}


.heroSecondaryBtn {
    color: #fff;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(10px);
}


.heroSecondaryBtn:hover {

    background: rgba(255, 255, 255, 0.11);
}


/* =========================
   NAVIGATION
========================= */

.heroNext,
.heroPrev {
    width: 44px !important;
    height: 44px !important;

    color: #fff !important;

    background: rgba(0, 0, 0, 0.35);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    backdrop-filter: blur(8px);

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.heroNext::after,
.heroPrev::after {
    font-size: 15px !important;

    font-weight: 900;
}


.heroNext:hover,
.heroPrev:hover {
    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(10px);
    transform: scale(1.08);
}


/* =========================
   PAGINATION
========================= */

.heroPagination {
    bottom: 22px !important;
}


.heroPagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;

    opacity: 0.5;

    background: #fff;

    transition:
        width 0.3s ease,
        opacity 0.3s ease,
        background 0.3s ease;
}


.heroPagination .swiper-pagination-bullet-active {
    width: 25px;

    opacity: 1;

    background: #cd2a2a;

    border-radius: 999px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .heroSwiper {
        padding: 12px 0;
    }

    .heroSwiperContainer {
        width: 96%;
        height: 430px;

        border-radius: 20px;
    }

    .heroContent {
        right: 6%;

        width: 88%;
    }

    .heroContent h1 {
        font-size: 34px;
    }

    .heroContent p {
        font-size: 14px;
    }

    .heroNext,
    .heroPrev {
        display: none;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .heroSwiperContainer {
        height: 440px;

        border-radius: 17px;
    }

    .heroContent {
        top: 48%;
        right: 7%;

        width: 86%;
    }

    .heroContent h1 {
        font-size: 29px;
    }

    .heroContent p {
        font-size: 13px;

        line-height: 1.9;

        margin-bottom: 22px;
    }

    .heroButtons {
        flex-direction: column;
        align-items: stretch;
    }

    .heroPrimaryBtn,
    .heroSecondaryBtn {
        width: 100%;
    }

}


/* =================================================
   WHY US SECTION
================================================= */

.whyus {
    width: calc(100% - 120px);
    max-width: 1500px;

    margin: 150px auto 0;

    padding: 70px 60px;

    position: relative;

    border: 1px solid rgba(171, 1, 30, 0.45);
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(171, 1, 30, 0.12),
            transparent 35%
        ),
        #111;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.3);

    overflow: hidden;
}


/* خط تزئینی */

.whyus::before {
    content: "";

    position: absolute;

    top: 0;
    right: 80px;

    width: 120px;
    height: 3px;

    background: #ab011e;

    border-radius: 0 0 10px 10px;
}


/* =================================================
   HEADER
================================================= */

.whyusHeader {
    max-width: 750px;

    margin-bottom: 55px;

    text-align: right;
}


.whyusBadge {
    display: inline-flex;

    padding: 7px 16px;

    margin-bottom: 15px;

    border: 1px solid rgba(171, 1, 30, 0.5);
    border-radius: 50px;

    color: #ab011e;

    font-size: 14px;
    font-weight: 600;

    background: rgba(171, 1, 30, 0.06);
}


.whyusTitle {
    margin: 0;

    padding: 0;

    font-size: 38px;
    font-weight: 800;

    line-height: 1.5;

    color: var(--white-100);
}


.whyusIntro {
    margin: 18px 0 0;

    max-width: 680px;

    font-size: 17px;

    line-height: 2;

    color: rgba(255, 255, 255, 0.65);
}


/* =================================================
   CONTENT
================================================= */

.whyusContent {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 60px;

    align-items: stretch;
}


/* =================================================
   DESCRIPTION
================================================= */

.whyusDescription {
    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

    padding: 35px;

    border-right: 2px solid rgba(171, 1, 30, 0.35);

    text-align: right;
}


.whyusDescription p {
    margin: 0 0 18px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 17px;

    line-height: 2.3;
}


/* =================================================
   BUTTON
================================================= */

.whyusLink {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 15px;

    padding: 10px 22px;

    color: #fff;

    background: #ab011e;

    border: 1px solid #ab011e;

    border-radius: 8px;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.whyusLink svg {
    transition: transform 0.3s ease;
}


.whyusLink:hover {
    background: transparent;

    color: #ab011e;

    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(171, 1, 30, 0.25);
}


.whyusLink:hover svg {
    transform: translateX(-4px);
}


/* =================================================
   CARDS
================================================= */

.whyusCards {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
    padding: 20px ;
}


.whyusCard {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 25px;

    min-height: 150px;

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.025);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}


.whyusCard:hover {
    transform: translateY(-6px);

    border-color: rgba(171, 1, 30, 0.6);

    background: rgba(171, 1, 30, 0.06);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25);
}


/* =================================================
   ICON
================================================= */
.whyusIcon {
    width: 55px;
    height: 55px;
    min-width: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-radius: 14px;

    background: rgba(171, 1, 30, 0.1);
    border: 1px solid rgba(171, 1, 30, 0.35);

    color: #ab011e;
}

.whyusIcon svg {
    width: 26px;
    height: 26px;

    display: block;

    margin: 0 auto;

    flex-shrink: 0;
}


.whyusCard:hover .whyusIcon {
    background: #ab011e;

    color: #fff;
}


/* =================================================
   CARD TEXT
================================================= */

.whyusCard h3 {
    margin: 2px 0 8px;

    color: var(--white-100);

    font-size: 17px;
}


.whyusCard p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);

    font-size: 14px;

    line-height: 1.9;
}


/* =================================================
   TABLET
================================================= */

@media (max-width: 1000px) {

    .whyus {
        width: calc(100% - 50px);

        padding: 50px 35px;
    }


    .whyusContent {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .whyusDescription {
        border-right: none;

        border-bottom: 2px solid rgba(171, 1, 30, 0.35);

        padding: 0 0 35px;
    }

}


/* =================================================
   MOBILE
================================================= */

@media (max-width: 600px) {

    .whyus {
        width: calc(100% - 30px);

        margin-top: 90px;

        padding: 40px 20px;

        border-radius: 20px;
    }


    .whyus::before {
        right: 30px;

        width: 80px;
    }


    .whyusHeader {
        margin-bottom: 35px;
    }


    .whyusTitle {
        font-size: 25px;

        line-height: 1.7;
    }


    .whyusIntro {
        font-size: 14px;

        line-height: 2;
    }


    .whyusDescription {
        padding-bottom: 30px;
    }


    .whyusDescription p {
        font-size: 14px;

        line-height: 2.2;
    }


    .whyusCards {
        grid-template-columns: 1fr;
    }


    .whyusCard {
        min-height: auto;

        padding: 20px;
    }


    .whyusLink {
        width: 100%;
    }

}



/* =========================================================
   CATEGORIES SECTION
========================================================= */

.categoriesSection {
  width: 100%;
  padding: 80px 0;
  direction: rtl;
}


.categoriesSection__container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.categoriesSection__header {
  margin-bottom: 30px;
  text-align: right;
}


.categoriesSection__badge {
  display: inline-flex;
  align-items: center;

  padding: 6px 13px;

  margin-bottom: 10px;

  color: #cd2a2a;

  background: rgba(205, 42, 42, 0.08);

  border: 1px solid rgba(205, 42, 42, 0.2);

  border-radius: 999px;

  font-size: 11px;
  font-weight: 700;
}


.categoriesSection__title {
  margin: 0;

  color: #ffffff;

  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;

  line-height: 1.5;
}


.categoriesSection__subtitle {
  margin: 7px 0 0;

  color: rgba(255, 255, 255, 0.45);

  font-size: 13px;

  line-height: 1.8;
}


/* =========================================================
   CATEGORIES LIST
========================================================= */

.categoriesList {
  display: grid;

  grid-template-columns:
    repeat(5, minmax(0, 1fr));

  gap: 14px;
  
  padding: 10px;
}


/* =========================================================
   CATEGORY ITEM
========================================================= */

.categoryItem {
  min-height: 68px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  padding: 0 20px;

  color: rgba(255, 255, 255, 0.78);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.018)
    );

  border:
    1px solid rgba(255, 255, 255, 0.07);

  border-radius: 14px;

  text-decoration: none;

  font-family: inherit;

  font-size: 13px;
  font-weight: 700;

  overflow: hidden;

  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.categoryItem span {
  white-space: nowrap;
}


.categoryItem svg {
  flex-shrink: 0;

  color: #cd2a2a;

  transition:
    transform 0.3s ease;
}


.categoryItem:hover {
  color: #ffffff;

  background:
    linear-gradient(
      145deg,
      rgba(205, 42, 42, 0.12),
      rgba(255, 255, 255, 0.025)
    );

  border-color:
    rgba(205, 42, 42, 0.3);

  transform: translateY(-3px);

  box-shadow:
  0 12px 30px rgba(158, 0, 0, 0.22);
}


.categoryItem:hover svg {
  transform: translateX(-4px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .categoriesList {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

  .categoriesSection {
    padding: 60px 0;
  }


  .categoriesSection__container {
    width: min(
      100% - 24px,
      600px
    );
  }


  .categoriesSection__header {
    margin-bottom: 22px;
  }


  .categoriesList {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 10px;
  }


  .categoryItem {
    min-height: 58px;

    padding: 0 14px;

    border-radius: 12px;

    font-size: 12px;
  }

}


@media (max-width: 390px) {

  .categoriesList {
    grid-template-columns: 1fr;
  }

}




/* =========================
   POPULAR PRODUCTS
========================= */

.popularProducts {
    width: 100%;
    padding: 85px 0;
}


.popularProductsContainer {
    width: 94%;
    max-width: 1500px;
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.popularHeader {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
    margin-bottom: 38px;
}


.popularTitleBox {
    text-align: right;
}


.popularBadge {
    display: inline-flex;
    align-items: center;

    padding: 6px 14px;
    margin-bottom: 12px;

    color: #cd2a2a;

    background: rgba(205, 42, 42, 0.09);

    border: 1px solid rgba(205, 42, 42, 0.22);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
}


.popularTitleBox h2 {
    margin: 0 0 10px;

    color: #fff;

    font-size: clamp(29px, 3vw, 44px);

    font-weight: 800;

    line-height: 1.4;
}


.popularTitleBox h2 strong {
    color: #cd2a2a;
}


.popularTitleBox p {
    margin: 0;

    max-width: 570px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 14px;

    line-height: 2;
}


/* =========================
   SHOW MORE POPULAR
========================= */

.showMorePopular {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 35px;
}


/* =========================
   BUTTON
========================= */

.showMorePopular a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 165px;
    height: 48px;

    padding: 0 24px;

    color: #ffffff;

    background: rgba(205, 42, 42, 0.08);

    border: 1px solid rgba(205, 42, 42, 0.3);

    border-radius: 12px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    overflow: hidden;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================
   SHINE
========================= */

.showMorePopular a::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );

    transform: skewX(-20deg);

    transition: left 0.6s ease;
}


/* =========================
   HOVER
========================= */

.showMorePopular a:hover {
    color: #ffffff;

    background: #cd2a2a;

    border-color: #cd2a2a;

    box-shadow:
        0 10px 25px rgba(205, 42, 42, 0.25);
}


.showMorePopular a:hover::before {
    left: 130%;
}


/* =========================
   ACTIVE
========================= */

.showMorePopular a:active {

    box-shadow:
        0 5px 15px rgba(205, 42, 42, 0.18);
}


/* =========================
   SWIPER
========================= */

.popularSwiper {
    width: 100%;

    overflow:hidden;

    padding: 5px 4px 48px;
}


.popularSwiper .swiper-wrapper {
    align-items: stretch;
    overflow: visible;
}


.popularSwiper .swiper-slide {
    height: auto;

    display: flex;
}


/* =========================
   CARD
========================= */

.popularCard {
    position: relative;

    width: 100%;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    border: 1px solid rgba(255, 255, 255, 0.075);

    border-radius: 22px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


.popularCard::before {
    content: "";

    position: absolute;

    top: 0;
    left: 15%;

    width: 70%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(205, 42, 42, 0.6),
        transparent
    );

    opacity: 0;

    transition: opacity 0.4s ease;
}


.popularCard:hover {
    transform: translateY(-8px);

    border-color: rgba(205, 42, 42, 0.3);

    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(205, 42, 42, 0.06);
}


.popularCard:hover::before {
    opacity: 1;
}


/* =========================
   IMAGE
========================= */

.popularImage {
    position: relative;

    width: 100%;
    height: 235px;

    overflow: hidden;

    background: #101010;
}


.popularImage::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.28),
            transparent 45%
        );

    pointer-events: none;
}


.popularImage img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.popularCard:hover .popularImage img {
    transform: scale(1.07);
}


/* =========================
   CONTENT
========================= */

.popularCardContent {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 21px;
}


.popularCategory {
    margin-bottom: 8px;

    color: #cd2a2a;

    font-size: 11px;

    font-weight: 700;
}


.popularCardContent h3 {
    margin: 0 0 9px;

    color: #fff;

    font-size: 18px;

    font-weight: 800;
}


.popularCardContent p {
    margin: 0 0 22px;

    color: rgba(255, 255, 255, 0.52);

    font-size: 12px;

    line-height: 1.9;
}


/* =========================
   BOTTOM
========================= */

.popularBottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: auto;
}


.popularPrice {
    display: flex;
    flex-direction: column;

    gap: 3px;
}


.popularPrice strong {
    color: #fff;

    font-size: 16px;

    font-weight: 800;
}


.popularPrice span {
    color: rgba(255, 255, 255, 0.35);

    font-size: 10px;
}


/* =========================
   VIEW BUTTON
========================= */

.popularView {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 94px;
    height: 40px;

    padding: 0 15px;

    color: #fff;

    background: rgba(205, 42, 42, 0.08);

    border: 1px solid rgba(205, 42, 42, 0.22);

    border-radius: 11px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    overflow: hidden;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.popularView:hover {
    color: #fff;

    background: #cd2a2a;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(205, 42, 42, 0.25);
}


/* =========================
   PAGINATION
========================= */

.popularPagination {
    bottom: 5px !important;
}


.popularPagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;

    margin: 0 4px !important;

    opacity: 0.35;

    background: #fff;

    transition:
        width 0.3s ease,
        opacity 0.3s ease,
        background 0.3s ease;
}


.popularPagination .swiper-pagination-bullet-active {
    width: 24px;

    opacity: 1;

    background: #cd2a2a;

    border-radius: 999px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1100px) {

    .popularProducts {
        padding: 70px 0;
    }

    .popularImage {
        height: 215px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .popularProducts {
        padding: 55px 0;
    }

    .popularHeader {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 28px;
    }

    .popularTitleBox h2 {
        font-size: 30px;
    }

    .popularTitleBox p {
        font-size: 13px;
    }

    .popularImage {
        height: 250px;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .popularProductsContainer {
        width: 92%;
    }

    .popularProducts {
        padding: 45px 0;
    }

    .popularImage {
        height: 225px;
    }

    .popularCardContent {
        padding: 17px;
    }

    .popularView {
        min-width: 88px;
    }

}

/* =========================
   FAQ SECTION
========================= */

.faq {
    width: 94%;
    max-width: 1000px;

    margin: 0 auto;

    padding: 90px 0;

    direction: rtl;
}


/* =========================
   FAQ HEADER
========================= */

.faqHeader {
    text-align: center;

    margin-bottom: 45px;
}


.faqBadge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 7px 15px;

    margin-bottom: 14px;

    color: #cd2a2a;

    background: rgba(205, 42, 42, 0.09);

    border: 1px solid rgba(205, 42, 42, 0.2);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
}


.faqTitle {
    margin: 0 0 12px;

    color: #fff;

    font-size: clamp(30px, 4vw, 44px);

    font-weight: 800;

    line-height: 1.4;
}


.faqTitle strong {
    color: #cd2a2a;
}


.faqSubtitle {
    max-width: 550px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.55);

    font-size: 14px;

    line-height: 2;
}


/* =========================
   FAQ LIST
========================= */

.faqList {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* =========================
   FAQ ITEM
========================= */

.faq-item {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.018)
        );

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 16px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);

    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


/* =========================
   ITEM HOVER
========================= */

.faq-item:hover {

    border-color: rgba(205, 42, 42, 0.22);

    background:
        linear-gradient(
            135deg,
            rgba(205, 42, 42, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.2);
}


/* =========================
   ACTIVE ITEM
========================= */

.faq-item.active {
    border-color: rgba(205, 42, 42, 0.28);

    background:
        linear-gradient(
            135deg,
            rgba(205, 42, 42, 0.07),
            rgba(255, 255, 255, 0.02)
        );

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.22),
        0 0 25px rgba(205, 42, 42, 0.04);
}


/* =========================
   FAQ QUESTION
========================= */

.faq-question {
    position: relative;

    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 24px;

    color: #fff;

    background: transparent;

    border: none;

    outline: none;

    cursor: pointer;

    text-align: right;

    font-family: inherit;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.8;
}


/* =========================
   QUESTION HOVER
========================= */

.faq-question:hover {
    color: #fff;
}


/* =========================
   ICON
========================= */

.faq-question .icon {
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #cd2a2a;

    background: rgba(205, 42, 42, 0.09);

    border: 1px solid rgba(205, 42, 42, 0.18);

    border-radius: 10px;

    font-size: 22px;
    font-weight: 400;

    line-height: 1;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================
   ACTIVE ICON
========================= */

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);

    color: #fff;

    background: #cd2a2a;

    border-color: #cd2a2a;

    box-shadow:
        0 5px 18px rgba(205, 42, 42, 0.25);
}


/* =========================
   ANSWER
========================= */

.faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows 0.4s ease,
        opacity 0.3s ease;
    
    opacity: 0;
}


.faq-answer p {
    min-height: 0;

    overflow: hidden;

    margin: 0;

    padding: 0 24px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 13px;

    line-height: 2;

    transition:
        padding 0.4s ease;
}


/* =========================
   ACTIVE ANSWER
========================= */

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;

    opacity: 1;
}


.faq-item.active .faq-answer p {
    padding-top: 0;

    padding-bottom: 22px;
}


/* =========================
   RED SIDE LINE
========================= */

.faq-item::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 3px;
    height: 0;

    background: #cd2a2a;

    border-radius: 0 16px 16px 0;

    transition: height 0.35s ease;
}


.faq-item.active::before {
    height: 100%;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .faq {
        width: 92%;

        padding: 65px 0;
    }


    .faqHeader {
        margin-bottom: 30px;
    }


    .faqTitle {
        font-size: 30px;
    }


    .faqSubtitle {
        font-size: 13px;
    }


    .faq-question {
        padding: 18px;

        font-size: 14px;

        gap: 14px;
    }


    .faq-question .icon {
        width: 32px;
        height: 32px;

        font-size: 20px;
    }


    .faq-answer p {
        padding-left: 18px;
        padding-right: 18px;

        font-size: 12px;
    }


    .faq-item.active .faq-answer p {
        padding-bottom: 18px;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .faq {
        width: 92%;

        padding: 50px 0;
    }


    .faqTitle {
        font-size: 27px;
    }


    .faq-question {
        padding: 16px;

        font-size: 13px;
    }


    .faq-question .icon {
        width: 30px;
        height: 30px;

        border-radius: 9px;

        font-size: 19px;
    }

}
