.sm24-faq-hero,
.sm24-faq-content {
  --sm24-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ───────────────────────── HERO ───────────────────────── */
.sm24-faq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 74% 57%, var(--border-plight), transparent 35%), var(--light-orange);
}
.sm24-faq-hero svg { display: block; }
.sm24-faq-hero__container { position: relative; z-index: 2; max-width: 1824px; }
.sm24-faq-brand { display: inline-block; margin-top: 32px; color: var(--color-primary); font-size: clamp(30px, 2.4vw, 48px); font-weight: 900; letter-spacing: -2px; line-height: 1.1; text-decoration: none; }
.sm24-faq-hero__row { min-height: 565px; }
.sm24-faq-hero__copy { position: relative; z-index: 4; animation: sm24-faq-rise .7s both; }
.sm24-faq-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--color-primary); font-size: var(--font-regular); font-weight: 900; }
.sm24-faq-eyebrow span { width: 22px; height: 3px; border-radius: 5px; background: var(--color-primary); }
.sm24-faq-hero__copy h1 { margin: 0 0 22px; color: var(--h-color); font-size: clamp(38px, 3.25vw, 66px); font-weight: 900; line-height: 1.1; letter-spacing: -2px; }
.sm24-faq-gradient-text { color: var(--typo-primary); background: linear-gradient(110deg, var(--typo-primary), var(--typo-primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sm24-faq-orange-text { color: var(--color-primary); }
.sm24-faq-hero__description { max-width: 650px; margin: 0 0 35px; color: var(--text-color); font-size: clamp(16px, 1.1vw, 21px); line-height: 1.5; }
.sm24-faq-benefit { display: flex; align-items: center; gap: 10px; margin-right: 16px; padding-right: 16px; border-right: 1px solid var(--border-plight); color: var(--text-color); font-size: var(--font-small); font-weight: 800; line-height: 1.35; }
.sm24-faq-benefit:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
.sm24-faq-benefit__icon { display: grid; width: 49px; height: 49px; flex: 0 0 49px; place-items: center; border-radius: 15px; background: var(--mid-orange); }
.sm24-faq-benefit__icon svg { width: 29px; height: 29px; fill: none; stroke: var(--color-primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sm24-faq-benefit__icon .sm24-faq-24 { fill: var(--color-primary); stroke: none; font-size: 7px; font-weight: 900; }
.sm24-faq-browse { display: inline-flex; min-width: 235px; align-items: center; justify-content: center; gap: 18px; padding: 17px 27px; border-radius: 50px; background: var(--color-primary); box-shadow: 0 12px 24px var(--shadow-color); color: var(--color-white); font-size: var(--font-large); font-weight: 900; text-decoration: none; transition: transform .35s var(--sm24-ease), box-shadow .35s var(--sm24-ease); }
.sm24-faq-browse:hover { transform: translateY(-4px); box-shadow: 0 17px 30px var(--shadow-color); color: var(--color-white); }
.sm24-faq-browse svg { font-size: var(--font-25); transition: transform .35s var(--sm24-ease); }
.sm24-faq-browse:hover svg { transform: translateX(6px); }
.sm24-faq-hero__visual { position: relative; min-height: 501px; height: 100%; align-self: stretch; }
.sm24-faq-peach-blob { position: absolute; top: 5%; left: 8%; width: 83%; height: 88%; border-radius: 42% 48% 38% 45%; background: linear-gradient(135deg, var(--mid-orange), var(--border-plight)); opacity: .6; transform: rotate(-8deg); animation: sm24-faq-blob 8s ease-in-out infinite alternate; }
.sm24-faq-person { position: absolute; z-index: 3; bottom: 0; left: 12%; width: min(78%, 580px); max-height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 16px 18px var(--shadow-color)); animation: sm24-faq-person-rise .9s .12s both; }
.sm24-faq-question-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 13px; padding: 15px 20px; border-radius: 22px; background: var(--color-white); box-shadow: 0 14px 35px var(--shadow-color); color: var(--typo-secondary); font-size: var(--font-small); font-weight: 800; line-height: 1.45; animation: sm24-faq-float 5s ease-in-out infinite; }
.sm24-faq-question-mark { display: grid; width: 41px; height: 41px; flex: 0 0 41px; place-items: center; border-radius: 50%; color: var(--color-white); font-size: var(--font-large); box-shadow: inset 0 -3px 0 rgba(0,0,0,.08); }
.sm24-faq-question-mark--warm { background: var(--color-primary); }
.sm24-faq-question-mark--teal { background: var(--typo-primary); }
.sm24-faq-question-card--a { top: 8%; left: 4%; }
.sm24-faq-question-card--b { top: 32%; left: -5%; animation-delay: -1.7s; }
.sm24-faq-question-card--c { top: 4%; right: 1%; animation-delay: -.8s; }
.sm24-faq-question-card--d { top: 35%; right: -3%; animation-delay: -2.5s; }
.sm24-faq-big-question { position: absolute; z-index: 2; top: 19%; left: 67%; color: var(--color-primary); opacity: .85; font-size: clamp(90px, 8vw, 150px); line-height: 1; filter: drop-shadow(3px 5px 0 var(--border-plight)); transform: rotate(7deg); animation: sm24-faq-question-bob 3s ease-in-out infinite; }
.sm24-faq-spark { position: absolute; z-index: 4; color: var(--color-primary); font-size: var(--font-28); animation: sm24-faq-sparkle 2.5s ease-in-out infinite; }
.sm24-faq-spark--one { top: 5%; left: 2%; }
.sm24-faq-spark--two { top: 22%; left: 78%; animation-delay: .9s; }
.sm24-faq-hero__dots { position: absolute; z-index: -1; width: 100px; height: 80px; opacity: .55; background-image: radial-gradient(var(--color-primary) 1.6px, transparent 1.6px); background-size: 15px 15px; }
.sm24-faq-hero__dots--top { top: 7%; right: 2%; }
.sm24-faq-hero__dots--bottom { bottom: 8%; left: 3%; }
.sm24-faq-hero__orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.sm24-faq-hero__orb--left { top: 15%; left: -220px; width: 320px; height: 320px; background: var(--light-green-border); }
.sm24-faq-hero__orb--right { right: -250px; bottom: -150px; width: 420px; height: 420px; background: var(--light-green-border); }

/* ───────────────────────── FAQ SECTION ───────────────────────── */
.sm24-faq-content { padding: 70px 0 90px; background: var(--color-white); }
.sm24-faq-content svg { display: block; flex-shrink: 0; }


/* Results header */
.sm24-faq-results__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--color-strock); }
.sm24-faq-results__title { margin: 0; color: var(--typo-secondary); font-size: var(--font-28); font-weight: 800; line-height: 1.25; }
.sm24-faq-results__count { flex: 0 0 auto; padding: 6px 14px; border-radius: 20px; background: var(--mid-orange); color: var(--color-primary); font-size: var(--font-small); font-weight: 700; }

/* Groups + accordion */
.sm24-faq-results { min-height: 200px; }
.sm24-faq-group:not(:last-child) { margin-bottom: 40px; }
.sm24-faq-group__title { display: flex; align-items: center; gap: 14px; margin: 2px 0 18px; color: var(--typo-secondary); font-size: var(--font-large); font-weight: 800; line-height: 1.4; }
.sm24-faq-group__title::after { content: ''; height: 1px; flex: 1; background: var(--color-strock); }
.sm24-faq-group__title > span { width: 20px; height: 3px; flex: 0 0 20px; border-radius: 3px; background: var(--color-primary); }
.sm24-faq-questions { display: grid; gap: 12px; }

.sm24-faq-item {
  overflow: hidden;
  border: 1px solid var(--color-strock);
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: 0 2px 8px var(--bg-hover);
  animation: sm24-faq-rise .6s var(--sm24-ease) both;
  animation-delay: calc(var(--i, 0) * 60ms);
  transition: border-color .35s var(--sm24-ease), box-shadow .35s var(--sm24-ease), transform .35s var(--sm24-ease), background .35s var(--sm24-ease);
}
.sm24-faq-item:hover { border-color: var(--border-clight); box-shadow: 0 8px 22px var(--bg-hover); transform: translateY(-2px); }
.sm24-faq-item.is-open {
    border-color: var(--border-plight);
    background: var(--color-white);
    box-shadow: 0 12px 13px #ef731012;
    transform: none;
}
.sm24-faq-item__heading { margin: 0; font-size: inherit; }
.sm24-faq-item__button { display: flex; width: 100%; min-height: 64px; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px 16px 24px; border: 0; background: transparent; color: var(--typo-secondary); text-align: left; font-size: var(--font-large); font-weight: 700; line-height: 1.5; cursor: pointer; transition: color .3s var(--sm24-ease); }
.sm24-faq-item.is-open .sm24-faq-item__button,
.sm24-faq-item__button:hover { color: var(--color-primary); }
.sm24-faq-item__button:focus-visible { outline: 2px solid var(--typo-primary); outline-offset: -3px; border-radius: 14px; }
.sm24-faq-item__toggle { display: inline-flex; width: 34px; height: 34px; flex: 0 0 34px; align-items: center; justify-content: center; border: 1px solid var(--border-clight); border-radius: 50%; background: var(--color-white); color: var(--text-color); font-size: var(--font-large); transition: transform .45s var(--sm24-ease), background .3s var(--sm24-ease), border-color .3s var(--sm24-ease), color .3s var(--sm24-ease); }
.sm24-faq-item.is-open .sm24-faq-item__toggle { transform: rotate(135deg); border-color: var(--color-primary); background: var(--color-primary); color: var(--color-white); }

/* Smooth height animation: grid 0fr → 1fr (no JS measuring needed) */
.sm24-faq-item__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s var(--sm24-ease), visibility 0s linear .5s; }
.sm24-faq-item.is-open .sm24-faq-item__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .5s var(--sm24-ease), visibility 0s; }
.sm24-faq-item__panel-inner { min-height: 0; overflow: hidden; }
.sm24-faq-item__answer { padding: 0 24px 24px; color: var(--text-color); font-size: var(--font-regular); line-height: 1.75; opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .5s var(--sm24-ease); }
.sm24-faq-item.is-open .sm24-faq-item__answer { opacity: 1; transform: translateY(0); transition-delay: .1s; }

