/* ═══════════════════════════════════════════
   WV Support Page — Styles
   ═══════════════════════════════════════════
   Page-scoped stylesheet.
   Prefix: wv-support-
   Theme fonts: --wv-font-primary (General Grotesque),
                --wv-font-serif  (Office Times Round),
                --wv-font-mono   (General Grotesque Mono)
   ═══════════════════════════════════════════ */


/* ── Page-Scoped Variables ── */

:root {
  --support-surface: #FDFAF5;           /* TODO: promote to global variable if used on other pages */
  --support-ink: #1E1E1C;              /* TODO: promote to global variable if used on other pages */
  --support-border-mid: #C8C2B4;       /* TODO: promote to global variable if used on other pages */
  --support-text-light: #A09A8E;       /* TODO: promote to global variable if used on other pages */
  --support-text-muted: #BDB5AC;       /* TODO: promote to global variable if used on other pages */
  --support-cream-dark: #EDE8DC;       /* TODO: promote to global variable if used on other pages */
  --support-cream-deeper: #E0D9CC;     /* TODO: promote to global variable if used on other pages */
  --support-olive: #5C6B2E;            /* TODO: promote to global variable if used on other pages */
  --support-olive-pale: #EEF1E8;       /* TODO: promote to global variable if used on other pages */
  --support-coral-light: #F5EAE7;      /* TODO: promote to global variable if used on other pages */
}


/* ═══════════════════════════════════════════
   0. SHARED
   ═══════════════════════════════════════════ */

.wv-support-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 48px;
}


/* ═══════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════ */

.wv-support-hero {
  padding: 56px 0 52px;
  text-align: center;
  border-bottom: 1px solid var(--wv-color-border);
}

.wv-support-hero__eyebrow {
  font-family: var(--wv-font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--support-text-muted);
  margin-bottom: 16px;
}

.wv-support-hero__title {
  font-family: var(--wv-font-primary);
  font-weight: 400;
  font-size: 40px;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--wv-color-text-primary);
  margin: 0 0 12px;
}

.wv-support-hero__body {
  font-family: var(--wv-font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--wv-color-text-secondary);
  max-width: 480px;
  margin: 0 auto;
}


/* ═══════════════════════════════════════════
   2. CONTACT METHODS
   ═══════════════════════════════════════════ */

.wv-support-contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 32px 0;
  border-bottom: 1px solid var(--wv-color-border);
}

.wv-support-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: var(--support-surface);
  border: 1px solid var(--wv-color-border);
  border-radius: 10px;
  padding: 14px 22px;
  cursor: pointer;
  transition: transform var(--wv-transition-fast), box-shadow var(--wv-transition-fast);
  text-decoration: none;
  color: inherit;
}

.wv-support-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.wv-support-contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wv-support-contact__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wv-support-contact__label {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
}

.wv-support-contact__sub {
  font-family: var(--wv-font-primary);
  font-size: 11px;
  font-weight: 400;
  color: var(--wv-color-text-secondary);
}

.wv-support-hours {
  font-family: var(--wv-font-primary);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wv-support-hours--open {
  color: var(--support-olive);
}

.wv-support-hours--closed {
  color: var(--wv-color-primary);
}


/* ═══════════════════════════════════════════
   3. TWO-PATH SECTION
   ═══════════════════════════════════════════ */

.wv-support-paths-wrap {
  background: var(--wv-color-surface);
  border-top: 1px solid var(--wv-color-border);
  border-bottom: 1px solid var(--wv-color-border);
  padding: 52px 0;
}

.wv-support-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}


/* ── Rec Card (dark) ── */

.wv-support-path--rec {
  background: var(--support-ink);
  border-radius: 14px;
  padding: 36px 32px;
}

.wv-support-path--rec .wv-support-path__eyebrow {
  font-family: var(--wv-font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.wv-support-path--rec .wv-support-path__title {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--wv-color-text-inverse);
  margin: 0 0 8px;
}

.wv-support-path--rec .wv-support-path__body {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.wv-support-rec-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.wv-support-rec-step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background var(--wv-transition-fast);
  text-decoration: none;
  color: inherit;
}

.wv-support-rec-step:hover {
  background: rgba(255, 255, 255, 0.1);
}

.wv-support-rec-step__num {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--wv-color-primary);
  flex-shrink: 0;
}

.wv-support-rec-step__info {
  flex: 1;
  min-width: 0;
}

.wv-support-rec-step__label {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--wv-color-text-inverse);
  margin-bottom: 3px;
}

.wv-support-rec-step__sub {
  font-family: var(--wv-font-primary);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
  margin-bottom: 5px;
}

.wv-support-rec-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.wv-support-rec-tag {
  display: inline-block;
  font-family: var(--wv-font-primary);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--wv-radius-pill);
  padding: 2px 8px;
  line-height: 1.4;
}

.wv-support-rec-tag--quiz {
  background: rgba(227, 108, 91, 0.15);     /* coral-tinted */
  color: var(--wv-color-primary);
}

.wv-support-rec-tag--read {
  background: rgba(255, 255, 255, 0.08);    /* neutral */
  color: rgba(255, 255, 255, 0.5);
}

