/* FAQ page — Signature Tours Morocco */
.stp-faq-page {
  background: var(--stp-cream, #F9F5F0);
}

.stp-faq-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 56px;
  background: linear-gradient(135deg, #1a2332 0%, #2a3544 45%, #3a1508 100%);
  background-size: cover;
  background-position: center;
}

.stp-faq-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 35, 50, 0.35) 0%, rgba(26, 35, 50, 0.75) 70%, rgba(58, 21, 8, 0.9) 100%);
}

.stp-faq-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.stp-faq-hero .stp-faq-hero-title,
#stp.stp-faq-page .stp-faq-hero h1.stp-faq-hero-title {
  font-family: var(--stp-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  color: #fff !important;
  margin: 0 0 14px;
  line-height: 1.15;
}

.stp-faq-hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 300;
  margin: 0;
  max-width: 560px;
}

.stp-faq-page .stp-eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.stp-faq-body {
  padding: 64px 0 80px;
}

.stp-faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 48px;
  align-items: start;
}

.stp-faq-aside {
  position: sticky;
  top: 100px;
}

.stp-faq-aside-card {
  background: var(--stp-white, #fff);
  border: 1px solid var(--stp-border, #e5ddd4);
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 0 8px 32px rgba(26, 35, 50, 0.06);
  margin-bottom: 20px;
}

.stp-faq-aside-title {
  font-family: var(--stp-serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 12px;
  color: var(--stp-ink, #1a2332);
}

.stp-faq-aside-text {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 20px;
  font-weight: 300;
}

.stp-faq-aside-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.stp-faq-aside-actions .stp-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.stp-faq-contact-list {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--stp-border);
}

.stp-faq-contact-list li {
  margin-bottom: 14px;
}

.stp-faq-contact-list li:last-child {
  margin-bottom: 0;
}

.stp-faq-contact-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--stp-muted, #888);
  margin-bottom: 4px;
}

.stp-faq-contact-list a {
  font-size: 14px;
  color: var(--stp-terra, #C44B27);
  text-decoration: none;
  font-weight: 500;
}

.stp-faq-contact-list a:hover {
  text-decoration: underline;
}

.stp-faq-jump {
  background: #E8EDE3;
  border-radius: 10px;
  padding: 18px 20px;
}

.stp-faq-jump-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #5a6e55;
  margin-bottom: 10px;
  font-weight: 600;
}

.stp-faq-jump ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stp-faq-jump li {
  margin-bottom: 6px;
}

.stp-faq-jump a {
  font-size: 13px;
  color: var(--stp-ink);
  text-decoration: none;
  font-weight: 400;
}

.stp-faq-jump a:hover {
  color: var(--stp-terra);
}

.stp-faq-group {
  margin-bottom: 40px;
}

.stp-faq-group:last-child {
  margin-bottom: 0;
}

.stp-faq-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--stp-terra);
}

.stp-faq-group-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--stp-terra);
}

.stp-faq-group-title {
  font-family: var(--stp-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  margin: 0;
  color: var(--stp-ink);
}

.stp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stp-faq-page .stp-faq-item {
  background: var(--stp-white);
  border: 1px solid var(--stp-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.stp-faq-page .stp-faq-item:hover {
  border-color: #d4c9bc;
}

.stp-faq-page .stp-faq-item[open] {
  border-color: rgba(196, 75, 39, 0.35);
  box-shadow: 0 6px 24px rgba(196, 75, 39, 0.08);
}

.stp-faq-page .stp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stp-faq-page .stp-faq-item summary::-webkit-details-marker {
  display: none;
}

.stp-faq-page .stp-faq-item summary::after {
  content: '+';
  font-size: 22px;
  line-height: 1;
  color: var(--stp-terra);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.stp-faq-page .stp-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.stp-faq-page .stp-faq-item summary h3 {
  font-family: var(--stp-serif);
  font-size: 17px;
  font-weight: 500;
  margin: 0;
  color: var(--stp-ink);
  line-height: 1.35;
}

.stp-faq-answer {
  padding: 0 22px 20px;
}

.stp-faq-answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #4a4a4a;
  font-weight: 300;
}

.stp-faq-answer a {
  color: var(--stp-terra);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stp-faq-answer strong {
  font-weight: 500;
  color: var(--stp-ink);
}

.stp-faq-bottom-cta {
  background: linear-gradient(180deg, #E8EDE3 0%, var(--stp-cream) 100%);
  padding: 56px 0 72px;
  text-align: center;
  border-top: 1px solid var(--stp-border);
}

.stp-faq-bottom-inner h2 {
  font-family: var(--stp-serif);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 400;
  margin: 0 0 12px;
  color: var(--stp-ink);
}

.stp-faq-bottom-inner p {
  font-size: 15px;
  color: #555;
  margin: 0 auto 24px;
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}

.stp-faq-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 960px) {
  .stp-faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stp-faq-aside {
    position: static;
  }

  .stp-faq-jump {
    display: none;
  }
}

@media (max-width: 600px) {
  .stp-faq-hero {
    min-height: 36vh;
    padding-bottom: 40px;
  }

  .stp-faq-body {
    padding: 40px 0 56px;
  }

  .stp-faq-page .stp-faq-item summary {
    padding: 16px 18px;
  }

  .stp-faq-page .stp-faq-item summary h3 {
    font-size: 15px;
  }
}
