/* ============================================================
   ATELIER H2O — Veelgestelde vragen
   Aanvullende styles voor faq.html
   Vereist: assets/css/main.css
   ============================================================ */

.faq-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--space-section) + 60px) 0 var(--space-section);
  background: var(--deep-ocean);
  text-align: center;
}

.faq-hero::before {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 92%, rgba(172, 150, 83, 0.1) 0%, transparent 62%);
}

.faq-hero__eyebrow,
.faq-hero__title,
.faq-hero__intro,
.faq-rule { position: relative; }

.faq-hero__eyebrow {
  display: block;
  margin-bottom: 22px;
  color: var(--velvet-gold);
  font-size: var(--size-caption);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.faq-hero__title {
  max-width: 900px;
  margin: 0 auto;
  color: var(--soft-pearl);
  font-size: clamp(2.55rem, 7.5vw, 6.7rem);
  letter-spacing: 0.08em;
  line-height: 1.04;
  text-transform: uppercase;
}

.faq-hero__intro {
  max-width: 520px;
  margin: 21px auto 0;
  color: var(--silver-mist);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  line-height: 1.55;
}

.faq-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.faq-rule__line {
  width: min(100px, 20vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--velvet-gold));
}

.faq-rule__line:last-child {
  background: linear-gradient(90deg, var(--velvet-gold), transparent);
}

.faq-rule__diamond {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--velvet-gold);
  transform: rotate(45deg);
}

.faq-content {
  padding: var(--space-section) 0;
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.faq-aside {
  position: sticky;
  top: 112px;
  padding: 28px;
  background: var(--soft-pearl);
  border-top: 2px solid var(--velvet-gold);
}

.faq-aside__label {
  display: block;
  margin-bottom: 18px;
  color: var(--velvet-gold);
  font-size: var(--size-caption);
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.faq-aside__list { display: grid; gap: 8px; }

.faq-aside__list a {
  color: var(--text-secondary);
  font-size: var(--size-small);
  line-height: 1.45;
  transition: color var(--t-fast);
}

.faq-aside__list a:hover { color: var(--velvet-gold); }

.faq-document { min-width: 0; }

.faq-intro {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  font-style: italic;
  line-height: 1.55;
}

.faq-section {
  scroll-margin-top: 105px;
  padding: 0 0 48px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--border-subtle);
}

.faq-section:last-of-type {
  margin-bottom: 0;
}

.faq-section__number {
  display: block;
  margin-bottom: 12px;
  color: var(--velvet-gold);
  font-size: var(--size-caption);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.faq-section__title {
  margin-bottom: 22px;
  color: var(--deep-ocean);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

.faq-list { border-top: 1px solid var(--border-subtle); }

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  color: var(--deep-ocean);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.85vw, 1.35rem);
  font-weight: 500;
  line-height: 1.38;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:focus-visible {
  outline: 2px solid var(--velvet-gold);
  outline-offset: -3px;
}

.faq-item__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 1px;
  content: '';
  background: var(--velvet-gold);
  transform: translate(-50%, -50%);
  transition: transform var(--t-fast);
}

.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-item__answer {
  padding: 0 44px 24px 4px;
}

.faq-item__answer p {
  color: var(--text-secondary);
  font-size: var(--size-body);
  line-height: 1.85;
}

.faq-cta {
  margin-top: 48px;
  padding: clamp(30px, 5vw, 52px);
  background: var(--soft-pearl);
  border-left: 2px solid var(--velvet-gold);
}

.faq-cta__eyebrow {
  display: block;
  margin-bottom: 13px;
  color: var(--velvet-gold);
  font-size: var(--size-caption);
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.faq-cta h2 {
  margin-bottom: 14px;
  color: var(--deep-ocean);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.faq-cta p {
  max-width: 560px;
  margin-bottom: 26px;
  color: var(--text-secondary);
  font-size: var(--size-body);
  line-height: 1.8;
}

@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .faq-aside__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .faq-hero { padding-top: 130px; }
  .faq-hero__title { letter-spacing: 0.045em; }
  .faq-aside__list { grid-template-columns: 1fr; }
  .faq-item summary { padding: 19px 0; }
  .faq-item__answer { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__icon::before,
  .faq-item__icon::after { transition: none; }
}
