/* ==========================================================================
   Section-specific styles continued
   ========================================================================== */

/* ---------- Section: Features (РџСЂРµРёРјСѓС‰РµСЃС‚РІР°) ---------- */
.features {
  background: var(--c-bg-grey);
  padding: 0px 0 100px;
  min-height: 900px;
}
.features__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 60px;
  align-items: start;
  border-top: 1px solid var(--c-border);
  padding-top: 60px;
}
.features__head .section-title {
  margin: 0;
  font-size: 48px;
  color: #191e24;
}
.features__head div {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.feature-row.is-open {
  opacity: 1;
}
.features__head div p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--c-text-muted);
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 460px;
}
.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.features__visual {
  position: relative;
  min-height: 540px;
  height: 540px;
  display: flex;
  align-items: flex-start;
  padding: 40px 48px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
}

/* Background image layers for crossfade (with parallax-friendly bg-position) */
.fv-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center calc(50% + var(--fv-bg-y, 0px));
  background-repeat: no-repeat;
  background-image: none;
  transition: opacity 0.55s ease;
  will-change: background-position;
  z-index: 1;
}
.fv-bg--a {
  background-image: url('../assets/img/feature-img.jpg');
}
.fv-bg--b {
  opacity: 0;
  z-index: 2;
}

.features__visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

/* Text and other children above overlay — excludes bg layers */
.features__visual > :not(.fv-bg) { position: relative; z-index: 4; }

/* Visual text with fade transition */
.features__visual-text {
  transition: opacity 0.3s ease;
}
.features__visual-text.is-fading {
  opacity: 0;
}
.features__visual h3 {
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 560px;
  margin: 0;
}
.features__list {
  background: var(--c-bg-grey);
  display: flex;
  flex-direction: column;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 40px 48px;
  border-top: 1px solid var(--c-border);
  align-items: start;
  cursor: pointer;
  opacity: 0.5;
  position: relative;
  transition: opacity 0.35s ease;
}
.feature-row:last-child {
  border-bottom: 1px solid var(--c-border);
}
.feature-row__num {
  font-size: 18px;
  font-weight: 400;
  color: var(--c-red);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  align-self: flex-start;
}
.feature-row__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-row__content h3 {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin: 0;
  color: #191e24;
}
.feature-row__content p {
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-text-muted);
  letter-spacing: -0.01em;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.45s ease;
}
.feature-row.is-open {
  opacity: 1;
}
.feature-row.is-open .feature-row__content p {
  max-height: 200px;
  opacity: 1;
  margin-top: 80px;
}

/* ---------- Features mobile slider ---------- */
.features-slider {
  display: none; /* shown via responsive.css at ≤1280px */
}
.features-slider__wrap {
  /* overflow visible — section clips via overflow:hidden */
}
.features-slider__track {
  display: flex;
  will-change: transform;
}
.feature-slide {
  flex: 0 0 calc(100vw - var(--gutter, 28px) - 40px);
  max-width: 500px;
  display: flex;
  flex-direction: column;
  cursor: grab;
}
.feature-slide:last-child {
  border-right: 1px solid var(--c-border);
}
.feature-slide:active { cursor: grabbing; }

.feature-slide__visual {
  position: relative;
  height: 420px;
  margin-bottom: -42px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
}
.feature-slide__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}
.feature-slide__vtext {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0;
  padding: 28px 24px;
}
.feature-slide__body {
  padding: 66px 24px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  flex: 1;
  border-left: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.feature-slide__content h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.2;
  color: var(--c-text);
}
.feature-slide__content p {
  font-size: 16px;
  line-height: 1.45;
  color: var(--c-text-muted);
  margin: 0;
}
.feature-slide__num {
  font-size: 18px;
  font-weight: 400;
  color: var(--c-red);
  letter-spacing: -0.01em;
  padding-top: 3px;
}


