/* =========================
   FAQ
   ========================= */
#faq {
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(8px) saturate(120%);
  color: #fff;
  width: 100%;
  padding: clamp(60px, 6vw, 100px) 0;
}

#faq .faq-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#faq h2, #faq h3, #faq .sub {
  text-align: center;
  color: #fff;
}

#faq h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

#faq h3 {
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 18px;
}

#faq .sub {
  opacity: 0.85;
  max-width: 70ch;
  margin: 0 auto 32px;
  font-size: clamp(14px, 2vw, 18px);
}

#faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.35s ease;
}

#faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(18px, 2vw, 24px);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  transition: background 0.3s ease;
}

#faq summary i {
  color: var(--brand-2, #00c4b4);
}

#faq summary::-webkit-details-marker { display: none; }

#faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: auto;
}

#faq details[open] summary::after {
  transform: rotate(225deg);
}

#faq details[open] summary {
  background: rgba(255, 255, 255, 0.08);
}

#faq .content {
  padding: 0 clamp(18px, 2vw, 24px) clamp(18px, 2vw, 22px);
  color: #fff;
  max-width: 65ch;
  line-height: 1.6;
  animation: faq-reveal 0.3s ease;
  margin-left: 40px;
}

@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   FOOTER
   ========================= */
footer.footer {
  background-color: rgb(39, 40, 40);
  color: #fff;
  padding: 10px 1rem 1rem;  /* FIX aplicado: padding-top reducido */
  font-size: 1rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-section {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-section h4 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer a:hover {
  color: #b6b4b4;
}

.footer-social a {
  display: inline-block;
  margin: 0 0.4rem;
  transition: transform 0.2s ease;
}

.footer-social a .footer-icon {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.footer-social a:hover .footer-icon {
  transform: scale(1.2);
  filter: brightness(0) invert(0.7);
}

.footer-bottom {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 80px;
}

/* =========================
   ANIMACIONES SCROLL
   ========================= */

/* ==== Animación de aparición ==== */
.scroll-appear {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-appear.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================
   FIXES ESPECIALES PARA MODELOS (para eliminar el hueco)
   ====================================================== */
#faq {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#faq .faq-shell {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#faq .faq-list details:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#faq .content:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

section#faq {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.faq {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
