/* =========================================================
   EICEPAK — ACERCA DE EICEPAK
   Página independiente. Hereda variables y contenedores.
   ========================================================= */

.eicepak-about-page {
  background: #20272c;
  color: var(--eicepak-white);
  overflow: clip;
}

.eicepak-about-breadcrumb {
  padding: 16px 0 12px;
  background: #20272c;
  color: rgba(255,255,255,.68);
  font-size: 12px;
}

.eicepak-about-breadcrumb .eicepak-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eicepak-about-breadcrumb a:hover { color: var(--eicepak-white); }

.eicepak-about-hero {
  position: relative;

  min-height: 440px;

  display: flex;
  align-items: stretch;

  background: #20272c;
  overflow: hidden;
}

.eicepak-about-hero__media {
  position: absolute;
  inset: 0 0 0 24%;
  z-index: 0;
  overflow: hidden;
}

.eicepak-about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.eicepak-about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #20272c 0%, rgba(32,39,44,.96) 9%, rgba(32,39,44,.72) 28%, rgba(32,39,44,.18) 58%, rgba(32,39,44,.02) 100%);
}

.eicepak-about-hero__container {
  position: relative;
  z-index: 2;

  width: var(--container-width);
  max-width: calc(100% - 48px);

  min-height: 440px;

  display: flex;
  align-items: center;

  margin-left: auto;
  margin-right: auto;
}

.eicepak-about-hero__content {
  width: min(48%, 560px);

  padding: 30px 0 20px;

  margin-left: -60px;
}
.eicepak-about-values {
  padding-top: 22px;
}
.eicepak-about-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 5.2vw, 70px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.eicepak-about-hero__title-accent {
  color: var(--eicepak-red);
}

.eicepak-about-hero__subtitle {
  max-width: 560px;
  margin: 0 0 12px;

  color: #fff;

  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  font-weight: 700;
}

.eicepak-about-hero__description {
  max-width: 540px;
  margin: 0;

  color: rgba(255,255,255,.84);

  font-size: 16px;
  line-height: 1.7;
}

.eicepak-about-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 5.2vw, 70px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.eicepak-about-section-line {
  display: block;
  width: 34px;
  height: 2px;
  margin: 16px 0 22px;
  background: var(--eicepak-red);
}

.eicepak-about-hero p {
  max-width: 540px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  line-height: 1.7;
}

.eicepak-about-content {
  background: #20272c;
}

.eicepak-about-section {
  padding: 28px 0 0;
}

.eicepak-about-section__heading {
  margin-bottom: 22px;
}

.eicepak-about-section__heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.eicepak-about-section__heading > span {
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 11px;
  background: var(--eicepak-red);
}

.eicepak-about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.eicepak-about-value {
  min-height: 215px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  background: rgba(7,16,20,.42);
}

.eicepak-about-value__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 18px;
}

.eicepak-about-value h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}

.eicepak-about-value p,
.eicepak-about-who p,
.eicepak-about-alliance p,
.eicepak-about-history p,
.eicepak-about-team p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.65;
}

.eicepak-about-who {
  padding-top: 72px;
}

.eicepak-about-who__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 38px;
  align-items: center;
}

.eicepak-about-who__media {
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.12);
  min-height: 360px;
  background: #182126;
}

.eicepak-about-who__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.eicepak-about-who__content h2 {
  margin: 0;
  max-width: 520px;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.eicepak-about-who__content p + p { margin-top: 16px; }

.eicepak-about-history {
  padding-top: 74px;
}

.eicepak-about-history__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

.eicepak-about-history__timeline::before {
  content: '';
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 27px;
  height: 1px;
  background: rgba(255,255,255,.18);
}

.eicepak-about-history__item {
  position: relative;
  text-align: center;
  padding: 0 12px;
  z-index: 1;
}

.eicepak-about-history__marker {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--eicepak-red);
  border-radius: 50%;
  background: #20272c;
}

.eicepak-about-history__marker img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.eicepak-about-history__year {
  margin-bottom: 6px;
  color: var(--eicepak-red);
  font-size: 12px;
  font-weight: 700;
}

.eicepak-about-history h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px;
}

.eicepak-about-clients {
  padding-top: 74px;
}

.eicepak-about-clients__grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;

  border-top: 1px solid rgba(255,255,255,.13);
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.eicepak-about-client {
  width: 220px;
  min-height: 145px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 22px;
  box-sizing: border-box;
}

.eicepak-about-client + .eicepak-about-client {
  border-left: 1px solid rgba(255,255,255,.13);
}

