/* ============================================================
   WHY AVATAR STUDIO — Avatar Studio
   Layout 2 coloane: imagine stânga (cu cadru offset + badge),
   text + 4 puncte cheie cu icon dreapta.
   ============================================================ */

/* ── Layout 2 coloane ──────────────────────────────────────── */
/* Coloana de imagine e ușor mai lată (~55/45) pentru o imagine mai prezentă,
   consecvent cu direcția aplicată în celelalte secțiuni text+imagine. */
.why__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

/* ── Coloana imagine ───────────────────────────────────────── */
.why__media {
  position: relative;
}

.why__img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.why__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  max-height: 70vh;
  border-radius: var(--radius);
  display: block;
  position: relative;
  z-index: 1;
  filter: brightness(0.92);
  transition: filter var(--transition-slow);
}

.why__media:hover .why__img {
  filter: brightness(1);
}

/* Cadru decorativ auriu offset față de imagine */
.why__img-frame {
  position: absolute;
  top: 20px;
  left: -20px;
  right: 20px;
  bottom: -20px;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: var(--radius);
  z-index: 0;
  transition: transform var(--transition-slow);
}

.why__media:hover .why__img-frame {
  transform: translate(-4px, 4px);
}

/* Badge floating cu cifra-cheie */
.why__badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: 8px;
}

.why__badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.why__badge-text {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.7);
  line-height: 1.3;
  margin-top: 3px;
}

/* ── Coloana text ──────────────────────────────────────────── */
.why__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why__header {
  /* Fără text-align: center — e aliniat stânga */
}

.why__header h2 {
  margin-bottom: 16px;
}

.why__intro {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  max-width: 480px;
}

/* ── Lista de puncte ───────────────────────────────────────── */
.why__points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.why__point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color var(--transition),
    background-color var(--transition);
}

.why__point:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  background-color: rgba(var(--accent-rgb), 0.04);
}

/* Icon rotund auriu */
.why__point-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background-color: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  color: var(--accent);
  transition:
    background-color var(--transition),
    border-color var(--transition);
}

.why__point:hover .why__point-icon {
  background-color: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.45);
}

.why__point-text {
  flex: 1;
  min-width: 0;
}

.why__point-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.why__point-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Butoane CTA ───────────────────────────────────────────── */
.why__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .why__inner {
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 64px);
  }

  /* Imagine deasupra, limitată în lățime */
  .why__media {
    max-width: 480px;
    margin-inline: auto;
  }

  .why__img {
    aspect-ratio: 3 / 2;
  }

  .why__img-frame {
    display: none; /* cadrul offset e prea mare pe mobile */
  }

  .why__badge {
    bottom: -12px;
    right: 12px;
    width: 80px;
    height: 80px;
  }

  .why__badge-number {
    font-size: 1.3rem;
  }
}

@media (max-width: 560px) {
  .why__point {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .why__cta {
    flex-direction: column;
  }

  .why__cta .btn {
    width: 100%;
    justify-content: center;
  }
}
