/**
 * Productos Jumbo - Página Quiénes somos
 * Rediseño 2026
 */

.pj-about {
  --pj-red: #e30613;
  --pj-red-dark: #b70510;
  --pj-dark: #151515;
  --pj-dark-soft: #202020;
  --pj-text: #343434;
  --pj-muted: #6b7280;
  --pj-line: rgba(17, 24, 39, 0.12);
  --pj-soft: #f6f7f9;
  --pj-white: #ffffff;
  --pj-radius-xl: 30px;
  --pj-radius-lg: 34px;
  --pj-radius-md: 22px;
  --pj-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --pj-shadow-strong: 0 20px 52px rgba(15, 23, 42, 0.14);
  --pj-shadow-soft: 0 16px 45px rgba(15, 23, 42, 0.08);

  color: var(--pj-text);
  background: var(--pj-white);
  overflow: hidden;
}

.pj-about,
.pj-about * {
  box-sizing: border-box;
}

.pj-about img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.pj-about-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* HERO */

.pj-about-hero-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  padding: clamp(14px, 2vw, 24px) 0 0;
  background: #ffffff;
}

.pj-about-hero-wide {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 0 clamp(16px, 2.2vw, 34px);
}

.pj-about-hero-card {
  position: relative;
  height: clamp(330px, 29vw, 420px);
  min-height: 330px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: var(--pj-radius-xl);
  background: #f3f4f6;
  box-shadow: var(--pj-shadow-strong);
  isolation: isolate;
}

.pj-about-hero__media,
.pj-about-hero__overlay {
  position: absolute;
  inset: 0;
}

.pj-about-hero__media img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
}

.pj-about-hero__overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 30%, rgba(255, 255, 255, 0.48) 52%, rgba(255, 255, 255, 0.08) 100%),
    radial-gradient(circle at 16% 22%, rgba(227, 6, 19, 0.08), transparent 32%);
  z-index: 1;
}

.pj-about-hero__content {
  position: relative;
  z-index: 4;
  width: min(640px, 50%);
  padding: clamp(24px, 3.4vw, 44px) clamp(30px, 4.2vw, 64px);
  color: var(--pj-dark);
}

.pj-about-hero-logo {
  display: inline-flex;
  align-items: center;
  width: min(145px, 38vw);
  margin-bottom: 12px;
  text-decoration: none !important;
}

