/* Our Purpose Page - Redesign May 2026 */
/* Design tokens from Figma */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
  --op-font-family: 'Inter', 'Autonation Regular', sans-serif;
  --op-color-heading: var(--text-heading);
  --op-color-body: var(--text-copy);
  --op-color-bg-primary: var(--bg-light-theme-absolute);
  --op-color-bg-secondary: var(--gray-50);
  --op-color-pink-600: var(--pink-600);
  --op-color-purple-600: #8e1277;
  --op-color-border-light: var(--gray-200);
  --op-radius-md: 16px;
  --op-spacing-max: 80px;
  --op-spacing-3xl: 40px;
  --op-spacing-2xl: 32px;
  --op-spacing-xl: 24px;
  --op-spacing-lg: 16px;
  --op-spacing-md: 12px;
  --op-spacing-sm: 8px;
  --op-max-width: 1680px;
}

/* Reset for MLP container */
.mlp-container {
  margin-top: 0 !important;
}

.op-page {
  font-family: var(--op-font-family);
  color: var(--op-color-heading);
  line-height: 1.5;
}

/* ===== HERO SECTION ===== */
.op-hero {
  background: var(--op-color-bg-primary);
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.op-hero__container {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: var(--op-max-width);
  width: 100%;
}

.op-hero__content {
  flex: 0 0 522px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 0;
}

.op-hero__title {
  font-weight: 700;
  font-size: 60px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--op-color-heading);
  margin: 0;
}

.op-hero__subtitle {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--op-color-heading);
  margin: 0;
}

.op-hero__description {
  font-family: 'Autonation Light';
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: var(--op-color-body);
  margin: 0;
}

.op-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  padding: 0 48px;
  border-radius: 360px;
  background: linear-gradient(57deg, var(--op-color-pink-600) 48.5%, #af1370 89.5%, var(--op-color-purple-600) 115%);
  color: white;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  text-decoration: none;
  max-width: 480px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.op-hero__cta:hover {
  opacity: 0.9;
  transform: scale(1.02);
  color: white;
  text-decoration: none;
}

.op-hero__image {
  flex: 1;
  min-width: 0;
}

.op-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Scroll indicator */
.op-hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 30px;
  border: 1.25px solid var(--border-dark-2);
  border-radius: 50px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5px;
}

.op-hero__scroll-dot {
  width: 4px;
  height: 4px;
  background: var(--text-heading);
  border-radius: 50px;
  animation: scroll-bounce 1.5s infinite;
}

@keyframes scroll-bounce {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ===== PILLARS SECTION ===== */
.op-pillars {
  background: var(--op-color-bg-secondary);
  padding: 56px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.op-pillars__container {
  max-width: var(--op-max-width);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.op-pillars__header {
  text-align: center;
  max-width: 714px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.op-pillars__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.op-eyebrow {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--op-color-heading);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--op-color-border-light);
  display: inline-block;
  width: fit-content;
  max-width: 100%;
}

.op-program__info .op-eyebrow {
  align-self: flex-start;
}

.op-pillars__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--op-color-heading);
  margin: 0;
}

.op-pillars__description {
  font-family: 'Autonation Light';
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--op-color-body);
  margin: 0;
}

.op-pillars__diagram {
  width: 100%;
  max-width: 920px;
  position: relative;
}

.op-pillars__diagram img {
  width: 100%;
  height: auto;
  display: block;
}

/* Pillar labels - removed, diagram image contains them */

/* ===== SIGNATURE PROGRAMS ===== */
.op-programs {
  padding: 56px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.op-programs__title {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -0.96px;
  color: var(--op-color-heading);
  text-align: center;
  margin: 0;
}

/* Program section (shared layout) */
.op-program {
  max-width: var(--op-max-width);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 80px;
}

.op-program--reversed {
  flex-direction: row-reverse;
}

.op-program__content {
  flex: 0 0 auto;
  max-width: 504px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.op-program__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.op-program__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.op-program__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--op-color-heading);
  margin: 0;
}

.op-program__description {
  font-family: 'Autonation Light';
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--op-color-body);
  margin: 0;
  max-width: 464px;
}

.op-program__image {
  flex: 1;
  min-width: 0;
}

.op-program__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--op-radius-md);
  display: block;
}

/* Partner logos */
.op-program__logos {
  width: 100%;
  max-width: 476px;
}

.op-program__logos img {
  width: 100%;
  height: auto;
  display: block;
}

/* Stats cards */
.op-stats {
  display: flex;
  gap: 16px;
  width: 100%;
}

.op-stat {
  flex: 1;
  background: white;
  border: 1px solid var(--op-color-border-light);
  border-radius: var(--op-radius-md);
  padding: 16px;
}

