/* =============================================================
   FAQ Unified — shared visual style для всіх FAQ-секцій сайту.
   Promoted from homepage-redesign/assets/styles/main.css (lines 1281–1353).
   Використовується на: sellers, upravlenie, about, PDP (object-faq-mini).
   ============================================================= */

/* ── Design tokens (hr- prefix, scoped to :root — safe globally) ── */
:root {
  --hr-orange:    #E8953A;
  --hr-navy-deep: #0f1e35;
  --hr-navy:      #1a2b4a;
  --hr-cream:     #f5efe4;
  --hr-text-mute: #6b7a8a;
  --hr-font-serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
}

/* ── Section shell ── */
.hr-faq {
  padding: 64px 0;
  background: var(--hr-cream);
  color: #2b2b2b;
}

/* Max-width container for FAQ content */
.hr-faq__container {
  max-width: 880px;
}

/* ── Head: eyebrow + title ── */
.hr-faq__head {
  text-align: center;
  margin-bottom: 40px;
}

.hr-faq__eyebrow {
  font-family: var(--hr-font-serif);
  font-style: italic;
  color: var(--hr-orange);
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.hr-faq__title {
  font-family: var(--hr-font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hr-navy);
  margin: 0;
}

.hr-faq__accent {
  color: var(--hr-orange);
  font-style: italic;
  text-transform: none;
}

/* ── Accordion list ── */
.hr-faq__list {
  border-top: 1px solid rgba(26, 43, 74, 0.12);
}

.hr-faq__item {
  border-bottom: 1px solid rgba(26, 43, 74, 0.12);
}

.hr-faq__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  padding: 26px 4px;
  transition: color 0.2s;
}

.hr-faq__summary::-webkit-details-marker { display: none; }

.hr-faq__q {
  flex: 1;
  font-family: var(--hr-font-serif);
  font-weight: 500;
  color: var(--hr-navy);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.hr-faq__toggle {
  flex-shrink: 0;
  font-family: var(--hr-font-serif);
  font-weight: 300;
  color: var(--hr-orange);
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.hr-faq__item[open] .hr-faq__toggle { transform: rotate(45deg); }

.hr-faq__item[open] .hr-faq__q,
.hr-faq__item:hover .hr-faq__q { color: var(--hr-orange); }

/* ── Answer body ── */
.hr-faq__a {
  padding: 0 4px 26px;
  max-width: 680px;
}

.hr-faq__a p {
  margin: 0 0 12px;
  color: #2b2b2b;
  font-size: 0.95rem;
  line-height: 1.7;
}

.hr-faq__a p:last-child { margin-bottom: 0; }

/* Answer as plain text (no <p> wrapper) — for sellers/upravlenie items */
.hr-faq__a-text {
  display: block;
  color: #2b2b2b;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── CTA footer (optional, used on homepage-redesign FAQ) ── */
.hr-faq__cta {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(26, 43, 74, 0.12);
}

.hr-faq__cta-note {
  color: var(--hr-text-mute);
  font-family: var(--hr-font-serif);
  font-style: italic;
  font-size: 1.1rem;
  margin: 0 0 16px;
}

/* ── Mobile desktop/mobile answer variant (homepage-redesign only) ── */
.hr-only-desktop { display: block; }
.hr-only-mobile  { display: none; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .hr-faq { padding: 48px 0; }
  .hr-faq__head { margin-bottom: 24px; }
  .hr-faq__summary { padding: 18px 2px; gap: 16px; }
  .hr-faq__q { font-size: 0.98rem; }
  .hr-faq__toggle { font-size: 1.4rem; }
  .hr-faq__a { padding: 0 2px 18px; }
  .hr-faq__a p { font-size: 0.88rem; line-height: 1.6; }
  .hr-faq__a-text { font-size: 0.88rem; line-height: 1.6; }
  .hr-faq__cta { margin-top: 32px; padding-top: 24px; }
  .hr-faq__cta-note { font-size: 0.95rem; }

  .hr-only-desktop { display: none; }
  .hr-only-mobile  { display: block; }
}
