/* FAQs — página interior ZUR */

.page-faqs main {
  padding-bottom: 0;
}

.page-hero--faqs {
  background-image: url("../images/entrance-zur-hostel-fuengirola-boliches.webp");
}

.page-hero-title {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.9;
  font-size: clamp(3.5rem, 14vw, 8rem);
  color: var(--white);
}

.faq-section {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.faq-section .section-inner {
  max-width: var(--content-max, 1140px);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.faq-filter {
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--blue);
  color: var(--white);
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.faq-filter:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 39, 68, 0.25);
}

.faq-filter.is-active {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 16px rgba(15, 39, 68, 0.15);
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 2px solid rgba(15, 39, 68, 0.2);
}

.faq-item:last-child {
  border-bottom: 2px solid rgba(15, 39, 68, 0.2);
}

.faq-item[hidden] {
  display: none;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1rem, 2.8vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--blue);
}

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

.faq-item summary::marker {
  content: "";
}

.faq-toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 1.5rem;
  max-width: 72ch;
}

.faq-answer p {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--blue);
  opacity: 0.92;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  text-decoration: none;
}

.faq-empty {
  display: none;
  padding: 2rem 0;
  text-align: center;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.85;
}

.faq-empty.is-visible {
  display: block;
}

@media (max-width: 640px) {
  .faq-item summary {
    padding: 1.1rem 0;
  }

  .faq-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }
}