.pj-about-hero-logo img {
  width: 100%;
  max-height: 56px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.pj-about-hero-card h1 {
  max-width: 610px;
  margin: 0 0 11px;
  color: var(--pj-dark);
  font-size: clamp(1.78rem, 2.85vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
  font-weight: 950;
  text-wrap: balance;
}

.pj-about-hero-card p {
  max-width: 570px;
  margin: 0;
  color: rgba(21, 21, 21, 0.82);
  font-size: clamp(0.88rem, 0.96vw, 0.98rem);
  line-height: 1.46;
  font-weight: 600;
}

.pj-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 17px;
}

.pj-about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 11px 19px;
  border-radius: 999px;
  font-size: 0.89rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.pj-about-btn:hover {
  transform: translateY(-2px);
}

.pj-about-btn--primary {
  color: var(--pj-white) !important;
  background: var(--pj-red);
  box-shadow: 0 14px 34px rgba(227, 6, 19, 0.30);
}

.pj-about-btn--primary:hover {
  background: var(--pj-red-dark);
}

.pj-about-btn--secondary {
  color: var(--pj-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.pj-about-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.pj-about-btn--secondary-light {
  color: var(--pj-dark) !important;
  border: 1px solid rgba(21, 21, 21, 0.14);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
}

.pj-about-btn--secondary-light:hover {
  background: rgba(255, 255, 255, 0.9);
}

.pj-about-btn--light {
  color: var(--pj-red) !important;
  background: var(--pj-white);
}

.pj-about-btn--dark {
  color: var(--pj-white) !important;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* GENERAL */

.pj-about-eyebrow,
.pj-about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pj-red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pj-about-eyebrow {
  color: #ffffff;
  background: rgba(227, 6, 19, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 9px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.pj-about-section {
  padding: clamp(76px, 9vw, 130px) 0;
}

.pj-about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.pj-about-split--reverse {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1fr);
}

.pj-about-copy h2,
.pj-about-section-head h2,
.pj-about-cta h2 {
  margin: 14px 0 18px;
  color: var(--pj-dark);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.pj-about-copy p,
.pj-about-section-head p,
.pj-about-group-note p {
  margin: 0 0 18px;
  color: var(--pj-text);
  font-size: 1.02rem;
  line-height: 1.82;
}

.pj-about-copy p:last-child,
.pj-about-section-head p:last-child,
.pj-about-group-note p:last-child {
  margin-bottom: 0;
}

.pj-about-image-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--pj-radius-lg);
  box-shadow: var(--pj-shadow);
  background: var(--pj-soft);
  isolation: isolate;
}

.pj-about-image-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px 24px;
  height: 5px;
  border-radius: 999px;
  background: var(--pj-red);
  z-index: 2;
}

.pj-about-image-card img {
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  transition: transform 500ms ease;
}

.pj-about-image-card:hover img {
  transform: scale(1.035);
}

.pj-about-image-card--wide img {
  aspect-ratio: 4 / 3;
}

/* TRUST */

.pj-about-trust {
  position: relative;
  z-index: 3;
  margin-top: 34px;
}

.pj-about-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 28px;
  background: var(--pj-white);
  box-shadow: var(--pj-shadow);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.pj-about-stat {
  padding: 28px 24px;
  border-right: 1px solid var(--pj-line);
}

.pj-about-stat:last-child {
  border-right: 0;
}

.pj-about-stat strong {
  display: block;
  color: var(--pj-red);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.pj-about-stat span {
  display: block;
  margin-top: 8px;
  color: var(--pj-muted);
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 700;
}

/* EXPERIENCE */

.pj-about-experience,
.pj-about-sectors {
  background: var(--pj-soft);
}

.pj-about-section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.pj-about-card-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 22px;
}

.pj-about-service-card {
  min-height: 280px;
  padding: 30px;
  border-radius: var(--pj-radius-md);
  background: var(--pj-white);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: var(--pj-shadow-soft);
}

.pj-about-service-card h3 {
  margin: 18px 0 12px;
  color: var(--pj-dark);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.pj-about-service-card p {
  margin: 0;
  color: var(--pj-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.pj-about-service-card--image {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
}

.pj-about-service-card--image img {
  aspect-ratio: 1 / 1.16;
  object-fit: cover;
}

.pj-about-service-card--image div {
  padding: 28px;
}

.pj-about-service-card--image h3 {
  margin-top: 0;
}

.pj-about-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  color: var(--pj-white);
  background: var(--pj-red);
  border-radius: 18px;
  font-weight: 900;
}

/* MADE */

.pj-about-made {
  background:
    radial-gradient(circle at 90% 10%, rgba(227, 6, 19, 0.07), transparent 30%),
    var(--pj-white);
}

/* IMPACT */

.pj-about-impact {
  padding-top: 0;
}

.pj-about-impact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(34px, 6vw, 70px);
  border-radius: var(--pj-radius-lg);
  background: var(--pj-dark);
  overflow: hidden;
  position: relative;
}

.pj-about-impact__inner::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -180px;
  border-radius: 999px;
  background: rgba(227, 6, 19, 0.34);
  filter: blur(6px);
}

.pj-about-impact .pj-about-kicker {
  color: #ff6f78;
}

.pj-about-impact h2,
.pj-about-impact p {
  color: var(--pj-white);
  position: relative;
  z-index: 2;
}

.pj-about-impact p {
  color: rgba(255, 255, 255, 0.8);
}

.pj-about-impact__image {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.pj-about-impact__image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* SECTORS */

.pj-about-sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pj-about-sector-grid span {
  display: flex;
  min-height: 92px;
  align-items: center;
  padding: 20px;
  color: var(--pj-dark);
  background: var(--pj-white);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  font-size: 0.96rem;
  line-height: 1.35;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
}

/* INTERJUM CARD */

.pj-about-group-card {
  position: relative;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: clamp(26px, 4vw, 38px);
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 18%, rgba(227, 6, 19, 0.36), transparent 30%),
    linear-gradient(135deg, #171717 0%, #2b2b2b 100%);
  box-shadow: var(--pj-shadow);
  isolation: isolate;
}

.pj-about-group-card::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  right: -130px;
  bottom: -150px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.pj-about-group-card__logo,
.pj-about-group-card__content,
.pj-about-group-card .pj-about-btn {
  position: relative;
  z-index: 1;
}

.pj-about-group-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pj-about-group-card__logo img {
  width: min(190px, 100%);
  height: auto;
  object-fit: contain;
}

.pj-about-group-card__content span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #ff8c92;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pj-about-group-card__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.78;
}

/* CTA */

.pj-about-cta {
  padding: clamp(58px, 7vw, 90px) 0;
  color: var(--pj-white);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.20), transparent 24%),
    linear-gradient(135deg, var(--pj-red) 0%, var(--pj-red-dark) 100%);
}

.pj-about-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.pj-about-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--pj-white);
}

