.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 40px;
  background: linear-gradient(180deg, #F4F7FB 0%, #E0E8F5 100%);
  color: #1F2D3D;
  text-align: center;
  gap: 30px;
}

.page-faq__hero-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1F2D3D;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-faq__intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333333;
}

.page-faq__hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-faq__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-faq__btn-secondary:hover {
  background: #f0f5ff;
  color: #2F6BFF;
  border-color: #2F6BFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: block;
}

.page-faq__general-info-section,
.page-faq__faq-list-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  color: #1F2D3D;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-faq__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #2F6BFF;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-faq__text-block p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
  text-align: justify;
}

.page-faq__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

details.page-faq__faq-item[open] {
  box-shadow: 0 5px 20px rgba(47, 107, 255, 0.15);
  border-color: #2F6BFF;
}

details.page-faq__faq-item summary.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F2D3D;
}

details.page-faq__faq-item summary.page-faq__faq-question::-webkit-details-marker {
  display: none;
}

details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: #F4F7FB;
  color: #2F6BFF;
}

details.page-faq__faq-item[open] summary.page-faq__faq-question {
  background: #2F6BFF;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-faq__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #6FA3FF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

details.page-faq__faq-item[open] .page-faq__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background: #F4F7FB;
  border-radius: 0 0 8px 8px;
  color: #333333;
  font-size: 1rem;
  line-height: 1.7;
}

.page-faq__cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 20px;
  margin-top: 40px;
  background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
  border-radius: 12px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  gap: 40px;
  box-shadow: 0 10px 30px rgba(47, 107, 255, 0.4);
}

.page-faq__cta-content {
  flex: 1;
  max-width: 600px;
}

.page-faq__cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-faq__cta-buttons {
  display: flex;
  gap: 20px;
}

.page-faq__cta-image {
  max-width: 45%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: block;
}

/* General image responsiveness */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
  .page-faq__hero-section {
    padding: 10px 15px 30px;
  }

  .page-faq__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-faq__intro-text {
    font-size: 1rem;
  }

  .page-faq__general-info-section,
  .page-faq__faq-list-section {
    padding: 50px 15px;
  }

  .page-faq__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 30px;
  }

  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 16px 20px;
    font-size: 1.05rem;
  }

  .page-faq__faq-toggle {
    font-size: 26px;
    width: 28px;
  }

  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 20px;
  }

  .page-faq__cta-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
    gap: 30px;
  }

  .page-faq__cta-content {
    max-width: 100%;
  }

  .page-faq__cta-buttons {
    justify-content: center;
  }

  .page-faq__cta-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 10px 15px 20px;
    gap: 20px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-faq__intro-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-faq__hero-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__hero-image-container {
    margin-top: 20px;
  }

  .page-faq__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    border-radius: 8px;
  }

  .page-faq__general-info-section,
  .page-faq__faq-list-section {
    padding: 40px 15px;
  }

  .page-faq__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 25px;
  }

  .page-faq__text-block p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  details.page-faq__faq-item {
    margin-bottom: 10px;
    border-radius: 6px;
  }

  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px;
    font-size: 1rem;
  }

  .page-faq__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.95rem;
  }

  .page-faq__cta-section {
    padding: 50px 15px;
    margin-top: 30px;
    border-radius: 8px;
  }

  .page-faq__cta-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-faq__cta-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px;
  }

  .page-faq__cta-image {
    max-width: 90%;
  }

  /* Mobile specific image and container adjustments */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__general-info-section,
  .page-faq__faq-list-section,
  .page-faq__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure no horizontal overflow */
  .page-faq {
    overflow-x: hidden;
  }

  /* Placeholder for products-grid if it were present */
  .page-faq__products-grid {
    overflow-x: hidden;
  }

  /* Placeholder for article-body if it were present */
  .page-faq__article-body {
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__article-figure {
    text-align: center;
    max-width: 100% !important;
  }
}