/* QA STEPS SECTION — 3 Easy Steps | green #0d3d1a · gold #c9a227 */

.qa-steps-section {
  padding: 80px 24px 90px;
  background: #fff;
  overflow: hidden;
}

/* Eyebrow pill */
.qa-steps-eyebrow-row {
  text-align: center;
  margin-bottom: 48px;
}

.qa-steps-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  color: #0d3d1a;
  background: #fff;
  border: 1.5px solid rgba(13,61,26,.18);
  padding: 9px 22px 9px 16px;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(13,61,26,.07);
}

.qa-steps-eyebrow svg {
  width: 18px;
  height: 18px;
  color: #c9a227;
  flex-shrink: 0;
}

/* Two-column grid */
.qa-steps-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

/* Heading */
.qa-steps-heading {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 900;
  color: #111;
  line-height: 1.13;
  margin: 0 0 20px !important;
  padding: 0 !important;
  letter-spacing: -.5px;
}

.qa-steps-heading em {
  font-style: normal;
  color: #0d3d1a;
}

.qa-steps-subtext {
  font-size: 15.5px;
  color: #555;
  line-height: 1.8;
  margin: 0 0 36px;
  max-width: 460px;
}

/* CTA buttons */
.qa-steps-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.qa-steps-btn-primary,
.qa-steps-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 800;
  font-family: inherit;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  white-space: nowrap;
  line-height: 1;
  border: none;
  -webkit-appearance: none;
}

.qa-steps-btn-primary {
  background: linear-gradient(135deg, #c9a227, #e4c060);
  color: #fff;
  box-shadow: 0 4px 18px rgba(201,162,39,.35);
}

.qa-steps-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,162,39,.5);
  background: linear-gradient(135deg, #c9a227, #e4c060) !important;
  color: #fff !important;
}

.qa-steps-btn-primary svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform .2s ease;
}

.qa-steps-btn-primary:hover svg { transform: translateX(4px); }

.qa-steps-btn-secondary {
  background: #0d3d1a;
  color: #fff;
  box-shadow: 0 4px 16px rgba(13,61,26,.22);
}

.qa-steps-btn-secondary:hover {
  background: #155724;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,61,26,.32);
  color: #fff;
}

.qa-steps-btn-secondary svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Image wrap */
.qa-steps-img-wrap {
  position: relative;
  display: inline-block;
  max-width: 480px;
  overflow: visible;
}

.qa-steps-img-frame {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 3px solid #0d3d1a;
  transform: translate(-14px, 14px);
  z-index: 0;
  opacity: .18;
}

.qa-steps-img-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 88px;
  height: 88px;
  background: #c9a227;
  border-radius: 14px;
  z-index: 0;
  opacity: .85;
}

.qa-steps-bars {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

.qa-steps-bar { display: block; width: 7px; border-radius: 4px; }
.qa-steps-bar--1 { height: 88px; background: #0d3d1a; }
.qa-steps-bar--2 { height: 52px; background: #c9a227; }

.qa-steps-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(13,61,26,.14);
  background: #f3f4f6;
}

/* Step list */
.qa-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.qa-step-item {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 20px 24px 20px 20px;
  box-shadow: 0 4px 24px rgba(13,61,26,.07);
  border: 1px solid rgba(13,61,26,.07);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform .28s cubic-bezier(.22,1,.36,1),
              box-shadow .28s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}

.qa-step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(13,61,26,.13);
}

.qa-step-bookmark svg {
  width: 12px;
  height: 12px;
  margin-top: 4px;
}

/* Bookmark ribbon */
.qa-step-bookmark {
  position: absolute;
  top: 0;
  right: 18px;
  width: 28px;
  height: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-radius: 0 0 6px 6px;
  padding-top: 6px;
  color: #fff;
}

.qa-step-bookmark::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
}

/* Icon group */
.qa-step-icon-group {
  position: relative;
  flex-shrink: 0;
}

.qa-step-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qa-step-circle svg { width: 52px; height: 52px; }

.qa-step-num {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -.5px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  z-index: 2;
}

