/* Biodanzapedia FAQ: opt-in route-specific visual layer using the site's own tokens.
 * Product #409 owns loading the asset for preguntas-frecuentes.html.
 * Native details/summary work without JavaScript.
 */
.v2-faq-section{padding-block:clamp(1rem,2vw,2rem)}
.v2-faq-grid{align-items:start;gap:clamp(.85rem,1.8vw,1.4rem)}
.v2-faq-grid>.v2-faq-card{
  --faq-accent:var(--color-logo-leaf);
  min-width:0;
  align-self:start;
  border:1px solid var(--color-border);
  border-top:3px solid var(--faq-accent);
  border-radius:var(--radius);
  background:linear-gradient(145deg,
    color-mix(in srgb,var(--faq-accent) 8%,var(--color-surface)),
    var(--color-surface) 78%);
  box-shadow:0 2px 10px color-mix(in srgb,var(--faq-accent) 5%,transparent);
  scroll-margin-top:7rem;
}
.v2-faq-grid>.v2-faq-card:nth-child(4n+2){--faq-accent:var(--color-logo-gold)}
.v2-faq-grid>.v2-faq-card:nth-child(4n+3){--faq-accent:var(--color-logo-coral)}
.v2-faq-grid>.v2-faq-card:nth-child(4n){--faq-accent:var(--color-accent)}
.v2-faq-grid>.v2-faq-card>summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.7rem;
  min-height:60px;
  padding:clamp(.9rem,1.7vw,1.2rem);
  font-weight:700;
  line-height:1.45;
  color:var(--color-ink);
  list-style:none;
}
.v2-faq-grid>.v2-faq-card>summary::-webkit-details-marker{display:none}
.v2-faq-grid>.v2-faq-card>summary::after{
  content:"+";
  flex:none;
  display:grid;
  place-items:center;
  width:1.75rem;
  height:1.75rem;
  border-radius:50%;
  color:var(--color-accent-strong);
  background:var(--color-surface);
  border:1px solid var(--color-border);
  font-size:1.3rem;
  font-weight:500;
}
.v2-faq-grid>.v2-faq-card[open]>summary::after{content:"−"}
.v2-faq-grid>.v2-faq-card>summary:focus-visible{
  outline:3px solid var(--color-focus);
  outline-offset:3px;
  border-radius:var(--radius);
}
.v2-faq-grid>.v2-faq-card[open]{
  background:linear-gradient(155deg,
    color-mix(in srgb,var(--faq-accent) 12%,var(--color-surface)),
    var(--color-surface) 72%);
}
.v2-faq-grid .v2-disclosure-body{
  padding:0 clamp(.9rem,1.7vw,1.2rem) clamp(.9rem,1.7vw,1.2rem);
  overflow-wrap:anywhere;
}
.v2-faq-grid .v2-disclosure-body p{margin:0 0 .75rem;line-height:1.65}
.v2-faq-grid .v2-disclosure-body p:last-child{margin-bottom:0}
@media(max-width:760px){
 .v2-faq-grid{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
 .v2-faq-grid>.v2-faq-card{scroll-behavior:auto}
}
@media(forced-colors:active){
 .v2-faq-grid>.v2-faq-card{border:2px solid CanvasText;box-shadow:none}
}
