@charset "UTF-8";
/**
 * @file
 * FAQ Accordion styles — mobile-first.
 * Figma: Recursos y soporte "Preguntas frecuentes".
 *
 * Mobile: full-width, 16px radius.
 * Desktop (>=992px): max-width 848px, centered, 24px radius.
 */
/* ==========================================================================
   Mobile base (xs)
   ========================================================================== */
.vel-faq-accordion__heading {
  font-family: var(--vel-font-heading);
  font-size: var(--vel-text-2xl); /* 24px */
  font-weight: 800;
  color: var(--vel-primary);
  text-align: center;
  margin: 0 0 var(--vel-space-xl);
}

.vel-faq-accordion__list {
  background: var(--vel-bg-white);
  border: 1px solid var(--vel-border);
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.vel-faq-accordion__item {
  border-bottom: 1px solid var(--vel-border);
}

.vel-faq-accordion__item:last-child {
  border-bottom: none;
}

.vel-faq-accordion__question {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.vel-faq-accordion__question:hover {
  background-color: rgba(0, 70, 110, 0.03);
}

.vel-faq-accordion__question:focus-visible {
  outline: 2px solid var(--vel-accent);
  outline-offset: -2px;
}

.vel-faq-accordion__question-text {
  font-family: var(--vel-font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--vel-primary);
  line-height: 1.4;
}

.vel-faq-accordion__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--vel-secondary);
  transition: transform 0.3s ease;
}

.vel-faq-accordion__item--open .vel-faq-accordion__chevron {
  transform: rotate(180deg);
}

.vel-faq-accordion__answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 20px;
  transform: translateY(-8px);
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

.vel-faq-accordion__item--open .vel-faq-accordion__answer {
  max-height: 1000px; /* Ajusta según el contenido más largo */
  opacity: 1;
  padding: 0 20px 20px;
  transform: translateY(0);
}

.vel-faq-accordion__answer-inner p {
  font-family: var(--vel-font-body);
  font-size: var(--vel-text-lg);
  font-weight: 500;
  line-height: var(--vel-leading-snug);
  color: var(--vel-text-muted-2);
  margin: 0 0 12px;
}

.vel-faq-accordion__answer-inner p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   md (768px)
   ========================================================================== */
@media (min-width: 768px) {
  .vel-faq-accordion__heading {
    font-size: var(--vel-text-3xl-plus); /* 36px */
  }
  .vel-faq-accordion__list {
    border-radius: 20px;
  }
  .vel-faq-accordion__question {
    height: 72px;
    padding: 0 28px;
  }
  .vel-faq-accordion__answer {
    padding: 0 28px;
  }
  .vel-faq-accordion__item--open .vel-faq-accordion__answer {
    padding: 0 28px 24px;
  }
  .vel-faq-accordion__question-text {
    font-size: 17px;
  }
  .vel-faq-accordion__answer-inner {
    font-size: 17px;
    line-height: 23px;
  }
}
/* ==========================================================================
   lg (992px) — Desktop
   ========================================================================== */
@media (min-width: 992px) {
  .vel-faq-accordion__heading {
    font-size: var(--vel-text-4xl); /* 48px */
    margin-bottom: var(--vel-space-2xl);
  }
  .vel-faq-accordion__list {
    max-width: 848px;
    margin: 0 auto;
    border-radius: 24px;
  }
  .vel-faq-accordion__question {
    height: 76px;
    padding: 0 32px;
  }
  .vel-faq-accordion__question-text {
    font-size: 18px;
  }
  .vel-faq-accordion__chevron {
    width: 24px;
    height: 24px;
  }
  .vel-faq-accordion__answer {
    padding: 0 32px;
  }
  .vel-faq-accordion__item--open .vel-faq-accordion__answer {
    padding: 0 32px 24px;
  }
  .vel-faq-accordion__answer-inner {
    font-size: 18px;
    line-height: 24px;
  }
}
/* ==========================================================================
   xl (1200px)
   ========================================================================== */
@media (min-width: 1200px) {
  .vel-faq-accordion__list {
    max-width: 848px;
  }
}
/* ==========================================================================
   xxl (1600px) — Full Figma spec sizes
   ========================================================================== */
@media (min-width: 1600px) {
  .vel-faq-accordion__list {
    max-width: 848px;
  }
}
/* ==========================================================================
   FAQ - block (1600px)
   ========================================================================== */
.vel-faq-block .vel-section-header .vel-section-header__title {
  text-align: left;
}

.vel-faq-block .vel-section-header .vel-section-header__line {
  height: 5px;
}

.vel-faq-block .vel-section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vel-faq-block .vel-section-header .vel-section-header__title {
  text-align: left;
}

.vel-faq-block .vel-section-header .vel-section-header__line {
  height: 5px;
}

@media (min-width: 992px) {
  .vel-faq-block .vel-section-header {
    align-items: center;
  }
  .vel-faq-block .vel-section-header .vel-section-header__title {
    text-align: center;
  }
  .vel-faq-block .vel-section-header .vel-section-header__line {
    height: 10px;
  }
}
/*# sourceMappingURL=faq-accordion.css.map */