.numbers {
  background: var(--c-bg-grey);
  padding: 80px 0 0;
}
.numbers .section-tag {
  margin-bottom: 50px;
}
.numbers__lead {
  margin-bottom: 60px;
}
.numbers__lead p {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -5%;
  color: var(--c-text);
  margin: 0;
}
.numbers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--c-border);
}
.num-card {
  padding: 60px 0 60px 0;
  border-bottom: 1px solid var(--c-border);
}
.num-card:nth-child(odd) {
  padding-right: 48px;
  border-right: 1px solid var(--c-border);
}
.num-card:nth-child(even) {
  padding-left: 48px;
}
.num-card:nth-child(3),
.num-card:nth-child(4) {
  border-bottom: none;
  padding-bottom: 80px;
}
.num-card__big {
  font-weight: 400;
  font-size: 72px;
  line-height: 0.7;
  letter-spacing: -0.04em;
  margin: 0 0 48px;
  color: var(--c-text);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.num-card__big .unit {
  font-size: 16px;
  color: var(--c-text-muted);
  font-weight: 400;
}
.num-card__label {
  font-size: 18px;
  color: var(--c-text-muted);
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.num-card__lead p {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -5%;
  color: var(--c-text);
  margin: 0;
}

/* ---------- Section: Calculator block ---------- */
.calc {
  background: var(--c-bg-grey);
  padding: 0 0 196px;
}
.calc__inner {
  position: relative;
  color: #fff;
  min-height: 540px;
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  --calc-bg-y: 0px;
}
.calc__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/calc-bg-steps.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center calc(50% + var(--calc-bg-y, 0px));
  will-change: background-position;
  z-index: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20%), calc(100% - 40%) 100%, 0 100%);
}
.calc__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.25) 70%
  );
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20%), calc(100% - 40%) 100%, 0 100%);
}
.calc__title-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 228px;
  height: 100%;
  justify-content: space-between;
  padding-top: 0;
}
.calc__inner .section-tag {
  color: #fff;
  margin-bottom: 0;
}
.calc__inner .section-tag::before {
  border-left-color: var(--c-bg-light);
}
.calc__title {
  font-weight: 500;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
  color: #fff;
}
.calc__title .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-red);
  vertical-align: 4px;
  margin: 0 6px;
}
.calc__title .pill img {
  width: 28px;
  height: 28px;
}

/* ---------- Calculator widget (right side card / popup) ---------- */
.calculator-widget {
  background: #fff;
  color: var(--c-text);
  padding: 40px;
  position: relative;
  z-index: 2;
  width: 540px;
  position: absolute;
  right: 112px;
  top: 80px;
}
.calculator-widget__title {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}
.calculator-widget__lead {
  font-size: 18px;
  color: var(--c-text-muted);
  line-height: 1.4;
  margin: 0 0 24px;
}
.calc-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 17px;
}
.calc-progress span {
  height: 2px;
  background: var(--c-divider);
}
.calc-progress span.is-active {
  background: var(--c-red);
}
.calculator-widget__step-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.calculator-widget__step-row h3 {
  font-weight: 500;
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.02em;
}
.calculator-widget__step-row .step {
  font-size: 16px;
  color: var(--c-text-muted);
}
.calculator-widget__opts {
  display: flex;
  flex-direction: column;
}
.calc-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border-light);
  cursor: pointer;
  position: relative;
}
.calc-opt input {
  display: none;
}
.calc-opt__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #08090a;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  flex: 0 0 36px;
  transition: background-color 0.2s ease;
}
.calc-opt__label {
  font-size: 18px;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.calc-opt:hover .calc-opt__letter,
.calc-opt.is-selected .calc-opt__letter {
  background: var(--c-red);
}
.calc-opt:hover .calc-opt__label,
.calc-opt.is-selected .calc-opt__label {
  color: var(--c-red);
}
.calc-opt.is-selected::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  transform: rotate(135deg);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 12px solid var(--c-red);
}

.calculator-widget .btn {
  margin-top: 24px;
  width: 100%;
  position: relative;
  padding: 16px 16px 16px;
  flex-direction: column-reverse;
  align-items: start;
}
.calculator-widget .btn::after {
  background: url("../assets/icons/arrow-up-right.svg") center/contain no-repeat;
  width: 22px;
  align-self: start;
  height: 22px;
}

