/*
 * transformation.css — 45 Years section (navy background, organic circle right)
 */

.section-transformation {
  background: var(--color-navy);
  color: var(--color-off-white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.transformation-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  gap: 64px;
  align-items: center;
  max-width: 1160px;
  margin-inline: auto;
}

.transformation-visual {
  display: flex;
  justify-content: flex-end;
}

.transformation-photo-wrap {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
}

.transformation-photo-frame {
  width: 100%;
  height: 100%;
  border-radius: 47% 53% 52% 48% / 48% 47% 53% 52%;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.28),
    0 8px 24px rgba(0, 0, 0, 0.12);
  border: 5px solid rgba(255, 255, 255, 0.12);
  outline: 1px solid rgba(255, 255, 255, 0.08);
}

/* Crop centered on the phone screen in the photo */
.transformation-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  transform: scale(1.45);
  transform-origin: 50% 32%;
}

.transformation-headline {
  margin: 0 0 28px;
  color: var(--color-off-white);
  line-height: 1.15;
}

.transformation-body {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.75;
  color: rgba(250, 249, 246, 0.88);
  margin: 0 0 20px;
  max-width: 640px;
}

.transformation-body:last-of-type {
  margin-bottom: 32px;
}

.transformation-cta {
  display: inline-flex;
}

@media (max-width: 900px) {
  .transformation-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .transformation-visual {
    justify-content: center;
    order: -1;
  }

  .transformation-photo-wrap {
    margin-inline: auto;
    width: min(100%, 280px);
  }

  .transformation-text {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .section-transformation {
    padding: 72px 0;
  }

  .transformation-photo-wrap {
    width: min(100%, 260px);
  }

  .transformation-photo {
    object-position: 50% 30%;
    transform: scale(1.5);
    transform-origin: 50% 30%;
  }

  .transformation-body {
    font-size: 18px;
  }
}
