/* ============================================
   CLARK Website — FAQ Page Styles
   Cream background (#F0E4D8) with dark text.
   Loaded alongside style.css for shared base.
   ============================================ */

body.faq-page {
  background-color: var(--cream);
  color: var(--dark-text);
}

body.faq-page .footer {
  background: var(--black);
}

/* ============================================
   FAQ OVERVIEW — Hero
   ============================================ */
.faq-hero {
  padding-top: 103px;
}

.faq-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(80px, 10.6vw, 160px) 80px clamp(16px, 1.6vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-hero__label {
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 24px);
  line-height: 1.33;
  color: var(--muted);
  text-transform: uppercase;
}

.faq-hero__title {
  font-weight: 700;
  font-size: clamp(40px, 5.82vw, 88px);
  line-height: 1.09;
  color: var(--black);
}

/* ============================================
   FAQ OVERVIEW — Intro
   ============================================ */
.faq-intro {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(24px, 3.2vw, 48px) 80px clamp(24px, 3.2vw, 48px);
}

.faq-intro__text {
  font-weight: 400;
  font-size: clamp(16px, 1.32vw, 20px);
  line-height: 1.4;
  color: var(--dark-text);
  max-width: 1122px;
}

/* ============================================
   FAQ OVERVIEW — Media Sections
   ============================================ */
.faq-media {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 5.3vw, 80px) 80px;
}

.faq-media__img {
  width: 100%;
  height: clamp(240px, 32vw, 480px);
  border-radius: clamp(12px, 1.2vw, 20px);
  overflow: hidden;
}

.faq-media__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   FAQ OVERVIEW — FAQ Item (full-width)
   ============================================ */
main .faq-item {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 3.2vw, 48px) 80px;
}

.faq-item__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(32px, 3.2vw, 48px);
}

.faq-item__action .btn {
  padding: 16px 40px;
}

.faq-item__content {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 24px);
}

.faq-item__title {
  font-weight: 500;
  font-size: clamp(24px, 2.65vw, 40px);
  line-height: 1;
  color: var(--dark-text);
}

.faq-item__desc {
  font-weight: 400;
  font-size: clamp(16px, 1.32vw, 20px);
  line-height: 1.4;
  color: var(--dark-text);
  max-width: 1122px;
}

/* ============================================
   FAQ OVERVIEW — Stacked Cards (side by side)
   ============================================ */
.faq-cards {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 5.3vw, 80px) 80px;
}

.faq-cards__inner {
  display: flex;
  gap: clamp(24px, 2.1vw, 32px);
}

.faq-card {
  flex: 1;
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
}

.faq-card__media {
  width: 100%;
  aspect-ratio: 660 / 480;
  overflow: hidden;
}

.faq-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faq-card__body {
  padding: clamp(16px, 1.06vw, 16px) clamp(16px, 1.06vw, 16px) clamp(24px, 2.1vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.1vw, 32px);
  flex: 1;
}

.faq-card__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-card__title {
  font-weight: 500;
  font-size: clamp(20px, 2.65vw, 40px);
  line-height: 1;
  color: var(--dark-text);
}

.faq-card__desc {
  font-weight: 400;
  font-size: clamp(14px, 1.32vw, 20px);
  line-height: 1.4;
  color: var(--dark-text);
}

.faq-card__action {
  padding: 0 clamp(0px, 1.06vw, 16px);
}

/* ============================================
   FAQ OVERVIEW — Reveal animations
   ============================================ */
.faq-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.faq-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   FAQ DETAIL PAGE
   ============================================ */
.faq-detail {
  padding-top: 103px;
}

.faq-detail__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(80px, 10.6vw, 160px) 80px clamp(80px, 8vw, 160px);
}

.faq-detail__hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(48px, 5.3vw, 80px);
}

.faq-detail__label {
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 24px);
  line-height: 1.33;
  color: var(--muted);
  text-transform: uppercase;
}

.faq-detail__title {
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.1;
  color: var(--black);
  max-width: 100%;
}

.faq-detail__media {
  width: 100%;
  height: clamp(280px, 36vw, 560px);
  border-radius: clamp(12px, 1.2vw, 20px);
  overflow: hidden;
  margin-bottom: clamp(24px, 2.4vw, 40px);
}

.faq-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faq-detail__body {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.4vw, 40px);
  max-width: 100%;
  margin-bottom: clamp(48px, 5.3vw, 80px);
}

