/* FAQ page bundle: only selectors used by faq.html */

:root {
  --shadow-xs: 0 10px 18px -18px rgba(85, 52, 27, 0.34), 0 2px 8px -7px rgba(208, 93, 38, 0.18);
  --shadow-sm: 0 14px 24px -20px rgba(85, 52, 27, 0.36), 0 4px 10px -8px rgba(208, 93, 38, 0.2);
  --shadow-md: 0 20px 32px -22px rgba(85, 52, 27, 0.42), 0 8px 14px -10px rgba(208, 93, 38, 0.22);
  --shadow-lg: 0 24px 36px -20px rgba(85, 52, 27, 0.48), 0 12px 20px -12px rgba(208, 93, 38, 0.28);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  z-index: 1100;
}

body.faq-page .faq-main {
  position: relative;
  padding: 120px 0 60px;
  background: var(--color-bg);
}

body.faq-page .faq-main > * {
  position: relative;
  z-index: 1;
}

body.faq-page .faq-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

body.faq-page .faq-header {
  margin-bottom: 56px;
  text-align: center;
}

body.faq-page .faq-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(235, 146, 56, 0.1);
  border: 0.5px solid rgba(235, 146, 56, 0.15);
  color: var(--color-accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.faq-page .faq-header h1 {
  margin-bottom: 16px;
  color: var(--color-primary);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

body.faq-page .faq-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

body.faq-page .faq-subtitle-mobile {
  display: none;
}

body.faq-page .faq-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

body.faq-page .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.faq-page .faq-item {
  padding: 6px 20px;
  border-radius: var(--radius-lg);
  border: 0.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(254, 254, 254, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

body.faq-page .faq-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(235, 146, 56, 0.15);
}

body.faq-page .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 20px 0;
  color: var(--color-primary);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}

body.faq-page .faq-item summary:focus-visible,
body.faq-page .btn-sidepanel:focus-visible,
body.faq-page .btn-primary:focus-visible,
body.faq-page .btn-secondary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

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

body.faq-page .faq-item summary::after {
  content: '+';
  margin-left: 16px;
  color: var(--color-accent);
  font-size: 1.6rem;
  font-weight: 300;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.faq-page .faq-item[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
}

body.faq-page .faq-answer {
  margin-top: 4px;
  padding: 0 0 22px;
  border-top: 0.5px solid var(--color-border);
  color: #2c2c2c;
  font-size: 0.98rem;
  line-height: 1.6;
}

body.faq-page .faq-sidepanel {
  position: sticky;
  top: 100px;
  height: fit-content;
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  box-shadow: var(--shadow-lg);
}

body.faq-page .sidepanel-title {
  margin-bottom: 16px;
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

body.faq-page .sidepanel-text {
  margin-bottom: 20px;
  opacity: 0.9;
  font-size: 0.95rem;
}

body.faq-page .sidepanel-list {
  list-style: none;
  margin-bottom: 32px;
}

body.faq-page .sidepanel-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 24px;
  opacity: 0.95;
  font-size: 0.95rem;
}

body.faq-page .sidepanel-list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

body.faq-page .btn-sidepanel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  border: 0;
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

body.faq-page .btn-sidepanel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

body.faq-page .cta-section {
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  border: 0.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(254, 254, 254, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  text-align: center;
}

body.faq-page .cta-title {
  margin-bottom: 16px;
  color: var(--color-primary);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.faq-page .cta-description {
  margin-bottom: 32px;
  color: var(--color-text-light);
  font-size: 1.05rem;
}

body.faq-page .cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

body.faq-page .btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 24px -16px rgba(85, 52, 27, 0.45), 0 8px 14px -10px rgba(208, 93, 38, 0.28);
  transition: all var(--transition-fast);
}

body.faq-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px -16px rgba(85, 52, 27, 0.52), 0 12px 20px -12px rgba(208, 93, 38, 0.34);
}

body.faq-page .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-primary);
  font-weight: 600;
  transition: all var(--transition-fast);
}

body.faq-page .btn-secondary:hover {
  background: #fff;
  border-color: var(--color-accent);
}

body.faq-page .cta-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

body.faq-page .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

body.faq-page .trust-item::before {
  content: '✓';
  color: var(--color-accent-dark);
  font-weight: 700;
}

@media (max-width: 800px) {
  body.faq-page .faq-main {
    padding: 80px 0 40px;
  }

  body.faq-page .faq-container {
    max-width: 480px;
    width: 100%;
    padding: 0 20px 40px;
  }

  body.faq-page .faq-header {
    margin-bottom: 32px;
  }

  body.faq-page .faq-badge {
    margin-bottom: 18px;
    font-size: 0.7rem;
  }

  body.faq-page .faq-header h1 {
    margin-bottom: 12px;
    font-size: 2.2rem;
  }

  body.faq-page .faq-header p {
    padding: 0 8px;
    font-size: 0.95rem;
  }

  body.faq-page .faq-layout {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  body.faq-page .faq-list {
    gap: 10px;
    margin-bottom: 28px;
  }

  body.faq-page .faq-item {
    padding: 4px 16px;
    background: rgba(254, 254, 254, 0.85);
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-xs);
  }

  body.faq-page .faq-item:active {
    box-shadow: var(--shadow-sm);
    border-color: rgba(235, 146, 56, 0.15);
  }

  body.faq-page .faq-item summary {
    padding: 18px 0;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
  }

  body.faq-page .faq-item summary::after {
    margin-left: 12px;
    font-size: 1.5rem;
  }

  body.faq-page .faq-answer {
    margin-top: 0;
    padding: 0 0 18px;
    font-size: 0.92rem;
  }

  body.faq-page .faq-sidepanel {
    position: static;
    padding: 28px 22px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-md);
  }

  body.faq-page .sidepanel-title {
    margin-bottom: 14px;
    font-size: 1.4rem;
  }

  body.faq-page .sidepanel-text {
    margin-bottom: 18px;
    font-size: 0.9rem;
  }

  body.faq-page .sidepanel-list {
    margin-bottom: 28px;
  }

  body.faq-page .sidepanel-list li {
    font-size: 0.9rem;
  }

  body.faq-page .btn-sidepanel:active {
    transform: scale(0.97);
    box-shadow: var(--shadow-sm);
  }

  body.faq-page .cta-section {
    padding: 36px 24px;
    background: rgba(254, 254, 254, 0.85);
    border: 0.5px solid rgba(255, 255, 255, 0.6);
  }

  body.faq-page .cta-title {
    margin-bottom: 14px;
    font-size: 1.8rem;
    line-height: 1.2;
  }

  body.faq-page .cta-description {
    margin-bottom: 28px;
    font-size: 0.95rem;
  }

  body.faq-page .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
  }

  body.faq-page .btn-primary,
  body.faq-page .btn-secondary {
    justify-content: center;
    padding: 16px 24px;
  }

  body.faq-page .btn-primary:active {
    transform: scale(0.97);
  }

  body.faq-page .btn-secondary:active {
    background: #fff;
    border-color: var(--color-accent);
  }

  body.faq-page .cta-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: center;
    gap: 10px 16px;
  }

  body.faq-page .trust-item {
    display: inline-flex;
    align-items: center;
    justify-self: center;
    gap: 4px;
    font-size: 0;
    line-height: 1;
    white-space: nowrap;
  }

  body.faq-page .trust-item:first-child {
    grid-column: 1 / -1;
  }

  body.faq-page .trust-item::before {
    font-size: 0.8rem;
  }

  body.faq-page .trust-item::after {
    display: inline;
    color: var(--color-text-light);
    font-size: 0.8rem;
  }

  body.faq-page .trust-item:nth-child(1)::after {
    content: 'Response in 24h';
  }

  body.faq-page .trust-item:nth-child(2)::after {
    content: 'Practical steps';
  }

  body.faq-page .trust-item:nth-child(3)::after {
    content: 'Execution-first';
  }

  body.faq-page .faq-subtitle-desktop {
    display: none;
  }

  body.faq-page .faq-subtitle-mobile {
    display: inline;
  }
}

@media print {
  body.faq-page .header,
  body.faq-page .footer,
  body.faq-page .faq-sidepanel,
  body.faq-page .cta-section {
    display: none;
  }

  body.faq-page .faq-main {
    background: #fff;
    padding: 0.5in;
  }

  body.faq-page .faq-item {
    break-inside: avoid;
    border-color: #ddd;
    box-shadow: none;
  }
}