/* Empty state */
.sm24-faq-empty { display: grid; justify-items: center; gap: 12px; padding: 50px 30px; border: 1px dashed var(--border-clight); border-radius: 16px; background: var(--bg-light); color: var(--text-color); font-size: var(--font-regular); text-align: center; animation: sm24-faq-rise .5s var(--sm24-ease) both; }
.sm24-faq-empty svg { font-size: 42px; color: var(--color-primary); }
.sm24-faq-empty p { margin: 0; }

/* ───────────────────────── KEYFRAMES ───────────────────────── */
@keyframes sm24-faq-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sm24-faq-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes sm24-faq-person-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sm24-faq-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes sm24-faq-blob { from { transform: rotate(-8deg) scale(1); } to { transform: rotate(-3deg) scale(1.04); } }
@keyframes sm24-faq-question-bob { 0%,100% { transform: translateY(0) rotate(7deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes sm24-faq-sparkle { 0%,100% { opacity: .65; transform: scale(.9) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(18deg); } }

/* ───────────────────────── RESPONSIVE ───────────────────────── */
@media (min-width: 1600px) {
  .sm24-faq-person { width: 76%; }
}
@media (max-width: 1199.98px) {
  .sm24-faq-benefit { gap: 8px; margin-right: 10px; padding-right: 10px; font-size: var(--font-xs); }
  .sm24-faq-benefit__icon { width: 43px; height: 43px; flex-basis: 43px; }
  .sm24-faq-question-card { gap: 9px; padding: 12px 14px; font-size: var(--font-xs); }
  .sm24-faq-question-mark { width: 34px; height: 34px; flex-basis: 34px; font-size: var(--font-regular); }
  .sm24-faq-question-card--b { left: -1%; }
  .sm24-faq-question-card--d { right: -1%; }
  .sm24-faq-category { padding: 13px 12px; font-size: var(--font-regular); }
}
@media (max-width: 991.98px) {
  .sm24-faq-hero { min-height: 0; }
  .sm24-faq-brand { margin-top: 24px; }
  .sm24-faq-hero__row { min-height: 0; }
  .sm24-faq-hero__copy { padding: 42px 24px 15px; }
  .sm24-faq-hero__copy h1 { font-size: clamp(42px, 6vw, var(--font-60)); }
  .sm24-faq-hero__visual { min-height: 590px; margin-top: 10px; }
  .sm24-faq-person { width: min(72%, 500px); left: 14%; }
  .sm24-faq-question-card--a { left: 5%; top: 6%; }
  .sm24-faq-question-card--b { left: 10px; top: 34%; }
  .sm24-faq-question-card--c { right: 2%; top: 5%; }
  .sm24-faq-question-card--d { right: 10px; top: 36%; }
  .sm24-faq-big-question { left: 67%; top: 18%; font-size: 120px; }
  .sm24-faq-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .sm24-faq-hero__container { padding-right: 18px; padding-left: 18px; }
  .sm24-faq-brand { margin-top: 20px; font-size: 34px; letter-spacing: -1.5px; }
  .sm24-faq-hero__copy { padding: 35px 14px 10px; }
  .sm24-faq-eyebrow { gap: 7px; font-size: var(--font-xs); }
  .sm24-faq-eyebrow span { width: 17px; }
  .sm24-faq-hero__copy h1 { margin-bottom: 15px; font-size: clamp(36px, 9vw, 48px); letter-spacing: -1.5px; }
  .sm24-faq-hero__description { margin-bottom: 25px; font-size: var(--font-regular); }
  .sm24-faq-benefit { gap: 8px; margin: 0; padding: 0; border: 0; font-size: var(--font-xs); }
  .sm24-faq-benefit__icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
  .sm24-faq-benefit__icon svg { width: 24px; height: 24px; }
  .sm24-faq-browse { min-width: 200px; padding: 14px 21px; font-size: var(--font-regular); }
  .sm24-faq-hero__visual { min-height: 390px; width: calc(100% - 24px); margin: 28px auto 0; }
  .sm24-faq-peach-blob { top: 10%; left: 3%; width: 94%; height: 80%; }
  .sm24-faq-person { bottom: 0; left: 9%; width: 82%; }
  .sm24-faq-question-card { max-width: 174px; gap: 7px; padding: 9px 10px; border-radius: 14px; font-size: 10px; }
  .sm24-faq-question-mark { width: 28px; height: 28px; flex-basis: 28px; font-size: var(--font-small); }
  .sm24-faq-question-card--a { top: 4%; left: 0; }
  .sm24-faq-question-card--b { top: 21%; left: -1%; }
  .sm24-faq-question-card--c { top: 3%; right: 0; }
  .sm24-faq-question-card--d { top: 23%; right: -1%; }
    .sm24-faq-big-question {
        top: 38%;
        left: 18%;
        font-size: 85px;
    }
    .sm24-faq-spark--one {
        top: -5%;
    }
  .sm24-faq-spark { font-size: var(--font-large); }
  .sm24-faq-hero__dots--bottom { bottom: 3%; }
    .sm24-faq-spark--two {
        top: 35%;
    }
  .sm24-faq-content { padding: 40px 0 55px; }
  .sm24-faq-categories { grid-template-columns: 1fr; }
  .sm24-faq-results__head { flex-wrap: wrap; }
  .sm24-faq-results__title { font-size: var(--font-24); }
  .sm24-faq-group:not(:last-child) { margin-bottom: 30px; }
  .sm24-faq-group__title { font-size: var(--font-base); }
  .sm24-faq-item__button { min-height: 58px; gap: 12px; padding: 14px 14px 14px 16px; font-size: var(--font-regular); }
  .sm24-faq-item__toggle { width: 30px; height: 30px; flex-basis: 30px; }
  .sm24-faq-item__answer { padding: 0 16px 18px; font-size: var(--font-small); }
}
@media (prefers-reduced-motion: reduce) {
  .sm24-faq-hero *, .sm24-faq-hero *::before, .sm24-faq-hero *::after,
  .sm24-faq-content *, .sm24-faq-content *::before, .sm24-faq-content *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}