.page-faq {
  --faq-cream-deep: #FFF6E8;
  --faq-answer-bg: #FFF9F0;
  --faq-white: #FFFFFF;
  --faq-grid-gap: 14px;
}

.page-faq__head {
  padding: 28px 0 40px;
  border-bottom: 4px solid var(--border);
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 122, 43, 0.16), transparent 36%),
    linear-gradient(180deg, var(--faq-cream-deep), var(--card-cream));
}

.page-faq__head-grid {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
}

.page-faq__kicker {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent-orange);
  background: rgba(242, 122, 43, 0.12);
  border: 1px solid rgba(242, 122, 43, 0.4);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 14px;
}

.page-faq__head .page-title {
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.14;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.page-faq__head .page-title__accent {
  display: block;
  color: var(--section-green);
  font-size: 0.78em;
  margin-top: 4px;
}

.page-faq__head .page-lead {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 56ch;
}

.page-faq__hero-img {
  width: 100%;
  max-width: 400px;
}

.page-faq__hero-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  object-fit: cover;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-heading .section-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.2;
  color: var(--text-dark);
}

.section-heading .section-title__note {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(62, 39, 35, 0.68);
  background: rgba(215, 196, 168, 0.35);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

.page-faq__faq-section {
  padding: 48px 0 56px;
  position: relative;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(160deg, var(--section-green), #256B4D);
}

.page-faq__faq-section .section-heading .section-title {
  color: #fff;
}

.page-faq__faq-section .section-heading .section-title__note {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.16);
}

.page-faq__faq-grid {
  display: grid;
  gap: var(--faq-grid-gap);
}

.page-faq__card {
  background: var(--card-warm);
  border: 1px solid rgba(215, 196, 168, 0.8);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.page-faq__card[open] {
  box-shadow: var(--shadow-lift);
}

.page-faq__card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-dark);
}

.page-faq__card summary::-webkit-details-marker {
  display: none;
}

.page-faq__qicon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--section-green);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: background 0.25s ease;
}

.page-faq__card[open] .page-faq__qicon {
  background: var(--accent-orange);
}

.page-faq__mark {
  margin-left: auto;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  color: var(--accent-orange);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.page-faq__card[open] .page-faq__mark {
  transform: rotate(0deg);
}

.page-faq__answer {
  padding: 0 18px 20px 64px;
  background: var(--faq-answer-bg);
  border-top: 1px dashed var(--border);
}

.page-faq__answer p {
  margin: 14px 0 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
}

.page-faq__answer a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.page-faq__steps-section {
  padding: 48px 0 56px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(145deg, var(--section-brown), #6E4327);
}

.page-faq__steps-section .section-heading .section-title {
  color: #fff;
}

.page-faq__steps-section .section-heading .section-title__note {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.16);
}

.page-faq__steps-layout {
  display: grid;
  gap: 26px;
  margin-top: 8px;
}

.page-faq__steps {
  display: grid;
  gap: 16px;
}

.page-faq__step {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 24px 20px 22px;
  display: grid;
  gap: 12px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-faq__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.page-faq__step-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 6px 0 rgba(62, 39, 35, 0.14);
}

.page-faq__step-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--section-green);
  margin: 0;
}

.page-faq__step-title svg {
  flex: 0 0 auto;
  color: var(--section-green);
}

.page-faq__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: stepc;
  display: grid;
  gap: 8px;
}

.page-faq__step-list li {
  counter-increment: stepc;
  position: relative;
  padding-left: 34px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-body);
}

.page-faq__step-list li::before {
  content: "0" counter(stepc);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--section-brown);
}

.page-faq__steps-figure {
  width: 100%;
  max-width: 140px;
  margin: 0 auto;
}

.page-faq__steps-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-lift);
  object-fit: cover;
}

.page-faq__compare-section {
  padding: 48px 0 56px;
  background:
    linear-gradient(120deg, rgba(46, 125, 91, 0.08), rgba(242, 122, 43, 0.1)),
    var(--page-bg);
}

.page-faq__table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.page-faq__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--card-cream);
}

.page-faq__table thead th {
  background: var(--section-blue);
  color: #fff;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  padding: 14px 16px;
  white-space: nowrap;
}

.page-faq__table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-body);
  background: var(--card-cream);
}

.page-faq__table tbody tr td:first-child {
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.page-faq__table tbody tr td:nth-child(2) {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-blue);
  white-space: nowrap;
}

.page-faq__table tbody tr:nth-child(even) td {
  background: var(--card-warm);
}

.page-faq__table-hint {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  background: rgba(255, 243, 224, 0.7);
  border-left: 4px solid var(--accent-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 14px;
}

.page-faq__contact-section {
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.12), transparent 28%),
    var(--section-blue);
  padding: 48px 0 60px;
}

.page-faq__contact-section .section-heading .section-title {
  color: #fff;
}

.page-faq__contact-section .section-heading .section-title__note {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.16);
}

.page-faq__contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: var(--card-warm);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-lift);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-faq__contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 35, 45, 0.28);
}

.page-faq__contact-mark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.page-faq__contact-body {
  display: block;
  min-width: 0;
}

.page-faq__contact-title {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--text-dark);
}

.page-faq__contact-desc {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

.page-faq__contact-arrow {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--accent-orange);
}

.page-faq .back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
}

@media (min-width: 768px) {
  .page-faq__head {
    padding: 36px 0 52px;
  }

  .page-faq__head-grid {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 48px;
  }

  .page-faq__faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .page-faq__steps-layout {
    grid-template-columns: 1fr 150px;
    align-items: center;
    gap: 32px;
  }

  .page-faq__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-faq__steps-figure {
    max-width: 150px;
  }

  .page-faq__step {
    padding: 26px 22px 24px;
  }

  .page-faq__contact-card {
    padding: 34px 40px;
  }
}

@media (min-width: 1024px) {
  .page-faq__faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-faq__steps-layout {
    grid-template-columns: 1fr 180px;
  }

  .page-faq__steps-figure {
    max-width: 180px;
  }
}
