/* =========================================
   ASTRO FAQ SECTION
   MATCHING PINK / WHITE THEME
   FULLY SCOPED
========================================= */

.astroFAQ{
  position:relative;
  padding:110px 20px;
  background:#f4f4f4;
  overflow:hidden;
}

/* LIGHT GLOW */

.astroFAQ::before{
  content:"";
  position:absolute;
  top:-120px;
  left:-120px;

  width:320px;
  height:320px;

  border-radius:50%;

  background:rgba(255,0,140,.08);

  filter:blur(80px);
}

.astroFAQ::after{
  content:"";
  position:absolute;
  right:-120px;
  bottom:-120px;

  width:320px;
  height:320px;

  border-radius:50%;

  background:rgba(93,0,255,.08);

  filter:blur(80px);
}

/* =========================
   CONTAINER
========================= */

.astroFAQ__container{
  position:relative;
  z-index:2;

  max-width:1250px;
  margin:auto;

  display:grid;
  grid-template-columns:minmax(0,1fr) 480px;
  gap:60px;
  align-items:center;
}

/* =========================
   LEFT CONTENT
========================= */

.astroFAQ__content{
  min-width:0;
}

.astroFAQ__title{
  font-size:50px;
  line-height:1.1;
  font-weight:900;
  color:#111;
  margin-bottom:18px;
  text-transform:uppercase;
}

.astroFAQ__title span{
  color:#ff0090;
}

/* SUBTITLE */

.astroFAQ__subtitle{
  color:#444;
  font-size:18px;
  line-height:1.9;
  margin-bottom:40px;
  max-width:760px;
}

/* =========================
   ACCORDION
========================= */

.astroFAQ__accordion{
  display:flex;
  flex-direction:column;
  gap:20px;
}

/* CARD */

.astroFAQ__item{
  position:relative;

  background:#fff;

  border-radius:24px;

  overflow:hidden;

  border:1px solid rgba(0,0,0,.06);

  transition:.4s ease;

  box-shadow:
  0 10px 30px rgba(0,0,0,.06);
}

/* HOVER */

.astroFAQ__item:hover{
  transform:translateY(-4px);

  box-shadow:
  0 18px 40px rgba(255,0,144,.12);

  border-color:rgba(255,0,144,.18);
}

/* ACTIVE */

.astroFAQ__item.active{
  border-color:#ff0090;
}

/* QUESTION */

.astroFAQ__question{
  width:100%;

  padding:24px 28px;

  background:none;
  border:none;

  text-align:left;

  cursor:pointer;

  color:#111;

  font-size:17px;
  font-weight:800;

  line-height:1.6;

  position:relative;

  transition:.3s;
}

/* ICON */

