.pek-faq-page {
  --pek-faq-text: #515151;
  --pek-faq-title: #ffffff;
  --pek-faq-pink: #FF7CC7;
  --pek-faq-panel-border: #d9d9d9;
  --pek-faq-purple: #851bff;
  --pek-faq-cyan-hover: #33c2c9;
  background-color: #f0f0f0;
  background-image: url('https://pekokis.com/wp-content/uploads/2026/05/fondo-faq.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  color: var(--pek-faq-text);
  padding: 0px 0 64px;
  min-height: 100vh;
}


.pek-faq-hero {
  padding: 12px 0 6px;
}

.pek-faq-hero__content {
  background: var(--pek-faq-pink);
  border-radius: 24px;
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
}

.pek-faq-hero__badge {
  display: none;
}

.pek-faq-hero__title {
  margin: 0 0 6px;
  color: var(--pek-faq-title);
  font-family: "poligon", sans-serif;
  font-size: clamp(38px, 3.8vw, 60px);
  font-weight: 800;
  line-height: 1;
}

.pek-faq-hero__description {
  margin: 0 0 14px;
  color: #fff;
  font-family: "poligon", sans-serif;
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.95;
}

.pek-faq-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f3ebef;
  padding: 6px;
  max-width: 720px;
}

.pek-faq-search input {
  width: 100%;
  border: 0;
  outline: none;
  padding: 9px 14px;
  background: transparent;
  color: #888;
  font-family: "poligon", sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.pek-faq-search button {
  border: 0;
  border-radius: 8px;
  background: var(--pek-faq-pink);
  color: #fff;
  padding: 7px 14px;
  font-family: "poligon", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pek-faq-search button:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.pek-faq-app {
  padding-top: 10px;
}

.pek-faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 12px;
}

.pek-faq-nav__btn {
  border: 1px solid rgba(253, 184, 231, 0.4);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.35);
  color: var(--pek-faq-pink);
  padding: 6px 12px;
  font-family: "poligon", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pek-faq-nav__btn:hover {
  background: rgba(255, 88, 184, 0.12);
  transform: translateY(-1px);
}

.pek-faq-nav__btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.pek-faq-layout {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  gap: 18px;
}

.pek-faq-sidebar {
  background: transparent;
  border: 1px solid var(--pek-faq-panel-border);
  border-radius: 22px;
  padding: 18px 16px;
  height: fit-content;
  position: sticky;
  top: 110px;
}

.pek-faq-sidebar h2 {
  margin: 0 0 10px;
  font-family: "poligon", sans-serif;
  font-size: 34px;
  line-height: 1;
  color: #373737;
}

.pek-faq-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.pek-faq-sidebar__list button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  color: #515151;
  padding: 8px 12px;
  font-family: "poligon", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.pek-faq-sidebar__list button small {
  font-size: 10px;
  margin-left: 4px;
}

.pek-faq-sidebar__list button:hover,
.pek-faq-sidebar__list button.is-active {
  background: rgba(253, 184, 231, 0.4);
  color: var(--pek-faq-pink);
}

.pek-faq-content {
  min-height: 420px;
}

.pek-faq-view {
  display: none;
}

.pek-faq-view.is-active {
  display: block;
}

.pek-faq-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pek-faq-card {
  min-height: 220px;
  border: 1px solid transparent;
  border-radius: 22px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 170px);
  grid-template-areas:
    "title icon"
    "desc icon"
    "btn icon";
  align-items: center;
  justify-content: center;
  column-gap: 14px;
  row-gap: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pek-faq-card:nth-child(3n + 1) {
  background: rgba(191, 246, 118, 0.4);
}

.pek-faq-card:nth-child(3n + 2) {
  background: rgba(156, 255, 255, 0.6);
}

.pek-faq-card:nth-child(3n + 3) {
  background: rgba(255, 138, 205, 0.4);
}

.pek-faq-card:hover {
  transform: translateY(-2px);
  filter: brightness(0.98);
}

.pek-faq-card__icon {
  grid-area: icon;
  position: static;
  width: 144px;
  height: 132px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  align-self: center;
  justify-self: center;
}

.pek-faq-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pek-faq-card__emoji {
  font-size: 64px;
  line-height: 1;
}

.pek-faq-card h3 {
  grid-area: title;
  margin: 0 0 10px;
  color: #3f3f3f;
  font-family: "poligon", sans-serif;
  font-size: 34px;
  line-height: 1;
  width: 100%;
  text-align: left;
  justify-self: center;
  align-self: end;
}

.pek-faq-card p {
  grid-area: desc;
  margin: 0 0 16px;
  color: #515151;
  font-family: "poligon", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  width: 100%;
  max-width: 320px;
  text-align: left;
  justify-self: center;
  align-self: start;
}

.pek-faq-card__btn {
  grid-area: btn;
  border: 0;
  border-radius: 60px;
  background: var(--pek-faq-purple);
  color: #fff;
  padding: 7px 16px;
  font-family: "poligon", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s ease;
  position: relative;
  justify-self: left;
  align-self: center;
  top: -15px;
}

.pek-faq-card__btn:hover {
  filter: brightness(1.08);
}

.pek-faq-panel {
  border: 1px solid var(--pek-faq-panel-border);
  border-radius: 24px;
  background: transparent;
  padding: 16px 18px 14px;
}

.pek-faq-panel h2 {
  margin: 0 0 6px;
  color: #515151;
  font-family: "poligon", sans-serif;
  font-size: clamp(36px, 3.0vw, 40px);
  line-height: 1;
}

.pek-faq-panel > p {
  margin: 0 0 10px;
  color: #515151;
  font-family: "poligon", sans-serif;
  font-size: 12px;
  line-height: 1.2;
}

.pek-faq-question-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pek-faq-question-list button {
  width: 100%;
  border: 1px solid var(--pek-faq-pink);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: left;
  background: #fff;
  /*color: var(--pek-faq-pink);*/
  color: #515151;
  font-family: "poligon", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pek-faq-question-list button:hover,
.pek-faq-question-list button:focus-visible,
.pek-faq-question-list button:active {
  border-color: transparent;
  background: var(--pek-faq-cyan-hover);
  color: #fff;
  outline: none;
}

.pek-faq-answer-body {
  margin-top: 12px;
  color: #515151;
  font-family: "poligon", sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

.pek-faq-answer-body h1,
.pek-faq-answer-body h2,
.pek-faq-answer-body h3,
.pek-faq-answer-body h4 {
  color: #3f3f3f;
  font-family: "poligon", sans-serif;
  line-height: 1.2;
}

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

.pek-faq-tutorials {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.pek-faq-tutorial-item {
  border: 1px solid #ecded2;
  border-radius: 16px;
  background: #fffcf9;
  padding: 12px;
  overflow: hidden;
}

.pek-faq-media {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.pek-faq-media--image {
  min-height: 280px;
  max-height: 560px;
  background: #f2f5fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pek-faq-media--image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
}

.pek-faq-media--video {
  min-height: 260px;
  aspect-ratio: 16 / 9;
  background: #000;
}

.pek-faq-media--video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pek-faq-media--embed {
  position: relative;
  min-height: 280px;
  aspect-ratio: 16 / 9;
  background: #000;
}

.pek-faq-media--embed iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  min-height: 100%;
  height: 100% !important;
  border: 0;
}

.pek-faq-tutorial-item figcaption {
  margin-top: 8px;
  color: #5c6d82;
  font-family: "poligon", sans-serif;
  font-size: 12px;
}

.pek-faq-empty {
  border-radius: 10px;
  border: 1px dashed #ddb5c8;
  padding: 12px;
  color: #6a4e5d;
  background: #fff7fa;
  font-family: "poligon", sans-serif;
  font-size: 12px;
}

@media (max-width: 1220px) {
  .pek-faq-card {
    grid-template-columns: minmax(0, 1fr) 124px;
  }

  .pek-faq-card__icon {
    width: 112px;
    height: 104px;
  }
  .pek-faq-hero {
    margin-top: 60px;
}
}

@media (max-width: 980px) {
.pek-faq-hero {
    padding: 12px 0 6px;
    margin-top: 60px;
}

  .pek-faq-page {
    background: #ffffff;
  }

  .pek-faq-layout {
    grid-template-columns: 1fr;
  }

  .pek-faq-sidebar {
    position: static;
    top: auto;
  }

  .pek-faq-cards {
    grid-template-columns: 1fr;
  }

  .pek-faq-card {
    grid-template-columns: minmax(0, 1fr) minmax(110px, 150px);
    grid-template-areas:
      "title icon"
      "desc icon"
      "btn icon";
    min-height: 210px;
    padding: 20px 18px;
    align-items: center;
    column-gap: 14px;
    row-gap: 8px;
  }

  .pek-faq-card__icon {
    justify-self: center;
    align-self: center;
  }

  .pek-faq-card h3 {
    text-align: center;
    justify-self: start;
    align-self: end;
    margin: 0 0 6px;
  }

  .pek-faq-card p {
    text-align: center;
    justify-self: start;
    align-self: start;
    max-width: 100%;
    margin: 0;
    font-size: 14px;
  }

  .pek-faq-card__btn {
    justify-self: center;
    align-self: center;
    top: 0;
    margin-top: 8px;
  }
}

@media (max-width: 620px) {
  .pek-faq-page {
    padding-top: 12px;
    background: #ffffff;
  }

  .pek-faq-hero__content {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .pek-faq-hero__title {
    font-size: 34px;
  }

  .pek-faq-search {
    flex-direction: column;
    align-items: stretch;
  }

  .pek-faq-search button {
    width: 100%;
  }

  .pek-faq-nav {
    gap: 8px;
  }

  .pek-faq-nav__btn {
    font-size: 11px;
    padding: 6px 9px;
  }

  .pek-faq-sidebar h2 {
    font-size: 28px;
  }

  .pek-faq-card {
    padding: 18px 14px 16px;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "title"
      "desc"
      "btn";
    row-gap: 10px;
    align-items: center;
  }

  .pek-faq-card__icon {
    width: 92px;
    height: 84px;
    margin: 0 auto;
    justify-self: center;
    align-self: center;
  }

  .pek-faq-card h3 {
    font-size: 30px;
    margin-bottom: 4px;
    text-align: center;
    justify-self: center;
    align-self: end;
  }

  .pek-faq-card p {
    margin-bottom: 4px;
    max-width: 100%;
    text-align: center;
    justify-self: center;
    align-self: start;
    font-size: 14px;
  }

  .pek-faq-card__btn {
    justify-self: center;
    align-self: center;
    top: 0;
    margin-top: 6px;
  }

  .pek-faq-panel {
    border-radius: 18px;
  }

  .pek-faq-panel h2 {
    font-size: 28px;
  }

  .pek-faq-media--image {
    min-height: 220px;
    max-height: 420px;
  }

  .pek-faq-media--image img {
    max-height: 420px;
  }

  .pek-faq-media--video,
  .pek-faq-media--embed {
    min-height: 220px;
  }
}