.pj-about-cta .pj-about-eyebrow {
  color: var(--pj-white);
  background: rgba(255, 255, 255, 0.16);
}

.pj-about-cta .pj-about-actions {
  margin-top: 0;
  flex-shrink: 0;
}

/* RESPONSIVE */

@media (max-width: 1120px) {
  .pj-about-group-card {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .pj-about-group-card .pj-about-btn {
    grid-column: 2;
    width: fit-content;
  }
}

@media (max-width: 1024px) {
  .pj-about-split,
  .pj-about-split--reverse,
  .pj-about-impact__inner {
    grid-template-columns: 1fr;
  }

  .pj-about-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pj-about-service-card--image {
    grid-row: auto;
  }

  .pj-about-sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pj-about-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .pj-about-hero__content {
    width: min(600px, 58%);
  }

  .pj-about-hero-card h1 {
    font-size: clamp(1.76rem, 2.7vw, 2.68rem);
  }
}

@media (max-width: 768px) {
  .pj-about-container {
    width: min(100% - 28px, 1180px);
  }

  .pj-about-hero-shell {
    padding-top: 14px;
  }

  .pj-about-hero-wide {
    width: 100%;
    padding: 0 14px;
  }

  .pj-about-hero-card {
    height: auto;
    min-height: 500px;
    align-items: flex-end;
    border-radius: 24px;
  }

  .pj-about-hero__media img {
    object-position: center center;
  }

  .pj-about-hero__overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.24) 32%, rgba(255, 255, 255, 0.94) 100%),
      radial-gradient(circle at 18% 78%, rgba(227, 6, 19, 0.10), transparent 34%);
  }

  .pj-about-hero__content {
    width: 100%;
    padding: 30px 24px 32px;
  }

  .pj-about-hero-logo {
    width: min(145px, 58vw);
    margin-bottom: 12px;
  }

  .pj-about-hero-logo img {
    max-height: 54px;
  }

  .pj-about-hero-card h1 {
    font-size: 1.95rem;
    line-height: 1.04;
    letter-spacing: -0.048em;
  }

  .pj-about-hero-card p {
    color: rgba(21, 21, 21, 0.84);
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .pj-about-actions,
  .pj-about-cta .pj-about-actions {
    width: 100%;
  }

  .pj-about-btn {
    width: 100%;
  }

  .pj-about-trust {
    margin-top: 24px;
    padding: 0;
    background: var(--pj-white);
  }

  .pj-about-trust__grid {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 22px;
  }

  .pj-about-stat {
    border-right: 0;
    border-bottom: 1px solid var(--pj-line);
  }

  .pj-about-stat:nth-child(odd) {
    border-right: 1px solid var(--pj-line);
  }

  .pj-about-stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .pj-about-card-grid,
  .pj-about-sector-grid {
    grid-template-columns: 1fr;
  }

  .pj-about-copy h2,
  .pj-about-section-head h2,
  .pj-about-cta h2 {
    letter-spacing: -0.045em;
  }

  .pj-about-impact__inner {
    padding: 28px;
    border-radius: 26px;
  }

  .pj-about-sector-grid span {
    min-height: auto;
  }

  .pj-about-group-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pj-about-group-card .pj-about-btn {
    grid-column: auto;
    width: 100%;
  }

  .pj-about-group-card__logo {
    min-height: 104px;
  }

  .pj-about-group-card__logo img {
    width: min(210px, 82%);
  }
}

@media (max-width: 480px) {
  .pj-about-hero-card {
    min-height: 500px;
  }

  .pj-about-hero-card h1 {
    font-size: 1.76rem;
  }

  .pj-about-section {
    padding: 64px 0;
  }

  .pj-about-stat {
    padding: 22px 18px;
  }

  .pj-about-service-card,
  .pj-about-group-note {
    padding: 24px;
  }

  .pj-about-service-card--image {
    padding: 0;
  }

  .pj-about-service-card--image div {
    padding: 24px;
  }

  .pj-about-group-card {
    padding: 24px;
    border-radius: 24px;
  }
}