.astroFAQ__question::after{
  content:"+";

  position:absolute;

  right:22px;
  top:50%;

  transform:translateY(-50%);

  width:36px;
  height:36px;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  background:linear-gradient(135deg,#ff0090,#ff4db2);

  color:#fff;

  font-size:22px;
  font-weight:900;

  box-shadow:
  0 8px 20px rgba(255,0,144,.25);

  transition:.4s;
}

/* ACTIVE ICON */

.astroFAQ__item.active .astroFAQ__question::after{
  content:"−";
  transform:translateY(-50%) rotate(180deg);
}

/* ANSWER */

.astroFAQ__answer{
  max-height:0;

  overflow:hidden;

  padding:0 28px;

  color:#555;

  font-size:15px;

  line-height:1.9;

  transition:
  max-height .45s ease,
  padding .45s ease;
}

.astroFAQ__item.active .astroFAQ__answer{
  max-height:320px;
  padding:0 28px 26px;
}

/* =========================
   RIGHT IMAGE
========================= */

.astroFAQ__image{
  position:relative;

  height:100%;
  min-height:670px;

  overflow:hidden;

  border-radius:36px;

  background:#fff;

  padding:14px;

  box-shadow:
  0 25px 60px rgba(0,0,0,.12);
}

/* PINK BORDER GLOW */

.astroFAQ__image::before{
  content:"";

  position:absolute;
  inset:0;

  border-radius:36px;

  padding:2px;

  background:
  linear-gradient(
  135deg,
  #ff0090,
  #ff5bbd,
  #8b00ff
  );

  -webkit-mask:
  linear-gradient(#fff 0 0) content-box,
  linear-gradient(#fff 0 0);

  -webkit-mask-composite:xor;

  mask-composite:exclude;
}

/* IMAGE */

.astroFAQ__image img{
  width:100%;
  height:100%;

  display:block;

  object-fit:cover;
  object-position:center;

  border-radius:28px;

  transition:transform 1s ease;
}

/* IMAGE HOVER */

.astroFAQ__image:hover img{
  transform:scale(1.05);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1100px){

  .astroFAQ__container{
    grid-template-columns:1fr 420px;
    gap:38px;
  }

  .astroFAQ__title{
    font-size:42px;
  }

  .astroFAQ__image{
    min-height:580px;
  }
}

/* TABLET */

@media(max-width:900px){

  .astroFAQ{
    padding:80px 16px;
  }

  .astroFAQ__container{
    grid-template-columns:1fr;
    gap:34px;
  }

  .astroFAQ__title{
    font-size:36px;
  }

  .astroFAQ__subtitle{
    font-size:16px;
    margin-bottom:28px;
  }

  .astroFAQ__image{
    height:430px;
    min-height:430px;
  }

  .astroFAQ__question{
    font-size:15px;
    padding:20px 22px;
  }

  .astroFAQ__answer{
    font-size:14px;
    padding:0 22px;
  }

  .astroFAQ__item.active .astroFAQ__answer{
    padding:0 22px 20px;
  }
}

/* MOBILE */

@media(max-width:576px){

  .astroFAQ{
    padding:65px 14px;
  }

  .astroFAQ__title{
    font-size:29px;
  }

  .astroFAQ__subtitle{
    font-size:14px;
    line-height:1.75;
  }

  .astroFAQ__accordion{
    gap:16px;
  }

  .astroFAQ__item{
    border-radius:18px;
  }

  .astroFAQ__question{
    font-size:14px;
    line-height:1.6;
    padding:18px 18px;
  }

  .astroFAQ__question::after{
    width:32px;
    height:32px;
    right:16px;
    font-size:18px;
  }

  .astroFAQ__answer{
    font-size:13px;
    line-height:1.8;
    padding:0 18px;
  }

  .astroFAQ__item.active .astroFAQ__answer{
    padding:0 18px 18px;
    max-height:380px;
  }

  .astroFAQ__image{
    height:340px;
    min-height:340px;
    border-radius:24px;
  }

  .astroFAQ__image img{
    border-radius:18px;
  }
}

/* =========================
   IMAGE BOX FIX
========================= */

.astroFAQ__image{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:22px;
}

/* IMAGE AREA */

.astroFAQ__imageBox{
  position:relative;
  width:100%;
  height:300px;
  overflow:hidden;
  border-radius:28px;
}

/* IMAGE */

.astroFAQ__imageBox img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* =========================
   BOTTOM CONTENT
========================= */

.astroFAQ__bottom{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-top:4px;
}

/* CARD */

.astroFAQ__card{
  background:linear-gradient(
    135deg,
    rgba(255,255,255,.95),
    rgba(255,240,248,.95)
  );

  border-radius:24px;

  padding:22px;

  border:1px solid rgba(255,0,144,.12);

  box-shadow:
  0 12px 30px rgba(255,0,144,.08);

  transition:.4s ease;
}

/* HOVER */

.astroFAQ__card:hover{
  transform:translateY(-4px);

  box-shadow:
  0 18px 40px rgba(255,0,144,.15);
}

/* ICON */

.astroFAQ__card span{
  width:54px;
  height:54px;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  background:linear-gradient(
    135deg,
    #ff0090,
    #8b00ff
  );

  color:#fff;

  font-size:24px;

  margin-bottom:14px;

  box-shadow:
  0 10px 25px rgba(255,0,144,.2);
}

/* TITLE */

.astroFAQ__card h4{
  font-size:20px;
  font-weight:800;
  color:#111;
  margin-bottom:8px;
}

/* TEXT */

.astroFAQ__card p{
  color:#555;
  line-height:1.7;
  font-size:14px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:576px){

  .astroFAQ__imageBox{
    height:240px;
  }

  .astroFAQ__card{
    padding:18px;
    border-radius:18px;
  }

  .astroFAQ__card h4{
    font-size:17px;
  }

  .astroFAQ__card p{
    font-size:13px;
  }
}