.about-page {
  color: var(--text-primary);
}

.about-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(500px, 68vh, 680px);
  overflow: hidden;
  border-radius: var(--radius-section);
  background-color: var(--text-primary);
}

.about-hero > img,
.about-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-hero > img {
  object-fit: cover;
  object-position: center 42%;
}

.about-hero__shade {
  background:
    linear-gradient(
      100deg,
      rgba(28, 10, 48, 0.72) 0%,
      rgba(40, 14, 68, 0.42) 34%,
      rgba(20, 8, 36, 0.12) 64%,
      transparent 88%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.38) 0%,
      transparent 52%
    );
}

.about-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: var(--space-3xl) calc(var(--space-2xl) * 1.1);
  color: var(--text-light);
}

.about-hero__content > p {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  color: var(--color-blush);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ideib-values__heading > p,
.about-team__eyebrow,
.about-solutions__title > p {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  color: var(--color-blush);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-hero__content > p::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-lilac);
  content: "";
}

.ideib-values__heading > p::before,
.about-team__eyebrow::before,
.about-solutions__title > p::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-lilac);
  content: "";
}

.about-hero h1 {
  max-width: 14em;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.ideib-values {
  padding: var(--space-3xl) calc(var(--space-2xl) * 1.1);
  background-color: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.ideib-values__heading {
  margin-bottom: var(--space-2xl);
}

.ideib-values__heading > p {
  color: var(--color-primary);
}

.ideib-values__heading h2,
.about-team h2,
.about-solutions h2 {
  max-width: 19ch;
  font-size: var(--font-size-section-title);
  font-weight: var(--font-weight-semibold);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.ideib-values__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: var(--space-2xl);
  align-items: stretch;
}

.ideib-values__list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  list-style: none;
}

.ideib-values__list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-light);
}

.ideib-values__list li:first-child {
  padding-top: 0;
}

.ideib-values__list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.ideib-values__list li::before {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background-color: var(--bg-card-light);
  color: var(--color-primary);
  font-size: 1.35rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  content: attr(data-letter);
}

.ideib-values__list h3 {
  margin-bottom: 4px;
  color: var(--text-primary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

.ideib-values__list p {
  max-width: 60ch;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.65;
}

.ideib-values__visual {
  position: relative;
  min-height: 480px;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.ideib-values__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ideib-values__visual > p {
  position: absolute;
  right: var(--space-lg);
  bottom: var(--space-lg);
  left: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  line-height: 1.55;
  box-shadow: var(--shadow-elevated);
  backdrop-filter: blur(12px);
}

.ideib-values__visual strong {
  color: var(--color-primary);
}

.about-team {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border-radius: var(--radius-section);
  background-color: var(--text-primary);
  color: var(--text-light);
}

.about-team__image {
  min-height: 560px;
}

.about-team__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-team__content {
  align-self: center;
  max-width: 820px;
  padding: var(--space-3xl) calc(var(--space-2xl) * 1.1);
}

.about-team h2 {
  max-width: 20ch;
}

.about-team__content > p:not(.about-team__eyebrow) {
  max-width: 64ch;
  margin-top: var(--space-lg);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--font-size-base);
  line-height: 1.65;
}

.about-team ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm) var(--space-md);
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(213, 133, 167, 0.3);
  list-style: none;
}

.about-team li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-light);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.about-team li::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-color: var(--color-blush);
  content: "";
}

.about-solutions {
  padding: var(--space-3xl) calc(var(--space-2xl) * 1.1);
  border-radius: var(--radius-section);
  background:
    radial-gradient(ellipse 45% 55% at 100% 0%, rgba(141, 81, 175, 0.16), transparent 55%),
    linear-gradient(160deg, #faf6fd 0%, #f3eaf8 55%, #f8eef4 100%);
  border: 1px solid rgba(137, 55, 129, 0.22);
  box-shadow: var(--shadow-card);
}

.about-solutions__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: var(--space-2xl);
  align-items: end;
}

.about-solutions__title > p {
  color: var(--color-primary);
}

.about-solutions__heading > p:last-child {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.65;
}

.about-solutions__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  list-style: none;
  counter-reset: solution;
}

