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

.faq-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.faq-header h2 {
  color: #ffffff;
  font-family: var(--font-heading);
}

.faq-section .accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-section .accordion-item {
  background-color: rgba(34, 165, 229, 0.05);
  border: 1px solid rgba(34, 165, 229, 0.2);
  border-radius: 8px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  width: 100%;
}

.faq-section .accordion-header {
  margin: 0;
}

.faq-section .accordion-button {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 0;
  position: relative;
  background-color: rgba(34, 165, 229, 0.08);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 1.1rem 1.25rem;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.faq-section .accordion-button:focus {
  outline: 0;
  box-shadow: none !important;
}

.faq-section .accordion-button:not(.collapsed) {
  background-color: rgba(34, 165, 229, 0.15);
  color: #22a5e5;
  border-bottom: 1px solid rgba(34, 165, 229, 0.2);
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.faq-section .accordion-button::after {
  filter: invert(1) brightness(2);
}

.faq-section .accordion-button:not(.collapsed)::after {
  filter: invert(53%) sepia(98%) saturate(401%) hue-rotate(174deg) brightness(98%) contrast(92%);
}

.faq-section .accordion-collapse.collapse:not(.show) {
  display: none;
}

.faq-section .accordion-body {
  background-color: transparent;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  padding: 1.25rem;
}

.faq-section .accordion-body p {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.faq-section .accordion-body strong {
  color: #ffffff;
}

.faq-link {
  color: #22a5e5;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.faq-link:hover {
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.faq-section code {
  background-color: rgba(34, 165, 229, 0.15);
  color: #22a5e5;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-code);
  font-size: 0.9em;
  border: 1px solid rgba(34, 165, 229, 0.3);
  white-space: nowrap;
}

.faq-ip-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.faq-ip-item {
  margin-bottom: 10px;
}

.faq-ip-container {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.3rem 0;
  padding: 0.5rem 0.75rem;
  background: rgba(34, 165, 229, 0.1);
  border: 1px solid rgba(34, 165, 229, 0.3);
  border-radius: 6px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
}

.faq-ip-container:hover {
  background: rgba(34, 165, 229, 0.15);
  border-color: rgba(34, 165, 229, 0.5);
}

.faq-ip-text {
  color: #22a5e5;
  font-family: var(--font-code);
  font-size: 0.95rem;
  font-weight: 600;
  user-select: all;
  background: transparent;
  border: none;
  padding: 0;
  flex: 1;
  min-width: 0;
}

.faq-copy-button {
  background: rgba(34, 165, 229, 0.2);
  border: 1px solid rgba(34, 165, 229, 0.4);
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #22a5e5;
}

.faq-copy-button:hover {
  background: rgba(34, 165, 229, 0.3);
  border-color: rgba(34, 165, 229, 0.6);
  transform: scale(1.05);
}

.faq-copy-button:active {
  transform: scale(0.95);
}

.faq-copy-button i {
  font-size: 0.85rem;
  width: 14px;
  text-align: center;
}

.faq-copy-button.copied {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.1);
}

/* ===================== RESPONSIVO ===================== */

/* ≤768px */
@media (max-width: 768px) {
  .faq-section code {
    white-space: normal;
    word-break: break-word;
    display: inline-block;
    max-width: 100%;
  }
}

/* ≤480px */
@media (max-width: 480px) {
  .faq-section code {
    font-size: 0.85em;
    padding: 4px 6px;
  }
}

/* Ultra-small ≤360px */
@media (max-width: 360px) {
  .faq-section code {
    font-size: 0.78em;
    padding: 3px 5px;
  }

  .faq-ip-container {
    max-width: 100%;
    padding: 0.35rem 0.5rem;
    gap: 0.3rem;
  }

  .faq-ip-text {
    font-size: 0.78rem;
  }

  .faq-copy-button {
    padding: 0.3rem 0.4rem;
  }
}