/* =========================================================
   FAQ – VETPCR
   Paleta oficial + blancos suaves
========================================================= */

/* ---------- VARIABLES ---------- */
.page-template-page-preguntas-php {
  --vp-primary: #7a4dff;
  --vp-secondary: #5a38b5;
  --vp-accent: #9b54ec;
  --vp-dark: #202040;
  --vp-deep: #3b046f;
  --vp-soft: #c9baff;

  --vp-white: #ffffff;
  --vp-light: #f4f5f5;

  --vp-text-dark: #202040;
  --vp-text-light: #ffffff;
}


/* =========================================================
   HERO
========================================================= */

.page-template-page-preguntas-php .faq-hero {
  position: relative;
  background:
    linear-gradient(
      180deg,
      rgba(123, 77, 255, 0.55),
      rgba(29, 30, 86, 0.65)
    ),
    url('../images/A2.webp'); /* puedes cambiarla */
  background-size: cover;
  background-position: center 45%;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

/* Overlay radial igual a Convenios */
.page-template-page-preguntas-php .faq-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(98,101,254,0.35), transparent 40%),
    radial-gradient(circle at bottom right, rgba(2,46,71,0.30), transparent 40%);
  z-index: 2;
}

/* Contenido */
.page-template-page-preguntas-php .faq-hero .hero-content {
  position: relative;
  z-index: 3;
  padding: 2rem;
  max-width: 900px;
}

/* Título */
.page-template-page-preguntas-php .faq-hero h1 {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

/* Subtítulo */
.page-template-page-preguntas-php .faq-hero p {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  color: #f4f5f5;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .page-template-page-preguntas-php .faq-hero {
    min-height: 45vh;
  }

  .page-template-page-preguntas-php .faq-hero p {
    font-size: 16px;
  }
}

/* =========================================================
   FAQ WRAPPER
========================================================= */
.faq-wrap {
  max-width: 1100px;
  margin: 3rem auto 4.5rem;
  padding: 0 1rem;
}

/* ===============================
   FAQ – Video exámenes
=============================== */

.faq-video {
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
}

.faq-video h2 {
  font-size: 36px;
  color: #7a4dff;
  font-weight: 700;
  margin-bottom: 3rem;
}


.faq-video-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.faq-video video {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   FAQ ITEM
========================================================= */
.faq-item {
  background: transparent;
  margin: 1.2rem 0;
}

/* ---------- BOTÓN ---------- */
.faq-btn {
  width: 100%;
  text-align: left;
  background: var(--vp-white);
  border: none;
  padding: 1.3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 16px;
  color: var(--vp-text-dark);
  cursor: pointer;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(32, 32, 64, 0.12);
  transition: all 0.25s ease;
}

.faq-btn:hover {
  background-color: var(--vp-soft);
  color: var(--vp-dark);
  box-shadow: 0 10px 28px rgba(32, 32, 64, 0.2);
}

/* ---------- NÚMERO ---------- */
.faq-num {
  background: linear-gradient(
    135deg,
    var(--vp-primary),
    var(--vp-accent)
  );
  color: var(--vp-text-light);
  border-radius: 999px;
  width: 30px;
  height: 30px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: .75rem;
}

/* ---------- ICONO ---------- */
.faq-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--vp-primary);
  display: grid;
  place-items: center;
  transition: transform .3s ease, background .3s ease;
  color: var(--vp-text-light);
}

/* =========================================================
   FAQ ABIERTO
========================================================= */
.faq-item.is-open .faq-btn {
  background: linear-gradient(
    135deg,
    var(--vp-dark),
    var(--vp-secondary)
  );
  color: var(--vp-text-light);
  box-shadow: 0 14px 34px rgba(32, 32, 64, 0.35);
}

.faq-item.is-open .faq-icon {
  background: var(--vp-light);
  color: var(--vp-dark);
  transform: rotate(180deg);
}

/* ---------- PANEL ---------- */
.faq-panel {
  background: var(--vp-light);
  margin-top: .75rem;
  padding: 1.4rem 1.6rem;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--vp-text-dark);
  display: none;
  box-shadow: inset 0 0 0 1px rgba(32, 32, 64, 0.05);
}

.faq-item.is-open .faq-panel {
  display: block;
}


/* =========================================================
   ELIMINAR VIÑETAS (PUNTOS) DE LA LISTA FAQ
========================================================= */
.page-template-page-preguntas-php .faq-h {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-template-page-preguntas-php .faq-h > li {
  list-style: none;
}
/* =========================================================
   ELIMINAR VIÑETAS (PUNTOS) DE LA LISTA FAQ
========================================================= */
.page-template-page-preguntas-php .faq-h {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-template-page-preguntas-php .faq-h > li {
  list-style: none;
}