/* ---------- Steps (РџРѕСЂСЏРґРѕРє СЂР°Р±РѕС‚С‹) ---------- */
.steps {
  background: var(--c-bg-grey);
  padding: 100px 0 0;
}
.steps .container {
  padding-bottom: 60px;
  border-bottom: 1px solid #E0DFDE;
}
.steps__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.steps__heading {
  max-width: 560px;
  align-self: start;
}
.steps__heading h2 {
  margin: 0 0 40px;
  font-size: 60px;
}
.steps__heading p {
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-text-muted);
  letter-spacing: -2%;
  margin: 0;
}
.steps__list {
  display: flex;
  flex-direction: column;
}
.step-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  padding: 32px 0;
  border-bottom: 1px solid var(--c-border);
  align-items: start;
}
.step-item:first-child {
  border-top: 1px solid var(--c-border);
}
.step-item:last-child {
  border-bottom: none;
}
.step-item__num {
  font-size: 18px;
  font-weight: 500;
  color: var(--c-red);
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 10px;
}
.step-item__num::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px; /* РџСЂРёР¶РёРјР°РµРј Рє РІРµСЂС…РЅРµРјСѓ РєСЂР°СЋ, РµСЃР»Рё РЅСѓР¶РЅРѕ РєР°Рє РЅР° С„РѕС‚Рѕ */
  width: 0;
  height: 0;
  border-top: 10px solid var(--c-red);
  border-right: 10px solid transparent;
}
.step-item__body {
  display: flex;
  flex-direction: column;
}
.step-item__body h3 {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0;
  margin-bottom: 8px;
}
.step-item__body p {
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-text-muted);
  letter-spacing: -0.01em;
  margin: 0;
}
.step-item__body .btn--ghost {
  align-self: flex-start;
  border-bottom: 2px dashed;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  margin-top: 16px;
}

/* ---------- Garant section ---------- */
.garant {
  position: relative;
  background: var(--c-bg-grey);
  color: var(--c-text);
  padding: 182px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.garant__left {
  display: flex;
  flex-direction: column;
  transform: translateY(-90px);
}
.garant .section-tag {
  color: var(--c-red);
  margin-bottom: 40px;
}
.garant__title {
  font-weight: 500;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--c-text);
}
.garant__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.garant__bg {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: url("../assets/img/garant-bg.png") left top/cover no-repeat;
  z-index: -1;
  
  /* РћР±СЂРµР·Р°РµРј РїСЂР°РІС‹Р№ РЅРёР¶РЅРёР№ СѓРіРѕР» */
clip-path: polygon(
    0 0, 
    100% 0, 
    100% 80%, 
    0 100%
  );
}

.garant-card {
  background: #fff;
  color: var(--c-text);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  min-height: 274px;
  position: relative;
  border: 0;
}
.garant-card--empty {
  background: transparent;
  min-height: auto;
  padding: 0;
}
.garant-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--c-red);
  margin-bottom: 58px;
}
.garant-card__icon img,
.garant-card__icon svg {
  width: 40px;
  height: 40px;
}
.garant-card h3 {
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--c-text);
  margin-bottom: 8px;
}
.garant-card p {
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-text-muted);
  letter-spacing: -0.01em;
  margin: 0;
}
.garant-card--cta {
  background: var(--c-red);
  color: #fff;
  /* bottom-right cut */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 36px),
    calc(100% - 36px) 100%,
    0 100%
  );
}
.garant-card--cta h3 {
  color: #fff;
}
.garant-card--cta p {
  color: rgba(255, 255, 255, 0.92);
}
.garant-card--cta .btn--ghost {
  color: #fff;
  border-bottom: 1px dashed #fff;
  margin-top: auto;
  align-self: flex-start;
  font-weight: 500;
font-size: 18px;
}

