/* =========================================================
   FALCO® CAMPUS
   PREGUNTAS FRECUENTES
========================================================= */


/* =========================================================
   ESTRUCTURA GENERAL
========================================================= */

.fcq-main {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-top: 82px;
}


/* =========================================================
   HERO
========================================================= */

.fcq-hero {
  display: grid;
  align-items: center;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(360px, 0.75fr);
  gap: 70px;
  width: min(1280px, calc(100% - 12vw));
  min-height: 76vh;
  margin: 0 auto;
  padding: 90px 0 85px;
}

.fcq-hero__content {
  max-width: 780px;
}

.fcq-hero h1 {
  margin: 18px 0 22px;
  color: var(--fc-text);
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 6.3rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.fcq-hero__content > p {
  max-width: 700px;
  margin: 0;
  color: var(--fc-muted);
  font-size: 0.95rem;
  line-height: 1.85;
}


/* =========================================================
   VISUAL DEL HERO
========================================================= */

.fcq-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.fcq-question-symbol {
  display: grid;
  place-items: center;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(201, 168, 97, 0.25);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(201, 168, 97, 0.13),
      rgba(24, 61, 100, 0.08) 52%,
      rgba(5, 15, 27, 0.97)
    );
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.34),
    0 0 70px rgba(201, 168, 97, 0.06);
  color: var(--fc-gold-light);
  font-family: "Playfair Display", serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
}

.fcq-floating-question {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 210px;
  min-height: 72px;
  padding: 15px;
  border: 1px solid var(--fc-line);
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      rgba(13, 32, 52, 0.94),
      rgba(5, 16, 28, 0.99)
    );
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.3);
  animation:
    fcqFloat 6s ease-in-out infinite;
}

.fcq-floating-question svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--fc-gold-light);
}

.fcq-floating-question span {
  color: var(--fc-text-soft);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.45;
}

.fcq-floating-question--one {
  top: 6%;
  left: 0;
}

.fcq-floating-question--two {
  top: 48%;
  right: -2%;
  animation-delay: 0.7s;
}

.fcq-floating-question--three {
  right: 18%;
  bottom: 2%;
  animation-delay: 1.3s;
}


/* =========================================================
   CATEGORÍAS
========================================================= */

.fcq-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  width: min(1100px, calc(100% - 12vw));
  margin: 0 auto;
  padding: 0 0 40px;
}

.fcq-category {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--fc-line);
  border-radius: 999px;
  background:
    rgba(255, 255, 255, 0.025);
  color: var(--fc-muted);
  cursor: pointer;
  font-size: 0.67rem;
  font-weight: 700;
  transition:
    border-color var(--fc-transition),
    background var(--fc-transition),
    color var(--fc-transition),
    transform var(--fc-transition);
}

.fcq-category:hover {
  border-color:
    rgba(201, 168, 97, 0.24);
  color: var(--fc-gold-light);
  transform: translateY(-2px);
}

.fcq-category.is-active {
  border-color:
    rgba(201, 168, 97, 0.4);
  background:
    linear-gradient(
      135deg,
      rgba(201, 168, 97, 0.16),
      rgba(201, 168, 97, 0.05)
    );
  color: var(--fc-gold-light);
}


/* =========================================================
   LISTADO DE PREGUNTAS
========================================================= */

.fcq-section {
  width: min(1000px, calc(100% - 12vw));
  margin: 0 auto;
  padding: 15px 0 125px;
}

.fcq-list {
  display: grid;
  gap: 13px;
}

.fcq-item {
  overflow: hidden;
  border: 1px solid var(--fc-line);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(12, 30, 49, 0.82),
      rgba(5, 15, 27, 0.97)
    );
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.18);
  transition:
    border-color var(--fc-transition),
    box-shadow var(--fc-transition),
    transform var(--fc-transition);
}

.fcq-item:hover {
  border-color:
    rgba(201, 168, 97, 0.18);
}

.fcq-item.is-open {
  border-color:
    rgba(201, 168, 97, 0.28);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.24);
}

.fcq-item.is-hidden {
  display: none;
}

.fcq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  width: 100%;
  min-height: 84px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.fcq-question > span {
  color: var(--fc-text);
  font-family: "Playfair Display", serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.fcq-question svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--fc-gold-light);
  transition:
    transform var(--fc-transition);
}

.fcq-item.is-open .fcq-question svg {
  transform: rotate(45deg);
}

