/* FAQ v2.3 — GettSleep FAQ page styles */
/* Shared across RU/EN/ZH FAQ pages */

/* ── FAQ V2 — scoped under .faq-v2-wrap ── */
:root {
  --fv2-orange: #F97316;
  --fv2-orange-dark: #c95d0e;
  --fv2-orange-pale: rgba(249,115,22,0.09);
  --fv2-orange-pale2: rgba(249,115,22,0.18);
  --fv2-bg: #f8f8f6;
  --fv2-white: #ffffff;
  --fv2-text: #181816;
  --fv2-text-2: #5a5a56;
  --fv2-text-3: #9a9a95;
  --fv2-border: #e6e6e2;
  --fv2-border-2: #d2d2cc;
  --fv2-radius: 14px;
  --fv2-radius-sm: 9px;
}

/* Reset within wrapper only */
.faq-v2-wrap *, .faq-v2-wrap *::before, .faq-v2-wrap *::after {
  box-sizing: border-box;
}

/* ── FAQ HERO ── */
.faq-v2-hero {
  background: var(--fv2-white);
  padding: 40px 20px 36px;
  border-bottom: 1px solid var(--fv2-border);
}
.faq-v2-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.faq-v2-hero-eyebrow {
  font-family: var(--font-b, "Manrope", sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--fv2-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.faq-v2-hero-title {
  font-family: var(--font-d, "Unbounded", sans-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--fv2-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.faq-v2-hero-subtitle {
  font-family: var(--font-b, "Manrope", sans-serif);
  font-size: 15px;
  color: var(--fv2-text-2);
  line-height: 1.5;
  max-width: 520px;
  margin: 0 auto 24px;
}
.faq-v2-hero-search {
  max-width: 540px;
  margin: 0 auto 20px;
}
.faq-v2-hero-search .faq-v2-search-row {
  position: relative;
  width: 100%;
}
.faq-v2-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* ── SEARCH INPUT (shared) ── */
.faq-v2-search-row {
  position: relative;
  max-width: 540px;
}
.faq-v2-search-input {
  width: 100%;
  padding: 13px 48px 13px 18px;
  border-radius: 30px;
  border: 1.5px solid var(--fv2-border-2);
  background: var(--fv2-bg);
  font-family: var(--font-b, "Manrope", sans-serif);
  font-size: 14px;
  color: var(--fv2-text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}
.faq-v2-search-input::placeholder { color: var(--fv2-text-3); }
.faq-v2-search-input:focus {
  border-color: var(--fv2-orange);
  box-shadow: 0 0 0 3px var(--fv2-orange-pale);
}
.faq-v2-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fv2-text-3);
  pointer-events: none;
  display: flex;
}
.faq-v2-search-icon svg { width: 17px; height: 17px; }
.faq-v2-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--fv2-bg);
  border: 1px solid var(--fv2-border-2);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fv2-text-2);
}
.faq-v2-chip svg { width: 12px; height: 12px; color: var(--fv2-orange); }

/* ── READ PROGRESS ── */
#faq-v2-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 3px;
  pointer-events: none;
}
#faq-v2-progress-bar {
  height: 100%;
  background: var(--fv2-orange);
  width: 0%;
  transition: width 0.1s linear;
}

/* ── MAIN BODY ── */
.faq-v2-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 20px 100px;
}

