/* =========================================================
   FAQ — CSS COMPLETO (stile VPS)
   Namespace: .vh-faq
   File: assets/css/faq.css
   ========================================================= */

html, body{
  background:#070A12;
  overflow-x:hidden;
}

/* VARS */
:root{
  --vh-btn-pad-y: 10px;
  --vh-btn-pad-x: 14px;
  --vh-btn-radius: 12px;
  --vh-btn-bg: rgba(11,54,198,.18);
  --vh-btn-bg-hover: rgba(11,54,198,.24);
  --vh-btn-border: rgba(11,54,198,.26);
  --vh-btn-text: rgba(255,255,255,.92);

  --vh-card-bg: rgba(255,255,255,.04);
  --vh-card-border: rgba(255,255,255,.08);
  --vh-card-shadow: 0 22px 60px rgba(0,0,0,.35);

  --vh-wrap-max: 1200px;
  --vh-wrap-pad: 18px;
}

/* BASE + BACKGROUND */
.vh-faq{
  position: relative;
  color:#fff;

  background:
    radial-gradient(900px 480px at 20% 10%, rgba(48, 86, 255, .25), transparent 60%),
    radial-gradient(700px 420px at 80% 30%, rgba(11, 54, 198, .22), transparent 60%),
    radial-gradient(900px 600px at 50% 90%, rgba(0,0,0,.75), transparent 60%),
    linear-gradient(#070A12, #05060C);
}

.vh-faq::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 0;
  opacity: .55;
  background-image: url("../img/home/clouds.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.vh-faq > *{
  position: relative;
  z-index: 1;
}

.vh-faq .vh-wrap{
  width: 100%;
  max-width: var(--vh-wrap-max);
  margin: 0 auto;
  padding-left: var(--vh-wrap-pad);
  padding-right: var(--vh-wrap-pad);
}

/* reset wrapper theme */
.vh-faq,
.vh-faq#content,
#content.vh-faq{
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.vh-faq .site-content,
.vh-faq .content-area,
.vh-faq #primary,
.vh-faq .site-main{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* BUTTONS */
.vh-faq .vh-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: var(--vh-btn-text);
  text-decoration:none;
  font-weight:500;
  font-size:14px;
  line-height: 1;
  padding: var(--vh-btn-pad-y) var(--vh-btn-pad-x);
  border-radius: var(--vh-btn-radius);
  background: var(--vh-btn-bg);
  border: 1px solid var(--vh-btn-border);
  width: fit-content;
  white-space: nowrap;
}
.vh-faq .vh-btn--primary{
  background: var(--vh-btn-bg);
  border: 1px solid var(--vh-btn-border);
  box-shadow:none;
}
.vh-faq .vh-btn:hover{ background: var(--vh-btn-bg-hover); }
.vh-faq .vh-arrow{
  width: 10px;
  height: 10px;
  display:inline-block;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

/* KICKER / TITLES */
.vh-faq .vh-kicker{
  display:inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  font-weight: 800;
}
.vh-faq .vh-section__title{
  font-size: clamp(26px, 3.2vw, 40px);
  margin: 0 0 10px;
  letter-spacing: -0.6px;
  font-weight: 850;
}
.vh-faq .vh-section__subtitle{
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}

/* HERO */
.vh-faq .vh-hero{ padding-top: 100px; }
@media (max-width: 1024px){
  .vh-faq .vh-hero{ padding-top: 30px; }
}
.vh-faq .vh-hero__inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items:center;
}
.vh-faq .vh-hero__title{
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.8px;
  font-weight: 800;
}
.vh-faq .vh-hero__lead{
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  max-width: 680px;
}
.vh-faq .vh-hero__cta{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
}
.vh-faq .vh-hero__art{
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  justify-self: end;
  max-width: 560px;
}
.vh-faq .vh-hero__art img{
  width: 100%;
  height: auto;
  display:block;
}

/* SECTIONS */
.vh-faq .vh-section{
  padding: 28px 0 30px;
}
.vh-faq .vh-section__head{
  text-align:center;
  margin: 0 auto 22px;
  max-width: 920px;
}

/* CARD GLASS */
.vh-faq .vh-card{
  border-radius: 18px;
  background: var(--vh-card-bg);
  border: 1px solid var(--vh-card-border);
  box-shadow: var(--vh-card-shadow);
  overflow:hidden;
  padding: 6px;
  backdrop-filter: blur(6px);
}

/* FAQ accordion */
.vh-faq .vh-faq-acc{
  display:flex;
  flex-direction: column;
}

.vh-faq .vh-faq-item + .vh-faq-item{
  border-top: 1px solid rgba(255,255,255,.08);
}

.vh-faq .vh-faq-q{
  width: 100%;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.92);
  cursor: pointer;

  padding: 16px 14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  text-align:left;

  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.vh-faq .vh-faq-q__text{
  flex: 1 1 auto;
  min-width: 0;
}

.vh-faq .vh-faq-q__icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  position: relative;
  flex: 0 0 auto;
}
.vh-faq .vh-faq-q__icon::before,
.vh-faq .vh-faq-q__icon::after{
  content:"";
  position:absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: rgba(255,255,255,.85);
  transform: translate(-50%,-50%);
}
.vh-faq .vh-faq-q__icon::after{
  transform: translate(-50%,-50%) rotate(90deg);
  transition: transform .18s ease, opacity .18s ease;
}

/* open state */
.vh-faq .vh-faq-item.is-open .vh-faq-q__icon::after{
  transform: translate(-50%,-50%) rotate(90deg);
  opacity: 0; /* diventa “minus” */
}

.vh-faq .vh-faq-a{
  padding: 0 14px 16px;
}
.vh-faq .vh-faq-a p{
  margin: 0 0 10px;
  color: rgba(255,255,255,.74);
  line-height: 1.75;
  font-size: 14.5px;
}
.vh-faq .vh-faq-a p:last-child{ margin-bottom: 0; }

.vh-faq .vh-faq-q:focus-visible{
  outline: 2px solid rgba(11,54,198,.55);
  outline-offset: 3px;
  border-radius: 14px;
}

/* links under accordion */
.vh-faq .vh-faq-links{
  display:flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* RESPONSIVE: tutto centrato */
@media (max-width: 1024px){
  .vh-faq .vh-hero__inner{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .vh-faq .vh-hero__art{
    justify-self: center;
    margin: 0 auto;
    max-width: 520px;
  }

  .vh-faq .vh-hero__copy,
  .vh-faq .vh-section__head{
    text-align:center;
  }

  .vh-faq .vh-hero__lead{
    margin-left:auto;
    margin-right:auto;
  }

  .vh-faq .vh-hero__cta{
    justify-content:center;
  }

  .vh-faq .vh-btn{
    width: 100%;
    justify-content:center;
  }

  .vh-faq .vh-faq-links{
    width: 100%;
  }
}

@media (max-width: 520px){
  .vh-faq::before{
    background-position: center top;
    background-size: cover;
  }

  .vh-faq .vh-faq-q{
    padding: 14px 12px;
    font-size: 14.5px;
  }
}