.wv-support-rec-tag--chat {
  background: rgba(92, 107, 46, 0.2);       /* olive-tinted */
  color: var(--support-olive);
}

.wv-support-rec-tag--closed {
  background: rgba(255, 255, 255, 0.06);    /* muted */
  color: rgba(255, 255, 255, 0.3);
}

.wv-support-rec-tag--ai {
  background: rgba(255, 255, 255, 0.06);    /* muted */
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

.wv-support-path--rec .wv-support-path__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--wv-radius-pill);
  color: rgba(255, 255, 255, 0.6);
  padding: 10px 22px;
  cursor: pointer;
  transition: background var(--wv-transition-fast), color var(--wv-transition-fast);
  text-decoration: none;
}

.wv-support-path--rec .wv-support-path__cta:hover {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
}

.wv-support-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 11px 22px;
  cursor: pointer;
  transition: all var(--wv-transition-fast);
}
.wv-support-btn-light:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.wv-support-rec-step--disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}


/* ── Help Card (light) ── */

.wv-support-path--help {
  background: var(--wv-color-surface);
  border: 1px solid var(--wv-color-border);
  border-radius: 14px;
  padding: 36px 32px;
}

.wv-support-path--help .wv-support-path__eyebrow {
  font-family: var(--wv-font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--support-text-muted);
  margin-bottom: 16px;
}

.wv-support-path--help .wv-support-path__title {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--wv-color-text-primary);
  margin: 0 0 8px;
}

.wv-support-path--help .wv-support-path__body {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--wv-color-text-secondary);
  margin-bottom: 24px;
}

.wv-support-help-topics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.wv-support-help-topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--support-surface);
  border: 1px solid var(--wv-color-border);
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color var(--wv-transition-fast);
  text-decoration: none;
  color: inherit;
}

.wv-support-help-topic:hover {
  border-color: var(--support-border-mid);
}

.wv-support-help-topic__label {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--wv-color-text-primary);
}

.wv-support-help-topic__arrow {
  font-size: 12px;
  color: var(--support-text-muted);
  flex-shrink: 0;
}

.wv-support-path--help .wv-support-path__ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wv-support-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  background: var(--wv-color-primary);
  color: var(--wv-color-text-inverse);
  border: 1px solid var(--wv-color-primary);
  border-radius: var(--wv-radius-pill);
  padding: 10px 22px;
  cursor: pointer;
  transition: background var(--wv-transition-fast);
  text-decoration: none;
}

.wv-support-btn-primary:hover {
  background: var(--wv-color-primary-hover);
  border-color: var(--wv-color-primary-hover);
}

.wv-support-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--wv-color-primary);
  border: 1px solid var(--wv-color-primary);
  border-radius: var(--wv-radius-pill);
  padding: 10px 22px;
  cursor: pointer;
  transition: background var(--wv-transition-fast), color var(--wv-transition-fast);
  text-decoration: none;
}

.wv-support-btn-outline:hover {
  background: var(--wv-color-primary);
  color: var(--wv-color-text-inverse);
}


/* ═══════════════════════════════════════════
   4. LOCATION
   ═══════════════════════════════════════════ */

.wv-support-location {
  padding: 52px 0;
  border-bottom: 1px solid var(--wv-color-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.wv-support-location__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--wv-font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--support-text-muted);
  margin-bottom: 16px;
}

.wv-support-location__eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--support-border-mid);
}

.wv-support-location__title {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--wv-color-text-primary);
  margin: 0 0 12px;
}

.wv-support-location__body {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--wv-color-text-secondary);
  margin-bottom: 24px;
}

.wv-support-location__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.wv-support-loc-detail {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wv-support-loc-detail__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--wv-color-surface);
  border-radius: 8px;
  flex-shrink: 0;
}

.wv-support-loc-detail__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.wv-support-loc-detail__label {
  font-family: var(--wv-font-primary);
  font-size: 12px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
}

.wv-support-loc-detail__value {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--wv-color-text-secondary);
}

.wv-support-loc-detail__note {
  font-family: var(--wv-font-primary);
  font-size: 11px;
  font-weight: 400;
  font-style: italic;
  color: var(--support-text-muted);
}

.wv-support-location__social {
  display: flex;
  gap: 8px;
}

.wv-support-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--wv-color-surface);
  border: 1px solid var(--wv-color-border);
  border-radius: 8px;
  color: var(--wv-color-text-primary);
  text-decoration: none;
  transition: border-color var(--wv-transition-fast), background var(--wv-transition-fast);
}

.wv-support-social-btn:hover {
  border-color: var(--support-border-mid);
  background: var(--support-cream-dark);
}