.eicepak-about-client img {
  width: min(100%, 270px);
  max-height: 100px;

  object-fit: contain;
}

.eicepak-about-alliances {
  padding-top: 58px;
}

.eicepak-about-alliances__grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;

  border-top: 1px solid rgba(255,255,255,.13);
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.eicepak-about-alliance {
  width: 220px;
  min-height: 155px;

  padding: 22px 18px;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  text-align: center;

  box-sizing: border-box;
}

.eicepak-about-alliance + .eicepak-about-alliance {
  border-left: 1px solid rgba(255,255,255,.13);
}

.eicepak-about-alliance img {
  width: min(100%, 270px);
  max-height: 95px;

  object-fit: contain;

  margin-bottom: 14px;
}

.eicepak-about-alliance p {
  max-width: 190px;

  font-size: 13px;
  line-height: 1.5;
}

.eicepak-about-alliance p {
  max-width: 180px;
  font-size: 12px;
  line-height: 1.5;
}
/* =========================================================
   CTA — UN EQUIPO COMPROMETIDO CONTIGO
   ========================================================= */

.eicepak-about-team {
  padding: 58px 0 72px;
}

.eicepak-about-team__banner {
  position: relative;

  min-height: 210px;
  height: 210px;

  overflow: hidden;

  border: 1px solid rgba(255,255,255,.15);
  border-radius: 7px;

  background: #182126;
}


/* =========================================================
   IMAGEN
   ========================================================= */

.eicepak-about-team__media {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  overflow: hidden;

  z-index: 1;
}

.eicepak-about-team__media img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center center;

  transform: scale(1.02);
}


/* =========================================================
   DEGRADADO SOBRE LA IMAGEN
   ========================================================= */

.eicepak-about-team__media::after {
  content: '';

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      #182126 0%,
      rgba(24,33,38,.98) 12%,
      rgba(24,33,38,.88) 24%,
      rgba(24,33,38,.55) 38%,
      rgba(24,33,38,.18) 55%,
      rgba(24,33,38,0) 72%
    );

  pointer-events: none;
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.eicepak-about-team__content {
  position: relative;

  z-index: 3;

  display: flex;
  align-items: center;

  gap: 24px;

  width: 100%;
  height: 100%;

  padding: 28px 38px;
}


/* =========================================================
   ICONO
   ========================================================= */

.eicepak-about-team__icon {
  flex: 0 0 68px;

  width: 68px;
  height: 68px;

  object-fit: contain;
}


/* =========================================================
   BLOQUE DE TEXTO
   ========================================================= */

.eicepak-about-team__content > div {
  max-width: 700px;
}


.eicepak-about-team__content h2 {
  margin: 0 0 8px;

  color: #fff;

  font-size: 24px;
  line-height: 1.2;
}


.eicepak-about-team__content p {
  margin: 0;

  max-width: 680px;

  color: rgba(255,255,255,.82);

  font-size: 14px;
  line-height: 1.55;
}


/* =========================================================
   BOTÓN
   ========================================================= */

.eicepak-about-team__button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  margin-top: 16px;

  padding: 11px 18px;

  border-radius: 4px;

  background: var(--eicepak-red);

  color: #fff;

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;

  text-decoration: none;

  transition:
    transform .25s ease,
    filter .25s ease;
}

