/**
 * @file
 * About section styles.
 * Two-column layout with visual and content sides.
 */

.re-about {
  background-color: var(--re-white);
}

.re-about__image-wrapper {
  position: relative;
  border-radius: var(--re-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: #fff;
  max-width: 420px;
  margin: 0 auto;
}

.re-about__image-wrapper img,
.re-about__image-wrapper svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.re-about__experience {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background-color: var(--re-red);
  color: var(--re-white);
  padding: 1.5rem 2rem;
  border-radius: 0;
  text-align: center;
  box-shadow: var(--re-shadow-xl);
}

.re-about__experience-number {
  display: block;
  font-family: var(--re-font-heading);
  font-size: var(--re-text-4xl);
  font-weight: 700;
  line-height: 1;
}

.re-about__experience-text {
  display: block;
  font-family: var(--re-font-body);
  font-size: var(--re-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--re-tracking-wide);
  margin-top: 0.375rem;
  white-space: nowrap;
}

.re-about__content .re-section-tag {
  margin-bottom: var(--re-space-md);
}

.re-about__content .re-section-title {
  margin-bottom: var(--re-space-md);
}

.re-about__text {
  font-size: var(--re-text-base);
  color: var(--re-gray-500);
  line-height: var(--re-leading-relaxed);
  margin-bottom: var(--re-space-md);
}

.re-about__values {
  display: flex;
  flex-direction: column;
  gap: var(--re-space-md);
  margin-top: var(--re-space-xl);
}

.re-about__value {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.re-about__value svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.re-about__value h4 {
  font-family: var(--re-font-heading);
  font-size: var(--re-text-lg);
  font-weight: 600;
  color: var(--re-black);
  margin-bottom: 0.25rem;
  line-height: var(--re-leading-snug);
}

.re-about__value p {
  font-size: var(--re-text-sm);
  color: var(--re-gray-400);
  margin: 0;
  line-height: var(--re-leading-normal);
}

@media (max-width: 1024px) {
  .re-about__experience {
    right: 1rem;
    bottom: 1rem;
  }
}