.faq-detail__body h2 {
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  color: var(--black);
  margin-top: clamp(8px, 1vw, 16px);
}

.faq-detail__body p {
  font-weight: 400;
  font-size: clamp(16px, 1.32vw, 20px);
  line-height: 1.7;
  color: var(--dark-text);
}

.faq-detail__body ul {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-detail__body li {
  font-weight: 400;
  font-size: clamp(16px, 1.32vw, 20px);
  line-height: 1.7;
  color: var(--dark-text);
}

/* ============================================
   FAQ DETAIL — Contact Section
   ============================================ */
.faq-contact {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(60px, 6vw, 120px) 80px;
}

.faq-contact__subtitle {
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.faq-contact__title {
  font-weight: 700;
  font-size: clamp(48px, 5.8vw, 88px);
  line-height: 1.1;
  color: var(--black);
  margin-bottom: clamp(32px, 3.2vw, 56px);
}

.faq-contact__form-wrap {
  max-width: clamp(400px, 40vw, 640px);
}

.faq-contact .form-card--dark {
  background: var(--white);
  border: 1px solid var(--border-light);
}

.faq-contact .form-card--dark .form-card__title {
  color: var(--dark-text);
}

.faq-contact .form-card__divider {
  border-top-color: var(--border-light);
}

.faq-contact .text-field--dark {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0 16px;
  height: auto;
}

.faq-contact .text-field--dark input {
  border-bottom: none;
  color: var(--dark-text);
}

.faq-contact .text-field--dark label {
  color: var(--muted);
}

.faq-contact .text-field--dark input:focus + label,
.faq-contact .text-field--dark input:not(:placeholder-shown) + label {
  background: var(--white);
  color: var(--dark-text);
}

.faq-contact .btn--primary-dark {
  background: var(--black);
  color: var(--white);
}

/* ============================================
   FAQ — Related questions grid
   ============================================ */
.faq-related {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 4vw, 80px) 80px clamp(80px, 8vw, 160px);
  border-top: 1px solid var(--border-light);
}

.faq-related__label {
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 24px);
  line-height: 1.33;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: clamp(24px, 2.4vw, 48px);
}

.faq-related__grid {
  display: flex;
  gap: clamp(24px, 2.1vw, 32px);
}

.faq-related__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-related__item:hover {
  border-color: var(--dark-text);
}

.faq-related__item-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.faq-related__item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faq-related__item-body {
  padding: clamp(16px, 1.6vw, 24px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.2vw, 20px);
  flex: 1;
}

.faq-related__item-title {
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.25;
  color: var(--dark-text);
}

.faq-related__item-link {
  font-weight: 500;
  font-size: clamp(14px, 1.06vw, 18px);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

/* ============================================
   MOBILE — 768px and below
   ============================================ */
@media (max-width: 768px) {
  body.faq-page .footer { background: var(--black); }

  .faq-hero { padding-top: 66px; }
  .faq-hero__inner { padding: 48px 24px 16px; }
  .faq-hero__label { font-size: 14px; }
  .faq-hero__title { font-size: 36px; }

  .faq-intro { padding: 24px 24px 16px; }
  .faq-intro__text { font-size: 15px; }

  .faq-media { padding: 16px 24px; }
  .faq-media__img { height: 200px; }

  main .faq-item { padding: 32px 24px; }
  .faq-item__title { font-size: 24px; }
  .faq-item__desc { font-size: 15px; }

  .faq-cards { padding: 16px 24px; }
  .faq-cards__inner { flex-direction: column; gap: 24px; }
  .faq-card__body { padding: 20px; }
  .faq-card__title { font-size: 22px; }
  .faq-card__desc { font-size: 14px; }
  .faq-card__action { padding: 0; }

  .faq-detail { padding-top: 66px; }
  .faq-detail__inner { padding: 48px 24px 72px; }
  .faq-detail__title { font-size: 28px; }
  .faq-detail__media { height: 220px; }
  .faq-detail__body h2 { font-size: 22px; }
  .faq-detail__body p { font-size: 15px; }

  .faq-contact { padding: 48px 24px; }
  .faq-contact__title { font-size: 32px; }
  .faq-contact__form-wrap { max-width: 100%; }

  .faq-related { padding: 40px 24px 72px; }
  .faq-related__grid { flex-direction: column; gap: 16px; }
}
