.card-sec {
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 3vw, 2.5rem);
}

.card-sec__inner {
  display: grid;
  grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 72rem;
  width: 100%;
  margin-inline: auto;
}

.card-sec__title {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.card-sec__sub {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- Accordion ---- */

.card-sec__acc {
  margin-top: 2rem;
  padding: 0.5rem 1.15rem;
  border-radius: 1.25rem;
  background: var(--surface);
}

.acc + .acc {
  border-top: 1px solid var(--line);
}

.acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.05rem 0.15rem;
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}

.acc.is-open .acc__head {
  color: var(--ink);
}

@media (hover: hover) {
  .acc__head:hover {
    color: var(--ink);
  }
}

.acc__icon {
  position: relative;
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
  color: var(--accent);
}

.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.3s ease;
}

.acc__icon::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.acc__icon::after {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.acc.is-open .acc__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.acc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.acc.is-open .acc__body {
  grid-template-rows: 1fr;
}

.acc__body-inner {
  overflow: hidden;
}

.acc__text {
  padding: 0 0.15rem 1.15rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- Visual side ---- */

.card-sec__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.9;
}

.card-sec__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(0.6rem);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.card-sec__slide.is-active {
  opacity: 1;
  transform: none;
}

.card-sec__img {
  max-width: 68%;
  max-height: 84%;
  object-fit: contain;
  animation: card-float 5.5s ease-in-out infinite;
}

@keyframes card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-sec__img {
    animation: none;
  }
}

@media (max-width: 56rem) {
  .card-sec__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .card-sec__stage {
    order: -1;
    max-width: 26rem;
    margin-inline: auto;
  }
}