.eicepak-about-team__button:hover,
.eicepak-about-team__button:focus-visible {
  color: #fff;

  transform: translateY(-3px);

  filter: brightness(1.05);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .eicepak-about-team {
    padding: 50px 0 65px;
  }

  .eicepak-about-team__banner {
    min-height: 200px;
    height: 200px;
  }

  .eicepak-about-team__media {
    min-height: 200px;
  }

  .eicepak-about-team__content {
    padding: 24px 30px;
    gap: 20px;
  }

  .eicepak-about-team__icon {
    flex-basis: 60px;

    width: 60px;
    height: 60px;
  }

  .eicepak-about-team__content h2 {
    font-size: 22px;
  }

  .eicepak-about-team__content p {
    font-size: 14px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .eicepak-about-team {
    padding: 42px 0 55px;
  }

  .eicepak-about-team__banner {

    min-height: 0;
    height: auto;

    display: block;
  }


  /* Imagen arriba */

  .eicepak-about-team__media {
    height: 220px;
    min-height: 220px;
  }

  .eicepak-about-team__media::after {
    background:
      linear-gradient(
        to bottom,
        rgba(24,33,38,0) 0%,
        rgba(24,33,38,.20) 45%,
        #182126 100%
      );
  }


  /* Contenido debajo */

  .eicepak-about-team__content {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 14px;

    padding: 24px 24px 28px;
  }

  .eicepak-about-team__icon {

    flex: 0 0 auto;

    width: 58px;
    height: 58px;

    margin-bottom: 2px;
  }

  .eicepak-about-team__content h2 {
    font-size: 23px;
  }

  .eicepak-about-team__content p {
    font-size: 15px;
    line-height: 1.55;
  }

  .eicepak-about-team__button {

    width: 100%;

    justify-content: center;

    padding: 13px 18px;
  }

}


/* =========================================================
   MOBILE PEQUEÑO
   ========================================================= */

@media (max-width: 520px) {

  .eicepak-about-team__media {
    height: 190px;
    min-height: 190px;
  }

  .eicepak-about-team__content {
    padding: 22px 20px 25px;
  }

  .eicepak-about-team__icon {
    width: 52px;
    height: 52px;
  }

  .eicepak-about-team__content h2 {
    font-size: 21px;
  }

}
@media (max-width: 1440px) {
	  .eicepak-about-hero__content { width: 100%; padding: 58px 0 64px; margin-left: 0;}
}
@media (max-width: 1050px) {
  .eicepak-about-values__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .eicepak-about-who__grid { grid-template-columns: 1fr 1fr; }
  .eicepak-about-client {
    width: 210px;
  }

  .eicepak-about-alliance {
    width: 210px;
  }
   
}

@media (max-width: 768px) {
  .eicepak-about-hero { min-height: 520px; }
  .eicepak-about-hero__media { inset: 0; }
  .eicepak-about-hero__overlay { background: linear-gradient(90deg, rgba(32,39,44,.97), rgba(32,39,44,.75) 55%, rgba(32,39,44,.42)); }
  .eicepak-about-hero__content { width: 100%; padding: 58px 0 64px; margin-left: 0;}
  .eicepak-about-who__grid { grid-template-columns: 1fr; }
  .eicepak-about-who__media, .eicepak-about-who__media img { min-height: 280px; }
  .eicepak-about-history__timeline { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .eicepak-about-history__timeline::before { display:none; }
   .eicepak-about-client,
  .eicepak-about-alliance {
    width: 50%;
  }
  .eicepak-about-client + .eicepak-about-client,
  .eicepak-about-alliance + .eicepak-about-alliance { border-left: 0; }
  .eicepak-about-client:nth-child(even),
  .eicepak-about-alliance:nth-child(even) { border-left: 1px solid rgba(255,255,255,.13); }
  .eicepak-about-client:nth-child(n+3),
  .eicepak-about-alliance:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.13); }
  .eicepak-about-team__banner { grid-template-columns: 1fr; }
  .eicepak-about-team__media { min-height: 220px; order: -1; }

  .eicepak-about__team {
        min-height: 0;
        height: auto;

        display: flex;
        flex-direction: column;
    }

    .eicepak-about__team-image {
        position: relative;

        order: 1;

        width: 100%;
        height: 220px;
    }

    .eicepak-about__team-image img {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .eicepak-about__team-image::after {
        background: linear-gradient(
            to bottom,
            rgba(21, 30, 35, 0) 0%,
            rgba(21, 30, 35, 0.35) 40%,
            #151e23 100%
        );
    }

    .eicepak-about__team-content {
        order: 2;

        width: 100%;
        max-width: none;

        height: auto;

        padding: 25px 25px 30px;
    }

    .eicepak-about__team-icon {
        position: static;

        width: 55px;
        height: 55px;

        transform: none;

        margin-bottom: 15px;
    }

    .eicepak-about__team-title {
        font-size: 24px;
    }

    .eicepak-about__team-text {
        font-size: 15px;
    }

    .eicepak-about__team-cta {
        width: 100%;
    }
}

@media (max-width: 520px) {
  .eicepak-about-hero h1 { font-size: 42px; }
  .eicepak-about-values__grid { grid-template-columns: 1fr; }
  .eicepak-about-history__timeline { grid-template-columns: 1fr; }
  .eicepak-about-clients__grid,
  .eicepak-about-alliances__grid { grid-template-columns: 1fr; }
  .eicepak-about-client:nth-child(even),
  .eicepak-about-alliance:nth-child(even) { border-left: 0; }
  .eicepak-about-client:nth-child(n+2),
  .eicepak-about-alliance:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,.13); }
  .eicepak-about-team__content { flex-direction: column; align-items: flex-start; }
}