.about-solutions__grid li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  border: 1px solid rgba(155, 128, 191, 0.28);
  border-left: 4px solid var(--color-amethyst);
  background-color: #fff;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.55;
  box-shadow: 0 10px 26px rgba(85, 26, 146, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  counter-increment: solution;
}

.about-solutions__grid li:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(85, 26, 146, 0.16);
}

.about-solutions__grid li::before {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: var(--space-lg);
  place-items: center;
  border-radius: 12px;
  background-color: var(--color-amethyst);
  color: var(--text-light);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  content: counter(solution, decimal-leading-zero);
  box-shadow: 0 4px 12px rgba(85, 26, 146, 0.22);
}

/* Ritmo de 8 tarjetas: blancas con acento + dos llenas para anclar */
.about-solutions__grid li:nth-child(1) {
  border-left-color: var(--color-amethyst);
}

.about-solutions__grid li:nth-child(1)::before {
  background-color: var(--color-amethyst);
}

.about-solutions__grid li:nth-child(2) {
  background-color: #fff;
  border-color: rgba(213, 133, 167, 0.35);
  border-left-color: var(--color-berry);
}

.about-solutions__grid li:nth-child(2)::before {
  background-color: var(--color-berry);
}

.about-solutions__grid li:nth-child(3) {
  background-color: #fff;
  border-color: rgba(158, 103, 156, 0.35);
  border-left-color: var(--color-orchid);
}

.about-solutions__grid li:nth-child(3)::before {
  background-color: var(--color-orchid);
}

.about-solutions__grid li:nth-child(4) {
  border-left-color: var(--color-violet);
}

.about-solutions__grid li:nth-child(4)::before {
  background-color: var(--color-violet);
}

.about-solutions__grid li:nth-child(5) {
  background: var(--gradient-cta);
  background-color: var(--color-plum);
  border-color: transparent;
  border-left-color: transparent;
  color: var(--text-light);
  box-shadow: 0 12px 28px rgba(137, 55, 129, 0.28);
}

.about-solutions__grid li:nth-child(5)::before {
  background-color: rgba(255, 255, 255, 0.22);
  color: var(--text-light);
  box-shadow: none;
}

.about-solutions__grid li:nth-child(6) {
  background-color: #fff;
  border-color: rgba(141, 81, 175, 0.3);
  border-left-color: var(--color-lilac);
}

.about-solutions__grid li:nth-child(6)::before {
  background-color: var(--color-lilac);
}

.about-solutions__grid li:nth-child(7) {
  background-color: #fff;
  border-color: rgba(213, 133, 167, 0.35);
  border-left-color: var(--color-rose);
}

.about-solutions__grid li:nth-child(7)::before {
  background-color: var(--color-rose);
}

.about-solutions__grid li:last-child {
  background: var(--gradient-dark);
  background-color: var(--color-primary);
  border-color: transparent;
  border-left-color: transparent;
  color: var(--text-light);
  box-shadow: 0 12px 28px rgba(85, 26, 146, 0.3);
}

.about-solutions__grid li:last-child::before {
  background-color: var(--color-blush);
  color: var(--text-primary);
  box-shadow: none;
}

@media (max-width: 1100px) {
  .about-solutions__heading {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .ideib-values__layout,
  .about-team {
    grid-template-columns: 1fr;
  }

  .ideib-values__visual {
    min-height: 400px;
    height: 420px;
  }

  .about-team__image {
    min-height: 360px;
    max-height: 420px;
  }

  .about-solutions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .about-hero__content,
  .ideib-values,
  .about-team__content,
  .about-solutions {
    padding: var(--space-2xl) var(--space-xl);
  }
}

@media (max-width: 600px) {
  .about-hero {
    min-height: 520px;
  }

  .about-hero__content,
  .ideib-values,
  .about-team__content,
  .about-solutions {
    padding: var(--space-xl) var(--space-lg);
  }

  .ideib-values__list li {
    grid-template-columns: 44px 1fr;
    gap: var(--space-sm);
  }

  .ideib-values__list li::before {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .ideib-values__visual {
    min-height: 340px;
    height: 360px;
  }

  .about-team ul,
  .about-solutions__grid {
    grid-template-columns: 1fr;
  }

  .about-solutions__grid li {
    min-height: 0;
  }
}