.qa-step-content { flex: 1; min-width: 0; }

.qa-step-title {
  font-size: 17px;
  font-weight: 800;
  color: #111;
  margin: 0 0 8px !important;
  padding: 0 !important;
  line-height: 1.3;
}

.qa-step-desc {
  font-size: 13.5px;
  color: #666;
  line-height: 1.75;
  margin: 0;
}

/* Per-step colour themes */
.qa-step-item[data-step="1"] .qa-step-circle,
.qa-step-item[data-step="3"] .qa-step-circle { background: #edfbec; }

.qa-step-item[data-step="1"] .qa-step-circle svg,
.qa-step-item[data-step="3"] .qa-step-circle svg { color: #0d3d1a; }

.qa-step-item[data-step="1"] .qa-step-num,
.qa-step-item[data-step="3"] .qa-step-num { background: #0d3d1a; }

.qa-step-item[data-step="1"] .qa-step-bookmark,
.qa-step-item[data-step="3"] .qa-step-bookmark { background: #0d3d1a; }

.qa-step-item[data-step="1"] .qa-step-bookmark::after,
.qa-step-item[data-step="3"] .qa-step-bookmark::after {
  border-left-color: #0d3d1a;
  border-right-color: #0d3d1a;
}

.qa-step-item[data-step="2"] .qa-step-circle  { background: #fdf5e0; }
.qa-step-item[data-step="2"] .qa-step-circle svg { color: #c9a227; }
.qa-step-item[data-step="2"] .qa-step-num     { background: #c9a227; }
.qa-step-item[data-step="2"] .qa-step-bookmark { background: #c9a227; }
.qa-step-item[data-step="2"] .qa-step-bookmark::after {
  border-left-color: #c9a227;
  border-right-color: #c9a227;
}

/* Scroll animations — observer runs from about-section.php */
@media (prefers-reduced-motion: no-preference) {
  .qa-steps-section [data-qa-anim] {
    opacity: 0;
    transition: opacity .65s cubic-bezier(.22,.61,.36,1),
                transform .65s cubic-bezier(.22,.61,.36,1);
    /* no will-change: avoids GPU composite layers for all off-screen elements simultaneously */
  }
  .qa-steps-section [data-qa-anim="from-left"]  { transform: translateX(-52px); }
  .qa-steps-section [data-qa-anim="from-right"] { transform: translateX(52px); }
  .qa-steps-section [data-qa-anim].qa-anim-in   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .qa-steps-section [data-qa-anim] { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .qa-steps-inner          { grid-template-columns: 1fr; gap: 44px; }
  .qa-steps-left           { text-align: center; }
  .qa-steps-subtext        { max-width: 100%; }
  .qa-steps-img-wrap       { max-width: 420px; margin: 0 auto; display: block; }
  .qa-steps-bars           { display: none; }
  .qa-steps-img-accent     { right: -8px; bottom: -8px; width: 64px; height: 64px; }
}

@media (max-width: 680px) {
  .qa-steps-section        { padding: 60px 16px 70px; }
  .qa-steps-eyebrow-row    { margin-bottom: 32px; }
  .qa-steps-img-wrap       { max-width: 340px; margin: 0 auto 8px; display: block; }
  .qa-steps-img-frame,
  .qa-steps-img-accent     { display: none; }
  .qa-step-item            { gap: 14px; padding: 16px 18px 16px 16px; }
  .qa-step-circle          { width: 78px; height: 78px; }
  .qa-step-circle svg      { width: 40px; height: 40px; }
  .qa-step-num             { width: 30px; height: 30px; font-size: 11px; top: -4px; left: -4px; }
  .qa-step-bookmark        { right: 12px; width: 22px; height: 36px; }
  .qa-step-title           { font-size: 15px; }
  .qa-step-desc            { font-size: 13px; }
}

@media (max-width: 400px) {
  .qa-steps-list           { gap: 12px; }
  .qa-step-circle          { width: 68px; height: 68px; }
  .qa-step-circle svg      { width: 34px; height: 34px; }
}
