:root {
  --faq-bg: #f7f3ee;
  --faq-accent: #0d4d3c;
  --faq-muted: #6b6b6b;
  --faq-card: #ffffff;
  --faq-border: rgba(13, 77, 60, 0.12);
  --faq-highlight: rgba(13, 77, 60, 0.08);
  --faq-number: rgba(13, 77, 60, 0.15);
}

#faqPage {
  background-color: var(--faq-bg);
}

#faqPage .headerFull {
  background-color: #fff;
}

/* Ensure content doesn't overflow on mobile */
#faqPage [data-role="content"] {
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.faqHero {
  padding: 32px 16px 28px;
  color: #1b1b1b;
  position: relative;
}

.faqEyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--faq-accent);
  margin-bottom: 16px;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.faqEyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background: var(--faq-accent);
  opacity: 0.3;
}

.faqHero .leoxTitle {
  font-size: 26px;
  line-height: 1.3;
  color: #1e2a21;
  margin-bottom: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  text-shadow: 0 2px 8px rgba(224, 230, 164, 0.4),
    0 1px 2px rgba(224, 230, 164, 0.2);
  max-width: 100%;
}

.faqSubtitle {
  color: var(--faq-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 100%;
  margin-top: 0;
  font-weight: 400;
}

.faqHighlights {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.faqHighlightCard {
  background: var(--faq-card);
  border: 1px solid var(--faq-border);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.05);
}

.faqHighlightLabel {
  font-size: 12px;
  font-weight: 700;
  color: var(--faq-accent);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.faqHighlightDetail {
  color: #312f2f;
  font-size: 14px;
  line-height: 1.5;
}

.faqGrid {
  margin-top: 24px;
  padding: 0 5px 32px;
  display: grid;
  gap: 20px;
}

.faqItem {
  background: var(--faq-card);
  border-radius: 16px;
  padding: 20px;
  /* border: 1px solid var(--faq-border); */
  box-shadow: 0 2px 8px rgba(13, 77, 60, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.faqItem:hover {
  box-shadow: 0 4px 16px rgba(13, 77, 60, 0.1);
}

.faqQuestion {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.faqQuestionNumber {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--faq-number);
  color: var(--faq-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

.faqQuestionText {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #0f2c23;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.faqAnswer {
  color: #333;
  line-height: 1.65;
  font-size: 15px;
  padding-left: 44px;
  position: relative;
}

.faqAnswer::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--faq-accent), transparent);
  opacity: 0.2;
}

.faqAnswer p {
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.faqAnswer p + p {
  margin-top: 12px;
}

.faqContact {
  margin: 0 16px 32px;
  padding: 20px;
  text-align: center;
  background: var(--faq-highlight);
  border-radius: 16px;
  border: 1px solid var(--faq-border);
}

.faqContactTitle {
  font-size: 16px;
  font-weight: 700;
  color: var(--faq-accent);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.faqContact p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.faqContact a {
  font-weight: 600;
  color: #0c6b50;
  text-decoration: none;
  word-break: break-word;
}

.faqContact a:hover,
.faqContact a:focus {
  text-decoration: underline;
}

/* Tablet and small desktop */
@media (min-width: 640px) {
  .faqHero {
    padding: 40px 32px 32px;
  }

  .faqEyebrow {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .faqEyebrow::after {
    width: 50px;
    bottom: -10px;
  }

  .faqHero .leoxTitle {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 20px;
    text-shadow: 0 3px 12px rgba(224, 230, 164, 0.5),
      0 1px 3px rgba(224, 230, 164, 0.3);
  }

  .faqSubtitle {
    font-size: 16px;
    line-height: 1.7;
    max-width: 90%;
  }

  .faqHighlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .faqHighlightCard {
    padding: 16px;
    border-radius: 14px;
  }

  .faqHighlightLabel {
    font-size: 13px;
  }

  .faqHighlightDetail {
    font-size: 15px;
  }

  .faqGrid {
    padding: 0 32px 40px;
    gap: 24px;
  }

  .faqItem {
    padding: 10px;
    border-radius: 18px;
  }

  .faqQuestion {
    gap: 16px;
    margin-bottom: 18px;
  }

  .faqQuestionNumber {
    width: 36px;
    height: 36px;
    font-size: 14px;
    border-radius: 10px;
  }

  .faqQuestionText {
    font-size: 18px;
  }

  .faqAnswer {
    padding-left: 52px;
    font-size: 16px;
    line-height: 1.7;
  }

  .faqAnswer::before {
    left: 24px;
  }

  .faqContact {
    margin: 0 32px 48px;
    padding: 24px;
    border-radius: 18px;
  }

  .faqContactTitle {
    font-size: 17px;
  }

  .faqContact p {
    font-size: 15px;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .faqHero {
    padding: 56px 64px 40px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .faqEyebrow {
    font-size: 14px;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
  }

  .faqEyebrow::after {
    width: 60px;
    height: 3px;
    bottom: -12px;
  }

  .faqHero .leoxTitle {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: 0.03em;
    text-shadow: 0 4px 16px rgba(224, 230, 164, 0.6),
      0 2px 4px rgba(224, 230, 164, 0.4);
    max-width: 95%;
  }

  .faqSubtitle {
    font-size: 17px;
    line-height: 1.75;
    max-width: 800px;
  }

  .faqHighlights {
    margin-top: 28px;
    gap: 16px;
  }

  .faqHighlightCard {
    padding: 18px;
    border-radius: 16px;
  }

  .faqHighlightLabel {
    font-size: 14px;
  }

  .faqHighlightDetail {
    font-size: 15px;
  }

  .faqGrid {
    max-width: 1400px;
    margin: 28px auto 0;
    padding: 0 64px 56px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 28px;
  }

  .faqItem {
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(13, 77, 60, 0.08);
  }

  .faqItem:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(13, 77, 60, 0.12);
  }

  .faqQuestion {
    gap: 18px;
    margin-bottom: 20px;
  }

  .faqQuestionNumber {
    width: 40px;
    height: 40px;
    font-size: 15px;
    border-radius: 12px;
  }

  .faqQuestionText {
    font-size: 19px;
    line-height: 1.35;
  }

  .faqAnswer {
    padding-left: 58px;
    font-size: 16px;
    line-height: 1.7;
  }

  .faqAnswer::before {
    left: 28px;
  }

  .faqContact {
    max-width: 820px;
    margin: 24px auto 72px;
    padding: 28px;
    border-radius: 20px;
  }

  .faqContactTitle {
    font-size: 18px;
  }

  .faqContact p {
    font-size: 16px;
  }
}

/* Large desktop */
@media (min-width: 1400px) {
  .faqHero {
    padding: 64px 80px 48px;
  }

  .faqHero .leoxTitle {
    font-size: 48px;
    text-shadow: 0 5px 20px rgba(224, 230, 164, 0.7),
      0 2px 5px rgba(224, 230, 164, 0.5);
  }

  .faqSubtitle {
    font-size: 18px;
    max-width: 900px;
  }

  .faqGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 32px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .faqHero {
    padding: 24px 12px 20px;
  }

  .faqEyebrow {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .faqEyebrow::after {
    width: 35px;
    bottom: -6px;
  }

  .faqHero .leoxTitle {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 12px;
    text-shadow: 0 2px 6px rgba(224, 230, 164, 0.35),
      0 1px 2px rgba(224, 230, 164, 0.2);
  }

  .faqSubtitle {
    font-size: 14px;
    line-height: 1.6;
  }

  .faqGrid {
    padding: 0 12px 20px;
    gap: 16px;
  }

  .faqItem {
    padding: 16px;
    border-radius: 14px;
  }

  .faqQuestion {
    gap: 10px;
    margin-bottom: 14px;
  }

  .faqQuestionNumber {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .faqQuestionText {
    font-size: 16px;
  }

  .faqAnswer {
    padding-left: 38px;
    font-size: 14px;
  }

  .faqAnswer::before {
    left: 16px;
  }

  .faqContact {
    margin: 0 12px 24px;
    padding: 16px;
  }
}