.wv-support-map {
  background: var(--wv-color-surface);
  border: 1px solid var(--wv-color-border);
  border-radius: 14px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wv-support-map-placeholder {
  font-family: var(--wv-font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--support-text-muted);
}


/* ═══════════════════════════════════════════
   5. FAQ
   ═══════════════════════════════════════════ */

.wv-support-faq-wrap {
  background: var(--wv-color-surface);
  border-top: 1px solid var(--wv-color-border);
  padding: 64px 0 80px;
}

.wv-support-faq-header {
  text-align: center;
  margin-bottom: 32px;
}

.wv-support-faq-header__eyebrow {
  font-family: var(--wv-font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--support-text-muted);
  margin-bottom: 12px;
}

.wv-support-faq-header__title {
  font-family: var(--wv-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--wv-color-text-primary);
  margin: 0 0 8px;
}

.wv-support-faq-header__sub {
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 400;
  color: var(--wv-color-text-secondary);
}


/* ── Search ── */

.wv-support-faq-search-wrap {
  max-width: 600px;
  margin: 0 auto 28px;
  position: relative;
}

.wv-support-faq-search {
  width: 100%;
  height: 48px;
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 400;
  color: var(--wv-color-text-primary);
  background: var(--support-surface);
  border: 1px solid var(--wv-color-border);
  border-radius: 10px;
  padding: 0 44px 0 18px;
  outline: none;
  transition: border-color var(--wv-transition-fast);
  box-sizing: border-box;
}

.wv-support-faq-search::placeholder {
  color: var(--support-text-muted);
}

.wv-support-faq-search:focus {
  border-color: var(--support-border-mid);
}

.wv-support-faq-search__icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--support-text-muted);
  pointer-events: none;
}


/* ── Tabs ── */

.wv-support-faq-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 32px;
}

.wv-support-faq-tab {
  font-family: var(--wv-font-primary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: transparent;
  border: 1px solid var(--wv-color-border);
  border-radius: var(--wv-radius-pill);
  padding: 7px 14px;
  cursor: pointer;
  color: var(--wv-color-text-secondary);
  transition: background var(--wv-transition-fast), color var(--wv-transition-fast), border-color var(--wv-transition-fast);
}

.wv-support-faq-tab:hover {
  border-color: var(--support-border-mid);
  color: var(--wv-color-text-primary);
}

.wv-support-faq-tab.active {
  background: var(--support-ink);
  border-color: var(--support-ink);
  color: var(--wv-color-text-inverse);
}


/* ── FAQ List ── */

.wv-support-faq-list {
  max-width: 740px;
  margin: 0 auto;
}

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

.wv-support-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--wv-font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--wv-color-text-primary);
  background: none;
  border: none;
  padding: 20px 0;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color var(--wv-transition-fast);
}

.wv-support-faq-q:hover {
  color: var(--wv-color-primary);
}

.wv-support-faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--wv-color-border);
  flex-shrink: 0;
  position: relative;
  transition: background var(--wv-transition-fast), border-color var(--wv-transition-fast);
}

.wv-support-faq-icon::before,
.wv-support-faq-icon::after {
  content: "";
  position: absolute;
  background: var(--wv-color-text-primary);
  transition: transform 0.3s ease, background var(--wv-transition-fast);
}

.wv-support-faq-icon::before {
  width: 10px;
  height: 1.5px;
}

.wv-support-faq-icon::after {
  width: 1.5px;
  height: 10px;
}

.wv-support-faq-item.open .wv-support-faq-icon {
  background: var(--support-ink);
  border-color: var(--support-ink);
}

.wv-support-faq-item.open .wv-support-faq-icon::before,
.wv-support-faq-item.open .wv-support-faq-icon::after {
  background: var(--wv-color-text-inverse);
}

.wv-support-faq-item.open .wv-support-faq-icon::after {
  transform: rotate(90deg);
}

.wv-support-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.wv-support-faq-a-inner {
  padding: 0 0 20px;
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--wv-color-text-secondary);
}

.wv-support-faq-a-inner a {
  color: var(--wv-color-primary);
  font-weight: 600;
  text-decoration: none;
}

.wv-support-faq-a-inner a:hover {
  text-decoration: underline;
}

.wv-support-faq-empty {
  text-align: center;
  font-family: var(--wv-font-primary);
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: var(--support-text-muted);
  padding: 40px 0;
}


/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (768–1279px)
   ═══════════════════════════════════════════ */

@media (min-width: 768px) and (max-width: 1279px) {
  .wv-support-paths {
    gap: 16px;
  }

  .wv-support-location {
    gap: 32px;
  }

  .wv-support-path--rec,
  .wv-support-path--help {
    padding: 28px 24px;
  }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile (max-width 767px)
   ═══════════════════════════════════════════ */

@media (max-width: 767px) {
  .wv-support-wrap {
    padding: 0 20px;
  }

  .wv-support-hero__title {
    font-size: 36px;
  }

  .wv-support-contacts {
    flex-direction: column;
    align-items: stretch;
  }

  .wv-support-paths {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wv-support-path--rec,
  .wv-support-path--help {
    padding: 28px 20px;
  }

  .wv-support-location {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wv-support-map {
    height: 240px;
  }

  .wv-support-faq-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .wv-support-faq-tabs::-webkit-scrollbar {
    display: none;
  }

  .wv-support-faq-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .wv-support-faq-wrap {
    padding: 48px 0 60px;
  }

  .wv-support-rec-step__tags {
    display: none;
  }
}
