/* ============================================
   LANA AUTOMOTIVA — FAQ Section
   ============================================ */

.faq {
  padding: 60px 0;
  background-color: transparent;
}

@media (max-width: 767px) {
  .faq {
    padding: 48px 0;
  }
  .faq__title {
    font-size: var(--text-2xl); /* 24px */
  }
}

.faq__inner {
  display: flex;
  gap: 104px;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .faq__inner {
    flex-direction: column;
    gap: 64px;
  }
}

/* ── Left Column: Info ── */

.faq__info {
  width: 416px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .faq__info {
    width: 100%;
  }
}

.faq__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--font-regular);
  line-height: 1.2;
  color: var(--color-blue-brand-600);
  margin: 0;
}

.faq__description {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-neutral-400);
  margin-bottom: 64px;
}

@media (max-width: 767px) {
  .faq__description {
    font-size: 18px;
    margin-bottom: 40px;
  }
}

.faq__ctas {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.faq__cta-item {
  display: flex;
  align-items: center;
  gap: 32px;
  text-decoration: none;
}

.faq__cta-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq__cta-icon svg {
  width: 100%;
  height: 100%;
}

.faq__cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq__cta-label {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: var(--font-medium);
  color: var(--color-blue-dark-600);
}

.faq__cta-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-neutral-400);
}

/* ── Right Column: Accordion ── */

.faq__accordion {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq__item {
  background-color: var(--color-static-white);
  border-radius: 8px;
  border-bottom: 1px solid rgba(203, 214, 226, 0.5);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 41px 40px 41px 33px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 8px;
}

.faq__question:hover {
  background-color: var(--color-neutral-50);
}

.faq__number {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.25;
  color: var(--color-blue-brand-500);
  flex-shrink: 0;
}

.faq__question-text {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-blue-dark-400); /* Adjusted to match Figma #413E52 style */
  opacity: 0.9;
  flex: 1;
}

@media (max-width: 767px) {
  .faq__question-text {
    font-size: 18px;
  }
}

.faq__icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-blue-brand-500);
  transition: transform 0.3s ease;
}

/* Horizontal bar */
.faq__icon::before {
  width: 16px;
  height: 2px;
  top: 11px;
  left: 4px;
}

/* Vertical bar (makes the plus) */
.faq__icon::after {
  width: 2px;
  height: 16px;
  top: 4px;
  left: 11px;
}

/* When expanded, hide vertical bar to make it a minus */
.faq__question[aria-expanded="true"] .faq__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 40px 0 81px;
}

.faq__answer p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-400);
  padding-bottom: 32px;
}

.faq__item.is-active .faq__answer {
  max-height: 200px; /* Adjust based on content */
}