/* ── CATEGORY NAV ── */
.faq-v2-cat-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.faq-v2-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 20px;
  border: 1.5px solid var(--fv2-border-2);
  background: var(--fv2-white);
  font-family: var(--font-b, "Manrope", sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: var(--fv2-text-2);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  line-height: 1;
}
.faq-v2-cat-btn:hover { border-color: var(--fv2-orange); color: var(--fv2-orange); }
.faq-v2-cat-btn.active { background: var(--fv2-orange); border-color: var(--fv2-orange); color: #fff; }
.faq-v2-cat-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ── FAQ SECTION ── */
.faq-v2-section {
  margin-bottom: 40px;
  animation: faqV2FadeUp 0.4s ease both;
}
.faq-v2-section:nth-child(1) { animation-delay: 0.04s; }
.faq-v2-section:nth-child(2) { animation-delay: 0.08s; }
.faq-v2-section:nth-child(3) { animation-delay: 0.12s; }
.faq-v2-section:nth-child(4) { animation-delay: 0.16s; }
.faq-v2-section:nth-child(5) { animation-delay: 0.20s; }
.faq-v2-section:nth-child(6) { animation-delay: 0.24s; }
.faq-v2-section:nth-child(7) { animation-delay: 0.28s; }
.faq-v2-section:nth-child(8) { animation-delay: 0.32s; }
.faq-v2-section.faq-v2-hidden { display: none; }

@keyframes faqV2FadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-v2-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--fv2-border);
}
.faq-v2-section-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--fv2-radius-sm);
  background: var(--fv2-orange-pale);
  color: var(--fv2-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-v2-section-icon svg { width: 16px; height: 16px; }
.faq-v2-section-title {
  font-family: var(--font-d, "Unbounded", sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fv2-text);
}
.faq-v2-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--fv2-orange);
  background: var(--fv2-orange-pale);
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* ── ACCORDION ── */
.faq-v2-item {
  background: var(--fv2-white);
  border: 1px solid var(--fv2-border);
  border-radius: var(--fv2-radius);
  margin-bottom: 6px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-v2-item:hover { border-color: var(--fv2-border-2); }
.faq-v2-item.faq-v2-open {
  border-color: rgba(249,115,22,0.3);
  box-shadow: 0 2px 16px rgba(249,115,22,0.07);
}
.faq-v2-item.faq-v2-no-match { display: none; }

.faq-v2-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-b, "Manrope", sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--fv2-text);
  line-height: 1.4;
}
.faq-v2-q:hover { color: var(--fv2-orange); }
.faq-v2-item.faq-v2-open .faq-v2-q { color: var(--fv2-orange); }

.faq-v2-chevron {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fv2-bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.25s;
  color: var(--fv2-text-3);
}
.faq-v2-chevron svg { width: 10px; height: 10px; }
.faq-v2-item.faq-v2-open .faq-v2-chevron {
  background: var(--fv2-orange);
  color: #fff;
  transform: rotate(180deg);
}

.faq-v2-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s cubic-bezier(0.4,0,0.2,1);
}
.faq-v2-item.faq-v2-open .faq-v2-body { grid-template-rows: 1fr; }
.faq-v2-body-inner {
  overflow: hidden;
  padding: 0 18px;
}
.faq-v2-body-inner p {
  padding-bottom: 16px;
  font-size: 14px;
  color: var(--fv2-text-2);
  line-height: 1.7;
  margin: 0;
}
.faq-v2-body-inner strong { color: var(--fv2-text); font-weight: 700; }
.faq-v2-body-inner br + br { display: none; }

/* search highlight */
.faq-v2-hl {
  background: rgba(249,115,22,0.18);
  border-radius: 3px;
  padding: 0 2px;
}