/* ---------- Portfolio ---------- */
.portfolio {
  background: var(--c-bg-grey);
  padding: 120px 0 80px;
}
.portfolio .section-tag {
  margin-bottom: 40px;
}
.portfolio__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 60px;
}
.portfolio__head .section-title {
  margin-bottom: 0;
}
.carousel-nav {
  display: flex;
  gap: 12px;
}
.carousel-nav button {
  width: 42px;
  height: 60px;
  background: var(--c-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.carousel-nav button:hover {
  background: var(--c-red-hover);
}
.carousel-nav button svg {
  width: 16px;
  height: 16px;
}
.carousel-nav button img {
  width: 16px;
  height: 16px;
}

.carousel-wrap {
  overflow: hidden;
  padding-bottom: 1px;
}
.carousel-track {
  display: grid;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.portfolio__grid {
  grid-template-columns: repeat(4, 50%);
}
.case-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #1c1c1c;
  cursor: pointer;
}
.case-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}
.case-card__body {
  position: absolute;
  inset: 0;
  padding: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.case-card__title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 60%;
}

/* shared: case pin list with vertical dotted connector between markers */
.case-pins {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-self: flex-start;
  position: relative;
}
.case-pins .case-pin {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #fff;
  padding: 0;
  position: relative;
}
.case-pins .case-pin + .case-pin::before {
  content: "";
  position: absolute;
  color: #FA4332;
  left: 17px;
  top: -30px;
  width: 2px;
  height: 30px;
  background-image: linear-gradient(
    to bottom,
    currentColor 50%,
    transparent 50%
  );
  background-size: 2px 4px;
  background-repeat: repeat-y;
  opacity: 0.85;
}
.case-pin__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--c-red);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.case-pin__label {
  color: #fff;
}

/* ---------- Reviews ---------- */
.reviews {
  background: var(--c-bg-grey);
  padding: 80px 0;
}
.reviews__section-tag {
  margin-bottom: 40px;
}
.reviews__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 60px;
}
.reviews__head .section-title {
  margin-bottom: 0;
}
.reviews__grid {
  grid-template-columns: repeat(3, calc(100% / 3));
  gap: 0;
}
.review-card {
  padding: 32px 36px;
  border: 1px solid #E0DFDE;
  border-left: none; /* JS restores border-left on the first visible card only */
  background: transparent;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  max-height: 385px;
}
/* border-left removed вЂ” infinite clone carousel breaks nth-child selectors */
.review-card__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.review-card__name-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-card__name {
  font-size: 18px;
  font-weight: 500;
  color: var(--c-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.review-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  color: var(--c-red);
}
.review-card__rating::before {
  content: "★";
  color: var(--c-red);
  font-size: 24px;
  line-height: 0.7;
}
.review-card__role {
  font-size: 16px;
  color: var(--c-text-muted);
  letter-spacing: -0.01em;
}
.review-card__text {
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-text);
  margin: 0;
  letter-spacing: -5%;
  max-height: 200px;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-bottom: 24px;
}
.review-card__more {
  font-size: 18px;
  font-weight: 500;
  color: var(--c-text-muted);
  border-bottom: 2px dashed var(--c-text-muted);
  align-self: flex-start;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--c-bg-grey);
  padding: 80px 0 160px;
}
.faq.section-tag {
  margin-bottom: 40px;
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.faq__left {
  display: flex;
  flex-direction: column;
}
.faq__left .section-title {
  margin: 0;
  font-size: 48px;
}

.faq__cta {
  background: var(--c-red);
  color: #fff;
  padding: 28px 32px;
  width: 360px;
  position: relative;
  margin-top: 195px;
  /* bottom-right cut */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 42px),
    calc(100% - 42px) 100%,
    0 100%
  );
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}
.faq__cta h3 {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin: 0;
  color: #fff;
  margin-bottom: 8px;
}
.faq__cta p {
  font-size: 18px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  margin-bottom: 57px;
}
.faq__cta .btn--ghost {
  color: #fff;
  border-bottom: 2px dashed #fff;
  align-self: flex-start;
  font-size: 18px;
  font-weight: 500;
}
.faq__items {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--c-border);
  padding: 32px 0;
}
.faq-item:first-child {
  border-top: 1px solid var(--c-border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  cursor: pointer;
  gap: 24px;
  color: var(--c-text);
}
.faq-item__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-red);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}
.faq-item__q {
  cursor: pointer;
}
.faq-item__btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--c-red);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.is-open .faq-item__btn::after {
  transform: rotate(180deg);
}
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  padding-top: 0;
  max-width: 600px;
  color: var(--c-text);
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding-top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease 0.05s;
}
.faq-item__a-inner {
  min-height: 0;
}
.faq-item.is-open .faq-item__a {
  grid-template-rows: 1fr;
  padding-top: 14px;
  opacity: 1;
}