.op-stat__value {
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.68px;
  background: linear-gradient(to right, var(--op-color-pink-600), var(--op-color-purple-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.op-stat__label {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--op-color-heading);
  margin: 4px 0 0;
}

/* DRV PNK specific - has right column with image + stats */
.op-program--health .op-program__right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ===== RESPONSIVE ===== */

/* Mobile / SM Devices (< 1024px) */
@media screen and (max-width: 1023px) {
  .op-hero {
    padding: 40px 40px 80px 40px;
  }

  .op-hero__container {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .op-hero__content {
    flex: none;
    width: 100%;
    max-width: none;
    gap: 16px;
    text-align: center;
    align-items: center;
    padding: 0px;
  }

  .op-hero__heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .op-hero__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .op-hero__title {
    font-size: 32px;
    letter-spacing: -0.64px;
  }

  .op-hero__subtitle {
    font-size: 16px;
  }

  .op-hero__description {
    font-size: 14px;
  }

  .op-hero__cta {
    width: auto;
    max-width: none;
    height: 48px;
    font-size: 14px;
    padding: 0 32px;
  }

  .op-hero__image {
    width: 100%;
  }

  .op-hero__scroll {
    display: none;
  }

  .op-pillars {
    padding: 24px 40px;
  }

  .op-pillars__container {
    gap: 24px;
  }

  .op-pillars__title {
    font-size: 20px;
    letter-spacing: -0.4px;
  }

  .op-pillars__description {
    font-size: 14px;
  }

  .op-programs {
    padding: 24px 40px;
    gap: 40px;
  }

  .op-programs__title {
    font-size: 32px;
    letter-spacing: -0.64px;
  }

  .op-program {
    flex-direction: column !important;
    gap: 24px;
  }

  .op-program__content {
    max-width: none;
    width: 100%;
    gap: 24px;
    order: 1;
  }

  .op-program__image {
    width: 100%;
    order: 2;
  }

  .op-program--health .op-program__right {
    order: 2;
  }

  .op-program--health .op-program__content {
    order: 1;
  }

  /* Flatten the Health section layout on mobile for correct order:
     info → stats → image → logos */
  .op-program.op-program--health {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 24px;
    flex-direction: unset !important;
  }

  .op-program.op-program--health > .op-program__content {
    display: contents;
  }

  .op-program.op-program--health > .op-program__right {
    display: contents;
  }

  .op-program.op-program--health .op-program__info {
    order: 1;
  }

  .op-program.op-program--health .op-stats {
    order: 2;
  }

  .op-program.op-program--health .op-program__right .op-program__image {
    order: 3;
  }

  .op-program.op-program--health .op-program__logos {
    order: 4;
  }

  .op-program__title {
    font-size: 20px;
    letter-spacing: -0.4px;
  }

  .op-program__description {
    font-size: 14px;
  }

  .op-program__image img {
    height: 193px;
    width: 100%;
    border-radius: 12px;
  }

  .op-stats {
    flex-direction: column;
  }

  .op-stat__value {
    font-size: 40px;
    letter-spacing: -0.8px;
  }

  .op-stat__label {
    font-size: 16px;
  }

  .op-eyebrow {
    font-size: 12px;
  }
}

/* Extra small / XS Devices (< 768px) */
@media screen and (max-width: 767px) {
  .op-hero {
    padding: 24px 24px;
  }

  .op-hero__content {
    text-align: left;
    align-items: flex-start;
    gap: 4px;
  }

  .op-hero__cta {
    width: 100%;
    padding: 0 24px;
  }

  .op-hero__scroll {
    display: none;
  }

  .op-pillars {
    padding: 24px 24px;
  }

  .op-pillars__header {
    text-align: left;
    align-items: flex-start;
  }

  .op-programs {
    padding: 24px 24px;
  }

  .op-stats {
    flex-direction: column;
  }
}

/* SM Devices (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .op-hero__content {
    width: 100%;
    max-width: 688px;
    gap: 16px;
  }

  .op-hero__heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .op-hero__body {
    gap: 16px;
  }

  .op-hero__cta-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .op-hero__title {
    font-size: 40px;
    letter-spacing: -0.8px;
  }

  .op-hero__subtitle {
    font-size: 24px;
  }

  .op-hero__description {
    font-size: 16px;
    max-width: 500px;
  }

  .op-hero__cta {
    width: 100%;
    max-width: 208px;
    height: 56px;
    font-size: 16px;
  }

  .op-hero__image {
    width: 100%;
    max-width: 688px;
  }

  .op-hero__scroll {
    display: flex;
    bottom: 16px;
  }

  .op-pillars__header {
    max-width: 520px;
  }

  .op-stats {
    flex-direction: row;
  }
}

/* MD Devices (1024px - 1439px) */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  .op-hero {
    padding: 64px 40px;
  }

  .op-hero__container {
    gap: 40px;
  }

  .op-hero__content {
    flex: 0 0 398px;
  }

  .op-hero__title {
    font-size: 40px;
  }

  .op-hero__subtitle {
    font-size: 20px;
  }

  .op-hero__description {
    font-size: 16px;
  }

  .op-hero__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .op-hero__cta {
    height: 48px;
    font-size: 16px;
    padding: 0 32px;
  }

  .op-hero__image {
    flex: 1;
  }

  .op-pillars {
    padding: 56px 80px;
  }

  .op-programs {
    padding: 40px 40px;
    gap: 56px;
  }

  .op-program {
    gap: 40px;
  }

  .op-program__content {
    flex: 0 0 454px;
    max-width: 454px;
  }

  .op-program__image {
    flex: 1;
    min-width: 0;
  }

  .op-program__image img {
    height: 340px;
  }

  .op-program__title {
    font-size: 32px;
  }
}

/* Desktop / LG Devices (>= 1440px) */
@media screen and (min-width: 1440px) {
  .op-hero__content {
    gap: 16px;
  }

  .op-hero__heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .op-hero__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .op-pillars__header {
    gap: 12px;
  }

  .op-pillars__copy {
    gap: 8px;
  }

  .op-program--health .op-program__info {
    gap: 12px;
  }

  .op-program--health .op-program__copy {
    gap: 8px;
  }

  .op-program--reversed .op-program__info {
    gap: 12px;
  }

  .op-program--reversed .op-program__copy {
    gap: 8px;
  }

  .op-program--education .op-program__copy {
    gap: 8px;
  }
}