/* ── INLINE CTA ── */
.faq-v2-cta {
  background: linear-gradient(135deg, #fff8f4 0%, #fff 100%);
  border: 1.5px solid rgba(249,115,22,0.2);
  border-radius: var(--fv2-radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 14px;
}
.faq-v2-cta-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--fv2-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.faq-v2-cta-icon svg { width: 20px; height: 20px; }
.faq-v2-cta-text { flex: 1; min-width: 0; }
.faq-v2-cta-title {
  font-family: var(--font-d, "Unbounded", sans-serif);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--fv2-text);
}
.faq-v2-cta-sub { font-size: 11px; color: var(--fv2-text-2); }
.faq-v2-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 16px;
  border-radius: 20px;
  background: var(--fv2-orange);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-d, "Unbounded", sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.faq-v2-cta-btn:hover { background: var(--fv2-orange-dark); color: #fff; }

/* ── NO RESULTS ── */
.faq-v2-no-results {
  display: none;
  text-align: center;
  padding: 56px 20px;
  color: var(--fv2-text-3);
}
.faq-v2-no-results.faq-v2-visible { display: block; }
.faq-v2-no-results h3 {
  font-family: var(--font-d, "Unbounded", sans-serif);
  font-size: 15px;
  color: var(--fv2-text-2);
  margin-bottom: 6px;
}

/* ── HOTEL GRID ── */
.faq-v2-hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.faq-v2-hotel-card {
  background: var(--fv2-white);
  border: 1px solid var(--fv2-border);
  border-radius: var(--fv2-radius);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--fv2-text);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.faq-v2-hotel-card:hover {
  border-color: var(--fv2-orange);
  box-shadow: 0 2px 16px rgba(249,115,22,0.08);
  color: var(--fv2-text);
  text-decoration: none;
}
.faq-v2-hotel-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--fv2-radius-sm);
  background: var(--fv2-orange-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--fv2-orange);
}
.faq-v2-hotel-icon svg { width: 16px; height: 16px; }
.faq-v2-hotel-info { flex: 1; min-width: 0; }
.faq-v2-hotel-name {
  font-family: var(--font-d, "Unbounded", sans-serif);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
  color: var(--fv2-text);
}
.faq-v2-hotel-sub { font-size: 11px; color: var(--fv2-text-3); line-height: 1.4; }
.faq-v2-hotel-rating {
  font-size: 11px;
  font-weight: 700;
  color: var(--fv2-orange);
  margin-top: 4px;
}
.faq-v2-hotel-arrow {
  color: var(--fv2-text-3);
  font-size: 18px;
  align-self: center;
  flex-shrink: 0;
}

/* ── CONTACT BLOCK ── */
.faq-v2-contact {
  background: #181816;
  border-radius: var(--fv2-radius);
  padding: 28px 24px;
  text-align: center;
  margin-top: 40px;
  color: #fff;
}
.faq-v2-contact h2 {
  font-family: var(--font-d, "Unbounded", sans-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.faq-v2-contact p { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.faq-v2-contact-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.faq-v2-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 20px;
  font-family: var(--font-d, "Unbounded", sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.15s;
}
.faq-v2-contact-btn-primary { background: var(--fv2-orange); color: #fff; }
.faq-v2-contact-btn-primary:hover { background: var(--fv2-orange-dark); color: #fff; }
.faq-v2-contact-btn-secondary {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
}
.faq-v2-contact-btn-secondary:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ── STICKY BAR ── */
#faq-v2-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34,1.2,0.64,1);
}
#faq-v2-sticky.faq-v2-sticky-up { transform: translateY(0); }
.faq-v2-sticky-inner {
  max-width: 700px;
  margin: 0 auto 14px;
  padding: 0 16px;
}
.faq-v2-sticky-card {
  background: #18181a;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-v2-sticky-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--fv2-radius-sm);
  background: var(--fv2-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-v2-sticky-icon svg { width: 16px; height: 16px; color: #fff; }
.faq-v2-sticky-text { flex: 1; min-width: 0; }
.faq-v2-sticky-title {
  font-family: var(--font-d, "Unbounded", sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.faq-v2-sticky-sub { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.faq-v2-sticky-book {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  border-radius: 20px;
  background: var(--fv2-orange);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-d, "Unbounded", sans-serif);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.faq-v2-sticky-book:hover { background: var(--fv2-orange-dark); color: #fff; }
.faq-v2-sticky-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
  line-height: 1;
}
.faq-v2-sticky-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ── MOBILE ── */
@media (max-width: 560px) {
  .faq-v2-wrap { padding: 18px 14px 100px; }
  .faq-v2-hero { padding: 24px 16px 28px; }
  .faq-v2-hero-title { font-size: 24px; }
  .faq-v2-hero-subtitle { font-size: 14px; }
  .faq-v2-hero-chips { gap: 6px; }
  .faq-v2-chip { font-size: 11px; padding: 4px 10px; }
  .faq-v2-q { font-size: 13px; padding: 13px 14px; }
  .faq-v2-body-inner p { font-size: 13px; }
  .faq-v2-cta { flex-wrap: wrap; }
  .faq-v2-cta-btn { width: 100%; justify-content: center; margin-top: 6px; }
  .faq-v2-sticky-sub { display: none; }
  .faq-v2-contact { padding: 22px 16px; }
  .faq-v2-contact h2 { font-size: 15px; }
  .faq-v2-cat-btn { font-size: 11px; padding: 5px 10px; }
}