.fcq-answer {
  padding: 0 24px 24px;
}

.fcq-answer[hidden] {
  display: none !important;
}

.fcq-answer p {
  max-width: 850px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--fc-line);
  color: var(--fc-muted);
  font-size: 0.78rem;
  line-height: 1.85;
}

.fcq-empty {
  margin-top: 25px;
  padding: 24px;
  border: 1px solid var(--fc-line);
  border-radius: 16px;
  background:
    rgba(255, 255, 255, 0.025);
  color: var(--fc-muted);
  font-size: 0.75rem;
  text-align: center;
}

.fcq-empty[hidden] {
  display: none !important;
}


/* =========================================================
   CONTACTO FINAL
========================================================= */

.fcq-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: min(1180px, calc(100% - 12vw));
  margin: 0 auto 120px;
  padding: 48px;
  border: 1px solid rgba(201, 168, 97, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(
      145deg,
      rgba(24, 42, 57, 0.9),
      rgba(7, 18, 30, 0.98)
    );
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.28);
}

.fcq-contact > div {
  max-width: 760px;
}

.fcq-contact h2 {
  margin: 15px 0 15px;
  color: var(--fc-text);
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.fcq-contact p {
  max-width: 700px;
  margin: 0;
  color: var(--fc-muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.fcq-contact .fc-button {
  flex: 0 0 auto;
}


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

@keyframes fcqFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1080px) {

  .fcq-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 78px;
  }

  .fcq-hero__visual {
    min-height: 430px;
  }

  .fcq-contact {
    align-items: flex-start;
    flex-direction: column;
  }

}


@media (max-width: 820px) {

  .fcq-main {
    padding-top: 72px;
  }

  .fcq-hero {
    width: calc(100% - 48px);
    padding-top: 65px;
    padding-bottom: 70px;
  }

  .fcq-hero h1 {
    font-size: clamp(2.8rem, 10vw, 5rem);
  }

  .fcq-categories,
  .fcq-section,
  .fcq-contact {
    width: calc(100% - 48px);
  }

  .fcq-contact {
    padding: 38px;
  }

}


@media (max-width: 620px) {

  .fcq-main {
    padding-top: 66px;
  }

  .fcq-hero {
    width: calc(100% - 36px);
    padding-top: 54px;
    padding-bottom: 55px;
  }

  .fcq-hero h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .fcq-hero__content > p {
    font-size: 0.83rem;
  }

  .fcq-hero__visual {
    min-height: 335px;
  }

  .fcq-question-symbol {
    width: 160px;
    height: 160px;
    font-size: 5.5rem;
  }

  .fcq-floating-question {
    width: 150px;
    min-height: 58px;
    padding: 11px;
    border-radius: 12px;
  }

  .fcq-floating-question svg {
    width: 17px;
    height: 17px;
  }

  .fcq-floating-question span {
    font-size: 0.54rem;
  }

  .fcq-floating-question--one {
    left: -3px;
  }

  .fcq-floating-question--two {
    right: -3px;
  }

  .fcq-floating-question--three {
    right: 8%;
  }

  .fcq-categories,
  .fcq-section,
  .fcq-contact {
    width: calc(100% - 36px);
  }

  .fcq-categories {
    justify-content: flex-start;
    padding-bottom: 28px;
  }

  .fcq-category {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 0.59rem;
  }

  .fcq-section {
    padding-bottom: 90px;
  }

  .fcq-question {
    min-height: 74px;
    padding: 19px 18px;
  }

  .fcq-question > span {
    font-size: 0.95rem;
  }

  .fcq-answer {
    padding: 0 18px 20px;
  }

  .fcq-answer p {
    font-size: 0.72rem;
  }

  .fcq-contact {
    margin-bottom: 80px;
    padding: 28px 22px;
    border-radius: 22px;
  }

  .fcq-contact .fc-button {
    width: 100%;
  }

}


@media (max-width: 390px) {

  .fcq-hero,
  .fcq-categories,
  .fcq-section,
  .fcq-contact {
    width: calc(100% - 28px);
  }

  .fcq-hero__visual {
    min-height: 300px;
  }

  .fcq-floating-question {
    width: 132px;
  }

}


/* =========================================================
   DISPOSITIVOS TÁCTILES
========================================================= */

@media (hover: none) {

  .fcq-category:hover {
    transform: none;
  }

  .fcq-floating-question {
    animation: none;
  }

}